"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7884],{QtTr:function(e,t,a){a.d(t,{M:function(){return Modal}});var o=a("q1tI"),n=a("c4aX"),i=a("i8i4"),r=a("rBCA"),l=a("oKqh"),s=a("gEnE"),c=a("iBNF");let d=(0,s.Z)(r.Z.div` position: relative; z-index: 200; background-color: ${c.r.colors.white}; border-radius: ${c.r.borderRadius}; box-shadow: 0px 8px 40px 0px #0000001a; &[data-site-type='marryBaby'] { border-radius: 16px; .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 24px; } } .hhg-modal__content { position: relative; z-index: 111; height: 100%; padding: 16px; } .hhg-modal__video { position: relative; z-index: 111; height: 100%; background-color: none; box-shadow: none; } `,"hhgcomp-modal-modal"),p=r.Z.div` position: fixed; top: 0; left: 0; z-index: 201; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; visibility: hidden; opacity: 0; background-color: rgba(0, 0, 0, 0.6); transition: opacity 0.3s ease-in-out; .hhg-modal__close { position: absolute; top: 16px; right: 16px; cursor: pointer; img { width: 100%; height: 100%; border-radius: 50%; } } &[data-type='video'] { z-index: 1001; } &[data-open='true'] { opacity: 1; visibility: visible; } ${d.classSelector} { transition: transform 0.3s ease-in-out; } &.slideTop { ${d.classSelector} { transform: translate(0, -100vh); } &[data-open='true'] { ${d.classSelector} { transform: translate(0); } } } &.scaleUp { ${d.classSelector} { transform: scale(0.9); } &[data-open='true'] { ${d.classSelector} { transform: scale(1); } } } &[data-type='tail'] { justify-content: flex-end; ${d.classSelector} { width: 420px; height: 100%; border-radius: 0; overflow: hidden auto; } } &[data-type='form'] { ${d.classSelector} { width: 496px; height: 548px; max-height: 100%; overflow-y: auto; ${l.M.mbDown} { width: 340px; } } } &[data-type='video'] { ${d.classSelector} { height: 100%; max-height: 539px; ${l.M.mbDown} { height: 192px; width: 100%; height: 100%; border-radius: ${c.r.borderRadius}; max-height: 192px; } } } &[data-type='confirm'] { ${d.classSelector} { width: 100%; max-width: 407px; ${l.M.mbDown} { width: calc(100% - 32px); max-width: calc(100% - 32px); } } } `,h=r.Z.div` position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; align-items: center; &[data-open='false'] { display: none; } &[data-type='video'] { background-color: ${c.r.colors.secondaryDark}; } `,u="hhg-modals",getModalsRoot=()=>{let e=document.getElementById(u);return e||((e=document.createElement("div")).setAttribute("id",u),document.body.append(e)),e},cleanUpModalShow=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&document.body.classList.remove("hhc-modal-show")},cleanUpDisabledScroll=()=>{let e=document.querySelectorAll('.hhg-modal[data-open="true"]');e.length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},Modal=({type:e="lead",closeIcon:t,isOpen:a=!0,onClose:r,children:l,className:s="",animationType:c="scaleUp",isStaticBackdrop:u=!1,siteType:g})=>{let[m,E]=(0,o.useState)(!1),I=(0,o.useRef)(null),{width:y}=(0,n.u)();if(!I.current&&m&&(I.current=document.createElement("div")),(0,o.useEffect)(()=>(E(!0),()=>{E(!1),cleanUpModalShow(),cleanUpDisabledScroll()}),[]),(0,o.useEffect)(()=>{if(m){let e=getModalsRoot();return e.appendChild(I.current),()=>{e.removeChild(I.current)}}},[m]),(0,o.useEffect)(()=>{a?document.body.classList.add("hhc-modal-show"):cleanUpModalShow()},[a]),(0,o.useEffect)(()=>{a?(document.body.style.overflow="hidden",document.body.style.paddingRight=y+"px",document.body.classList.add("hhc-disabled-scroll")):cleanUpDisabledScroll()},[a,y]),!m)return null;let f=["hhg-modal__wrapper",s,c].filter(e=>e).join(" ");return(0,i.createPortal)(o.createElement(p,{className:f,"data-open":a,"data-type":e},!u&&o.createElement(h,{"data-open":a,onClick:r,"data-type":e}),!u&&"video"===e&&!!t&&o.createElement("div",{className:"hhg-modal__close",onClick:r},t),o.createElement(d,{className:"hhg-modal","data-open":a,"data-site-type":g},o.createElement("div",{className:"video"===e?"hhg-modal__video":"hhg-modal__content"},!!t&&"video"!==e&&o.createElement("div",{className:"hhg-modal__close",onClick:r},t),l))),I.current)}},L8Cb:function(e,t,a){a.d(t,{C:function(){return Checkbox},I:function(){return ImageWrapV2},P:function(){return Pagination},S:function(){return b},a:function(){return E},b:function(){return SearchInput},c:function(){return Search2}});var o=a("q1tI"),n=a("rBCA"),i=a("oKqh"),r=a("iBNF"),l=a("fbRC"),s=a("5JWB"),c=a("6HDN"),d=a("Hi7e");let Search2=e=>o.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 25",fill:"none"},e),o.createElement("path",{d:"M11 18.957C14.866 18.957 18 15.823 18 11.957C18 8.09104 14.866 4.95703 11 4.95703C7.13401 4.95703 4 8.09104 4 11.957C4 15.823 7.13401 18.957 11 18.957Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M20 20.957L16 16.957",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),p=n.Z.div` display: flex; cursor: pointer; &[data-theme='marryBaby'] { input { width: 20px; height: 20px; border: 1.3px solid ${r.r.mbColors.midGray}; border-radius: 9px; cursor: inherit; transition: border-color 0.4s, box-shadow 0.4s; &:hover, &:active { border-color: ${r.r.mbColors.cobalt}; box-shadow: 0 0 2px 2px ${r.r.mbColors.cobalt}; } &:focus-visible { border: 2px solid ${r.r.mbColors.cobalt}; } &:checked { border: 0; background: ${r.r.mbColors.cobalt} url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat center center; } } label { max-width: 15rem; margin-left: 8px; width: calc(100% - 24px); cursor: inherit; font-weight: 600; font-size: 12px; line-height: 20px; letter-spacing: -0.2px; color: ${r.r.mbColors.gray}; } } input { width: 20px; height: 20px; border: solid 1px ${r.r.colors.gray500}; border-radius: 2px; cursor: inherit; transition: border-color 0.4s, box-shadow 0.4s; &:hover, &:active { border-color: ${r.r.colors.primaryBase}; box-shadow: 0 0 2px 2px ${r.r.colors.primary200}; } &:focus-visible { border: 2px solid ${r.r.colors.primaryActive}; } &:checked { border: 0; background: ${r.r.colors.primaryBase} url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat center center; } } label { max-width: 15rem; margin-left: 8px; font-weight: ${r.r.sizes.fwRegular}; width: calc(100% - 24px); cursor: inherit; ${i.M.mbDown} { font-size: 14px; line-height: 24px; } ${i.M.mbUp} { font-size: 16px; line-height: 22px; } } &[data-is-rectangle] > input { position: relative; width: unset; height: unset; padding: 5px 12px; border: 1px solid ${r.r.colors.neutral100}; border-radius: 32px; &::after { color: ${r.r.colors.gray800}; content: attr(data-label-text); font-size: 13px; } &:checked { border-color: ${r.r.colors.primary50}; &::after { color: ${r.r.colors.primaryBase}; } } &:checked { background: ${r.r.colors.primary50}; } } &[data-disabled] { color: ${r.r.colors.gray300}; cursor: not-allowed; input { border-color: ${r.r.colors.gray300}; &:hover { border-color: ${r.r.colors.gray300}; box-shadow: none; } } } `,Checkbox=({label:e,name:t,checked:a,className:n,isDisabled:i,onChange:r,value:l,isRectangle:s,inputDataTestId:c,siteType:d})=>o.createElement(p,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":d},o.createElement("input",{type:"checkbox",checked:a,name:t,onChange:()=>r(l,!a),disabled:i,value:l,id:`${t}-${l}`,"data-label-text":e,"data-testid":c}),!s&&o.createElement("label",{htmlFor:`${t}-${l}`},e)),h=n.Z.div` display: flex; align-items: center; justify-content: space-between; user-select: none; li { transition: all 0.3s ease; } [data-page-active] { background: ${r.r.colors.primaryBase}; color: ${r.r.colors.white}; > a { color: ${r.r.colors.white}; } } `,u=n.Z.div` display: flex; width: 32px; height: 32px; box-sizing: border-box; align-items: center; justify-content: center; border: 1px solid ${r.r.colors.gray200}; margin: 0 2px; border-radius: 4px; color: ${r.r.colors.gray800}; cursor: pointer; font-size: 14px; font-weight: ${r.r.sizes.fwBold}; &[data-last-page] { border: none; background-color: ${r.r.colors.gray100}; cursor: not-allowed; pointer-events: none; svg { path { stroke: ${r.r.colors.gray300}; } } } `,g=n.Z.li` display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin: 0 2px; border-radius: 4px; color: ${r.r.colors.gray800}; cursor: pointer; font-size: 14px; font-weight: ${r.r.sizes.fwBold}; > a { color: ${r.r.colors.gray800}; text-decoration: unset; display: block; width: 100%; height: 100%; line-height: 32px; text-align: center; } `,RenderPagiWithDots=({pagesAmount:e,activePage:t,handlePageChange:a,handleClick:n,href:r,queryPageName:l="page"})=>{let s=[...Array(e)].map((e,t)=>t+1),[c,d]=(0,o.useState)(t<=4?s.slice(0,5):t>=s.length-3?s.slice(s.length-5,s.length):s.slice(t-2,t+1));return(0,o.useEffect)(()=>{t<=4?d(s.slice(0,5)):t>=s.length-3?d(s.slice(s.length-5,s.length)):d(s.slice(t-2,t+1))},[t]),o.createElement(o.Fragment,null,t>4&&o.createElement(o.Fragment,null,o.createElement(g,{onClick:()=>a(1)},r?o.createElement("a",{href:r,onClick:n},1):1),o.createElement(g,null,"...")),c.map(e=>o.createElement(g,{key:`pagination+${e}`,"data-page-active":e===t||void 0,onClick:()=>a(e)},r?o.createElement("a",{href:(0,i.f)(r,e,l),onClick:n},e):e)),ta(s.length)},r?o.createElement("a",{href:(0,i.f)(r,s.length,l),onClick:n},s.length):s.length)))},Pagination=({className:e,pagesAmount:t,currentPage:a,onChange:n,onClick:r,style:l,href:s,queryPageName:c="page"})=>{let d=[...Array(t)].map((e,t)=>t+1),[p,m]=(0,o.useState)(a),E=(0,o.useMemo)(()=>s&&s.endsWith("&page=")?s.replace("&page=",""):s,[s]),I=t-1,handlePageChange=e=>{e<=t&&e>0&&(m(e),n(e))},handleClick=e=>{r&&r(e)};return(0,o.useEffect)(()=>{m(a)},[a]),o.createElement(h,{className:e,style:l},o.createElement(u,{className:"prev-page",onClick:()=>handlePageChange(p-1),"data-last-page":1===p||void 0},E?o.createElement("a",{href:(0,i.f)(E,p,c),onClick:handleClick},o.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},o.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):o.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},o.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),d.length>8?o.createElement(RenderPagiWithDots,{pagesAmount:t,activePage:p,handlePageChange:handlePageChange,handleClick:handleClick,href:E,queryPageName:c}):d.map(e=>o.createElement(g,{key:`pagination+${e}`,"data-page-active":e===p||void 0,onClick:()=>handlePageChange(e)},E?o.createElement("a",{href:(0,i.f)(E,e,c),onClick:handleClick},e):e)),o.createElement(u,{className:"next-page",onClick:()=>handlePageChange(p+1),"data-last-page":p===I+1||void 0},E?o.createElement("a",{href:(0,i.f)(E,p,c),onClick:handleClick},o.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},o.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):o.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},o.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},m=n.Z.div` position: relative; width: 100%; &[data-has-error] { input { border-color: ${r.r.colors.red700}; } } input { width: 100%; padding: 12px 16px; border: solid 1px ${r.r.colors.gray200}; border-radius: ${r.r.borderRadius}; &:active, &:focus, .focused & { border-color: ${r.r.colors.primaryBase}; box-shadow: 0px 0px 2px 2px ${r.r.colors.primary200}; } &:disabled { background-color: ${r.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: ${r.r.sizes.fwRegular}; ${i.M.mbDown} { font-size: 22px; line-height: 1.2; } ${i.M.mbUp} { font-size: 26px; line-height: 1.2; } } } &[data-size='md'] { input { font-weight: ${r.r.sizes.fwRegular}; ${i.M.mbDown} { font-size: 14px; line-height: 1.2; } ${i.M.mbUp} { font-size: 16px; line-height: 1.2; } } } &[data-size='sm'] { input { font-weight: ${r.r.sizes.fwRegular}; ${i.M.mbDown} { font-size: 13px; line-height: 1.5; } ${i.M.mbUp} { font-size: 13px; line-height: 1.5; } } } `,E=o.forwardRef((e,t)=>{var{name:a,errorMessage:n,autoComplete:i="off",defaultValue:r,actionIcon:c,displayIcon:d,isDeleteAction:p,onActionClick:h,label:u,placeholder:g,className:E,onChange:I,onKeyPress:y,isDisabled:f,CustomInput:b,size:O,style:T,autoFocus:_,type:x="text",isNumerousKeyboard:C=!1,onFocus:N,enterKeyHint:v,nativeOnChange:A}=e,S=(0,l._)(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);let[w,L]=(0,o.useState)(r),handleOnChange=e=>{L(e),I(e)};return o.createElement(m,{"data-size":O,className:E,"data-has-action-icon":!!c||void 0,"data-has-display-icon":!!d||void 0,"data-has-error":n&&n.length>0||void 0,style:T},u&&o.createElement(s.L,{size:"label2",htmlFor:a,className:"inputLabel"},u),o.createElement("div",{style:{position:"relative"}},b||o.createElement("input",Object.assign({id:a,name:a,placeholder:g,onChange:null!=A?A:e=>handleOnChange(e.target.value),onKeyPress:y,type:x,"aria-label":x,disabled:f,value:w,autoComplete:i,ref:t,autoFocus:_,inputMode:C||"number"===x?"numeric":x,pattern:C?"[0-9]*":".*",onFocus:N,enterKeyHint:v},S)),d&&o.createElement(s.S,{className:"displayIcon"},d),c&&o.createElement(s.a,{className:"actionIcon",onClick:()=>{var e;p&&(L(""),null===(e=t.current)||void 0===e||e.focus()),h&&h()}},c)),n&&n.length>0&&o.createElement(s.b,{className:"errorLabel"},n))});E.displayName="PureInput";let I=[320,420,640,750,828,1080,1200,1440,1920,2048],defaultLoader=({src:e,width:t,quality:a})=>{try{let o=new URL(e,"undefined"!=typeof window?window.location.origin:"http://localhost");return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(null!=a?a:75)),o.toString()}catch(t){return e}},ImageWrapV2=e=>{var{alt:t,backupSrc:a,src:n,placeholderSrc:i,style:r,ref:s,unoptimized:c=!1,quality:d,sizes:p,width:h}=e,u=(0,l._)(e,["alt","backupSrc","src","placeholderSrc","style","ref","unoptimized","quality","sizes","width"]);let[g,m]=(0,o.useState)(!1),E=(0,o.useMemo)(()=>c?[]:function(e){if(e.sizes)return I;if(e.width){let t=Math.max(1,Math.round(e.width));return Array.from(new Set([t,Math.min(2*t,2048)])).sort((e,t)=>e-t)}return I}({sizes:p,width:h}),[p,h,c]),f=(0,o.useMemo)(()=>{if(!c)return E.map(e=>`${defaultLoader({src:n,width:e,quality:d})} ${e}w`).join(", ")},[c,E,n,d]),b=(0,o.useMemo)(()=>{if(c)return n;let e=E.length?E[E.length-1]:null!=h?h:1920;return defaultLoader({src:n,width:e,quality:d})},[c,E,n,d,h]);return o.createElement(y,Object.assign({loading:"lazy",alt:t,srcSet:f,onError:()=>!g&&m(!0),src:g?a||b:b||a,style:Object.assign(Object.assign({},i?{backgroundImage:`url(${i})`}:{}),r),"data-has-placeholder":!!i,sizes:p,ref:s},u))},y=n.Z.img` &[data-has-placeholder='true'] { background-position: center; background-repeat: no-repeat; background-size: cover; } `,f=(0,n.Z)(c.I)` box-shadow: 0px 0px 1px 0px #0000000a, 0px 2px 8px 0px #0000000a, 0px 10px 16px 0px #0000000a; border-radius: 0.75rem; overflow: hidden; input.mantine-Input-input { border: none; font-size: 0.8125rem; line-height: 1.25rem; } .close-icon-wrapper { display: none; background-color: ${r.r.colors.gray400}; border-radius: 100%; cursor: pointer; width: 20px; height: 20px; padding: 2px; svg { pointer-events: none; } &[data-is-disabled='true'] { opacity: 0.2; cursor: not-allowed; pointer-events: none; } } input.mantine-Input-input:focus ~ .mantine-Input-rightSection .close-icon-wrapper, input.mantine-Input-input:not(:placeholder-shown) ~ .mantine-Input-rightSection .close-icon-wrapper { display: flex; } `,b=(0,n.Z)(Search2)` color: ${r.r.colors.primaryBase}; width: 20px; height: 20px; `,SearchInput=e=>{let{loading:t,disabled:a,placeholder:n,value:i,onChange:r,icon:s=o.createElement(b,null),className:c,style:p,enableClear:h}=e,u=(0,l._)(e,["loading","disabled","placeholder","value","onChange","icon","className","style","enableClear"]);return o.createElement(f,Object.assign({disabled:t||a,size:"lg",value:i,onChangeRaw:e=>{r(e.currentTarget.value)},type:"text",placeholder:n,className:c,icon:s,style:p,rightSection:h?o.createElement("div",{className:"close-icon-wrapper",onClick:()=>{r("")},"data-is-disabled":!i},o.createElement(d.C,{fill:"white",width:"100%",height:"100%"})):void 0},u,{"data-event-label":i}))}},"+cqr":function(e,t,a){a.d(t,{D:function(){return Dropdown}});var o=a("q1tI"),n=a("8vDj"),i=a("rBCA"),r=a("iBNF");let l=i.Z.div` --dropdown-padding: 12px 18px 12px 16px; position: relative; box-sizing: border-box; border: 1px solid ${r.r.colors.gray200}; background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat; background-position: right 16px center; border-radius: ${r.r.borderRadius}; &[data-disabled='true'], :disabled { background-color: #f2f2f2; cursor: not-allowed; } &[data-size='sm'] { font-size: 13px; line-height: 20px; } &[data-size='md'] { font-size: 14px; line-height: 21px; } &[data-size='lg'] { font-size: 16px; line-height: 24px; } &[data-has-icons='true'] { border: none; background: ${r.r.colors.gray100}; img, svg { display: inline-block; max-width: 16px; margin-right: 6px; } span { display: inline-block; vertical-align: middle; } &:hover { box-shadow: none; } > div { position: relative; display: flex; width: 100%; box-sizing: border-box; align-items: center; } > div::after { position: absolute; top: 50%; right: 12px; width: 10px; height: 8px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; content: ''; transform: translateY(-50%); } } &:hover { box-shadow: 0 0 2px 2px ${e=>e.shadowColor}; } &[data-is-native='true'] { padding: var(--dropdown-padding); line-height: 24px; &:focus { box-shadow: 0px 0px 2px 2px ${e=>e.shadowColor}; } } `,s=i.Z.div` padding: var(--dropdown-padding); cursor: pointer; &.with-label { padding-top: 34px; padding-bottom: 12px; } &[data-dropdown-open] { padding: 11px 15px 11px 15px; border: 1px solid ${e=>e.color}; border-radius: ${r.r.borderRadius}; box-shadow: 0 0 2px 2px ${e=>e.shadowColor}; } `,c=i.Z.ul` position: absolute; top: 100%; /* right: 0; */ min-width: 100%; left: 0; display: block; margin-top: 4px; background: ${r.r.colors.white}; border-radius: ${r.r.borderRadius}; box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689); cursor: pointer; &[data-has-icons='true'] { border: 1px solid ${r.r.colors.gray200}; background: white; box-shadow: none; filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)); } `,d=i.Z.li` display: flex; padding: 12px 18px 12px 16px; &[data-disabled='true'] { cursor: not-allowed; color: #bfbfbf; & > * { pointer-events: none; } } &:hover, :active { background: ${r.r.colors.gray100}; } `,p=i.Z.div` max-width: 16px; margin-right: 8px; `,h=i.Z.div` position: absolute; top: 12px; left: 16px; pointer-events: none; `,Dropdown=({className:e,value:t,options:a,onChange:i=()=>void 0,id:r,placeholderIcon:u,placeholder:g,style:m,size:E="lg",groupedWithLabel:I,disabled:y,dropdownLabelTrackingAttributes:f={},isNativeSelect:b=!1})=>{let O=(0,n.rZ)(),[T,_]=o.useState(!1),showDropdown=()=>!y&&_(!T);if(b){let e="object"==typeof(null==t?void 0:t.value)&&t.value instanceof Date?t.value.toString():null==t?void 0:t.value;return o.createElement(l,{color:O.fn.primaryColor(),shadowColor:O.colors[O.primaryColor][2],as:"select","data-is-native":"true",value:e||void 0,disabled:y,onChange:e=>{if("string"==typeof e.target.value){let t=a.find(t=>t.value===e.target.value);t&&i(t)}}},g&&o.createElement("option",{value:g,disabled:!0,selected:!0},g),a.map(e=>o.createElement("option",{key:`${r}-${e.value}`,value:e.value,disabled:!!e.disabled&&e.disabled},e.label)))}return o.createElement(l,{color:O.fn.primaryColor(),shadowColor:O.colors[O.primaryColor][2],className:e,"data-dropdown-open":T||void 0,"data-size":E,id:r,"data-has-icons":!!u,style:m,onBlur:()=>_(!1),tabIndex:0,"data-disabled":y},!!I&&o.createElement(h,null,I),o.createElement(s,Object.assign({color:O.fn.primaryColor(),shadowColor:O.colors[O.primaryColor][2],onClick:showDropdown,className:I&&"with-label"},f),u," ",o.createElement("span",null,t&&t.value?t.label:g)),T&&o.createElement(c,{onClick:showDropdown,"data-has-icons":!!u},a.map(e=>o.createElement(d,{key:`${r}-${e.value}`,"data-selected":t&&t.value===e.value||void 0,onClick:()=>!e.disabled&&!y&&(null==i?void 0:i(e)),"data-disabled":!!e.disabled&&e.disabled},e.icon&&o.createElement(p,null,e.icon),e.label))))}},"yA+A":function(e,t,a){a.d(t,{B:function(){return u},F:function(){return m},G:function(){return g},S:function(){return d},c:function(){return checkUserExist},f:function(){return fetchSSOV2Api},g:function(){return getUserInfo},h:function(){return handleAuthSuccess},l:function(){return p},r:function(){return resetPassword},u:function(){return updateUserInfo},w:function(){return h}});var o=a("fbRC"),n=a("GOBr"),i=a("i6hl"),r=a("v7JE"),l=a("27Mu"),s=a("/hDE"),c=a("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"}},p="vi-VN",h={[s.L.Vietnam]:"1",[s.L.Indonesia]:"2",[s.L.Malaysia]:"3"}[p];r.L[p].PHONE;let getSSOV2ApiUrl=e=>(0,i.n)(`${(0,i.a)(p)}/api/v2/${e}`),getSSOApiUrl=e=>(0,i.n)(`${(0,i.a)(p)}/api/${e}`),u="hhg_user_token",fetchSSOV2Api=(e,t={},a)=>(0,o.a)(void 0,void 0,void 0,function*(){var o;let n;let i=a?"":null===(o=document.cookie.split("; ").find(e=>e.startsWith(u)))||void 0===o?void 0:o.split("=")[1];try{t.body instanceof FormData&&(t.body.append("ga_client_id",(0,l.ej)("_ga")||""),t.body.append("referrer",window.location.href)),n=yield fetch(getSSOV2ApiUrl(e),i?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${i}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==n?void 0:n.json()}),fetchSSOApi=(e,t={},a)=>(0,o.a)(void 0,void 0,void 0,function*(){var o;let n;let i=a?"":null===(o=document.cookie.split("; ").find(e=>e.startsWith(u)))||void 0===o?void 0:o.split("=")[1];try{n=yield fetch(getSSOApiUrl(e),i?Object.assign(Object.assign({},t),{headers:Object.assign({Authorization:`Bearer ${i}`},null==t?void 0:t.headers)}):t)}catch(e){return console.error(e),null}return null==n?void 0:n.json()}),resetPassword=(e,t)=>(0,o.a)(void 0,void 0,void 0,function*(){let a=new FormData;return a.append("password",e),a.append("confirm-password",t),fetchSSOV2Api(d.RESET_PASSWORD,{method:"POST",body:a})}),checkUserExist=({email:e,phone:t})=>(0,o.a)(void 0,void 0,void 0,function*(){let a=new FormData;return e?a.append("email",e):a.append("phone_number",t),fetchSSOV2Api(d.CHECK_USER_EXIST,{method:"POST",body:a})}),updateUserInfo=e=>(0,o.a)(void 0,void 0,void 0,function*(){let t=new FormData;return Object.keys(e).forEach(a=>{let o=e[a];null!=o&&("string"!=typeof o||o.trim())&&t.append(a,e[a])}),fetchSSOV2Api(d.SETUP_USER_INFO,{method:"POST",body:t})}),g=n.y?"289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com":"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",m="2759888574045636",getUserInfo=()=>(0,o.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[p]}`,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[p]}`})}},"F+kl":function(e,t,a){a.d(t,{L:function(){return Logo}});var o=a("q1tI"),n=a("/hDE"),i=a("gC6A"),r=a("rBCA"),l=a("oKqh"),s=a("6wKP"),c=a("Aeci");let d=r.Z.div` position: relative; display: inline-flex; align-items: center; z-index: 0; .main-logo-icon { object-fit: contain; } &[data-logo-is-light] { > svg path { fill: #fff; } img { filter: brightness(0) invert(1); } } &[data-has-badge] { @supports (display: flex) and (gap: 1em) { gap: 0.5rem; } @supports not ((display: flex) and (gap: 1em)) { > img { margin-left: 0.25rem; } } } .common-logo-seasonal-left, .common-logo-seasonal-right { z-index: -1; max-width: unset; max-height: unset; pointer-events: none; } .common-logo-seasonal-left { position: absolute; top: 50%; left: 0; transform: translateY(-50%); pointer-events: none; } .common-logo-seasonal-right { position: absolute; top: 50%; right: 0; transform: translateY(-50%); } &[data-seasonal='christmas'] { padding-left: 37px; padding-right: 22px; .common-logo-seasonal-left { width: 125px; height: 56px; } .common-logo-seasonal-right { width: 23px; height: 17px; } ${l.M.mbDown} { padding-left: 30px; padding-right: 16px; .common-logo-seasonal-left { // width: 125px; height: 46px; } .common-logo-seasonal-right { // width: 23px; height: 12px; } } } &[data-seasonal='new-year'] { padding-right: 85px; .common-logo-seasonal-left { top: 35%; width: 100px; height: 56px; } .common-logo-seasonal-right { width: 85px; height: 54px; } ${l.M.mbDown} { padding-right: 0; .common-logo-seasonal-right { display: none; } } } &[data-seasonal='lunar-new-year'] { padding-left: 30px; padding-right: 35px; .common-logo-seasonal-left { width: 33px; height: 41px; } .common-logo-seasonal-right { width: 37px; height: 54px; } } &[data-seasonal='ramadan'] { &[data-type='hellosehat'] { padding-right: 35px; .common-logo-seasonal-left { width: 165px; height: unset; left: 6px; } .common-logo-seasonal-right { width: 33px; height: unset; } } &[data-type='hellodoktor'] { padding-right: 66px; .common-logo-seasonal-left { width: 133px; height: unset; left: 6px; } .common-logo-seasonal-right { width: 63px; height: unset; } } } &[data-seasonal='hung-king'] { &[data-type='hellobacsi'] { .common-logo-seasonal-left { width: 134px; height: unset; left: 50%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left { width: 145px; height: unset; left: 50%; top: 50%; transform: translate(-50%, -50%); } } } &[data-seasonal='vn-independent-day'] { &[data-type='hellobacsi'], &[data-type='marryBaby'] { .common-logo-seasonal-left.desktop-only { width: unset; height: 56px; left: 65%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left.desktop-only { left: 50%; z-index: 1; } } &[data-type='hellobacsi'], &[data-type='marryBaby'] { .common-logo-seasonal-left.mobile-only { width: unset; height: 56px; left: 60%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left.mobile-only { left: 40%; z-index: 1; } } } .desktop-only { ${l.M.mbDown} { display: none; } } .mobile-only { ${l.M.mbUp} { display: none; } } `,p=r.Z.img` height: 16px; width: unset; margin-bottom: 4px; margin-left: -3px; `,isChristmas=e=>{let t=e.getDate(),a=e.getMonth();return 11===a&&t>=16&&t<=25},h={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},u=[n.L.Vietnam,n.L.Taiwan,n.L.Indonesia,n.L.Malaysia],isLunarNewYear=e=>{let t=e.getFullYear(),a=h[t];if(!a)return!1;let o=new Date(t,a[1],a[0]),n=new Date(o);n.setDate(o.getDate()-7);let i=new Date(o);return i.setDate(o.getDate()+5),n<=e&&e<=i},isNewYear=e=>{let t=e.getDate(),a=e.getMonth();return 11===a&&t>=26||0===a&&t<=15},g=[{year:2024,start:[10,2],end:[8,3]},{year:2025,start:[1,2],end:[30,2]},{year:2026,start:[18,1],end:[19,2]},{year:2027,start:[8,1],end:[9,2]},{year:2028,start:[28,0],end:[26,1]},{year:2029,start:[16,0],end:[14,1]},{year:2030,start:[6,0],end:[4,1]},{year:2030,start:[26,11],end:[24,0,2031]},{year:2031,start:[15,11],end:[13,0,2032]},{year:2032,start:[4,11],end:[2,0,2033]}],isRamadan=e=>{let t=e.getFullYear(),a=g.filter(e=>e.year===t);return!!a.length&&a.some(a=>{let o=a.start[2]||t,n=new Date(o,a.start[1],a.start[0]),i=new Date(o,a.end[1],a.end[0]);return n<=e&&e<=i})},m={2024:[18,3],2025:[7,3],2026:[26,3],2027:[16,3],2028:[4,3],2029:[23,3],2030:[12,3],2031:[1,3],2032:[19,3],2033:[9,3],2034:[28,3],2035:[17,3]},isVNHungKing=e=>{let t=e.getFullYear(),a=m[t];if(!a)return!1;let o=new Date(t,a[1],a[0]),n=new Date(o);n.setDate(o.getDate()-1);let i=new Date(o);return i.setDate(o.getDate()+1),n<=e&&e<=i},isVN3004=e=>{let t=e.getFullYear(),a=new Date(t,3,30),o=new Date(a);o.setDate(a.getDate()-1);let n=new Date(a);return n.setDate(a.getDate()+2),o<=e&&e<=n},isLabourDay=e=>{let t=e.getFullYear(),a=new Date(t,4,1),o=new Date(a);o.setDate(a.getDate()-1);let n=new Date(a);return n.setDate(a.getDate()+1),o<=e&&e<=n},isVNIndependentDay=e=>{let t=e.getFullYear(),a=new Date(t,8,2),o=new Date(a);o.setDate(a.getDate()-1);let n=new Date(a);return n.setDate(a.getDate()+1),o<=e&&e<=n},Logo=({type:e,className:t,style:a,isLightLogo:r,customSize:l,badge:h,locale:g,dateForSeasonal:m,isPro:E})=>{let[I,y]=(0,o.useState)({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1,isVNIndependentDay:!1});return(0,o.useEffect)(()=>{if(!m||isNaN(new Date(m).getTime()))return;let e=new Date(m),t=isChristmas(e),a=u.includes(g)&&isLunarNewYear(e),o=!a&&isNewYear(e),i=isRamadan(e),r=g===n.L.Vietnam&&isVNHungKing(e),l=g===n.L.Vietnam&&isVN3004(e),s=g===n.L.Vietnam&&isLabourDay(e),c=g===n.L.Vietnam&&isVNIndependentDay(e);y({isChristmas:t,isLunarNewYear:a,isNewYear:o,isRamadan:i,isVNHungKing:r,isVN3004:l,isLabourDay:s,isVNIndependentDay:c})},[g,new Date(m).getDate()]),o.createElement(d,{className:t,style:a,"data-logo-is-light":r||void 0,"data-has-badge":!!h,"data-seasonal":I.isRamadan?"ramadan":I.isChristmas?"christmas":I.isLunarNewYear?"lunar-new-year":I.isNewYear?"new-year":I.isVNHungKing?"hung-king":I.isVN3004?"30-04":I.isLabourDay?"labour-day":I.isVNIndependentDay?"vn-independent-day":void 0,"data-type":e},I.isChristmas?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"left xmas logo",src:i.C.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.createElement(c.I,{alt:"right xmas logo",src:i.C.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):I.isNewYear?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"left new year logo",src:i.C.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.createElement(c.I,{alt:"right new year logo",src:i.C.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):I.isLunarNewYear?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"left lunar new year logo",loading:"lazy",src:i.C.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.createElement(c.I,{alt:"right lunar new year logo",loading:"lazy",src:i.C.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):I.isRamadan&&"hellosehat"===e?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"left ramadan logo",loading:"lazy",src:i.C.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),o.createElement(c.I,{alt:"right ramadan logo",loading:"lazy",src:i.C.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):I.isRamadan&&"hellodoktor"===e?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"left ramadan logo",loading:"lazy",src:i.C.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),o.createElement(c.I,{alt:"right ramadan logo",loading:"lazy",src:i.C.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):I.isVNHungKing&&("hellobacsi"===e||"marryBaby"===e)?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"Hung King logo",loading:"lazy",src:i.C.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})):I.isVNIndependentDay&&("hellobacsi"===e||"marryBaby"===e)?o.createElement(o.Fragment,null,o.createElement(c.I,{alt:"VN Independent day logo",loading:"lazy",src:i.C.getAssetPath("logo/vn-independence-desktop.png"),className:"common-logo-seasonal-left desktop-only"}),o.createElement(c.I,{alt:"VN Independent day logo",loading:"lazy",src:i.C.getAssetPath("logo/vn-independence-mobile.png"),className:"common-logo-seasonal-left mobile-only"})):null,o.createElement(s.L,{type:e,width:null==l?void 0:l.width,height:null==l?void 0:l.height,isLight:r}),E?o.createElement(p,{src:i.C.getAssetPath("logo/pro-suffix.svg")}):null,h)}},wGEy:function(e,t,a){a.d(t,{T:function(){return Tabs}});var o=a("fbRC"),n=a("q1tI"),i=a("5Q4Z"),r=a("iZ8j"),l=a("/npG"),s=a("mYVa"),c=a("rlLN"),d=a("vaps"),p=a("G5av"),h=a("F/Hd"),u=(0,l.k)((e,t)=>{let{variant:a}=t,o={content:"none",top:0,bottom:0,zIndex:1,width:(0,s.h)(56)};return Object.assign({},"inline"===a&&{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({},o),{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({},o),{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:a="inline",value:l,styles:s,children:g,dataList:m=[],tabProps:E,listProps:I,panelProps:y,TabComponentDisplay:f,startPadding:b=40,defaultValue:O}=e,T=(0,o._)(e,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);let{cx:_,classes:x}=u({variant:a},{name:"Tabs",styles:s}),C=(0,n.useRef)(null),N=(0,n.useRef)([]),[v,A]=(0,n.useState)(O||(null===(t=null==m?void 0:m[0])||void 0===t?void 0:t.value)),[S,w]=(0,n.useState)(0),[L,R]=(0,n.useState)(!1),[P,D]=(0,n.useState)(!0),[k,M]=(0,n.useState)({x:0,y:0}),Y=(0,n.useRef)(null),G=Object.assign({defaultValue:O,classNames:x},g?{value:l}:{value:v,onTabChange:e=>A(e)});(0,n.useEffect)(()=>{A(l)},[l]),(0,n.useEffect)(()=>{var e,t,a;null===(e=Y.current)||void 0===e||e.scrollTo({left:(null===(a=null===(t=null==N?void 0:N.current)||void 0===t?void 0:t[S])||void 0===a?void 0:a.offsetLeft)-b,behavior:"smooth"})},[S]),(0,n.useEffect)(()=>{w(m.findIndex(e=>e.value==v))},[v]),(0,n.useEffect)(()=>{var e,t;D(0===k.x),R((null===(e=null==Y?void 0:Y.current)||void 0===e?void 0:e.clientWidth)+k.x===(null===(t=null==Y?void 0:Y.current)||void 0===t?void 0:t.scrollWidth))},[k]);let TabTextComponent=({text:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:o})=>f?n.createElement(f,null,e):n.createElement(h.T,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":o},e);return n.createElement(c.m,Object.assign({},G,T),g||n.createElement(n.Fragment,null,n.createElement(d.x,{className:_(x.scrollArea,`${P?"":"prev-bg"} ${L?"":"next-bg"}`),scrollbarSize:0,viewportRef:Y,onScrollPositionChange:M},n.createElement(c.m.List,Object.assign({className:x.list,ref:C},I),m.map((e,t)=>n.createElement(c.m.Tab,Object.assign({ref:e=>N.current[t]=e,className:x.tab,key:String(e.value),value:String(e.value)},E),n.createElement(TabTextComponent,Object.assign({},e))))),n.createElement(p.B,{className:_(x.btn,x.prevBtn,P?"disabled":""),unstyled:!0,onClick:()=>w(S-1>-1?S-1:0),leftIcon:n.createElement(i.Z,{size:16})}),n.createElement(p.B,{className:_(x.btn,x.nextBtn,L?"disabled":""),unstyled:!0,onClick:()=>w(S+1n.createElement(c.m.Panel,Object.assign({value:String(e.value),key:String(e.value)},y),e.content))))};Tabs.List=c.m.List,Tabs.Tab=c.m.Tab,Tabs.Panel=c.m.Panel},"9B3w":function(e,t,a){a.d(t,{B:function(){return Button}});var o=a("fbRC"),n=a("q1tI"),i=a("G5av");let Button=e=>{var{size:t,color:a="primary",isDisabled:r,isBlock:l,title:s,onClick:c,icon:d,iconPosition:p="left",children:h,isLoading:u=!1,loadingText:g,dataEventCategory:m,dataEventAction:E,dataEventLabel:I,dataProductChannel:y,dataProductSku:f,dataProductBrand:b,dataProductName:O,dataProductPrice:T,dataProductCategory:_,dataProductPosition:x,type:C}=e,N=(0,o._)(e,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);return n.createElement(i.B,Object.assign({},{"data-event-category":m,"data-event-action":E,"data-event-label":I,"data-product-channel":y,"data-product-sku":f,"data-product-brand":b,"data-product-name":O,"data-product-price":T,"data-product-category":_,"data-product-position":x},{size:t,variant:"transparent"===a?"white":"danger"===a?"error":a,disabled:r,onClick:e=>{u||r||!c||c(e)},title:s,loading:u,type:C||"submit",leftIcon:"left"===p?d:void 0,rightIcon:"right"===p?d:void 0,w:l?"100%":void 0,p:l?"12px auto":void 0,"data-color":a,"data-size":t,"data-block":l,"data-has-icon":!!d||void 0,"data-theme":N.theme,"data-is-loading":u},N),u&&g||h)}},JUnd:function(e,t,a){a.d(t,{c:function(){return s}});var o=Object.prototype.toString,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,l=/^[\u0020-\u003A\u003D-\u007E]*$/;function startIndex(e,t,a){do{var o=e.charCodeAt(t);if(32!==o&&9!==o)return t}while(++ta;){var o=e.charCodeAt(--t);if(32!==o&&9!==o)return t+1}return a}function decode(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}var s={parse:function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var a={},o=e.length;if(o<2)return a;var n=t&&t.decode||decode,i=0,r=0,l=0;do{if(-1===(r=e.indexOf("=",i)))break;if(-1===(l=e.indexOf(";",i)))l=o;else if(r>l){i=e.lastIndexOf(";",r-1)+1;continue}var s=startIndex(e,i,r),c=endIndex(e,r,s),d=e.slice(s,c);if(!a.hasOwnProperty(d)){var p=startIndex(e,r+1,l),h=endIndex(e,l,p);34===e.charCodeAt(p)&&34===e.charCodeAt(h-1)&&(p++,h--);var u=e.slice(p,h);a[d]=function(e,t){try{return t(e)}catch(t){return e}}(u,n)}i=l+1}while(i{let{t:a}=(0,i.u)();return o.createElement(c,{className:e},o.createElement(n.B,{size:t,color:"transparent",isLoading:!0},a("loading")))}},xGQE:function(e,t,a){a.d(t,{M:function(){return MarryBabyText},a:function(){return MarryBabyHeading}});var o=a("fbRC"),n=a("q1tI"),i=a("rBCA"),r=a("iBNF");let l=(0,i.Z)(e=>{var{type:t}=e,a=(0,o._)(e,["type"]);return n.createElement(t,a)})` color: var(--text-color, ${r.r.mbColors.dark}); font-family: Krub; font-weight: 600; letter-spacing: -0.2px; &[data-type='headline-1'] { font-size: 40px; line-height: 60px; } &[data-type='headline-2'] { font-size: 32px; line-height: 48px; } &[data-type='headline-3'] { font-size: 24px; line-height: 40px; } &[data-type='headline-4'] { font-size: 18px; line-height: 32px; } `,s=i.Z.p` color: var(--text-color, ${r.r.mbColors.dark}); letter-spacing: -0.2px; &[data-type='subtitle-1'] { font-size: 16px; font-weight: 600; line-height: 26px; } &[data-type='subtitle-2'] { font-size: 14px; font-weight: 500; line-height: 24px; } &[data-type='subtitle-3'] { font-size: 12px; font-weight: 500; line-height: 20px; } &[data-type='bodytext-1'] { font-size: 16px; font-weight: 400; line-height: 28px; } &[data-type='bodytext-2'] { font-size: 14px; font-weight: 400; line-height: 24px; } &[data-type='bodytext-3'] { font-size: 12px; font-weight: 400; line-height: 20px; } &[data-type='caption-1'] { font-size: 10px; font-weight: 500; letter-spacing: -0.1px; line-height: 14px; } &[data-type='caption-2'] { font-size: 10px; font-weight: 400; letter-spacing: -0.1px; line-height: 14px; } `,MarryBabyHeading=e=>{var{type:t,color:a,style:i}=e,r=(0,o._)(e,["type","color","style"]);return n.createElement(l,Object.assign({type:t,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[t],style:Object.assign(Object.assign({},a&&{"--text-color":a}),i)},r))},MarryBabyText=e=>{var{type:t,color:a,style:i}=e,r=(0,o._)(e,["type","color","style"]);return n.createElement(s,Object.assign({"data-type":t,style:Object.assign(Object.assign({},i),a&&{"--text-color":a})},r))}},"5JWB":function(e,t,a){a.d(t,{I:function(){return Input},L:function(){return Label},S:function(){return h},a:function(){return p},b:function(){return d}});var o=a("fbRC"),n=a("q1tI"),i=a("8vDj"),r=a("rBCA"),l=a("iBNF"),s=a("oKqh");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}; `,p=r.Z.div` position: absolute; top: 50%; right: 16px; cursor: pointer; transform: translateY(-50%); `,h=r.Z.div` position: absolute; top: 50%; left: 16px; display: inline-flex; cursor: default; transform: translateY(-50%); `,Label=({children:e,className:t,style:a,htmlFor:o,size:i})=>n.createElement("label",{"data-size":i,className:`DjBFAbd ${t||""}`,style:a,htmlFor:o},e),Input=e=>{var{name:t,value:a,errorMessage:r,isNumerousKeyboard:l=!1,showErrorMessage:s=!0,actionIcon:u,displayIcon:g,onActionClick:m,label:E,className:I,onChange:y,isDisabled:f,CustomInput:b,size:O,style:T,autoComplete:_="off",type:x="text",inputClassName:C,trackingAttributes:N,enterKeyHint:v}=e,A=(0,o._)(e,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);let S=(0,i.rZ)(),w=(0,n.useMemo)(()=>N?{"data-event-category":N.dataEventCategory,"data-event-action":N.dataEventAction,"data-event-label":N.dataEventLabel}:{},[N]);return n.createElement(c,{"data-size":O,className:I,"data-has-action-icon":!!u||void 0,"data-has-display-icon":!!g||void 0,"data-has-error":r&&r.length>0||void 0,color:S.fn.primaryColor(),shadowColor:S.colors[S.primaryColor][0],style:T},E&&n.createElement(Label,{size:"label2",htmlFor:t,className:"inputLabel"},E),n.createElement("div",{style:{position:"relative"}},b||n.createElement("input",Object.assign({id:t,name:t,onChange:e=>y&&y(e.target.value),type:x,"aria-label":x,value:a,disabled:f,autoComplete:_,inputMode:l||"number"===x?"numeric":x,pattern:l?"[0-9]*":".*",className:C,enterKeyHint:v},w,A)),g&&n.createElement(h,{className:"displayIcon"},g),u&&n.createElement(p,{className:"actionIcon",onClick:m},u)),r&&r.length>0&&s&&n.createElement(d,{className:"errorLabel"},r))}},v7JE:function(e,t,a){a.d(t,{A:function(){return F},B:function(){return V},C:function(){return k},D:function(){return D},E:function(){return P},F:function(){return G},G:function(){return $},H:function(){return L},I:function(){return H},L:function(){return v},Q:function(){return l},S:function(){return S},U:function(){return N},V:function(){return Y},Z:function(){return j},a:function(){return W},b:function(){return x},c:function(){return w},d:function(){return M},e:function(){return R},f:function(){return K},g:function(){return B},h:function(){return Z},i:function(){return Q},j:function(){return z},k:function(){return U},l:function(){return C},m:function(){return A},r:function(){return d},s:function(){return q}});var o,n,i,r,l,s,c,d,p=a("EikE"),h=a("OT65"),u=a("G2RZ"),g=a("YNYf"),m=a("R43W"),E=a("+xLi"),I=a("tO2/"),y=a("YJaS"),f=a("tiWT"),b=a("xrdX"),O=a("UIg8"),T=a("GOBr"),_=a("/hDE");let x="",C="https://id.hellobacsi.com/",N="userGeoLocationCoordinates",v={"vi-VN":{PHONE:"+84",LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{PHONE:"+63",LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{PHONE:"+66",LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{PHONE:"+855",LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{PHONE:"+95",LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{PHONE:"+886",LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"zh-SG":{PHONE:"",LOGO_TYPE:"hellojiankang",SITE_NAME:"Hello健康",HOMEPAGE_IMAGE:"",SITE_NAME_FORMATTED:"Hello 健康",SITE_ID:"12",INSIDER_TAG:"",TOOLTIP_IMAGE:"",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{PHONE:"+62",LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{PHONE:"+91",LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{PHONE:"+60",LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{PHONE:"+63",LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},A=[{countryCode:"VN",countryName:"Việt Nam",languageCode:"vi"},{countryCode:"PH",countryName:"Philippines",languageCode:"en"},{countryCode:"TH",countryName:"ประเทศไทย",languageCode:"th"},{countryCode:"KH",countryName:"កម្ពុជា",languageCode:"km"},{countryCode:"MM",countryName:"မြန်မာ",languageCode:"my"},{countryCode:"TW",countryName:"台灣",languageCode:"zh"},{countryCode:"SG",countryName:"新加坡",languageCode:"zh"},{countryCode:"ID",countryName:"Indonesia",languageCode:"id"},{countryCode:"IN",countryName:"भारत",languageCode:"hi"},{countryCode:"MY",countryName:"Malaysia",languageCode:"ms"}],S={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/GxlKjAMGvWb"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/T0Op0XUtt0b"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/gRQNJoDHvWb"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:""},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/Zi0O2HxIvWb"},"zh-SG":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/eyzYCiacZ0b"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/5zzz90iHvWb"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:""},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/DgSznupHvWb"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/F8yihqrIvWb"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/gRQNJoDHvWb"}},w=[_.L.Vietnam,_.L.Indonesia,_.L.Thailand,_.L.Malaysia,_.L.Myanmar],L=[_.L.Indonesia,_.L.Cambodia,_.L.PhilippinesEnglish,_.L.PhilippinesTagalog,_.L.Thailand,_.L.Singapore],R=[_.L.Vietnam],P=["vi-VN"],D=["id-ID"],k=["vi-VN","id-ID","en-PH","tl-PH","ms-MY","th-TH"],M=["vi-VN","id-ID"],Y=[_.L.Vietnam,_.L.Taiwan],G={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};(o=l||(l={})).bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id",o.activityLevel="actl",o.status="status",o.birthday="brd",o.withImperialUnit="lbs";let H={[_.L.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[_.L.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[_.L.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[_.L.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[_.L.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[_.L.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[_.L.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[_.L.Singapore]:{dateFormat:"YYYY/MM/DD",separator:","},[_.L.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[_.L.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[_.L.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},V="hhg_user_token",U="hhg_user_refresh_token",z={[_.L.PhilippinesEnglish]:p.Z,[_.L.Vietnam]:h.default,[_.L.Cambodia]:u.Z,[_.L.India]:g.Z,[_.L.Indonesia]:m.Z,[_.L.Myanmar]:p.Z,[_.L.Malaysia]:E.Z,[_.L.Thailand]:I.Z,[_.L.Taiwan]:y.Z},B="https://cdn.hellohealthgroup.com/countries",$="_ga",F="YYYY-MM-DD",j=9999999,W=305,K="video_item_detail",Z="hhg_cart_care_store_key";(n=s||(s={}))[n.UNAVAILABLE=0]="UNAVAILABLE",n[n.AVAILABLE=1]="AVAILABLE",(i=c||(c={}))[i.FIXED=1]="FIXED",i[i.STARTING=2]="STARTING",i[i.RANGE=3]="RANGE",(r=d||(d={})).VACCINE="VACCINE",r.IVF="IVF",r.EGG_FREEZING="EGG_FREEZING",r.HEALTH_SCREENER="HEALTH_SCREENER";let q={vaccine:d.VACCINE,ivf:d.IVF,"egg-freezing":d.EGG_FREEZING,screener:d.HEALTH_SCREENER},X={[d.VACCINE]:"vaccine",[d.IVF]:"ivf",[d.EGG_FREEZING]:"egg-freezing",[d.HEALTH_SCREENER]:"screener"};var Q=Object.freeze({__proto__:null,basePath:x,SSO_URL:C,USER_GEOLOCATION_COORDINATES_COOKIE:N,LOCALE_SPECS:v,COUNTRY_LIST:A,STATIC_PAGES:S,UP_BASEPATH:"user",LOCALE_HAS_COMMUNITY_SITE:w,HAS_CLINITY_DOWNLOAD_SITE:L,LOCALE_HAS_CART_CARE_SITE:R,ECOM_LOCALES:P,DATA_PRIVACY_LOCALES:D,CARE_LOCALES:k,CARE_BOOKING_LOCALES:M,VIDEO_LOCALES:Y,FAVICONS:G,get QUERY_HEALTH_TOOL(){return l},ISO_FORMAT:H,BEARER_TOKEN_COOKIE:V,BEARER_REFRESH_TOKEN_COOKIE:U,DATE_FNS_LOCALE:z,CDN_ADDRESS:B,GA_TOKEN_COOKIE:$,API_DATE_FORMAT:F,DATE_FNS_DATE_FORMAT:"dd-MM-yyyy",ZINDEX_SSO:j,ZINDEX_HEADER:W,VIDEO_DETAIL_TEMP_STORAGE:K,HHG_CART_CARE_STORE_KEY:Z,get EMERGENCY_STATUS(){return s},get ServicePrice(){return c},get SERVICE_TYPE(){return d},serviceTypeByProductType:q,productTypeByServiceType:X,siteHost:f.Cf,siteOptions:f.x9,COUNTRY_CURRENCY_SYMBOL:f.Z5,domainLocales:b.v,MAP_DOMAIN_BY_LOCALE:b.f,get RISK_SCREENER_NAME(){return O.t},RISK_SCREENER_SLUG:O.n,isProduction:T.y})},izct:function(e,t,a){a.d(t,{T:function(){return Text}});var o=a("fbRC"),n=a("q1tI"),i=a("F/Hd");let Text=e=>{var{size:t="base",type:a="regular"}=e,r=(0,o._)(e,["size","type"]);return n.createElement(i.T,Object.assign({size:t,weight:"caption"===a?"bold":a,"data-size":t,"data-type":a,"data-word-wrap":r.wordWrap,"data-is-uppercase":r.isUppercase},r))}},AdMY:function(e,t,a){a.d(t,{i:function(){return isVideo}});let isVideo=e=>e.endsWith(".mp4")}}]);