"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9301],{DIGB:function(e,t,a){a.d(t,{C:function(){return CardAuthor},P:function(){return PopupExpert},a:function(){return PopupDoctor},b:function(){return PopupHospital},c:function(){return ProfileDetailModal},d:function(){return CardAuthor$1}});var l=a("q1tI"),r=a("rCoo"),n=a("dgD7"),i=a("/npG"),o=a("Eso5"),s=a("SPK5"),c=a("mAfZ"),d=a("mYVa"),m=a("Wgwc"),p=a.n(m),h=a("QgiU"),g=a.n(h),u=a("J5bt"),f=a("kO4G"),C=a("UV8Y"),x=a("ShI9"),v=a("LufY"),b=a("S0Zs"),E=a("UpS/"),w=a("UbCi"),y=a("Y8gQ"),k=a("OaJP"),B=a("rrs9"),A=a("iBNF"),S=a("rBCA"),F=a("IQVP"),I=a("Oy6H"),H=a("h7+k"),_=a("dCLH"),N=a("xrdX");let MainText=({children:e,className:t=""})=>l.createElement("div",{className:`tMiOKib ${t}`},e),SubText=({children:e,className:t=""})=>l.createElement("div",{className:`uDcqD-2 ${t}`},e);var M={container:"sTU4T4I",info:"tCql9Je",avatarWrapper:"_3j7uYhH",avatarIcon:"PHABgoT"};let CardAuthor$1=({avatarProps:e,title:t,subTitle:a,children:r,className:n="",style:i,onAvatarClick:o,avatarIcon:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>l.createElement("div",{className:`${M.container} ${n}`,style:i},l.createElement("div",{className:M.avatarWrapper,onClick:o,"data-event-category":c,"data-event-action":d,"data-event-label":m},l.createElement(b.U,Object.assign({},e)),s&&l.createElement("div",{className:M.avatarIcon},s)),l.createElement("div",{className:`${M.info} ${n}`,style:{minHeight:`${(null==e?void 0:e.size)||40}px`}},r||l.createElement(l.Fragment,null,t&&l.createElement(MainText,null,t),a&&l.createElement(SubText,null,a))));CardAuthor$1.MainText=MainText,CardAuthor$1.SubText=SubText,CardAuthor$1.SubDivider=({className:e=""})=>l.createElement("span",{className:`m-HVXw1 ${e}`}),CardAuthor$1.Row=({children:e,className:t=""})=>l.createElement("div",{className:`dZWeHns ${t} row`},e),CardAuthor$1.ColLeft=({children:e,className:t=""})=>l.createElement("div",{className:`${t} col-left`},e),CardAuthor$1.ColRight=({children:e,className:t=""})=>l.createElement("div",{className:`${t} col-right`},e),CardAuthor$1.SubTextRow=e=>{var{children:t,className:a=""}=e,r=(0,v._)(e,["children","className"]);return l.createElement("div",Object.assign({className:`pDlsows ${a}`},r),t)};var z=(0,i.k)(()=>({root:{verticalAlign:"bottom"}}));let O=(0,l.createContext)({}),AuthorBadgeItem=({styles:e,className:t,classNames:a})=>{let{role:r,siteType:n,title:i}=(0,l.useContext)(O),{cx:o,classes:s}=z(void 0,{name:"AuthorBadgeItem",styles:e,classNames:a});return r?l.createElement(C.A,{className:o(s.root,t),siteType:n,role:r,title:i}):null};var P=(0,i.k)(()=>({root:{}}));let D=S.Z.div` position: fixed; left: 50%; width: 343px; background-color: ${A.r.colors.white}; border-radius: ${A.r.borderRadius}; box-shadow: 0px 0px 4px ${A.r.colors.gray200}; transform: translate(-50%, -50%); transition: all 0.5s ease-in-out; ${f.M.tdUp} { width: 750px; } &[data-animation='true'] { transition: all 0.5s ease-in-out; } &[data-open='true'] { z-index: 400; top: 50%; opacity: 1; visibility: visible; } &[data-open='false'] { top: -50%; } .popup-content { ${f.M.mbDown} { display: block; } display: flex; position: relative; z-index: 111; height: 100%; .button-see-more { margin: 32px 0; padding: 0; > * { display: inline-block; } } .close-button { position: absolute; z-index: 100; top: 10px; right: 10px; cursor: pointer; width: unset; height: unset; img { width: 100%; height: 100%; border-radius: 50%; } } } .main-info { padding-bottom: 32px; background-color: ${A.r.colors.primary50}; border-radius: ${A.r.borderRadius}; .btn-booking { display: flex; margin: 12px auto; } .avatar-title { position: relative; width: 100%; padding-top: 46px; text-align: center; } } `,j=S.Z.div` position: fixed; z-index: 110; top: 0; left: 0; width: 100%; height: 100%; align-items: center; background: rgba(38, 38, 38, 0.3); &[data-open='false'] { display: none; } `,L=S.Z.div` .image-container { .badge-avatar { position: absolute; right: 0; bottom: 0; top: 0; } } display: flex; justify-content: center; padding-bottom: 15px; text-align: center; .profile-image { width: 100px; min-width: 100px; height: 100px; min-height: 100px; border-radius: 50%; object-fit: cover; } .badge-avatar { width: 24px; height: 24px; } `,T=S.Z.div` position: relative; z-index: 9; .specialty { display: flex; flex-wrap: wrap; justify-content: center; } padding: 0px 16px; text-align: center; .specialty { justify-content: center; } .experience { padding: 16px 0px 32px; text-align: left; .btn-wrapper { margin-top: 24px; } } p { max-width: 100%; -webkit-line-clamp: 4; -webkit-box-orient: vertical; text-overflow: ellipsis; overflow: hidden; } `,$=S.Z.ul` padding-left: 18px; li { list-style-type: disc; } `;var R="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%23262626' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6 6 18M6 6l12 12'/%3e%3c/svg%3e",Z="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3e%3cpath fill='white' stroke='%23E4E8EC' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16'/%3e%3cpath fill='%23FF5331' d='M10.333 7.667V5H7.667v2.667H5v2.667h2.667V13h2.666v-2.666H13V7.667z'/%3e%3c/svg%3e";let PopupDoctor=({isOpen:e=!0,onClose:t,enableAnimation:a=!0,doctorId:r,locale:n,isMobile:i,overwriteProfileProps:o,avatarFallback:s=w.C.getAssetPath("avatar.jpg"),trackingCategory:c="Together"})=>{var d,m,p;let{t:h}=(0,u.u)(),[g,f]=(0,l.useState)(null),[C,x]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(e&&r&&String(null==g?void 0:g.id)!==String(r)){x(!0);try{f(null),(0,y.c)((0,y.g)(F.tC.GET_DOCTOR_INFO,{doctorId:r,website_url:y.l[n]}),"get").then(e=>{f(Object.assign(Object.assign({},null==e?void 0:e._data.doctor),o))})}catch(e){console.error(e)}x(!1)}},[e,r,null==g?void 0:g.id]);let v=(null==g?void 0:g.experiences)||[],b=(null==g?void 0:g.specialties)||[],S=b.map(e=>(null==e?void 0:e.name)||e).join(" • "),H=v.map(e=>{try{return JSON.parse(e.description)}catch(t){return e.description}}).filter(e=>e.content),renderExperienceText=e=>(null==e?void 0:e.year)?`${e.year} ${null==e?void 0:e.content}`:(null==e?void 0:e.content)?e.content:"string"==typeof e?e:"";return l.createElement(l.Fragment,null,l.createElement(D,{"data-open":e,"data-animation":a,onClick:e=>e.stopPropagation()},C||!g?l.createElement(I.L,null):l.createElement("div",{className:"popup-content"},l.createElement("div",{className:"close-button",onClick:t},l.createElement("img",{src:R,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),l.createElement("div",{className:"main-info"},l.createElement("div",{className:"border-banner"}),l.createElement("div",{className:"avatar-title"},l.createElement(L,null,l.createElement("div",{className:"image-container"},l.createElement("div",{style:{position:"relative"}},l.createElement(E.I,{src:null==g?void 0:g.avatar,backupSrc:s,className:"profile-image",alt:"avatar"}),l.createElement("img",{className:"badge-avatar",src:Z,alt:"badge",loading:"lazy"})))),l.createElement(T,null,l.createElement(B.T,{size:"s3",weight:"semiBold",className:"full-name"},null==g?void 0:g.name),l.createElement("div",{className:"specialty"},S&&l.createElement(l.Fragment,null,l.createElement(B.T,{size:"p4",color:A.r.colors.gray800},S," • ")),l.createElement("a",{href:(0,y.m)({id:null===(d=null==g?void 0:g.organization)||void 0===d?void 0:d.id,name:null===(m=null==g?void 0:g.organization)||void 0===m?void 0:m.name,slug:null===(p=null==g?void 0:g.organization)||void 0===p?void 0:p.slug,locale:n}),className:"organisation",target:"_blank",rel:"noreferrer"},l.createElement(B.T,{size:"p4",className:"organisation",color:A.r.colors.gray800,style:{textDecoration:"underline"}},null==g?void 0:g.organization.name))))),!i&&l.createElement("div",{className:"btn-wrapper"},l.createElement("a",{href:(0,y.n)({name:g.name,id:g.id,locale:n})},l.createElement(k.B,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment"))))),H&&l.createElement(T,null,l.createElement("div",{className:"experience"},l.createElement(B.T,{weight:"bold",size:"s3",color:A.r.colors.gray800,style:{paddingBottom:16}},h("expert.content.description").toUpperCase()),l.createElement($,null,H.map((e,t)=>l.createElement("li",{key:t},l.createElement(B.T,{size:"p2"},renderExperienceText(e))))),i?l.createElement("div",{className:"btn-wrapper"},l.createElement("a",{href:(0,y.n)({name:g.name,id:g.id,locale:n})},l.createElement(k.B,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment")))):l.createElement("a",{href:(0,y.n)({name:g.name,id:g.id,locale:n})},l.createElement(B.T,{size:"s4",color:"#2D87F3",style:{paddingTop:24},"data-event-category":c,"data-event-action":"See Full Doctor Profile","data-event-label":(0,y.k)(n)+(0,y.n)({name:g.name,id:g.id,locale:n})},h("home.seeExpert"))))))),l.createElement(j,{"data-open":e,onClick:e=>{e.stopPropagation(),t()}}))},G=S.Z.div` position: fixed; left: 50%; width: 343px; background-color: ${A.r.colors.white}; border-radius: ${A.r.borderRadius}; box-shadow: 0px 0px 4px ${A.r.colors.gray200}; transform: translate(-50%, -50%); transition: all 0.5s ease-in-out; ${f.M.tdUp} { width: 750px; } &[data-animation='true'] { transition: all 0.5s ease-in-out; } &[data-open='true'] { z-index: 400; top: 50%; opacity: 1; visibility: visible; } &[data-open='false'] { top: -50%; } .popup-content { ${f.M.mbDown} { display: block; } display: flex; position: relative; z-index: 111; height: 100%; .button-see-more { margin: 32px 0; padding: 0; > * { display: inline-block; } } .close-button { position: absolute; z-index: 100; top: 10px; right: 10px; cursor: pointer; width: unset; height: unset; img { width: 100%; height: 100%; border-radius: 50%; } } } .main-info { padding-bottom: 32px; background-color: ${A.r.colors.primary50}; border-radius: ${A.r.borderRadius}; .avatar-title { position: relative; width: 100%; padding-top: 46px; text-align: center; } } `,W=S.Z.div` position: fixed; z-index: 110; top: 0; left: 0; width: 100%; height: 100%; align-items: center; background: rgba(38, 38, 38, 0.3); &[data-open='false'] { display: none; } `,q=S.Z.div` .image-container { .badge-avatar { position: absolute; right: 0; bottom: 0; top: 0; } } display: flex; justify-content: center; padding-bottom: 15px; text-align: center; .profile-image { width: 100px; min-width: 100px; height: 100px; min-height: 100px; border-radius: 50%; object-fit: cover; } .badge-avatar { width: 24px; height: 24px; } `,U=S.Z.div` position: relative; z-index: 9; .specialty { display: flex; flex-wrap: wrap; justify-content: center; } padding: 0px 16px; text-align: center; .specialty { justify-content: center; } .experience { padding: 16px 0px 32px; text-align: left; .btn-wrapper { margin-top: 24px; } } p { max-width: 100%; -webkit-line-clamp: 4; -webkit-box-orient: vertical; text-overflow: ellipsis; overflow: hidden; } `,V=S.Z.div` display: flex; margin-top: 8px; .bullet-point { width: 24px; height: 24px; } `;var Y="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%2345A4FF' d='M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12'/%3e%3cpath fill='%232D87F3' d='M24 12a12 12 0 0 0-.128-1.758l-5.077-5.077L5.041 18.958l4.858 4.858c.682.12 1.384.184 2.1.184 6.628 0 12-5.373 12-12Z'/%3e%3cpath fill='white' d='M9.014 17.824 5.04 18.959l1.135-3.973 2.368.47z'/%3e%3cpath fill='%23F7F9FC' d='M8.544 15.456 5.041 18.96l3.972-1.135z'/%3e%3cpath fill='%23E4E8EC' d='M6.467 18.552 5.45 17.533l-.41 1.427 1.426-.407Z'/%3e%3cpath fill='%23D2D6DC' d='m5.957 18.043-.916.916 1.426-.407z'/%3e%3cpath fill='%23FFD658' d='m15.828 5.331 2.837 2.837-9.651 9.652-2.838-2.837z'/%3e%3cpath fill='%23FFC326' d='m7.594 16.404 9.651-9.651 1.419 1.418-9.652 9.652z'/%3e%3cpath fill='%23FF5331' d='m18.312 8.525-2.837-2.838 1.123-1.123c.44-.44 1.154-.44 1.595 0l1.243 1.243c.44.44.44 1.154 0 1.594z'/%3e%3cpath fill='%23F44D2C' d='m18.816 5.186-1.921 1.92 1.418 1.419 1.124-1.124c.44-.44.44-1.154 0-1.594l-.622-.621Z'/%3e%3c/svg%3e";let K={author:Y,edtior:Y,expert:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3ccircle cx='12' cy='12' r='12' fill='%23FFCB37'/%3e%3ccircle cx='12' cy='12' r='10.5' fill='%23FE921D'/%3e%3cpath fill='white' d='M11.443 5.137a.6.6 0 0 1 1.114 0l1.436 3.577a.6.6 0 0 0 .516.375l3.846.26a.6.6 0 0 1 .344 1.06l-2.958 2.471a.6.6 0 0 0-.197.607l.94 3.738a.6.6 0 0 1-.9.655l-3.265-2.05a.6.6 0 0 0-.638 0l-3.265 2.05a.6.6 0 0 1-.9-.655l.94-3.738a.6.6 0 0 0-.198-.607L5.3 10.41a.6.6 0 0 1 .344-1.06l3.846-.26a.6.6 0 0 0 .517-.375z'/%3e%3c/svg%3e","fact-check":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath fill='%2300C076' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m11.946 5.466-5.28 4.8-2.4-2.182'/%3e%3c/svg%3e",medical:Z},PopupExpert=({trackingCategory:e="Together",locale:t,isOpen:a=!0,onClose:r,enableAnimation:n=!0,expertId:i,overwriteProfileProps:o,avatarFallback:s=w.C.getAssetPath("avatar.jpg")})=>{let{t:c}=(0,u.u)(),[d,m]=(0,l.useState)(null),[p,h]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(a&&i&&String(null==d?void 0:d.user_id)!==String(i)){h(!0);try{m(null),(0,y.c)((0,y.o)(F.D9.GET_EXPERT_BY_ID,{id:i}),"get").then(e=>{m(Object.assign(Object.assign({},null==e?void 0:e.data),o))})}catch(e){console.error(e)}h(!1)}},[a,i,null==d?void 0:d.user_id]),l.createElement(l.Fragment,null,l.createElement(G,{"data-open":a,"data-animation":n,onClick:e=>e.stopPropagation()},p||!d?l.createElement(I.L,null):l.createElement("div",{className:"popup-content"},l.createElement("div",{className:"close-button",onClick:r},l.createElement("img",{src:R,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),l.createElement("div",{className:"main-info"},l.createElement("div",{className:"border-banner"}),l.createElement("div",{className:"avatar-title"},l.createElement(q,null,l.createElement("div",{className:"image-container"},l.createElement("div",{style:{position:"relative"}},l.createElement(E.I,{src:null==d?void 0:d.avatar,className:"profile-image",alt:"avatar",backupSrc:s}),l.createElement("img",{className:"badge-avatar",src:K[null==d?void 0:d.role],alt:"badge",loading:"lazy"})))),l.createElement(U,null,l.createElement(B.T,{size:"s3",className:"full-name",weight:"semiBold"},null==d?void 0:d.display_name),l.createElement("div",null,l.createElement(B.T,{size:"p4",color:A.r.colors.gray800},null==d?void 0:d.specialty," • "),l.createElement("a",{href:null==d?void 0:d.organisation_url,className:"organisation",target:"_blank",rel:"noreferrer"},l.createElement(B.T,{size:"p4",className:"organisation",color:A.r.colors.gray800,style:{textDecoration:"underline"}},null==d?void 0:d.organisation)))))),l.createElement(U,null,l.createElement("div",{className:"experience"},l.createElement(B.T,{weight:"bold",size:"p4",color:A.r.colors.gray800,style:{paddingBottom:16}},c("expert.content.description").toUpperCase()),l.createElement("div",{className:"list-items"},null!=d&&!!d.experiences&&d.experiences.filter(e=>!!(e&&(e.title||e.organization))).slice(0,3).map((e,t)=>l.createElement(V,{key:t},l.createElement("img",{className:"bullet-point",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3ccircle cx='12' cy='12' r='2' fill='%232D87F3'/%3e%3c/svg%3e",alt:"point",loading:"lazy"}),l.createElement("div",{className:"text-contain"},l.createElement(H.H,{tag:"h6",color:A.r.colors.gray800},null==e?void 0:e.title),l.createElement(B.T,{size:"p2",color:A.r.colors.gray500},null==e?void 0:e.organization))))),l.createElement("a",{href:null==d?void 0:d.profile_url,style:{display:"inline-block",paddingTop:24}},l.createElement(B.T,{as:"span",size:"s4",color:"#2D87F3","data-event-category":e,"data-event-action":"See Full Doctor Profile","data-event-label":(0,y.k)(t)+(null==d?void 0:d.profile_url)},c("home.seeExpert"))))))),l.createElement(W,{"data-open":a,onClick:e=>{e.stopPropagation(),r()}}))},J=S.Z.div` position: fixed; left: 50%; width: 343px; background-color: ${A.r.colors.white}; border-radius: ${A.r.borderRadius}; box-shadow: 0px 0px 4px ${A.r.colors.gray200}; transform: translate(-50%, -50%); transition: all 0.5s ease-in-out; ${f.M.tdUp} { width: 750px; } &[data-animation='true'] { transition: all 0.5s ease-in-out; } &[data-open='true'] { z-index: 400; top: 50%; opacity: 1; visibility: visible; } &[data-open='false'] { top: -50%; } .popup-content { ${f.M.mbDown} { display: block; } display: flex; position: relative; z-index: 111; height: 100%; .button-see-more { margin: 32px 0; padding: 0; > * { display: inline-block; } } .close-button { position: absolute; z-index: 100; top: 10px; right: 10px; cursor: pointer; width: unset; height: unset; img { width: 100%; height: 100%; border-radius: 50%; } } } .main-info { padding-bottom: 32px; background-color: ${A.r.colors.primary50}; border-radius: ${A.r.borderRadius}; .btn-booking { display: flex; margin: 12px auto; } .avatar-title { position: relative; width: 100%; padding-top: 46px; text-align: center; } } `,Q=S.Z.div` position: fixed; z-index: 110; top: 0; left: 0; width: 100%; height: 100%; align-items: center; background: rgba(38, 38, 38, 0.3); &[data-open='false'] { display: none; } `,X=S.Z.div` .image-container { .badge-avatar { position: absolute; right: 0; bottom: 0; top: 0; } } display: flex; justify-content: center; padding-bottom: 15px; text-align: center; .profile-image { width: 100px; min-width: 100px; height: 100px; min-height: 100px; border-radius: 50%; object-fit: cover; } .badge-avatar { width: 24px; height: 24px; } `,ee=S.Z.div` position: relative; z-index: 9; .specialty { display: block; min-width: 240px; } padding: 0px 16px; text-align: center; .specialty { justify-content: center; } .experience { padding: 16px 0px 32px; text-align: left; .btn-wrapper { margin-top: 24px; } } p { max-width: 100%; } `,PopupHospital=({isOpen:e=!0,onClose:t,enableAnimation:a=!0,hospitalId:r,locale:n,isMobile:i,overwriteProfileProps:o,avatarFallback:s=w.C.getAssetPath("avatar.jpg"),trackingCategory:c="Together"})=>{let{t:d}=(0,u.u)(),[m,p]=(0,l.useState)(null),[h,g]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(e&&r&&String(null==m?void 0:m.id)!==String(r)){g(!0);try{p(null),(0,y.c)((0,y.g)(F.tC.GET_HOSPITAL_INFO,{hospital_branch_id:r,website_url:y.l[n]}),"get").then(e=>{p(Object.assign(Object.assign({},null==e?void 0:e._data.branch),o))})}catch(e){console.error(e)}g(!1)}},[e,r,null==m?void 0:m.id]);let f=(null==m?void 0:m.specialties)||[],C=(0,l.useMemo)(()=>f.map(e=>e.name),[f]);return l.createElement(l.Fragment,null,l.createElement(J,{"data-open":e,"data-animation":a,onClick:e=>e.stopPropagation()},h||!m?l.createElement(I.L,null):l.createElement("div",{className:"popup-content"},l.createElement("div",{className:"close-button",onClick:t},l.createElement("img",{src:R,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),l.createElement("div",{className:"main-info"},l.createElement("div",{className:"border-banner"}),l.createElement("div",{className:"avatar-title"},l.createElement(X,null,l.createElement("div",{className:"image-container"},l.createElement("div",{style:{position:"relative"}},l.createElement(E.I,{src:null==m?void 0:m.logo,className:"profile-image",alt:"avatar",backupSrc:s}),l.createElement("img",{className:"badge-avatar",src:Z,alt:"badge",loading:"lazy"})))),l.createElement(ee,null,l.createElement(B.T,{size:"s3",weight:"semiBold",className:"full-name"},null==m?void 0:m.name),l.createElement("div",{className:"specialty"},f&&l.createElement(B.T,{size:"p4",color:A.r.colors.gray800},C.join(" • "),"•"),l.createElement("a",{href:(0,y.m)({id:m.id,name:m.name,slug:m.slug,locale:n}),className:"organisation",target:"_blank",rel:"noreferrer"},l.createElement(B.T,{size:"p4",className:"organisation",color:A.r.colors.gray800,style:{textDecoration:"underline"}},null==m?void 0:m.name))))),!i&&l.createElement("a",{href:(0,y.m)({id:m.id,name:m.name,slug:m.slug,locale:n})},l.createElement("div",{className:"btn-wrapper"},l.createElement(k.B,{color:"primary",size:"md",className:"btn-booking"},d("careBooking.bookAnAppointment"))))),l.createElement(ee,null,l.createElement("div",{className:"experience"},l.createElement(B.T,{weight:"bold",size:"s3",color:A.r.colors.gray800,style:{paddingBottom:16}},d("hospital.content.description").toUpperCase()),l.createElement(B.T,{size:"p2",color:A.r.colors.gray500},m.about),i?l.createElement("a",{href:(0,y.m)({id:m.id,name:m.name,slug:m.slug,locale:n})},l.createElement("div",{className:"btn-wrapper"},l.createElement(k.B,{color:"primary",size:"md",className:"btn-booking"},d("careBooking.bookAnAppointment")))):l.createElement("a",{href:(0,y.m)({id:m.id,name:m.name,slug:m.slug,locale:n})},l.createElement(B.T,{size:"s4",color:"#2D87F3",as:"span","data-event-category":c,"data-event-action":"See Full Hospital Profile","data-event-label":(0,y.k)(n)+(0,y.m)({id:m.id,name:m.name,slug:m.slug,locale:n})},d("home.seeHospital"))))))),l.createElement(Q,{"data-open":e,onClick:e=>{e.stopPropagation(),t()}}))},ProfileDetailModal=({open:e,onClose:t,children:a,profileModalProps:r})=>{let{t:n}=(0,u.u)();return l.createElement(_.M,Object.assign({title:n("profilePanel.modal.heading"),titleProps:!0,className:"_2UKyiK1",opened:e,onClose:t,overlayOpacity:.2,overflow:"inside",transitionProps:{transition:"slide-left"},styles:{header:{borderBottom:0},inner:{padding:0,justifyContent:"flex-end"},modal:{height:"100%",borderRadius:0},body:{maxHeight:"100%"},content:{maxHeight:"100%",height:"100%",borderRadius:0}}},r),a)};p().extend(g());let CardAuthor=e=>{let{className:t="",community:i,name:m,username:p,url:h,avatar:g,role:v,title:b,userType:k="user",expertId:B,specialty:S,organisation:F,isMarryBaby:I,doctorId:H,hospitalId:_,hasQuickBooking:M,handleMakeAppointment:z,communityTrackingAttr:D,isAnonymous:j,showDetailPopup:L,showChatbotButton:T=!1,subLine:$,authActionWrapper:R,profileProps:Z,profileModalProps:G,extendEle:W,avatarProps:q,hideInfo:U,timeText:V,onCloseFromPost:Y,onChatWithBot:K,avatarIcon:J,badgeIconSize:Q,hideBackground:X,children:ee,styles:et,dataEventCategory:ea,dataEventAction:el,dataEventLabel:er}=e,{data:{locale:en,router:ei,env:{isMarryBaby:eo,togetherBasePath:es}}}=(0,l.useContext)(y.T),{isMobile:ec}=(0,E.u)(),{t:ed}=(0,u.u)(),{classes:em}=P(void 0,{name:"CardAuthor",styles:et}),ep="boolean"==typeof I?I:eo,eh=ep?"marryBaby":"helloSites",eg=j?ed("cardPost.anonymous"):m||p||"",eu=j?w.C.getAssetPath("avatar.jpg"):g,ef=j?void 0:v,[eC,ex]=(0,l.useState)(!1),{asPath:ev}=ei||{},eb=`https://${N.v[en]}${ev}`,onAuthorClick=()=>{if(j)return!1;L?ew(!0):h&&(window.location.href=h)};(0,l.useEffect)(()=>{(0,f.t)(eC)},[eC]);let[eE,ew]=(0,l.useState)(!1),ey=(null==e?void 0:e.role)==="expert",ek=!!(H||_),eB=["expert"===ef&&F&&l.createElement("span",null,F),"expert"===ef&&S&&l.createElement("span",null,S),!("expert"===ef&&S&&F)&&(null==i?void 0:i.name)&&l.createElement("a",Object.assign({href:(null==i?void 0:i.slug)&&i.isActive&&!i.isHidden?`${es}/${null==i?void 0:i.slug}/`:void 0,className:"author-community-name"},D),`${null==i?void 0:i.name}`),V&&l.createElement("span",null,V)].filter(Boolean),[eA,eS]=(0,l.useState)(null);return(0,l.useEffect)(()=>{eE&&!eA&&("chatbot"===k?Promise.all([a.e(5231),a.e(7797),a.e(5454),a.e(5481),a.e(2354),a.e(3684),a.e(5349),a.e(4148),a.e(2509),a.e(1533),a.e(1108),a.e(9124),a.e(4190),a.e(1829),a.e(6509),a.e(8674),a.e(9301),a.e(7730),a.e(3929),a.e(3741),a.e(137),a.e(4414),a.e(7613),a.e(8098),a.e(3416),a.e(2500),a.e(1570),a.e(3506),a.e(1413)]).then(a.bind(a,"s7iv")).then(e=>{eS(()=>e.ProfileChatbot)}):Promise.all([a.e(9409),a.e(6259),a.e(1818),a.e(7519),a.e(761),a.e(2189),a.e(5231),a.e(7797),a.e(5454),a.e(5481),a.e(2354),a.e(3684),a.e(5349),a.e(4148),a.e(2509),a.e(1533),a.e(1108),a.e(9124),a.e(4190),a.e(1829),a.e(6509),a.e(8674),a.e(9301),a.e(7730),a.e(3929),a.e(3741),a.e(137),a.e(4414),a.e(7613),a.e(8098),a.e(3416),a.e(2500),a.e(1570),a.e(3506),a.e(1413)]).then(a.bind(a,"aUqw")).then(e=>{eS(()=>e.ProfileDetail)}))},[eE,k]),l.createElement(O.Provider,{value:{displayName:eg,title:b,role:ef,siteType:eh,handleMakeAppointment:z,doctorId:H,hospitalId:_,currentUrl:eb}},l.createElement(ProfileDetailModal,{open:eE,onClose:()=>ew(!1),profileModalProps:G},eA&&l.createElement(eA,Object.assign({currentPageUrl:er,authActionWrapper:R,onCloseFromPost:()=>{ew(!1),null==Y||Y()},onChatWithBot:K},Z,{authorProps:Object.assign({userId:null==e?void 0:e.userId,avatar:eu,name:null==e?void 0:e.name,role:null==e?void 0:e.role,title:null==e?void 0:e.title,doctorId:H,hospitalId:_,hasQuickBooking:M,userType:k},null==Z?void 0:Z.authorProps)}))),"expert"===ef&&B?l.createElement(PopupExpert,{isOpen:eC,onClose:()=>ex(!1),expertId:B}):null,"expert"===ef&&H?l.createElement(PopupDoctor,{isOpen:eC,onClose:()=>ex(!1),doctorId:H,locale:en}):null,"expert"===ef&&_?l.createElement(PopupHospital,{isOpen:eC,onClose:()=>ex(!1),hospitalId:_,locale:en}):null,l.createElement("div",{className:`hhg-card-author ${em.root} ${t} ${ey?"expert-author":""}`,"data-background":!X&&ey,"data-is-marrybaby":ep},l.createElement(CardAuthor$1,{dataEventCategory:ea,dataEventAction:el,dataEventLabel:er,onAvatarClick:onAuthorClick,avatarProps:Object.assign(Object.assign({avatar:j?w.C.getAssetPath(ep?"anomyous-avatar-1.svg":"anomyous-avatar.svg"):eu,username:eg},q),{style:{cursor:!j&&(h||L)?"pointer":"default"}}),avatarIcon:J||ey&&l.createElement(r.Z,{size:Q||15})},ee?l.createElement("div",{onClick:onAuthorClick},ee):!U&&l.createElement(CardAuthor$1.Row,null,l.createElement(CardAuthor$1.ColLeft,null,l.createElement(s.k,{align:"center",onClick:onAuthorClick},l.createElement(CardAuthor$1.MainText,{onClick:onAuthorClick},eg,"chatbot"===k?l.createElement(l.Fragment,null," ",l.createElement(n.Z,{color:A.r.colors.primaryBase,size:16,style:{display:"inline-block",transform:"translate(0, 2px)"}}),T&&l.createElement("div",{style:{marginTop:"8px"}},l.createElement(c.z,{color:"primary",size:"xs",variant:"filled",type:"button",leftIcon:l.createElement(x.I.App,{size:16}),onClick:()=>{null==K||K()}},ed("chatbot.with.me")))):l.createElement(AuthorBadgeItem,null))),$||l.createElement(CardAuthor$1.SubTextRow,{style:M?{position:"relative"}:{}},eB.map((e,t)=>l.createElement(l.Fragment,null,0!==t&&l.createElement(CardAuthor$1.SubDivider,null),l.createElement(CardAuthor$1.SubText,null,e))),M&&ek&&l.createElement(o.x,{sx:{marginTop:(0,d.h)(5)}},l.createElement(C.B,{bookingId:H||_,bookingType:H?"doctor":_?"hospital":void 0,size:ec?"xs":"sm"})))))),W&&W))};CardAuthor.MainText=CardAuthor$1.MainText,CardAuthor.SubText=CardAuthor$1.SubText,CardAuthor.SubTextRow=CardAuthor$1.SubTextRow,CardAuthor.SubDivider=CardAuthor$1.SubDivider,CardAuthor.AuthorBadge=AuthorBadgeItem,CardAuthor.DisplayName=()=>{let{displayName:e}=(0,l.useContext)(O);return l.createElement(o.x,null,e)}},S0Zs:function(e,t,a){a.d(t,{U:function(){return UserAvatar}});var l=a("LufY"),r=a("q1tI"),n=a("Y8gQ"),i=a("rBCA"),o=a("iBNF");let s=i.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: ${o.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: ${o.r.mbColors.pink}; } } `,UserAvatar=e=>{var{className:t,isMarryBaby:a,style:i,avatar:o,username:c,size:d}=e,m=(0,l._)(e,["className","isMarryBaby","style","avatar","username","size"]);let{data:{env:{isMarryBaby:p}}}=(0,r.useContext)(n.T),[h,g]=(0,r.useState)(!1);return r.createElement(s,Object.assign({"data-is-marrybaby":"boolean"==typeof a?a:p,className:t,style:i,size:d},m),o&&!h?r.createElement("img",{loading:"lazy",src:o,className:"avatar",alt:"avatar",onError:()=>{h||g(!0)}}):r.createElement("div",{className:"avatar avatar-default"},c&&(null==c?void 0:c.length)>0?c[0].toUpperCase():"A"))}},ShI9:function(e,t,a){a.d(t,{I:function(){return s}});var l=a("LufY"),r=a("q1tI"),n=a("iBNF"),i=a("i6cE"),o=a("fidu");let Bookmark=e=>{var{size:t,color:a,useCurrentColor:n,isActive:i,activeColor:o,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":i?o:a,m=Object.assign({width:t,height:t},c);return s?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},m),r.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})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),r.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:i,activeColor:o,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":i?o:a,m=Object.assign({width:t,height:t},c);return s?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},m),r.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})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),r.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:i,activeColor:o}=e,s=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let c=Object.assign({width:t,height:t},s);return r.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},c),r.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":i?o: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:i,activeColor:o,isSolid:s,isMarryBaby:c}=e,d=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isSolid","isMarryBaby"]);let m=n?"currentColor":i?o:a,p=Object.assign({width:t,height:t},d);return c?r.createElement(r.Fragment,null,s?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18"},p),r.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:m})):r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},p),r.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:m}))):r.createElement(r.Fragment,null,s?r.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},p),r.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:m})):r.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},p),r.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:m})))};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:i,activeColor:o,isMarryBaby:s}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=n?"currentColor":i?o:a,m=Object.assign({width:t,height:t},c);return s?r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},m),r.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})):r.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},m),r.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:i,activeColor:o=n.r.colors.primaryBase,isActive:s,isMarryBaby:c,isSolid:d=!0}=e,m=(0,l._)(e,["size","color","useCurrentColor","activeColor","isActive","isMarryBaby","isSolid"]);let p=i?"currentColor":s?o:a;return c?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},m),r.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:p,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:p,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):d?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),r.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:p})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),r.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:p}))},Eye,WhatsApp:i.W,ArrowRightTail:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:i,isActive:o,activeColor:s=n.r.colors.primaryBase}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return r.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},d),r.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:i?"currentColor":o?s:a}))},Spinner:o.S,Cart:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:i,isActive:o,isSolid:s,activeColor:c=n.r.colors.primaryBase}=e,d=(0,l._)(e,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);let m=i?"currentColor":o?c:a,p=Object.assign({width:t,height:t},d);return s?r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),r.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:m})):r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),r.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:m}))},CartWithAdd:e=>{var{size:t=24,color:a=n.r.colors.gray600,useCurrentColor:i,isActive:o,activeColor:s=n.r.colors.primaryBase}=e,c=(0,l._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},c);return r.createElement("svg",Object.assign({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),r.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:i?"currentColor":o?s:a}))},Instagram:i.I,Comment,Heart,App:e=>{var{size:t=24}=e,a=(0,l._)(e,["size"]);return r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r.createElement("g",{filter:"url(#filter0_ii_4999_54706)"},r.createElement("g",{clipPath:"url(#clip0_4999_54706)"},r.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint0_linear_4999_54706)"}),r.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"}}),r.createElement("g",{filter:"url(#filter1_dd_4999_54706)"},r.createElement("g",{filter:"url(#filter2_iii_4999_54706)"},r.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"}),r.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"}),r.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"}),r.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"})),r.createElement("mask",{id:"mask0_4999_54706",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"10",height:"10"},r.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"}),r.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"}),r.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"}),r.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"})),r.createElement("g",{mask:"url(#mask0_4999_54706)"},r.createElement("g",{filter:"url(#filter3_f_4999_54706)"},r.createElement("ellipse",{cx:"7.36076",cy:"7.31848",rx:"0.28125",ry:"0.421875",transform:"rotate(30 7.36076 7.31848)",fill:"white"})),r.createElement("g",{filter:"url(#filter4_f_4999_54706)"},r.createElement("rect",{x:"6.71875",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),r.createElement("g",{filter:"url(#filter5_f_4999_54706)"},r.createElement("rect",{x:"10.4688",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),r.createElement("g",{filter:"url(#filter6_f_4999_54706)"},r.createElement("ellipse",{cx:"10.267",cy:"7.50598",rx:"0.28125",ry:"0.421875",transform:"rotate(-30 10.267 7.50598)",fill:"white"}))))),r.createElement("rect",{x:"0.5",y:"0.5",width:"17",height:"17",rx:"2.5",stroke:"white"})),r.createElement("defs",null,r.createElement("filter",{id:"filter0_ii_4999_54706",x:"-0.191927",y:"-0.191927",width:"18.3839",height:"18.3839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.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"}),r.createElement("feOffset",{dx:"0.191927",dy:"0.191927"}),r.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),r.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"}),r.createElement("feOffset",{dx:"-0.191927",dy:"-0.191927"}),r.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"})),r.createElement("filter",{id:"filter1_dd_4999_54706",x:"2.375",y:"4.18774",width:"13.2539",height:"12.9998",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.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"}),r.createElement("feOffset",{dy:"0.375"}),r.createElement("feGaussianBlur",{stdDeviation:"0.375"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4999_54706"}),r.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"}),r.createElement("feOffset",{dy:"1.6875"}),r.createElement("feGaussianBlur",{stdDeviation:"1.125"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_4999_54706",result:"effect2_dropShadow_4999_54706"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_4999_54706",result:"shape"})),r.createElement("filter",{id:"filter2_iii_4999_54706",x:"4.25",y:"3.81274",width:"9.31641",height:"9.43726",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.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"}),r.createElement("feOffset",{dx:"-0.375",dy:"-0.9375"}),r.createElement("feGaussianBlur",{stdDeviation:"0.9375"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),r.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"}),r.createElement("feOffset",{dx:"0.1875",dy:"-0.375"}),r.createElement("feGaussianBlur",{stdDeviation:"0.1875"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"}),r.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"}),r.createElement("feOffset",{dx:"-0.1875",dy:"-0.9375"}),r.createElement("feGaussianBlur",{stdDeviation:"0.46875"}),r.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),r.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"}),r.createElement("feBlend",{mode:"normal",in2:"effect2_innerShadow_4999_54706",result:"effect3_innerShadow_4999_54706"})),r.createElement("filter",{id:"filter3_f_4999_54706",x:"6.55924",y:"6.44706",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),r.createElement("filter",{id:"filter4_f_4999_54706",x:"6.23893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),r.createElement("filter",{id:"filter5_f_4999_54706",x:"9.98893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),r.createElement("filter",{id:"filter6_f_4999_54706",x:"9.46549",y:"6.63456",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),r.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),r.createElement("linearGradient",{id:"paint0_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#65B5FF"}),r.createElement("stop",{offset:"1",stopColor:"#2685F1"})),r.createElement("linearGradient",{id:"paint1_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:"0.151042",stopColor:"white"}),r.createElement("stop",{offset:"1",stopOpacity:"0.1"})),r.createElement("clipPath",{id:"clip0_4999_54706"},r.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"white"}))))},Save,Bookmark}},kHGx:function(e,t,a){a.d(t,{T:function(){return ThrForm}});var l=a("LufY"),r=a("q1tI"),n=a("cChf"),i=a("ZFu2"),o=a("gguO"),s=a("J5bt"),c=a("UbCi"),d=a("aIjN"),m=a("N6Jq"),p=a("9uQI"),h=a("HRfS"),g=a("rrs9"),u=a("hBkH"),f=a("6/Jd"),C=a("xrdX");let x=(0,r.createContext)({}),DefaultForm=e=>{var t,a=(0,l._)(e,[]);let{t:n,locale:i}=(0,s.u)(),{isAdult:o,activeValueNote:c,linkTool:d,form:v,submitProps:b}=(0,r.useContext)(x),{classes:E={}}=(0,r.useContext)(u.C);return r.createElement(f.H,Object.assign({formLayout:"default"},a),r.createElement(f.H.FormRow,null,r.createElement(m.G,Object.assign({},v.getInputProps("gender")))),r.createElement(f.H.FormRow,null,r.createElement(h.D,Object.assign({},v.getInputProps("age"),{placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},label:r.createElement(g.T,{size:"p2",weight:"semiBold"},n("targetHeartRate.ageInput")),maxDate:new Date}))),r.createElement(f.H.FormRow,null,r.createElement(p.I.Number,Object.assign({label:r.createElement(g.T,{size:"p2",weight:"semiBold"},n("targetHeartRate.heartRateInput")),placeholder:n("tools.inputPlaceholder",{content:"60"})},v.getInputProps("heartRate"),{min:40,max:200,styles:()=>({rightSection:{width:"auto"}})}))),o&&r.createElement(f.H.FormRow,null,r.createElement(p.S,Object.assign({label:r.createElement(g.T,{size:"p2",weight:"semiBold"},n("targetHeartRate.selectActive")),defaultValue:null===(t=null==c?void 0:c[0])||void 0===t?void 0:t.value,data:c.map(e=>({value:e.value,label:e.label})),styles:{item:{whiteSpace:"nowrap",padding:"10px 12px",fontSize:"14px"}},withinPortal:!0},v.getInputProps("activeValue")))),r.createElement(f.H.FormRow,{className:E.submitWrapper},r.createElement(f.H.Submit,Object.assign({className:E.submitBtn,type:"submit",dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${C.v[i]}/${d}`},b),n("bmi.submit"))))},InlineForm=e=>{var t,a=(0,l._)(e,[]);let{t:n,locale:i}=(0,s.u)(),{isAdult:o,activeValueNote:c,linkTool:d,form:g,submitProps:v}=(0,r.useContext)(x),{classes:b={}}=(0,r.useContext)(u.C);return r.createElement(f.H,Object.assign({formLayout:"inline"},a),r.createElement(f.H.FormRow,null,r.createElement(f.H.BorderInlineControl,{label:n("tools.selectGender"),width:"none"},r.createElement(m.G,Object.assign({type:"radio",hideLabel:!0,error:null},g.getInputProps("gender")))),g.errors.gender&&r.createElement(f.H.Error,null,g.errors.gender)),r.createElement(f.H.FormRow,null,r.createElement(f.H.BorderInlineControl,{label:n("targetHeartRate.ageInput")},r.createElement(h.D,Object.assign({},g.getInputProps("age"),{placeholder:"DD/MM/YYYY",popoverProps:{withinPortal:!0},error:null,maxDate:new Date}))),g.errors.age&&r.createElement(f.H.Error,null,g.errors.age)),r.createElement(f.H.FormRow,null,r.createElement(f.H.BorderInlineControl,{label:n("targetHeartRate.heartRateInput")},r.createElement(p.I.Number,Object.assign({placeholder:n("tools.inputPlaceholder",{content:"60"})},g.getInputProps("heartRate"),{error:null,min:40,max:200,rightSection:r.createElement(f.H.Unit,null,"bmp"),styles:()=>({rightSection:{width:"auto"}})}))),g.errors.heartRate&&r.createElement(f.H.Error,null,g.errors.heartRate)),o&&r.createElement(f.H.FormRow,null,r.createElement(f.H.BorderInlineControl,{label:n("targetHeartRate.selectActive")},r.createElement(p.S,Object.assign({defaultValue:null===(t=null==c?void 0:c[0])||void 0===t?void 0:t.value,data:c.map(e=>({value:e.value,label:e.label})),styles:{item:{whiteSpace:"nowrap",padding:"10px 12px",fontSize:"14px"}},withinPortal:!0},g.getInputProps("activeValue"))))),r.createElement(f.H.FormRow,{className:b.submitWrapper},r.createElement(f.H.Submit,Object.assign({className:b.submitBtn,type:"submit",dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${C.v[i]}/${d}`},v),n("bmi.submit"))))},ThrForm=e=>{var{formLayout:t,onSubmit:a,onError:m,submitProps:p}=e,h=(0,l._)(e,["formLayout","onSubmit","onError","submitProps"]);let{t:g,locale:u}=(0,s.u)(),f=(0,r.useRef)(40),{getHealthToolLink:C}=(0,o.u)(u),v=(0,n.c)({initialValues:{heartRate:60,activeValue:"low_intensity"},validate:{gender:(0,i.U)(g("validation.error.requiredField")),age:(0,i.U)(g("validation.error.requiredField")),heartRate:e=>Number(e)>=f.current&&200>=Number(e)?null:g("tools.heartRateRangeErr",{min:f.current,max:200})}}),b=(0,r.useMemo)(()=>C(d.H.THR),[C]),[E,w]=(0,r.useState)(!1),y=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],k=[{value:"low_intensity",label:g("targetHeartRate.lowIntensity.title"),image:c.C.getAssetPath("/low.svg"),imageActive:c.C.getAssetPath("/low-active.svg"),content:g("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:g("targetHeartRate.moderateIntensity.title"),image:c.C.getAssetPath("/moderate.svg"),imageActive:c.C.getAssetPath("/moderate-active.svg"),content:g("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:g("targetHeartRate.aerobicZone.title"),image:c.C.getAssetPath("/aerobic.svg"),imageActive:c.C.getAssetPath("/aerobic-active.svg"),content:g("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:g("targetHeartRate.vigorousIntensity.title"),image:c.C.getAssetPath("/vigorous.svg"),imageActive:c.C.getAssetPath("/vigorous-active.svg"),content:g("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:g("targetHeartRate.maximumIntensity.title"),image:c.C.getAssetPath("/maximum.svg"),imageActive:c.C.getAssetPath("/maximum-active.svg"),content:g("targetHeartRate.maximumIntensity.note")}];(0,r.useEffect)(()=>{let e=v.getInputProps("age").value,t=v.getInputProps("gender").value;if(e instanceof Date){let a=(new Date().getTime()-e.getTime())/1e3;a>=567648e3?w(!0):w(!1);let l=y.find(e=>a>=31536e3*e.minAge&&a<31536e3*e.maxAge)||y[0];f.current="male"===t?l.rangeMale:l.rangeFemale}},[v]);let B=Object.assign(Object.assign({},h),{onSubmit:v.onSubmit(a,m)});return r.createElement(x.Provider,{value:{isAdult:E,activeValueNote:k,linkTool:b,form:v,submitProps:p}},"inline"===t?r.createElement(InlineForm,Object.assign({},B)):r.createElement(DefaultForm,Object.assign({},B)))}},Ylzz:function(e,t,a){a.d(t,{D:function(){return DrawerComponent},u:function(){return useDrawerDrag}});var l=a("LufY"),r=a("q1tI"),n=a("iuhU"),i=a("rSBk"),o=a("rBCA"),s=a("L6+J");let c=300,useDrawerDrag=(e=c)=>{let[t,a]=(0,r.useState)(!1),l=(0,r.useCallback)(()=>{a(!0)},[]),n=(0,r.useCallback)(()=>{setTimeout(()=>{a(!1)},e)},[e]);return{isDragging:t,handleDragStart:l,handleDragEnd:n}},d=(0,o.Z)(i.dy.Content)` position: fixed; z-index: ${s.Z-9e6+1}; inset: 0; background-color: #fff; outline: none !important; &::-webkit-scrollbar { width: 6px; height: 6px; } &::-webkit-scrollbar-track { background-color: transparent; } &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.4); border-radius: 6px; } &[data-vaul-drawer-direction='bottom'] { border-top-left-radius: 8px; border-top-right-radius: 8px; } &[data-vaul-drawer-direction='top'] { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } &[data-vaul-drawer-direction='left'] { border-top-right-radius: 8px; border-bottom-right-radius: 8px; } &[data-vaul-drawer-direction='right'] { border-top-left-radius: 8px; border-bottom-left-radius: 8px; } ${e=>e.isDragging&&` input { caret-color: transparent; } `} `,m=(0,o.Z)(i.dy.Overlay)` position: fixed; inset: 0; z-index: ${s.Z-9e6}; width: 100%; max-height: 100%; &[data-state='open'] { opacity: 0.6 !important; } `,DrawerComponent=e=>{let{open:t,onOpenChange:a,snapPoints:o,activeSnapPoint:c,setActiveSnapPoint:p,children:h,overlayClassName:g,className:u,fadeFromIndex:f=s.Z-9e6,onClose:C}=e,x=(0,l._)(e,["open","onOpenChange","snapPoints","activeSnapPoint","setActiveSnapPoint","children","overlayClassName","className","fadeFromIndex","onClose"]),[v,b]=(0,r.useState)(t),[E,w]=(0,r.useState)(o?null==o?void 0:o[0]:null),{isDragging:y,handleDragStart:k,handleDragEnd:B}=useDrawerDrag(),A=(0,r.useCallback)(e=>{b(e),null==a||a(e)},[a]),S=(0,r.useMemo)(()=>o&&o.length?E===o[o.length-1]:v,[E,o]),F=(0,r.useMemo)(()=>{let e={open:v,onOpenChange:A,fadeFromIndex:f};return o&&(null==o?void 0:o.length)&&(e.snapPoints=o,e.activeSnapPoint=E,e.setActiveSnapPoint=e=>{w(e),null==p||p(e)}),e},[v,A,E,w,p,o,f]);return(0,r.useEffect)(()=>{b(t)},[t]),(0,r.useEffect)(()=>{w(c)},[c]),r.createElement(i.dy.Root,Object.assign({onDrag:k,onRelease:B,onClose:C},x,F),r.createElement(i.dy.Portal,null,r.createElement(m,{className:(0,n.default)(g,"drawer__overlay",{drawer__overlay_full:S})}),r.createElement(d,{isDragging:y,className:(0,n.default)(u,"drawer__content",{drawer__content_full:S})},r.createElement(i.dy.Handle,{className:"drawer__handle"}),r.createElement(i.dy.Title,{style:{display:"none"}}),h)))}},dCLH:function(e,t,a){a.d(t,{M:function(){return Modal}});var l=a("LufY"),r=a("q1tI"),n=a("h8tX"),i=a("4FpA");let Modal=e=>{var{styles:t,classNames:a,transitionProps:o}=e,s=(0,l._)(e,["styles","classNames","transitionProps"]);let{classes:c}=(0,i.u)(void 0,{name:"Modal",styles:t,classNames:a});return r.createElement(n.u,Object.assign({centered:!0,classNames:c,transitionProps:Object.assign({transition:"fade"},o),trapFocus:!1},s))}},xMoD:function(e,t,a){a.d(t,{M:function(){return C},N:function(){return NotificationsHandler},a:function(){return getHeadingStyles},g:function(){return getMantineThemeOverride},s:function(){return showNotification},t:function(){return B},u:function(){return useMantineLocale}});var l=a("LufY"),r=a("q1tI"),n=a("Wgwc"),i=a.n(n),o=a("gFo6"),s=a("INKa"),c=a("0Woy"),d=a("L6+J"),m=a("mYVa"),p=a("UbCi"),h=a("iBNF"),g=a("kO4G"),u=a("5juI"),f=a("7R5d");let C={[o.L.Vietnam]:"vi",[o.L.Cambodia]:"km",[o.L.India]:"hi",[o.L.Indonesia]:"id",[o.L.Malaysia]:"ms",[o.L.Thailand]:"th",[o.L.Taiwan]:"zh-tw",[o.L.PhilippinesTagalog]:"tl-ph",[o.L.PhilippinesEnglish]:"en",[o.L.Myanmar]:"my",[o.L.Singapore]:"zh-cn"},x={[o.L.Vietnam]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"EdQk",23)),[o.L.Cambodia]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"9mFM",23)),[o.L.India]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"sjup",23)),[o.L.Indonesia]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"gydT",23)),[o.L.Malaysia]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"KjFU",23)),[o.L.Thailand]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"axPs",23)),[o.L.Taiwan]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"UIeI",23)),[o.L.Singapore]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"pHGr",23)),[o.L.PhilippinesTagalog]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"BmsB",23)),[o.L.PhilippinesEnglish]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"njAx",23)),[o.L.Myanmar]:()=>Promise.all([a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341)]).then(a.t.bind(a,"5EMu",23))},useMantineLocale=e=>{let[t,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{(0,l.a)(void 0,void 0,void 0,function*(){var t;a(!1),yield null===(t=x[e])||void 0===t?void 0:t.call(x),i().locale(C[e]),a(!0)})},[e]),{isLoaded:t}},GlobalButtonStyle=()=>({Button:{defaultProps:{variant:"primary",size:"md"}}}),v={[u.C.NONE]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#1a1a1a"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},[u.C.LEADGEN]:{hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626","#111111"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#ffdce9","#fec7dc","#feb2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#e92d74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffcb37","#ffc326","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]}};function NotificationsHandler(){return r.createElement(s.T,{position:"top-right",zIndex:d.Z+5,autoClose:5e3})}let b={success:"green",danger:"red",warning:"yellow",info:"blue",firebase:"gray"},E={success:r.createElement(()=>r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M10 18.333a8.333 8.333 0 1 0 0-16.666 8.333 8.333 0 0 0 0 16.666",fill:"#00B16A"}),r.createElement("path",{d:"m13.833 7.5-5.5 5-2.5-2.273",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),danger:r.createElement(()=>r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10",fill:"#262626"}),r.createElement("path",{d:"m14.829 9.172-5.657 5.656m-.001-5.656 5.657 5.656",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),warning:r.createElement(()=>r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.66666C5.4 1.66666 1.66667 5.39999 1.66667 9.99999C1.66667 14.6 5.4 18.3333 10 18.3333C14.6 18.3333 18.3333 14.6 18.3333 9.99999C18.3333 5.39999 14.6 1.66666 10 1.66666ZM10 10.8333C9.54167 10.8333 9.16667 10.4583 9.16667 9.99999V6.66666C9.16667 6.20832 9.54167 5.83332 10 5.83332C10.4583 5.83332 10.8333 6.20832 10.8333 6.66666V9.99999C10.8333 10.4583 10.4583 10.8333 10 10.8333ZM9.16667 12.5V14.1667H10.8333V12.5H9.16667Z",fill:"#FE921D"})),null),info:r.createElement(()=>r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12",fill:"#2D87F3"}),r.createElement("path",{d:"M8 11V8m0-3h.01",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),null),firebase:""},showNotification=e=>{var{type:t,title:a}=e,n=(0,l._)(e,["type","title"]);let i=E[t];c.N9.show(Object.assign(Object.assign({title:r.createElement("b",null,a),icon:i,withCloseButton:!0,closeButtonProps:{label:"Close alert"}},n),{styles:e=>{let a=b[t]||"blue";return{root:{backgroundColor:e.colors[a][0],borderColor:e.colors[a][0],"&::before":{backgroundColor:e.white}},title:{color:e.colors[a][8]},description:{color:e.black},closeButton:{color:e.black,"&:hover":{backgroundColor:e.colors[a][0]}},icon:{backgroundColor:"transparent",padding:0}}}}))},w={Container:{defaultProps:{sizes:{lg:(0,m.em)(g.S.LG)}}}},y={none:{default:[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]},leadgen:{default:[{size:"40px",lineHeight:"48px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"40px",letterSpacing:"-1px"},{size:"26px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"20px",lineHeight:"28px",letterSpacing:"-0.4px"},{size:"17px",lineHeight:"24px",letterSpacing:"-0.4px"},{size:"15px",lineHeight:"24px",letterSpacing:"-0.3px"}],mbDown:[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}]}},getHeadingStyles=e=>{let{version:t=u.C.NONE,mbDown:a}=e||{},l=y[t]||{};return Object.fromEntries((l[a?"mbDown":"default"]||[]).map((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))},GlobalHeadingStyle=(e=u.C.NONE)=>({Title:{styles:{root:Object.assign(Object.assign({fontWeight:u.F.bold},getHeadingStyles({version:e})),{[`&${g.M.mbDown}`]:Object.assign({},getHeadingStyles({version:e,mbDown:!0}))})}}}),GlobalInputStyle=e=>{var t;return{InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:(0,m.h)(14),lineHeight:"22px",color:h.r.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:h.r.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:null===(t=d.I[e])||void 0===t?void 0:t.separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${h.r.colors.gray200}`,transition:`all ${f.A} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,minHeight:"unset",fontSize:16,lineHeight:"24px"};case"md":return{height:40,minHeight:"unset",fontSize:(0,m.h)(14),lineHeight:"22px"};case"sm":return{height:32,minHeight:"unset",fontSize:(0,m.h)(14),lineHeight:"22px"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${h.r.colors.red600}`,color:"#000"}})}}},k={Radio:{defaultProps:{size:"sm",color:"blue.6"},styles:{radio:{backgroundColor:"transparent","&:checked":{backgroundColor:"transparent"}}}}},B=v[u.C.NONE],getMantineThemeOverride=(e,t="hb",a)=>{var l;return{defaultRadius:"hb"===t?8:16,cursorType:"pointer",colors:Object.assign(Object.assign(Object.assign({},null!==(l=v[a])&&void 0!==l?l:v[u.C.NONE]),h.r.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:(e===o.L.Cambodia?"Battambang":e===o.L.Thailand?"Noto Sans Thai":"Inter")+", -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:(0,m.em)(g.B.BREAK_POINT_SMALL_MOBILE),sm:(0,m.em)(g.B.BREAK_POINT_MOBILE),md:(0,m.em)(g.B.BREAK_POINT_TABLET),lg:(0,m.em)(g.B.BREAK_POINT_PC),xl:(0,m.em)(g.B.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},GlobalInputStyle(e)),k),GlobalButtonStyle()),GlobalHeadingStyle(a)),w),other:{template:t,customStyleType:a,defaultImage:p.C.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}}},AEgS:function(e,t,a){a.d(t,{P:function(){return PWGForm}});var l=a("LufY"),r=a("q1tI"),n=a("8vDj"),i=a("iuhU"),o=a("cChf"),s=a("ZFu2"),c=a("gguO"),d=a("J5bt"),m=a("aIjN"),p=a("9uQI"),h=a("rrs9"),g=a("hBkH"),u=a("6/Jd"),f=a("FjjF"),C=a("xrdX");let x=(0,r.createContext)({}),DefaultForm=e=>{var t=(0,l._)(e,[]);let{t:a,locale:o}=(0,d.u)(),{linkTool:s,form:c,submitProps:m}=(0,r.useContext)(x),{classes:v={}}=(0,r.useContext)(g.C),b=(0,n.rZ)(),E="mb"===b.other.template;return r.createElement(u.H,Object.assign({formLayout:"default"},t),r.createElement(u.H.FormRow,null,r.createElement(p.I.Number,Object.assign({label:r.createElement(h.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weekInput")),min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`},c.getInputProps("pregnantWeek")))),r.createElement(u.H.FormRow,null,r.createElement(p.I.Number,Object.assign({label:r.createElement(h.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightBeforeInput")),min:f.I.weight.min,max:f.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("lastWeight")))),r.createElement(u.H.FormRow,null,r.createElement(p.I.Number,Object.assign({label:r.createElement(h.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.heightInput")),min:f.I.height.min,max:f.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"})},c.getInputProps("height")))),r.createElement(u.H.FormRow,null,r.createElement(p.I.Number,Object.assign({label:r.createElement(h.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightInput")),min:f.I.weight.min,max:f.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("weight")))),r.createElement(u.H.FormRow,null,r.createElement(u.H.Switching,Object.assign({label:r.createElement(h.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.havingTwins"))},c.getInputProps("hasTwin")))),r.createElement(u.H.FormRow,{className:v.submitWrapper},r.createElement(u.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[E?"vi-VN_MB":o]}/${s}`,className:(0,i.default)("due-date-calculate-button",v.submitBtn)},m),a("dueDatePage.lastPeriod.calculate"))))},InlineForm=e=>{var t=(0,l._)(e,[]);let{t:a,locale:o}=(0,d.u)(),{classes:s={}}=(0,r.useContext)(g.C),{linkTool:c,form:m,submitProps:h}=(0,r.useContext)(x),v=(0,n.rZ)(),b="mb"===v.other.template;return r.createElement(u.H,Object.assign({formLayout:"inline"},t),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderInlineControl,{label:a("pregnancyWeightGain.weekInput")},r.createElement(p.I.Number,Object.assign({min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`,rightSection:r.createElement(u.H.Unit,null,a("pwgForm.week"))},m.getInputProps("pregnantWeek"))))),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightBeforeInput")},r.createElement(p.I.Number,Object.assign({},m.getInputProps("lastWeight"),{min:f.I.weight.min,max:f.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:r.createElement(u.H.Unit,null,a("babyGrowth.kg"))})))),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderInlineControl,{label:a("pregnancyWeightGain.heightInput")},r.createElement(p.I.Number,Object.assign({},m.getInputProps("height"),{min:f.I.height.min,max:f.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"}),rightSection:r.createElement(u.H.Unit,null,a("babyGrowth.cm"))})))),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightInput")},r.createElement(p.I.Number,Object.assign({},m.getInputProps("weight"),{min:f.I.weight.min,max:f.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:r.createElement(u.H.Unit,null,a("babyGrowth.kg"))})))),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderInlineControl,{label:a("pregnancyWeightGain.havingTwins"),width:"none"},r.createElement(u.H.Switching,Object.assign({},m.getInputProps("hasTwin"))))),r.createElement(u.H.FormRow,{className:s.submitWrapper},r.createElement(u.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[b?"vi-VN_MB":o]}/${c}`,className:(0,i.default)("due-date-calculate-button",s.submitBtn)},h),a("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,l._)(e,[]);let{t:a,locale:i}=(0,d.u)(),{linkTool:o,form:s,submitProps:c}=(0,r.useContext)(x),m=(0,n.rZ)(),h="mb"===m.other.template;return r.createElement(u.H,Object.assign({formLayout:"inline"},t),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderBoxControl,{label:a("pregnancyWeightGain.weekInput"),rightSection:a("pregnancy.week")},r.createElement(p.I.Number,Object.assign({min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`},s.getInputProps("pregnantWeek")))),s.errors.pregnantWeek&&r.createElement(u.H.Error,null,s.errors.pregnantWeek)),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightBeforeInput"),rightSection:"kg"},r.createElement(p.I.Number,Object.assign({min:f.I.weight.min,max:f.I.weight.max},s.getInputProps("lastWeight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.lastWeight&&r.createElement(u.H.Error,null,s.errors.lastWeight)),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderBoxControl,{label:a("pregnancyWeightGain.heightInput"),rightSection:"cm"},r.createElement(p.I.Number,Object.assign({min:f.I.height.min,max:f.I.height.max},s.getInputProps("height"),{placeholder:a("tools.inputPlaceholder",{content:"160"})}))),s.errors.height&&r.createElement(u.H.Error,null,s.errors.height)),r.createElement(u.H.FormRow,null,r.createElement(u.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightInput"),rightSection:"kg"},r.createElement(p.I.Number,Object.assign({min:f.I.weight.min,max:f.I.weight.max},s.getInputProps("weight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.weight&&r.createElement(u.H.Error,null,s.errors.weight)),r.createElement(u.H.Switching,Object.assign({label:a("pregnancyWeightGain.havingTwins")},s.getInputProps("hasTwin"))),r.createElement(u.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[h?"vi-VN_MB":i]}/${o}`,className:"due-date-calculate-button"},c),a("dueDatePage.lastPeriod.calculate")))},PWGForm=e=>{var{formLayout:t="default",submitProps:a,onSubmit:i}=e,p=(0,l._)(e,["formLayout","submitProps","onSubmit"]);let{t:h,locale:g}=(0,d.u)(),u=(0,n.rZ)(),f="mb"===u.other.template,C=(0,o.c)({validate:{pregnantWeek:(0,s.U)(h("validation.error.requiredField")),height:(0,s.U)(h("validation.error.requiredField")),weight:(e,t)=>e?Number(e)>=Number(t.lastWeight)?null:h("pregnancyWeightGain.weightInput.error"):h("validation.error.requiredField"),lastWeight:(e,t)=>e?Number(e)v(m.H.PWG),[v]),E=Object.assign({onSubmit:C.onSubmit(i)},p);return r.createElement(x.Provider,{value:{linkTool:b,form:C,submitProps:a}},"inline"===t?r.createElement(InlineForm,Object.assign({},E)):f?r.createElement(MbLayout,Object.assign({formLayout:t},E)):r.createElement(DefaultForm,Object.assign({},E)))}},fBPh:function(e,t,a){a.d(t,{D:function(){return Dropdown}});var l=a("q1tI"),r=a("8vDj"),n=a("rBCA"),i=a("iBNF");let o=n.Z.div` --dropdown-padding: 12px 18px 12px 16px; position: relative; box-sizing: border-box; border: 1px solid ${i.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: ${i.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: ${i.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: ${i.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: ${i.r.colors.white}; border-radius: ${i.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 ${i.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: ${i.r.colors.gray100}; } `,m=n.Z.div` max-width: 16px; margin-right: 8px; `,p=n.Z.div` position: absolute; top: 12px; left: 16px; pointer-events: none; `,Dropdown=({className:e,value:t,options:a,onChange:n=()=>void 0,id:i,placeholderIcon:h,placeholder:g,style:u,size:f="lg",groupedWithLabel:C,disabled:x,dropdownLabelTrackingAttributes:v={},isNativeSelect:b=!1})=>{let E=(0,r.rZ)(),[w,y]=l.useState(!1),showDropdown=()=>!x&&y(!w);if(b){let e="object"==typeof(null==t?void 0:t.value)&&t.value instanceof Date?t.value.toString():null==t?void 0:t.value;return l.createElement(o,{color:E.fn.primaryColor(),shadowColor:E.colors[E.primaryColor][2],as:"select","data-is-native":"true",value:e||void 0,disabled:x,onChange:e=>{if("string"==typeof e.target.value){let t=a.find(t=>t.value===e.target.value);t&&n(t)}}},g&&l.createElement("option",{value:g,disabled:!0,selected:!0},g),a.map(e=>l.createElement("option",{key:`${i}-${e.value}`,value:e.value,disabled:!!e.disabled&&e.disabled},e.label)))}return l.createElement(o,{color:E.fn.primaryColor(),shadowColor:E.colors[E.primaryColor][2],className:e,"data-dropdown-open":w||void 0,"data-size":f,id:i,"data-has-icons":!!h,style:u,onBlur:()=>y(!1),tabIndex:0,"data-disabled":x},!!C&&l.createElement(p,null,C),l.createElement(s,Object.assign({color:E.fn.primaryColor(),shadowColor:E.colors[E.primaryColor][2],onClick:showDropdown,className:C&&"with-label"},v),h," ",l.createElement("span",null,t&&t.value?t.label:g)),w&&l.createElement(c,{onClick:showDropdown,"data-has-icons":!!h},a.map(e=>l.createElement(d,{key:`${i}-${e.value}`,"data-selected":t&&t.value===e.value||void 0,onClick:()=>!e.disabled&&!x&&(null==n?void 0:n(e)),"data-disabled":!!e.disabled&&e.disabled},e.icon&&l.createElement(m,null,e.icon),e.label))))}},"5juI":function(e,t,a){a.d(t,{C:function(){return n},F:function(){return i},G:function(){return GlobalTextStyleNew},T:function(){return TemplateProvider},a:function(){return c},u:function(){return useTemplateVariant}});var l,r,n,i,o=a("mYVa"),s=a("q1tI");(l=n||(n={})).LEADGEN="leadgen",l.NONE="none",(r=i||(i={}))[r.regular=400]="regular",r[r.halfBold=500]="halfBold",r[r.semiBold=600]="semiBold",r[r.bold=700]="bold";let c={[n.NONE]:{fontSize:{base:[(0,o.h)(16),(0,o.h)(16)],lg:[(0,o.h)(18),(0,o.h)(16)],md:[(0,o.h)(18),(0,o.h)(16)],sm:[(0,o.h)(16),(0,o.h)(14)],xs:[(0,o.h)(14),(0,o.h)(12)],s1:[(0,o.h)(22),(0,o.h)(18)],s2:[(0,o.h)(18),(0,o.h)(16)],s3:[(0,o.h)(16),(0,o.h)(14)],s4:[(0,o.h)(14),(0,o.h)(12)],s5:[(0,o.h)(12),(0,o.h)(12)],p1:[(0,o.h)(18),(0,o.h)(16)],p2:[(0,o.h)(16),(0,o.h)(16)],p3:[(0,o.h)(16),(0,o.h)(14)],p4:[(0,o.h)(14),(0,o.h)(12)],p5:[(0,o.h)(12),(0,o.h)(12)],c1:[(0,o.h)(16),(0,o.h)(14)],c2:[(0,o.h)(14),(0,o.h)(12)],n1:[(0,o.h)(12),(0,o.h)(12)],label1:[(0,o.h)(14),(0,o.h)(14)],label2:[(0,o.h)(12),(0,o.h)(12)],h1:[(0,o.h)(40),(0,o.h)(26)],h2:[(0,o.h)(32),(0,o.h)(24)],h3:[(0,o.h)(26),(0,o.h)(20)],h4:[(0,o.h)(22),(0,o.h)(18)],h5:[(0,o.h)(18),(0,o.h)(16)],h6:[(0,o.h)(16),(0,o.h)(14)],title1:[(0,o.h)(17),(0,o.h)(17)],title2:[(0,o.h)(15),(0,o.h)(15)]},lineHeight:{base:[(0,o.h)(24),(0,o.h)(24)],lg:[(0,o.h)(32),(0,o.h)(28)],md:[(0,o.h)(32),(0,o.h)(28)],sm:[(0,o.h)(24),(0,o.h)(22)],xs:[(0,o.h)(24),(0,o.h)(18)],s1:[(0,o.h)(32),(0,o.h)(26)],s2:[(0,o.h)(28),(0,o.h)(24)],s3:[(0,o.h)(24),(0,o.h)(24)],s4:[(0,o.h)(22),(0,o.h)(18)],s5:[(0,o.h)(18),(0,o.h)(18)],p1:[(0,o.h)(28),(0,o.h)(28)],p2:[(0,o.h)(24),(0,o.h)(24)],p3:[(0,o.h)(24),(0,o.h)(22)],p4:[(0,o.h)(22),(0,o.h)(18)],c1:[(0,o.h)(24),(0,o.h)(22)],c2:[(0,o.h)(22),(0,o.h)(18)],n1:[(0,o.h)(18),(0,o.h)(18)],label1:[(0,o.h)(22),(0,o.h)(22)],label2:[(0,o.h)(18),(0,o.h)(18)],h1:[(0,o.h)(52),(0,o.h)(34)],h2:[(0,o.h)(42),(0,o.h)(32)],h3:[(0,o.h)(36),(0,o.h)(26)],h4:[(0,o.h)(32),(0,o.h)(26)],h5:[(0,o.h)(28),(0,o.h)(24)],h6:[(0,o.h)(24),(0,o.h)(22)],title1:[(0,o.h)(24),(0,o.h)(24)],title2:[(0,o.h)(24),(0,o.h)(24)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h6:[0,-.2],title1:[-.4,-.4],title2:[-.3,-.3]},fontWeightBySize:{s1:i.semiBold,s2:i.semiBold,s3:i.semiBold,s4:i.semiBold,h1:i.bold,h2:i.bold,h3:i.bold,h4:i.bold,h5:i.bold,h6:i.bold},fontWeight:i},[n.LEADGEN]:{fontSize:{base:[(0,o.h)(16),(0,o.h)(16)],lg:[(0,o.h)(18),(0,o.h)(16)],md:[(0,o.h)(18),(0,o.h)(16)],sm:[(0,o.h)(16),(0,o.h)(14)],xs:[(0,o.h)(14),(0,o.h)(12)],s1:[(0,o.h)(22),(0,o.h)(18)],s2:[(0,o.h)(18),(0,o.h)(16)],s3:[(0,o.h)(16),(0,o.h)(14)],s4:[(0,o.h)(14),(0,o.h)(12)],s5:[(0,o.h)(12),(0,o.h)(12)],p1:[(0,o.h)(17),(0,o.h)(17)],p2:[(0,o.h)(15),(0,o.h)(15)],p3:[(0,o.h)(13),(0,o.h)(13)],p4:[(0,o.h)(14),(0,o.h)(12)],p5:[(0,o.h)(12),(0,o.h)(12)],c1:[(0,o.h)(12),(0,o.h)(12)],c2:[(0,o.h)(11),(0,o.h)(11)],n1:[(0,o.h)(12),(0,o.h)(12)],label1:[(0,o.h)(14),(0,o.h)(14)],label2:[(0,o.h)(12),(0,o.h)(12)],h1:[(0,o.h)(40),(0,o.h)(26)],h2:[(0,o.h)(32),(0,o.h)(24)],h3:[(0,o.h)(26),(0,o.h)(22)],h4:[(0,o.h)(22),(0,o.h)(20)],h5:[(0,o.h)(18),(0,o.h)(16)],h6:[(0,o.h)(16),(0,o.h)(14)],title1:[(0,o.h)(17),(0,o.h)(17)],title2:[(0,o.h)(15),(0,o.h)(15)],overline:[(0,o.h)(11),(0,o.h)(11)],subText:[(0,o.h)(10),(0,o.h)(10)]},lineHeight:{base:[(0,o.h)(24),(0,o.h)(24)],lg:[(0,o.h)(32),(0,o.h)(28)],md:[(0,o.h)(32),(0,o.h)(28)],sm:[(0,o.h)(24),(0,o.h)(22)],xs:[(0,o.h)(24),(0,o.h)(18)],s1:[(0,o.h)(32),(0,o.h)(26)],s2:[(0,o.h)(28),(0,o.h)(24)],s3:[(0,o.h)(24),(0,o.h)(24)],s4:[(0,o.h)(22),(0,o.h)(18)],s5:[(0,o.h)(18),(0,o.h)(18)],p1:[(0,o.h)(28),(0,o.h)(28)],p2:[(0,o.h)(24),(0,o.h)(24)],p3:[(0,o.h)(20),(0,o.h)(20)],p4:[(0,o.h)(22),(0,o.h)(18)],c1:[(0,o.h)(16),(0,o.h)(16)],c2:[(0,o.h)(22),(0,o.h)(18)],n1:[(0,o.h)(18),(0,o.h)(18)],label1:[(0,o.h)(22),(0,o.h)(22)],label2:[(0,o.h)(18),(0,o.h)(18)],h1:[(0,o.h)(48),(0,o.h)(34)],h2:[(0,o.h)(40),(0,o.h)(32)],h3:[(0,o.h)(32),(0,o.h)(32)],h4:[(0,o.h)(32),(0,o.h)(28)],h5:[(0,o.h)(28),(0,o.h)(24)],h6:[(0,o.h)(24),(0,o.h)(22)],title1:[(0,o.h)(24),(0,o.h)(24)],title2:[(0,o.h)(24),(0,o.h)(24)],overline:[(0,o.h)(12),(0,o.h)(12)],subText:[(0,o.h)(12),(0,o.h)(12)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.4,-.4],p2:[-.3,-.3],p3:[-.3,-.3],p4:[-.2,0],c1:[-.2,-.2],c2:[-.2,-.2],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.6,-.6],h4:[-.6,-.4],h5:[-.2,-.2],h6:[0,-.2],n1:[-.2,-.2],title1:[-.4,-.4],title2:[-.3,-.3],overline:[-.2,-.2],subText:[-.2,-.2]},fontWeightBySize:{s1:i.semiBold,s2:i.semiBold,s3:i.semiBold,s4:i.semiBold,h1:i.bold,h2:i.bold,h3:i.bold,h4:i.bold,h5:i.bold,h6:i.bold},fontWeight:i}},GlobalTextStyleNew=e=>({[n.LEADGEN]:{h1:{fontSize:(0,o.h)(40),lineHeight:(0,o.h)(48),letterSpacing:"-1.2px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(26),lineHeight:(0,o.h)(32),letterSpacing:"-0.6px"}},h2:{fontSize:(0,o.h)(32),lineHeight:(0,o.h)(40),letterSpacing:"-1px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(20),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"}},h3:{fontSize:(0,o.h)(26),lineHeight:(0,o.h)(32),letterSpacing:"-0.6px",[e.fn.smallerThan("sm")]:{fontSize:(0,o.h)(20),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"}},p1:{fontSize:(0,o.h)(17),lineHeight:(0,o.h)(28),letterSpacing:"-0.4px"},p2:{fontSize:(0,o.h)(15),lineHeight:(0,o.h)(24),letterSpacing:"-0.3px"}}}),d=(0,s.createContext)(n.NONE),TemplateProvider=({variant:e=n.NONE,children:t})=>s.createElement(d.Provider,{value:e},t),useTemplateVariant=()=>(0,s.useContext)(d)},A8RK:function(e,t,a){a.d(t,{F:function(){return Footer}});var l=a("q1tI"),r=a("sDBT"),n=a("Wgwc"),i=a.n(n),o=a("SPK5"),s=a("OAL+"),c=a("Eso5"),d=a("rrs9"),m=a("kO4G"),p=a("UpS/"),h=a("rBCA"),g=a("iBNF"),u=a("xrdX"),f=a("7v83"),C=a("dhtY");let x=h.Z.footer` background-color: #1b3250; .inner { padding: 64px 24px 98px 24px; margin: 0 auto; } .newsletter { padding: 24px 0; } .footer-logo { max-width: 132px; max-height: 32px; &[data-is-sehat='true'] { max-width: 250px; } img { object-fit: contain; } } .social { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; > .icons { display: flex; gap: 16px; } } hr { height: 1px; border: none; margin: 16px 0 16px 0; background: ${g.r.colors.neutral500}; opacity: 0.1; outline: none; } .footer-menu-column { min-width: 168px; } .footer-menu-title { margin-bottom: 16px; } .footer-menu-link { display: block; } .footer-menu-link-wrapper { display: flex; flex-direction: column; gap: 12px; } .copyright { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; .copyright-content { color: ${g.r.colors.neutral500}; font-size: 12px; } .copyright-image-wrapper { flex-shrink: 0; flex-wrap: wrap; display: flex; gap: 16px; justify-content: flex-end; .copyright-image { align-self: flex-start; img { height: 32px; } } } } .otherSites { display: flex; gap: 16px; align-items: center; padding: 19px 0; border-top: 1px solid ${g.r.colors.neutral100}1a; border-bottom: 1px solid ${g.r.colors.neutral100}1a; .flags { display: flex; gap: 12px; } } .signupButton { display: none; border: none; margin-top: 16px; outline: none; text-transform: uppercase; } ${m.M.mbDown} { .inner { padding: 64px 0; } .social { flex-direction: column; gap: 10px; align-items: start; } hr { margin-top: 0px; } .copyright { align-items: center; text-align: center; } .copyright-image-wrapper { justify-content: center; max-width: unset; } .otherSites { flex-direction: column; padding: 24px 0; .linkTitle { text-align: center; } .flags { flex-wrap: wrap; justify-content: center; } } .footer-menu-title { margin-bottom: 12px; } .footer-menu { display: grid; grid-template-columns: repeat(2, 1fr); > .footer-menu-column { padding: 24px 0; } > .footer-menu-column:first-child { grid-column-start: 1; grid-column-end: 3; border-top: 1px solid ${g.r.colors.neutral100}1a; border-bottom: 1px solid ${g.r.colors.neutral100}1a; > .footer-menu-link-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); } } } .otherSites { margin-bottom: 24px; } } ${m.M.mbUp} { .newsletter > p { max-width: 360px; } .hrMobile { display: none; } .copyright { gap: 24px; flex-direction: row-reverse; align-items: center; justify-content: space-between; } .otherSites { margin-bottom: 40px; } .columns { display: flex; flex-direction: row; width: 100%; gap: 16px; margin-bottom: 40px; > div:nth-child(1) { display: flex; flex-direction: column; flex: 1; } > div:nth-child(2) { display: flex; flex-direction: row; gap: 24px; } } } `,v=h.Z.img` width: 32px; height: 32px; ${m.M.mbDown} { width: 24px; height: 24px; } .country-flag { width: 100%; height: 100%; } `,Flag=({url:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:r})=>l.createElement(v,{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":t,"data-event-action":a,"data-content-label":r}),FooterMenuColumn=({title:e,items:t,locale:a,index:r})=>{let{isMobile:n}=(0,p.u)();return l.createElement("div",{className:"footer-menu-column"},e?l.createElement(d.T,{size:n?"s4":"s3",className:"footer-menu-title",weight:n?"regular":"semiBold",color:"neutral.6"},e):null,l.createElement("div",{className:"footer-menu-link-wrapper"},null==t?void 0:t.map((e,t)=>l.createElement(d.T,{size:n?"p3":"p4",as:"a","data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${u.v[a]}${e.url}`,className:"footer-menu-link",href:e.url,key:t,color:"#fff",weight:n&&0===r?"semiBold":"regular"},e.title))))},DiscoverFooter=({className:e,footerInfo:t,locale:a})=>{var n,o,s,c,m,h,g,u,f,C,v;let{isMobile:b}=(0,p.u)(),E=null==t?void 0:t.menu,w=(null===(o=null===(n=null==t?void 0:t.general)||void 0===n?void 0:n.verified)||void 0===o?void 0:o.filter(Boolean))||[];return l.createElement(x,{className:e},l.createElement(r.C,null,l.createElement("div",{className:"inner"},l.createElement("a",{href:"/"},l.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(s=null==t?void 0:t.general)||void 0===s?void 0:s.logo,alt:"Logo","data-is-sehat":"id-ID"===a})),l.createElement("div",{className:"columns"},l.createElement("div",{className:"newsletter"},l.createElement(d.T,{size:b?"s3":"s4",weight:"semiBold",color:"neutral.0"},null===(c=null==t?void 0:t.general)||void 0===c?void 0:c.content),l.createElement("div",{className:"social"},l.createElement(d.T,{size:"p4",color:"neutral.6"},null===(m=null==t?void 0:t.social)||void 0===m?void 0:m.title),l.createElement("div",{className:"icons"},null===(g=null===(h=null==t?void 0:t.social)||void 0===h?void 0:h.socials)||void 0===g?void 0:g.map((e,t)=>l.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},l.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon",width:"24",height:"24"})))))),l.createElement("div",{className:"footer-menu"},E&&l.createElement(l.Fragment,null,null==E?void 0:E.map((e,t)=>l.createElement(FooterMenuColumn,{title:e.menu_title,items:e.items,locale:a,key:t,index:t}))))),l.createElement("div",{className:"otherSites"},l.createElement(d.T,{size:"p4",className:"linkTitle",color:"neutral.6",weight:"regular"},null===(u=null==t?void 0:t.branch)||void 0===u?void 0:u.title),l.createElement("div",{className:"flags"},null===(C=null===(f=null==t?void 0:t.branch)||void 0===f?void 0:f.branch)||void 0===C?void 0:C.map((e,t)=>l.createElement("a",{href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},l.createElement(Flag,{url:e.flag,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))))),l.createElement("div",{className:"copyright"},l.createElement("div",{className:"copyright-image-wrapper"},w.length?w.map((e,t)=>l.createElement("a",{href:e.url,key:t,className:"copyright-image"},l.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"}))):null),l.createElement(d.T,{size:"n1",className:"copyright-content",as:"div",color:"neutral.6",weight:"regular"},l.createElement("div",{dangerouslySetInnerHTML:{__html:null===(v=null==t?void 0:t.general)||void 0===v?void 0:v.copyright.replace(/{currentYear}/gi,i()().get("year").toString())}}))))))},b=h.Z.footer` position: relative; overflow: hidden; .icons { margin-top: 12px; margin-bottom: 20px; > a:not(:last-child) { margin-right: 16px; } } a { text-decoration: none; } `,E=h.Z.div` position: relative; padding: 80px 0 40px; margin: auto 68px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid ${g.r.colors.neutral200}; ${m.M.tdDown} { margin: auto 16px; flex-wrap: wrap; row-gap: 32px; column-gap: 16px; } ${m.M.mbDown} { margin: auto 0; } `,w=h.Z.div` display: flex; justify-content: space-between; gap: 12px; flex-direction: column; ${m.M.mbDown} { flex: 1 1 160px; } .title { padding-bottom: 4px; } `,y=h.Z.div` display: flex; justify-content: space-between; gap: 12px; flex-direction: column; `,k=h.Z.div` background-color: #{map-get($mbColors, 'dark')}; padding: 16px 0; position: relative; img { width: 89px; height: 32px; } .content { display: flex; align-items: center; justify-content: space-between; gap: 174px; margin: auto 68px; ${m.M.tdDown} { margin: auto 16px; } ${m.M.mbDown} { flex-direction: column-reverse; gap: 16px; align-items: flex-start; margin: auto 0; } } .verify { display: flex; align-items: flex-start; gap: 8px; } `,B=h.Z.div` padding: 40px 0; ${m.M.mbUp} { margin: auto 68px; } `,A=h.Z.div` display: flex; gap: 16px; .social-logo { width: 28px; } `,MarryBabyFooter=({logoType:e="marryBaby",footerMenu:t,background:a})=>{var n;if(!t)return null;let{general:m,menu:p,socials:h}=t;return l.createElement(b,{style:{backgroundColor:a||"none"}},l.createElement(r.C,null,l.createElement(E,null,null==p?void 0:p.map(({menu_title:e,items:t},a)=>l.createElement(w,{key:`mbf${a}`},l.createElement(C.M,{className:"title",type:"subtitle-1",color:g.r.mbColors.pink},e),null==t?void 0:t.map(({title:e,url:t},a)=>l.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},l.createElement(y,{key:`mbitem${a}`},l.createElement(C.M,{type:"bodytext-2",color:g.r.mbColors.gray},e)))))))),l.createElement(r.C,null,l.createElement(B,null,l.createElement(o.k,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},l.createElement(s.K,{spacing:"24px",className:"info-item"},l.createElement(f.L,{className:"logo",type:e}),l.createElement(d.T,{size:"p4",as:"div"},l.createElement("div",{dangerouslySetInnerHTML:{__html:null==m?void 0:m.content}})),l.createElement(A,null,null==h?void 0:h.map(({icon:e,name:t,url:a},r)=>l.createElement("a",{key:`social${r}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},l.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t}))))),l.createElement(c.x,{className:"info-item",sx:{paddingTop:"7px"}},l.createElement(d.T,{size:"p4",as:"div"},l.createElement("div",{dangerouslySetInnerHTML:{__html:null==m?void 0:m.information}})))))),l.createElement(k,null,l.createElement(r.C,null,l.createElement("div",{className:"content"},l.createElement(d.T,{size:"p5",color:"#fff",as:"div"},l.createElement("div",{dangerouslySetInnerHTML:{__html:null==m?void 0:m.copyright.replace(/{currentYear}/gi,i()().get("year").toString())}})),l.createElement("div",{className:"verify"},null===(n=null==m?void 0:m.verified)||void 0===n?void 0:n.map(({image:e,url:t},a)=>l.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))},Footer=({locale:e,footerInfo:t,siteType:a,background:r})=>"helloSites"===a?l.createElement(DiscoverFooter,{locale:e,footerInfo:t||{}}):l.createElement(MarryBabyFooter,{footerMenu:t,background:r})}}]);