"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6509],{P8QU:function(e,t,a){a.d(t,{A:function(){return AddressInput}});var r=a("Kz+G"),o=a("q1tI"),n=a("OAL+"),l=a("aDCK"),i=a("H1c6"),s=a("+7X0"),c=a("FUIV"),d=a("dz+K"),p=a("NbaP"),u=a("yNk5");let generateGetAddressDetail=e=>`${s.g}/cities-data-${d.M[e]}.json`,h={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},reducer=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},mappingProvinceId=(e,t)=>{let a={};for(let[,e]of Object.entries(t)){let{id:t}=e;t&&(a[t]=e)}let r={};return e.map(e=>{r[e.name]=a[e.id]}),r},useAddress=({provinces:e})=>{let[t,a]=(0,o.useReducer)(reducer,h),{provinceByName:n,provinces:l,districts:i,wards:s,selectedProvince:c,selectedDistrict:d,selectedWard:m}=t,[g,f]=(0,o.useState)();return(0,o.useEffect)(()=>{(0,r.a)(void 0,void 0,void 0,function*(){var t,r,o;try{let n=yield fetch(generateGetAddressDetail(u.env.UNIFY_LOCALE||p.L.Vietnam)).then(e=>e.json());f(n);let{list:l}=n,i=e?mappingProvinceId(e,l):l,s=Object.keys(i),c=Object.keys((null===(t=l[s[0]])||void 0===t?void 0:t.list)||{}),d=Object.keys((null===(o=null===(r=l[s[0]])||void 0===r?void 0:r[c[0]])||void 0===o?void 0:o.list)||{});a({type:"SET_DATA",payload:{provinceByName:i,provinces:s,districts:c,wards:d}})}catch(e){console.error("Error fetching address data:",e)}})},[u.env.UNIFY_LOCALE]),{provinces:l,districts:i,wards:s,selectedProvince:c,selectedDistrict:d,selectedWard:m,handleProvinceChange:e=>{var t;let r=Object.keys((null===(t=n[e])||void 0===t?void 0:t.list)||{});a({type:"SET_DISTRICTS",payload:r}),a({type:"SET_WARDS",payload:[]}),a({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,r;let o=Object.keys((null===(r=null===(t=n[c])||void 0===t?void 0:t.list[e])||void 0===r?void 0:r.list)||{});a({type:"SET_WARDS",payload:o}),a({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{a({type:"SELECT_WARD",payload:e})}}},AddressInput=e=>{var{error:t,provinces:a,placeholder:s}=e,d=(0,r._)(e,["error","provinces","placeholder"]);let{t:p}=(0,c.u)(),{provinces:u,districts:h,wards:m,selectedProvince:g,selectedDistrict:f,selectedWard:v,handleProvinceChange:C,handleDistrictChange:b,handleWardChange:x}=useAddress({provinces:a}),[y,E]=(0,o.useState)("");return(0,o.useEffect)(()=>{g&&f&&v&&y?d.onChange({selectedProvince:g,selectedDistrict:f,selectedWard:v,extraInfo:y}):d.onChange(null)},[g,f,v,y]),o.createElement(i.I.Wrapper,Object.assign({withAsterisk:!0},d),o.createElement(n.K,null,o.createElement(i.S,{placeholder:(null==s?void 0:s.province)||p("onboarding.similac.input.city"),data:a?u:u.sort(),searchable:!0,onChange:C,value:g}),o.createElement(i.S,{placeholder:(null==s?void 0:s.district)||p("onboarding.similac.input.district"),data:h.sort(),searchable:!0,onChange:b,value:f,disabled:!g}),o.createElement(i.S,{placeholder:(null==s?void 0:s.ward)||p("onboarding.similac.input.ward"),searchable:!0,data:m.sort(),value:v,onChange:x,disabled:!g||!f}),o.createElement(i.I,{placeholder:(null==s?void 0:s.address)||p("onboarding.similac.input.no"),disabled:!g||!f||!v,value:y,onChange:E,style:{marginBottom:0}})),o.createElement(l.I.Error,{size:"md"},t))}},z9Ho:function(e,t,a){a.d(t,{U:function(){return UserAvatar}});var r=a("Kz+G"),o=a("q1tI"),n=a("7m0Y"),l=a("rBCA"),i=a("iBNF");let s=l.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: ${i.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: ${i.r.mbColors.pink}; } } `,UserAvatar=e=>{var{className:t,isMarryBaby:a,style:l,avatar:i,username:c,size:d}=e,p=(0,r._)(e,["className","isMarryBaby","style","avatar","username","size"]);let{data:{env:{isMarryBaby:u}}}=(0,o.useContext)(n.T),[h,m]=(0,o.useState)(!1);return o.createElement(s,Object.assign({"data-is-marrybaby":"boolean"==typeof a?a:u,className:t,style:l,size:d},p),i&&!h?o.createElement("img",{loading:"lazy",src:i,className:"avatar",alt:"avatar",onError:()=>{h||m(!0)}}):o.createElement("div",{className:"avatar avatar-default"},c&&(null==c?void 0:c.length)>0?c[0].toUpperCase():"A"))}},VLju:function(e,t,a){a.d(t,{B:function(){return h}});var r=a("Kz+G"),o=a("q1tI"),n=a("/npG"),l=a("HC7W"),i=a("8vDj"),s=a("mAfZ"),c=a("DGoB"),d=a("YXre"),p=(0,n.k)((e,t)=>{var a,r,o,n,i,s;let{other:p}=e,{template:u}=p,{size:h,variant:m,skipHover:g,withColorHover:f,isError:v,isSuccess:C,color:b,gradient:x,children:y,theme:E,customStylesType:w}=t,k="mb"===u||"marryBaby"===E,_=b||(E&&k?"mb":e.primaryColor),B=_.startsWith("#"),j=B?e.fn.lighten(b,.9):(null===(r=null===(a=e.colors)||void 0===a?void 0:a[_])||void 0===r?void 0:r[0])||"",O=B?_:null===(n=null===(o=e.colors)||void 0===o?void 0:o[_])||void 0===n?void 0:n[e.fn.primaryShade()],S=B?e.fn.darken(b,.05):null===(s=null===(i=e.colors)||void 0===i?void 0:i[_])||void 0===s?void 0:s[e.fn.primaryShade()+1],L=w===d.C.LEADGEN;return{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${c.A} ease-in-out`},x&&Object.assign({border:0,position:"relative"},"secondary"===m&&{"&:before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"#fff",borderRadius:"inherit"}})),{"&:focus":{outline:"none"}}),L&&{borderRadius:12}),!y&&{paddingLeft:"10px",paddingRight:"10px",".mantine-Button-icon":{margin:0}}),(()=>{switch(h){case"xl":return Object.assign({height:56,fontWeight:L?d.F.halfBold:d.F.semiBold,fontSize:L?"15px":k?"14px":"16px",lineHeight:"24px"},L&&{letterSpacing:"-0.3px"});case"lg":return Object.assign({height:48,fontWeight:L?d.F.halfBold:d.F.semiBold,fontSize:L?"15px":k?"14px":"16px",lineHeight:"24px"},L&&{letterSpacing:"-0.3px"});case"md":return Object.assign({height:40,fontWeight:L?d.F.halfBold:d.F.semiBold,fontSize:L?"13px":"14px",lineHeight:L?"20px":"22px"},L&&{letterSpacing:"-0.3px"});case"sm":return Object.assign(Object.assign({height:32,fontWeight:L?d.F.halfBold:d.F.semiBold,fontSize:L?"11px":k?"12px":"14px",lineHeight:L?"16px":"22px"},L&&{letterSpacing:"-0.2px"}),{paddingLeft:"16px",paddingRight:"16px"});case"xs":return Object.assign({height:24,fontWeight:L?d.F.halfBold:d.F.semiBold,fontSize:L?"11px":"12px",lineHeight:L?"16px":"18px",paddingLeft:"8px",paddingRight:"8px"},L&&{letterSpacing:"-0.2px"})}})()),(()=>{switch(m){case"primary":return Object.assign(Object.assign({color:e.white},x?{backgroundImage:x,backgroundColor:"initial"}:{backgroundColor:O}),!g&&{"&:hover":{backgroundColor:x?"initial":S}});case"secondary":return Object.assign(Object.assign(Object.assign({color:O,backgroundColor:"transparent",border:`1px solid ${O}`},x&&{backgroundImage:x,borderColor:"transparent"}),!g&&!x&&{"&:hover":{backgroundColor:j,border:`1px solid ${O}`}}),f&&!x&&{"&:hover":{backgroundColor:O,border:`1px solid ${O}`,color:"#fff"}});case"white":return{color:O,backgroundColor:"transparent",border:"1px solid transparent","&:hover":{backgroundColor:"transparent",borderColor:"transparent"}};case"tertiary":return{color:e.colors.gray[8],backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`,"&:hover":Object.assign({},g?{backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`}:{backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[0]}`})};case"light":return{color:O,backgroundColor:j,border:"1px solid transparent","&:hover":Object.assign({},g?{backgroundColor:j,border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${j}`})};case"ghost":return Object.assign({color:O,backgroundColor:"transparent",border:"1px solid transparent"},!g&&{"&:hover":{backgroundColor:j,border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:e.colors.gray[1],color:e.colors.gray[4]}}),v?Object.assign({color:e.colors.red[6],backgroundColor:e.white,border:`1px solid ${e.colors.red[6]}`},!g&&{"&:hover":{backgroundColor:e.colors.red[0],border:`1px solid ${e.colors.red[6]}`}}):{}),C?Object.assign({color:e.colors.green[8],backgroundColor:e.colors.green[0]},!g&&{"&:hover":{backgroundColor:e.colors.green[0]}}):{}),inner:Object.assign({ref:(0,l.A)("inner")},x&&{position:"relative"}),leftIcon:{marginRight:8},rightIcon:{},label:Object.assign({},x&&"secondary"===m&&{background:x,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})}});let u={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white",success:"subtle"},h=(0,o.forwardRef)((e,t)=>{var a,n;let l=(0,i.rZ)(),c=Object.assign(Object.assign({},null===(n=null===(a=l.components)||void 0===a?void 0:a.Button)||void 0===n?void 0:n.defaultProps),function(e){let t={};return Object.keys(e).filter(t=>void 0!==e[t]).forEach(a=>t[a]=e[a]),t}(e)),{variant:h,size:m,color:g,gradient:f,skipHover:v,withColorHover:C,className:b,dataEventCategory:x,dataEventAction:y,dataEventLabel:E,children:w,theme:k,component:_,styles:B,classNames:j}=c,O=(0,r._)(c,["variant","size","color","gradient","skipHover","withColorHover","className","dataEventCategory","dataEventAction","dataEventLabel","children","theme","component","styles","classNames"]),S="error"===h,L=(0,d.u)(),{classes:I,cx:M}=p({variant:h,size:m,color:g,gradient:f,skipHover:v,withColorHover:C,isError:S,isSuccess:"success"===h,children:w,theme:k,customStylesType:L},{name:"ButtonMantine",styles:B,classNames:j});return o.createElement(s.z,Object.assign({component:_,className:M(b,h),classNames:{root:I.root,inner:I.inner,leftIcon:I.leftIcon,rightIcon:I.rightIcon,label:I.label},variant:u[h],"data-variant":h,"data-event-category":x,"data-event-action":y,"data-event-label":E,ref:t,loaderProps:O.disabled?{color:"currentColor"}:void 0},O),w)})},jq6R:function(e,t,a){a.d(t,{C:function(){return CardLink}});var r=a("Kz+G"),o=a("q1tI"),n=a("8vDj"),l=a("sfOR"),i=a("pMur"),s=a("7m0Y"),c=a("rBCA"),d=a("IQVP"),p=a("xPje");let u=c.Z.div` .link-info-container { padding: 0.5rem 1rem; background: ${e=>e.color||"#f4faff"}; } .link-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: min(280px, 56.25%); .link-image-blur { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%; /* Add the blur effect */ -webkit-filter: blur(8px); filter: blur(8px); object-fit: cover; object-position: center; opacity: 0.8; transform: translate(-50%, -50%); } .link-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; } } a { text-decoration: none; } &[data-is-marrybaby='true'] { overflow: hidden; border-radius: 1rem; .link-info-container { padding-bottom: 1rem; p { color: #2661ad; } .link-logo { max-width: 2rem; height: 13px; margin-right: 4px; object-fit: contain; vertical-align: middle; } } .link-image-wrapper { padding-top: min(360px, 56.25%); .link-image { object-fit: cover; } } } `,CardLink=({title:e,url:t,image:a,logo:c,className:h,style:m,noRefetch:g})=>{let{data:{locale:f,env:{isMarryBaby:v}}}=(0,o.useContext)(s.T),[C,b]=(0,o.useState)(!1),x=(0,n.rZ)(),y=(0,o.useRef)(g);y.current=g;let[E,w]=(0,o.useState)(null);(0,o.useEffect)(()=>{(0,r.a)(void 0,void 0,void 0,function*(){if(!y.current){if(!t)return w(null);w(e=>Object.assign(Object.assign({},e),{isFetching:!0})),(0,s.c)((0,s.f)(d.yy.FETCH_PREVIEW,{_locale:f}),"POST",{data:{link:t},headers:{"Content-Type":"application/json"}}).then(e=>{var a,r,o;b(!1),w({title:null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.title,url:t,image:(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.image)||(null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.logo)})}).catch(()=>{w(null)})}})},[t]);let k=(null==E?void 0:E.image)||a,_=(null==E?void 0:E.title)||e,B=(null==E?void 0:E.logo)||c,j=(null==E?void 0:E.url)||t,O=j.replace("http://","").replace("https://","").split(/[/?#]/),S=O[0],L=(0,o.useRef)(!1);return o.createElement(u,{"data-is-marrybaby":v,className:`${h} no-replace-click`,style:m,color:x.colors[x.primaryColor][0]},o.createElement("a",{href:j,target:"_blank",rel:"noreferrer"},k&&o.createElement("div",{className:"link-image-wrapper"},!v&&o.createElement("img",{className:"link-image-blur",src:k,onError:e=>{L.current||(L.current=!0,e.currentTarget.src=p.a)},loading:"lazy"}),o.createElement("img",{className:"link-image",src:k,onError:e=>{L.current||(L.current=!0,e.currentTarget.src=p.a)},loading:"lazy"})),o.createElement("div",{className:"link-info-container"},o.createElement(i.T,{size:"n1"},v&&B&&!C&&o.createElement("img",{className:"link-logo",src:B,onError:()=>b(!0),loading:"lazy"}),S),o.createElement(l.H,{tag:"h6"},_))))}},"M4/A":function(e,t,a){a.d(t,{B:function(){return BabyPoopForm}});var r=a("Kz+G"),o=a("q1tI"),n=a("/npG"),l=a("mYVa"),i=a("Eso5"),s=a("iuhU"),c=a("pMur"),d=a("VLju"),p=a("FUIV"),u=a("w8hz"),h=a("+aod"),m=(0,n.k)((e,{hasOnClickFn:t})=>({root:{position:"relative",display:"flex",flexDirection:"column",gap:(0,l.h)(16)},sponsorBox:{display:"flex",gap:(0,l.h)(12),alignItems:"center",backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[1]}`,borderRadius:(0,l.h)(4),padding:"4px 12px",alignSelf:"flex-start"},sponsorLogo:{maxHeight:(0,l.h)(32)},btn:{minWidth:(0,l.h)(180),[e.fn.largerThan("sm")]:{alignSelf:"flex-end"},visibility:t?"visible":"hidden"}}));let BabyPoopForm=e=>{var{babyPoopPage:t,onClickFindOut:a,currentUrl:n,sponsorLogo:l,btnProps:g,styles:f,classNames:v}=e,C=(0,r._)(e,["babyPoopPage","onClickFindOut","currentUrl","sponsorLogo","btnProps","styles","classNames"]);let{t:b}=(0,p.u)(),{classes:x}=m({hasOnClickFn:!!a},{name:"BabyPoopForm",styles:f,classNames:v}),{classes:y={}}=(0,o.useContext)(u.C);return o.createElement(h.H.FormRow,null,o.createElement(i.x,Object.assign({className:x.root},C),l&&o.createElement(i.x,{className:x.sponsorBox},o.createElement(c.T,{size:"p4"},b("common.sponsoredBy")),o.createElement("img",{loading:"lazy",src:l,alt:"sponsor",className:x.sponsorLogo})),o.createElement(c.T,{size:"p3",as:"div",className:"description",dangerouslySetInnerHTML:{__html:t.description}}),o.createElement(d.B,Object.assign({className:(0,s.default)(x.btn,y.submitBtn),onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:n},g),b("babyPoop.findOut"))))}},"UZ+t":function(e,t,a){a.d(t,{C:function(){return ChoiceField},T:function(){return TextField},i:function(){return _},u:function(){return m}});var r=a("/npG"),o=a("iuhU"),n=a("Eso5"),l=a("8vDj"),i=a("YXre"),s=a("Kz+G"),c=a("q1tI"),d=a("ChHM"),p=a("AeFk"),u=a("rBCA"),h=a("iBNF"),m=(0,r.k)(e=>(0,i.G)(e)[i.C.LEADGEN]);let g=(0,c.createContext)({}),f=p.iv` height: 100% !important; min-height: calc(var(--container-height, 56px) * 24 / 56); line-height: calc(var(--container-height, 56px) * 24 / 56); border: none !important; border-radius: 0 !important; outline: none !important; box-shadow: none !important; padding: 0; cursor: pointer; /* opacity: 0; */ ::placeholder { color: ${h.r.colors.gray400}; } `,v=p.iv` height: auto !important; cursor: text; opacity: 1; transition: 0.1s ease-in-out all; `,C=p.iv` position: absolute; top: calc(var(--container-height) / 2); left: var(--space-x, 16px); margin: 0; z-index: 1; cursor: pointer; transform: translateY(-50%); transition: 0.125s ease-in all; right: 0; // auto grow width `,b=p.iv` top: var(--space-y-shrink, 6px); transform: translateY(0); transition: 0.125s ease-out all; right: 0; // auto grow width `,x=p.iv` min-height: var(--container-height, 56px); display: flex; align-items: flex-end; border: 1px solid ${h.r.colors.gray200}; border-radius: 8px; background-color: #fff; padding-inline: var(--space-x, 16px); padding-block: var(--space-y-not-shrink, 16px); cursor: pointer; pointer-events: none; &:has(.mantine-Input-rightSection) { padding-right: var(--container-height, 56px); } .mantine-Input-icon { display: none; } .mantine-NumberInput-control { border-color: ${h.r.colors.gray200}; } `,y=p.iv` height: auto; min-height: var(--container-height, 56px); padding-block: var(--space-y-shrink, 6px); cursor: text; pointer-events: auto; `,E=p.iv` color: ${h.r.colors.red800}; font-size: 12px; line-height: 1.5; `,w=u.Z.div` --space-x: 16px; --space-y-not-shrink: 15px; --space-y-shrink: 6px; --container-height: 56px; --label-not-shrink: 16px; --label-shrink: 12px; --input: 15px; position: relative; min-width: 100px; max-width: 100%; display: inline-block; .textField_wrapper { display: inline-block; width: 100%; cursor: pointer; } .mantine-InputWrapper-root { &[data-invalid='true'] { .mantine-Input-wrapper { border-color: ${h.r.colors.red400}; } } .mantine-Input-wrapper { &:has([data-invalid]) { border-color: ${h.r.colors.red400}; } } } .mantine-InputWrapper-label { ${C} } .mantine-Input-wrapper { ${x} + .mantine-Popover-dropdown[data-position="bottom-start"] { left: 0 !important; } + .mantine-Popover-dropdown[data-position='top-start'] { top: unset !important; left: 0 !important; bottom: 100% !important; } } .mantine-Input-input { ${f} } &.textField_shrink { .mantine-InputWrapper-label { ${b} } .mantine-Input-wrapper { ${y} &.mantine-Select-wrapper { .mantine-Select-rightSection { pointer-events: auto !important; } } } .mantine-Input-input { ${v} } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: var(--space-x, 16px); } .PhoneInput { .PhoneInputInput { opacity: 1; } } } } &:focus-within { .mantine-Input-wrapper { transition: 0.25s linear border; border-color: ${h.r.colors.primary600}; box-shadow: 0 0 4px ${h.r.colors.primary200}; } } .PhoneInput { --phone-select: 75px; --phone-input-space-x: 8px; width: 100%; opacity: 1; border: none; .PhoneInputCountry { background-color: transparent; border: none; padding: 0; width: var(--phone-select, 75px); } .PhoneInputInput { flex: 1; min-width: 0; line-height: 1.5; outline: none !important; border: none; box-shadow: none; font-size: var(--input, 15px); padding: 0 var(--phone-input-space-x, 8px); /* opacity: 0; */ color: ${h.r.colors.gray800} !important; :focus { color: ${h.r.colors.gray800} !important; } } } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: calc( var(--space-x, 16px) + var(--phone-select, 75px) + var(--phone-input-space-x, 8px) ); } } .icon { position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); transform: translateY(-50%); transition: 0.125s ease-in all; &.shrink { top: calc(var(--container-height) / 2 - 4px); transform: translateY(0); } } `,k=u.Z.div` &.leadgen-form_checkbox, &.leadgen-form_radio { width: 100%; } &.leadgen-form_dropdown { width: calc(50% - 12px); } .mantine-InputWrapper-root { display: block; } .mantine-InputWrapper-label { margin-bottom: 0.5rem; color: ${h.r.colors.gray800}; font-size: 16px; font-weight: 400; line-height: 1.5; } .mantine-Radio-root, .mantine-Checkbox-root { gap: 8px; min-width: calc(50% - 4px); // input[type='radio'], // input[type='checkbox'] { // border-color: ${h.r.colors.gray600}; // width: 18px; // height: 18px; // } // input[type='checkbox'] { // border-radius: 4px; // } // &[data-checked='true'] { // input[type='radio'], // input[type='checkbox'] { // border-color: ${h.r.colors.primary600}; // } // input[type='radio'] { // background-color: white; // } // } .mantine-Checkbox-input { &:checked { border-color: ${h.r.colors.primary600}; } } } .leadgen-choiceContainer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; } .mantine-InputWrapper-error { ${E} } `;u.Z.div` position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); `;let TextField=e=>{let{shrink:t,onChangeShrink:a,children:r,className:n}=e,l=(0,s._)(e,["shrink","onChangeShrink","children","className"]),[i,d]=(0,c.useState)(t),[p,u]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{d(t)},[t]),c.createElement(g.Provider,Object.assign({value:{shrinkProps:t,shrink:i,setShrink:d,onChangeShrink:a,hasIcon:p,setHasIcon:u}},l),c.createElement(w,Object.assign({shrink:i,className:(0,o.default)(n,"textField",{textField_shrink:!!i})},l),r))},TextFieldControl=e=>{let{shrink:t,shrinkProps:a,onChangeShrink:r,setShrink:o,hasIcon:l}=(0,c.useContext)(g),{children:i,htmlFor:s}=e,p=(0,d.O)(()=>{a||(o(!1),null==r||r(!1))}),focusInput=e=>{setTimeout(()=>{let t=e.querySelectorAll('input:not([disabled]):not([type="submit"]),select:not([disabled]),textarea:not([disabled])'),a=t.item(t.length-1);a&&a.focus({preventScroll:!0})},150)},u=(0,c.useCallback)(e=>{if(t){focusInput(e.currentTarget);return}o(!0),null==r||r(!0),focusInput(e.currentTarget)},[t]);return(0,c.useEffect)(()=>{o(a)},[a]),c.createElement(n.x,{ref:p,onClick:u,className:"textField_wrapper",component:s?"label":"div",htmlFor:s},"function"==typeof i?i({shrink:!!t,hasIcon:l}):i)},TextFieldIcon=({Icon:e})=>{let{shrink:t,setHasIcon:a}=(0,c.useContext)(g),r=(0,l.rZ)();return(0,c.useEffect)(()=>{e&&a(!0)},[]),e?c.createElement(e,{className:`icon ${t?"shrink":""}`,shrink:t,size:24,color:r.colors.gray[9]}):null};TextField.Control=TextFieldControl,TextField.Icon=TextFieldIcon;let ChoiceField=e=>{let{children:t,className:a}=e,r=(0,s._)(e,["children","className"]);return c.createElement(k,Object.assign({className:(0,o.default)(a,"choiceField")},r),t)};var _=Object.freeze({__proto__:null,TextField:TextField,TextFieldControl:TextFieldControl,TextFieldIcon:TextFieldIcon,ChoiceField:ChoiceField})},kSP5:function(e,t,a){a.d(t,{C:function(){return i}});var r=a("xrdX"),o=a("GOBr"),n=a("yNk5");let isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),l="hellosehat.com",i=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,a)=>{let r="https://hhg-common."+[t||this.getBaseDomain(),a||this.subPath,e].join("/");return o.y||n.env.JEST_WORKER_ID?r:r+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:e}=window.location,t=e.split("."),a=r.v[Object.keys(r.v).find(t=>e.includes(r.v[t]))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every(e=>isNumeric(e))||!a?l:a}return l}};i.subPath="common",i.baseDomain=r.v["vi-VN"]},LB4I:function(e,t,a){a.d(t,{B:function(){return Button}});var r=a("Kz+G"),o=a("q1tI"),n=a("VLju");let Button=e=>{var{size:t,color:a="primary",isDisabled:l,isBlock:i,title:s,onClick:c,icon:d,iconPosition:p="left",children:u,isLoading:h=!1,loadingText:m,dataEventCategory:g,dataEventAction:f,dataEventLabel:v,dataProductChannel:C,dataProductSku:b,dataProductBrand:x,dataProductName:y,dataProductPrice:E,dataProductCategory:w,dataProductPosition:k,type:_}=e,B=(0,r._)(e,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);return o.createElement(n.B,Object.assign({},{"data-event-category":g,"data-event-action":f,"data-event-label":v,"data-product-channel":C,"data-product-sku":b,"data-product-brand":x,"data-product-name":y,"data-product-price":E,"data-product-category":w,"data-product-position":k},{size:t,variant:"transparent"===a?"white":"danger"===a?"error":a,disabled:l,onClick:e=>{h||l||!c||c(e)},title:s,loading:h,type:_||"submit",leftIcon:"left"===p?d:void 0,rightIcon:"right"===p?d:void 0,w:i?"100%":void 0,p:i?"12px auto":void 0,"data-color":a,"data-size":t,"data-block":i,"data-has-icon":!!d||void 0,"data-theme":B.theme,"data-is-loading":h},B),h&&m||u)}},kAVN:function(e,t,a){a.d(t,{C:function(){return o}});var r=a("q1tI");let o=(0,r.forwardRef)(function(e,t){return r.createElement("circle",Object.assign({},e,{ref:t}),r.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})},AkBo:function(e,t,a){a.d(t,{D:function(){return Dropdown}});var r=a("q1tI"),o=a("8vDj"),n=a("rBCA"),l=a("iBNF");let i=n.Z.div` --dropdown-padding: 12px 18px 12px 16px; position: relative; box-sizing: border-box; border: 1px solid ${l.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: ${l.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: ${l.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=n.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: ${l.r.borderRadius}; box-shadow: 0 0 2px 2px ${e=>e.shadowColor}; } `,c=n.Z.ul` position: absolute; top: 100%; /* right: 0; */ min-width: 100%; left: 0; display: block; margin-top: 4px; background: ${l.r.colors.white}; border-radius: ${l.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 ${l.r.colors.gray200}; background: white; box-shadow: none; filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04)); } `,d=n.Z.li` display: flex; padding: 12px 18px 12px 16px; &[data-disabled='true'] { cursor: not-allowed; color: #bfbfbf; & > * { pointer-events: none; } } &:hover, :active { background: ${l.r.colors.gray100}; } `,p=n.Z.div` max-width: 16px; margin-right: 8px; `,u=n.Z.div` position: absolute; top: 12px; left: 16px; pointer-events: none; `,Dropdown=({className:e,value:t,options:a,onChange:n=()=>void 0,id:l,placeholderIcon:h,placeholder:m,style:g,size:f="lg",groupedWithLabel:v,disabled:C,dropdownLabelTrackingAttributes:b={},isNativeSelect:x=!1})=>{let y=(0,o.rZ)(),[E,w]=r.useState(!1),showDropdown=()=>!C&&w(!E);if(x){let e="object"==typeof(null==t?void 0:t.value)&&t.value instanceof Date?t.value.toString():null==t?void 0:t.value;return r.createElement(i,{color:y.fn.primaryColor(),shadowColor:y.colors[y.primaryColor][2],as:"select","data-is-native":"true",value:e||void 0,disabled:C,onChange:e=>{if("string"==typeof e.target.value){let t=a.find(t=>t.value===e.target.value);t&&n(t)}}},m&&r.createElement("option",{value:m,disabled:!0,selected:!0},m),a.map(e=>r.createElement("option",{key:`${l}-${e.value}`,value:e.value,disabled:!!e.disabled&&e.disabled},e.label)))}return r.createElement(i,{color:y.fn.primaryColor(),shadowColor:y.colors[y.primaryColor][2],className:e,"data-dropdown-open":E||void 0,"data-size":f,id:l,"data-has-icons":!!h,style:g,onBlur:()=>w(!1),tabIndex:0,"data-disabled":C},!!v&&r.createElement(u,null,v),r.createElement(s,Object.assign({color:y.fn.primaryColor(),shadowColor:y.colors[y.primaryColor][2],onClick:showDropdown,className:v&&"with-label"},b),h," ",r.createElement("span",null,t&&t.value?t.label:m)),E&&r.createElement(c,{onClick:showDropdown,"data-has-icons":!!h},a.map(e=>r.createElement(d,{key:`${l}-${e.value}`,"data-selected":t&&t.value===e.value||void 0,onClick:()=>!e.disabled&&!C&&(null==n?void 0:n(e)),"data-disabled":!!e.disabled&&e.disabled},e.icon&&r.createElement(p,null,e.icon),e.label))))}},LL6q:function(e,t,a){a.d(t,{I:function(){return s}});var r=a("Kz+G"),o=a("q1tI"),n=a("iBNF"),l=a("dR7m"),i=a("/BCu");let Bookmark=e=>{var{size:t,color:a,useCurrentColor:n,isActive:l,activeColor:i,isMarryBaby:s}=e,c=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":l?i:a,p=Object.assign({width:t,height:t},c);return s?o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d,stroke:d})):o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),o.createElement("path",{d:"M12 13.3334L8 10.3704L4 13.3334V3.85187C4 3.53754 4.12041 3.23608 4.33474 3.01382C4.54906 2.79155 4.83975 2.66669 5.14286 2.66669H10.8571C11.1602 2.66669 11.4509 2.79155 11.6653 3.01382C11.8796 3.23608 12 3.53754 12 3.85187V13.3334Z",fill:d,strokeLinecap:"round",strokeLinejoin:"round"}))};Bookmark.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Comment=e=>{var{size:t=24,color:a,useCurrentColor:n,isActive:l,activeColor:i,isMarryBaby:s}=e,c=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":l?i:a,p=Object.assign({width:t,height:t},c);return s?o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.599 2.92689C9.53974 2.67333 8.44007 2.67333 7.38083 2.92688L7.21355 2.96693C5.29637 3.42585 3.77529 4.99134 3.30709 7.02824C3.04637 8.16253 3.04859 9.35772 3.30963 10.4933C3.79199 12.5919 5.20833 14.326 7.09016 15.1306L7.17879 15.1685C7.78633 15.4282 8.5133 15.1259 8.78188 14.4393C8.94923 14.0114 9.35745 13.7068 9.83325 13.7068H10.6293C12.5519 13.7068 14.25 12.3213 14.7108 10.3166C14.9467 9.29055 14.9467 8.22001 14.7108 7.19398L14.6442 6.90409C14.1935 4.94324 12.7294 3.43685 10.8848 2.99531L10.599 2.92689ZM7.15385 1.97867C8.3623 1.6894 9.61751 1.6894 10.826 1.97867L11.1118 2.04709C13.3366 2.57965 15.0655 4.38457 15.5944 6.68567L15.661 6.97557C15.9299 8.14533 15.9299 9.36523 15.661 10.535C15.1055 12.952 13.0368 14.6818 10.6293 14.6818H9.83325C9.7862 14.6818 9.72124 14.7142 9.68989 14.7944C9.23642 15.9538 7.94762 16.5575 6.7955 16.065L6.70688 16.0271C4.52239 15.0931 2.90752 13.0963 2.3594 10.7118C2.06564 9.43373 2.0628 8.08918 2.35687 6.80983C2.90328 4.43267 4.68917 2.56866 6.98657 2.01872L7.15385 1.97867ZM6.0349 6.79267C6.0349 6.52343 6.25317 6.30517 6.5224 6.30517H11.0462C11.3154 6.30517 11.5337 6.52343 11.5337 6.79267C11.5337 7.06191 11.3154 7.28017 11.0462 7.28017H6.5224C6.25317 7.28017 6.0349 7.06191 6.0349 6.79267ZM6.0349 9.38479C6.0349 9.11555 6.25317 8.89729 6.5224 8.89729H9.40115C9.67039 8.89729 9.88865 9.11555 9.88865 9.38479C9.88865 9.65403 9.67039 9.87229 9.40115 9.87229H6.5224C6.25317 9.87229 6.0349 9.65403 6.0349 9.38479Z",fill:d})):o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.375 15.8438L9.2625 13.875H8.625C6.95 13.875 5.53125 13.2937 4.36875 12.1312C3.20625 10.9687 2.625 9.55 2.625 7.875C2.625 6.2 3.20625 4.78125 4.36875 3.61875C5.53125 2.45625 6.95 1.875 8.625 1.875C9.4625 1.875 10.2438 2.03125 10.9688 2.34375C11.6938 2.65625 12.3282 3.0845 12.8722 3.6285C13.4158 4.172 13.8438 4.80625 14.1562 5.53125C14.4688 6.25625 14.625 7.0375 14.625 7.875C14.625 9.5875 14.128 11.1405 13.134 12.534C12.1405 13.928 10.8875 15.0312 9.375 15.8438ZM10.5 12.75V13.7625C11.3875 13.0125 12.1092 12.1345 12.6652 11.1285C13.2217 10.122 13.5 9.0375 13.5 7.875C13.5 6.5125 13.0283 5.35925 12.0848 4.41525C11.1408 3.47175 9.9875 3 8.625 3C7.2625 3 6.1095 3.47175 5.166 4.41525C4.222 5.35925 3.75 6.5125 3.75 7.875C3.75 9.2375 4.222 10.3907 5.166 11.3348C6.1095 12.2782 7.2625 12.75 8.625 12.75H10.5ZM5.625 9C6.03921 9 6.375 8.66421 6.375 8.25C6.375 7.83579 6.03921 7.5 5.625 7.5C5.21079 7.5 4.875 7.83579 4.875 8.25C4.875 8.66421 5.21079 9 5.625 9ZM9.375 8.25C9.375 8.66421 9.03921 9 8.625 9C8.21079 9 7.875 8.66421 7.875 8.25C7.875 7.83579 8.21079 7.5 8.625 7.5C9.03921 7.5 9.375 7.83579 9.375 8.25ZM11.625 9C12.0392 9 12.375 8.66421 12.375 8.25C12.375 7.83579 12.0392 7.5 11.625 7.5C11.2108 7.5 10.875 7.83579 10.875 8.25C10.875 8.66421 11.2108 9 11.625 9Z",fill:d}))};Comment.defaultProps={size:24,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Eye=e=>{var{size:t,color:a,useCurrentColor:n,isActive:l,activeColor:i}=e,s=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let c=Object.assign({width:t,height:t},s);return o.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},c),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00036 11.6827C9.85018 11.6827 10.572 11.3852 11.1657 10.7903C11.7595 10.1955 12.0563 9.4731 12.0563 8.62328C12.0563 7.77346 11.7589 7.05168 11.164 6.45793C10.5691 5.86418 9.84678 5.56731 8.99695 5.56731C8.14714 5.56731 7.42536 5.86474 6.83161 6.45962C6.23786 7.05451 5.94098 7.77686 5.94098 8.62669C5.94098 9.4765 6.23842 10.1983 6.83329 10.792C7.42818 11.3858 8.15054 11.6827 9.00036 11.6827ZM8.99866 10.65C8.43616 10.65 7.95803 10.4531 7.56428 10.0594C7.17053 9.66561 6.97366 9.18748 6.97366 8.62498C6.97366 8.06248 7.17053 7.58436 7.56428 7.19061C7.95803 6.79686 8.43616 6.59998 8.99866 6.59998C9.56116 6.59998 10.0393 6.79686 10.433 7.19061C10.8268 7.58436 11.0237 8.06248 11.0237 8.62498C11.0237 9.18748 10.8268 9.66561 10.433 10.0594C10.0393 10.4531 9.56116 10.65 8.99866 10.65ZM8.99866 13.875C7.41982 13.875 5.97584 13.4538 4.66671 12.6115C3.35757 11.7692 2.31263 10.661 1.53186 9.28699C1.46936 9.1793 1.42369 9.07077 1.39484 8.96139C1.36599 8.85201 1.35156 8.73974 1.35156 8.62461C1.35156 8.50947 1.36599 8.39734 1.39484 8.28821C1.42369 8.17908 1.46936 8.07066 1.53186 7.96298C2.31263 6.58894 3.35757 5.48077 4.66671 4.63847C5.97584 3.79616 7.41982 3.375 8.99866 3.375C10.5775 3.375 12.0215 3.79616 13.3306 4.63847C14.6397 5.48077 15.6847 6.58894 16.4655 7.96298C16.528 8.07066 16.5736 8.17919 16.6025 8.28857C16.6313 8.39796 16.6457 8.51022 16.6457 8.62536C16.6457 8.74049 16.6313 8.85263 16.6025 8.96175C16.5736 9.07089 16.528 9.1793 16.4655 9.28699C15.6847 10.661 14.6397 11.7692 13.3306 12.6115C12.0215 13.4538 10.5775 13.875 8.99866 13.875ZM8.99866 12.75C10.4112 12.75 11.708 12.3781 12.8893 11.6344C14.0705 10.8906 14.9737 9.88748 15.5987 8.62498C14.9737 7.36248 14.0705 6.35936 12.8893 5.61561C11.708 4.87186 10.4112 4.49998 8.99866 4.49998C7.58616 4.49998 6.28928 4.87186 5.10803 5.61561C3.92678 6.35936 3.02366 7.36248 2.39866 8.62498C3.02366 9.88748 3.92678 10.8906 5.10803 11.6344C6.28928 12.3781 7.58616 12.75 8.99866 12.75Z",fill:n?"currentColor":l?i:a}))};Eye.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Heart=e=>{var{size:t,color:a,useCurrentColor:n,isActive:l,activeColor:i,isSolid:s,isMarryBaby:c}=e,d=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor","isSolid","isMarryBaby"]);let p=n?"currentColor":l?i:a,u=Object.assign({width:t,height:t},d);return c?o.createElement(o.Fragment,null,s?o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18"},u),o.createElement("path",{d:"M11.6031 3.04013C10.6484 3.17142 9.69193 3.6234 9 4.35668C8.30807 3.6234 7.35165 3.17142 6.39686 3.04013C5.18501 2.87348 3.86243 3.21318 3.04413 4.29816C1.98529 5.70207 1.98529 7.69046 3.04413 9.09438L6.56464 13.7622C7.80938 15.4126 10.1906 15.4126 11.4354 13.7622L14.9559 9.09438C16.0147 7.69047 16.0147 5.70207 14.9559 4.29816C14.1376 3.21318 12.815 2.87348 11.6031 3.04013Z",fill:p})):o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},u),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8649 2.55606C13.1604 2.37549 14.5506 2.74705 15.4034 3.89319C16.5158 5.38825 16.5158 7.50379 15.4034 8.99885L11.5528 14.1739C10.2498 15.9252 7.75064 15.9252 6.44757 14.1739L2.597 8.99885C1.48459 7.50378 1.48459 5.38825 2.59701 3.89319C3.4498 2.74705 4.84003 2.37549 6.1355 2.55606C7.2032 2.70488 8.26445 3.23358 9.00019 4.08277C9.73594 3.23358 10.7972 2.70488 11.8649 2.55606ZM11.9995 3.52172C10.957 3.66704 9.95441 4.26136 9.4191 5.16067L9.0002 5.86442L8.58129 5.16067C8.04598 4.26136 7.0434 3.66704 6.0009 3.52172C4.96111 3.37679 3.96672 3.68564 3.37923 4.47521C2.52385 5.62483 2.52385 7.26721 3.37923 8.41682L7.22979 13.5919C8.143 14.8192 9.85739 14.8192 10.7706 13.5919L14.6212 8.41683C15.4765 7.26721 15.4765 5.62483 14.6212 4.47521C14.0337 3.68563 13.0393 3.37679 11.9995 3.52172Z",fill:p}))):o.createElement(o.Fragment,null,s?o.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},u),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0125 13.4437L8.08125 14.4375C8.34375 14.6625 8.65 14.775 9 14.775C9.35 14.775 9.65625 14.6562 9.91875 14.4187L10.9688 13.4625C12.2812 12.275 13.4688 11.0905 14.5312 9.90899C15.5938 8.72799 16.125 7.46249 16.125 6.11249C16.125 5.04999 15.7655 4.15924 15.0465 3.44024C14.328 2.72174 13.4375 2.36249 12.375 2.36249C11.775 2.36249 11.1783 2.50299 10.5848 2.78399C9.99075 3.06549 9.4625 3.51874 9 4.14374C8.5375 3.51874 8.0095 3.06549 7.416 2.78399C6.822 2.50299 6.225 2.36249 5.625 2.36249C4.5625 2.36249 3.672 2.72174 2.9535 3.44024C2.2345 4.15924 1.875 5.04999 1.875 6.11249C1.875 7.44999 2.397 8.70299 3.441 9.87149C4.4845 11.0405 5.675 12.2312 7.0125 13.4437Z",fill:p})):o.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},u),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0125 13.4437L8.08125 14.4375C8.34375 14.675 8.65 14.7937 9 14.7937C9.35 14.7937 9.65625 14.6687 9.91875 14.4187L10.9688 13.4625C12.2812 12.275 13.4688 11.0905 14.5312 9.90899C15.5938 8.72799 16.125 7.46249 16.125 6.11249C16.125 5.04999 15.7655 4.15924 15.0465 3.44024C14.328 2.72174 13.4375 2.36249 12.375 2.36249C11.775 2.36249 11.1783 2.50299 10.5848 2.78399C9.99075 3.06549 9.4625 3.51874 9 4.14374C8.5375 3.51874 8.0095 3.06549 7.416 2.78399C6.822 2.50299 6.225 2.36249 5.625 2.36249C4.5625 2.36249 3.672 2.72174 2.9535 3.44024C2.2345 4.15924 1.875 5.04999 1.875 6.11249C1.875 7.44999 2.397 8.70299 3.441 9.87149C4.4845 11.0405 5.675 12.2312 7.0125 13.4437ZM7.18125 3.91874C7.63125 4.20624 8.05625 4.66249 8.45625 5.28749C8.51875 5.37499 8.6 5.44374 8.7 5.49374C8.8 5.54374 8.9 5.56874 9 5.56874C9.1 5.56874 9.2 5.54374 9.3 5.49374C9.4 5.44374 9.48125 5.37499 9.54375 5.28749C9.94375 4.66249 10.3688 4.20624 10.8188 3.91874C11.2688 3.63124 11.7875 3.48749 12.375 3.48749C13.125 3.48749 13.75 3.73749 14.25 4.23749C14.75 4.73749 15 5.36249 15 6.11249C15 6.71249 14.8063 7.34049 14.4188 7.99649C14.0312 8.65299 13.5437 9.30624 12.9562 9.95624C12.3687 10.6062 11.7345 11.2405 11.0535 11.859C10.372 12.478 9.7375 13.0562 9.15 13.5937C9.1125 13.6312 9.0625 13.65 9 13.65C8.9375 13.65 8.8875 13.6312 8.85 13.5937C8.2625 13.0562 7.628 12.478 6.9465 11.859C6.2655 11.2405 5.63125 10.6062 5.04375 9.95624C4.45625 9.30624 3.96875 8.65299 3.58125 7.99649C3.19375 7.34049 3 6.71249 3 6.11249C3 5.36249 3.25 4.73749 3.75 4.23749C4.25 3.73749 4.875 3.48749 5.625 3.48749C6.2125 3.48749 6.73125 3.63124 7.18125 3.91874Z",fill:p})))};Heart.defaultProps={size:24,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let Save=e=>{var{size:t,color:a,useCurrentColor:n,isActive:l,activeColor:i,isMarryBaby:s}=e,c=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":l?i:a,p=Object.assign({width:t,height:t},c);return s?o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d})):o.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 11.85L5.25 13.4625V3.975C5.25 3.925 5.275 3.875 5.325 3.825C5.375 3.775 5.425 3.75 5.475 3.75H9H12.525C12.575 3.75 12.625 3.775 12.675 3.825C12.725 3.875 12.75 3.925 12.75 3.975V13.4625L9 11.85ZM4.434 14.7277C4.6405 14.8592 4.85625 14.875 5.08125 14.775L9 13.0875L12.9188 14.775C13.1438 14.875 13.3593 14.8592 13.5653 14.7277C13.7717 14.5967 13.875 14.4062 13.875 14.1562V3.975C13.875 3.6 13.7438 3.28125 13.4813 3.01875C13.2188 2.75625 12.9 2.625 12.525 2.625H5.475C5.1 2.625 4.78125 2.75625 4.51875 3.01875C4.25625 3.28125 4.125 3.6 4.125 3.975V14.1562C4.125 14.4062 4.228 14.5967 4.434 14.7277Z",fill:d}))};Save.defaultProps={size:18,color:n.r.colors.gray600,activeColor:n.r.colors.primaryBase};let s={Share:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:l,activeColor:i=n.r.colors.primaryBase,isActive:s,isMarryBaby:c,isSolid:d=!0}=e,p=(0,r._)(e,["size","color","useCurrentColor","activeColor","isActive","isMarryBaby","isSolid"]);let u=l?"currentColor":s?i:a;return c?o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},p),o.createElement("path",{d:"M18 8L19 8C20.1046 8 21 8.89543 21 10L21 15.155C21 17.3585 19.4253 19.2551 17.2391 19.6848C15.1006 20.1051 8.89937 20.1051 6.76089 19.6848C4.57467 19.2551 3 17.3585 3 15.155L3 10C3 8.89543 3.89543 8 5 8L6 8",stroke:u,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:u,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):d?o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59725 11.6528C8.70325 11.7593 8.8375 11.8125 9 11.8125C9.1625 11.8125 9.297 11.7593 9.4035 11.6528C9.5095 11.5468 9.5625 11.4125 9.5625 11.25V3.54376L10.5562 4.53751C10.6687 4.63751 10.8 4.68751 10.95 4.68751C11.1 4.68751 11.2312 4.63751 11.3438 4.53751C11.4563 4.42501 11.5125 4.29051 11.5125 4.13401C11.5125 3.97801 11.4563 3.84376 11.3438 3.73126L9.46875 1.85626C9.40625 1.79376 9.3345 1.74676 9.2535 1.71526C9.172 1.68426 9.0875 1.66876 9 1.66876C8.9125 1.66876 8.82825 1.68426 8.74725 1.71526C8.66575 1.74676 8.59375 1.79376 8.53125 1.85626L6.65625 3.73126C6.54375 3.84376 6.4875 3.97501 6.4875 4.12501C6.4875 4.27501 6.54375 4.40626 6.65625 4.51876C6.76875 4.63126 6.9 4.68751 7.05 4.68751C7.2 4.68751 7.33125 4.63751 7.44375 4.53751L8.4375 3.54376V11.25C8.4375 11.4125 8.49075 11.5468 8.59725 11.6528ZM3.76875 16.4813C4.03125 16.7438 4.35 16.875 4.725 16.875H13.275C13.65 16.875 13.9688 16.7438 14.2313 16.4813C14.4938 16.2188 14.625 15.9 14.625 15.525V7.72501C14.625 7.35001 14.4938 7.03126 14.2313 6.76876C13.9688 6.50626 13.65 6.37501 13.275 6.37501H11.9062C11.7563 6.37501 11.625 6.42801 11.5125 6.53401C11.4 6.64051 11.3438 6.77501 11.3438 6.93751C11.3438 7.10001 11.4 7.23426 11.5125 7.34026C11.625 7.44676 11.7563 7.50001 11.9062 7.50001H13.275C13.325 7.50001 13.375 7.52501 13.425 7.57501C13.475 7.62501 13.5 7.67501 13.5 7.72501V15.525C13.5 15.575 13.475 15.625 13.425 15.675C13.375 15.725 13.325 15.75 13.275 15.75H4.725C4.675 15.75 4.625 15.725 4.575 15.675C4.525 15.625 4.5 15.575 4.5 15.525V7.72501C4.5 7.67501 4.525 7.62501 4.575 7.57501C4.625 7.52501 4.675 7.50001 4.725 7.50001H6.09375C6.24375 7.50001 6.375 7.44676 6.4875 7.34026C6.6 7.23426 6.65625 7.10001 6.65625 6.93751C6.65625 6.77501 6.6 6.64051 6.4875 6.53401C6.375 6.42801 6.24375 6.37501 6.09375 6.37501H4.725C4.35 6.37501 4.03125 6.50626 3.76875 6.76876C3.50625 7.03126 3.375 7.35001 3.375 7.72501V15.525C3.375 15.9 3.50625 16.2188 3.76875 16.4813Z",fill:u})):o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),o.createElement("path",{d:"M18.0011 21.75C17.2375 21.75 16.5881 21.4826 16.0529 20.9479C15.5176 20.4132 15.25 19.7639 15.25 19C15.25 18.8751 15.2599 18.7459 15.2798 18.6121C15.2997 18.4784 15.3295 18.3551 15.3692 18.2423L7.97305 13.9115C7.70895 14.1743 7.40831 14.3798 7.07113 14.5279C6.73394 14.6759 6.37689 14.75 5.99997 14.75C5.23609 14.75 4.58679 14.4827 4.05207 13.9482C3.51736 13.4137 3.25 12.7647 3.25 12.0011C3.25 11.2375 3.51736 10.5881 4.05207 10.0529C4.58679 9.51763 5.23609 9.25 5.99997 9.25C6.37689 9.25 6.73394 9.32403 7.07113 9.4721C7.40831 9.62018 7.70895 9.82563 7.97305 10.0885L15.3692 5.75768C15.3295 5.64486 15.2997 5.52157 15.2798 5.38783C15.2599 5.25409 15.25 5.12481 15.25 4.99998C15.25 4.23609 15.5173 3.58679 16.0518 3.05208C16.5863 2.51736 17.2353 2.25 17.9989 2.25C18.7624 2.25 19.4118 2.51725 19.9471 3.05175C20.4823 3.58625 20.75 4.23528 20.75 4.99885C20.75 5.76242 20.4826 6.41182 19.9479 6.94707C19.4132 7.48233 18.7639 7.74995 18 7.74995C17.6231 7.74995 17.266 7.67592 16.9288 7.52785C16.5916 7.37977 16.291 7.17432 16.0269 6.9115L8.63073 11.2423C8.67048 11.3551 8.70028 11.4782 8.72015 11.6115C8.74002 11.7447 8.74995 11.8736 8.74995 11.998C8.74995 12.1224 8.74002 12.2519 8.72015 12.3865C8.70028 12.5211 8.67048 12.6449 8.63073 12.7577L16.0269 17.0885C16.291 16.8256 16.5916 16.6202 16.9288 16.4721C17.266 16.324 17.6231 16.25 18 16.25C18.7639 16.25 19.4132 16.5173 19.9479 17.0518C20.4826 17.5863 20.75 18.2353 20.75 18.9989C20.75 19.7624 20.4827 20.4118 19.9482 20.9471C19.4137 21.4823 18.7647 21.75 18.0011 21.75ZM18 6.24998C18.3474 6.24998 18.6426 6.1285 18.8856 5.88555C19.1285 5.64258 19.25 5.34738 19.25 4.99995C19.25 4.65252 19.1285 4.35732 18.8856 4.11435C18.6426 3.87142 18.3474 3.74995 18 3.74995C17.6525 3.74995 17.3573 3.87143 17.1144 4.11438C16.8714 4.35734 16.75 4.65254 16.75 4.99998C16.75 5.34741 16.8714 5.64261 17.1144 5.88558C17.3573 6.12853 17.6525 6.24998 18 6.24998ZM5.99997 13.25C6.34741 13.25 6.64261 13.1285 6.88558 12.8856C7.12853 12.6426 7.25 12.3474 7.25 12C7.25 11.6525 7.12853 11.3573 6.88558 11.1144C6.64261 10.8714 6.34741 10.75 5.99997 10.75C5.65254 10.75 5.35734 10.8714 5.11438 11.1144C4.87143 11.3573 4.74995 11.6525 4.74995 12C4.74995 12.3474 4.87143 12.6426 5.11438 12.8856C5.35734 13.1285 5.65254 13.25 5.99997 13.25ZM18 20.25C18.3474 20.25 18.6426 20.1285 18.8856 19.8855C19.1285 19.6426 19.25 19.3474 19.25 19C19.25 18.6525 19.1285 18.3573 18.8856 18.1144C18.6426 17.8714 18.3474 17.75 18 17.75C17.6525 17.75 17.3573 17.8714 17.1144 18.1144C16.8714 18.3573 16.75 18.6525 16.75 19C16.75 19.3474 16.8714 19.6426 17.1144 19.8856C17.3573 20.1285 17.6525 20.25 18 20.25Z",fill:u}))},Eye,WhatsApp:l.W,ArrowRightTail:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:l,isActive:i,activeColor:s=n.r.colors.primaryBase}=e,c=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return o.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},d),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.747 4.228a.75.75 0 0 1 1.06 0L15.05 8.47a.75.75 0 0 1 0 1.06l-4.242 4.243a.75.75 0 0 1-1.06 0l-.065-.065a.75.75 0 0 1 0-1.06L12.58 9.75H2.777a.75.75 0 0 1 0-1.5h9.803L9.683 5.353a.75.75 0 0 1 0-1.061z",fill:l?"currentColor":i?s:a}))},Spinner:i.S,Cart:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:l,isActive:i,isSolid:s,activeColor:c=n.r.colors.primaryBase}=e,d=(0,r._)(e,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);let p=l?"currentColor":i?c:a,u=Object.assign({width:t,height:t},d);return s?o.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),o.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M5.296 4.25h13.885q.613 0 .928.522t.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:p})):o.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),o.createElement("path",{d:"M7.154 21.558q-.73 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24t1.24-.51q.729 0 1.24.51.51.51.51 1.24 0 .729-.51 1.24-.511.51-1.24.51m9.692 0q-.729 0-1.24-.51-.51-.511-.51-1.24 0-.73.51-1.24.511-.51 1.24-.51.73 0 1.24.51t.51 1.24-.51 1.24-1.24.51M6.016 5.75l2.534 5.308h6.817a.3.3 0 0 0 .154-.044.4.4 0 0 0 .116-.12l2.682-4.875q.058-.105.01-.187t-.164-.082zm-.72-1.5h13.885q.613 0 .928.522.315.523.03 1.066l-3.204 5.804a1.8 1.8 0 0 1-.651.674 1.7 1.7 0 0 1-.888.242H8.1l-1.158 2.115q-.077.115-.005.25.073.135.217.135h10.692q.32 0 .535.215a.73.73 0 0 1 .215.535.73.73 0 0 1-.215.534.73.73 0 0 1-.535.216H7.154q-1 0-1.503-.863-.503-.862-.036-1.722l1.427-2.565L3.404 3.75H2.25a.73.73 0 0 1-.535-.215A.73.73 0 0 1 1.5 3q0-.32.215-.535a.73.73 0 0 1 .535-.215h1.529a.9.9 0 0 1 .813.517z",fill:p}))},CartWithAdd:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:l,isActive:i,activeColor:s=n.r.colors.primaryBase}=e,c=(0,r._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return o.createElement("svg",Object.assign({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),o.createElement("path",{d:"M8.938 4.812H7.25a.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401q0-.24.161-.401a.55.55 0 0 1 .401-.162h1.688V2q0-.24.161-.4a.55.55 0 0 1 .401-.163q.24 0 .4.162a.55.55 0 0 1 .162.401v1.688h1.688q.24 0 .4.161a.55.55 0 0 1 .162.401q0 .24-.161.4a.55.55 0 0 1-.401.162h-1.687V6.5q0 .24-.162.4a.55.55 0 0 1-.401.162.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401zM5.865 16.668q-.546 0-.93-.383a1.27 1.27 0 0 1-.382-.93q0-.546.383-.929t.93-.383.929.383.383.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382m7.27 0q-.547 0-.93-.383a1.27 1.27 0 0 1-.383-.93q0-.546.383-.929t.93-.383.93.383.382.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382M3.053 3.312h-.865a.54.54 0 0 1-.401-.161.55.55 0 0 1-.162-.401q0-.24.162-.4a.55.55 0 0 1 .4-.162h1.158q.192 0 .36.1a.63.63 0 0 1 .25.287l2.946 6.218h5.113q.065 0 .115-.032a.3.3 0 0 0 .087-.09l2.618-4.702a.5.5 0 0 1 .198-.21.56.56 0 0 1 .28-.071q.324 0 .485.275.162.276.006.557L13.2 9.232a1.35 1.35 0 0 1-.489.505q-.303.18-.665.181H6.575l-.868 1.587q-.058.086-.004.187t.162.101h8.02q.239 0 .4.162a.55.55 0 0 1 .162.401q0 .24-.162.4a.55.55 0 0 1-.4.162h-8.02q-.75 0-1.133-.64-.383-.642-.02-1.298l1.07-1.924z",fill:l?"currentColor":i?s:a}))},Instagram:l.I,Comment,Heart,App:e=>{var{size:t=24}=e,a=(0,r._)(e,["size"]);return o.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("g",{filter:"url(#filter0_ii_4999_54706)"},o.createElement("g",{clipPath:"url(#clip0_4999_54706)"},o.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint0_linear_4999_54706)"}),o.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint1_linear_4999_54706)",fillOpacity:"0.1",style:{mixBlendMode:"soft-light"}}),o.createElement("g",{filter:"url(#filter1_dd_4999_54706)"},o.createElement("g",{filter:"url(#filter2_iii_4999_54706)"},o.createElement("path",{d:"M8.29654 5.80369C8.29654 5.73385 8.29164 5.65909 8.28674 5.58741C8.26897 5.09885 7.7883 4.73068 7.31988 4.75105C6.7678 4.78342 6.64904 5.55644 7.12136 5.78838C7.19304 5.82637 7.21326 5.85945 7.20591 5.92624C7.20591 7.21503 7.20591 8.68747 7.20591 9.96463C7.20897 10.0155 7.19304 10.0412 7.14403 10.0621C6.63928 10.2819 6.76454 11.0833 7.33029 11.1055C7.79695 11.1288 8.2587 10.7427 8.28674 10.2704C8.29225 10.1975 8.29654 10.1264 8.29654 10.0529C8.29654 8.63657 8.30751 7.21995 8.29654 5.80369Z",fill:"white"}),o.createElement("path",{d:"M5.82243 10.0756C5.73542 10.0376 5.70724 9.9892 5.71643 9.88994V5.89321C5.72399 5.80249 5.79924 5.80677 5.85797 5.76147C6.29273 5.47607 6.10792 4.76229 5.58102 4.7505H5.56264C5.0355 4.7505 4.62519 5.18725 4.62519 5.70572C4.62519 6.81951 4.62398 7.9333 4.62764 9.04708C4.62887 9.41974 4.63009 9.79178 4.63009 10.1638C4.63009 10.6593 5.0522 11.1037 5.551 11.1037C6.09448 11.1037 6.34155 10.3213 5.82243 10.0756Z",fill:"white"}),o.createElement("path",{d:"M11.6617 8.88498C11.6617 9.16044 11.4384 9.38373 11.163 9.38373C10.8875 9.38373 10.6642 9.16044 10.6642 8.88498C10.6642 8.60953 10.8875 8.38624 11.163 8.38624C11.4384 8.38624 11.6617 8.60953 11.6617 8.88498Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.94126 8.85689C8.94126 9.92678 9.68187 10.8247 10.6709 11.0511C10.6001 12.3176 9.03205 12.3769 8.09561 12.2273C7.87932 12.1918 7.68632 12.1312 7.52211 12.0472C7.29602 11.9302 7.13058 11.7464 7.03132 11.5025C6.98554 11.3893 6.95676 11.2689 6.90511 11.1582C6.81259 10.9419 6.58527 10.8255 6.36531 10.8812C6.13738 10.9376 5.98542 11.1361 5.99584 11.364C6.00973 11.6959 6.1497 12.0255 6.34754 12.2886C6.55647 12.5717 6.83342 12.7886 7.19431 12.9503C7.70348 13.182 8.26352 13.25 8.818 13.25C9.43767 13.25 10.0914 13.1443 10.6316 12.826C11.1461 12.5218 11.6323 12.1241 11.6422 11.0526C12.6346 10.8288 13.3785 9.92919 13.3785 8.85689C13.3785 7.61676 12.3835 6.60762 11.1599 6.60762C9.9363 6.60762 8.94126 7.61676 8.94126 8.85689ZM12.3614 8.85689C12.3614 9.52965 11.8222 10.0768 11.1599 10.0768C10.4969 10.0768 9.95836 9.52965 9.95836 8.85689C9.95836 8.18413 10.4976 7.63697 11.1599 7.63697C11.8228 7.63759 12.3614 8.18474 12.3614 8.85689Z",fill:"white"})),o.createElement("mask",{id:"mask0_4999_54706",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"10",height:"10"},o.createElement("path",{d:"M8.29654 5.80369C8.29654 5.73385 8.29164 5.65909 8.28674 5.58741C8.26897 5.09885 7.7883 4.73068 7.31988 4.75105C6.7678 4.78342 6.64904 5.55644 7.12136 5.78838C7.19304 5.82637 7.21326 5.85945 7.20591 5.92624C7.20591 7.21503 7.20591 8.68747 7.20591 9.96463C7.20897 10.0155 7.19304 10.0412 7.14403 10.0621C6.63928 10.2819 6.76454 11.0833 7.33029 11.1055C7.79695 11.1288 8.2587 10.7427 8.28674 10.2704C8.29225 10.1975 8.29654 10.1264 8.29654 10.0529C8.29654 8.63657 8.30751 7.21995 8.29654 5.80369Z",fill:"white"}),o.createElement("path",{d:"M5.82243 10.0756C5.73542 10.0376 5.70724 9.9892 5.71643 9.88994V5.89321C5.72399 5.80249 5.79924 5.80677 5.85797 5.76147C6.29273 5.47607 6.10792 4.76229 5.58102 4.7505H5.56264C5.0355 4.7505 4.62519 5.18725 4.62519 5.70572C4.62519 6.81951 4.62398 7.9333 4.62764 9.04708C4.62887 9.41974 4.63009 9.79178 4.63009 10.1638C4.63009 10.6593 5.0522 11.1037 5.551 11.1037C6.09448 11.1037 6.34155 10.3213 5.82243 10.0756Z",fill:"white"}),o.createElement("path",{d:"M11.6617 8.88498C11.6617 9.16044 11.4384 9.38373 11.163 9.38373C10.8875 9.38373 10.6642 9.16044 10.6642 8.88498C10.6642 8.60953 10.8875 8.38624 11.163 8.38624C11.4384 8.38624 11.6617 8.60953 11.6617 8.88498Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.94126 8.85689C8.94126 9.92678 9.68187 10.8247 10.6709 11.0511C10.6001 12.3176 9.03205 12.3769 8.09561 12.2273C7.87932 12.1918 7.68632 12.1312 7.52211 12.0472C7.29602 11.9302 7.13058 11.7464 7.03132 11.5025C6.98554 11.3893 6.95676 11.2689 6.90511 11.1582C6.81259 10.9419 6.58527 10.8255 6.36531 10.8812C6.13738 10.9376 5.98542 11.1361 5.99584 11.364C6.00973 11.6959 6.1497 12.0255 6.34754 12.2886C6.55647 12.5717 6.83342 12.7886 7.19431 12.9503C7.70348 13.182 8.26352 13.25 8.818 13.25C9.43767 13.25 10.0914 13.1443 10.6316 12.826C11.1461 12.5218 11.6323 12.1241 11.6422 11.0526C12.6346 10.8288 13.3785 9.92919 13.3785 8.85689C13.3785 7.61676 12.3835 6.60762 11.1599 6.60762C9.9363 6.60762 8.94126 7.61676 8.94126 8.85689ZM12.3614 8.85689C12.3614 9.52965 11.8222 10.0768 11.1599 10.0768C10.4969 10.0768 9.95836 9.52965 9.95836 8.85689C9.95836 8.18413 10.4976 7.63697 11.1599 7.63697C11.8228 7.63759 12.3614 8.18474 12.3614 8.85689Z",fill:"white"})),o.createElement("g",{mask:"url(#mask0_4999_54706)"},o.createElement("g",{filter:"url(#filter3_f_4999_54706)"},o.createElement("ellipse",{cx:"7.36076",cy:"7.31848",rx:"0.28125",ry:"0.421875",transform:"rotate(30 7.36076 7.31848)",fill:"white"})),o.createElement("g",{filter:"url(#filter4_f_4999_54706)"},o.createElement("rect",{x:"6.71875",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),o.createElement("g",{filter:"url(#filter5_f_4999_54706)"},o.createElement("rect",{x:"10.4688",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),o.createElement("g",{filter:"url(#filter6_f_4999_54706)"},o.createElement("ellipse",{cx:"10.267",cy:"7.50598",rx:"0.28125",ry:"0.421875",transform:"rotate(-30 10.267 7.50598)",fill:"white"}))))),o.createElement("rect",{x:"0.5",y:"0.5",width:"17",height:"17",rx:"2.5",stroke:"white"})),o.createElement("defs",null,o.createElement("filter",{id:"filter0_ii_4999_54706",x:"-0.191927",y:"-0.191927",width:"18.3839",height:"18.3839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dx:"0.191927",dy:"0.191927"}),o.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),o.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),o.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dx:"-0.191927",dy:"-0.191927"}),o.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),o.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),o.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"})),o.createElement("filter",{id:"filter1_dd_4999_54706",x:"2.375",y:"4.18774",width:"13.2539",height:"12.9998",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dy:"0.375"}),o.createElement("feGaussianBlur",{stdDeviation:"0.375"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),o.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4999_54706"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dy:"1.6875"}),o.createElement("feGaussianBlur",{stdDeviation:"1.125"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),o.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_4999_54706",result:"effect2_dropShadow_4999_54706"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_4999_54706",result:"shape"})),o.createElement("filter",{id:"filter2_iii_4999_54706",x:"4.25",y:"3.81274",width:"9.31641",height:"9.43726",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dx:"-0.375",dy:"-0.9375"}),o.createElement("feGaussianBlur",{stdDeviation:"0.9375"}),o.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0582292 0 0 0 0 0.132925 0 0 0 0 0.325 0 0 0 0.25 0"}),o.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dx:"0.1875",dy:"-0.375"}),o.createElement("feGaussianBlur",{stdDeviation:"0.1875"}),o.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.45 0"}),o.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"}),o.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.createElement("feOffset",{dx:"-0.1875",dy:"-0.9375"}),o.createElement("feGaussianBlur",{stdDeviation:"0.46875"}),o.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),o.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.766667 0 0 0 0 0.888 0 0 0 0 1 0 0 0 1 0"}),o.createElement("feBlend",{mode:"normal",in2:"effect2_innerShadow_4999_54706",result:"effect3_innerShadow_4999_54706"})),o.createElement("filter",{id:"filter3_f_4999_54706",x:"6.55924",y:"6.44706",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),o.createElement("filter",{id:"filter4_f_4999_54706",x:"6.23893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),o.createElement("filter",{id:"filter5_f_4999_54706",x:"9.98893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),o.createElement("filter",{id:"filter6_f_4999_54706",x:"9.46549",y:"6.63456",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),o.createElement("linearGradient",{id:"paint0_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#65B5FF"}),o.createElement("stop",{offset:"1",stopColor:"#2685F1"})),o.createElement("linearGradient",{id:"paint1_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{offset:"0.151042",stopColor:"white"}),o.createElement("stop",{offset:"1",stopOpacity:"0.1"})),o.createElement("clipPath",{id:"clip0_4999_54706"},o.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"white"}))))},Save,Bookmark}},PFel:function(e,t,a){a.d(t,{L:function(){return Loading}});var r=a("q1tI"),o=a("FUIV"),n=a("LB4I");let Loading=({className:e,size:t="md"})=>{let{t:a}=(0,o.u)();return r.createElement("div",{className:`PD6nRZX ${e}`},r.createElement(n.B,{size:t,color:"transparent",isLoading:!0},a("loading")))}},VKLa:function(e,t,a){a.d(t,{M:function(){return Modal}});var r=a("q1tI"),o=a("aCDL"),n=a("i8i4"),l=a("rBCA"),i=a("JIuZ"),s=a("gEnE"),c=a("iBNF");let d=(0,s.Z)(l.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=l.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; ${i.M.mbDown} { width: 340px; } } } &[data-type='video'] { ${d.classSelector} { height: 100%; max-height: 539px; ${i.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; ${i.M.mbDown} { width: calc(100% - 32px); max-width: calc(100% - 32px); } } } `,u=l.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}; } `,h="hhg-modals",getModalsRoot=()=>{let e=document.getElementById(h);return e||((e=document.createElement("div")).setAttribute("id",h),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:l,children:i,className:s="",animationType:c="scaleUp",isStaticBackdrop:h=!1,siteType:m})=>{let[g,f]=(0,r.useState)(!1),v=(0,r.useRef)(null),{width:C}=(0,o.u)();if(!v.current&&g&&(v.current=document.createElement("div")),(0,r.useEffect)(()=>(f(!0),()=>{f(!1),cleanUpModalShow(),cleanUpDisabledScroll()}),[]),(0,r.useEffect)(()=>{if(g){let e=getModalsRoot();return e.appendChild(v.current),()=>{e.removeChild(v.current)}}},[g]),(0,r.useEffect)(()=>{a?document.body.classList.add("hhc-modal-show"):cleanUpModalShow()},[a]),(0,r.useEffect)(()=>{a?(document.body.style.overflow="hidden",document.body.style.paddingRight=C+"px",document.body.classList.add("hhc-disabled-scroll")):cleanUpDisabledScroll()},[a,C]),!g)return null;let b=["hhg-modal__wrapper",s,c].filter(e=>e).join(" ");return(0,n.createPortal)(r.createElement(p,{className:b,"data-open":a,"data-type":e},!h&&r.createElement(u,{"data-open":a,onClick:l,"data-type":e}),!h&&"video"===e&&!!t&&r.createElement("div",{className:"hhg-modal__close",onClick:l},t),r.createElement(d,{className:"hhg-modal","data-open":a,"data-site-type":m},r.createElement("div",{className:"video"===e?"hhg-modal__video":"hhg-modal__content"},!!t&&"video"!==e&&r.createElement("div",{className:"hhg-modal__close",onClick:l},t),i))),v.current)}},siZ3:function(e,t,a){a.r(t),a.d(t,{ProfileChatbot:function(){return ProfileChatbot},TabDataInit:function(){return y},TabName:function(){return n},UserType:function(){return l}});var r,o,n,l,i=a("Kz+G"),s=a("q1tI"),c=a("b97I"),d=a("PFel"),p=a("0aZv"),u=a("IQVP"),h=a("7m0Y"),m=a("WedE"),g=a("vWP/"),f=a("4JiQ"),v=a("udpS"),C=a("NbaP");a("JIJ2"),a("NmYn"),a("gY0P"),a("Wgwc"),a("QgiU"),a("rBCA");let b=(0,s.createContext)({}),Faqs=({faqs:e})=>{let[t,a]=(0,s.useState)([]),handleClick=e=>{if(t.includes(e)){let r=t.filter(t=>t!==e);a(r)}else a(t=>[...t,e])};return s.createElement("div",{className:"_0NhMo6T"},e.map((e,a)=>{let r=t.includes(a);return s.createElement("div",{className:"nrZtZ-u",key:a},s.createElement("div",{className:"faq-item",onClick:()=>handleClick(a)},s.createElement("div",{className:"faq-question",dangerouslySetInnerHTML:{__html:e.question||""}}),r?s.createElement(m.Z,null):s.createElement(g.Z,null)),s.createElement(f.U,{in:r,className:"faq-answer"},s.createElement("div",{dangerouslySetInnerHTML:{__html:e.answer||""}})))}))};var x={container:"_2ugC2Ll",body:"CCwRHCd",description:"RF63WXG",cardAuthorWrapper:"PIaeC0v"};let formatExperience=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},formatEducation=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};(r=n||(n={}))[r.About=0]="About",r[r.Care=1]="Care",r[r.Answer=2]="Answer",r[r.Posts=3]="Posts",(o=l||(l={}))[o.Expert=0]="Expert",o[o.User=1]="User";let y={experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileChatbot=e=>{var{authorProps:t,authActionWrapper:a,onSkipQuestion:r,onCloseFromPost:o,onChatWithBot:n,showSkipQuestionTag:l,currentPageUrl:m}=e,g=(0,i._)(e,["authorProps","authActionWrapper","onSkipQuestion","onCloseFromPost","onChatWithBot","showSkipQuestionTag","currentPageUrl"]);let{data:{locale:f,userInfo:y,env:{isMarryBaby:E}}}=(0,s.useContext)(h.T),w=String(null==t?void 0:t.userId),[k,_]=(0,s.useState)(),[B,j]=(0,s.useState)(!1),[O,S]=(0,s.useState)(),[L,I]=(0,s.useState)([]),[M,P]=(0,s.useState)(""),F=(null==y?void 0:y._togetherUserId)===(null==t?void 0:t.userId),[T,z]=(0,s.useState)(1),A={value:String(T),dataList:[{value:"1",text:"FAQs",content:s.createElement(Faqs,{faqs:L})}],onTabChange:e=>z(Number(e))};return(0,s.useEffect)(()=>{(0,i.a)(void 0,void 0,void 0,function*(){var e,t,a,r,o,n,l,i,s,c,d;j(!0);let m=yield Promise.all([(0,h.c)((0,h.f)(u.yy.USER.DETAIL,{_locale:f,id:w}),"GET"),(0,h.c)((0,h.f)(u.yy.CHATBOT.PROFILE,{_locale:f}),"GET"),(0,h.c)((0,h.f)(u.yy.CHATBOT.FAQS_LIST,{_locale:f}),"GET")]),[g,v,C]=m,b={data:null==g?void 0:g.data,experiences:((null===(t=null===(e=null==g?void 0:g.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(formatExperience),relatedPosts:((null===(a=null==g?void 0:g.data)||void 0===a?void 0:a.related_post)||[]).map(e=>(0,p.f)(e.post)),educations:((null===(o=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.fields)||void 0===o?void 0:o.educations)||[]).map(formatEducation),awards:(null===(l=null===(n=null==g?void 0:g.data)||void 0===n?void 0:n.fields)||void 0===l?void 0:l.awards_accreditations)||[],contact:(null===(s=null===(i=null==g?void 0:g.data)||void 0===i?void 0:i.fields)||void 0===s?void 0:s.contact)||{}};(null==g?void 0:g.status)===1&&S(b),I((null===(c=null==C?void 0:C.data)||void 0===c?void 0:c.faqs)||[]),P((null===(d=null==v?void 0:v.data)||void 0===d?void 0:d.description)||""),j(!1)})},[]),s.createElement(b.Provider,{value:{isMarryBaby:E,siteType:E?"marryBaby":"helloSites",authorId:String((null==t?void 0:t.userId)||""),authActionWrapper:a,onSkipQuestion:r,info:O,authorProps:t,onCloseFromPost:o,countValues:k,setCountValues:_,isAuthorLogin:F,showSkipQuestionTag:l,currentPageUrl:m}},s.createElement("div",Object.assign({},g,{className:`${x.container} ${(null==g?void 0:g.className)||""}`,"data-is-marrybaby":E}),B?s.createElement(d.L,null):s.createElement(s.Fragment,null,s.createElement("div",{className:x.cardAuthorWrapper},s.createElement(v.C,Object.assign({},t,{className:"card-author",showDetailPopup:!1,showChatbotButton:f===C.L.Vietnam,onChatWithBot:n}))),s.createElement("div",{className:x.description,dangerouslySetInnerHTML:{__html:M}}),L.length>0&&s.createElement("div",{className:x.body},s.createElement(c.T,Object.assign({},A))))))}},pMur:function(e,t,a){a.d(t,{T:function(){return d}});var r=a("Kz+G"),o=a("q1tI"),n=a("/npG"),l=a("8vDj"),i=a("TIp3"),s=a("YXre"),c=(0,n.k)((e,t)=>{var a,r,o,n,l,i,c,d,p,u;let h=s.a[null==t?void 0:t.customStylesType]||s.a[s.C.NONE],m=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(r=h.lineHeight[null==t?void 0:t.size])||void 0===r?void 0:r[0],f=null!==(l=null===(n=null===(o=h.letterSpacing)||void 0===o?void 0:o[null==t?void 0:t.size])||void 0===n?void 0:n[0])&&void 0!==l?l:0,v=null===(i=h.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],C=null===(c=h.lineHeight[null==t?void 0:t.size])||void 0===c?void 0:c[1],b=null!==(u=null===(p=null===(d=h.letterSpacing)||void 0===d?void 0:d[null==t?void 0:t.size])||void 0===p?void 0:p[1])&&void 0!==u?u:0;return{root:Object.assign({},(null==t?void 0:t.size)&&{fontWeight:(null==t?void 0:t.as)==="label"?s.F.semiBold:h.fontWeight[t.weight]||h.fontWeightBySize[null==t?void 0:t.size]||s.F.regular,fontSize:`${m}`,lineHeight:`${g}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${v}`,lineHeight:`${C}`,letterSpacing:b}})}});let d=(0,o.forwardRef)((e,t)=>{var a,{size:n,color:d,weight:p,as:u="p",styles:h,className:m,dataEventCategory:g,dataEventAction:f,dataEventLabel:v,variant:C}=e,b=(0,r._)(e,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel","variant"]);let x=(0,l.rZ)(),y=(0,s.u)(),{classes:E,cx:w}=c({size:n,weight:"caption"===p?"bold":p,as:u,customStylesType:y},{name:"Text",styles:h}),k="string"==typeof x.colors[d]?x.colors[d]:d;return o.createElement(i.x,Object.assign({"data-size":n,className:w(E.root,m),color:k||("label"===u?x.colors.gray[6]:(null===(a=null==x?void 0:x.other)||void 0===a?void 0:a.template)==="mb"?x.colors.delftGray[7]:void 0)||("primary"===C?x.colors.gray[9]:"secondary"===C?x.colors.gray[7]:"tertiary"===C?x.colors.gray[4]:"disabled"===C?x.colors.gray[3]:"error"===C?x.colors.red[6]:"success"===C?x.colors.green[6]:void 0)||x.colors.gray[7],component:u,"data-event-category":g,"data-event-action":f,"data-event-label":v,classNames:{root:Object.assign(Object.assign({},b.wordWrap?{"word-wrap":b.wordWrap}:void 0),b.isUppercase||"caption"===p?{"text-transform":"uppercase"}:void 0)},ref:t},b))})},"0rTm":function(e,t,a){a.d(t,{M:function(){return MarryBabyText},a:function(){return MarryBabyHeading}});var r=a("Kz+G"),o=a("q1tI"),n=a("rBCA"),l=a("iBNF");let i=(0,n.Z)(e=>{var{type:t}=e,a=(0,r._)(e,["type"]);return o.createElement(t,a)})` color: var(--text-color, ${l.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=n.Z.p` color: var(--text-color, ${l.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:n}=e,l=(0,r._)(e,["type","color","style"]);return o.createElement(i,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}),n)},l))},MarryBabyText=e=>{var{type:t,color:a,style:n}=e,l=(0,r._)(e,["type","color","style"]);return o.createElement(s,Object.assign({"data-type":t,style:Object.assign(Object.assign({},n),a&&{"--text-color":a})},l))}},owbS:function(e,t,a){a.d(t,{H:function(){return HealthToolCardWrapper},T:function(){return ToolsBannerCard}});var r=a("Kz+G"),o=a("q1tI"),n=a("/npG"),l=a("mYVa"),i=a("8vDj"),s=a("Eso5"),c=a("SPK5"),d=a("vaps"),p=a("CmQM"),u=a("UlxI"),h=a("pMur"),m=a("YXre"),g=a("FUIV"),f=a("JIuZ"),v=a("w8hz");let C=(0,n.k)((e,{isRevamp:t,isPregTool:a,bannerColor:r,isMarryBaby:o})=>({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",gap:(0,l.h)(24),alignItems:"center",justifyContent:"space-between",padding:(0,l.h)(16),[e.fn.smallerThan("sm")]:{gap:(0,l.h)(12)}},container:{width:"100%",backgroundColor:r||(o?e.colors.mb[1]:a?e.colors.pink[1]:e.colors.blue[1]),position:"relative",display:"flex",gap:24,alignItems:"center",justifyContent:"space-between",padding:(0,l.h)(16),[e.fn.smallerThan("sm")]:{padding:`${(0,l.h)(12)} ${(0,l.h)(16)}`},a:{textDecoration:"none",color:"inherit"},'&[data-site="marryBaby"]':{a:{textDecoration:"underline"},[f.M.mbDown]:{paddingBottom:0}},[f.M.tdDown]:{height:"auto",".hhgcomp-toolbanner-wrapper":{".hhgcomp-toolbanner-inner":{display:"flex",alignItems:"center",[f.M.mbDown]:{justifyContent:"space-between"},".hhgcomp-toolbanner-iconcontainer":{position:"relative",right:(0,l.h)(-50),bottom:(0,l.h)(-20),width:(0,l.h)(110),minWidth:0,height:"auto",minHeight:0,alignSelf:"flex-end",marginBottom:(0,l.h)(-20),[f.M.mbDown]:{right:"unset"}}}}},".embedded-review":{gap:(0,l.h)(12),display:"flex",alignItems:"center"},".embedded-review__avatar":{position:"relative",minWidth:(0,l.h)(32),img:{width:(0,l.h)(32),height:(0,l.h)(32),display:"block",borderRadius:"100%"},svg:{bottom:0,right:0,position:"absolute"}}},headingWrapper:{display:"flex",flexDirection:"column",gap:t?(0,l.h)(8):0,[e.fn.smallerThan("sm")]:{gap:4}},avatarWrapper:{position:"relative",img:{maxWidth:(0,l.h)(48),maxHeight:(0,l.h)(48)},".embedded-review__avatar":{position:"relative"}},reviewText:{a:{textDecoration:"underline",textUnderlineOffset:"2px"}},iconWrapper:{display:"flex",justifyContent:"center",alignItems:"center",width:(0,l.h)(80),height:(0,l.h)(80),borderRadius:"50%",backgroundColor:"#fff",flexShrink:0,img:{maxWidth:(0,l.h)(48),maxHeight:(0,l.h)(48)},[e.fn.smallerThan("sm")]:{width:(0,l.h)(64),height:(0,l.h)(64),img:{maxWidth:(0,l.h)(40),maxHeight:(0,l.h)(40)}}},heading:{},disclaimerIcon:{flexShrink:0}})),ToolsBannerCard=e=>{var{className:t,classNames:a,heading:n,bannerColor:l,medicalReview:d={link:"#",reviewer:"",date:""},icon:m,style:f,isPregTool:v,isRevamp:b,disclaimer:x,styles:y}=e,E=(0,r._)(e,["className","classNames","heading","bannerColor","medicalReview","icon","style","isPregTool","isRevamp","disclaimer","styles"]);let{t:w}=(0,g.u)(),k=(0,i.rZ)(),_="mb"===k.other.template,B=_?"marryBaby":"helloSites",{classes:j,cx:O}=C({isRevamp:b,isPregTool:v,bannerColor:l,isMarryBaby:_},{name:"ToolsBannerCard",styles:y,classNames:a}),S=(null==d?void 0:d.reviewer)?o.createElement(h.T,{size:"label2",as:"div",className:j.reviewText},d.avatar&&o.createElement("div",{className:"embedded-review__avatar"},o.createElement(s.x,{className:j.avatarWrapper},o.createElement("img",{src:d.avatar,alt:d.reviewer,loading:"lazy"}),o.createElement(u.Z,{size:14}))),o.createElement("div",{dangerouslySetInnerHTML:{__html:w("toolPage.toolReviewer",{expert_name:`${d.reviewer.trim()}`,date:d.date})}})):null;return o.createElement(s.x,Object.assign({className:O(t,j.container),style:f,"data-site":B},E),o.createElement(c.k,{className:j.headingWrapper},o.createElement(h.T,{className:O(j.heading,"heading"),size:"h4",as:"h2"},n),S&&o.createElement(h.T,{size:"n1"},S),x&&o.createElement(c.k,{gap:4},o.createElement(p.Z,{size:16,color:k.colors.yellow[8],className:j.disclaimerIcon}),o.createElement(h.T,{size:"c1",variant:"secondary"},x))),o.createElement(c.k,{className:j.iconWrapper},m))};var b=(0,n.k)(()=>({root:{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}})),x=(0,n.k)(e=>({root:{paddingTop:16,borderRadius:"inherit",[e.fn.smallerThan("sm")]:{paddingTop:8}}})),y=(0,n.k)((e,{isPregTool:t,variant:a})=>{let r="mb"===e.other.template;return{root:Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",borderRadius:(0,l.h)(r?16:8)},"default"===a&&{backgroundColor:"#fff",border:`1px solid ${r?e.colors.mb[2]:t?e.colors.pink[1]:e.colors.blue[2]}`}),"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]}),submitBtn:{},bodyWrapper:{},scrollAreaWrapper:{},bannerWrapper:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:"transparent",padding:`${(0,l.h)(16)} ${(0,l.h)(16)} 0`}),"violet"===a&&{backgroundColor:"transparent",padding:`${(0,l.h)(16)} ${(0,l.h)(16)} 0`}),bannerHeading:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,l.h)(20),lineHeight:(0,l.h)(28),fontWeight:m.F.semiBold,[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(17),lineHeight:(0,l.h)(24)}}),bannerReviewText:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,l.h)(14),lineHeight:(0,l.h)(22),[e.fn.smallerThan("sm")]:{fontSize:(0,l.h)(12),lineHeight:(0,l.h)(18)}}),submitWrapper:Object.assign(Object.assign({[e.fn.smallerThan("sm")]:{button:{width:"100%"}},[e.fn.largerThan("sm")]:{textAlign:"right"}},"gray"===a&&{backgroundColor:e.colors.neutral[0],button:{marginTop:10}}),"violet"===a&&{backgroundColor:e.colors.violet[0],button:{marginTop:10}}),newsletterBlock:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]})}});let HealthToolCardWrapper=e=>{var{children:t,styles:a,classNames:n,className:l,isPregTool:i,variant:c="default",hasBodyScroll:d}=e,p=(0,r._)(e,["children","styles","classNames","className","isPregTool","variant","hasBodyScroll"]);let{classes:u,cx:h}=y({isPregTool:i,variant:c},{name:"HealthToolCardWrapper",styles:a,classNames:n});return o.createElement(m.T,{variant:m.C.LEADGEN},o.createElement(v.C.Provider,{value:{isPregTool:i,classes:u,variant:c,hasBodyScroll:d}},o.createElement(s.x,Object.assign({className:h(l,u.root)},p),t)))};HealthToolCardWrapper.Body=e=>{var{children:t,className:a,styles:n,classNames:l}=e,i=(0,r._)(e,["children","className","styles","classNames"]);let{classes:c,hasBodyScroll:p}=(0,o.useContext)(v.C),{classes:u,cx:h}=x(void 0,{name:"HealthToolCardWrapper__Body",styles:n,classNames:l});return o.createElement(s.x,Object.assign({className:h(a,u.root,c.bodyWrapper)},i),p?o.createElement(d.x,{h:"100%",type:"auto",scrollbarSize:8,className:c.scrollAreaWrapper},t):t)},HealthToolCardWrapper.Banner=e=>{var{className:t,classNames:a,styles:n}=e,l=(0,r._)(e,["className","classNames","styles"]);let{classes:i}=(0,o.useContext)(v.C),{isPregTool:s}=(0,o.useContext)(v.C),{classes:c,cx:d}=b(void 0,{name:"HealthToolCardWrapper__Banner",classNames:a,styles:n});return o.createElement(ToolsBannerCard,Object.assign({isPregTool:s,classNames:{container:i.bannerWrapper,heading:i.bannerHeading,reviewText:i.bannerReviewText},className:d(t,c.root)},l))}},"7KS+":function(e,t,a){a.d(t,{O:function(){return OvulationForm}});var r,o,n=a("Kz+G"),l=a("q1tI"),i=a("/npG"),s=a("mYVa"),c=a("iuhU"),d=a("8vDj"),p=a("cChf"),u=a("ZFu2"),h=a("QUW8"),m=a("H1c6"),g=a("3tAZ"),f=a("pMur"),v=a("FUIV"),C=a("w8hz"),b=a("+aod"),x=a("fkrl");let AvoidPregnancy=e=>{var{isMarryBaby:t,size:a=24}=e,r=(0,n._)(e,["isMarryBaby","size"]);let o=Object.assign({width:a,height:a},r);return t?l.createElement("svg",Object.assign({viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),l.createElement("path",{d:"M16.5 27.133c1.298 0 2.596-.149 3.868-.447a9.15 9.15 0 0 0 6.818-6.818 16.94 16.94 0 0 0 0-7.736 9.15 9.15 0 0 0-6.818-6.818 16.94 16.94 0 0 0-7.736 0 9.15 9.15 0 0 0-6.818 6.818A17 17 0 0 0 5.367 16a.867.867 0 0 1-1.734 0c0-1.43.165-2.862.494-4.264a10.88 10.88 0 0 1 8.109-8.11 18.7 18.7 0 0 1 8.528 0 10.88 10.88 0 0 1 8.11 8.11 18.7 18.7 0 0 1 0 8.528 10.88 10.88 0 0 1-8.11 8.11 18.7 18.7 0 0 1-4.264.493.867.867 0 0 1 0-1.734",fill:"#3E3F58"}),l.createElement("path",{d:"M12.5 16a4 4 0 1 1 8 0 4 4 0 0 1-8 0",fill:"#fff"}),l.createElement("path",{d:"M11.633 16a4.867 4.867 0 1 1 9.734 0 4.867 4.867 0 0 1-9.734 0m4.867-3.133a3.133 3.133 0 1 0 0 6.266 3.133 3.133 0 0 0 0-6.266m-4 9.8a2.667 2.667 0 1 1-5.333 0 2.667 2.667 0 0 1 5.333 0",fill:"#3E3F58"}),l.createElement("path",{d:"M10.305 22.195c.26.26.26.683 0 .943l-1.91 1.91c-.36.36-.562.847-.562 1.355a3.25 3.25 0 0 1-1.796 2.907l-1.239.62a.667.667 0 1 1-.596-1.193l1.238-.62a1.92 1.92 0 0 0 1.06-1.714c0-.862.342-1.688.952-2.298l1.91-1.91c.26-.26.682-.26.943 0",fill:"#3E3F58"}),l.createElement("path",{d:"M3.874 4.788a1 1 0 0 1 1.414-1.414l23.099 23.098a1 1 0 1 1-1.415 1.415z",fill:"#E85388"})):l.createElement("svg",Object.assign({viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),l.createElement("g",{clipPath:"url(#clip0_1530_7251)"},l.createElement("path",{d:"M8.983 10.87a.23.23 0 0 1 .049-.16c.08-.114.156-.229.207-.36.1-.166.168-.348.233-.528.246-.668.397-1.36.508-2.062.036-.235.076-.471.09-.71.065-.511.101-1.024.095-1.541.004-.015.011-.03.011-.044a13 13 0 0 0-.089-1.62c-.023-.196-.093-.335-.298-.406-.293-.1-.48-.316-.568-.615a2.7 2.7 0 0 0-.217-.566c-.123-.222-.29-.391-.54-.47-.057-.018-.088-.016-.106.052q-.045.165-.073.336c-.005.044 0 .058.048.058q.122.005.244.017c.127.009.21.09.202.196-.011.111-.108.179-.239.166-.065-.007-.133-.009-.198-.016-.058-.008-.077.016-.067.072q.027.165.052.332c.006.043.031.053.07.053.078 0 .147-.03.218-.057.104-.042.2-.004.242.093.04.09.004.187-.093.235-.13.063-.27.113-.411.085a.23.23 0 0 0-.235.077c-.04-.084-.106-.146-.167-.211-.46-.475-.55-1.194-.235-1.82.18-.359.45-.627.828-.776A.4.4 0 0 0 8.69.595c.33-.317.734-.477 1.172-.55.641-.11 1.25-.024 1.819.3.41.233.728.566.942.983.131.253.188.535.246.814.16.762.233 1.538.293 2.313q.108 1.411.213 2.826c.055.712.13 1.422.24 2.128.066.428.175.846.26 1.27.097.479.039.941-.24 1.358a1.2 1.2 0 0 1-.517.428c-.163.05-.327.105-.491.155-.178.052-.302-.059-.268-.239a4.6 4.6 0 0 0 .077-.72 13.6 13.6 0 0 0-.133-2.225c-.03-.196-.055-.395-.087-.591-.07-.43-.151-.857-.257-1.28l-.015-.07a16 16 0 0 0-.282-1.03c-.012-.039-.025-.079-.076-.075-.038.003-.053.034-.058.07l-.146 1.105c-.05.219-.094.437-.158.652a5.5 5.5 0 0 1-.806 1.654l-.091.113c-.308.382-.654.719-1.094.95-.122.06-.177.048-.252-.063",fill:"#1B3250"}),l.createElement("path",{d:"M12.304 9.435c.1.737.154 1.477.133 2.224a4.6 4.6 0 0 1-.077.72c-.034.182.09.293.268.239q.246-.075.491-.155c.053.226.126.448.17.675q.09.452.129.912c.025.302.043.603.032.905q-.015.483-.065.964a14 14 0 0 1-.299 1.707c-.02.086-.045.17-.065.255-.02.09-.068.12-.16.12L8.789 18H7.781c-.111 0-.117-.011-.13-.124a3 3 0 0 0-.361-1.121c-.132-.235-.297-.448-.415-.692a3.14 3.14 0 0 1-.324-1.521c.233.07.418.001.571-.184q.236-.281.477-.559c.07-.08.136-.164.244-.193.315-.087.631-.166.94-.262.665-.207 1.324-.43 1.917-.804.251-.159.475-.344.595-.63.237-.564.415-1.147.592-1.733.085-.28.184-.55.417-.742",fill:"#2D87F3"}),l.createElement("path",{d:"M12.304 9.435c-.233.194-.33.462-.413.74-.177.585-.355 1.169-.592 1.733-.12.286-.344.471-.595.63-.593.375-1.254.597-1.916.804-.312.097-.628.177-.941.262-.11.031-.177.113-.244.193q-.24.277-.477.559c-.153.184-.34.253-.571.184a.87.87 0 0 1-.44-.54.64.64 0 0 1 .045-.503 1 1 0 0 0 .094-.31.47.47 0 0 1 .392-.405c.132-.03.269-.039.404-.053a.4.4 0 0 0 .114-.024c.115-.009.21-.069.31-.12.322-.167.646-.328.966-.497q.586-.308 1.192-.571a.78.78 0 0 0 .473-.524q.09-.305.177-.608c.047-.171.113-.337.14-.514a5.5 5.5 0 0 0 .806-1.654c.064-.215.108-.433.159-.652a.63.63 0 0 1 .342-.054c.08.013.156.036.237.054.105.423.187.85.256 1.28q.039.292.082.59m-4.19-5.947a.23.23 0 0 1 .235-.076c.142.025.282-.022.411-.086.097-.047.133-.143.093-.234-.042-.095-.138-.133-.242-.093-.071.027-.14.056-.218.056-.039 0-.062-.009-.07-.053q-.024-.165-.052-.33-.017-.082.067-.074c.066.008.133.01.198.017.131.013.228-.053.239-.166.01-.105-.073-.187-.202-.196-.082-.006-.162-.015-.244-.017-.046 0-.053-.014-.047-.058.016-.115.043-.224.072-.337.017-.067.05-.069.106-.05.25.078.417.247.54.469.1.178.16.371.217.566.087.298.273.515.568.615.206.07.275.21.298.406.066.539.091 1.08.09 1.62 0 .014-.008.029-.011.043-.272-.016-.525.075-.783.133a1.4 1.4 0 0 1-.513.031.5.5 0 0 1-.433-.36 2.3 2.3 0 0 1-.091-.46c.154-.024.309-.048.451-.124.1-.055.135-.148.09-.242a.18.18 0 0 0-.24-.084 1 1 0 0 1-.376.087 1.3 1.3 0 0 0-.326-.482c-.096-.093-.096-.215-.013-.319.06-.07.126-.134.186-.202",fill:"#FCCAAF"}),l.createElement("path",{d:"M10.069 7.052c-.013.239-.053.473-.09.71-.11.7-.261 1.394-.507 2.062-.066.18-.135.362-.233.528a.46.46 0 0 0-.235-.4c-.328-.21-.544-.508-.599-.898a.86.86 0 0 1 .242-.742c.237-.244.504-.459.761-.683.188-.162.37-.327.555-.493.033-.031.064-.064.106-.084m.349 2.818c-.025.176-.093.341-.14.513-.057.204-.119.404-.177.608a.78.78 0 0 1-.473.524q-.607.261-1.192.571c-.32.17-.646.33-.966.497-.099.051-.195.111-.31.12.066-.15.177-.266.277-.387.273-.334.615-.596.932-.881q.306-.28.611-.565c.077.11.13.124.251.06.439-.229.787-.567 1.094-.95z",fill:"#2D87F3"}),l.createElement("path",{d:"M8.271 4.49a1 1 0 0 0 .377-.088.183.183 0 0 1 .239.084c.047.095.01.187-.09.242-.14.076-.296.1-.45.124z",fill:"#FF6F4D"}),l.createElement("path",{d:"M11.96 7.563c-.079-.018-.157-.041-.237-.054a.65.65 0 0 0-.342.054l.146-1.104c.005-.037.02-.068.058-.071.05-.006.063.034.076.074q.159.511.282 1.03.01.036.017.071",fill:"#2D87F3"}),l.createElement("path",{d:"M9.834 1.004a7.996 7.996 0 1 0 0 15.992 7.996 7.996 0 0 0 0-15.992M9.465 2.26c1.606-.09 3.191.4 4.467 1.378a.282.282 0 0 1 .03.424l-9.066 9.066a.283.283 0 0 1-.424-.03A6.749 6.749 0 0 1 9.465 2.26m.369 13.49a6.72 6.72 0 0 1-4.016-1.325.284.284 0 0 1-.032-.426l9.046-9.047a.283.283 0 0 1 .427.032A6.75 6.75 0 0 1 9.834 15.75",fill:"#F44D2C"}),l.createElement("path",{d:"M10.159 5.509c.005.517 2.997-1.054 2.997-1.054s-.133-1.55-.293-2.313c-.058-.279-.114-.56-.245-.814a2.35 2.35 0 0 0-.943-.983c-.568-.324-1.178-.41-1.818-.3-.44.073-.843.233-1.173.55a.4.4 0 0 1-.147.085c-.379.15-.648.417-.828.776-.315.626-.224 1.345.235 1.82.062.065.127.127.167.21a.23.23 0 0 1 .235-.076c.142.028.282-.022.411-.085.097-.048.133-.144.093-.235-.042-.097-.138-.135-.242-.093-.071.027-.14.057-.218.057-.039 0-.064-.01-.07-.053q-.024-.165-.052-.332c-.01-.056.009-.08.067-.072.066.007.133.009.198.016.131.013.228-.055.239-.166.009-.105-.075-.187-.202-.196h-.007q-.118-.013-.237-.017c-.047 0-.053-.014-.047-.058.016-.114.043-.225.072-.336.019-.068.05-.07.106-.051.25.078.417.247.54.47.099.178.16.37.217.565.087.299.275.515.568.615.206.071.275.21.298.406.066.539.091 1.078.09 1.62z",fill:"#1B3250"}),l.createElement("path",{d:"M8.107 3.488a.23.23 0 0 1 .235-.076c.142.025.282-.022.411-.086.097-.047.133-.143.093-.234-.042-.095-.138-.133-.242-.093-.07.027-.14.056-.218.056-.038 0-.062-.009-.07-.053q-.024-.165-.052-.33-.017-.082.067-.074c.066.008.133.01.199.017.13.013.227-.053.238-.166.01-.105-.073-.187-.202-.196-.082-.006-.162-.015-.244-.017-.045 0-.053-.014-.047-.058.016-.115.043-.224.073-.337.016-.067.049-.069.105-.05.25.078.417.247.54.469.1.178.16.371.217.566.088.298.273.515.568.615.206.07.275.21.298.406.066.539.091 1.08.09 1.62 0 .014-.008.029-.011.043-.271-.016-.524.075-.783.133a1.4 1.4 0 0 1-.513.031.5.5 0 0 1-.433-.36 2.3 2.3 0 0 1-.091-.46c.154-.024.31-.048.451-.124.1-.055.135-.148.09-.242a.18.18 0 0 0-.24-.084 1 1 0 0 1-.376.087 1.3 1.3 0 0 0-.326-.482c-.096-.093-.096-.215-.012-.319.06-.07.125-.134.185-.202",fill:"#FCCAAF"}),l.createElement("path",{d:"M8.265 4.49a1 1 0 0 0 .376-.088.183.183 0 0 1 .239.084c.047.095.01.187-.09.242-.14.076-.296.1-.45.124z",fill:"#FF6F4D"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1530_7251"},l.createElement("path",{fill:"#fff",d:"M.834 0h18v18h-18z"}))))},TryConceive=e=>{var{isMarryBaby:t,size:a=24}=e,r=(0,n._)(e,["isMarryBaby","size"]);let o=Object.assign({width:a,height:a},r);return t?l.createElement("svg",Object.assign({viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),l.createElement("path",{d:"M14.018 9.155c-1.422 1.066-1.777 1.777-1.067 2.843.57.853 2.133 2.488 3.2 3.554-.712 2.133-6.753 1.422-6.753 1.422l-.711 1.421-1.067 3.199c-1.066 0-3.198.142-3.198.71 0 .712 2.843 2.844 3.554 2.844.569 0 1.658-2.132 2.132-3.199 1.54 1.777 5.474 4.905 8.885 3.199 4.265-2.132 6.398-5.331 5.687-7.819-.274-.959-.284-1.495-.132-1.813a4.62 4.62 0 0 0 3.438-2.3c.715-1.108.78-2.417.397-3.652-.41-1.663-1.15-2.955-2.637-3.252-3.423-.685-6.397 1.016-6.397 4.62a4.6 4.6 0 0 0 .971 2.834c-1.184.316-2.414-.236-6.302-4.611",fill:"#fff"}),l.createElement("path",{d:"M29.3 10.825A5.235 5.235 0 0 0 24.077 5.6c-2.876 0-5.245 2.348-5.245 5.224 0 .36.275.634.634.634.36 0 .635-.275.635-.634 0-2.179 1.776-3.955 3.976-3.955s3.954 1.776 3.954 3.955a3.947 3.947 0 0 1-3.531 3.933.8.8 0 0 0-.381-.021c-.042.021-.085.021-.106.042a.64.64 0 0 0-.57.635c0 .254.147.465.359.57.105.487.148.995.148 1.502a7.175 7.175 0 0 1-7.17 7.17 7.22 7.22 0 0 1-5.773-2.898l-.02-.021c.507-.317 1.902-.17 2.41-.106a.637.637 0 0 0 .698-.57.637.637 0 0 0-.571-.699c-1.184-.148-3.384-.38-3.891 1.164-.064.19-.127.401-.19.592-.318.994-.74 2.347-1.27 2.58-.634.063-2.918-1.587-3.172-2.284.212-.275 1.248-.444 2.623 0 .169.063.36.042.507-.064s.275-.232.296-.423c.571-2.707.74-3.278.74-3.299v-.021c.212-.888.867-.973 2.538-.93 1.523.042 3.384.084 4.674-1.46a7.8 7.8 0 0 0 3.235.994h.043a.643.643 0 0 0 .634-.592c.021-.36-.232-.655-.57-.677-4.4-.36-6.028-4.652-6.091-4.842 0 0 0-.022-.022-.022-.274-.634-.063-1.036.19-1.163.17-.105.445-.105.614.17 1.248 2.008 2.432 3.32 3.574 4.018.021 0 .042.02.042.02.677.34 2.052.762 3.596-.295.296-.19.359-.592.169-.889-.19-.296-.592-.36-.889-.169-.951.635-1.776.487-2.305.233-.93-.571-1.988-1.777-3.108-3.574-.508-.783-1.48-1.036-2.284-.613-.762.401-1.312 1.438-.762 2.77.085.254.93 2.368 2.898 3.934a2.7 2.7 0 0 1-.614.486c-.02 0-.02 0-.042-.021-8.205-2.517-8.86-8.586-8.924-9.77a.61.61 0 0 0-.656-.614.63.63 0 0 0-.592.656c.042 1.226.655 7.084 7.74 10.172h-.508c-1.48-.042-3.34-.085-3.806 1.882-.021.106-.17.677-.613 2.707-1.587-.36-3.194-.127-3.574 1.036-.19.55.126 1.206.972 2.01.571.549 2.263 1.902 3.447 1.902.149 0 .297-.02.423-.063.952-.36 1.438-1.544 1.861-2.813a8.48 8.48 0 0 0 6.324 2.855c4.652 0 8.438-3.785 8.438-8.438 0-.507-.043-1.015-.148-1.522a5.264 5.264 0 0 0 4.23-5.16",fill:"#3E3F58"}),l.createElement("rect",{x:"23.005",y:"8.444",width:"1.942",height:"1.422",rx:".711",transform:"rotate(34.869 23.005 8.444)",fill:"#FB8C00"})):l.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),l.createElement("path",{d:"M13.996 8.62v3.221c1.054.035 1.682-.705 1.845-1.467.209-.977-.444-2.041-1.845-1.754",fill:"#FEAA96"}),l.createElement("path",{d:"M14.055 10.67a.21.21 0 0 1-.2-.277c.166-.508.594-.69.92-.644a.21.21 0 1 1-.059.418c-.163-.023-.37.079-.461.358a.21.21 0 0 1-.2.145",fill:"#FF886C"}),l.createElement("path",{d:"M2.16 10.374c.162.762.79 1.502 1.844 1.467V8.62c-1.4-.287-2.054.777-1.845 1.754",fill:"#FEAA96"}),l.createElement("path",{d:"M3.98 10.67a.21.21 0 0 1-.2-.145c-.093-.28-.299-.381-.462-.358a.21.21 0 0 1-.21-.102.21.21 0 0 1 .152-.316c.326-.046.753.136.92.644a.21.21 0 0 1-.2.277",fill:"#FF886C"}),l.createElement("path",{d:"M9 15.831c1.325 0 3.365-.561 4.534-2.292 1.057-1.563.436-4.144.462-5.169.053-2.079-1.447-4.78-4.996-4.78s-5.05 2.7-4.996 4.78c.026 1.025-.595 3.606.461 5.169 1.17 1.73 3.21 2.292 4.535 2.292",fill:"#FECCBF"}),l.createElement("path",{d:"M6.881 10.535a.56.56 0 1 0 0-1.121.56.56 0 0 0 0 1.121",fill:"#A35961"}),l.createElement("path",{d:"M7.114 9.777a.21.21 0 0 1-.188-.116c-.049-.097-.205-.122-.27-.129-.225-.022-.44.056-.477.104a.211.211 0 1 1-.347-.241c.149-.215.53-.306.831-.285.306.021.533.15.64.362a.21.21 0 0 1-.189.305",fill:"#8C2F39"}),l.createElement("path",{d:"M11.119 10.535a.56.56 0 1 0 0-1.121.56.56 0 0 0 0 1.121",fill:"#A35961"}),l.createElement("path",{d:"M9 13.329c.777 0 .994-.61 1.046-.92.031-.185-.132-.35-.34-.35H8.293c-.208 0-.371.165-.34.35.052.31.27.92 1.047.92",fill:"#D84023"}),l.createElement("path",{d:"M10.763 7.94a.2.2 0 0 1-.107-.03.33.33 0 0 0-.18-.029.21.21 0 1 1-.07-.416.74.74 0 0 1 .464.081.211.211 0 0 1-.107.393m-3.526 0a.21.21 0 0 1-.107-.393.74.74 0 0 1 .463-.08.211.211 0 1 1-.07.415.3.3 0 0 0-.18.029.2.2 0 0 1-.106.029",fill:"#FEAA96"}),l.createElement("path",{d:"M10.887 9.777a.21.21 0 0 1-.189-.305c.107-.212.334-.34.64-.362.3-.021.682.07.83.285a.211.211 0 0 1-.346.24c-.038-.048-.252-.125-.477-.103-.065.007-.221.032-.27.129a.21.21 0 0 1-.188.116",fill:"#8C2F39"}),l.createElement("path",{d:"M9.284 11.02a.21.21 0 0 1-.22-.15.07.07 0 0 0-.063-.05H9a.07.07 0 0 0-.064.05.21.21 0 0 1-.22.15.22.22 0 0 1-.192-.244c.018-.221.213-.379.476-.379.264 0 .458.158.476.38a.22.22 0 0 1-.192.244",fill:"#FEAA96"}),l.createElement("path",{d:"M9.55 12.06h-1.1l-.003.054a.552.552 0 1 0 1.102-.055m2.041-.774-.29.53a.1.1 0 0 1-.041.04l-.53.29a.1.1 0 0 0-.053.09.1.1 0 0 0 .053.09l.53.29q.026.015.04.04l.29.53a.103.103 0 0 0 .18 0l.29-.53a.1.1 0 0 1 .041-.04l.53-.29a.103.103 0 0 0 0-.18l-.53-.29a.1.1 0 0 1-.04-.04l-.29-.53a.1.1 0 0 0-.143-.039.1.1 0 0 0-.038.04",fill:"#fff"}),l.createElement("path",{d:"M11.055 2.193c-.147-.422-.524-.698-1.01-.738a.9.9 0 0 0-.535.154c-.206.155-.37.358-.478.592a.036.036 0 0 1-.066 0 1.55 1.55 0 0 0-.475-.592.9.9 0 0 0-.537-.154c-.485.04-.862.316-1.008.739a1.03 1.03 0 0 0 .259 1.09c.479.447 1.156.518 1.543.518h.502c.387 0 1.066-.07 1.545-.517a1.03 1.03 0 0 0 .26-1.092M8.79 3.243a.13.13 0 0 1-.134.135c-.316-.012-.821-.084-1.163-.402a.61.61 0 0 1-.148-.644.66.66 0 0 1 .438-.417c.242-.078.404-.006.456.033.446.33.539.932.551 1.295m1.718-.267c-.342.319-.847.39-1.163.402a.13.13 0 0 1-.135-.135c.013-.362.105-.964.551-1.295a.47.47 0 0 1 .25-.073c.318.027.554.193.645.457a.61.61 0 0 1-.149.644",fill:"#2D87F3"}),l.createElement("path",{d:"M8.998 3.338a.21.21 0 0 1 .122.383l-.04.028c-.16.118-.957.76-.991 1.758-.027.78.403 1.132.814 1.202.367.062.831-.096.985-.59a.415.415 0 0 0-.211-.52c-.136-.069-.32-.076-.425.064a.211.211 0 0 1-.337-.253c.215-.287.607-.363.954-.186a.836.836 0 0 1 .422 1.02 1.28 1.28 0 0 1-1.458.88c-.56-.095-1.202-.58-1.166-1.631.046-1.334 1.17-2.093 1.222-2.125a.2.2 0 0 1 .109-.03",fill:"#BA8288"}))},y=(0,l.createContext)({});var E=(0,i.k)(e=>({inputRightSection:{fontSize:(0,s.h)(13),lineHeight:(0,s.h)(24),color:e.colors.gray[4],justifyContent:"flex-end",paddingRight:8}}));let DefaultLayout=e=>{var t=(0,n._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:o,form:i,calculatingMethods:s,isMobile:d}=(0,l.useContext)(y),{classes:p={}}=(0,l.useContext)(C.C),{classes:u}=E(void 0,{name:"OvulationTool__DefaultLayout"});return l.createElement(b.H,Object.assign({formLayout:"default"},t),l.createElement(b.H.FormRow,null,l.createElement(b.H.Control,null,l.createElement(b.H.ChipGroup,Object.assign({data:s,label:a("dueDatePage.calculationMethod"),isMobile:d},i.getInputProps("calculatorType"))))),l.createElement(b.H.FormRow,null,l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},label:l.createElement(f.T,{size:"p2",weight:"semiBold"},` (${a("dueDatePage.lastPeriod.lastPeriodLabel")})`),maxDate:new Date},i.getInputProps("lastPeriodDate")))),l.createElement(b.H.FormRow,null,l.createElement(m.I.Number,Object.assign({label:l.createElement(f.T,{size:"p2",weight:"semiBold"},a("ovulationPage.cycleLength")),rightSection:a("ovulationPage.dayUnit"),min:21,max:45,defaultValue:1},i.getInputProps("cycleLength"),{classNames:{rightSection:u.inputRightSection}}))),l.createElement(b.H.FormRow,null,l.createElement(m.I.Number,Object.assign({label:l.createElement(f.T,{size:"p2",weight:"semiBold"},a("ovulationPage.periodDuration")),rightSection:a("ovulationPage.dayUnit"),min:1,max:15,defaultValue:1},i.getInputProps("periodLength"),{classNames:{rightSection:u.inputRightSection}}))),l.createElement(b.H.FormRow,{className:p.submitWrapper},l.createElement(b.H.Submit,Object.assign({type:"submit",className:(0,c.default)("due-date-calculate-button",p.submitBtn),dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},o),a("dueDatePage.lastPeriod.calculate"))))},InlineLayout=e=>{var t=(0,n._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:o,form:i,calculatingMethods:s}=(0,l.useContext)(y),{classes:d={}}=(0,l.useContext)(C.C);return l.createElement(b.H,Object.assign({formLayout:"inline"},t),l.createElement(b.H.FormRow,null,l.createElement(b.H.BorderInlineControl,{label:a("dueDatePage.calculationMethod"),direction:"column",width:"100%"},l.createElement(b.H.ChipGroup,Object.assign({data:s},i.getInputProps("calculatorType"))))),l.createElement(b.H.FormRow,null,l.createElement(b.H.BorderInlineControl,{label:a("dueDatePage.lastPeriod.lastPeriodLabel")},l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},maxDate:new Date},i.getInputProps("lastPeriodDate"))))),l.createElement(b.H.FormRow,null,l.createElement(b.H.BorderInlineControl,{label:a("ovulationPage.cycleLength")+" "+a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:21,max:45,defaultValue:1},i.getInputProps("cycleLength"),{error:null}))),i.errors.cycleLength&&l.createElement(b.H.Error,null,i.errors.cycleLength)),l.createElement(b.H.FormRow,null,l.createElement(b.H.BorderInlineControl,{label:a("ovulationPage.periodDuration")+" "+a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:1,max:15,defaultValue:1},i.getInputProps("periodLength"),{error:null}))),i.errors.periodLength&&l.createElement(b.H.Error,null,i.errors.periodLength)),l.createElement(b.H.FormRow,{className:d.submitWrapper},l.createElement(b.H.Submit,Object.assign({type:"submit",className:(0,c.default)("due-date-calculate-button",d.submitBtn),dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},o),a("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,n._)(e,[]);let{t:a}=(0,v.u)(),{currentUrl:r,submitProps:o,form:i,calculatingMethods:s}=(0,l.useContext)(y);return l.createElement(b.H,Object.assign({formLayout:"inline"},t),l.createElement(b.H.Control,null,l.createElement(m.I.Wrapper,{label:l.createElement(f.T,{size:"p4",sx:{fontWeight:"normal"}},a("dueDatePage.calculationMethod"))},l.createElement(b.H.ChipGroup,Object.assign({data:s},i.getInputProps("calculatorType"))))),l.createElement(b.H.BorderBoxControl,{label:a("dueDatePage.lastPeriod.lastPeriodLabel"),rightSection:l.createElement(x.Z,null)},l.createElement(g.D,Object.assign({placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},maxDate:new Date,rightSection:null},i.getInputProps("lastPeriodDate")))),l.createElement(b.H.BorderBoxControl,{label:a("ovulationPage.cycleLength"),rightSection:a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:21,max:45,defaultValue:1},i.getInputProps("cycleLength")))),i.errors.cycleLength&&l.createElement(b.H.Error,null,i.errors.cycleLength),l.createElement(b.H.BorderBoxControl,{label:a("ovulationPage.periodDuration"),rightSection:a("ovulationPage.dayUnit")},l.createElement(m.I.Number,Object.assign({min:1,max:15,defaultValue:1},i.getInputProps("periodLength")))),i.errors.periodLength&&l.createElement(b.H.Error,null,i.errors.periodLength),l.createElement(b.H.Submit,Object.assign({type:"submit",className:"due-date-calculate-button",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:r},o),a("dueDatePage.lastPeriod.calculate")))};(r=o||(o={}))[r.trackPeriod=0]="trackPeriod",r[r.conceive=1]="conceive",r[r.avoidPregnancy=2]="avoidPregnancy";let OvulationForm=e=>{var{formLayout:t="default",submitProps:a,currentUrl:r,isMobile:i,onSubmit:s}=e,c=(0,n._)(e,["formLayout","submitProps","currentUrl","isMobile","onSubmit"]);let m=(0,d.rZ)(),{t:g}=(0,v.u)(),f="mb"===m.other.template,C=(0,p.c)({initialValues:{calculatorType:String(o.trackPeriod),periodLength:7,cycleLength:28,lastPeriodDate:new Date},validate:{periodLength:(0,u.U)(g("validation.error.requiredField")),cycleLength:(0,u.U)(g("validation.error.requiredField"))}}),b=Object.assign({onSubmit:C.onSubmit(s)},c),x=[{label:g("ovulationPage.trackPeriod"),value:o.trackPeriod,icon:l.createElement(h.L,null)},{label:g("ovulationPage.conceive"),value:o.conceive,icon:l.createElement(TryConceive,null)},{label:g("ovulationPage.avoidPregnancy"),value:o.avoidPregnancy,icon:l.createElement(AvoidPregnancy,null)}];return l.createElement(y.Provider,{value:{submitProps:a,currentUrl:r,form:C,isMobile:i,calculatingMethods:x}},"inline"===t?l.createElement(InlineLayout,Object.assign({},b)):f?l.createElement(MbLayout,Object.assign({formLayout:t},b)):l.createElement(DefaultLayout,Object.assign({},b)))}},"47oE":function(e,t,a){a.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 r=a("q1tI"),o=a("rBCA"),n=a("iBNF"),l=a("vsdc"),i=a("xXM3"),s=a.n(i),c=a("kuQP"),d=a("pMur");let ArrowRightBlue=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 6 10",fill:"none"},e),r.createElement("path",{d:"M1 9L5 5L1 1",stroke:"#2D87F3",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"})),Clinic=e=>r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},e),r.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"}),r.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"}),r.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"}),r.createElement("path",{d:"M11.172 13.6206H8.7583V16.9998H11.172V13.6206Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M9.96533 9.99996V5.65527",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.1377 7.82764H7.79297",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),p=o.Z.ul` display: grid; grid-gap: 16px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); list-style: none; `,u=o.Z.li` p { margin-top: 8px; text-align: center; } .insuranceLogo { display: grid; height: 58px; border: 1px solid ${n.r.colors.neutral200}; border-radius: 6px; place-content: center; > img { width: 93px; height: 43px; object-fit: contain; } } `,InsuranceList=({insurances:e,className:t,isName:a=!0})=>e.length?r.createElement(p,{id:"insurance-list",className:t},e.map(e=>r.createElement(u,{className:"insuranceItem",key:e.id},r.createElement("div",{className:"insuranceLogo"},r.createElement("img",{src:e.logo,alt:e.name||"insurance-logo"})),a&&r.createElement(l.T,{size:"base",color:n.r.colors.gray500,type:"bold"},e.name)))):null,h=o.Z.div` display: flex; flex-wrap: wrap; gap: 7px; &.paymentList { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); justify-content: center; } `,m=o.Z.div` border: 1px solid ${n.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: ${n.r.colors.gray800}; } `,PaymentList=({payments:e,className:t,isName:a=!0,isMobile:o=!1})=>e.length?r.createElement(h,{id:"payment-container",className:s()(t,{paymentList:o&&e.length>=4})},e.map(t=>r.createElement(m,{className:s()("payment-item",{"payment-item-mobile":o&&e.length>=4}),key:t.id},r.createElement(c.I,{className:"logo",src:t.logo,alt:t.name}),a&&r.createElement("div",{className:"txt-caption-1"},t.name)))):null,g=o.Z.div` display: flex; gap: 8px; .icon { width: 1.25rem; height: 1.25rem; color: ${n.r.colors.gray400}; flex-shrink: 0; } .doctor-info-item-content { display: flex; flex-direction: column; gap: 10px; } `;(0,o.Z)(Clinic)` width: 1.25rem; height: 1.25rem; `;let f=o.Z.div` display: flex; flex-direction: column; gap: 4px; `,DoctorExpertiseItem=e=>{let{doctorInfo:t,Icon:a,title:o}=e;return r.createElement(g,null,r.createElement(a,{className:"icon"}),r.createElement(f,null,r.createElement(d.T,{size:"p3",weight:"semiBold",color:"#111111"},o),r.createElement("div",{className:"doctor-info-item-content"},(Array.isArray(t)?t:[t]).map(e=>r.createElement(d.T,{size:"p3",weight:"regular",key:e},e)))))},v=o.Z.div` display: flex; padding: 1rem; width: 100%; justify-content: space-between; `,C=o.Z.div` display: flex; flex-direction: column; gap: 2px; `,DoctorInfoExpertise=e=>{let{name:t,specialty:a,experience:o,profileImage:n}=e;return r.createElement(v,null,r.createElement(C,null,r.createElement(d.T,{size:"title2",weight:"semiBold",color:"#111111"},t),r.createElement("div",null,a&&r.createElement(d.T,{size:"c1",weight:"regular"},a),o&&r.createElement(d.T,{size:"c1",weight:"regular"},o))),r.createElement(c.I,{src:n,alt:t,style:{width:"4.5rem",height:"4.5rem",borderRadius:"50%",objectFit:"cover",flexShrink:0}}))}}}]);