"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6509],{HKYo:function(e,t,a){a.d(t,{T:function(){return p}});var n=a("mHfz"),r=a("q1tI"),o=a("/npG"),i=a("8vDj"),l=a("TIp3"),s=a("xM4c"),c=(0,o.k)((e,t)=>{var a,n,r,o,i,l,c,p,d,m;let u=s.a[null==t?void 0:t.customStylesType]||s.a[s.C.NONE],h=null===(a=u.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(n=u.lineHeight[null==t?void 0:t.size])||void 0===n?void 0:n[0],E=null!==(i=null===(o=null===(r=u.letterSpacing)||void 0===r?void 0:r[null==t?void 0:t.size])||void 0===o?void 0:o[0])&&void 0!==i?i:0,f=null===(l=u.fontSize[null==t?void 0:t.size])||void 0===l?void 0:l[1],C=null===(c=u.lineHeight[null==t?void 0:t.size])||void 0===c?void 0:c[1],I=null!==(m=null===(d=null===(p=u.letterSpacing)||void 0===p?void 0:p[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==m?m:0;return{root:Object.assign({},(null==t?void 0:t.size)&&{fontWeight:(null==t?void 0:t.as)==="label"?s.F.semiBold:u.fontWeight[t.weight]||u.fontWeightBySize[null==t?void 0:t.size]||s.F.regular,fontSize:`${h}`,lineHeight:`${g}`,letterSpacing:E,[e.fn.smallerThan("sm")]:{fontSize:`${f}`,lineHeight:`${C}`,letterSpacing:I}})}});let p=(0,r.forwardRef)((e,t)=>{var a,{size:o,color:p,weight:d,as:m="p",styles:u,className:h,dataEventCategory:g,dataEventAction:E,dataEventLabel:f,variant:C}=e,I=(0,n._)(e,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel","variant"]);let b=(0,i.rZ)(),_=(0,s.u)(),{classes:y,cx:T}=c({size:o,weight:"caption"===d?"bold":d,as:m,customStylesType:_},{name:"Text",styles:u}),v="string"==typeof b.colors[p]?b.colors[p]:p;return r.createElement(l.x,Object.assign({"data-size":o,className:T(y.root,h),color:v||("label"===m?b.colors.gray[6]:(null===(a=null==b?void 0:b.other)||void 0===a?void 0:a.template)==="mb"?b.colors.delftGray[7]:void 0)||("primary"===C?b.colors.gray[9]:"secondary"===C?b.colors.gray[7]:"tertiary"===C?b.colors.gray[4]:"disabled"===C?b.colors.gray[3]:"error"===C?b.colors.red[6]:"success"===C?b.colors.green[6]:void 0)||b.colors.gray[7],component:m,"data-event-category":g,"data-event-action":E,"data-event-label":f,classNames:{root:Object.assign(Object.assign({},I.wordWrap?{"word-wrap":I.wordWrap}:void 0),I.isUppercase||"caption"===d?{"text-transform":"uppercase"}:void 0)},ref:t},I))})},DqIa:function(e,t,a){a.d(t,{B:function(){return E},C:function(){return L},E:function(){return A},F:function(){return S},G:function(){return g},N:function(){return y},S:function(){return O},V:function(){return x},a:function(){return f},c:function(){return b},d:function(){return _},e:function(){return w},f:function(){return T},g:function(){return v},h:function(){return R},i:function(){return k}});var n,r,o,i,l,s,c,p,d,m,u,h,g,E,f,C,I,b,_,y,T,v,x,O,N=a("tiO5");(n=g||(g={})).Boy="boy",n.Girl="girl",(r=E||(E={}))[r.Height=0]="Height",r[r.Weight=1]="Weight",r[r.Head=2]="Head",r[r.BMI=3]="BMI",(o=f||(f={}))[o.Weekly=0]="Weekly",o[o.Monthly=1]="Monthly",o[o.Yearly=2]="Yearly",(i=C||(C={}))[i.Height=0]="Height",i[i.Weight=1]="Weight",i[i.Head=2]="Head",i[i.BMI=3]="BMI",i[i.Record=4]="Record",(l=I||(I={}))[l.Phone=0]="Phone",l[l.OTP=1]="OTP",l[l.OTPEmail=2]="OTPEmail",l[l.PersonalInfo=3]="PersonalInfo",l[l.UpdatePassword=4]="UpdatePassword",l[l.Result=5]="Result",l[l.DynamicForm=6]="DynamicForm",(s=b||(b={}))[s.HEAD=0]="HEAD",s[s.TAIL=1]="TAIL",s[s.MIDDLE=2]="MIDDLE",s[s.CONNECT=3]="CONNECT",s[s.SSO=4]="SSO",s[s.MULTIPLE=5]="MULTIPLE",(c=_||(_={}))[c.UNDEFINED=-1]="UNDEFINED",c[c.TEXT=0]="TEXT",c[c.IMAGE=1]="IMAGE",c[c.FORM=2]="FORM",c[c.CONDITION=3]="CONDITION",c[c.POLL=4]="POLL",c[c.FINAL_STANDARD=5]="FINAL_STANDARD",c[c.FINAL=6]="FINAL",c[c.FINAL_THANK_YOU=7]="FINAL_THANK_YOU",c[c.RATING=8]="RATING",c[c.REACTION=9]="REACTION",c[c.REVIEW=10]="REVIEW",c[c.RESULT_POLL=11]="RESULT_POLL",c[c.RESULT_RATING=12]="RESULT_RATING",c[c.RESULT_REACTION=13]="RESULT_REACTION",c[c.OTP=14]="OTP";let w=[_.FINAL,_.FINAL_STANDARD,_.FINAL_THANK_YOU];(p=y||(y={})).BOT_TEXT="bot-text",p.BOT_IMAGE="bot-image",p.BOT_BACKGROUND_IMAGE="bot-background-image",p.BOT_BUTTON="bot-button",p.BOT_URL="bot-url",p.BOT_RECALCULATE="bot-recalculate",p.BOT_BOOKING="bot-booking",p.BOT_MAIN_TITLE="bot-main-title",p.BOT_MAIN_IMAGE="bot-main-image",p.BOT_MAIN_BODY="bot-main-body",p.BOT_MAIN_BUTTON="bot-main-button",p.BOT_SUB_TITLE="bot-sub-title",p.BOT_SUB_BODY="bot-sub-body",p.BOT_LANDING_PAGE_URL="bot-landing-page-url",p.BOT_LANDING_PAGE_BUTTON="bot-landing-page-button",p.BOT_RISK_SCREEN="bot-risk-screen",p.BOT_RELATED_ARTICLE="bot-related-article",p.THANK_YOU_IMAGE="thank-you-image",p.THANK_YOU_TITLE="thank-you-title",p.THANK_YOU_BODY="thank-you-body",p.TOTAL_LINE="total-line",p.BOT_SUBMISSION="bot-submission",p.BOT_EVENT_SUBMISSION="bot-event-submission",p.BOT_SUGGESTED_SERVICE="bot-suggested-service",p.SSO_INTENT="sso-intent",(d=T||(T={})).ACTION_CONDITION="action-condition",d.ACTION_INTERNAL="action-internal",d.ACTION_EXTERNAL="action-external",d.ACTION_SSO_REDIRECT="action-sso-redirect",d.ACTION_MULTIPLE_BUTTON="action-multiple-button",d.USER_CHOICE_TEXT="user-choice-text",d.USER_CHOICE_TEXT_BY_INPUT="user-choice-text-by-input",d.USER_CHOICE_NEXT="user-choice-next",d.USER_CHOICE_IMAGE="user-choice-image",d.USER_SUBMIT_TEXT="user-submit-text",d.USER_SUBMIT_NUMBER="user-submit-number",d.USER_SUBMIT_NAME="user-submit-name",d.USER_SUBMIT_PHONE="user-submit-phone",d.USER_SUBMIT_EMAIL="user-submit-email",d.USER_SUBMIT_DROPDOWN="user-submit-dropdown",d.USER_SUBMIT_DATE="user-submit-date",d.USER_SUBMIT_DOB="user-submit-dob",d.USER_SUBMIT_CONFIRM="user-submit-confirm",d.USER_SUBMIT_SEND="user-submit-send",d.USER_SUBMIT_RESEND="user-submit-resend",d.USER_SUBMIT_ADDRESS="user-submit-address",d.USER_SUBMIT_ADDRESS_PROVINCE="user-submit-address-province",d.USER_SUBMIT_ADDRESS_DISTRICT="user-submit-address-district",d.USER_SUBMIT_ADDRESS_COMMUNE="user-submit-address-commune",d.USER_SUBMIT_BMI="user-submit-bmi",d.USER_SUBMIT_BMI_HIDDEN="user-submit-bmi-hidden",d.USER_SUBMIT_TERMS="user-submit-terms",d.USER_SUBMIT_GENDER="user-submit-gender",d.USER_SUBMIT_OTP="user-submit-otp",d.USER_SUBMIT_WHATSAPP="user-submit-whatsapp",d.POLL_CHOICE="poll-choice",d.POLL_CHOICE_TEXT_BY_INPUT="poll-choice-text-by-input",d.POLL_CHOICE_IMAGE="poll-choice-image",d.POLL_BUTTON="poll-button",d.RATING_STAR="rating-star",d.RATING_DESCRIPTION="rating-description",d.RATING_BUTTON="rating-button",d.LIKE_CHOICE="like-choice",d.DISLIKE_CHOICE="dislike-choice",d.REVIEW_CHOICE="review-choice",d.REVIEW_DESCRIPTION="review-description",d.REVIEW_BUTTON="review-button",d.RESULT_BUTTON="result-button",d.POLL_RESULT="poll-result",d.USER_SUBMIT_GOOGLE_API_ADDRESS="user-submit-google-api-address";let S=[T.USER_SUBMIT_ADDRESS_PROVINCE,T.USER_SUBMIT_ADDRESS_DISTRICT,T.USER_SUBMIT_ADDRESS_COMMUNE,T.USER_SUBMIT_ADDRESS];(m=v||(v={}))[m.UNLIMITED=0]="UNLIMITED",m[m.EXACT_NUMBER=1]="EXACT_NUMBER",m[m.RANGE=2]="RANGE";let A={[T.USER_SUBMIT_EMAIL]:"email",[T.USER_SUBMIT_TEXT]:"text",[T.USER_SUBMIT_DROPDOWN]:"text",[T.USER_SUBMIT_NAME]:"name",[T.USER_SUBMIT_NUMBER]:"number",[T.USER_SUBMIT_ADDRESS]:"address",[T.USER_SUBMIT_PHONE]:"tel",[T.USER_SUBMIT_OTP]:"tel",[T.USER_SUBMIT_WHATSAPP]:"tel",[T.USER_SUBMIT_DATE]:"date",[T.USER_SUBMIT_CONFIRM]:"confirm",[T.USER_SUBMIT_SEND]:"submit",[T.USER_SUBMIT_TERMS]:"terms",[T.USER_SUBMIT_ADDRESS_PROVINCE]:"province",[T.USER_SUBMIT_ADDRESS_DISTRICT]:"district",[T.USER_SUBMIT_ADDRESS_COMMUNE]:"commune",[T.USER_SUBMIT_BMI]:"bmi",[T.USER_SUBMIT_GENDER]:"gender",[T.POLL_CHOICE]:"poll",[T.POLL_CHOICE_TEXT_BY_INPUT]:"poll",[T.POLL_CHOICE_IMAGE]:"poll",[T.RATING_STAR]:"rating",[T.RATING_DESCRIPTION]:"text",[T.LIKE_CHOICE]:"like",[T.DISLIKE_CHOICE]:"dislike",[T.REVIEW_CHOICE]:"review",[T.USER_SUBMIT_GOOGLE_API_ADDRESS]:"google-api-address",[T.USER_SUBMIT_DOB]:"dob"},R={FRU:"FRU",survey:"Survey",ristScreener:"risk_screener",voucherAcuvue:"ACUVUE"};(u=x||(x={})).VIDEO="video",u.SHORTS="short",u.PODCAST="podcast",u.LIVESTREAM="live-stream",(h=O||(O={})).Facebook="facebook",h.Zalo="zalo",h.Twitter="twitter",h.WhatsApp="whatsApp",h.Line="line",h.Instagram="instagram",h.LinkedIn="linkedin",h.Youtube="youtube",h.Tiktok="tiktok",h.Telegram="telegram",h.Viber="viber";let L={DD:{id:"common.day",defaultMessage:"Day"},MM:{id:"common.month",defaultMessage:"Month"},YYYY:{id:"common.year",defaultMessage:"Year"}};var k=Object.freeze({__proto__:null,get SocialType(){return O},COMMON_DATE_TRANSLATE_KEY:L,get Gender(){return g},get BabyGrowthChartType(){return E},get BabyGrowthChartDuration(){return f},get BabyGrowthResultTab(){return C},get LOCALE(){return N.L},get OnboardingStep(){return I},get NodePosition(){return b},get NodeType(){return _},NodeFinalTypes:w,get NodeIntentType(){return y},get NodeActionType(){return T},FULL_KEY_ADDRESS:S,get NodeMultipleOptions(){return v},ELEMENT_CONTROL_INPUT_TYPE:A,SubotType:R,get VideoType(){return x}})},Qgov:function(e,t,a){a.d(t,{T:function(){return s}});var n=a("q1tI"),r=a("rBCA"),o=a("3Hk+"),i=a("iBNF");let l=r.Z.div` textarea { width: 100%; height: var(--textarea-height, 116px); padding: 1rem; border: 1px solid ${i.r.colors.gray200}; border-radius: 6px; color: ${i.r.colors.gray800}; font-size: 14px; resize: none; &:focus { box-shadow: 0px 0px 2px 2px #91caff; } &::placeholder { color: ${i.r.colors.gray500}; } &:disabled { background-color: ${i.r.colors.neutral50}; cursor: not-allowed; } } `,s=n.forwardRef(({height:e,placeholder:t,labelText:a,labelColor:r,id:i,name:s,onChange:c,value:p,className:d,onKeyPress:m,disabled:u=!1},h)=>n.createElement(l,{className:d,style:{"--textarea-height":e||"116px"}},a&&n.createElement(o.L,{size:"label2",style:{color:r||"#595959"},htmlFor:i},a),n.createElement("textarea",{name:s,ref:h,placeholder:t,id:i,onChange:e=>c&&c(e.target.value),onKeyPress:e=>m&&m(e),value:p,disabled:u})))},"3Hk+":function(e,t,a){a.d(t,{I:function(){return Input},L:function(){return Label},S:function(){return m},a:function(){return d},b:function(){return p}});var n=a("mHfz"),r=a("q1tI"),o=a("8vDj"),i=a("rBCA"),l=a("iBNF"),s=a("HkQG");let c=i.Z.div` position: relative; width: 100%; &[data-has-error] { input { border-color: ${l.r.colors.red700}; } } input { width: 100%; padding: 12px 16px; border: solid 1px ${l.r.colors.gray200}; border-radius: ${l.r.borderRadius}; &:active, &:focus, &.focused { border-color: ${e=>e.color}; box-shadow: 0px 0px 2px 2px ${e=>e.shadowColor}; } &:disabled { background-color: ${l.r.colors.gray100}; cursor: not-allowed; } } &[data-has-action-icon] { input { padding: 12px 48px 12px 16px; } } &[data-has-display-icon] { input { padding: 12px 16px 12px 48px; } } &[data-has-action-icon][data-has-display-icon] { input { padding: 12px 48px; } } &[data-size='lg'] { input { font-size: 16px; font-weight: ${l.r.sizes.fwRegular}; ${s.M.mbDown} { font-size: 22px; line-height: 1.2; } ${s.M.mbUp} { font-size: 26px; line-height: 1.2; } } } &[data-size='md'] { input { font-weight: ${l.r.sizes.fwRegular}; line-height: 22px; ${s.M.mbDown} { font-size: 14px; line-height: 1.2; } ${s.M.mbUp} { font-size: 16px; line-height: 1.2; } } } &[data-size='sm'] { input { font-weight: ${l.r.sizes.fwRegular}; line-height: 20px; ${s.M.mbDown} { font-size: 13px; line-height: 1.5; } ${s.M.mbUp} { font-size: 13px; line-height: 1.5; } } } `,p=i.Z.label` color: ${l.r.colors.red700}; font-weight: ${l.r.sizes.fwRegular}; `,d=i.Z.div` position: absolute; top: 50%; right: 16px; cursor: pointer; transform: translateY(-50%); `,m=i.Z.div` position: absolute; top: 50%; left: 16px; display: inline-flex; cursor: default; transform: translateY(-50%); `,Label=({children:e,className:t,style:a,htmlFor:n,size:o})=>r.createElement("label",{"data-size":o,className:`DjBFAbd ${t||""}`,style:a,htmlFor:n},e),Input=e=>{var{name:t,value:a,errorMessage:i,isNumerousKeyboard:l=!1,showErrorMessage:s=!0,actionIcon:u,displayIcon:h,onActionClick:g,label:E,className:f,onChange:C,isDisabled:I,CustomInput:b,size:_,style:y,autoComplete:T="off",type:v="text",inputClassName:x,trackingAttributes:O,enterKeyHint:N}=e,w=(0,n._)(e,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);let S=(0,o.rZ)(),A=(0,r.useMemo)(()=>O?{"data-event-category":O.dataEventCategory,"data-event-action":O.dataEventAction,"data-event-label":O.dataEventLabel}:{},[O]);return r.createElement(c,{"data-size":_,className:f,"data-has-action-icon":!!u||void 0,"data-has-display-icon":!!h||void 0,"data-has-error":i&&i.length>0||void 0,color:S.fn.primaryColor(),shadowColor:S.colors[S.primaryColor][0],style:y},E&&r.createElement(Label,{size:"label2",htmlFor:t,className:"inputLabel"},E),r.createElement("div",{style:{position:"relative"}},b||r.createElement("input",Object.assign({id:t,name:t,onChange:e=>C&&C(e.target.value),type:v,"aria-label":v,value:a,disabled:I,autoComplete:T,inputMode:l||"number"===v?"numeric":v,pattern:l?"[0-9]*":".*",className:x,enterKeyHint:N},A,w)),h&&r.createElement(m,{className:"displayIcon"},h),u&&r.createElement(d,{className:"actionIcon",onClick:g},u)),i&&i.length>0&&s&&r.createElement(p,{className:"errorLabel"},i))}},yEeW:function(e,t,a){a.d(t,{D:function(){return DatePicker}});var n=a("mHfz"),r=a("q1tI"),o=a("8vDj"),i=a("gHhT"),l=a("catb"),s=a("F1xy"),c=a("W9uT"),p=a("dCWD"),d=a("tiO5"),m=a("yNk5");let DatePicker=e=>{var t,{value:a,fullWidth:u=!0}=e,h=(0,n._)(e,["value","fullWidth"]);let g=(0,o.rZ)(),E="mb"===g.other.template,f=null===(t=s.I[m.env.UNIFY_LOCALE||d.L.Vietnam])||void 0===t?void 0:t.dateFormat;return r.createElement(l.a,Object.assign({locale:p.M[m.env.UNIFY_LOCALE||d.L.Vietnam],valueFormat:f,size:"md",clearable:!1,popoverProps:u?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:r.createElement(i.E,{src:c.C.getAssetPath(E?"MB-calendar.svg":"OutlineCalendar.svg"),width:18,height:18}),value:a,placeholder:f},h,{className:`input-control ${(null==h?void 0:h.className)||""}`}))}},Epq8:function(e,t,a){a.d(t,{I:function(){return s}});var n=a("mHfz"),r=a("q1tI"),o=a("iBNF"),i=a("2irT"),l=a("saLG");let Bookmark=e=>{var{size:t,color:a,useCurrentColor:o,isActive:i,activeColor:l,isMarryBaby:s}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let p=o?"currentColor":i?l:a,d=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"},d),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:p,stroke:p})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),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:p,strokeLinecap:"round",strokeLinejoin:"round"}))};Bookmark.defaultProps={size:18,color:o.r.colors.gray600,activeColor:o.r.colors.primaryBase};let Comment=e=>{var{size:t=24,color:a,useCurrentColor:o,isActive:i,activeColor:l,isMarryBaby:s}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let p=o?"currentColor":i?l:a,d=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"},d),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:p})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),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:p}))};Comment.defaultProps={size:24,color:o.r.colors.gray600,activeColor:o.r.colors.primaryBase};let Eye=e=>{var{size:t,color:a,useCurrentColor:o,isActive:i,activeColor:l}=e,s=(0,n._)(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:o?"currentColor":i?l:a}))};Eye.defaultProps={size:18,color:o.r.colors.gray600,activeColor:o.r.colors.primaryBase};let Heart=e=>{var{size:t,color:a,useCurrentColor:o,isActive:i,activeColor:l,isSolid:s,isMarryBaby:c}=e,p=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isSolid","isMarryBaby"]);let d=o?"currentColor":i?l:a,m=Object.assign({width:t,height:t},p);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"},m),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:d})):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.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:d}))):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"},m),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: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:"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:d})))};Heart.defaultProps={size:24,color:o.r.colors.gray600,activeColor:o.r.colors.primaryBase};let Save=e=>{var{size:t,color:a,useCurrentColor:o,isActive:i,activeColor:l,isMarryBaby:s}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let p=o?"currentColor":i?l:a,d=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"},d),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:p})):r.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},d),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:p}))};Save.defaultProps={size:18,color:o.r.colors.gray600,activeColor:o.r.colors.primaryBase};let s={Share:e=>{var{size:t=24,color:a=o.r.colors.gray600,useCurrentColor:i,activeColor:l=o.r.colors.primaryBase,isActive:s,isMarryBaby:c,isSolid:p=!0}=e,d=(0,n._)(e,["size","color","useCurrentColor","activeColor","isActive","isMarryBaby","isSolid"]);let m=i?"currentColor":s?l:a;return c?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},d),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:m,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:m,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):p?r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),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:m})):r.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),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:m}))},Eye,WhatsApp:i.W,ArrowRightTail:e=>{var{size:t=24,color:a=o.r.colors.gray600,useCurrentColor:i,isActive:l,activeColor:s=o.r.colors.primaryBase}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let p=Object.assign({width:t,height:t},c);return r.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},p),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":l?s:a}))},Spinner:l.S,Cart:e=>{var{size:t=24,color:a=o.r.colors.gray600,useCurrentColor:i,isActive:l,isSolid:s,activeColor:c=o.r.colors.primaryBase}=e,p=(0,n._)(e,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);let d=i?"currentColor":l?c:a,m=Object.assign({width:t,height:t},p);return s?r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),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:d})):r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),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:d}))},CartWithAdd:e=>{var{size:t=24,color:a=o.r.colors.gray600,useCurrentColor:i,isActive:l,activeColor:s=o.r.colors.primaryBase}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let p=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"},p),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":l?s:a}))},Instagram:i.I,Comment,Heart,App:e=>{var{size:t=24}=e,a=(0,n._)(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}},QcJ5:function(e,t,a){a.d(t,{T:function(){return C},a:function(){return h},b:function(){return getUserIdFromCookie},c:function(){return checkUntilFinished},d:function(){return getSubotCookieId},e:function(){return getUserInfoFromCookie},f:function(){return getWindowId},g:function(){return getHelloSitesUrl},h:function(){return checkMobile},i:function(){return clickAndOpenInNewTab},j:function(){return formatUrlWithEncrypedGa},k:function(){return isFakeEmail},l:function(){return getHhgIdFromCookie},o:function(){return overrideParamsByQuery},s:function(){return ssoIntents}});var n=a("F1xy"),r=a("DqIa"),o=a("JIJ2"),i=a("hHL7"),l=a("GOBr"),s=a("xrdX"),c=Object.prototype.toString,p=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,d=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,m=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,u=/^[\u0020-\u003A\u003D-\u007E]*$/;function startIndex(e,t,a){do{var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++ta;){var n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return a}function decode(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}var h={parse:function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var a={},n=e.length;if(n<2)return a;var r=t&&t.decode||decode,o=0,i=0,l=0;do{if(-1===(i=e.indexOf("=",o)))break;if(-1===(l=e.indexOf(";",o)))l=n;else if(i>l){o=e.lastIndexOf(";",i-1)+1;continue}var s=startIndex(e,o,i),c=endIndex(e,i,s),p=e.slice(s,c);if(!a.hasOwnProperty(p)){var d=startIndex(e,i+1,l),m=endIndex(e,l,d);34===e.charCodeAt(d)&&34===e.charCodeAt(m-1)&&(d++,m--);var u=e.slice(d,m);a[p]=function(e,t){try{return t(e)}catch(t){return e}}(u,r)}o=l+1}while(o{let a=Object.keys(t);return a.map(a=>{let n=t[a];if("source"===a){e.is_new="first_login"===n;return}if(E.includes(a)){if(g.includes(a)){try{e[a]=JSON.parse(n)}catch(e){}return}if("account_id"===a||"current_score"===a||"bot_id"===a){e[a]=parseInt(n);return}e[a]=n}}),e},ssoIntents=e=>[{id:(0,i.Z)(),label:JSON.stringify({title:"",description:""}),type:r.N.SSO_INTENT,url:""},{id:(0,i.Z)(),label:JSON.stringify({title:e({id:"subot.myHealth.title",defaultMessage:"My Health"}),description:e({id:"subot.myHealth.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:r.N.SSO_INTENT,url:"/images/subot/my-health.svg"},{id:(0,i.Z)(),label:JSON.stringify({title:e({id:"subot.saveData.title",defaultMessage:"Save Data"}),description:e({id:"subot.saveData.description",defaultMessage:"Hellobacsi would like to learn from your data to provide better healthcare for you"})}),type:r.N.SSO_INTENT,url:"/images/subot/file-storage.svg"},{id:(0,i.Z)(),label:JSON.stringify({title:e({id:"subot.productYourIdentifiers.title",defaultMessage:"Protect your identifiers"}),description:e({id:"subot.productYourIdentifiers.description",defaultMessage:"Personal identifiers (like your name) will always be removed to protect your privacy. "})}),type:r.N.SSO_INTENT,url:"/images/subot/shield.svg"}];function checkUntilFinished(e){let t=e.condition,a=e.finished,n=e.timeout||3e3,r=new Date().getTime(),o=setInterval(()=>{let e=new Date().getTime();(e-r>n||t())&&(clearInterval(o),a())},300)}let getHhgIdFromCookie=e=>{let t=h.parse(e||""),a=t["hhg-id"];return a||o.Z.get("hhg-id")||""},getSubotCookieId=e=>{if(e)return o.Z.set("hhg-id",e),e;let t=getHhgIdFromCookie();if(t)return t;let a=(0,i.Z)();return o.Z.set("hhg-id",a),a},getUserIdFromCookie=e=>{let t=h.parse(e||""),a=t[n.B],r=a||o.Z.get(n.B)||"";try{let e=r.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(a).sub}catch(e){return""}},getUserInfoFromCookie=e=>{let t=h.parse(e||""),a=t[n.B],r=a||o.Z.get(n.B)||"";try{let e=r.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join("")),n=JSON.parse(a);return{email:n.email,id:n.sub}}catch(e){return{email:"",id:0}}},f=(0,i.Z)(),getWindowId=()=>f,getHelloSitesUrl=(e,t)=>{let a=!t&&"undefined"!=typeof window&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname);return a?"http://localhost":`https://${l.y?"":"discover."}${s.v[e]}`},checkMobile=e=>{let t=e||("undefined"==typeof navigator?"":navigator.userAgent);return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substring(0,4)))},clickAndOpenInNewTab=e=>{let t=document.createElement("a");t.href=e,t.target="_blank",t.click()},C=30,isFakeEmail=e=>(null==e?void 0:e.endsWith("@hhg.com"))||(null==e?void 0:e.endsWith("@facebook.com"));function formatUrlWithEncrypedGa(e="",t=""){if(!e.startsWith("https://")||!t)return"";let a=new URL(e),n=a.searchParams;return n.get("hhgclid")?(n.delete("hhgclid"),n.set("hhgclid",t),`${a.origin}${a.pathname}?${n.toString()}`):e}},K8yQ:function(e,t,a){a.d(t,{C:function(){return h},I:function(){return ImagePreviewPopup},P:function(){return PostSingleImageViewPopup},a:function(){return PostImagePreview},b:function(){return g}});var n=a("q1tI"),r=a("iYxA"),o=a("HkQG"),i=a("GXD3"),l=a("R7z5"),s=a("t/pd"),c=a("HKYo"),p=a("rBCA"),d=a("mHfz"),m=a("iBNF"),u=a("gEnE"),h="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",g="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' fill='none'%3e%3cpath stroke='%23262626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M10.05 18.06 4 12.038l6.05-6.025M4.002 12.035h15'/%3e%3c/svg%3e";let E=p.Z.div` padding: 14px 16px 14px 17px; background: ${e=>e.bgColor}; border-left: 3px solid ${e=>e.highlight}; ${o.M.mbUp} { padding: 12px 12px 12px 17px; } `,f=p.Z.div` display: flex; `,C=p.Z.div` font-size: 12px; line-height: 18px; &[data-has-icon='true'] { margin-left: 10px; } `,I=p.Z.div` flex-shrink: 0; `,b=p.Z.div` display: grid; grid-gap: 3px; grid-template-columns: 1fr 1fr; grid-template-rows: auto; .img-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; grid-column: auto; & > img { cursor: zoom-in; } .img-preview-blur { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%; /* Add the blur effect */ -webkit-filter: blur(8px); filter: blur(8px); object-fit: cover; object-position: center; opacity: 0.8; transform: translate(-50%, -50%); } .img-preview { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; } .img-more-overlay { position: absolute; top: 0; left: 0; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); z-index: 4; } } &[data-image-count='1'] { .img-wrapper { /* padding-top: 100%; */ grid-column: 1/3; } } &[data-image-count='2'] { .img-wrapper { /* padding-top: 100%; */ } } &[data-image-count='3'] { .img-wrapper { &:first-child { grid-column: 1/3; } } } &[data-image-count='4'] { .img-wrapper { /* padding-top: 100%; */ } } &[data-image-count='5'] { grid-template-columns: repeat(6, 1fr); .img-wrapper { /* padding-top: 100%; */ grid-column: auto/ span 2; &:first-child { padding-top: 56.25%; grid-column: 1/4; } &:nth-child(2) { padding-top: 56.25%; grid-column: 4/7; } } } &[data-is-marrybaby='true'] { grid-gap: 8px; .img-wrapper { padding-top: 66.66%; border-radius: 1rem; .img-preview { object-fit: cover; } } &[data-image-count='3'] { grid-template-columns: 1fr 1fr 1fr; .img-wrapper { &:first-child { padding-top: 100%; grid-column: 1/3; grid-row: 1/3; } } } } `,_=p.Z.div` position: fixed; z-index: 999; top: 0; left: 0; display: flex; overflow: hidden; width: 100vw; height: 100vh; flex-direction: column; background: white; opacity: 0; pointer-events: none; transition: opacity 0.2s linear; &[data-open='true'] { opacity: 1; pointer-events: auto; } .top-bar { position: relative; padding: 20px 40px; .icon-arrow-left { position: absolute; top: 50%; left: 20px; height: 24px; width: 24px; cursor: pointer; transform: translateY(-50%); } } .container { flex: 1; overflow-y: auto; .img-preview { width: 100%; min-width: 100%; margin-bottom: 0.5rem; cursor: pointer; max-height: 100%; object-fit: cover; } } `,y=(0,p.Z)(e=>{var{icon:t,bgColor:a=m.r.colors.yellow50,highlightColor:r=m.r.colors.yellow800,message:o}=e,i=(0,d._)(e,["icon","bgColor","highlightColor","message"]);return n.createElement(E,Object.assign({bgColor:a,highlight:r},i),n.createElement(f,null,t&&n.createElement(I,null,t),n.createElement(C,{"data-has-icon":!!t},o)))})` margin-bottom: 16px; &.noti-bottom { border-left: none; margin-top: 4px; padding: 4px 8px; margin-left: 16px; margin-right: 16px; border-radius: 4px; } `,ImagePreviewPopup=({className:e,style:t,authorName:a,images:r,onClose:o,onOpenSingleView:l,alt:p})=>{let{t:d}=(0,i.u)(),[m,u]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{setTimeout(()=>{u(!0)},0)},[]),n.createElement(s.h,null,n.createElement(_,{className:e,style:t,"data-open":m},n.createElement("div",{className:"top-bar"},n.createElement("img",{className:"icon-arrow-left",src:g,onClick:o,alt:"go back",loading:"lazy"}),n.createElement(c.T,{size:"p2",weight:"bold",style:{textAlign:"center"}},d("previewPhotos.title",{name:a}))),n.createElement("div",{className:"container"},r.map((e,t)=>n.createElement("img",{className:"img-preview",key:t,src:e,onClick:()=>null==l?void 0:l(t),alt:p,loading:"lazy"})))),",")},T=p.Z.div` position: fixed; z-index: 999; top: 0; left: 0; display: flex; width: 100%; height: 100%; flex-direction: column; background: black; opacity: 0; pointer-events: none; transition: opacity 0.2s linear; &[data-open='true'] { opacity: 1; pointer-events: auto; } `,v=p.Z.div` padding: 1rem; background: white; .icon-close { width: 26px; height: 26px; cursor: pointer; } `,x=p.Z.div` position: relative; flex: 1; overflow: hidden; > img { height: 100%; width: 100%; object-fit: contain; object-position: center; } `,O=p.Z.div` --inner-padding: max(16px, 20%); height: 100%; position: absolute; left: 0; padding: 8px; padding-right: var(--inner-padding); display: flex; align-items: center; top: 0; cursor: pointer; &[data-right] { padding-right: 8px; padding-left: var(--inner-padding); left: unset; right: 0; } &[data-disabled='true'] { cursor: not-allowed; } `,N=p.Z.div` border-radius: 50%; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; padding: 4px; > img { width: 16px; height: 16px; &[data-disabled='true'] { opacity: 0.5; } } ${o.M.tdUp} { padding: 8px; > img { width: 30px; height: 30px; } } `;var w="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m6 12.813 4-4-4-4'/%3e%3c/svg%3e";let PostSingleImageViewPopup=({initialViewIndex:e,images:t,onClose:a,alt:r})=>{let[o,i]=(0,n.useState)(e),[l,c]=(0,n.useState)(!1);(0,n.useEffect)(()=>{setTimeout(()=>{c(!0)},0)},[]);let p=null==t?void 0:t[o],d=0===o,m=!(null==t?void 0:t.length)||o===(null==t?void 0:t.length)-1;return n.createElement(s.h,null,n.createElement(T,{"data-open":l&&!!p},n.createElement(v,null,n.createElement("img",{src:h,className:"icon-close",onClick:a,alt:"close",loading:"lazy"})),p&&o>=0&&n.createElement(n.Fragment,null,n.createElement(x,null,n.createElement("img",{className:"img-preview",src:p,alt:r,loading:"lazy"}),n.createElement(O,{"data-disabled":d,onClick:()=>!d&&i(o-1)},n.createElement(N,null,n.createElement("img",{src:w,style:{transform:"rotate(180deg)"},alt:"left arrow","data-disabled":d,loading:"lazy"}))),n.createElement(O,{"data-right":!0,"data-disabled":m,onClick:()=>!m&&i(o+1)},n.createElement(N,null,n.createElement("img",{src:w,alt:"right arrow","data-disabled":m,loading:"lazy"})))))))},S=(0,u.Z)(p.Z.div` position: absolute; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; `,"hhgcomp-sensitivemask-inner"),A=p.Z.div``,R=p.Z.div` position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 3; background: white; cursor: pointer; &, * { // transition: all 300ms; transform-origin: bottom left; } img { transition: none; } .img-preview { width: 100%; } &[data-is-blurred='true'] { .img-preview { /* Add the blur effect */ -webkit-filter: blur(24px); filter: blur(24px); } } &[data-is-blurred='false'] { background: transparent; cursor: zoom-in; ${S.classSelector} { top: auto; right: auto; left: 8px; bottom: 8px; background: rgba(0, 0, 0, 0); align-items: flex-end; justify-content: flex-start; } } `,SensitiveMask=({image:e,showIcon:t=!0})=>{let[a,r]=(0,n.useState)(!0);return n.createElement(R,{"data-is-blurred":a,onClick:e=>a&&e.stopPropagation()},n.createElement("img",{loading:"lazy",className:"img-preview",src:e}),n.createElement(S,{onClick:e=>{e.stopPropagation(),r(!a)}},t&&n.createElement(A,null,a?n.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none"},n.createElement("path",{d:"M1.71 2.54a.996.996 0 0 1 0-1.41c.39-.39 1.03-.39 1.42 0l16.31 16.33a.996.996 0 1 1-1.41 1.41l-2.72-2.72c-1.34.52-2.79.82-4.31.82-5 0-9.27-3.11-11-7.5C.77 7.5 2.06 5.8 3.68 4.51zM16 9.47c0-2.76-2.24-5-5-5-.51 0-1 .1-1.47.24L7.36 2.54c1.15-.37 2.37-.57 3.64-.57 5 0 9.27 3.11 11 7.49-.69 1.76-1.79 3.3-3.18 4.53l-3.06-3.06c.14-.46.24-.95.24-1.46m-5 5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14L8.06 8.9c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07l1.57 1.57c-.65.32-1.37.5-2.14.5m2.97-5.33a2.97 2.97 0 0 0-2.64-2.64z",fill:"#fff"})):n.createElement("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none"},n.createElement("path",{d:"M12 0C5.142 0 1.886 5.879 1.096 7.557c-.132.28-.132.604 0 .884C1.886 10.121 5.142 16 12 16c6.834 0 10.092-5.837 10.896-7.54a1.08 1.08 0 0 0 0-.92C22.092 5.836 18.834 0 12 0m0 3a5 5 0 1 1-.001 10.001 5 5 0 0 1 0-10.001m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6",fill:"#2D87F3"})))))},PostImagePreview=({className:e,images:t=[],style:a,authorName:s,isSensitive:c=!1,alt:p,positionAlert:d="top"})=>{let{data:{env:{isMarryBaby:m}}}=(0,n.useContext)(l.T),{t:u}=(0,i.u)(),h=`+ ${(t.length||0)-4}`,[g,E]=(0,n.useState)(!1),[f,C]=(0,n.useState)(-1),I=t.length>5,_=(0,n.useRef)(!1);return(0,n.useEffect)(()=>()=>{_.current&&(0,o.t)(!1)},[]),(0,n.useEffect)(()=>{g||f>=0?((0,o.t)(!0),_.current=!0):((0,o.t)(!1),_.current=!1)},[g,f]),n.createElement(n.Fragment,null,c&&"top"===d&&n.createElement(y,{message:u("sensitiveMask.contentWarningDescription"),icon:n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},n.createElement("path",{d:"M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z",fill:"#FE921D"}))}),n.createElement(b,{className:e,style:a,"data-image-count":I?5:t.length||0,"data-is-marrybaby":m,"data-cursor-pointer":!c},null==t?void 0:t.slice(0,5).map((e,t)=>{let a=4===t&&I;return n.createElement("div",{className:"img-wrapper",key:t,onClick:()=>{t>=4&&I?E(!0):C(t)}},c&&n.createElement(SensitiveMask,{image:e,showIcon:!a}),!m&&n.createElement("img",{loading:"lazy",className:"img-preview-blur",src:e,alt:p}),n.createElement("img",{loading:"lazy",className:"img-preview",src:e,alt:p}),a&&n.createElement("div",{className:"img-more-overlay"},n.createElement(r.H,{tag:"h1",as:"h2",color:"white"},h)))})),g&&n.createElement(ImagePreviewPopup,{authorName:s||"",images:t,onClose:()=>E(!1),onOpenSingleView:C,alt:p}),f>=0&&n.createElement(PostSingleImageViewPopup,{images:t,initialViewIndex:f,onClose:()=>C(-1),alt:p}),c&&"bottom"===d&&n.createElement(y,{message:u("sensitiveMask.contentWarningDescription.community"),className:"noti-bottom",icon:n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},n.createElement("path",{d:"M9 .667A8.336 8.336 0 0 0 .667 9c0 4.6 3.733 8.333 8.333 8.333S17.333 13.6 17.333 9 13.6.667 9 .667m0 9.166A.836.836 0 0 1 8.167 9V5.667c0-.459.375-.834.833-.834s.833.375.833.834V9A.836.836 0 0 1 9 9.833M8.167 11.5v1.667h1.666V11.5z",fill:"#FE921D"}))}))}},GB9d:function(e,t,a){a.d(t,{C:function(){return r}});var n=a("q1tI");let r=(0,n.forwardRef)(function(e,t){return n.createElement("circle",Object.assign({},e,{ref:t}),n.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})},"81pc":function(e,t,a){a.d(t,{C:function(){return ChoiceField},T:function(){return TextField},i:function(){return x},u:function(){return h}});var n=a("/npG"),r=a("iuhU"),o=a("Eso5"),i=a("8vDj"),l=a("xM4c"),s=a("mHfz"),c=a("q1tI"),p=a("ChHM"),d=a("AeFk"),m=a("rBCA"),u=a("iBNF"),h=(0,n.k)(e=>(0,l.G)(e)[l.C.LEADGEN]);let g=(0,c.createContext)({}),E=d.iv` height: 100% !important; min-height: calc(var(--container-height, 56px) * 24 / 56); line-height: calc(var(--container-height, 56px) * 24 / 56); border: none !important; border-radius: 0 !important; outline: none !important; box-shadow: none !important; padding: 0; cursor: pointer; /* opacity: 0; */ ::placeholder { color: ${u.r.colors.gray400}; } `,f=d.iv` height: auto !important; cursor: text; opacity: 1; transition: 0.1s ease-in-out all; `,C=d.iv` position: absolute; top: calc(var(--container-height) / 2); left: var(--space-x, 16px); margin: 0; z-index: 1; cursor: pointer; transform: translateY(-50%); transition: 0.125s ease-in all; right: 0; // auto grow width `,I=d.iv` top: var(--space-y-shrink, 6px); transform: translateY(0); transition: 0.125s ease-out all; right: 0; // auto grow width `,b=d.iv` min-height: var(--container-height, 56px); display: flex; align-items: flex-end; border: 1px solid ${u.r.colors.gray200}; border-radius: 8px; background-color: #fff; padding-inline: var(--space-x, 16px); padding-block: var(--space-y-not-shrink, 16px); cursor: pointer; pointer-events: none; &:has(.mantine-Input-rightSection) { padding-right: var(--container-height, 56px); } .mantine-Input-icon { display: none; } .mantine-NumberInput-control { border-color: ${u.r.colors.gray200}; } `,_=d.iv` height: auto; min-height: var(--container-height, 56px); padding-block: var(--space-y-shrink, 6px); cursor: text; pointer-events: auto; `,y=d.iv` color: ${u.r.colors.red800}; font-size: 12px; line-height: 1.5; `,T=m.Z.div` --space-x: 16px; --space-y-not-shrink: 15px; --space-y-shrink: 6px; --container-height: 56px; --label-not-shrink: 16px; --label-shrink: 12px; --input: 15px; position: relative; min-width: 100px; max-width: 100%; display: inline-block; .textField_wrapper { display: inline-block; width: 100%; cursor: pointer; } .mantine-InputWrapper-root { &[data-invalid='true'] { .mantine-Input-wrapper { border-color: ${u.r.colors.red400}; } } .mantine-Input-wrapper { &:has([data-invalid]) { border-color: ${u.r.colors.red400}; } } } .mantine-InputWrapper-label { ${C} } .mantine-Input-wrapper { ${b} + .mantine-Popover-dropdown[data-position="bottom-start"] { left: 0 !important; } + .mantine-Popover-dropdown[data-position='top-start'] { top: unset !important; left: 0 !important; bottom: 100% !important; } } .mantine-Input-input { ${E} } &.textField_shrink { .mantine-InputWrapper-label { ${I} } .mantine-Input-wrapper { ${_} &.mantine-Select-wrapper { .mantine-Select-rightSection { pointer-events: auto !important; } } } .mantine-Input-input { ${f} } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: var(--space-x, 16px); } .PhoneInput { .PhoneInputInput { opacity: 1; } } } } &:focus-within { .mantine-Input-wrapper { transition: 0.25s linear border; border-color: ${u.r.colors.primary600}; box-shadow: 0 0 4px ${u.r.colors.primary200}; } } .PhoneInput { --phone-select: 75px; --phone-input-space-x: 8px; width: 100%; opacity: 1; border: none; .PhoneInputCountry { background-color: transparent; border: none; padding: 0; width: var(--phone-select, 75px); } .PhoneInputInput { flex: 1; min-width: 0; line-height: 1.5; outline: none !important; border: none; box-shadow: none; font-size: var(--input, 15px); padding: 0 var(--phone-input-space-x, 8px); /* opacity: 0; */ color: ${u.r.colors.gray800} !important; :focus { color: ${u.r.colors.gray800} !important; } } } &:has(.PhoneInput) { .mantine-InputWrapper-label { left: calc( var(--space-x, 16px) + var(--phone-select, 75px) + var(--phone-input-space-x, 8px) ); } } .icon { position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); transform: translateY(-50%); transition: 0.125s ease-in all; &.shrink { top: calc(var(--container-height) / 2 - 4px); transform: translateY(0); } } `,v=m.Z.div` &.leadgen-form_checkbox, &.leadgen-form_radio { width: 100%; } &.leadgen-form_dropdown { width: calc(50% - 12px); } .mantine-InputWrapper-root { display: block; } .mantine-InputWrapper-label { margin-bottom: 0.5rem; color: ${u.r.colors.gray800}; font-size: 16px; font-weight: 400; line-height: 1.5; } .mantine-Radio-root, .mantine-Checkbox-root { gap: 8px; min-width: calc(50% - 4px); // input[type='radio'], // input[type='checkbox'] { // border-color: ${u.r.colors.gray600}; // width: 18px; // height: 18px; // } // input[type='checkbox'] { // border-radius: 4px; // } // &[data-checked='true'] { // input[type='radio'], // input[type='checkbox'] { // border-color: ${u.r.colors.primary600}; // } // input[type='radio'] { // background-color: white; // } // } .mantine-Checkbox-input { &:checked { border-color: ${u.r.colors.primary600}; } } } .leadgen-choiceContainer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; } .mantine-InputWrapper-error { ${y} } `;m.Z.div` position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); `;let TextField=e=>{let{shrink:t,onChangeShrink:a,children:n,className:o}=e,i=(0,s._)(e,["shrink","onChangeShrink","children","className"]),[l,p]=(0,c.useState)(t),[d,m]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{p(t)},[t]),c.createElement(g.Provider,Object.assign({value:{shrinkProps:t,shrink:l,setShrink:p,onChangeShrink:a,hasIcon:d,setHasIcon:m}},i),c.createElement(T,Object.assign({shrink:l,className:(0,r.default)(o,"textField",{textField_shrink:!!l})},i),n))},TextFieldControl=e=>{let{shrink:t,shrinkProps:a,onChangeShrink:n,setShrink:r,hasIcon:i}=(0,c.useContext)(g),{children:l,htmlFor:s}=e,d=(0,p.O)(()=>{a||(r(!1),null==n||n(!1))}),focusInput=e=>{setTimeout(()=>{let t=e.querySelectorAll('input:not([disabled]):not([type="submit"]),select:not([disabled]),textarea:not([disabled])'),a=t.item(t.length-1);a&&a.focus({preventScroll:!0})},150)},m=(0,c.useCallback)(e=>{if(t){focusInput(e.currentTarget);return}r(!0),null==n||n(!0),focusInput(e.currentTarget)},[t]);return(0,c.useEffect)(()=>{r(a)},[a]),c.createElement(o.x,{ref:d,onClick:m,className:"textField_wrapper",component:s?"label":"div",htmlFor:s},"function"==typeof l?l({shrink:!!t,hasIcon:i}):l)},TextFieldIcon=({Icon:e})=>{let{shrink:t,setHasIcon:a}=(0,c.useContext)(g),n=(0,i.rZ)();return(0,c.useEffect)(()=>{e&&a(!0)},[]),e?c.createElement(e,{className:`icon ${t?"shrink":""}`,shrink:t,size:24,color:n.colors.gray[9]}):null};TextField.Control=TextFieldControl,TextField.Icon=TextFieldIcon;let ChoiceField=e=>{let{children:t,className:a}=e,n=(0,s._)(e,["children","className"]);return c.createElement(v,Object.assign({className:(0,r.default)(a,"choiceField")},n),t)};var x=Object.freeze({__proto__:null,TextField:TextField,TextFieldControl:TextFieldControl,TextFieldIcon:TextFieldIcon,ChoiceField:ChoiceField})},BN2B:function(e,t,a){a.d(t,{H:function(){return HealthToolFormWrapper}});var n=a("mHfz"),r=a("q1tI"),o=a("/npG"),i=a("mYVa"),l=a("Eso5"),s=a("aDCK"),c=a("9n+W"),p=a("8vDj"),d=a("SPK5"),m=a("2wr/"),u=a("HKYo"),h=a("OFra"),g=a("GXD3"),E=a("yVya"),f=a("iBNF"),C=(0,o.k)(()=>({root:{justifyContent:"flex-start"},group:{display:"flex",alignItems:"stretch",gap:(0,i.h)(8)},item:{flex:"1 1 0px"},icon:{flexShrink:0}}));let I=(0,r.createContext)({}),b=(0,o.k)(()=>({root:{display:"flex",flexDirection:"column",gap:(0,i.h)(8),paddingLeft:16,paddingRight:16,"&:last-child":{paddingBottom:16}}}));var _=(0,o.k)((e,{formLayout:t})=>({root:{display:"flex",flexDirection:"column",gap:(0,i.h)("inline"===t?8:16),borderRadius:"inherit",".mantine-Input-input::placeholder, .mantine-Input-input[data-invalid]::placeholder":{color:"#8C8C8C"},[e.fn.smallerThan("sm")]:Object.assign({"input, .mantine-DatePickerInput-input":{fontSize:(0,i.h)(14)}},"default"===t&&{gap:8})},control:{width:(0,i.h)(180),flexShrink:1,"&.error":{"button, input":{borderColor:e.colors.red[7]}}}}));let y=(0,o.k)((e,{formLayout:t})=>{let a="mb"===e.other.template;return{root:Object.assign(Object.assign({minWidth:(0,i.h)(180)},"inline"===t&&{alignSelf:"flex-end",marginTop:(0,i.h)(16)}),"default"===t&&Object.assign({},a&&{alignSelf:"center"}))}}),T=(0,o.k)(e=>({root:{color:e.colors.gray[6],whiteSpace:"nowrap",paddingRight:(0,i.h)(16)}}));var v=(0,o.k)(()=>({root:{display:"flex",gap:(0,i.h)(8),border:"1px solid #EAEAEC",borderRadius:(0,i.h)(16),padding:"10px 16px 12px 16px",flex:"1 1 0px",".mantine-Input-input":{border:0,paddingLeft:0,height:"22px",borderRadius:0,"&:focus":{outline:0,boxShadow:"none"}}},info:{display:"flex",flexDirection:"column",gap:0,flex:"1 1 0px"},label:{color:"#7C7C8F",fontWeight:"normal"},content:{},rightSection:{display:"flex",alignItems:"center",textTransform:"lowercase",color:"#3E3F58"}})),x=(0,o.k)((e,{width:t,direction:a})=>{let n="mb"===e.other.template;return{root:{display:"flex",flexDirection:"column",gap:(0,i.h)(8)},row:{display:"flex",flexDirection:a,alignItems:"stretch",justifyContent:"space-between",gap:(0,i.h)(16),minHeight:(0,i.h)(40)},labelWrapper:Object.assign({flex:"1 1 0px",display:"flex",alignItems:"center"},"row"===a&&{borderBottom:`1px solid ${e.colors.neutral[1]}`}),label:{fontSize:(0,i.h)(14),lineHeight:(0,i.h)(22),color:e.colors.gray[6]},content:{display:"flex",alignItems:"center",gap:(0,i.h)(8),input:{backgroundColor:"#fff"}},control:{width:"number"==typeof t?(0,i.h)(t):t,flexShrink:1,input:Object.assign({},n&&{borderRadius:(0,i.h)(12)}),"&.error":{"button, input":{borderColor:e.colors.red[7]}}},error:{color:"red",textAlign:"right"}}});let O=(0,o.k)(()=>({root:{color:"red",textAlign:"right",width:"auto"}}));var N=(0,o.k)(e=>{let t="mb"===e.other.template;return{root:{label:Object.assign({},t&&{color:f.r.mbColors.midGray,fontSize:(0,i.h)(12),fontWeight:"normal"})}}});let HealthToolFormWrapper=e=>{var{children:t,formLayout:a,styles:o,classNames:i,className:s,component:c="form"}=e,p=(0,n._)(e,["children","formLayout","styles","classNames","className","component"]);let d=a||"default",{classes:m,cx:u}=_({formLayout:d},{name:"HealthToolFormWrapper",styles:o,classNames:i});return r.createElement(I.Provider,{value:{formLayout:d}},r.createElement(l.x,Object.assign({component:c,className:u(s,m.root)},p),t))};HealthToolFormWrapper.Control=e=>{var{className:t,styles:a,classNames:o}=e,i=(0,n._)(e,["className","styles","classNames"]);let{classes:s,cx:c}=N(void 0,{name:"HealthToolFormWrapper__Control",styles:a,classNames:o});return r.createElement(l.x,Object.assign({className:c(t,s.root)},i))},HealthToolFormWrapper.BorderInlineControl=({label:e,children:t,styles:a,classNames:n,direction:o="row",width:i=180,errorMess:s})=>{let{classes:c}=x({width:i,direction:o},{name:"HealthToolFormWrapper__BorderInlineControl",styles:a,classNames:n});return r.createElement(l.x,{className:c.root},r.createElement(l.x,{className:c.row},r.createElement(l.x,{className:c.labelWrapper},e&&r.createElement("label",{className:c.label,htmlFor:"gender"},e)),r.createElement(l.x,{className:c.content},(0,E.Z)(t).map((e,t)=>r.createElement(l.x,{key:t,className:c.control},e)))),s&&r.createElement(u.T,{size:"p4",className:c.error},s))},HealthToolFormWrapper.BorderBoxControl=e=>{var{label:t,rightSection:a,children:o,styles:i,className:s,classNames:c}=e,p=(0,n._)(e,["label","rightSection","children","styles","className","classNames"]);let{classes:d,cx:m}=v(void 0,{name:"HealthToolFormWrapper__BorderBoxControl",styles:i,classNames:c});return r.createElement(l.x,Object.assign({className:m(d.root,s)},p),r.createElement(l.x,{className:d.info},t&&r.createElement(u.T,{size:"n1",as:"label",className:d.label},t),r.createElement(l.x,{className:d.content},r.isValidElement(o)?r.cloneElement(o,Object.assign(Object.assign({},o.props),{size:"sm",error:null})):null)),a&&r.createElement(l.x,{className:d.rightSection},"string"==typeof a?r.createElement(u.T,{size:"p4"},a):r.isValidElement(a)?r.cloneElement(a,{size:24}):null))},HealthToolFormWrapper.Error=e=>{var{styles:t,classNames:a,className:o}=e,i=(0,n._)(e,["styles","classNames","className"]);let{classes:l,cx:s}=O(void 0,{name:"HealthToolFormWrapper__UnitText",styles:t,classNames:a});return r.createElement(u.T,Object.assign({size:"p4",className:s(o,l.root)},i))},HealthToolFormWrapper.FormRow=e=>{var{styles:t,classNames:a,className:o,children:i}=e,s=(0,n._)(e,["styles","classNames","className","children"]);let{classes:c,cx:p}=b(void 0,{name:"HealthToolFormWrapper__FormRow",styles:t,classNames:a});return r.createElement(l.x,Object.assign({className:p(o,c.root)},s),i)},HealthToolFormWrapper.Submit=e=>{var{styles:t,classNames:a,className:o}=e,i=(0,n._)(e,["styles","classNames","className"]);let{formLayout:l}=(0,r.useContext)(I),{classes:s,cx:c}=y({formLayout:l},{name:"HealthToolFormWrapper__SubmitBtn",styles:t,classNames:a});return r.createElement(h.B,Object.assign({className:c("submit-btn",o,s.root)},i,{variant:"primary",size:"md"}))},HealthToolFormWrapper.Unit=e=>{var{styles:t,classNames:a,className:o}=e,i=(0,n._)(e,["styles","classNames","className"]);let{classes:l,cx:s}=T(void 0,{name:"HealthToolFormWrapper__UnitText",styles:t,classNames:a});return r.createElement(u.T,Object.assign({size:"p4",className:s(o,l.root)},i))},HealthToolFormWrapper.Switching=e=>{var{label:t}=e,a=(0,n._)(e,["label"]);let{t:o}=(0,g.u)(),l=(0,p.rZ)(),s="mb"===l.other.template;return r.createElement(d.k,{gap:(0,i.h)(4),sx:()=>({justifyContent:"space-between",alignItems:"center"})},t&&r.createElement(u.T,{size:s?"p4":"s4",color:"gray.6"},t),r.createElement(m.r,Object.assign({labelPosition:"left",onLabel:o("switchBtn.yes"),offLabel:o("switchBtn.no")},a,{styles:e=>({trackLabel:{fontSize:(0,i.h)(12)},track:{cursor:"pointer"},body:{[e.fn.largerThan("sm")]:{flexDirection:"column",alignItems:"flex-start"},[e.fn.smallerThan("sm")]:{justifyContent:"space-between"}},labelWrapper:{[e.fn.smallerThan("sm")]:{display:"flex",justifyContent:"center"}}})})))},HealthToolFormWrapper.ChipGroup=e=>{var{data:t=[],label:a,isMobile:o,layout:p="horizonal",classNames:d,styles:m}=e,h=(0,n._)(e,["data","label","isMobile","layout","classNames","styles"]);let{classes:g,theme:E}=C(void 0,{name:"ChipGroup",classNames:d,styles:m}),f="mb"===E.other.template,I=o?48:f?32:"vertical"===p?32:18;return r.createElement(l.x,null,r.createElement(s.I.Wrapper,{label:a&&r.createElement(u.T,{size:"p3",weight:"semiBold"},a)},r.createElement(c.A.Group,Object.assign({},h),r.createElement(l.x,{className:g.group},t.map((e,t)=>r.createElement(c.A,{className:g.item,key:t,value:String(e.value),styles:{iconWrapper:{display:"none"},label:{width:"100%",borderRadius:(0,i.h)(f?12:8),padding:0,border:`1px solid ${f?"#EAEAEC":E.colors.neutral[2]}`,height:"100%","&[data-checked]":{padding:0,backgroundColor:f?"#FFE9F1":E.colors.blue[0],border:`1px solid ${f?"#F5B4CB":E.colors.blue[1]}`},[E.fn.smallerThan("sm")]:{alignItems:"flex-start"}}}},r.createElement(l.x,{sx:Object.assign(Object.assign(Object.assign({width:"100%",display:"flex",gap:(0,i.h)(f?2:8),padding:"8px 16px 8px 12px",justifyContent:"center",alignItems:"center"},f&&{flexDirection:"column"}),"vertical"===p&&{flexDirection:"column",padding:"16px 8px 8px"}),{[E.fn.smallerThan("sm")]:{flexDirection:"column",padding:"16px 8px 8px"}})},r.isValidElement(e.icon)?r.cloneElement(e.icon,{size:I,isMarryBaby:f,className:g.icon}):null,r.createElement(u.T,{size:"p4",styles:{root:Object.assign(Object.assign({},f&&{textAlign:"center"}),{whiteSpace:"normal",[E.fn.smallerThan("sm")]:{fontSize:(0,i.h)(12),lineHeight:(0,i.h)(18),textAlign:"center"}})}},e.label))))))))}},F1xy:function(e,t,a){a.d(t,{A:function(){return W},B:function(){return G},C:function(){return D},D:function(){return M},E:function(){return k},F:function(){return H},G:function(){return V},H:function(){return R},I:function(){return U},L:function(){return N},Q:function(){return l},S:function(){return S},U:function(){return O},V:function(){return P},Z:function(){return j},a:function(){return Z},b:function(){return v},c:function(){return A},d:function(){return B},e:function(){return L},f:function(){return $},g:function(){return z},h:function(){return q},i:function(){return Q},j:function(){return Y},k:function(){return F},l:function(){return x},m:function(){return w},r:function(){return p},s:function(){return K}});var n,r,o,i,l,s,c,p,d=a("EikE"),m=a("OT65"),u=a("G2RZ"),h=a("YNYf"),g=a("R43W"),E=a("+xLi"),f=a("tO2/"),C=a("YJaS"),I=a("tiWT"),b=a("xrdX"),_=a("UIg8"),y=a("GOBr"),T=a("tiO5");let v="",x="https://id.hellobacsi.com/",O="userGeoLocationCoordinates",N={"vi-VN":{PHONE:"+84",LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{PHONE:"+63",LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{PHONE:"+66",LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{PHONE:"+855",LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{PHONE:"+95",LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{PHONE:"+886",LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"zh-SG":{PHONE:"",LOGO_TYPE:"hellojiankang",SITE_NAME:"Hello健康",HOMEPAGE_IMAGE:"",SITE_NAME_FORMATTED:"Hello 健康",SITE_ID:"12",INSIDER_TAG:"",TOOLTIP_IMAGE:"",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{PHONE:"+62",LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{PHONE:"+91",LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{PHONE:"+60",LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{PHONE:"+63",LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},w=[{countryCode:"VN",countryName:"Việt Nam",languageCode:"vi"},{countryCode:"PH",countryName:"Philippines",languageCode:"en"},{countryCode:"TH",countryName:"ประเทศไทย",languageCode:"th"},{countryCode:"KH",countryName:"កម្ពុជា",languageCode:"km"},{countryCode:"MM",countryName:"မြန်မာ",languageCode:"my"},{countryCode:"TW",countryName:"台灣",languageCode:"zh"},{countryCode:"SG",countryName:"新加坡",languageCode:"zh"},{countryCode:"ID",countryName:"Indonesia",languageCode:"id"},{countryCode:"IN",countryName:"भारत",languageCode:"hi"},{countryCode:"MY",countryName:"Malaysia",languageCode:"ms"}],S={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/GxlKjAMGvWb"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/T0Op0XUtt0b"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/gRQNJoDHvWb"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:""},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/Zi0O2HxIvWb"},"zh-SG":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/eyzYCiacZ0b"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/5zzz90iHvWb"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:""},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/DgSznupHvWb"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/F8yihqrIvWb"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community",CLINITY_DOWNLOAD_LINK:"https://clinity.app.link/gRQNJoDHvWb"}},A=[T.L.Vietnam,T.L.Indonesia,T.L.Thailand,T.L.Malaysia,T.L.Myanmar],R=[T.L.Indonesia,T.L.Cambodia,T.L.PhilippinesEnglish,T.L.PhilippinesTagalog,T.L.Thailand,T.L.Singapore],L=[T.L.Vietnam],k=["vi-VN"],M=["id-ID"],D=["vi-VN","id-ID","en-PH","tl-PH","ms-MY","th-TH"],B=["vi-VN","id-ID"],P=[T.L.Vietnam,T.L.Taiwan],H={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};(n=l||(l={})).bmi="mi",n.gender="gndr",n.age="ge",n.slug="slug",n.resultId="resultId",n.bmr="mr",n.height="gt",n.weight="wght",n.source="surc",n.type="tp",n.startDate="sd",n.additional="tnl",n.week="wk",n.twins="twn",n.weightBefore="wb",n.yourself="yrslf",n.intensity="sy",n.rate="rt",n.method="mthd",n.day="dy",n.pwg="pwg",n.cycle="le",n.period="prd",n.access_token="tkn",n.name="nm",n.id="id",n.activityLevel="actl",n.status="status",n.birthday="brd",n.withImperialUnit="lbs";let U={[T.L.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[T.L.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[T.L.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[T.L.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[T.L.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[T.L.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[T.L.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[T.L.Singapore]:{dateFormat:"YYYY/MM/DD",separator:","},[T.L.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[T.L.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[T.L.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},G="hhg_user_token",F="hhg_user_refresh_token",Y={[T.L.PhilippinesEnglish]:d.Z,[T.L.Vietnam]:m.default,[T.L.Cambodia]:u.Z,[T.L.India]:h.Z,[T.L.Indonesia]:g.Z,[T.L.Myanmar]:d.Z,[T.L.Malaysia]:E.Z,[T.L.Thailand]:f.Z,[T.L.Taiwan]:C.Z},z="https://cdn.hellohealthgroup.com/countries",V="_ga",W="YYYY-MM-DD",j=9999999,Z=305,$="video_item_detail",q="hhg_cart_care_store_key";(r=s||(s={}))[r.UNAVAILABLE=0]="UNAVAILABLE",r[r.AVAILABLE=1]="AVAILABLE",(o=c||(c={}))[o.FIXED=1]="FIXED",o[o.STARTING=2]="STARTING",o[o.RANGE=3]="RANGE",(i=p||(p={})).VACCINE="VACCINE",i.IVF="IVF",i.EGG_FREEZING="EGG_FREEZING",i.HEALTH_SCREENER="HEALTH_SCREENER";let K={vaccine:p.VACCINE,ivf:p.IVF,"egg-freezing":p.EGG_FREEZING,screener:p.HEALTH_SCREENER},X={[p.VACCINE]:"vaccine",[p.IVF]:"ivf",[p.EGG_FREEZING]:"egg-freezing",[p.HEALTH_SCREENER]:"screener"};var Q=Object.freeze({__proto__:null,basePath:v,SSO_URL:x,USER_GEOLOCATION_COORDINATES_COOKIE:O,LOCALE_SPECS:N,COUNTRY_LIST:w,STATIC_PAGES:S,UP_BASEPATH:"user",LOCALE_HAS_COMMUNITY_SITE:A,HAS_CLINITY_DOWNLOAD_SITE:R,LOCALE_HAS_CART_CARE_SITE:L,ECOM_LOCALES:k,DATA_PRIVACY_LOCALES:M,CARE_LOCALES:D,CARE_BOOKING_LOCALES:B,VIDEO_LOCALES:P,FAVICONS:H,get QUERY_HEALTH_TOOL(){return l},ISO_FORMAT:U,BEARER_TOKEN_COOKIE:G,BEARER_REFRESH_TOKEN_COOKIE:F,DATE_FNS_LOCALE:Y,CDN_ADDRESS:z,GA_TOKEN_COOKIE:V,API_DATE_FORMAT:W,DATE_FNS_DATE_FORMAT:"dd-MM-yyyy",ZINDEX_SSO:j,ZINDEX_HEADER:Z,VIDEO_DETAIL_TEMP_STORAGE:$,HHG_CART_CARE_STORE_KEY:q,get EMERGENCY_STATUS(){return s},get ServicePrice(){return c},get SERVICE_TYPE(){return p},serviceTypeByProductType:K,productTypeByServiceType:X,siteHost:I.Cf,siteOptions:I.x9,COUNTRY_CURRENCY_SYMBOL:I.Z5,domainLocales:b.v,MAP_DOMAIN_BY_LOCALE:b.f,get RISK_SCREENER_NAME(){return _.t},RISK_SCREENER_SLUG:_.n,isProduction:y.y})},Idrk:function(e,t,a){a.d(t,{H:function(){return HealthToolCardWrapper},T:function(){return ToolsBannerCard}});var n=a("mHfz"),r=a("q1tI"),o=a("/npG"),i=a("mYVa"),l=a("8vDj"),s=a("Eso5"),c=a("SPK5"),p=a("vaps"),d=a("CmQM"),m=a("UlxI"),u=a("HKYo"),h=a("xM4c"),g=a("GXD3"),E=a("HkQG"),f=a("vffg");let C=(0,o.k)((e,{isRevamp:t,isPregTool:a,bannerColor:n,isMarryBaby:r})=>({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",gap:(0,i.h)(24),alignItems:"center",justifyContent:"space-between",padding:(0,i.h)(16),[e.fn.smallerThan("sm")]:{gap:(0,i.h)(12)}},container:{width:"100%",backgroundColor:n||(r?e.colors.mb[1]:a?e.colors.pink[1]:e.colors.blue[1]),position:"relative",display:"flex",gap:24,alignItems:"center",justifyContent:"space-between",padding:(0,i.h)(16),[e.fn.smallerThan("sm")]:{padding:`${(0,i.h)(12)} ${(0,i.h)(16)}`},a:{textDecoration:"none",color:"inherit"},'&[data-site="marryBaby"]':{a:{textDecoration:"underline"},[E.M.mbDown]:{paddingBottom:0}},[E.M.tdDown]:{height:"auto",".hhgcomp-toolbanner-wrapper":{".hhgcomp-toolbanner-inner":{display:"flex",alignItems:"center",[E.M.mbDown]:{justifyContent:"space-between"},".hhgcomp-toolbanner-iconcontainer":{position:"relative",right:(0,i.h)(-50),bottom:(0,i.h)(-20),width:(0,i.h)(110),minWidth:0,height:"auto",minHeight:0,alignSelf:"flex-end",marginBottom:(0,i.h)(-20),[E.M.mbDown]:{right:"unset"}}}}},".embedded-review":{gap:(0,i.h)(12),display:"flex",alignItems:"center"},".embedded-review__avatar":{position:"relative",minWidth:(0,i.h)(32),img:{width:(0,i.h)(32),height:(0,i.h)(32),display:"block",borderRadius:"100%"},svg:{bottom:0,right:0,position:"absolute"}}},headingWrapper:{display:"flex",flexDirection:"column",gap:t?(0,i.h)(8):0,[e.fn.smallerThan("sm")]:{gap:4}},avatarWrapper:{position:"relative",img:{maxWidth:(0,i.h)(48),maxHeight:(0,i.h)(48)},".embedded-review__avatar":{position:"relative"}},reviewText:{a:{textDecoration:"underline",textUnderlineOffset:"2px"}},iconWrapper:{display:"flex",justifyContent:"center",alignItems:"center",width:(0,i.h)(80),height:(0,i.h)(80),borderRadius:"50%",backgroundColor:"#fff",flexShrink:0,img:{maxWidth:(0,i.h)(48),maxHeight:(0,i.h)(48)},[e.fn.smallerThan("sm")]:{width:(0,i.h)(64),height:(0,i.h)(64),img:{maxWidth:(0,i.h)(40),maxHeight:(0,i.h)(40)}}},heading:{},disclaimerIcon:{flexShrink:0}})),ToolsBannerCard=e=>{var{className:t,classNames:a,heading:o,bannerColor:i,medicalReview:p={link:"#",reviewer:"",date:""},icon:h,style:E,isPregTool:f,isRevamp:I,disclaimer:b,styles:_}=e,y=(0,n._)(e,["className","classNames","heading","bannerColor","medicalReview","icon","style","isPregTool","isRevamp","disclaimer","styles"]);let{t:T}=(0,g.u)(),v=(0,l.rZ)(),x="mb"===v.other.template,O=x?"marryBaby":"helloSites",{classes:N,cx:w}=C({isRevamp:I,isPregTool:f,bannerColor:i,isMarryBaby:x},{name:"ToolsBannerCard",styles:_,classNames:a}),S=(null==p?void 0:p.reviewer)?r.createElement(u.T,{size:"label2",as:"div",className:N.reviewText},p.avatar&&r.createElement("div",{className:"embedded-review__avatar"},r.createElement(s.x,{className:N.avatarWrapper},r.createElement("img",{src:p.avatar,alt:p.reviewer,loading:"lazy"}),r.createElement(m.Z,{size:14}))),r.createElement("div",{dangerouslySetInnerHTML:{__html:T("toolPage.toolReviewer",{expert_name:`${p.reviewer.trim()}`,date:p.date})}})):null;return r.createElement(s.x,Object.assign({className:w(t,N.container),style:E,"data-site":O},y),r.createElement(c.k,{className:N.headingWrapper},r.createElement(u.T,{className:w(N.heading,"heading"),size:"h4",as:"h2"},o),S&&r.createElement(u.T,{size:"n1"},S),b&&r.createElement(c.k,{gap:4},r.createElement(d.Z,{size:16,color:v.colors.yellow[8],className:N.disclaimerIcon}),r.createElement(u.T,{size:"c1",variant:"secondary"},b))),r.createElement(c.k,{className:N.iconWrapper},h))};var I=(0,o.k)(()=>({root:{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}})),b=(0,o.k)(e=>({root:{paddingTop:16,borderRadius:"inherit",[e.fn.smallerThan("sm")]:{paddingTop:8}}})),_=(0,o.k)((e,{isPregTool:t,variant:a})=>{let n="mb"===e.other.template;return{root:Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",borderRadius:(0,i.h)(n?16:8)},"default"===a&&{backgroundColor:"#fff",border:`1px solid ${n?e.colors.mb[2]:t?e.colors.pink[1]:e.colors.blue[2]}`}),"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]}),submitBtn:{},bodyWrapper:{},scrollAreaWrapper:{},bannerWrapper:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:"transparent",padding:`${(0,i.h)(16)} ${(0,i.h)(16)} 0`}),"violet"===a&&{backgroundColor:"transparent",padding:`${(0,i.h)(16)} ${(0,i.h)(16)} 0`}),bannerHeading:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,i.h)(20),lineHeight:(0,i.h)(28),fontWeight:h.F.semiBold,[e.fn.smallerThan("sm")]:{fontSize:(0,i.h)(17),lineHeight:(0,i.h)(24)}}),bannerReviewText:Object.assign({},("gray"===a||"violet"===a)&&{fontSize:(0,i.h)(14),lineHeight:(0,i.h)(22),[e.fn.smallerThan("sm")]:{fontSize:(0,i.h)(12),lineHeight:(0,i.h)(18)}}),submitWrapper:Object.assign(Object.assign({[e.fn.smallerThan("sm")]:{button:{width:"100%"}},[e.fn.largerThan("sm")]:{textAlign:"right"}},"gray"===a&&{backgroundColor:e.colors.neutral[0],button:{marginTop:10}}),"violet"===a&&{backgroundColor:e.colors.violet[0],button:{marginTop:10}}),newsletterBlock:Object.assign(Object.assign({},"gray"===a&&{backgroundColor:e.colors.neutral[0]}),"violet"===a&&{backgroundColor:e.colors.violet[0]})}});let HealthToolCardWrapper=e=>{var{children:t,styles:a,classNames:o,className:i,isPregTool:l,variant:c="default",hasBodyScroll:p}=e,d=(0,n._)(e,["children","styles","classNames","className","isPregTool","variant","hasBodyScroll"]);let{classes:m,cx:u}=_({isPregTool:l,variant:c},{name:"HealthToolCardWrapper",styles:a,classNames:o});return r.createElement(h.T,{variant:h.C.LEADGEN},r.createElement(f.C.Provider,{value:{isPregTool:l,classes:m,variant:c,hasBodyScroll:p}},r.createElement(s.x,Object.assign({className:u(i,m.root)},d),t)))};HealthToolCardWrapper.Body=e=>{var{children:t,className:a,styles:o,classNames:i}=e,l=(0,n._)(e,["children","className","styles","classNames"]);let{classes:c,hasBodyScroll:d}=(0,r.useContext)(f.C),{classes:m,cx:u}=b(void 0,{name:"HealthToolCardWrapper__Body",styles:o,classNames:i});return r.createElement(s.x,Object.assign({className:u(a,m.root,c.bodyWrapper)},l),d?r.createElement(p.x,{h:"100%",type:"auto",scrollbarSize:8,className:c.scrollAreaWrapper},t):t)},HealthToolCardWrapper.Banner=e=>{var{className:t,classNames:a,styles:o}=e,i=(0,n._)(e,["className","classNames","styles"]);let{classes:l}=(0,r.useContext)(f.C),{isPregTool:s}=(0,r.useContext)(f.C),{classes:c,cx:p}=I(void 0,{name:"HealthToolCardWrapper__Banner",classNames:a,styles:o});return r.createElement(ToolsBannerCard,Object.assign({isPregTool:s,classNames:{container:l.bannerWrapper,heading:l.bannerHeading,reviewText:l.bannerReviewText},className:p(t,c.root)},i))}},w3RM:function(e,t,a){a.d(t,{B:function(){return Button}});var n=a("mHfz"),r=a("q1tI"),o=a("OFra");let Button=e=>{var{size:t,color:a="primary",isDisabled:i,isBlock:l,title:s,onClick:c,icon:p,iconPosition:d="left",children:m,isLoading:u=!1,loadingText:h,dataEventCategory:g,dataEventAction:E,dataEventLabel:f,dataProductChannel:C,dataProductSku:I,dataProductBrand:b,dataProductName:_,dataProductPrice:y,dataProductCategory:T,dataProductPosition:v,type:x}=e,O=(0,n._)(e,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);return r.createElement(o.B,Object.assign({},{"data-event-category":g,"data-event-action":E,"data-event-label":f,"data-product-channel":C,"data-product-sku":I,"data-product-brand":b,"data-product-name":_,"data-product-price":y,"data-product-category":T,"data-product-position":v},{size:t,variant:"transparent"===a?"white":"danger"===a?"error":a,disabled:i,onClick:e=>{u||i||!c||c(e)},title:s,loading:u,type:x||"submit",leftIcon:"left"===d?p:void 0,rightIcon:"right"===d?p:void 0,w:l?"100%":void 0,p:l?"12px auto":void 0,"data-color":a,"data-size":t,"data-block":l,"data-has-icon":!!p||void 0,"data-theme":O.theme,"data-is-loading":u},O),u&&h||m)}},TRbm:function(e,t,a){a.d(t,{B:function(){return BtnChoice}});var n=a("q1tI"),r=a("OFra"),o=a("rBCA");let i=o.Z.div` display: flex; align-items: center; gap: 8px; button[data-color='tertiary'] { background: white; } `,BtnChoice=({value:e,choices:t,className:a,onChange:o})=>{let[l,s]=(0,n.useState)(e);return(0,n.useEffect)(()=>{s(e)},[e]),n.createElement(i,{className:a},t.map((e,t)=>n.createElement(r.B,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===l?"primary":"tertiary",className:e.value===l?"btn-choice-selected":"",key:t,onClick:()=>{s(e.value),null==o||o(e.value)}},e.label||"")))}},"VMu+":function(e,t,a){a.d(t,{T:function(){return Tabs}});var n=a("mHfz"),r=a("q1tI"),o=a("aKYm"),i=a("VLUI"),l=a("/npG"),s=a("mYVa"),c=a("rlLN"),p=a("vaps"),d=a("OFra"),m=a("HKYo"),u=(0,l.k)((e,t)=>{let{variant:a}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:(0,s.h)(56)};return Object.assign({},"inline"===a&&{root:{},tabsList:{gap:(0,s.h)(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${(0,s.h)(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:(0,s.h)(2),marginBottom:(0,s.h)(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:(0,s.h)(28),height:(0,s.h)(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})});let Tabs=e=>{var t,{variant:a="inline",value:l,styles:s,children:h,dataList:g=[],tabProps:E,listProps:f,panelProps:C,TabComponentDisplay:I,startPadding:b=40,defaultValue:_}=e,y=(0,n._)(e,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);let{cx:T,classes:v}=u({variant:a},{name:"Tabs",styles:s}),x=(0,r.useRef)(null),O=(0,r.useRef)([]),[N,w]=(0,r.useState)(_||(null===(t=null==g?void 0:g[0])||void 0===t?void 0:t.value)),[S,A]=(0,r.useState)(0),[R,L]=(0,r.useState)(!1),[k,M]=(0,r.useState)(!0),[D,B]=(0,r.useState)({x:0,y:0}),P=(0,r.useRef)(null),H=Object.assign({defaultValue:_,classNames:v},h?{value:l}:{value:N,onTabChange:e=>w(e)});(0,r.useEffect)(()=>{w(l)},[l]),(0,r.useEffect)(()=>{var e,t,a;null===(e=P.current)||void 0===e||e.scrollTo({left:(null===(a=null===(t=null==O?void 0:O.current)||void 0===t?void 0:t[S])||void 0===a?void 0:a.offsetLeft)-b,behavior:"smooth"})},[S]),(0,r.useEffect)(()=>{A(g.findIndex(e=>e.value==N))},[N]),(0,r.useEffect)(()=>{var e,t;M(0===D.x),L((null===(e=null==P?void 0:P.current)||void 0===e?void 0:e.clientWidth)+D.x===(null===(t=null==P?void 0:P.current)||void 0===t?void 0:t.scrollWidth))},[D]);let TabTextComponent=({text:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:n})=>I?r.createElement(I,null,e):r.createElement(m.T,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":n},e);return r.createElement(c.m,Object.assign({},H,y),h||r.createElement(r.Fragment,null,r.createElement(p.x,{className:T(v.scrollArea,`${k?"":"prev-bg"} ${R?"":"next-bg"}`),scrollbarSize:0,viewportRef:P,onScrollPositionChange:B},r.createElement(c.m.List,Object.assign({className:v.list,ref:x},f),g.map((e,t)=>r.createElement(c.m.Tab,Object.assign({ref:e=>O.current[t]=e,className:v.tab,key:String(e.value),value:String(e.value)},E),r.createElement(TabTextComponent,Object.assign({},e))))),r.createElement(d.B,{className:T(v.btn,v.prevBtn,k?"disabled":""),unstyled:!0,onClick:()=>A(S-1>-1?S-1:0),leftIcon:r.createElement(o.Z,{size:16})}),r.createElement(d.B,{className:T(v.btn,v.nextBtn,R?"disabled":""),unstyled:!0,onClick:()=>A(S+1r.createElement(c.m.Panel,Object.assign({value:String(e.value),key:String(e.value)},C),e.content))))};Tabs.List=c.m.List,Tabs.Tab=c.m.Tab,Tabs.Panel=c.m.Panel},dirz:function(e,t,a){a.d(t,{D:function(){return Divider}});var n=a("q1tI"),r=a("rBCA"),o=a("iBNF");let i=r.Z.hr` border-width: 1px; border-color: ${o.r.colors.neutral200}; border-style: ${e=>e.dividerType}; `,Divider=({type:e="solid",className:t,style:a})=>n.createElement(i,{style:a,className:t,"data-diver-type":e,dividerType:e})},"4SxB":function(e,t,a){a.d(t,{L:function(){return Logo}});var n=a("q1tI"),r=a("tiO5"),o=a("W9uT"),i=a("rBCA"),l=a("HkQG"),s=a("70a7"),c=a("yPD6");let p=i.Z.div` position: relative; display: inline-flex; align-items: center; z-index: 0; .main-logo-icon { object-fit: contain; } &[data-logo-is-light] { > svg path { fill: #fff; } img { filter: brightness(0) invert(1); } } &[data-has-badge] { @supports (display: flex) and (gap: 1em) { gap: 0.5rem; } @supports not ((display: flex) and (gap: 1em)) { > img { margin-left: 0.25rem; } } } .common-logo-seasonal-left, .common-logo-seasonal-right { z-index: -1; max-width: unset; max-height: unset; pointer-events: none; } .common-logo-seasonal-left { position: absolute; top: 50%; left: 0; transform: translateY(-50%); pointer-events: none; } .common-logo-seasonal-right { position: absolute; top: 50%; right: 0; transform: translateY(-50%); } &[data-seasonal='christmas'] { padding-left: 37px; padding-right: 22px; .common-logo-seasonal-left { width: 125px; height: 56px; } .common-logo-seasonal-right { width: 23px; height: 17px; } ${l.M.mbDown} { padding-left: 30px; padding-right: 16px; .common-logo-seasonal-left { // width: 125px; height: 46px; } .common-logo-seasonal-right { // width: 23px; height: 12px; } } } &[data-seasonal='new-year'] { padding-right: 85px; .common-logo-seasonal-left { top: 35%; width: 100px; height: 56px; } .common-logo-seasonal-right { width: 85px; height: 54px; } ${l.M.mbDown} { padding-right: 0; .common-logo-seasonal-right { display: none; } } } &[data-seasonal='lunar-new-year'] { padding-left: 30px; padding-right: 35px; .common-logo-seasonal-left { width: 33px; height: 41px; } .common-logo-seasonal-right { width: 37px; height: 54px; } } &[data-seasonal='ramadan'] { &[data-type='hellosehat'] { padding-right: 35px; .common-logo-seasonal-left { width: 165px; height: unset; left: 6px; } .common-logo-seasonal-right { width: 33px; height: unset; } } &[data-type='hellodoktor'] { padding-right: 66px; .common-logo-seasonal-left { width: 133px; height: unset; left: 6px; } .common-logo-seasonal-right { width: 63px; height: unset; } } } &[data-seasonal='hung-king'] { &[data-type='hellobacsi'] { .common-logo-seasonal-left { width: 134px; height: unset; left: 50%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left { width: 145px; height: unset; left: 50%; top: 50%; transform: translate(-50%, -50%); } } } &[data-seasonal='vn-independent-day'] { &[data-type='hellobacsi'], &[data-type='marryBaby'] { .common-logo-seasonal-left.desktop-only { width: unset; height: 56px; left: 65%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left.desktop-only { left: 50%; z-index: 1; } } &[data-type='hellobacsi'], &[data-type='marryBaby'] { .common-logo-seasonal-left.mobile-only { width: unset; height: 56px; left: 60%; top: 50%; transform: translate(-50%, -50%); } } &[data-type='marryBaby'] { .common-logo-seasonal-left.mobile-only { left: 40%; z-index: 1; } } } .desktop-only { ${l.M.mbDown} { display: none; } } .mobile-only { ${l.M.mbUp} { display: none; } } `,d=i.Z.img` height: 16px; width: unset; margin-bottom: 4px; margin-left: -3px; `,isChristmas=e=>{let t=e.getDate(),a=e.getMonth();return 11===a&&t>=16&&t<=25},m={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},u=[r.L.Vietnam,r.L.Taiwan,r.L.Indonesia,r.L.Malaysia],isLunarNewYear=e=>{let t=e.getFullYear(),a=m[t];if(!a)return!1;let n=new Date(t,a[1],a[0]),r=new Date(n);r.setDate(n.getDate()-7);let o=new Date(n);return o.setDate(n.getDate()+5),r<=e&&e<=o},isNewYear=e=>{let t=e.getDate(),a=e.getMonth();return 11===a&&t>=26||0===a&&t<=15},h=[{year:2024,start:[10,2],end:[8,3]},{year:2025,start:[1,2],end:[30,2]},{year:2026,start:[18,1],end:[19,2]},{year:2027,start:[8,1],end:[9,2]},{year:2028,start:[28,0],end:[26,1]},{year:2029,start:[16,0],end:[14,1]},{year:2030,start:[6,0],end:[4,1]},{year:2030,start:[26,11],end:[24,0,2031]},{year:2031,start:[15,11],end:[13,0,2032]},{year:2032,start:[4,11],end:[2,0,2033]}],isRamadan=e=>{let t=e.getFullYear(),a=h.filter(e=>e.year===t);return!!a.length&&a.some(a=>{let n=a.start[2]||t,r=new Date(n,a.start[1],a.start[0]),o=new Date(n,a.end[1],a.end[0]);return r<=e&&e<=o})},g={2024:[18,3],2025:[7,3],2026:[26,3],2027:[16,3],2028:[4,3],2029:[23,3],2030:[12,3],2031:[1,3],2032:[19,3],2033:[9,3],2034:[28,3],2035:[17,3]},isVNHungKing=e=>{let t=e.getFullYear(),a=g[t];if(!a)return!1;let n=new Date(t,a[1],a[0]),r=new Date(n);r.setDate(n.getDate()-1);let o=new Date(n);return o.setDate(n.getDate()+1),r<=e&&e<=o},isVN3004=e=>{let t=e.getFullYear(),a=new Date(t,3,30),n=new Date(a);n.setDate(a.getDate()-1);let r=new Date(a);return r.setDate(a.getDate()+2),n<=e&&e<=r},isLabourDay=e=>{let t=e.getFullYear(),a=new Date(t,4,1),n=new Date(a);n.setDate(a.getDate()-1);let r=new Date(a);return r.setDate(a.getDate()+1),n<=e&&e<=r},isVNIndependentDay=e=>{let t=e.getFullYear(),a=new Date(t,8,2),n=new Date(a);n.setDate(a.getDate()-1);let r=new Date(a);return r.setDate(a.getDate()+1),n<=e&&e<=r},Logo=({type:e,className:t,style:a,isLightLogo:i,customSize:l,badge:m,locale:h,dateForSeasonal:g,isPro:E})=>{let[f,C]=(0,n.useState)({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1,isVNIndependentDay:!1});return(0,n.useEffect)(()=>{if(!g||isNaN(new Date(g).getTime()))return;let e=new Date(g),t=isChristmas(e),a=u.includes(h)&&isLunarNewYear(e),n=!a&&isNewYear(e),o=isRamadan(e),i=h===r.L.Vietnam&&isVNHungKing(e),l=h===r.L.Vietnam&&isVN3004(e),s=h===r.L.Vietnam&&isLabourDay(e),c=h===r.L.Vietnam&&isVNIndependentDay(e);C({isChristmas:t,isLunarNewYear:a,isNewYear:n,isRamadan:o,isVNHungKing:i,isVN3004:l,isLabourDay:s,isVNIndependentDay:c})},[h,new Date(g).getDate()]),n.createElement(p,{className:t,style:a,"data-logo-is-light":i||void 0,"data-has-badge":!!m,"data-seasonal":f.isRamadan?"ramadan":f.isChristmas?"christmas":f.isLunarNewYear?"lunar-new-year":f.isNewYear?"new-year":f.isVNHungKing?"hung-king":f.isVN3004?"30-04":f.isLabourDay?"labour-day":f.isVNIndependentDay?"vn-independent-day":void 0,"data-type":e},f.isChristmas?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"left xmas logo",src:o.C.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),n.createElement(c.I,{alt:"right xmas logo",src:o.C.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"left new year logo",src:o.C.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement(c.I,{alt:"right new year logo",src:o.C.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"left lunar new year logo",loading:"lazy",src:o.C.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement(c.I,{alt:"right lunar new year logo",loading:"lazy",src:o.C.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellosehat"===e?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"left ramadan logo",loading:"lazy",src:o.C.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),n.createElement(c.I,{alt:"right ramadan logo",loading:"lazy",src:o.C.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellodoktor"===e?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"left ramadan logo",loading:"lazy",src:o.C.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),n.createElement(c.I,{alt:"right ramadan logo",loading:"lazy",src:o.C.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):f.isVNHungKing&&("hellobacsi"===e||"marryBaby"===e)?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"Hung King logo",loading:"lazy",src:o.C.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})):f.isVNIndependentDay&&("hellobacsi"===e||"marryBaby"===e)?n.createElement(n.Fragment,null,n.createElement(c.I,{alt:"VN Independent day logo",loading:"lazy",src:o.C.getAssetPath("logo/vn-independence-desktop.png"),className:"common-logo-seasonal-left desktop-only"}),n.createElement(c.I,{alt:"VN Independent day logo",loading:"lazy",src:o.C.getAssetPath("logo/vn-independence-mobile.png"),className:"common-logo-seasonal-left mobile-only"})):null,n.createElement(s.L,{type:e,width:null==l?void 0:l.width,height:null==l?void 0:l.height,isLight:i}),E?n.createElement(d,{src:o.C.getAssetPath("logo/pro-suffix.svg")}):null,m)}},j1kH:function(e,t,a){a.d(t,{P:function(){return PWGForm}});var n=a("mHfz"),r=a("q1tI"),o=a("8vDj"),i=a("iuhU"),l=a("cChf"),s=a("ZFu2"),c=a("4oNJ"),p=a("GXD3"),d=a("zHfJ"),m=a("erMh"),u=a("HKYo"),h=a("vffg"),g=a("BN2B"),E=a("jbVx"),f=a("xrdX");let C=(0,r.createContext)({}),DefaultForm=e=>{var t=(0,n._)(e,[]);let{t:a,locale:l}=(0,p.u)(),{linkTool:s,form:c,submitProps:d}=(0,r.useContext)(C),{classes:I={}}=(0,r.useContext)(h.C),b=(0,o.rZ)(),_="mb"===b.other.template;return r.createElement(g.H,Object.assign({formLayout:"default"},t),r.createElement(g.H.FormRow,null,r.createElement(m.I.Number,Object.assign({label:r.createElement(u.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weekInput")),min:E.I.pregnantWeek.min,max:E.I.pregnantWeek.max,placeholder:`${E.I.pregnantWeek.min} - ${E.I.pregnantWeek.max}`},c.getInputProps("pregnantWeek")))),r.createElement(g.H.FormRow,null,r.createElement(m.I.Number,Object.assign({label:r.createElement(u.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightBeforeInput")),min:E.I.weight.min,max:E.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("lastWeight")))),r.createElement(g.H.FormRow,null,r.createElement(m.I.Number,Object.assign({label:r.createElement(u.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.heightInput")),min:E.I.height.min,max:E.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"})},c.getInputProps("height")))),r.createElement(g.H.FormRow,null,r.createElement(m.I.Number,Object.assign({label:r.createElement(u.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.weightInput")),min:E.I.weight.min,max:E.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"})},c.getInputProps("weight")))),r.createElement(g.H.FormRow,null,r.createElement(g.H.Switching,Object.assign({label:r.createElement(u.T,{size:"p2",weight:"semiBold"},a("pregnancyWeightGain.havingTwins"))},c.getInputProps("hasTwin")))),r.createElement(g.H.FormRow,{className:I.submitWrapper},r.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${f.v[_?"vi-VN_MB":l]}/${s}`,className:(0,i.default)("due-date-calculate-button",I.submitBtn)},d),a("dueDatePage.lastPeriod.calculate"))))},InlineForm=e=>{var t=(0,n._)(e,[]);let{t:a,locale:l}=(0,p.u)(),{classes:s={}}=(0,r.useContext)(h.C),{linkTool:c,form:d,submitProps:u}=(0,r.useContext)(C),I=(0,o.rZ)(),b="mb"===I.other.template;return r.createElement(g.H,Object.assign({formLayout:"inline"},t),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weekInput")},r.createElement(m.I.Number,Object.assign({min:E.I.pregnantWeek.min,max:E.I.pregnantWeek.max,placeholder:`${E.I.pregnantWeek.min} - ${E.I.pregnantWeek.max}`,rightSection:r.createElement(g.H.Unit,null,a("pwgForm.week"))},d.getInputProps("pregnantWeek"))))),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightBeforeInput")},r.createElement(m.I.Number,Object.assign({},d.getInputProps("lastWeight"),{min:E.I.weight.min,max:E.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:r.createElement(g.H.Unit,null,a("babyGrowth.kg"))})))),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.heightInput")},r.createElement(m.I.Number,Object.assign({},d.getInputProps("height"),{min:E.I.height.min,max:E.I.height.max,placeholder:a("tools.inputPlaceholder",{content:"160"}),rightSection:r.createElement(g.H.Unit,null,a("babyGrowth.cm"))})))),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.weightInput")},r.createElement(m.I.Number,Object.assign({},d.getInputProps("weight"),{min:E.I.weight.min,max:E.I.weight.max,placeholder:a("tools.inputPlaceholder",{content:"50"}),rightSection:r.createElement(g.H.Unit,null,a("babyGrowth.kg"))})))),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderInlineControl,{label:a("pregnancyWeightGain.havingTwins"),width:"none"},r.createElement(g.H.Switching,Object.assign({},d.getInputProps("hasTwin"))))),r.createElement(g.H.FormRow,{className:s.submitWrapper},r.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${f.v[b?"vi-VN_MB":l]}/${c}`,className:(0,i.default)("due-date-calculate-button",s.submitBtn)},u),a("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,n._)(e,[]);let{t:a,locale:i}=(0,p.u)(),{linkTool:l,form:s,submitProps:c}=(0,r.useContext)(C),d=(0,o.rZ)(),u="mb"===d.other.template;return r.createElement(g.H,Object.assign({formLayout:"inline"},t),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weekInput"),rightSection:a("pregnancy.week")},r.createElement(m.I.Number,Object.assign({min:E.I.pregnantWeek.min,max:E.I.pregnantWeek.max,placeholder:`${E.I.pregnantWeek.min} - ${E.I.pregnantWeek.max}`},s.getInputProps("pregnantWeek")))),s.errors.pregnantWeek&&r.createElement(g.H.Error,null,s.errors.pregnantWeek)),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightBeforeInput"),rightSection:"kg"},r.createElement(m.I.Number,Object.assign({min:E.I.weight.min,max:E.I.weight.max},s.getInputProps("lastWeight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.lastWeight&&r.createElement(g.H.Error,null,s.errors.lastWeight)),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.heightInput"),rightSection:"cm"},r.createElement(m.I.Number,Object.assign({min:E.I.height.min,max:E.I.height.max},s.getInputProps("height"),{placeholder:a("tools.inputPlaceholder",{content:"160"})}))),s.errors.height&&r.createElement(g.H.Error,null,s.errors.height)),r.createElement(g.H.FormRow,null,r.createElement(g.H.BorderBoxControl,{label:a("pregnancyWeightGain.weightInput"),rightSection:"kg"},r.createElement(m.I.Number,Object.assign({min:E.I.weight.min,max:E.I.weight.max},s.getInputProps("weight"),{placeholder:a("tools.inputPlaceholder",{content:"50"})}))),s.errors.weight&&r.createElement(g.H.Error,null,s.errors.weight)),r.createElement(g.H.Switching,Object.assign({label:a("pregnancyWeightGain.havingTwins")},s.getInputProps("hasTwin"))),r.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${f.v[u?"vi-VN_MB":i]}/${l}`,className:"due-date-calculate-button"},c),a("dueDatePage.lastPeriod.calculate")))},PWGForm=e=>{var{formLayout:t="default",submitProps:a,onSubmit:i}=e,m=(0,n._)(e,["formLayout","submitProps","onSubmit"]);let{t:u,locale:h}=(0,p.u)(),g=(0,o.rZ)(),E="mb"===g.other.template,f=(0,l.c)({validate:{pregnantWeek:(0,s.U)(u("validation.error.requiredField")),height:(0,s.U)(u("validation.error.requiredField")),weight:(e,t)=>e?Number(e)>=Number(t.lastWeight)?null:u("pregnancyWeightGain.weightInput.error"):u("validation.error.requiredField"),lastWeight:(e,t)=>e?Number(e)I(d.H.PWG),[I]),_=Object.assign({onSubmit:f.onSubmit(i)},m);return r.createElement(C.Provider,{value:{linkTool:b,form:f,submitProps:a}},"inline"===t?r.createElement(InlineForm,Object.assign({},_)):E?r.createElement(MbLayout,Object.assign({formLayout:t},_)):r.createElement(DefaultForm,Object.assign({},_)))}},OHnv:function(e,t,a){a.d(t,{L:function(){return Loading}});var n=a("q1tI"),r=a("Epq8"),o=a("GXD3");let Loading=({className:e,theme:t,hideText:a})=>{let{t:i}=(0,o.u)();return n.createElement("div",{className:`tliWyii ${e}`},n.createElement(r.I.Spinner,{isMarryBaby:"marryBaby"===t}),!a&&i("loading"))}},kHyD:function(e,t,a){a.d(t,{P:function(){return PopoverMenu},S:function(){return c}});var n=a("q1tI"),r=a("w3RM"),o=a("R7z5"),i=a("rBCA"),l=a("iBNF");let s=i.Z.div` position: relative; display: content; .popover-menu__btn { /* position: relative; */ > span { width: 100%; height: 100%; > img { width: 100%; height: 100%; } } } .popover-menu__content { position: absolute; z-index: 10; width: 320px; padding: 8px; border: none; background: #fff; border-radius: 8px; box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.1); &::before { position: absolute; width: 16px; height: 8px; background: #fff; content: ''; } &.--position { &-top { bottom: calc(100% + 8px); &.--align { &-start { left: 0; &::before { top: 100%; left: 16px; clip-path: polygon(0 0, 50% 100%, 100% 0); } } &-end { left: 100%; transform: translateX(calc(-100% + 1rem)); &::before { top: 100%; right: 16px; clip-path: polygon(0 0, 50% 100%, 100% 0); } } } } &-right { left: calc(100% + 8px); &.--align { &-start { top: 0; &::before { top: 16px; left: 0; width: 8px; height: 16px; clip-path: polygon(0 50%, 100% 0%, 100% 100%); transform: translateX(-100%); } } &-end { top: 100%; transform: translateX(calc(-100% + 1rem)); &::before { bottom: 16px; left: 0; width: 8px; height: 16px; clip-path: polygon(0 50%, 100% 0%, 100% 100%); transform: translateX(-100%); } } } } &-bottom { top: calc(100% + 8px); &.--align { &-start { left: 0; &::before { bottom: 100%; left: 16px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); } } &-end { left: 100%; transform: translateX(calc(-100% + 1rem)); &::before { right: 16px; bottom: 100%; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); } } } } &-left { left: -8px; transform: translateX(-100%); &.--align { &-start { top: 0; &::before { top: 16px; left: 100%; width: 8px; height: 16px; clip-path: polygon(0 0%, 100% 50%, 0% 100%); transform: translateX(0); } } &-end { bottom: 0; &::before { bottom: 16px; left: 100%; width: 8px; height: 16px; clip-path: polygon(0 0%, 100% 50%, 0% 100%); transform: translateX(0); } } } } } } &[data-is-marrybaby='true'] { .popover-menu__content { padding: 0; border-radius: 12px; /* &::before { display: none; } */ } } `,c=i.Z.div` display: flex; /* max-height: 300px; */ flex-direction: column; cursor: default; .__header { position: relative; display: flex; align-items: center; justify-content: center; padding: 1rem 0; margin-bottom: 8px; .__back-btn { position: absolute; top: 50%; left: 8px; width: 16px; height: 16px; cursor: pointer; transform: translateY(-50%); } } .tree-text-description { padding-right: 8px; padding-left: 8px; margin-top: -8px; margin-bottom: 8px; font-size: 14px; font-weight: 400; line-height: 22px; text-align: left; } .__content { overflow: auto; flex: 1; } .__list { .__item { position: relative; &.bold-item { font-weight: 700; } &:last-child { .__btn { margin-bottom: 0; } } .__btn { position: relative; display: flex; width: 100%; height: 40px; align-items: center; padding: 0 1rem; border: none; margin-bottom: 8px; color: ${l.r.colors.gray800}; cursor: pointer; text-align: left; transition: background 0.3s; /* for better gtm tracking result */ * { pointer-events: none; } &.--checked { color: ${l.r.colors.gray500}; pointer-events: none; } &:hover { background: ${l.r.colors.gray100}; } .__icon { width: 16px; height: 16px; margin-right: 0.4rem; } & > span { position: relative; & > img { width: 16px; height: 16px; margin-right: 0.4rem; } } } .__toggle { position: absolute; top: 50%; right: 16px; width: 16px; height: 16px; pointer-events: none; transform: translateY(-50%); } } } &[data-is-marrybaby='true'] { .__header { padding: 1rem; } .tree-text-description { padding: 0 1rem; } .__list { .__item { &:first-child { .__btn { border-top-left-radius: 12px; border-top-right-radius: 12px; } } &:last-child { .__btn { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } } .__btn { height: unset; padding: 1rem; margin-bottom: 0; &:hover { background: ${l.r.mbColors.lightPink}; } } } } } `,PopoverMenu=({className:e,style:t,toggleButtonContent:a,position:i="bottom",align:l="end",children:c,buttonProps:p})=>{let{data:{env:{isMarryBaby:d}}}=(0,n.useContext)(o.T),[m,u]=(0,n.useState)(!1),h=(0,n.useRef)(null),g=(0,n.useRef)(m);return(0,n.useEffect)(()=>{var e;g.current=m,m&&(null===(e=h.current)||void 0===e||e.focus())},[m]),(0,n.useEffect)(()=>{let clickHandler=e=>{var t;(null===(t=h.current)||void 0===t?void 0:t.contains(e.target))||!g.current||u(!1)};return window.addEventListener("click",clickHandler,{passive:!0}),()=>{window.removeEventListener("click",clickHandler)}},[]),n.createElement(s,{"data-is-marrybaby":d,className:e,style:t},n.createElement(r.B,Object.assign({theme:d?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>u(e=>!e)},p),a),m?n.createElement("div",{ref:h,className:`popover-menu__content --position-${i} --align-${l}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof c?c({setShow:u}):c):null)}}}]);