(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[4892],{xrdX:function(t,e,n){"use strict";n.d(e,{H:function(){return s},y:function(){return o}});var i=n("4BRW");let o={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","zh-SG":"hellojiankang.com","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={[i.L.Vietnam]:"hellobacsi.com",[i.L.Indonesia]:"hellosehat.com",[i.L.Malaysia]:"hellodoktor.com",[i.L.Cambodia]:"hellokrupet.com",[i.L.PhilippinesEnglish]:"hellodoctor.com.ph",[i.L.PhilippinesTagalog]:"hellodoctor.com.ph",[i.L.Thailand]:"hellokhunmor.com",[i.L.Myanmar]:"hellosayarwon.com",[i.L.Taiwan]:"helloyishi.com.tw",[i.L.India]:"helloswasthya.com",[i.L.Singapore]:"hellojiankang.com"}},GOBr:function(t,e,n){"use strict";var i,o,s,u;n.d(e,{K:function(){return f}});let c="undefined"!=typeof window&&null!==(u=null===(s=null==(o=null===(i=null==window?void 0:window.location)||void 0===i?void 0:i.href)?void 0:o.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===s?void 0:s[1])&&void 0!==u?u:"";c.split(".");let f=!0},Wbba:function(t,e,n){"use strict";n.d(e,{C:function(){return c}});var i=n("xrdX"),o=n("GOBr"),s=n("yNk5");let isNumeric=t=>!isNaN(parseFloat(t))&&isFinite(t),u="hellosehat.com",c=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(t,e,n)=>{let i="https://hhg-common."+[e||this.getBaseDomain(),n||this.subPath,t].join("/");return o.K||s.env.JEST_WORKER_ID?i:i+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:t}=window.location,e=t.split("."),n=i.y[Object.keys(i.y).find(e=>t.includes(i.y[e]))];return e.includes("localhost")||e.includes("hellohealthgroup")||e.every(t=>isNumeric(t))||!n?u:n}return u}};c.subPath="common",c.baseDomain=i.y["vi-VN"]},"13Ln":function(t){var e,n,i,o,s,u,c,f,h,d,m,p,v;t.exports=(i=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,s={years:31536e6,months:2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},u=function(t){return t instanceof p},c=function(t,e,n){return new p(t,n,e.$l)},f=function(t){return n.p(t)+"s"},h=function(t){return t<0},d=function(t){return h(t)?Math.ceil(t):Math.floor(t)},m=function(t,e){return t?h(t)?{negative:!0,format:""+Math.abs(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},p=function(){function l(t,e,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return c(t*s[f(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach(function(e){i.$d[f(e)]=t[e]}),this.calMilliseconds(),this;if("string"==typeof t){var u=t.match(o);if(u){var h=u.slice(2).map(function(t){return null!=t?Number(t):0});return this.$d.years=h[0],this.$d.months=h[1],this.$d.weeks=h[2],this.$d.days=h[3],this.$d.hours=h[4],this.$d.minutes=h[5],this.$d.seconds=h[6],this.calMilliseconds(),this}}return this}var t=l.prototype;return t.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(e,n){return e+(t.$d[n]||0)*s[n]},0)},t.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=d(t/31536e6),t%=31536e6,this.$d.months=d(t/2592e6),t%=2592e6,this.$d.days=d(t/864e5),t%=864e5,this.$d.hours=d(t/36e5),t%=36e5,this.$d.minutes=d(t/6e4),t%=6e4,this.$d.seconds=d(t/1e3),t%=1e3,this.$d.milliseconds=t},t.toISOString=function(){var t=m(this.$d.years,"Y"),e=m(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=m(n,"D"),o=m(this.$d.hours,"H"),s=m(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3);var c=m(u,"S"),f=t.negative||e.negative||i.negative||o.negative||s.negative||c.negative,h=o.format||s.format||c.format?"T":"",d=(f?"-":"")+"P"+t.format+e.format+i.format+h+o.format+s.format+c.format;return"P"===d||"-P"===d?"P0D":d},t.toJSON=function(){return this.toISOString()},t.format=function(t){var e={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return(t||"YYYY-MM-DDTHH:mm:ss").replace(i,function(t,n){return n||String(e[t])})},t.as=function(t){return this.$ms/s[f(t)]},t.get=function(t){var e=this.$ms,n=f(t);return"milliseconds"===n?e%=1e3:e="weeks"===n?d(e/s[n]):this.$d[n],0===e?0:e},t.add=function(t,e,n){var i;return i=e?t*s[f(e)]:u(t)?t.$ms:c(t,this).$ms,c(this.$ms+i*(n?-1:1),this)},t.subtract=function(t,e){return this.add(t,e,!0)},t.locale=function(t){var e=this.clone();return e.$l=t,e},t.clone=function(){return c(this.$ms,this)},t.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},l}(),v=function(t,e,n){return t.add(e.years()*n,"y").add(e.months()*n,"M").add(e.days()*n,"d").add(e.hours()*n,"h").add(e.minutes()*n,"m").add(e.seconds()*n,"s").add(e.milliseconds()*n,"ms")},function(t,i,o){e=o,n=o().$utils(),o.duration=function(t,e){return c(t,{$l:o.locale()},e)},o.isDuration=u;var s=i.prototype.add,f=i.prototype.subtract;i.prototype.add=function(t,e){return u(t)?v(this,t,1):s.bind(this)(t,e)},i.prototype.subtract=function(t,e){return u(t)?v(this,t,-1):f.bind(this)(t,e)}})},"5Bip":function(t){t.exports=function(t,e,n){e.prototype.isBetween=function(t,e,i,o){var s=n(t),u=n(e),c="("===(o=o||"()")[0],f=")"===o[1];return(c?this.isAfter(s,i):!this.isBefore(s,i))&&(f?this.isBefore(u,i):!this.isAfter(u,i))||(c?this.isBefore(s,i):!this.isAfter(s,i))&&(f?this.isAfter(u,i):!this.isBefore(u,i))}}},p46w:function(t,e,n){var i,o,s;void 0!==(o="function"==typeof(i=s=function(){function extend(){for(var t=0,e={};t0){if("IMPLICIT"===o)throw ValueError("cannot switch from implicit to explicit numbering");o="EXPLICIT"}else{if("EXPLICIT"===o)throw ValueError("cannot switch from explicit to implicit numbering");o="IMPLICIT",f=String(i),i+=1}var h=f.split("."),d=(/^\d+$/.test(h[0])?h:["0"].concat(h)).reduce(function(t,e){return t.reduce(function(t,n){return null!=n&&e in Object(n)?["function"==typeof n[e]?n[e]():n[e]]:[]},[])},[n]).reduce(function(t,e){return e},"");if(null==c)return d;if(Object.prototype.hasOwnProperty.call(t,c))return t[c](d);throw ValueError('no transformer named "'+c+'"')})}}var n=create({});n.create=create,n.extend=function(t,n){var i=create(n);t.format=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(this),i.apply(e,t)}},t.exports=n}).call(this,this)},lKJe:function(t,e,n){"use strict";/** * @license React * use-sync-external-store-shim.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var i=n("+OUp"),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},s=i.useState,u=i.useEffect,c=i.useLayoutEffect,f=i.useDebugValue;function r(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(t){return!0}}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),i=s({inst:{value:n,getSnapshot:e}}),o=i[0].inst,h=i[1];return c(function(){o.value=n,o.getSnapshot=e,r(o)&&h({inst:o})},[t,n,e]),u(function(){return r(o)&&h({inst:o}),t(function(){r(o)&&h({inst:o})})},[t]),f(n),n};e.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:h},AB4A:function(t,e,n){"use strict";/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var i=n("+OUp"),o=n("at8e"),s="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},u=o.useSyncExternalStore,c=i.useRef,f=i.useEffect,h=i.useMemo,d=i.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,i,o){var m=c(null);if(null===m.current){var p={hasValue:!1,value:null};m.current=p}else p=m.current;var v=u(t,(m=h(function(){function a(e){if(!c){if(c=!0,t=e,e=i(e),void 0!==o&&p.hasValue){var n=p.value;if(o(n,e))return u=n}return u=e}if(n=u,s(t,e))return n;var f=i(e);return void 0!==o&&o(n,f)?n:(t=e,u=f)}var t,u,c=!1,f=void 0===n?null:n;return[function(){return a(e())},null===f?void 0:function(){return a(f())}]},[e,n,i,o]))[0],m[1]);return f(function(){p.hasValue=!0,p.value=v},[v]),d(v),v}},at8e:function(t,e,n){"use strict";t.exports=n("lKJe")},ejks:function(t,e,n){"use strict";t.exports=n("AB4A")},VNqU:function(t,e,n){"use strict";n.d(e,{Pj:function(){return useStore},vt:function(){return create}});var i=n("oWg6"),o=n("+OUp"),s=n("ejks");let{useSyncExternalStoreWithSelector:u}=s;function useStore(t,e=t.getState,n){let i=u(t.subscribe,t.getState,t.getServerState||t.getState,e,n);return(0,o.useDebugValue)(i),i}let createImpl=t=>{"function"!=typeof t&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof t?(0,i.y)(t):t,useBoundStore=(t,n)=>useStore(e,t,n);return Object.assign(useBoundStore,e),useBoundStore},create=t=>t?createImpl(t):createImpl},a5vB:function(t,e,n){"use strict";function shallow(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(let[n,i]of t)if(!Object.is(i,e.get(n)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}let n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(let i=0;i{let e;let n=new Set,setState=(t,i)=>{let o="function"==typeof t?t(e):t;if(!Object.is(o,e)){let t=e;e=(null!=i?i:"object"!=typeof o)?o:Object.assign({},e,o),n.forEach(n=>n(e,t))}},getState=()=>e,i={setState,getState,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return e=t(setState,getState,i),i},createStore=t=>t?createStoreImpl(t):createStoreImpl}}]);