"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4447],{ofcE:function(e,t,i){i.d(t,{A:function(){return ArrowRightBlue},C:function(){return Clinic},D:function(){return DoctorExpertiseItem},I:function(){return InsuranceList},P:function(){return PaymentList},a:function(){return DoctorInfoExpertise}});var n=i("q1tI"),a=i("rBCA"),o=i("iBNF"),r=i("rAbs"),l=i("xXM3"),s=i.n(l),c=i("YwFi"),d=i("VkaC");let ArrowRightBlue=e=>n.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 6 10",fill:"none"},e),n.createElement("path",{d:"M1 9L5 5L1 1",stroke:"#2D87F3",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"})),Clinic=e=>n.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M4.89646 16.9996H2.96549C2.43225 16.9996 2 16.5674 2 16.0341V12.6549C2 12.1217 2.43225 11.6895 2.96549 11.6895H4.89646",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.0342 11.6895H16.9652C17.4984 11.6895 17.9306 12.1217 17.9306 12.6549V16.0341C17.9306 16.5674 17.4984 16.9996 16.9652 16.9996H15.0342",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5.86197 3H14.0686C14.6015 3 15.0341 3.43263 15.0341 3.96549V16.9995H4.89648V3.96549C4.89648 3.43263 5.32912 3 5.86197 3Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.172 13.6206H8.7583V16.9998H11.172V13.6206Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M9.96533 9.99996V5.65527",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.1377 7.82764H7.79297",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),h=a.Z.ul` display: grid; grid-gap: 16px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); list-style: none; `,p=a.Z.li` p { margin-top: 8px; text-align: center; } .insuranceLogo { display: grid; height: 58px; border: 1px solid ${o.r.colors.neutral200}; border-radius: 6px; place-content: center; > img { width: 93px; height: 43px; object-fit: contain; } } `,InsuranceList=({insurances:e,className:t,isName:i=!0})=>e.length?n.createElement(h,{id:"insurance-list",className:t},e.map(e=>n.createElement(p,{className:"insuranceItem",key:e.id},n.createElement("div",{className:"insuranceLogo"},n.createElement("img",{src:e.logo,alt:e.name||"insurance-logo"})),i&&n.createElement(r.T,{size:"base",color:o.r.colors.gray500,type:"bold"},e.name)))):null,u=a.Z.div` display: flex; flex-wrap: wrap; gap: 7px; &.paymentList { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); justify-content: center; } `,f=a.Z.div` border: 1px solid ${o.r.colors.neutral100}; border-radius: 12px; width: 80px; min-height: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; &.payment-item-mobile { width: 100%; } .logo { position: relative; width: 55px; aspect-ratio: 55 / 32; object-fit: contain; } .txt-caption-1 { font-size: 0.6875rem; line-height: 1rem; color: ${o.r.colors.gray800}; } `,PaymentList=({payments:e,className:t,isName:i=!0,isMobile:a=!1})=>e.length?n.createElement(u,{id:"payment-container",className:s()(t,{paymentList:a&&e.length>=4})},e.map(t=>n.createElement(f,{className:s()("payment-item",{"payment-item-mobile":a&&e.length>=4}),key:t.id},n.createElement(c.I,{className:"logo",src:t.logo,alt:t.name}),i&&n.createElement("div",{className:"txt-caption-1"},t.name)))):null,g=a.Z.div` display: flex; gap: 8px; .icon { width: 1.25rem; height: 1.25rem; color: ${o.r.colors.gray400}; flex-shrink: 0; } .doctor-info-item-content { display: flex; flex-direction: column; gap: 10px; } `;(0,a.Z)(Clinic)` width: 1.25rem; height: 1.25rem; `;let m=a.Z.div` display: flex; flex-direction: column; gap: 4px; `,DoctorExpertiseItem=e=>{let{doctorInfo:t,Icon:i,title:a}=e;return n.createElement(g,null,n.createElement(i,{className:"icon"}),n.createElement(m,null,n.createElement(d.T,{size:"p3",weight:"semiBold",color:"#111111"},a),n.createElement("div",{className:"doctor-info-item-content"},(Array.isArray(t)?t:[t]).map(e=>n.createElement(d.T,{size:"p3",weight:"regular",key:e},e)))))},b=a.Z.div` display: flex; padding: 1rem; width: 100%; justify-content: space-between; `,E=a.Z.div` display: flex; flex-direction: column; gap: 2px; `,DoctorInfoExpertise=e=>{let{name:t,specialty:i,experience:a,profileImage:o}=e;return n.createElement(b,null,n.createElement(E,null,n.createElement(d.T,{size:"title2",weight:"semiBold",color:"#111111"},t),n.createElement("div",null,i&&n.createElement(d.T,{size:"c1",weight:"regular"},i),a&&n.createElement(d.T,{size:"c1",weight:"regular"},a))),n.createElement(c.I,{src:o,alt:t,style:{width:"4.5rem",height:"4.5rem",borderRadius:"50%",objectFit:"cover",flexShrink:0}}))}},c0tG:function(e,t,i){i.d(t,{U:function(){return UserAvatar}});var n=i("NXpd"),a=i("q1tI"),o=i("Xp6P"),r=i("rBCA"),l=i("iBNF");let s=r.Z.div` width: ${e=>e.size||40}px; height: ${e=>e.size||40}px; flex-shrink: 0; cursor: pointer; img { border-radius: 50%; } .avatar { width: 100%; height: 100%; object-fit: cover; } .avatar-default { display: flex; align-items: center; justify-content: center; background-color: ${l.r.colors.secondaryBase}; border-radius: 50%; color: white; font-size: 1em; font-weight: bold; line-height: 1; } &[data-is-marrybaby='true'] { .avatar-default { background-color: ${l.r.mbColors.pink}; } } `,UserAvatar=e=>{var{className:t,isMarryBaby:i,style:r,avatar:l,username:c,size:d}=e,h=(0,n._)(e,["className","isMarryBaby","style","avatar","username","size"]);let{data:{env:{isMarryBaby:p}}}=(0,a.useContext)(o.T),[u,f]=(0,a.useState)(!1);return a.createElement(s,Object.assign({"data-is-marrybaby":"boolean"==typeof i?i:p,className:t,style:r,size:d},h),l&&!u?a.createElement("img",{loading:"lazy",src:l,className:"avatar",alt:"avatar",onError:()=>{u||f(!0)}}):a.createElement("div",{className:"avatar avatar-default"},c&&(null==c?void 0:c.length)>0?c[0].toUpperCase():"A"))}},lcpN:function(e,t,i){i.d(t,{B:function(){return u},F:function(){return g},G:function(){return f},S:function(){return d},c:function(){return checkUserExist},f:function(){return fetchSSOV2Api},g:function(){return getUserInfo},h:function(){return handleAuthSuccess},l:function(){return h},r:function(){return resetPassword},u:function(){return updateUserInfo},w:function(){return p}});var n=i("NXpd"),a=i("GOBr"),o=i("S1NM"),r=i("47J3"),l=i("27Mu"),s=i("Yida"),c=i("xrdX");let d={LOGIN_BY_SOCIAL:"member/social-login",EMAIL:{REGISTER_BY_SEND_OTP:"login/login-with-email",LOGIN_BY_PASSWORD:"member/login",VERIFY_BY_OTP:"login/email-verify-code",SEND_OTP:"login/email-resend-otp-code"},PHONE:{REGISTER_BY_SEND_OTP:"login/login-with-sms",SEND_OTP:"login/sms/sent-otp",VERIFY_BY_OTP:"login/phone-verify-code",LOGIN_BY_PASSWORD:"member/login-by-phone",UPDATE_PHONE_SEND_OTP:"login/sms-social/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/phone-verify-code"},WHATSAPP:{REGISTER_BY_SEND_OTP:"login/login-with-whatsapp",SEND_OTP:"login/whatsapp/sent-otp",UPDATE_PHONE_SEND_OTP:"login/sms-social/whatsapp/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/whatsapp-verify-code",VERIFY_BY_OTP:"login/whatsapp-verify-code"},ZALO:{REGISTER_BY_SEND_OTP:"login/login-with-zalo",SEND_OTP:"login/zalo/sent-otp",VERIFY_BY_OTP:"login/zalo-verify-code",UPDATE_PHONE_SEND_OTP:"login/sms-social/zalo/sent-otp",UPDATE_PHONE_VERIFY_OTP:"login/sms-social/zalo-verify-code"},RESET_PASSWORD:"login/reset-password",CHECK_USER_EXIST:"member/check-user-exist",UPDATE_USER_INFO:"login/update-first-info",SETUP_USER_INFO:"login/setup-first-info",ECOM_CARE:{SEND_OTP:"login/ecom-care/send-email-otp-code",VERIFY_OTP:"login/ecom-care/email-verify-code",RESEND_OTP:"login/ecom-care/resend-email-otp-code"}},h="vi-VN",p={[s.L.Vietnam]:"1",[s.L.Indonesia]:"2",[s.L.Malaysia]:"3"}[h];r.L[h].PHONE;let getSSOV2ApiUrl=e=>(0,o.n)(`${(0,o.a)(h)}/api/v2/${e}`),getSSOApiUrl=e=>(0,o.n)(`${(0,o.a)(h)}/api/${e}`),u="hhg_user_token",fetchSSOV2Api=(e,t={},i)=>(0,n.a)(void 0,void 0,void 0,function*(){var n;let a;let o=i?"":null===(n=document.cookie.split("; ").find(e=>e.startsWith(u)))||void 0===n?void 0:n.split("=")[1];try{t.body instanceof FormData&&(t.body.append("ga_client_id",(0,l.ej)("_ga")||""),t.body.append("referrer",window.location.href)),a=yield fetch(getSSOV2ApiUrl(e),o?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${o}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==a?void 0:a.json()}),fetchSSOApi=(e,t={},i)=>(0,n.a)(void 0,void 0,void 0,function*(){var n;let a;let o=i?"":null===(n=document.cookie.split("; ").find(e=>e.startsWith(u)))||void 0===n?void 0:n.split("=")[1];try{a=yield fetch(getSSOApiUrl(e),o?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${o}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==a?void 0:a.json()}),resetPassword=(e,t)=>(0,n.a)(void 0,void 0,void 0,function*(){let i=new FormData;return i.append("password",e),i.append("confirm-password",t),fetchSSOV2Api(d.RESET_PASSWORD,{method:"POST",body:i})}),checkUserExist=({email:e,phone:t})=>(0,n.a)(void 0,void 0,void 0,function*(){let i=new FormData;return e?i.append("email",e):i.append("phone_number",t),fetchSSOV2Api(d.CHECK_USER_EXIST,{method:"POST",body:i})}),updateUserInfo=e=>(0,n.a)(void 0,void 0,void 0,function*(){let t=new FormData;return Object.keys(e).forEach(i=>{let n=e[i];null!=n&&("string"!=typeof n||n.trim())&&t.append(i,e[i])}),fetchSSOV2Api(d.SETUP_USER_INFO,{method:"POST",body:t})}),f=a.y?"289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com":"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",g="2759888574045636",getUserInfo=()=>(0,n.a)(void 0,void 0,void 0,function*(){return fetchSSOApi("user/profile",{method:"POST"})}),handleAuthSuccess=e=>{(null==e?void 0:e.token)&&(0,l.d8)(u,e.token,{domain:"localhost"===window.location.hostname?"localhost":`.${c.v[h]}`,expires:new Date(1e3*e.expire_in).toUTCString()}),(null==e?void 0:e.refresh_token)&&(0,l.d8)(r.k,e.refresh_token,{domain:"localhost"===window.location.hostname?"localhost":`.${c.v[h]}`})}},"48tO":function(e,t,i){i.d(t,{T:function(){return Tabs}});var n=i("NXpd"),a=i("q1tI"),o=i("5Q4Z"),r=i("iZ8j"),l=i("/npG"),s=i("mYVa"),c=i("rlLN"),d=i("vaps"),h=i("rQtb"),p=i("VkaC"),u=(0,l.k)((e,t)=>{let{variant:i}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:(0,s.h)(56)};return Object.assign({},"inline"===i&&{root:{},tabsList:{gap:(0,s.h)(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${(0,s.h)(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:(0,s.h)(2),marginBottom:(0,s.h)(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:(0,s.h)(28),height:(0,s.h)(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})});let Tabs=e=>{var t,{variant:i="inline",value:l,styles:s,children:f,dataList:g=[],tabProps:m,listProps:b,panelProps:E,TabComponentDisplay:x,startPadding:v=40,defaultValue:y}=e,C=(0,n._)(e,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);let{cx:w,classes:S}=u({variant:i},{name:"Tabs",styles:s}),k=(0,a.useRef)(null),B=(0,a.useRef)([]),[N,O]=(0,a.useState)(y||(null===(t=null==g?void 0:g[0])||void 0===t?void 0:t.value)),[A,_]=(0,a.useState)(0),[T,I]=(0,a.useState)(!1),[z,D]=(0,a.useState)(!0),[P,F]=(0,a.useState)({x:0,y:0}),L=(0,a.useRef)(null),H=Object.assign({defaultValue:y,classNames:S},f?{value:l}:{value:N,onTabChange:e=>O(e)});(0,a.useEffect)(()=>{O(l)},[l]),(0,a.useEffect)(()=>{var e,t,i;null===(e=L.current)||void 0===e||e.scrollTo({left:(null===(i=null===(t=null==B?void 0:B.current)||void 0===t?void 0:t[A])||void 0===i?void 0:i.offsetLeft)-v,behavior:"smooth"})},[A]),(0,a.useEffect)(()=>{_(g.findIndex(e=>e.value==N))},[N]),(0,a.useEffect)(()=>{var e,t;D(0===P.x),I((null===(e=null==L?void 0:L.current)||void 0===e?void 0:e.clientWidth)+P.x===(null===(t=null==L?void 0:L.current)||void 0===t?void 0:t.scrollWidth))},[P]);let TabTextComponent=({text:e,dataEventCategory:t,dataEventAction:i,dataEventLabel:n})=>x?a.createElement(x,null,e):a.createElement(p.T,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":i,"data-event-label":n},e);return a.createElement(c.m,Object.assign({},H,C),f||a.createElement(a.Fragment,null,a.createElement(d.x,{className:w(S.scrollArea,`${z?"":"prev-bg"} ${T?"":"next-bg"}`),scrollbarSize:0,viewportRef:L,onScrollPositionChange:F},a.createElement(c.m.List,Object.assign({className:S.list,ref:k},b),g.map((e,t)=>a.createElement(c.m.Tab,Object.assign({ref:e=>B.current[t]=e,className:S.tab,key:String(e.value),value:String(e.value)},m),a.createElement(TabTextComponent,Object.assign({},e))))),a.createElement(h.B,{className:w(S.btn,S.prevBtn,z?"disabled":""),unstyled:!0,onClick:()=>_(A-1>-1?A-1:0),leftIcon:a.createElement(o.Z,{size:16})}),a.createElement(h.B,{className:w(S.btn,S.nextBtn,T?"disabled":""),unstyled:!0,onClick:()=>_(A+1a.createElement(c.m.Panel,Object.assign({value:String(e.value),key:String(e.value)},E),e.content))))};Tabs.List=c.m.List,Tabs.Tab=c.m.Tab,Tabs.Panel=c.m.Panel},aBaF:function(e,t,i){i.d(t,{M:function(){return b},N:function(){return NotificationsHandler},a:function(){return getHeadingStyles},g:function(){return getMantineThemeOverride},s:function(){return showNotification},t:function(){return k},u:function(){return useMantineLocale}});var n=i("NXpd"),a=i("q1tI"),o=i("Wgwc"),r=i.n(o),l=i("Yida"),s=i("INKa"),c=i("0Woy"),d=i("47J3"),h=i("mYVa"),p=i("vCEM"),u=i("iBNF"),f=i("tKpg"),g=i("+Hg+"),m=i("gdow");let b={[l.L.Vietnam]:"vi",[l.L.Cambodia]:"km",[l.L.India]:"hi",[l.L.Indonesia]:"id",[l.L.Malaysia]:"ms",[l.L.Thailand]:"th",[l.L.Taiwan]:"zh-tw",[l.L.PhilippinesTagalog]:"tl-ph",[l.L.PhilippinesEnglish]:"en",[l.L.Myanmar]:"my",[l.L.Singapore]:"zh-cn"},E={[l.L.Vietnam]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"EdQk",23)),[l.L.Cambodia]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"9mFM",23)),[l.L.India]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"sjup",23)),[l.L.Indonesia]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"gydT",23)),[l.L.Malaysia]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"KjFU",23)),[l.L.Thailand]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"axPs",23)),[l.L.Taiwan]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"UIeI",23)),[l.L.Singapore]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"pHGr",23)),[l.L.PhilippinesTagalog]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"BmsB",23)),[l.L.PhilippinesEnglish]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"njAx",23)),[l.L.Myanmar]:()=>Promise.all([i.e(2138),i.e(9467),i.e(4467),i.e(6966),i.e(5243),i.e(8132),i.e(1375),i.e(4561),i.e(1448),i.e(5465),i.e(1217),i.e(5480),i.e(731),i.e(2050),i.e(2008),i.e(8469),i.e(8214),i.e(1482),i.e(6817),i.e(467),i.e(5951),i.e(9357),i.e(747),i.e(5675),i.e(6753),i.e(4802),i.e(3046),i.e(5745),i.e(3437),i.e(252),i.e(6839),i.e(9424),i.e(5702),i.e(8922),i.e(6399),i.e(553),i.e(2902),i.e(4969),i.e(3257),i.e(6611),i.e(7538),i.e(6894),i.e(5341)]).then(i.t.bind(i,"5EMu",23))},useMantineLocale=e=>{let[t,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{(0,n.a)(void 0,void 0,void 0,function*(){var t;i(!1),yield null===(t=E[e])||void 0===t?void 0:t.call(E),r().locale(b[e]),i(!0)})},[e]),{isLoaded:t}},GlobalButtonStyle=()=>({Button:{defaultProps:{variant:"primary",size:"md"}}}),x={[g.C.NONE]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#1a1a1a"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},[g.C.LEADGEN]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#111111"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]}};function NotificationsHandler(){return a.createElement(s.T,{position:"top-right",zIndex:d.Z+5,autoClose:5e3})}let v={success:"green",danger:"red",warning:"yellow",info:"blue",firebase:"gray"},y={success:a.createElement(()=>a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M10 18.333a8.333 8.333 0 1 0 0-16.666 8.333 8.333 0 0 0 0 16.666",fill:"#00B16A"}),a.createElement("path",{d:"m13.833 7.5-5.5 5-2.5-2.273",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),danger:a.createElement(()=>a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",fill:"#262626"}),a.createElement("path",{d:"m14.829 9.172-5.657 5.656m-.001-5.656 5.657 5.656",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),warning:a.createElement(()=>a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.66666C5.4 1.66666 1.66667 5.39999 1.66667 9.99999C1.66667 14.6 5.4 18.3333 10 18.3333C14.6 18.3333 18.3333 14.6 18.3333 9.99999C18.3333 5.39999 14.6 1.66666 10 1.66666ZM10 10.8333C9.54167 10.8333 9.16667 10.4583 9.16667 9.99999V6.66666C9.16667 6.20832 9.54167 5.83332 10 5.83332C10.4583 5.83332 10.8333 6.20832 10.8333 6.66666V9.99999C10.8333 10.4583 10.4583 10.8333 10 10.8333ZM9.16667 12.5V14.1667H10.8333V12.5H9.16667Z",fill:"#FE921D"})),null),info:a.createElement(()=>a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12",fill:"#2D87F3"}),a.createElement("path",{d:"M8 11V8m0-3h.01",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),firebase:""},showNotification=e=>{var{type:t,title:i}=e,o=(0,n._)(e,["type","title"]);let r=y[t];c.N9.show(Object.assign(Object.assign({title:a.createElement("b",null,i),icon:r,withCloseButton:!0,closeButtonProps:{label:"Close alert"}},o),{styles:e=>{let i=v[t]||"blue";return{root:{backgroundColor:e.colors[i][0],borderColor:e.colors[i][0],"&::before":{backgroundColor:e.white}},title:{color:e.colors[i][8]},description:{color:e.black},closeButton:{color:e.black,"&:hover":{backgroundColor:e.colors[i][0]}},icon:{backgroundColor:"transparent",padding:0}}}}))},C={Container:{defaultProps:{sizes:{lg:(0,h.em)(f.S.LG)}}}},w={none:{default:[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]},leadgen:{default:[{size:"40px",lineHeight:"48px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"40px",letterSpacing:"-1px"},{size:"26px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"20px",lineHeight:"28px",letterSpacing:"-0.4px"},{size:"17px",lineHeight:"24px",letterSpacing:"-0.4px"},{size:"15px",lineHeight:"24px",letterSpacing:"-0.3px"}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]}},getHeadingStyles=e=>{let{version:t=g.C.NONE,mbDown:i}=e||{},n=w[t]||{};return Object.fromEntries((n[i?"mbDown":"default"]||[]).map((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))},GlobalHeadingStyle=(e=g.C.NONE)=>({Title:{styles:{root:Object.assign(Object.assign({fontWeight:g.F.bold},getHeadingStyles({version:e})),{[`&${f.M.mbDown}`]:Object.assign({},getHeadingStyles({version:e,mbDown:!0}))})}}}),GlobalInputStyle=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:(0,h.h)(14),lineHeight:"22px",color:u.r.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:u.r.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=d.I[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:i})=>({input:{border:`1px solid ${u.r.colors.gray200}`,transition:`all ${m.A} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(i){case"lg":return{height:48,minHeight:"unset",fontSize:16,lineHeight:"24px"};case"md":return{height:40,minHeight:"unset",fontSize:(0,h.h)(14),lineHeight:"22px"};case"sm":return{height:32,minHeight:"unset",fontSize:(0,h.h)(14),lineHeight:"22px"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${u.r.colors.red600}`,color:"#000"}})}}},S={Radio:{defaultProps:{size:"sm",color:"blue.6"},styles:{radio:{backgroundColor:"transparent","&:checked":{backgroundColor:"transparent"}}}}},k=x[g.C.NONE],getMantineThemeOverride=(e,t="hb",i)=>{var n;return{defaultRadius:"hb"===t?8:16,cursorType:"pointer",colors:Object.assign(Object.assign(Object.assign({},null!==(n=x[i])&&void 0!==n?n:x[g.C.NONE]),u.r.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:(e===l.L.Cambodia?"Battambang":e===l.L.Thailand?"Noto Sans Thai":"Inter")+", -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:(0,h.em)(f.B.BREAK_POINT_SMALL_MOBILE),sm:(0,h.em)(f.B.BREAK_POINT_MOBILE),md:(0,h.em)(f.B.BREAK_POINT_TABLET),lg:(0,h.em)(f.B.BREAK_POINT_PC),xl:(0,h.em)(f.B.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},GlobalInputStyle(e)),S),GlobalButtonStyle()),GlobalHeadingStyle(i)),C),other:{template:t,customStyleType:i,defaultImage:p.C.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}}},OLND:function(e,t,i){i.d(t,{C:function(){return Container}});var n=i("q1tI");let Container=({children:e,className:t,style:i,type:a})=>n.createElement("div",{className:`d76E4SH ${t||""}`,style:i,"data-type":a},e)},w9lR:function(e,t,i){i.d(t,{H:function(){return Heading}});var n=i("NXpd"),a=i("q1tI"),o=i("8vDj"),r=i("VkaC");let Heading=e=>{var{as:t,tag:i,color:l,fontWeight:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:h}=e,p=(0,n._)(e,["as","tag","color","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);let u=(0,o.rZ)();return a.createElement(r.T,Object.assign({as:t||i,color:l||u.colors.gray[8],"data-event-category":c,"data-event-action":d,"data-event-label":h,weight:"semibold"===s?"semiBold":"bold",size:i,"data-size":i,"data-font-weight":s||void 0},p))}},jAVh:function(e,t,i){i.d(t,{I:function(){return Input},L:function(){return Label},S:function(){return p},a:function(){return h},b:function(){return d}});var n=i("NXpd"),a=i("q1tI"),o=i("8vDj"),r=i("rBCA"),l=i("iBNF"),s=i("tKpg");let c=r.Z.div` position: relative; width: 100%; &[data-has-error] { input { border-color: ${l.r.colors.red700}; } } input { width: 100%; padding: 12px 16px; border: solid 1px ${l.r.colors.gray200}; border-radius: ${l.r.borderRadius}; &:active, &:focus, &.focused { border-color: ${e=>e.color}; box-shadow: 0px 0px 2px 2px ${e=>e.shadowColor}; } &:disabled { background-color: ${l.r.colors.gray100}; cursor: not-allowed; } } &[data-has-action-icon] { input { padding: 12px 48px 12px 16px; } } &[data-has-display-icon] { input { padding: 12px 16px 12px 48px; } } &[data-has-action-icon][data-has-display-icon] { input { padding: 12px 48px; } } &[data-size='lg'] { input { font-size: 16px; font-weight: ${l.r.sizes.fwRegular}; ${s.M.mbDown} { font-size: 22px; line-height: 1.2; } ${s.M.mbUp} { font-size: 26px; line-height: 1.2; } } } &[data-size='md'] { input { font-weight: ${l.r.sizes.fwRegular}; line-height: 22px; ${s.M.mbDown} { font-size: 14px; line-height: 1.2; } ${s.M.mbUp} { font-size: 16px; line-height: 1.2; } } } &[data-size='sm'] { input { font-weight: ${l.r.sizes.fwRegular}; line-height: 20px; ${s.M.mbDown} { font-size: 13px; line-height: 1.5; } ${s.M.mbUp} { font-size: 13px; line-height: 1.5; } } } `,d=r.Z.label` color: ${l.r.colors.red700}; font-weight: ${l.r.sizes.fwRegular}; `,h=r.Z.div` position: absolute; top: 50%; right: 16px; cursor: pointer; transform: translateY(-50%); `,p=r.Z.div` position: absolute; top: 50%; left: 16px; display: inline-flex; cursor: default; transform: translateY(-50%); `,Label=({children:e,className:t,style:i,htmlFor:n,size:o})=>a.createElement("label",{"data-size":o,className:`DjBFAbd ${t||""}`,style:i,htmlFor:n},e),Input=e=>{var{name:t,value:i,errorMessage:r,isNumerousKeyboard:l=!1,showErrorMessage:s=!0,actionIcon:u,displayIcon:f,onActionClick:g,label:m,className:b,onChange:E,isDisabled:x,CustomInput:v,size:y,style:C,autoComplete:w="off",type:S="text",inputClassName:k,trackingAttributes:B,enterKeyHint:N}=e,O=(0,n._)(e,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);let A=(0,o.rZ)(),_=(0,a.useMemo)(()=>B?{"data-event-category":B.dataEventCategory,"data-event-action":B.dataEventAction,"data-event-label":B.dataEventLabel}:{},[B]);return a.createElement(c,{"data-size":y,className:b,"data-has-action-icon":!!u||void 0,"data-has-display-icon":!!f||void 0,"data-has-error":r&&r.length>0||void 0,color:A.fn.primaryColor(),shadowColor:A.colors[A.primaryColor][0],style:C},m&&a.createElement(Label,{size:"label2",htmlFor:t,className:"inputLabel"},m),a.createElement("div",{style:{position:"relative"}},v||a.createElement("input",Object.assign({id:t,name:t,onChange:e=>E&&E(e.target.value),type:S,"aria-label":S,value:i,disabled:x,autoComplete:w,inputMode:l||"number"===S?"numeric":S,pattern:l?"[0-9]*":".*",className:k,enterKeyHint:N},_,O)),f&&a.createElement(p,{className:"displayIcon"},f),u&&a.createElement(h,{className:"actionIcon",onClick:g},u)),r&&r.length>0&&s&&a.createElement(d,{className:"errorLabel"},r))}},Bu0A:function(e,t,i){i.d(t,{T:function(){return TextArea}});var n=i("NXpd"),a=i("q1tI"),o=i("0qvZ"),r=i("9aQb"),l=i("+Hg+");let TextArea=e=>{var{styles:t}=e,i=(0,n._)(e,["styles"]);let s=(0,l.u)(),{classes:c}=(0,r.u)({variantStyle:s},{name:"MantineTextarea",styles:t});return a.createElement(o.g,Object.assign({classNames:{input:c.input},minRows:2,maxRows:4},i))}},"8cAY":function(e,t,i){i.d(t,{T:function(){return u},a:function(){return getUserIdFromCookie},b:function(){return getSubotCookieId},c:function(){return getUserInfoFromCookie},d:function(){return getWindowId},e:function(){return checkUntilFinished},f:function(){return checkMobile},g:function(){return getHelloSitesUrl},h:function(){return clickAndOpenInNewTab},i:function(){return formatUrlWithEncrypedGa},j:function(){return isFakeEmail},k:function(){return getHhgIdFromCookie},o:function(){return overrideParamsByQuery},s:function(){return ssoIntents}});var n=i("Mh4R"),a=i("47J3"),o=i("Vp3O"),r=i("JIJ2"),l=i("hHL7"),s=i("GOBr"),c=i("xrdX");let d=["form_submit_meta","selected_actions","current_selected","current_keys","current_polls"],h=["bot_id","node_id","action_id","action_value","current_score","gtm_id","ga_client_id","is_new","title_url","url","window_id",...d],overrideParamsByQuery=(e,t)=>{let i=Object.keys(t);return i.map(i=>{let n=t[i];if("source"===i){e.is_new="first_login"===n;return}if(h.includes(i)){if(d.includes(i)){try{e[i]=JSON.parse(n)}catch(e){}return}if("account_id"===i||"current_score"===i||"bot_id"===i){e[i]=parseInt(n);return}e[i]=n}}),e},ssoIntents=e=>[{id:(0,l.Z)(),label:JSON.stringify({title:"",description:""}),type:o.N.SSO_INTENT,url:""},{id:(0,l.Z)(),label:JSON.stringify({title:e({id:"subot.myHealth.title",defaultMessage:"My Health"}),description:e({id:"subot.myHealth.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:o.N.SSO_INTENT,url:"/images/subot/my-health.svg"},{id:(0,l.Z)(),label:JSON.stringify({title:e({id:"subot.saveData.title",defaultMessage:"Save Data"}),description:e({id:"subot.saveData.description",defaultMessage:"Hellobacsi would like to learn from your data to provide better healthcare for you"})}),type:o.N.SSO_INTENT,url:"/images/subot/file-storage.svg"},{id:(0,l.Z)(),label:JSON.stringify({title:e({id:"subot.productYourIdentifiers.title",defaultMessage:"Protect your identifiers"}),description:e({id:"subot.productYourIdentifiers.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:o.N.SSO_INTENT,url:"/images/subot/shield.svg"}];function checkUntilFinished(e){let t=e.condition,i=e.finished,n=e.timeout||3e3,a=new Date().getTime(),o=setInterval(()=>{let e=new Date().getTime();(e-a>n||t())&&(clearInterval(o),i())},300)}let getHhgIdFromCookie=e=>{let t=n.c.parse(e||""),i=t["hhg-id"];return i||r.Z.get("hhg-id")||""},getSubotCookieId=e=>{if(e)return r.Z.set("hhg-id",e),e;let t=getHhgIdFromCookie();if(t)return t;let i=(0,l.Z)();return r.Z.set("hhg-id",i),i},getUserIdFromCookie=e=>{let t=n.c.parse(e||""),i=t[a.B],o=i||r.Z.get(a.B)||"";try{let e=o.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(i).sub}catch(e){return""}},getUserInfoFromCookie=e=>{let t=n.c.parse(e||""),i=t[a.B],o=i||r.Z.get(a.B)||"";try{let e=o.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join("")),n=JSON.parse(i);return{email:n.email,id:n.sub}}catch(e){return{email:"",id:0}}},p=(0,l.Z)(),getWindowId=()=>p,getHelloSitesUrl=(e,t)=>{let i=!t&&"undefined"!=typeof window&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname);return i?"http://localhost":`https://${s.y?"":"discover."}${c.v[e]}`},checkMobile=e=>{let t=e||("undefined"==typeof navigator?"":navigator.userAgent);return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substring(0,4)))},clickAndOpenInNewTab=e=>{let t=document.createElement("a");t.href=e,t.target="_blank",t.click()},u=30,isFakeEmail=e=>(null==e?void 0:e.endsWith("@hhg.com"))||(null==e?void 0:e.endsWith("@facebook.com"));function formatUrlWithEncrypedGa(e="",t=""){if(!e.startsWith("https://")||!t)return"";let i=new URL(e),n=i.searchParams;return n.get("hhgclid")?(n.delete("hhgclid"),n.set("hhgclid",t),`${i.origin}${i.pathname}?${n.toString()}`):e}},"+Hg+":function(e,t,i){i.d(t,{C:function(){return o},F:function(){return r},G:function(){return GlobalTextStyleNew},T:function(){return TemplateProvider},a:function(){return c},u:function(){return useTemplateVariant}});var n,a,o,r,l=i("mYVa"),s=i("q1tI");(n=o||(o={})).LEADGEN="leadgen",n.NONE="none",(a=r||(r={}))[a.regular=400]="regular",a[a.halfBold=500]="halfBold",a[a.semiBold=600]="semiBold",a[a.bold=700]="bold";let c={[o.NONE]:{fontSize:{base:[(0,l.h)(16),(0,l.h)(16)],lg:[(0,l.h)(18),(0,l.h)(16)],md:[(0,l.h)(18),(0,l.h)(16)],sm:[(0,l.h)(16),(0,l.h)(14)],xs:[(0,l.h)(14),(0,l.h)(12)],s1:[(0,l.h)(22),(0,l.h)(18)],s2:[(0,l.h)(18),(0,l.h)(16)],s3:[(0,l.h)(16),(0,l.h)(14)],s4:[(0,l.h)(14),(0,l.h)(12)],s5:[(0,l.h)(12),(0,l.h)(12)],p1:[(0,l.h)(18),(0,l.h)(16)],p2:[(0,l.h)(16),(0,l.h)(16)],p3:[(0,l.h)(16),(0,l.h)(14)],p4:[(0,l.h)(14),(0,l.h)(12)],p5:[(0,l.h)(12),(0,l.h)(12)],c1:[(0,l.h)(16),(0,l.h)(14)],c2:[(0,l.h)(14),(0,l.h)(12)],n1:[(0,l.h)(12),(0,l.h)(12)],label1:[(0,l.h)(14),(0,l.h)(14)],label2:[(0,l.h)(12),(0,l.h)(12)],h1:[(0,l.h)(40),(0,l.h)(26)],h2:[(0,l.h)(32),(0,l.h)(24)],h3:[(0,l.h)(26),(0,l.h)(20)],h4:[(0,l.h)(22),(0,l.h)(18)],h5:[(0,l.h)(18),(0,l.h)(16)],h6:[(0,l.h)(16),(0,l.h)(14)],title1:[(0,l.h)(17),(0,l.h)(17)],title2:[(0,l.h)(15),(0,l.h)(15)]},lineHeight:{base:[(0,l.h)(24),(0,l.h)(24)],lg:[(0,l.h)(32),(0,l.h)(28)],md:[(0,l.h)(32),(0,l.h)(28)],sm:[(0,l.h)(24),(0,l.h)(22)],xs:[(0,l.h)(24),(0,l.h)(18)],s1:[(0,l.h)(32),(0,l.h)(26)],s2:[(0,l.h)(28),(0,l.h)(24)],s3:[(0,l.h)(24),(0,l.h)(24)],s4:[(0,l.h)(22),(0,l.h)(18)],s5:[(0,l.h)(18),(0,l.h)(18)],p1:[(0,l.h)(28),(0,l.h)(28)],p2:[(0,l.h)(24),(0,l.h)(24)],p3:[(0,l.h)(24),(0,l.h)(22)],p4:[(0,l.h)(22),(0,l.h)(18)],c1:[(0,l.h)(24),(0,l.h)(22)],c2:[(0,l.h)(22),(0,l.h)(18)],n1:[(0,l.h)(18),(0,l.h)(18)],label1:[(0,l.h)(22),(0,l.h)(22)],label2:[(0,l.h)(18),(0,l.h)(18)],h1:[(0,l.h)(52),(0,l.h)(34)],h2:[(0,l.h)(42),(0,l.h)(32)],h3:[(0,l.h)(36),(0,l.h)(26)],h4:[(0,l.h)(32),(0,l.h)(26)],h5:[(0,l.h)(28),(0,l.h)(24)],h6:[(0,l.h)(24),(0,l.h)(22)],title1:[(0,l.h)(24),(0,l.h)(24)],title2:[(0,l.h)(24),(0,l.h)(24)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h6:[0,-.2],title1:[-.4,-.4],title2:[-.3,-.3]},fontWeightBySize:{s1:r.semiBold,s2:r.semiBold,s3:r.semiBold,s4:r.semiBold,h1:r.bold,h2:r.bold,h3:r.bold,h4:r.bold,h5:r.bold,h6:r.bold},fontWeight:r},[o.LEADGEN]:{fontSize:{base:[(0,l.h)(16),(0,l.h)(16)],lg:[(0,l.h)(18),(0,l.h)(16)],md:[(0,l.h)(18),(0,l.h)(16)],sm:[(0,l.h)(16),(0,l.h)(14)],xs:[(0,l.h)(14),(0,l.h)(12)],s1:[(0,l.h)(22),(0,l.h)(18)],s2:[(0,l.h)(18),(0,l.h)(16)],s3:[(0,l.h)(16),(0,l.h)(14)],s4:[(0,l.h)(14),(0,l.h)(12)],s5:[(0,l.h)(12),(0,l.h)(12)],p1:[(0,l.h)(17),(0,l.h)(17)],p2:[(0,l.h)(15),(0,l.h)(15)],p3:[(0,l.h)(13),(0,l.h)(13)],p4:[(0,l.h)(14),(0,l.h)(12)],p5:[(0,l.h)(12),(0,l.h)(12)],c1:[(0,l.h)(12),(0,l.h)(12)],c2:[(0,l.h)(11),(0,l.h)(11)],n1:[(0,l.h)(12),(0,l.h)(12)],label1:[(0,l.h)(14),(0,l.h)(14)],label2:[(0,l.h)(12),(0,l.h)(12)],h1:[(0,l.h)(40),(0,l.h)(26)],h2:[(0,l.h)(32),(0,l.h)(24)],h3:[(0,l.h)(26),(0,l.h)(22)],h4:[(0,l.h)(22),(0,l.h)(20)],h5:[(0,l.h)(18),(0,l.h)(16)],h6:[(0,l.h)(16),(0,l.h)(14)],title1:[(0,l.h)(17),(0,l.h)(17)],title2:[(0,l.h)(15),(0,l.h)(15)],overline:[(0,l.h)(11),(0,l.h)(11)],subText:[(0,l.h)(10),(0,l.h)(10)]},lineHeight:{base:[(0,l.h)(24),(0,l.h)(24)],lg:[(0,l.h)(32),(0,l.h)(28)],md:[(0,l.h)(32),(0,l.h)(28)],sm:[(0,l.h)(24),(0,l.h)(22)],xs:[(0,l.h)(24),(0,l.h)(18)],s1:[(0,l.h)(32),(0,l.h)(26)],s2:[(0,l.h)(28),(0,l.h)(24)],s3:[(0,l.h)(24),(0,l.h)(24)],s4:[(0,l.h)(22),(0,l.h)(18)],s5:[(0,l.h)(18),(0,l.h)(18)],p1:[(0,l.h)(28),(0,l.h)(28)],p2:[(0,l.h)(24),(0,l.h)(24)],p3:[(0,l.h)(20),(0,l.h)(20)],p4:[(0,l.h)(22),(0,l.h)(18)],c1:[(0,l.h)(16),(0,l.h)(16)],c2:[(0,l.h)(22),(0,l.h)(18)],n1:[(0,l.h)(18),(0,l.h)(18)],label1:[(0,l.h)(22),(0,l.h)(22)],label2:[(0,l.h)(18),(0,l.h)(18)],h1:[(0,l.h)(48),(0,l.h)(34)],h2:[(0,l.h)(40),(0,l.h)(32)],h3:[(0,l.h)(32),(0,l.h)(32)],h4:[(0,l.h)(32),(0,l.h)(28)],h5:[(0,l.h)(28),(0,l.h)(24)],h6:[(0,l.h)(24),(0,l.h)(22)],title1:[(0,l.h)(24),(0,l.h)(24)],title2:[(0,l.h)(24),(0,l.h)(24)],overline:[(0,l.h)(12),(0,l.h)(12)],subText:[(0,l.h)(12),(0,l.h)(12)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.4,-.4],p2:[-.3,-.3],p3:[-.3,-.3],p4:[-.2,0],c1:[-.2,-.2],c2:[-.2,-.2],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.6,-.6],h4:[-.6,-.4],h5:[-.2,-.2],h6:[0,-.2],n1:[-.2,-.2],title1:[-.4,-.4],title2:[-.3,-.3],overline:[-.2,-.2],subText:[-.2,-.2]},fontWeightBySize:{s1:r.semiBold,s2:r.semiBold,s3:r.semiBold,s4:r.semiBold,h1:r.bold,h2:r.bold,h3:r.bold,h4:r.bold,h5:r.bold,h6:r.bold},fontWeight:r}},GlobalTextStyleNew=e=>({[o.LEADGEN]:{h1:{fontSize:(0,l.h)(40),lineHeight:(0,l.h)(48),letterSpacing:"-1.2px",[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(26),lineHeight:(0,l.h)(32),letterSpacing:"-0.6px"}},h2:{fontSize:(0,l.h)(32),lineHeight:(0,l.h)(40),letterSpacing:"-1px",[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(20),lineHeight:(0,l.h)(28),letterSpacing:"-0.4px"}},h3:{fontSize:(0,l.h)(26),lineHeight:(0,l.h)(32),letterSpacing:"-0.6px",[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(20),lineHeight:(0,l.h)(28),letterSpacing:"-0.4px"}},p1:{fontSize:(0,l.h)(17),lineHeight:(0,l.h)(28),letterSpacing:"-0.4px"},p2:{fontSize:(0,l.h)(15),lineHeight:(0,l.h)(24),letterSpacing:"-0.3px"}}}),d=(0,s.createContext)(o.NONE),TemplateProvider=({variant:e=o.NONE,children:t})=>s.createElement(d.Provider,{value:e},t),useTemplateVariant=()=>(0,s.useContext)(d)}}]);