1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="19f09ac8-0896-4946-9113-73b163814431",t._sentryDebugIdIdentifier="sentry-dbid-19f09ac8-0896-4946-9113-73b163814431")}()}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7059],{51785:function(t,e,n){n.d(e,{Q:function(){return s}});var r=n(52676),o=n(2513),a=n(53104),i=n.n(a),l=n(86783),u=n(71625),c=n(75608);let s=t=>{let{label:e,textStyle:n,color:a,...s}=t,d=n?u.Y[n]:u.Y.button1;return(0,r.jsx)(o.z,{bg:"transparent",fontWeight:500,textDecor:"underline",textUnderlineOffset:4,color:a||l.O.orange[400],display:"inline-block",cursor:"pointer",w:"max-content",h:"max-content",p:"0px",fontFamily:"Graphik, sans-serif",_hover:{opacity:.8},_active:{color:l.O.black[900]},_disabled:{color:l.O.grey[400],cursor:"auto",_hover:{color:l.O.grey[400]}},...i()(["as"],d),...s,"data-sentry-element":"Button","data-sentry-component":"LinkButton","data-sentry-source-file":"LinkButton.tsx",children:(0,c.Z)(e)})}},62407:function(t,e,n){n.d(e,{W:function(){return y}});var r=n(52676),o=n(56090),a=n(46125),i=n(22241),l=n(75271),u=n(36800),c=n(86783),s=n(90835),d=n(50230),f=n(60282);let h={Callback:"auth-error",default:"auth-error"},y=t=>{let{children:e}=t,{showShortToast:n}=(0,d.g)(),{t:y}=(0,a.$G)(["auth"]),g=(0,i.useSearchParams)().get("error");return(0,l.useEffect)(()=>{if(g){var t;n(y(null!==(t=h[g])&&void 0!==t?t:h.default),"error")}},[g,n,y]),(0,r.jsxs)(o.k,{flexDirection:"column",bgColor:c.O.white.off,minH:"100vh",overflow:"hidden","data-sentry-element":"Flex","data-sentry-component":"AuthPage","data-sentry-source-file":"AuthPage.tsx",children:[(0,r.jsxs)(o.k,{minH:16,w:"full",borderTop:"1px solid ".concat(c.O.grey[400]),borderBottom:"1px solid ".concat(c.O.grey[400]),alignItems:"center",position:"relative","data-sentry-element":"Flex","data-sentry-source-file":"AuthPage.tsx",children:[(0,r.jsx)(o.k,{flex:1,justify:"center",alignItems:"center","data-sentry-element":"Flex","data-sentry-source-file":"AuthPage.tsx",children:(0,r.jsx)(u.T,{"data-sentry-element":"Logo","data-sentry-source-file":"AuthPage.tsx"})}),s.gh&&(0,r.jsx)(o.k,{position:"absolute",right:0,children:(0,r.jsx)(f.Z,{})})]}),(0,r.jsx)(o.k,{id:"auth-form",w:"100%",justifyContent:"center","data-sentry-element":"Flex","data-sentry-source-file":"AuthPage.tsx",children:(0,r.jsx)(o.k,{id:"auth-form-content",pl:[4,"auto"],pr:[4,"auto"],justifyContent:"center","data-sentry-element":"Flex","data-sentry-source-file":"AuthPage.tsx",children:e})})]})}},37620:function(t,e,n){n.d(e,{T:function(){return c}});var r=n(52676),o=n(56090),a=n(46125),i=n(2767),l=n(34608),u=n(86783);let c=t=>{let{t:e}=(0,a.$G)();return(0,r.jsxs)(o.k,{flexDirection:"column",alignItems:"center",mt:"34px",mb:"69px",...t,"data-sentry-element":"Flex","data-sentry-component":"PrivacyLabel","data-sentry-source-file":"PrivacyLabel.tsx",children:[(0,r.jsx)(i.o,{color:u.O.black[700],textStyle:"body3","data-sentry-element":"OFText","data-sentry-source-file":"PrivacyLabel.tsx",children:e("common:labels.privacy")}),(0,r.jsxs)(o.k,{flexDirection:"row",alignItems:"center",position:"relative",paddingRight:"34px",__css:{svg:{position:"absolute",top:"-12px",right:0}},"data-sentry-element":"Flex","data-sentry-source-file":"PrivacyLabel.tsx",children:[(0,r.jsx)(i.o,{color:u.O.black[700],textStyle:"body3","data-sentry-element":"OFText","data-sentry-source-file":"PrivacyLabel.tsx",children:e("labels.encrypted")}),(0,r.jsx)(l.mB,{size:16,"data-sentry-element":"LockIcon","data-sentry-source-file":"PrivacyLabel.tsx"})]})]})}},60282:function(t,e,n){var r=n(52676),o=n(44013),a=n(98130),i=n(2513),l=n(30795),u=n(53943),c=n(29634),s=n(73794),d=n(3223),f=n(75271),h=n(34608),y=n(86783),g=n(67335),p=n(88111),x=n(64375),m=n(41210),b=n(83757),k=n(91673),v=n(28688);e.Z=()=>{let t=(0,d.useRouter)(),{locale:e}=t,n=(0,b.b_)(),{mutateAsync:C}=(0,p.Urb)(n),[_,O]=(0,f.useState)(e),{data:E}
1=(0,s.useSession)(),w=(0,f.useCallback)(async e=>{var n,r,o;let a=t.locale;a!==e&&(0,x.gv)({from_locale:a,to_locale:e,platform:v.t.current(null!=E?E:void 0)}),c.Z.set(g.qB.COOKIES.LOCALE,e),await t.push(t.asPath,t.asPath,{locale:e}),O(e),(0,m.$2)(null==E?void 0:null===(n=E.user)||void 0===n?void 0:n.userType)&&await C({input:{locale:e}}),null===(o=window)||void 0===o||null===(r=o.location)||void 0===r||r.reload()},[t,E,C]),D=()=>"ja"===_&&(0,k.d)([p.Ogg.Jp])?"æ¥æ¬èª":_.toUpperCase();return(0,r.jsx)(o.v,{"data-sentry-element":"Menu","data-sentry-component":"LanguageDropdown","data-sentry-source-file":"LanguageDropdown.tsx",children:t=>{let{isOpen:e}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.j,{isActive:e,as:i.z,rightIcon:e?(0,r.jsx)(h.g8,{size:21}):(0,r.jsx)(h.v4,{size:21}),variant:"outline",border:"none",fontFamily:"Graphik, sans-serif",lineHeight:1,children:D()}),(0,r.jsxs)(l.q,{rounded:"md",shadow:"lg",py:"1",minW:"unset",px:2,children:[(0,r.jsx)(u.s,{onClick:()=>w(p.SQ0.En),fontWeight:"bold",opacity:".5",color:y.O.black.default,_focus:{bgColor:"unset"},_hover:{opacity:1,color:"textColor",bgColor:"unset"},children:"English"}),(0,k.d)([p.Ogg.Hk])&&(0,r.jsx)(u.s,{onClick:()=>w(p.SQ0.Zh),fontWeight:"bold",opacity:".5",color:y.O.black.default,_hover:{opacity:1,color:"textColor",bgColor:"unset"},children:"ç¹é«ä¸æ"}),(0,k.d)([p.Ogg.Jp])&&(0,r.jsx)(u.s,{onClick:()=>w(p.SQ0.Ja),fontWeight:"bold",opacity:".5",color:y.O.black.default,_hover:{opacity:1,color:"textColor",bgColor:"unset"},children:"æ¥æ¬èª"})]})]})}})}},4375:function(t,e,n){n.d(e,{F:function(){return l}});var r=n(52676),o=n(3223),a=n(75271),i=n(84101);function l(t){let{trackingName:e,trackingCategory:n,trackingProperties:l,children:u}=t,c=(0,i.Q)(),s=(0,o.useRouter)().pathname;return(0,a.useEffect)(()=>{c.page(e,n||function(t){let e=t.split("/").filter(Boolean),n=e[0],r=e[1]||e[0]||"Other",o={settings:"Account",wallet:"Account",profile:"Account",c:"Evaluation",evaluation:"Evaluation","smart-match":"SmartMatch",checkout:"Checkout","atome-payment":"Checkout",plans:"Plans","upgrade-plans":"Plans",survey:"Plans",shop:"Shop",booking:"Booking","fu-booking":"Booking",reschedule:"Booking","book-bt":"Booking","consult-video-call":"Consultation","text-consult":"Consultation","history-text-consult":"Consultation",consult:"Consultation","thank-you":"Confirmation",insight:"Documents",file:"Documents","upload-ic":"Verification","magic-link":"Auth",login:"Auth",register:"Auth",dr_bio:"Doctor"};return o[r]?o[r]:"doctor"===n?"Doctor":"receptionist"===n?"Receptionist":r.split(/[-_]/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}(s),{...l,url:window.location.href,path:s,referrer:"undefined"!=typeof document?document.referrer:""})},[s]),(0,r.jsx)(r.Fragment,{children:u})}},2947:function(t,e,n){n.d(e,{CU:function(){return r},qC:function(){return a},zU:function(){return o}});let r=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,o=/^.{6,99999999}$/,a=/^\d+$/},50230:function(t,e,n){n.d(e,{g:function(){return a}});var r=n(90636),o=n(75271);let a=()=>{let t=(0,r.p)();return{showShortToast:(0,o.useCallback)((e,n,r,o)=>{t({title:e,status:n,duration:r||1e4,isClosable:o||!0})},[t])}}},87745:function(t,e,n){n.d(e,{I:function(){return o}});var r=n(75271);let o=t=>(0,r.useCallback)(async e=>{try{return{values:await t.validate(e,{abortEarly:!1}),errors:{}}}catch(t){return{values:{},errors:t.inner.reduce((t,e)=>{var n;return{...t,[e.path]:{type:null!==(n=e.type)&&void 0!==n?n:"validation",message:e.message}}},{})}}},[t])},64375:function(t,e,n){n.d(e,{$V:function(){return u},ID:function(){return c},Jw:function(){return y},Yy:function(){return g},ZH:function(){return p},bL:function(){return i},gv:function(){return x},h5:function(){return a},mS:function(){return s},rR:function(){return f},zC:function(){return l},zG:function(){return d},zg:function(){return h}});var r=n(67921),o=n(82051);function a(t){(0,r.uY)().track(o.w.UPGRADE_PLANS_CONFIRMED,t)}function i(t){(0,r.uY)().track(o.w.UPGRADED_PLANS,t)}function l(t){(0,r.uY)().track(o.w.SELECT_PRODUCT_IN_EDIT_MODAL,t)}function u(t){(0,r.uY)().track(o.w.SELECT_PRICE_IN_EDIT_MODAL,t)}function c(t){(0,r.uY)().track(o.w.CONFIRM_EDIT_MODAL,t)}function s(t){(0,r.uY)().track(o.w.BONUS_MONTHS_BANNER_VIEWED,t)}function d(t){(0,r.uY)().track(o.w.BONUS_MONTHS_BANNER_CLICKED,t)}function f(t){(0,r.uY)().track(o.w.CONNECT_WITH_DOCTOR_INITIATED,t)}function h(t){(0,r.uY)().track(o.w.JOIN_VIDEO_CONSULTATION,t)}function y(t){(0,r.uY)().track(o.w.DOCTOR_JOIN_VIDEO_CONSULTATION,t)}function g(t){(0,r.uY)().track(o.w.EVAL_ENTRY_CLICKED,t)}function p(t){(0,r.uY)().track(o.w.WHY_ASK_OPENED,t)}function x(t){(0,r.uY)().track(o.w.LANGUAGE_CHANGED,t)}},84101:function(t,e,n){n.d(e,{Q:function(){return a}});var r=n(75271),o=n(52414);function a(){let t=(0,r.useContext)(o.f);if(!t)throw Error("useTracker must be used within a TrackerProvider");return t}},37103:function(t,e,n){n.d(e,{D:function(){return o}});var r=n(95326);let o=t=>{let e=new URLSearchParams(t||{}),n=e.get(r.Li.REDIRECT);null===n&&(n="");let[o,a]=decodeURIComponent(n).split("?");return new URLSearchParams(a||"").forEach((t,n)=>{e.set(n,t)}),e.delete(r.Li.REDIRECT),{redirectUrl:o,urlQuery:e}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.