"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7730],{BdHP:function(e,t,r){r.d(t,{C:function(){return Container}});var n=r("q1tI");let Container=({children:e,className:t,style:r,type:a})=>n.createElement("div",{className:`d76E4SH ${t||""}`,style:r,"data-type":a},e)},oMyl:function(e,t,r){r.d(t,{P:function(){return PWGForm}});var n=r("fbRC"),a=r("q1tI"),l=r("8vDj"),i=r("iuhU"),o=r("cChf"),c=r("ZFu2"),s=r("4vXT"),d=r("thIk"),h=r("TUmP"),m=r("6HDN"),u=r("F/Hd"),p=r("g73v"),g=r("Ni80"),f=r("l5E9"),C=r("xrdX");let b=(0,a.createContext)({}),DefaultForm=e=>{var t=(0,n._)(e,[]);let{t:r,locale:o}=(0,d.u)(),{linkTool:c,form:s,submitProps:h}=(0,a.useContext)(b),{classes:E={}}=(0,a.useContext)(p.C),v=(0,l.rZ)(),w="mb"===v.other.template;return a.createElement(g.H,Object.assign({formLayout:"default"},t),a.createElement(g.H.FormRow,null,a.createElement(m.I.Number,Object.assign({label:a.createElement(u.T,{size:"p2",weight:"semiBold"},r("pregnancyWeightGain.weekInput")),min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`},s.getInputProps("pregnantWeek")))),a.createElement(g.H.FormRow,null,a.createElement(m.I.Number,Object.assign({label:a.createElement(u.T,{size:"p2",weight:"semiBold"},r("pregnancyWeightGain.weightBeforeInput")),min:f.I.weight.min,max:f.I.weight.max,placeholder:r("tools.inputPlaceholder",{content:"50"})},s.getInputProps("lastWeight")))),a.createElement(g.H.FormRow,null,a.createElement(m.I.Number,Object.assign({label:a.createElement(u.T,{size:"p2",weight:"semiBold"},r("pregnancyWeightGain.heightInput")),min:f.I.height.min,max:f.I.height.max,placeholder:r("tools.inputPlaceholder",{content:"160"})},s.getInputProps("height")))),a.createElement(g.H.FormRow,null,a.createElement(m.I.Number,Object.assign({label:a.createElement(u.T,{size:"p2",weight:"semiBold"},r("pregnancyWeightGain.weightInput")),min:f.I.weight.min,max:f.I.weight.max,placeholder:r("tools.inputPlaceholder",{content:"50"})},s.getInputProps("weight")))),a.createElement(g.H.FormRow,null,a.createElement(g.H.Switching,Object.assign({label:a.createElement(u.T,{size:"p2",weight:"semiBold"},r("pregnancyWeightGain.havingTwins"))},s.getInputProps("hasTwin")))),a.createElement(g.H.FormRow,{className:E.submitWrapper},a.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[w?"vi-VN_MB":o]}/${c}`,className:(0,i.default)("due-date-calculate-button",E.submitBtn)},h),r("dueDatePage.lastPeriod.calculate"))))},InlineForm=e=>{var t=(0,n._)(e,[]);let{t:r,locale:o}=(0,d.u)(),{classes:c={}}=(0,a.useContext)(p.C),{linkTool:s,form:h,submitProps:u}=(0,a.useContext)(b),E=(0,l.rZ)(),v="mb"===E.other.template;return a.createElement(g.H,Object.assign({formLayout:"inline"},t),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderInlineControl,{label:r("pregnancyWeightGain.weekInput")},a.createElement(m.I.Number,Object.assign({min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`,rightSection:a.createElement(g.H.Unit,null,r("pwgForm.week"))},h.getInputProps("pregnantWeek"))))),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderInlineControl,{label:r("pregnancyWeightGain.weightBeforeInput")},a.createElement(m.I.Number,Object.assign({},h.getInputProps("lastWeight"),{min:f.I.weight.min,max:f.I.weight.max,placeholder:r("tools.inputPlaceholder",{content:"50"}),rightSection:a.createElement(g.H.Unit,null,r("babyGrowth.kg"))})))),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderInlineControl,{label:r("pregnancyWeightGain.heightInput")},a.createElement(m.I.Number,Object.assign({},h.getInputProps("height"),{min:f.I.height.min,max:f.I.height.max,placeholder:r("tools.inputPlaceholder",{content:"160"}),rightSection:a.createElement(g.H.Unit,null,r("babyGrowth.cm"))})))),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderInlineControl,{label:r("pregnancyWeightGain.weightInput")},a.createElement(m.I.Number,Object.assign({},h.getInputProps("weight"),{min:f.I.weight.min,max:f.I.weight.max,placeholder:r("tools.inputPlaceholder",{content:"50"}),rightSection:a.createElement(g.H.Unit,null,r("babyGrowth.kg"))})))),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderInlineControl,{label:r("pregnancyWeightGain.havingTwins"),width:"none"},a.createElement(g.H.Switching,Object.assign({},h.getInputProps("hasTwin"))))),a.createElement(g.H.FormRow,{className:c.submitWrapper},a.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[v?"vi-VN_MB":o]}/${s}`,className:(0,i.default)("due-date-calculate-button",c.submitBtn)},u),r("dueDatePage.lastPeriod.calculate"))))},MbLayout=e=>{var t=(0,n._)(e,[]);let{t:r,locale:i}=(0,d.u)(),{linkTool:o,form:c,submitProps:s}=(0,a.useContext)(b),h=(0,l.rZ)(),u="mb"===h.other.template;return a.createElement(g.H,Object.assign({formLayout:"inline"},t),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderBoxControl,{label:r("pregnancyWeightGain.weekInput"),rightSection:r("pregnancy.week")},a.createElement(m.I.Number,Object.assign({min:f.I.pregnantWeek.min,max:f.I.pregnantWeek.max,placeholder:`${f.I.pregnantWeek.min} - ${f.I.pregnantWeek.max}`},c.getInputProps("pregnantWeek")))),c.errors.pregnantWeek&&a.createElement(g.H.Error,null,c.errors.pregnantWeek)),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderBoxControl,{label:r("pregnancyWeightGain.weightBeforeInput"),rightSection:"kg"},a.createElement(m.I.Number,Object.assign({min:f.I.weight.min,max:f.I.weight.max},c.getInputProps("lastWeight"),{placeholder:r("tools.inputPlaceholder",{content:"50"})}))),c.errors.lastWeight&&a.createElement(g.H.Error,null,c.errors.lastWeight)),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderBoxControl,{label:r("pregnancyWeightGain.heightInput"),rightSection:"cm"},a.createElement(m.I.Number,Object.assign({min:f.I.height.min,max:f.I.height.max},c.getInputProps("height"),{placeholder:r("tools.inputPlaceholder",{content:"160"})}))),c.errors.height&&a.createElement(g.H.Error,null,c.errors.height)),a.createElement(g.H.FormRow,null,a.createElement(g.H.BorderBoxControl,{label:r("pregnancyWeightGain.weightInput"),rightSection:"kg"},a.createElement(m.I.Number,Object.assign({min:f.I.weight.min,max:f.I.weight.max},c.getInputProps("weight"),{placeholder:r("tools.inputPlaceholder",{content:"50"})}))),c.errors.weight&&a.createElement(g.H.Error,null,c.errors.weight)),a.createElement(g.H.Switching,Object.assign({label:r("pregnancyWeightGain.havingTwins")},c.getInputProps("hasTwin"))),a.createElement(g.H.Submit,Object.assign({type:"submit",dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${C.v[u?"vi-VN_MB":i]}/${o}`,className:"due-date-calculate-button"},s),r("dueDatePage.lastPeriod.calculate")))},PWGForm=e=>{var{formLayout:t="default",submitProps:r,onSubmit:i}=e,m=(0,n._)(e,["formLayout","submitProps","onSubmit"]);let{t:u,locale:p}=(0,d.u)(),g=(0,l.rZ)(),f="mb"===g.other.template,C=(0,o.c)({validate:{pregnantWeek:(0,c.U)(u("validation.error.requiredField")),height:(0,c.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)E(h.H.PWG),[E]),w=Object.assign({onSubmit:C.onSubmit(i)},m);return a.createElement(b.Provider,{value:{linkTool:v,form:C,submitProps:r}},"inline"===t?a.createElement(InlineForm,Object.assign({},w)):f?a.createElement(MbLayout,Object.assign({formLayout:t},w)):a.createElement(DefaultForm,Object.assign({},w)))}},SZ3Q:function(e,t,r){r.d(t,{I:function(){return c}});var n=r("fbRC"),a=r("q1tI"),l=r("iBNF"),i=r("WMsZ"),o=r("BTAs");let Bookmark=e=>{var{size:t,color:r,useCurrentColor:l,isActive:i,activeColor:o,isMarryBaby:c}=e,s=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=l?"currentColor":i?o:r,h=Object.assign({width:t,height:t},s);return c?a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},h),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d,stroke:d})):a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h),a.createElement("path",{d:"M12 13.3334L8 10.3704L4 13.3334V3.85187C4 3.53754 4.12041 3.23608 4.33474 3.01382C4.54906 2.79155 4.83975 2.66669 5.14286 2.66669H10.8571C11.1602 2.66669 11.4509 2.79155 11.6653 3.01382C11.8796 3.23608 12 3.53754 12 3.85187V13.3334Z",fill:d,strokeLinecap:"round",strokeLinejoin:"round"}))};Bookmark.defaultProps={size:18,color:l.r.colors.gray600,activeColor:l.r.colors.primaryBase};let Comment=e=>{var{size:t=24,color:r,useCurrentColor:l,isActive:i,activeColor:o,isMarryBaby:c}=e,s=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=l?"currentColor":i?o:r,h=Object.assign({width:t,height:t},s);return c?a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},h),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.599 2.92689C9.53974 2.67333 8.44007 2.67333 7.38083 2.92688L7.21355 2.96693C5.29637 3.42585 3.77529 4.99134 3.30709 7.02824C3.04637 8.16253 3.04859 9.35772 3.30963 10.4933C3.79199 12.5919 5.20833 14.326 7.09016 15.1306L7.17879 15.1685C7.78633 15.4282 8.5133 15.1259 8.78188 14.4393C8.94923 14.0114 9.35745 13.7068 9.83325 13.7068H10.6293C12.5519 13.7068 14.25 12.3213 14.7108 10.3166C14.9467 9.29055 14.9467 8.22001 14.7108 7.19398L14.6442 6.90409C14.1935 4.94324 12.7294 3.43685 10.8848 2.99531L10.599 2.92689ZM7.15385 1.97867C8.3623 1.6894 9.61751 1.6894 10.826 1.97867L11.1118 2.04709C13.3366 2.57965 15.0655 4.38457 15.5944 6.68567L15.661 6.97557C15.9299 8.14533 15.9299 9.36523 15.661 10.535C15.1055 12.952 13.0368 14.6818 10.6293 14.6818H9.83325C9.7862 14.6818 9.72124 14.7142 9.68989 14.7944C9.23642 15.9538 7.94762 16.5575 6.7955 16.065L6.70688 16.0271C4.52239 15.0931 2.90752 13.0963 2.3594 10.7118C2.06564 9.43373 2.0628 8.08918 2.35687 6.80983C2.90328 4.43267 4.68917 2.56866 6.98657 2.01872L7.15385 1.97867ZM6.0349 6.79267C6.0349 6.52343 6.25317 6.30517 6.5224 6.30517H11.0462C11.3154 6.30517 11.5337 6.52343 11.5337 6.79267C11.5337 7.06191 11.3154 7.28017 11.0462 7.28017H6.5224C6.25317 7.28017 6.0349 7.06191 6.0349 6.79267ZM6.0349 9.38479C6.0349 9.11555 6.25317 8.89729 6.5224 8.89729H9.40115C9.67039 8.89729 9.88865 9.11555 9.88865 9.38479C9.88865 9.65403 9.67039 9.87229 9.40115 9.87229H6.5224C6.25317 9.87229 6.0349 9.65403 6.0349 9.38479Z",fill:d})):a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.375 15.8438L9.2625 13.875H8.625C6.95 13.875 5.53125 13.2937 4.36875 12.1312C3.20625 10.9687 2.625 9.55 2.625 7.875C2.625 6.2 3.20625 4.78125 4.36875 3.61875C5.53125 2.45625 6.95 1.875 8.625 1.875C9.4625 1.875 10.2438 2.03125 10.9688 2.34375C11.6938 2.65625 12.3282 3.0845 12.8722 3.6285C13.4158 4.172 13.8438 4.80625 14.1562 5.53125C14.4688 6.25625 14.625 7.0375 14.625 7.875C14.625 9.5875 14.128 11.1405 13.134 12.534C12.1405 13.928 10.8875 15.0312 9.375 15.8438ZM10.5 12.75V13.7625C11.3875 13.0125 12.1092 12.1345 12.6652 11.1285C13.2217 10.122 13.5 9.0375 13.5 7.875C13.5 6.5125 13.0283 5.35925 12.0848 4.41525C11.1408 3.47175 9.9875 3 8.625 3C7.2625 3 6.1095 3.47175 5.166 4.41525C4.222 5.35925 3.75 6.5125 3.75 7.875C3.75 9.2375 4.222 10.3907 5.166 11.3348C6.1095 12.2782 7.2625 12.75 8.625 12.75H10.5ZM5.625 9C6.03921 9 6.375 8.66421 6.375 8.25C6.375 7.83579 6.03921 7.5 5.625 7.5C5.21079 7.5 4.875 7.83579 4.875 8.25C4.875 8.66421 5.21079 9 5.625 9ZM9.375 8.25C9.375 8.66421 9.03921 9 8.625 9C8.21079 9 7.875 8.66421 7.875 8.25C7.875 7.83579 8.21079 7.5 8.625 7.5C9.03921 7.5 9.375 7.83579 9.375 8.25ZM11.625 9C12.0392 9 12.375 8.66421 12.375 8.25C12.375 7.83579 12.0392 7.5 11.625 7.5C11.2108 7.5 10.875 7.83579 10.875 8.25C10.875 8.66421 11.2108 9 11.625 9Z",fill:d}))};Comment.defaultProps={size:24,color:l.r.colors.gray600,activeColor:l.r.colors.primaryBase};let Eye=e=>{var{size:t,color:r,useCurrentColor:l,isActive:i,activeColor:o}=e,c=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let s=Object.assign({width:t,height:t},c);return a.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},s),a.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:l?"currentColor":i?o:r}))};Eye.defaultProps={size:18,color:l.r.colors.gray600,activeColor:l.r.colors.primaryBase};let Heart=e=>{var{size:t,color:r,useCurrentColor:l,isActive:i,activeColor:o,isSolid:c,isMarryBaby:s}=e,d=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isSolid","isMarryBaby"]);let h=l?"currentColor":i?o:r,m=Object.assign({width:t,height:t},d);return s?a.createElement(a.Fragment,null,c?a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18"},m),a.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:h})):a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},m),a.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:h}))):a.createElement(a.Fragment,null,c?a.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},m),a.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:h})):a.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},m),a.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:h})))};Heart.defaultProps={size:24,color:l.r.colors.gray600,activeColor:l.r.colors.primaryBase};let Save=e=>{var{size:t,color:r,useCurrentColor:l,isActive:i,activeColor:o,isMarryBaby:c}=e,s=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor","isMarryBaby"]);let d=l?"currentColor":i?o:r,h=Object.assign({width:t,height:t},s);return c?a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none"},h),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3355 3.71496C9.79374 3.41194 8.20665 3.41194 6.66487 3.71496C5.25005 3.99302 4.2377 5.21812 4.2377 6.63391V13.7008C4.2377 14.3179 4.92323 14.7217 5.48162 14.3985L7.87185 13.0152C8.56899 12.6117 9.4314 12.6117 10.1285 13.0152L12.5188 14.3985C13.0772 14.7217 13.7627 14.3179 13.7627 13.7008V6.63391C13.7627 5.21812 12.7503 3.99302 11.3355 3.71496ZM6.47685 2.75826C8.14279 2.43084 9.8576 2.43084 11.5235 2.75826C13.3881 3.1247 14.7377 4.74448 14.7377 6.63391V13.7008C14.7377 15.0882 13.2219 15.932 12.0304 15.2424L9.64016 13.8591C9.24513 13.6304 8.75526 13.6304 8.36023 13.8591L5.97001 15.2424C4.77845 15.932 3.2627 15.0882 3.2627 13.7008V6.63391C3.2627 4.74448 4.61234 3.1247 6.47685 2.75826Z",fill:d})):a.createElement("svg",Object.assign({width:t,height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none"},h),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 11.85L5.25 13.4625V3.975C5.25 3.925 5.275 3.875 5.325 3.825C5.375 3.775 5.425 3.75 5.475 3.75H9H12.525C12.575 3.75 12.625 3.775 12.675 3.825C12.725 3.875 12.75 3.925 12.75 3.975V13.4625L9 11.85ZM4.434 14.7277C4.6405 14.8592 4.85625 14.875 5.08125 14.775L9 13.0875L12.9188 14.775C13.1438 14.875 13.3593 14.8592 13.5653 14.7277C13.7717 14.5967 13.875 14.4062 13.875 14.1562V3.975C13.875 3.6 13.7438 3.28125 13.4813 3.01875C13.2188 2.75625 12.9 2.625 12.525 2.625H5.475C5.1 2.625 4.78125 2.75625 4.51875 3.01875C4.25625 3.28125 4.125 3.6 4.125 3.975V14.1562C4.125 14.4062 4.228 14.5967 4.434 14.7277Z",fill:d}))};Save.defaultProps={size:18,color:l.r.colors.gray600,activeColor:l.r.colors.primaryBase};let c={Share:e=>{var{size:t=24,color:r=l.r.colors.gray600,useCurrentColor:i,activeColor:o=l.r.colors.primaryBase,isActive:c,isMarryBaby:s,isSolid:d=!0}=e,h=(0,n._)(e,["size","color","useCurrentColor","activeColor","isActive","isMarryBaby","isSolid"]);let m=i?"currentColor":c?o:r;return s?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},h),a.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"}),a.createElement("path",{d:"M12 13L12 3M12 3L9.5 5.5M12 3L14.5 5.5",stroke:m,strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})):d?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h),a.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})):a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h),a.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:r=l.r.colors.gray600,useCurrentColor:i,isActive:o,activeColor:c=l.r.colors.primaryBase}=e,s=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},s);return a.createElement("svg",Object.assign({viewBox:"0 0 18 18",fill:"none"},d),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.747 4.228a.75.75 0 0 1 1.06 0L15.05 8.47a.75.75 0 0 1 0 1.06l-4.242 4.243a.75.75 0 0 1-1.06 0l-.065-.065a.75.75 0 0 1 0-1.06L12.58 9.75H2.777a.75.75 0 0 1 0-1.5h9.803L9.683 5.353a.75.75 0 0 1 0-1.061z",fill:i?"currentColor":o?c:r}))},Spinner:o.S,Cart:e=>{var{size:t=24,color:r=l.r.colors.gray600,useCurrentColor:i,isActive:o,isSolid:c,activeColor:s=l.r.colors.primaryBase}=e,d=(0,n._)(e,["size","color","useCurrentColor","isActive","isSolid","activeColor"]);let h=i?"currentColor":o?s:r,m=Object.assign({width:t,height:t},d);return c?a.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),a.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:h})):a.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),a.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:h}))},CartWithAdd:e=>{var{size:t=24,color:r=l.r.colors.gray600,useCurrentColor:i,isActive:o,activeColor:c=l.r.colors.primaryBase}=e,s=(0,n._)(e,["size","color","useCurrentColor","isActive","activeColor"]);let d=Object.assign({width:t,height:t},s);return a.createElement("svg",Object.assign({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d),a.createElement("path",{d:"M8.938 4.812H7.25a.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401q0-.24.161-.401a.55.55 0 0 1 .401-.162h1.688V2q0-.24.161-.4a.55.55 0 0 1 .401-.163q.24 0 .4.162a.55.55 0 0 1 .162.401v1.688h1.688q.24 0 .4.161a.55.55 0 0 1 .162.401q0 .24-.161.4a.55.55 0 0 1-.401.162h-1.687V6.5q0 .24-.162.4a.55.55 0 0 1-.401.162.54.54 0 0 1-.4-.161.55.55 0 0 1-.162-.401zM5.865 16.668q-.546 0-.93-.383a1.27 1.27 0 0 1-.382-.93q0-.546.383-.929t.93-.383.929.383.383.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382m7.27 0q-.547 0-.93-.383a1.27 1.27 0 0 1-.383-.93q0-.546.383-.929t.93-.383.93.383.382.93q0 .546-.383.93a1.27 1.27 0 0 1-.93.382M3.053 3.312h-.865a.54.54 0 0 1-.401-.161.55.55 0 0 1-.162-.401q0-.24.162-.4a.55.55 0 0 1 .4-.162h1.158q.192 0 .36.1a.63.63 0 0 1 .25.287l2.946 6.218h5.113q.065 0 .115-.032a.3.3 0 0 0 .087-.09l2.618-4.702a.5.5 0 0 1 .198-.21.56.56 0 0 1 .28-.071q.324 0 .485.275.162.276.006.557L13.2 9.232a1.35 1.35 0 0 1-.489.505q-.303.18-.665.181H6.575l-.868 1.587q-.058.086-.004.187t.162.101h8.02q.239 0 .4.162a.55.55 0 0 1 .162.401q0 .24-.162.4a.55.55 0 0 1-.4.162h-8.02q-.75 0-1.133-.64-.383-.642-.02-1.298l1.07-1.924z",fill:i?"currentColor":o?c:r}))},Instagram:i.I,Comment,Heart,App:e=>{var{size:t=24}=e,r=(0,n._)(e,["size"]);return a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),a.createElement("g",{filter:"url(#filter0_ii_4999_54706)"},a.createElement("g",{clipPath:"url(#clip0_4999_54706)"},a.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"url(#paint0_linear_4999_54706)"}),a.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"}}),a.createElement("g",{filter:"url(#filter1_dd_4999_54706)"},a.createElement("g",{filter:"url(#filter2_iii_4999_54706)"},a.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"}),a.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"}),a.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"}),a.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"})),a.createElement("mask",{id:"mask0_4999_54706",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"4",width:"10",height:"10"},a.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"}),a.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"}),a.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"}),a.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"})),a.createElement("g",{mask:"url(#mask0_4999_54706)"},a.createElement("g",{filter:"url(#filter3_f_4999_54706)"},a.createElement("ellipse",{cx:"7.36076",cy:"7.31848",rx:"0.28125",ry:"0.421875",transform:"rotate(30 7.36076 7.31848)",fill:"white"})),a.createElement("g",{filter:"url(#filter4_f_4999_54706)"},a.createElement("rect",{x:"6.71875",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),a.createElement("g",{filter:"url(#filter5_f_4999_54706)"},a.createElement("rect",{x:"10.4688",y:"7.84375",width:"0.1875",height:"7.21875",fill:"white"})),a.createElement("g",{filter:"url(#filter6_f_4999_54706)"},a.createElement("ellipse",{cx:"10.267",cy:"7.50598",rx:"0.28125",ry:"0.421875",transform:"rotate(-30 10.267 7.50598)",fill:"white"}))))),a.createElement("rect",{x:"0.5",y:"0.5",width:"17",height:"17",rx:"2.5",stroke:"white"})),a.createElement("defs",null,a.createElement("filter",{id:"filter0_ii_4999_54706",x:"-0.191927",y:"-0.191927",width:"18.3839",height:"18.3839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.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"}),a.createElement("feOffset",{dx:"0.191927",dy:"0.191927"}),a.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),a.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"}),a.createElement("feOffset",{dx:"-0.191927",dy:"-0.191927"}),a.createElement("feGaussianBlur",{stdDeviation:"0.0959636"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"})),a.createElement("filter",{id:"filter1_dd_4999_54706",x:"2.375",y:"4.18774",width:"13.2539",height:"12.9998",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.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"}),a.createElement("feOffset",{dy:"0.375"}),a.createElement("feGaussianBlur",{stdDeviation:"0.375"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4999_54706"}),a.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"}),a.createElement("feOffset",{dy:"1.6875"}),a.createElement("feGaussianBlur",{stdDeviation:"1.125"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_4999_54706",result:"effect2_dropShadow_4999_54706"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_4999_54706",result:"shape"})),a.createElement("filter",{id:"filter2_iii_4999_54706",x:"4.25",y:"3.81274",width:"9.31641",height:"9.43726",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.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"}),a.createElement("feOffset",{dx:"-0.375",dy:"-0.9375"}),a.createElement("feGaussianBlur",{stdDeviation:"0.9375"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_4999_54706"}),a.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"}),a.createElement("feOffset",{dx:"0.1875",dy:"-0.375"}),a.createElement("feGaussianBlur",{stdDeviation:"0.1875"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_4999_54706",result:"effect2_innerShadow_4999_54706"}),a.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"}),a.createElement("feOffset",{dx:"-0.1875",dy:"-0.9375"}),a.createElement("feGaussianBlur",{stdDeviation:"0.46875"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),a.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"}),a.createElement("feBlend",{mode:"normal",in2:"effect2_innerShadow_4999_54706",result:"effect3_innerShadow_4999_54706"})),a.createElement("filter",{id:"filter3_f_4999_54706",x:"6.55924",y:"6.44706",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),a.createElement("filter",{id:"filter4_f_4999_54706",x:"6.23893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),a.createElement("filter",{id:"filter5_f_4999_54706",x:"9.98893",y:"7.36393",width:"1.14714",height:"8.17839",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),a.createElement("filter",{id:"filter6_f_4999_54706",x:"9.46549",y:"6.63456",width:"1.60417",height:"1.74284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),a.createElement("feGaussianBlur",{stdDeviation:"0.239909",result:"effect1_foregroundBlur_4999_54706"})),a.createElement("linearGradient",{id:"paint0_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#65B5FF"}),a.createElement("stop",{offset:"1",stopColor:"#2685F1"})),a.createElement("linearGradient",{id:"paint1_linear_4999_54706",x1:"9",y1:"1",x2:"9",y2:"17",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.151042",stopColor:"white"}),a.createElement("stop",{offset:"1",stopOpacity:"0.1"})),a.createElement("clipPath",{id:"clip0_4999_54706"},a.createElement("rect",{x:"1",y:"1",width:"16",height:"16",rx:"2",fill:"white"}))))},Save,Bookmark}},CnC6:function(e,t,r){r.d(t,{T:function(){return u},a:function(){return getUserIdFromCookie},b:function(){return getSubotCookieId},c:function(){return getUserInfoFromCookie},d:function(){return getWindowId},e:function(){return checkUntilFinished},f:function(){return checkMobile},g:function(){return getHelloSitesUrl},h:function(){return clickAndOpenInNewTab},i:function(){return formatUrlWithEncrypedGa},j:function(){return isFakeEmail},k:function(){return getHhgIdFromCookie},o:function(){return overrideParamsByQuery},s:function(){return ssoIntents}});var n=r("JUnd"),a=r("v7JE"),l=r("Sin0"),i=r("JIJ2"),o=r("hHL7"),c=r("GOBr"),s=r("xrdX");let d=["form_submit_meta","selected_actions","current_selected","current_keys","current_polls"],h=["bot_id","node_id","action_id","action_value","current_score","gtm_id","ga_client_id","is_new","title_url","url","window_id",...d],overrideParamsByQuery=(e,t)=>{let r=Object.keys(t);return r.map(r=>{let n=t[r];if("source"===r){e.is_new="first_login"===n;return}if(h.includes(r)){if(d.includes(r)){try{e[r]=JSON.parse(n)}catch(e){}return}if("account_id"===r||"current_score"===r||"bot_id"===r){e[r]=parseInt(n);return}e[r]=n}}),e},ssoIntents=e=>[{id:(0,o.Z)(),label:JSON.stringify({title:"",description:""}),type:l.N.SSO_INTENT,url:""},{id:(0,o.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:l.N.SSO_INTENT,url:"/images/subot/my-health.svg"},{id:(0,o.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:l.N.SSO_INTENT,url:"/images/subot/file-storage.svg"},{id:(0,o.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:l.N.SSO_INTENT,url:"/images/subot/shield.svg"}];function checkUntilFinished(e){let t=e.condition,r=e.finished,n=e.timeout||3e3,a=new Date().getTime(),l=setInterval(()=>{let e=new Date().getTime();(e-a>n||t())&&(clearInterval(l),r())},300)}let getHhgIdFromCookie=e=>{let t=n.c.parse(e||""),r=t["hhg-id"];return r||i.Z.get("hhg-id")||""},getSubotCookieId=e=>{if(e)return i.Z.set("hhg-id",e),e;let t=getHhgIdFromCookie();if(t)return t;let r=(0,o.Z)();return i.Z.set("hhg-id",r),r},getUserIdFromCookie=e=>{let t=n.c.parse(e||""),r=t[a.B],l=r||i.Z.get(a.B)||"";try{let e=l.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r).sub}catch(e){return""}},getUserInfoFromCookie=e=>{let t=n.c.parse(e||""),r=t[a.B],l=r||i.Z.get(a.B)||"";try{let e=l.split(".")[1],t=e.replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join("")),n=JSON.parse(r);return{email:n.email,id:n.sub}}catch(e){return{email:"",id:0}}},m=(0,o.Z)(),getWindowId=()=>m,getHelloSitesUrl=(e,t)=>{let r=!t&&"undefined"!=typeof window&&("localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname);return r?"http://localhost":`https://${c.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()},u=30,isFakeEmail=e=>(null==e?void 0:e.endsWith("@hhg.com"))||(null==e?void 0:e.endsWith("@facebook.com"));function formatUrlWithEncrypedGa(e="",t=""){if(!e.startsWith("https://")||!t)return"";let r=new URL(e),n=r.searchParams;return n.get("hhgclid")?(n.delete("hhgclid"),n.set("hhgclid",t),`${r.origin}${r.pathname}?${n.toString()}`):e}},Ni80:function(e,t,r){r.d(t,{H:function(){return HealthToolFormWrapper}});var n=r("fbRC"),a=r("q1tI"),l=r("/npG"),i=r("mYVa"),o=r("Eso5"),c=r("aDCK"),s=r("9n+W"),d=r("8vDj"),h=r("SPK5"),m=r("2wr/"),u=r("F/Hd"),p=r("G5av"),g=r("thIk"),f=r("yVya"),C=r("iBNF"),b=(0,l.k)(()=>({root:{justifyContent:"flex-start"},group:{display:"flex",alignItems:"stretch",gap:(0,i.h)(8)},item:{flex:"1 1 0px"},icon:{flexShrink:0}}));let E=(0,a.createContext)({}),v=(0,l.k)(()=>({root:{display:"flex",flexDirection:"column",gap:(0,i.h)(8),paddingLeft:16,paddingRight:16,"&:last-child":{paddingBottom:16}}}));var w=(0,l.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,l.k)((e,{formLayout:t})=>{let r="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({},r&&{alignSelf:"center"}))}}),x=(0,l.k)(e=>({root:{color:e.colors.gray[6],whiteSpace:"nowrap",paddingRight:(0,i.h)(16)}}));var k=(0,l.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"}})),L=(0,l.k)((e,{width:t,direction:r})=>{let n="mb"===e.other.template;return{root:{display:"flex",flexDirection:"column",gap:(0,i.h)(8)},row:{display:"flex",flexDirection:r,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"===r&&{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 I=(0,l.k)(()=>({root:{color:"red",textAlign:"right",width:"auto"}}));var O=(0,l.k)(e=>{let t="mb"===e.other.template;return{root:{label:Object.assign({},t&&{color:C.r.mbColors.midGray,fontSize:(0,i.h)(12),fontWeight:"normal"})}}});let HealthToolFormWrapper=e=>{var{children:t,formLayout:r,styles:l,classNames:i,className:c,component:s="form"}=e,d=(0,n._)(e,["children","formLayout","styles","classNames","className","component"]);let h=r||"default",{classes:m,cx:u}=w({formLayout:h},{name:"HealthToolFormWrapper",styles:l,classNames:i});return a.createElement(E.Provider,{value:{formLayout:h}},a.createElement(o.x,Object.assign({component:s,className:u(c,m.root)},d),t))};HealthToolFormWrapper.Control=e=>{var{className:t,styles:r,classNames:l}=e,i=(0,n._)(e,["className","styles","classNames"]);let{classes:c,cx:s}=O(void 0,{name:"HealthToolFormWrapper__Control",styles:r,classNames:l});return a.createElement(o.x,Object.assign({className:s(t,c.root)},i))},HealthToolFormWrapper.BorderInlineControl=({label:e,children:t,styles:r,classNames:n,direction:l="row",width:i=180,errorMess:c})=>{let{classes:s}=L({width:i,direction:l},{name:"HealthToolFormWrapper__BorderInlineControl",styles:r,classNames:n});return a.createElement(o.x,{className:s.root},a.createElement(o.x,{className:s.row},a.createElement(o.x,{className:s.labelWrapper},e&&a.createElement("label",{className:s.label,htmlFor:"gender"},e)),a.createElement(o.x,{className:s.content},(0,f.Z)(t).map((e,t)=>a.createElement(o.x,{key:t,className:s.control},e)))),c&&a.createElement(u.T,{size:"p4",className:s.error},c))},HealthToolFormWrapper.BorderBoxControl=e=>{var{label:t,rightSection:r,children:l,styles:i,className:c,classNames:s}=e,d=(0,n._)(e,["label","rightSection","children","styles","className","classNames"]);let{classes:h,cx:m}=k(void 0,{name:"HealthToolFormWrapper__BorderBoxControl",styles:i,classNames:s});return a.createElement(o.x,Object.assign({className:m(h.root,c)},d),a.createElement(o.x,{className:h.info},t&&a.createElement(u.T,{size:"n1",as:"label",className:h.label},t),a.createElement(o.x,{className:h.content},a.isValidElement(l)?a.cloneElement(l,Object.assign(Object.assign({},l.props),{size:"sm",error:null})):null)),r&&a.createElement(o.x,{className:h.rightSection},"string"==typeof r?a.createElement(u.T,{size:"p4"},r):a.isValidElement(r)?a.cloneElement(r,{size:24}):null))},HealthToolFormWrapper.Error=e=>{var{styles:t,classNames:r,className:l}=e,i=(0,n._)(e,["styles","classNames","className"]);let{classes:o,cx:c}=I(void 0,{name:"HealthToolFormWrapper__UnitText",styles:t,classNames:r});return a.createElement(u.T,Object.assign({size:"p4",className:c(l,o.root)},i))},HealthToolFormWrapper.FormRow=e=>{var{styles:t,classNames:r,className:l,children:i}=e,c=(0,n._)(e,["styles","classNames","className","children"]);let{classes:s,cx:d}=v(void 0,{name:"HealthToolFormWrapper__FormRow",styles:t,classNames:r});return a.createElement(o.x,Object.assign({className:d(l,s.root)},c),i)},HealthToolFormWrapper.Submit=e=>{var{styles:t,classNames:r,className:l}=e,i=(0,n._)(e,["styles","classNames","className"]);let{formLayout:o}=(0,a.useContext)(E),{classes:c,cx:s}=y({formLayout:o},{name:"HealthToolFormWrapper__SubmitBtn",styles:t,classNames:r});return a.createElement(p.B,Object.assign({className:s("submit-btn",l,c.root)},i,{variant:"primary",size:"md"}))},HealthToolFormWrapper.Unit=e=>{var{styles:t,classNames:r,className:l}=e,i=(0,n._)(e,["styles","classNames","className"]);let{classes:o,cx:c}=x(void 0,{name:"HealthToolFormWrapper__UnitText",styles:t,classNames:r});return a.createElement(u.T,Object.assign({size:"p4",className:c(l,o.root)},i))},HealthToolFormWrapper.Switching=e=>{var{label:t}=e,r=(0,n._)(e,["label"]);let{t:l}=(0,g.u)(),o=(0,d.rZ)(),c="mb"===o.other.template;return a.createElement(h.k,{gap:(0,i.h)(4),sx:()=>({justifyContent:"space-between",alignItems:"center"})},t&&a.createElement(u.T,{size:c?"p4":"s4",color:"gray.6"},t),a.createElement(m.r,Object.assign({labelPosition:"left",onLabel:l("switchBtn.yes"),offLabel:l("switchBtn.no")},r,{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:r,isMobile:l,layout:d="horizonal",classNames:h,styles:m}=e,p=(0,n._)(e,["data","label","isMobile","layout","classNames","styles"]);let{classes:g,theme:f}=b(void 0,{name:"ChipGroup",classNames:h,styles:m}),C="mb"===f.other.template,E=l?48:C?32:"vertical"===d?32:18;return a.createElement(o.x,null,a.createElement(c.I.Wrapper,{label:r&&a.createElement(u.T,{size:"p3",weight:"semiBold"},r)},a.createElement(s.A.Group,Object.assign({},p),a.createElement(o.x,{className:g.group},t.map((e,t)=>a.createElement(s.A,{className:g.item,key:t,value:String(e.value),styles:{iconWrapper:{display:"none"},label:{width:"100%",borderRadius:(0,i.h)(C?12:8),padding:0,border:`1px solid ${C?"#EAEAEC":f.colors.neutral[2]}`,height:"100%","&[data-checked]":{padding:0,backgroundColor:C?"#FFE9F1":f.colors.blue[0],border:`1px solid ${C?"#F5B4CB":f.colors.blue[1]}`},[f.fn.smallerThan("sm")]:{alignItems:"flex-start"}}}},a.createElement(o.x,{sx:Object.assign(Object.assign(Object.assign({width:"100%",display:"flex",gap:(0,i.h)(C?2:8),padding:"8px 16px 8px 12px",justifyContent:"center",alignItems:"center"},C&&{flexDirection:"column"}),"vertical"===d&&{flexDirection:"column",padding:"16px 8px 8px"}),{[f.fn.smallerThan("sm")]:{flexDirection:"column",padding:"16px 8px 8px"}})},a.isValidElement(e.icon)?a.cloneElement(e.icon,{size:E,isMarryBaby:C,className:g.icon}):null,a.createElement(u.T,{size:"p4",styles:{root:Object.assign(Object.assign({},C&&{textAlign:"center"}),{whiteSpace:"normal",[f.fn.smallerThan("sm")]:{fontSize:(0,i.h)(12),lineHeight:(0,i.h)(18),textAlign:"center"}})}},e.label))))))))}},iHoF:function(e,t,r){r.d(t,{H:function(){return Heading}});var n=r("fbRC"),a=r("q1tI"),l=r("8vDj"),i=r("F/Hd");let Heading=e=>{var{as:t,tag:r,color:o,fontWeight:c,dataEventCategory:s,dataEventAction:d,dataEventLabel:h}=e,m=(0,n._)(e,["as","tag","color","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);let u=(0,l.rZ)();return a.createElement(i.T,Object.assign({as:t||r,color:o||u.colors.gray[8],"data-event-category":s,"data-event-action":d,"data-event-label":h,weight:"semibold"===c?"semiBold":"bold",size:r,"data-size":r,"data-font-weight":c||void 0},m))}},"6HDN":function(e,t,r){r.d(t,{A:function(){return Avatar},B:function(){return Breadcrumbs},C:function(){return CaretDown},D:function(){return eu},E:function(){return ErrorIcon},F:function(){return Flag},I:function(){return eS},N:function(){return NumberInput},O:function(){return eR},P:function(){return eT},R:function(){return Radio},S:function(){return en},a:function(){return Carousel},b:function(){return Anchor},c:function(){return AspectRatio},d:function(){return Checkbox},e:function(){return ErrorLabel},f:function(){return CentralCarousel},g:function(){return ChipButton},h:function(){return ErrorBoundary},i:function(){return eC},j:function(){return eM},k:function(){return eB},l:function(){return Accordion},m:function(){return ep},o:function(){return Popover},s:function(){return eN},u:function(){return ec}});var n=r("fbRC"),a=r("q1tI"),l=r("e0pn"),i=r("/npG"),o=r("mYVa"),c=r("F9pO"),s=r("gHhT"),d=r("gxre"),h=r("CmzK"),m=r("RZSM"),u=r("8vDj"),p=r("Eso5"),g=r("eRSo"),f=r("bpvy"),C=r("jUTz"),b=r("QJsO"),E=r("nVa/"),v=r("9Igr"),w=r("HXNK"),y=r("5LCj"),x=r("SPK5"),k=r("iuhU"),L=r("J8Dw"),I=r("aDCK"),O=r("L0nm"),S=r("nI05"),j=r("0Tuv"),_=r("LES+"),B=r("9n+W"),M=r("1z9F"),H=r("GjY/"),R=r("ChHM"),F=r("jD9D"),Z=r("xjta"),N=r("Iblh"),T=r("gC6A"),A=r("aaf5"),W=r("Aeci"),z=r("rBCA"),P=r("Zdfy"),V=r("F/Hd"),D=r("nSs0"),q=r("iBNF"),$=r("OhZU"),G=r("xXM3"),U=r.n(G),J=r("+PHJ"),Y=r("oB6K"),K=r("tiWT"),Q=r("AeFk"),X=r("m42D"),ee=r("oTwY"),et=r("G5av"),er=(0,i.k)((e,{variantStyle:t})=>{let r=t===A.C.LEADGEN,n={fontSize:(0,o.h)(15),lineHeight:(0,o.h)(24),letterSpacing:"-0.3px"};return{input:Object.assign({padding:"12px 16px",background:"#ffffff",border:`1px solid ${e.colors.gray[2]}`,borderRadius:4},r&&Object.assign(Object.assign({borderRadius:8},n),{color:"#111111","&::placeholder":Object.assign(Object.assign({},n),{fontSize:(0,o.h)(13),lineHeight:(0,o.h)(20),letterSpacing:"-0.3px",color:e.colors.gray[4]})}))}});let en=(0,a.forwardRef)((e,t)=>{var{keepSearch:r=!1}=e,l=(0,n._)(e,["keepSearch"]);return r?a.createElement(ea,Object.assign({},l,{ref:t})):a.createElement(el,Object.assign({},l,{ref:t}))}),ea=(0,a.forwardRef)((e,t)=>{var{value:r,defaultValue:l,onChange:i,clearable:o}=e,h=(0,n._)(e,["value","defaultValue","onChange","clearable"]);let[m,u]=(0,M.C)({value:r,defaultValue:l,onChange:i});return a.createElement(c.F,Object.assign({ref:t,rightSection:a.createElement(s.E,{src:T.C.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>u(e),value:m},h,o&&(null==m?void 0:m.length)>0?{rightSection:a.createElement(d.A,{onClick:()=>{u("")},sx:{cursor:"pointer"}},a.createElement(_IconSelect,null))}:{}))}),el=(0,a.forwardRef)((e,t)=>{var{searchValue:r,onSearchChange:i,styles:o}=e,c=(0,n._)(e,["searchValue","onSearchChange","styles"]);let s=(0,A.u)(),{classes:m}=er({variantStyle:s},{name:"MantineSelect",styles:o}),[u,p]=(0,M.C)({defaultValue:"",value:r,onChange:i});return a.createElement(h.Ph,Object.assign({classNames:{input:m.input},ref:t,rightSection:a.createElement(l.Z,{size:18}),rightSectionProps:{style:{pointerEvents:"none"}},size:"md",maxDropdownHeight:300,onSearchChange:e=>p(e),searchValue:u},c,c.clearable&&(null==u?void 0:u.length)>0?{rightSection:a.createElement(d.A,{onClick:()=>{p("")},sx:{cursor:"pointer"}},a.createElement(_IconSelect,null))}:{}))}),_IconSelect=()=>a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"}));let ErrorBoundary=class ErrorBoundary extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||a.createElement(a.Fragment,null):this.props.children}};let Carousel=e=>{var{slidesToShow:t=1,children:r}=e,l=(0,n._)(e,["slidesToShow","children"]);let i=Array.isArray(r)?r.length:1;return i?a.createElement(ErrorBoundary,null,a.createElement(P.l,Object.assign({slideSize:String(Math.floor(1/t*1e4)/100)+"%",containScroll:"trimSnaps"},l),r)):null};Carousel.Slide=P.l.Slide;let ei=(0,z.Z)(Carousel)` cursor: grab; width: 100%; .mantine-Carousel-control { background: rgb(255, 255, 255); opacity: 1; border: none; border-radius: 0; box-shadow: none; &[data-inactive] { opacity: 0; cursor: default; } &:first-child { padding-right: 24px; background: linear-gradient( 90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100% ); } &:last-child { padding-left: 24px; background: linear-gradient( 270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100% ); } } .mantine-Carousel-container { align-items: center; } `;var eo=(0,i.k)((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor())}}));let Anchor=e=>{var{color:t,styles:r,className:l}=e,i=(0,n._)(e,["color","styles","className"]);let{classes:o,cx:c}=eo({color:t},{name:"Anchor",styles:r});return a.createElement(V.T,Object.assign({as:"a",className:c(o.root,l)},i))},BreadcrumbItem=e=>{var{children:t}=e,r=(0,n._)(e,["children"]);return a.createElement(Anchor,Object.assign({size:"p4",color:"gray.8"},r),t)},AspectRatio=e=>a.createElement(m.o,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),Breadcrumbs=e=>{var t,{children:r,showHomeIcon:l=!0,homeIconHref:i="/"}=e,o=(0,n._)(e,["children","showHomeIcon","homeIconHref"]);let c=(0,u.rZ)(),s=(null===(t=null==c?void 0:c.other)||void 0===t?void 0:t.template)==="mb",[d,h]=(0,a.useState)(null),{isMobile:m}=(0,W.u)(),[,f]=(0,a.useState)(!0),C=(0,a.useCallback)(()=>{f(!1)},[]),b=(0,a.useCallback)(()=>{setTimeout(()=>{f(!0)},1e3)},[]);return(0,a.useEffect)(()=>(d&&(d.on("scroll",C),d.on("pointerUp",b)),()=>{d&&(d.off("scroll",C),d.on("pointerUp",b))}),[d,C,b]),a.createElement(ei,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:m,slideSize:"0",getEmblaApi:h,controlsOffset:-52,previousControlIcon:a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},o),l&&a.createElement(Carousel.Slide,{style:{borderRight:`1px solid ${D.t.neutral[1]}`}},a.createElement(BreadcrumbItem,{href:i,target:"_blank",className:"pointer-event-child-none"},a.createElement(p.x,{sx:Object.assign({},!s&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!s&&D.t.neutral[0],p:s?0:6},a.createElement(AspectRatio,{ratio:1,w:18},s?a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),a.createElement(Carousel.Slide,null),a.createElement(Carousel.Slide,null,a.createElement(g.O,{styles:{separator:{marginInline:4}},separator:a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},r)))};Breadcrumbs.Item=BreadcrumbItem;var ec=(0,i.k)((e,{variantStyle:t})=>{let r=t===A.C.LEADGEN,n={fontSize:(0,o.h)(15),lineHeight:(0,o.h)(24),letterSpacing:"-0.3px"};return{input:Object.assign({padding:"12px 16px",background:"#ffffff",border:`1px solid ${e.colors.gray[2]}`,borderRadius:4},r&&Object.assign(Object.assign({borderRadius:8},n),{color:"#111111","&::placeholder":Object.assign(Object.assign({},n),{fontSize:(0,o.h)(15),lineHeight:(0,o.h)(24),letterSpacing:"-0.3px",color:e.colors.gray[4]})}))}});let es=(0,z.Z)(f.U)` .mantine-Accordion-label { padding: 0; } .mantine-Accordion-control { &:hover { background-color: transparent; } } .mantine-Accordion-item { .mantine-Accordion-chevron { > div { background-repeat: no-repeat; width: 16px; height: 16px; background-position: center; background-image: url(${e=>e.closeChevron||T.C.getAssetPath("plus-icon.svg")}); } } &[data-active='true'] { .mantine-Accordion-chevron { > div { background-image: url(${e=>e.openChevron||T.C.getAssetPath("minus-icon.svg")}); } } } } .mantine-Accordion-panel { border-radius: ${q.r.borderRadius}; } .mantine-Accordion-content { white-space: pre-wrap; } `,Accordion=e=>{var{children:t}=e,r=(0,n._)(e,["children"]);return a.createElement(es,Object.assign({chevron:a.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),t)};Accordion.Control=f.U.Control,Accordion.Item=f.U.Item,Accordion.Panel=f.U.Panel;let ed=T.C.getAssetPath("avatar.jpg"),Avatar=e=>{var{withIndicator:t=!1,indicatorConfig:r=null,size:l=56,children:i,styles:o,placeholderText:c}=e,s=(0,n._)(e,["withIndicator","indicatorConfig","size","children","styles","placeholderText"]);let generateAvatar=()=>a.createElement(C.q,Object.assign({size:l,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps),styles:{placeholder:{backgroundColor:s.color,color:"white"}}}),i||c||a.createElement(W.I,{src:ed,width:l,alt:s.alt||"avatar"}));return t?a.createElement(b.z,Object.assign({inline:!0,position:"bottom-end",offset:9},r,{styles:Object.assign({indicator:{backgroundColor:a.isValidElement(r.label)&&"transparent",zIndex:1}},o)}),generateAvatar()):generateAvatar()},eh={lg:{height:48,fontSize:(0,o.h)(16),lineHeight:"24px"},md:{height:40,fontSize:(0,o.h)(14),lineHeight:"22px"},sm:{height:32,fontSize:(0,o.h)(14),lineHeight:"22px"},xs:{height:32,fontSize:(0,o.h)(13),lineHeight:(0,o.h)(20),letterSpacing:"-0.3px"}};var em=(0,i.k)((e,{variantStyle:t,size:r})=>{let n=t===A.C.LEADGEN,a=eh[r]||{},l=n?"sm"===r?{height:36,fontSize:(0,o.h)(13),letterSpacing:"-0.3px"}:{fontSize:(0,o.h)(15),letterSpacing:"-0.3px"}:{};return{input:{border:`1px solid ${e.colors.gray[2]}`,transition:`all ${$.A} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign(Object.assign({minHeight:"unset"},a),l),"&:hover":{border:`1px solid ${e.fn.primaryColor()}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`},'&[data-invalid="true"]':{border:`1px solid ${e.colors.red600}`,color:"#000"}},rightSection:Object.assign({color:e.colors.gray[4]},(()=>{switch(r){case"lg":return Object.assign({fontSize:(0,o.h)(16)},n&&{fontSize:(0,o.h)(15)});case"md":return Object.assign({fontSize:(0,o.h)(14)},n&&{fontSize:(0,o.h)(15),letterSpacing:"-0.3px"});case"sm":return Object.assign({height:32,fontSize:(0,o.h)(14),lineHeight:"22px"},n&&{height:36,fontSize:(0,o.h)(13),letterSpacing:"-0.3px"});case"xs":return{height:32,lineHeight:(0,o.h)(20),fontSize:(0,o.h)(13),letterSpacing:"-0.3px"}}})())}});let eu=300,ep=(0,v.Z)({key:"mantine",prepend:!1}),NumberInput=e=>{var{value:t,onChange:r,size:l="md",styles:i,classNames:o}=e,c=(0,n._)(e,["value","onChange","size","styles","classNames"]);let[s,d]=(0,a.useState)(t),[h]=(0,H.c)(s,eu),m=(0,A.u)(),{classes:u}=em({variantStyle:m,size:l},{name:"MantineInput",styles:i,classNames:o});return(0,a.useEffect)(()=>{null==r||r(h)},[h]),(0,a.useEffect)(()=>{d(t)},[t]),a.createElement(w.Y,Object.assign({stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:d,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:s},c,{size:l,classNames:{input:u.input,rightSection:u.rightSection}}))},eg=T.C.getAssetPath("EyeVisible.svg"),ef=T.C.getAssetPath("EyeHidden.svg"),RenderVisibleToggleIcon=({reveal:e,size:t})=>a.createElement("img",{src:e?eg:ef,style:{width:t,height:t},loading:"lazy"}),eC=(0,a.forwardRef)((e,t)=>{let{size:r="md",visibilityToggleIcon:l}=e,i=(0,n._)(e,["size","visibilityToggleIcon"]);return a.createElement(y.W,Object.assign({ref:t,size:r,visibilityToggleIcon:l||RenderVisibleToggleIcon},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))}),ErrorIcon=e=>{var{size:t}=e,r=(0,n._)(e,["size"]);let l=Object.assign({width:t,height:t},r);return a.createElement("svg",Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M5.996 6.513q.163 0 .282-.12a.38.38 0 0 0 .118-.28V3.937q0-.15-.118-.268a.4.4 0 0 0-.282-.119.4.4 0 0 0-.281.12.38.38 0 0 0-.119.28v2.175q0 .15.119.269.12.119.281.119m0 1.862a.43.43 0 0 0 .3-.112.4.4 0 0 0 .125-.313.4.4 0 0 0-.125-.3.4.4 0 0 0-.3-.125.4.4 0 0 0-.3.125.4.4 0 0 0-.125.3.4.4 0 0 0 .125.313.43.43 0 0 0 .3.112m0 2.375a4.6 4.6 0 0 1-1.856-.375 4.8 4.8 0 0 1-1.506-1.012A4.8 4.8 0 0 1 1.62 7.857 4.6 4.6 0 0 1 1.246 6q0-.987.375-1.856t1.013-1.506A4.8 4.8 0 0 1 4.14 1.625a4.6 4.6 0 0 1 1.856-.375q.988 0 1.857.375Q8.72 2 9.359 2.638q.637.637 1.012 1.506T10.747 6t-.375 1.857A4.8 4.8 0 0 1 9.36 9.363a4.8 4.8 0 0 1-1.506 1.012q-.87.375-1.857.375",fill:"#F44D2C"}))};ErrorIcon.defaultProps={size:18,color:q.r.colors.gray600,activeColor:q.r.colors.primaryBase};let ErrorLabel=e=>{var{label:t,withIcon:r,textProps:l}=e,i=(0,n._)(e,["label","withIcon","textProps"]);return a.createElement(x.k,Object.assign({align:"center",gap:4},i),r&&a.createElement(ErrorIcon,{size:12}),a.createElement(V.T,Object.assign({size:"c1",variant:"error",dangerouslySetInnerHTML:{__html:t}},l)))},eb=(0,a.createContext)({}),eE=Q.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: ${q.r.colors.gray400}; } `,ev=Q.iv` height: auto !important; cursor: text; opacity: 1; transition: 0.1s ease-in-out all; `,ew=Q.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; `,ey=Q.iv` top: var(--space-y-shrink, 6px); transform: none; transition: 0.125s ease-out all; `,ex=Q.iv` min-height: var(--container-height, 56px); display: flex; align-items: flex-end; border: 1px solid ${q.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: ${q.r.colors.gray200}; } `,ek=Q.iv` height: auto; min-height: var(--container-height, 56px); padding-block: var(--space-y-shrink, 6px); cursor: text; pointer-events: auto; `,eL=Q.iv` color: ${q.r.colors.red800}; font-size: 12px; line-height: 1.5; `,eI=z.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: ${q.r.colors.red400}; } } .mantine-Input-wrapper { &:has([data-invalid]) { border-color: ${q.r.colors.red400}; } } } .mantine-InputWrapper-label { ${ew} } .mantine-Input-wrapper { ${ex} + .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 { ${eE} } &.textField_shrink { .mantine-InputWrapper-label { ${ey} } .mantine-Input-wrapper { ${ek} &.mantine-Select-wrapper { .mantine-Select-rightSection { pointer-events: auto !important; } } } .mantine-Input-input { ${ev} } &: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: ${q.r.colors.primary600}; box-shadow: 0 0 4px ${q.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: ${q.r.colors.gray800} !important; :focus { color: ${q.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); } } `;z.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: ${q.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: ${q.r.colors.gray600}; // width: 18px; // height: 18px; // } // input[type='checkbox'] { // border-radius: 4px; // } // &[data-checked='true'] { // input[type='radio'], // input[type='checkbox'] { // border-color: ${q.r.colors.primary600}; // } // input[type='radio'] { // background-color: white; // } // } .mantine-Checkbox-input { &:checked { border-color: ${q.r.colors.primary600}; } } } .leadgen-choiceContainer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; } .mantine-InputWrapper-error { ${eL} } `,z.Z.div` position: absolute; top: calc(var(--container-height) / 2); right: var(--space-x, 16px); `;let FloatingLabelControl=e=>{let{shrink:t,onChangeShrink:r,children:l,className:i}=e,o=(0,n._)(e,["shrink","onChangeShrink","children","className"]),[c,s]=(0,a.useState)(t),[d,h]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{s(t)},[t]),a.createElement(eb.Provider,Object.assign({value:{shrinkProps:t,shrink:c,setShrink:s,onChangeShrink:r,hasIcon:d,setHasIcon:h}},o),a.createElement(eI,Object.assign({shrink:c,className:(0,k.default)(i,"textField",{textField_shrink:!!c})},o),l))};FloatingLabelControl.Control=e=>{let{shrink:t,shrinkProps:r,onChangeShrink:n,setShrink:l,hasIcon:i}=(0,a.useContext)(eb),{children:o}=e,c=(0,R.O)(()=>{r||(l(!1),null==n||n(!1))}),focusInput=e=>{let t=e.querySelectorAll('input:not([disabled]):not([type="submit"]),select:not([disabled]),textarea:not([disabled])'),r=t.item(t.length-1);r&&r.focus({preventScroll:!0})},s=(0,a.useCallback)(e=>{if(t){e.preventDefault(),focusInput(e.currentTarget);return}l(!0),null==n||n(!0),focusInput(e.currentTarget)},[t]);return(0,a.useEffect)(()=>{l(r)},[r]),a.createElement(p.x,{ref:c,onClick:s,className:"FloatingLabelControl_wrapper"},"function"==typeof o?o({shrink:!!t,hasIcon:i}):o)},FloatingLabelControl.Icon=({Icon:e})=>{let{shrink:t,setHasIcon:r}=(0,a.useContext)(eb),n=(0,u.rZ)();return(0,a.useEffect)(()=>{e&&r(!0)},[]),e?a.createElement(e,{className:`icon ${t?"shrink":""}`,shrink:t,size:24,color:n.colors.gray[9]}):null};let eO=(0,a.forwardRef)((e,t)=>{var{label:r,value:l,onChange:i,onChangeRaw:o,maxLength:c,withFloatingLabel:s,styles:d,error:h,size:m="md",debouncedTime:u=eu}=e,p=(0,n._)(e,["label","value","onChange","onChangeRaw","maxLength","withFloatingLabel","styles","error","size","debouncedTime"]);let g=(0,A.u)(),{classes:f}=em({variantStyle:g,size:m},{name:"MantineInput",styles:d}),[C,b]=(0,a.useState)(l||""),[E]=(0,H.c)(C,u);(0,a.useEffect)(()=>{null==i||i(E)},[E]),(0,a.useEffect)(()=>{b(l)},[l]);let v=Object.assign(Object.assign({classNames:{input:f.input,rightSection:f.rightSection},ref:t,size:m,onChange:e=>{"number"==typeof c&&e.currentTarget.value.length>c||(null==o||o(e),b(e.currentTarget.value))},value:C,label:r,error:h},p),{maxLength:c,className:`input-control ${(null==p?void 0:p.className)||""}`});return s?a.createElement(FloatingLabelControl,{shrink:!!C},a.createElement(FloatingLabelControl.Control,null,({shrink:e})=>a.createElement(L.o,Object.assign({},v,{error:h&&a.createElement(ErrorLabel,{label:String(h)}),inputWrapperOrder:["label","input","description","error"],label:a.createElement(V.T,{size:e?"p3":"p2",variant:"secondary",weight:"halfBold"},r),styles:e=>({input:Object.assign(Object.assign({},(0,A.G)(e)[A.C.LEADGEN].p2),{color:e.colors.gray[9],fontWeight:A.F.halfBold})})})))):a.createElement(L.o,Object.assign({},v))}),eS=eO;eS.File=e=>a.createElement(E.S,Object.assign({size:"md"},e)),eS.Password=eC,eS.Number=NumberInput,eS.Wrapper=I.I.Wrapper;let ej=P.l.Slide,e_=(0,a.createContext)({}),findIndexFromLeftSide=(e,t)=>e>=t?e-t:e,findIndexFromRight=(e,t)=>e<0?t+e:e,CentralCarousel=e=>{var{children:t,blurFromCenter:r,blurFromIndex:l,blurLength:o=3,maxBlurOpacity:c=.5,onSlideChange:s,selectSlideWhenClick:d}=e,h=(0,n._)(e,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);let{width:m}=(0,F.n)(),[u]=(0,Z.y)(),p=(0,a.useRef)(null),[g,f]=(0,a.useState)(0),handleStyle=()=>{var e,t,n,a,i;let s=(null===(e=null==p?void 0:p.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==p?void 0:p.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(n=null==p?void 0:p.current)||void 0===n?void 0:n.slidesInView().length))return s.map(e=>{e.classList.remove("center-slide"),e.style.opacity="1"}),!1;let d=null===(a=null==p?void 0:p.current)||void 0===a?void 0:a.selectedScrollSnap();f(d);let h=s.length,m=null===(i=null==p?void 0:p.current)||void 0===i?void 0:i.slidesInView(),u=m.length,g=r?l+o-1:Math.floor(u/2),C=d+g,b=C===h?0:C>h?C-h:C,E=d-g,v=E<0?h+E:E>0?d-g:0,w=[...new Set(Array(2*g+1).fill("").map((e,t)=>findIndexFromLeftSide(v+t,h)))];s.map((e,t)=>{if(t===d?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==w.indexOf(t)){let r=c/o;for(let n=0;n{(null==p?void 0:p.current)&&handleStyle()},[m]);let C=(0,i.k)(()=>{var e,t;return{control:Object.assign({},(null===(e=null==p?void 0:p.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==p?void 0:p.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}}),{classes:b}=C();return a.createElement(e_.Provider,{value:{slider:null==p?void 0:p.current,centerSlide:g,selectSlideWhenClick:d}},a.createElement(P.l,Object.assign({classNames:{control:b.control},ref:u,slideSize:"auto",containScroll:"trimSnaps"},{getEmblaApi:e=>{p.current=e},onSlideChange:e=>{handleStyle(),null==s||s(e)}},h,{loop:!0}),"function"==typeof t?t(g):t))};CentralCarousel.Slide=e=>{var{children:t,onClick:r,innerSlideProps:l}=e,i=(0,n._)(e,["children","onClick","innerSlideProps"]);let{slider:o,selectSlideWhenClick:c}=(0,a.useContext)(e_),s=(0,a.useRef)(),d=(0,a.useRef)(""),[h,m]=(0,a.useState)(0);(0,a.useEffect)(()=>{d.current=String(Math.round(1e4*Math.random()))},[]),(0,a.useEffect)(()=>{let e=(null==o?void 0:o.slideNodes())||[];m(e.findIndex(e=>e.dataset.key===d.current))},[o]);let u={ref:s,"data-key":d.current,"data-index":h};return a.createElement(ej,Object.assign({},u,i),a.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{c&&(null==o||o.scrollTo(h)),null==r||r(h)}},l),t))};let CheckboxWithState=e=>{var{size:t=24,isSolid:r,isActive:l}=e,i=(0,n._)(e,["size","isSolid","isActive"]);return r?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z",fill:"#2D87F3"}),a.createElement("path",{d:"M6.38904 10.2778L8.88904 13.0556L13.6113 6.94446",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58173 14.4183 2 10 2C5.58173 2 2 5.58173 2 10C2 14.4183 5.58173 18 10 18Z",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):l?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{opacity:".2",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",fill:"#2D87F3"}),a.createElement("path",{d:"m6.389 10.278 2.5 2.778 4.722-6.111",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",fill:"#ADB3BC",fillOpacity:".3"}),a.createElement("path",{d:"m6.389 10.278 2.5 2.778 4.722-6.111",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Checkbox=e=>{var{color:t="blue",label:r,size:l,styles:i}=e,o=(0,n._)(e,["color","label","size","styles"]);let c=(0,u.rZ)(),s=(0,A.u)(),d=(0,a.useMemo)(()=>{var e,r;return((null==t?void 0:t.includes("."))?null===(e=c.colors[t.split(".")[0]])||void 0===e?void 0:e[t.split(".")[1]]:null===(r=c.colors[t])||void 0===r?void 0:r[c.primaryShade||6])||c.colors.blue[6]},[t]),h=s===A.C.LEADGEN,m=h?20:l;return a.createElement(O.X,Object.assign({color:t,size:m,label:h?a.createElement(V.T,{size:"p2",color:c.colors.gray[8]},r):r,icon:h?e=>{var t=(0,n._)(e,[]);return a.createElement(a.Fragment,null,a.createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-default":"true",size:m},t)),a.createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-hover":"true",isActive:!0,size:m},t)),a.createElement(CheckboxWithState,Object.assign({"data-icon":"true","data-checked":"true",isSolid:!0,size:m},t)))}:void 0,styles:Object.assign({input:Object.assign({"&:hover":{border:`1px solid ${d}`}},h&&{width:m,height:m,backgroundColor:"transparent",borderRadius:"50%","&,&:hover":{border:0},"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-hover]":{opacity:1}},"&:checked":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1}}},"&, &:hover, &:checked":{backgroundColor:"transparent",borderColor:"transparent","& ~ svg":{width:"100%",transform:"none",transition:"opacity 0.2s ease"}},[c.fn.smallerThan("sm")]:{"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1}}}}),label:Object.assign({},h&&{paddingLeft:8}),body:Object.assign({},h&&{alignItems:"flex-start"}),inner:Object.assign({},h&&{paddingTop:2,width:m,height:24})},i)},o))};Checkbox.Group=O.X.Group;let eB=(0,z.Z)(S.i)` ${e=>{let t=e.color||q.r.colors.primaryBase;return` .mantine-Slider-bar { background-color: ${t}; } .mantine-Slider-thumb { border-color: ${t}; color: ${t}; } `}} [data-theme='marryBaby'] & { ${e=>{let t=e.color||q.r.mbColors.pink;return` .mantine-Slider-bar { background-color: ${t}; } .mantine-Slider-thumb { border-color: ${t}; color: ${t}; } `}} } .mantine-Slider-label { background-color: transparent; color: #000; font-size: 14px; font-weight: bold; } `,eM=z.Z.div` display: flex; align-items: center; .hhg-mantine-slider { flex-grow: 1; } button { path:not([stroke]) { stroke: ${q.r.colors.primaryBase}; } } [data-theme='marryBaby'] & { button { path:not([stroke]) { stroke: ${q.r.mbColors.pink}; } } } `,RadioWithState=e=>{var{size:t=24,isSolid:r,isActive:l}=e,i=(0,n._)(e,["size","isSolid","isActive"]);return r?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("circle",{cx:"10",cy:"10",r:"4",fill:"#2D87F3"})):l?a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{d:"M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18",stroke:"#BCDEFF",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):a.createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("path",{d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16",stroke:"#ADB3BC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Radio=e=>{var{color:t,label:r,size:l,styles:i}=e,o=(0,n._)(e,["color","label","size","styles"]);let c=(0,u.rZ)(),s=(0,A.u)(),d=(0,a.useMemo)(()=>{var e,r;return((null==t?void 0:t.includes("."))?null===(e=c.colors[t.split(".")[0]])||void 0===e?void 0:e[t.split(".")[1]]:null===(r=c.colors[t])||void 0===r?void 0:r[c.primaryShade||6])||c.fn.primaryColor()},[t]),h=s===A.C.LEADGEN,m=h?20:l;return a.createElement(j.Y,Object.assign({label:h?a.createElement(V.T,{size:"p2",color:c.colors.gray[8]},r):r,size:m,icon:h?e=>{var t=(0,n._)(e,[]);return a.createElement(a.Fragment,null,a.createElement(RadioWithState,Object.assign({"data-icon":"true","data-default":"true",size:m},t)),a.createElement(RadioWithState,Object.assign({"data-icon":"true","data-hover":"true",isActive:!0,size:m},t)),a.createElement(RadioWithState,Object.assign({"data-icon":"true","data-checked":"true",isSolid:!0,size:m},t)))}:void 0,styles:Object.assign({radio:Object.assign({"&:hover, &:checked":{border:`1px solid ${d}`},"&:checked + .___ref-icon":{top:"50%",left:"50%",transform:"scale(1) translate(-50%, -50%)"}},h&&{width:m,height:m,backgroundColor:"transparent",marginTop:2,borderRadius:"50%","&,&:hover":{border:0},"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-hover]":{opacity:1}},"&:checked":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1},"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-checked]":{opacity:1}}},"&, &:hover, &:checked":{backgroundColor:"transparent",borderColor:"transparent","& ~ svg":{position:"absolute",width:"100%",transform:"none",transition:"opacity 0.2s ease",top:2,left:0}},[c.fn.smallerThan("sm")]:{"&:hover":{"& ~ [data-icon]":{opacity:0},"& ~ [data-default]":{opacity:1}}}}),icon:{color:d},label:Object.assign({},h&&{paddingLeft:8})},i)},o))};function transferValueToOtp(e,t=6){let r=Array(t).fill("");if(e){let t=e.toString().split("");r.map((e,n)=>{t[n]&&(r[n]=t[n]||"")})}return r}function transferOtpToValue(e){return e.join("")}Radio.Group=j.Y.Group;let eH=(0,a.forwardRef)((e,t)=>{let{maxLength:r=1,placeholder:l,className:i}=e,o=(0,n._)(e,["maxLength","placeholder","className"]);return a.createElement("input",Object.assign({maxLength:r,className:U()("Ia6IojY","otpInput",i),placeholder:l,type:"number"},o,{ref:t}))}),eR=(0,a.forwardRef)((e,t)=>{let{valueLength:r=6,type:n="number",value:l,defaultValue:i,placeholder:o,onChange:c,onBlur:s,otpShareProps:d}=e,h=(0,a.useRef)(Array(r).fill(null)),[m,u]=(0,a.useState)(i||l),[p,g]=(0,a.useState)(-1),[f,C]=(0,a.useState)(()=>transferValueToOtp(m,r)),b=(0,a.useCallback)(()=>{if(-1===p)return;let e=h.current[p];e&&(e.value="",f[p]="",C(f),u(()=>transferOtpToValue(f)),null==c||c(transferOtpToValue(f)))},[p,c,f]),E=(0,a.useCallback)(()=>{if(0===p)return;let e=h.current[p];e&&e.blur();let t=h.current[p-1];t&&t.focus()},[p]),v=(0,a.useCallback)(()=>{if(p===r-1)return;let e=h.current[p];e&&e.blur();let t=h.current[p+1];t&&t.focus()},[p,r]),w=(0,a.useCallback)(e=>{let t=e.target,r=t.value,n=r.toString().slice(0,1),a=h.current.findIndex(e=>e===t);-1!==a&&(f[a]=n,C(f),u(()=>transferOtpToValue(f)),null==c||c(transferOtpToValue(f))),v()},[v,c,f]),y=(0,a.useCallback)(e=>{let t=e.target,r=h.current.findIndex(e=>e===t);"number"===n?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==r&&g(r)},[]),k=(0,a.useCallback)(e=>{let t=e.clipboardData.getData("text/plain"),n=transferValueToOtp(t,r),a=transferOtpToValue(n);C(n),u(a),null==c||c(a)},[c,n,r]),L=(0,a.useCallback)(e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),b(),E()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),b()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),E()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),v()):(32===e.keyCode||" "===e.key||"Spacebar"===e.key||"Space"===e.key)&&e.preventDefault()},[b,v,E]);return(0,a.useImperativeHandle)(t,()=>h.current[0],[]),(0,a.useEffect)(()=>{C(()=>transferValueToOtp(l,r)),u(l)},[r,l]),a.createElement(x.k,{justify:"center",columnGap:8,className:U()("_2iQs0sk","otpContainer")},f.map((e,t)=>a.createElement(eH,Object.assign({},d,{ref:e=>{h.current[t]=e},key:""+t,value:e,type:n,onChange:w,onFocus:y,onKeyDown:L,onPaste:k,onBlur:s,placeholder:o}))))}),CambodiaRoundIcon=e=>a.createElement(W.I,Object.assign({alt:"round cambodia flag",src:T.C.getAssetPath("flags/cambodiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),CambodiaSquareIcon=e=>a.createElement(W.I,Object.assign({alt:"square cambodia flag",src:T.C.getAssetPath("flags/cambodiaSquare.png")},e)),EnglishRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),a.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),a.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),a.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),a.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),a.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),a.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),a.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),a.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),a.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),a.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),a.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),a.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),a.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),a.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),a.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),a.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),a.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),a.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),a.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),a.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),a.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),a.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"}))),EnglishSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 26 26",fill:"none"},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},a.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),a.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),a.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),a.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),a.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),a.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),a.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),a.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),a.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),a.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"}))),IndiaRoundIcon=e=>a.createElement(W.I,Object.assign({alt:"round india flag",src:T.C.getAssetPath("flags/indiaRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),IndiaSquareIcon=e=>a.createElement(W.I,Object.assign({alt:"square indian flag",src:T.C.getAssetPath("flags/indiaSquare.png")},e)),IndonesiaRoundIcon=e=>{var t=(0,n._)(e,[]);let r=(0,Y.a)();return a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none"},t),a.createElement("mask",{id:r,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("g",{mask:`url(#${r})`},a.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),a.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},IndonesiaSquareIcon=e=>{var t=(0,n._)(e,[]);let r=(0,Y.a)();return a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},t),a.createElement("g",{clipPath:`url(#${r})`},a.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),a.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:r},a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},MalaysiaRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),a.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"}))),MalaysiaSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),a.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),a.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"})),MyanmarRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),a.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),a.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"}))),MyanmarSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),a.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),a.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"})),PhilippinesRoundIcon=e=>a.createElement(W.I,Object.assign({alt:"round philippines flag",src:T.C.getAssetPath("flags/philippineRound.png"),style:Object.assign({borderRadius:"50%"},e.style)},e)),PhilippinesSquareIcon=e=>a.createElement(W.I,Object.assign({alt:"square philippines flag",src:T.C.getAssetPath("flags/philippineSquare.png")},e)),SingaporeRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),a.createElement("rect",{width:"20",height:"10",y:"0",fill:"#EF3340"}),a.createElement("rect",{width:"20",height:"10",y:"10",fill:"#FFFFFF"}),a.createElement("circle",{cx:"6",cy:"5",r:"3",fill:"white"}),a.createElement("circle",{cx:"6.8",cy:"5",r:"2.4",fill:"#EF3340"}),a.createElement("g",{fill:"white",transform:"translate(6 5)"},a.createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(1.8 -2)"}),a.createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(3 -1)"}),a.createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(3 0.5)"}),a.createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(1.8 1.5)"}),a.createElement("polygon",{points:"0,-0.9 0.26,-0.26 0.9,0 0.26,0.26 0,0.9 -0.26,0.26 -0.9,0 -0.26,-0.26",transform:"translate(0.6 0.5)"})))),SingaporeSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}),a.createElement("rect",{width:"24",height:"8",rx:"2",fill:"#EF3340"}),a.createElement("circle",{cx:"6",cy:"4",r:"3",fill:"white"}),a.createElement("circle",{cx:"6.8",cy:"4",r:"2.4",fill:"#EF3340"}),a.createElement("g",{fill:"white",transform:"translate(6 4)"},a.createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(1.8 -2)"}),a.createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(3 -1)"}),a.createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(3 0.5)"}),a.createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(1.8 1.5)"}),a.createElement("polygon",{points:"0,-1 0.3,-0.3 1,0 0.3,0.3 0,1 -0.3,0.3 -1,0 -0.3,-0.3",transform:"translate(0.6 0.5)"}))),TaiwanRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),a.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),a.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})))),TaiwanSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),a.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"})),ThailandRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),a.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"}))),ThailandSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 17",fill:"none"},e),a.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),a.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"})),VietnamRoundIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 20 20",fill:"none",style:Object.assign({borderRadius:"50%"},e.style)},e),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),a.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"}))),VietnamSquareIcon=e=>a.createElement("svg",Object.assign({viewBox:"0 0 24 16",fill:"none"},e),a.createElement("g",null,a.createElement("clipPath",null,a.createElement("rect",{width:"24",height:"16",fill:"white"})),a.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),a.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})));var eF={flag:"pfaLGRK"};let Flag=({country:e,language:t,rounded:r,height:n,width:l,isTesting:i,className:o})=>{let c,s;switch(t){case"en":c=a.createElement(EnglishSquareIcon,null),s=a.createElement(EnglishRoundIcon,null);break;case"vi":c=a.createElement(VietnamSquareIcon,null),s=a.createElement(VietnamRoundIcon,null);break;case"id":c=a.createElement(IndonesiaSquareIcon,{isTesting:i}),s=a.createElement(IndonesiaRoundIcon,{isTesting:i});break;case"th":c=a.createElement(ThailandSquareIcon,null),s=a.createElement(ThailandRoundIcon,null);break;case"km":c=a.createElement(CambodiaSquareIcon,null),s=a.createElement(CambodiaRoundIcon,null);break;case"ms":c=a.createElement(MalaysiaSquareIcon,null),s=a.createElement(MalaysiaRoundIcon,null);break;case"my":c=a.createElement(MyanmarSquareIcon,null),s=a.createElement(MyanmarRoundIcon,null);break;case"tl":c=a.createElement(PhilippinesSquareIcon,null),s=a.createElement(PhilippinesRoundIcon,null);break;case"hi":c=a.createElement(IndiaSquareIcon,null),s=a.createElement(IndiaRoundIcon,null);break;case"zh":c=a.createElement(TaiwanSquareIcon,null),s=a.createElement(TaiwanRoundIcon,null)}if(!c&&!s)switch(e){case"VN":c=a.createElement(VietnamSquareIcon,null),s=a.createElement(VietnamRoundIcon,null);break;case"ID":c=a.createElement(IndonesiaSquareIcon,{isTesting:i}),s=a.createElement(IndonesiaRoundIcon,{isTesting:i});break;case"TH":c=a.createElement(ThailandSquareIcon,null),s=a.createElement(ThailandRoundIcon,null);break;case"KH":c=a.createElement(CambodiaSquareIcon,null),s=a.createElement(CambodiaRoundIcon,null);break;case"MY":c=a.createElement(MalaysiaSquareIcon,null),s=a.createElement(MalaysiaRoundIcon,null);break;case"MM":c=a.createElement(MyanmarSquareIcon,null),s=a.createElement(MyanmarRoundIcon,null);break;case"PH":c=a.createElement(PhilippinesSquareIcon,null),s=a.createElement(PhilippinesRoundIcon,null);break;case"IN":c=a.createElement(IndiaSquareIcon,null),s=a.createElement(IndiaRoundIcon,null);break;case"TW":c=a.createElement(TaiwanSquareIcon,null),s=a.createElement(TaiwanRoundIcon,null);break;case"SG":c=a.createElement(SingaporeSquareIcon,null),s=a.createElement(SingaporeRoundIcon,null)}return a.createElement("div",{className:`${eF.flag} ${o||""}`,style:{"--width":l||20,"--height":n||20}},r?s:c)},CaretDown=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),a.createElement("path",{d:"M4.81428 7.53044L7.64065 10.3568C7.83849 10.5546 8.15877 10.5546 8.3561 10.3568L11.1825 7.53044C11.5012 7.21168 11.2756 6.66675 10.8247 6.66675H5.172C4.72118 6.66675 4.49552 7.21168 4.81428 7.53044Z"})),eZ=Object.values(K.x9).reduce((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e),[]);var eN={phoneInput:"i-9Ibox",error:"YDWHh9b",selectedCountry:"_87SIJ95"};let eT=(0,a.forwardRef)((e,t)=>{let{isError:l,defaultCountry:i,selectedCountry:o,countries:c=eZ,countryCallingCodeEditable:s=!1,defaultValue:d,value:h,onChange:m,flagComponent:u,arrowComponent:g,withFloatingLabel:f,className:C,inputId:b,label:E,error:v}=e,w=(0,n._)(e,["isError","defaultCountry","selectedCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","flagComponent","arrowComponent","withFloatingLabel","className","inputId","label","error"]),[y,x]=(0,a.useState)(d||h),[k,L]=(0,a.useState)(null),O=(0,a.useCallback)(e=>{if(!k)return;if(u)return u(e);let{country:t,countryName:r,flagUrl:l}=e,i=(0,n._)(e,["country","countryName","flagUrl"]),o=t?`+${k.getCountryCallingCode(t)}`:"";return a.createElement(a.Fragment,null,a.createElement(Flag,Object.assign({country:t,title:r},i)),a.createElement(V.T,{size:"p2",variant:"primary",className:U()(eN.callingCode,"PhoneInputCountryIconCallingCode")},o))},[u,k]),S=(0,a.useCallback)(()=>g?g():a.createElement("div",{className:U()(eN.arrowSelect,"PhoneInputArrowContainer")},a.createElement(CaretDown,null)),[g]);if((0,a.useEffect)(()=>{x(h)},[h]),(0,a.useEffect)(()=>{(0,n.a)(void 0,void 0,void 0,function*(){let e=yield Promise.all([r.e(5231),r.e(7797),r.e(5454),r.e(5481),r.e(2354),r.e(3684),r.e(5349),r.e(4148),r.e(2509),r.e(1533),r.e(1108),r.e(9124),r.e(3580),r.e(4584),r.e(6509),r.e(4125),r.e(1111),r.e(7730),r.e(7884),r.e(137),r.e(4414),r.e(9709),r.e(7613),r.e(8098),r.e(3416),r.e(2500),r.e(1570),r.e(3506),r.e(1413),r.e(2138),r.e(9467),r.e(4467),r.e(6966),r.e(5243),r.e(8132),r.e(1375),r.e(4561),r.e(1448),r.e(5465),r.e(1217),r.e(5480),r.e(731),r.e(2050),r.e(2008),r.e(8469),r.e(8214),r.e(1482),r.e(6817),r.e(467),r.e(5951),r.e(9357),r.e(747),r.e(5675),r.e(6753),r.e(4802),r.e(3046),r.e(5745),r.e(3437),r.e(252),r.e(6839),r.e(9424),r.e(5702),r.e(8922),r.e(6399),r.e(553),r.e(2902),r.e(4969),r.e(3257),r.e(6611),r.e(7538),r.e(6894),r.e(5341)]).then(r.bind(r,"A9bs"));L(e)})},[]),!k)return null;let j=Object.assign({ref:t,defaultValue:d,label:E,value:y,onChange:e=>{x(e),null==m||m(e)},countries:c,defaultCountry:i||o,countryCallingCodeEditable:s,displayInitialValueAsLocalNumber:!0,className:U()(eN.phoneInput,{isError:l,[eN.error]:l,[eN.selectedCountry]:o},C),flagUrl:void 0,flagComponent:O,countrySelectProps:{arrowComponent:S},id:b},w);return f?a.createElement(FloatingLabelControl,{shrink:!!y},a.createElement(FloatingLabelControl.Control,null,({shrink:e})=>a.createElement(I.I.Wrapper,{size:"md",label:a.createElement(V.T,{size:e?"p3":"p2",variant:"secondary",weight:"halfBold"},E),inputWrapperOrder:["label","input","description","error"],error:v&&a.createElement(ErrorLabel,{label:v})},a.createElement(p.x,{className:"mantine-Input-wrapper",sx:e=>({".PhoneInput .PhoneInputInput":Object.assign(Object.assign({},(0,A.G)(e)[A.C.LEADGEN].p2),{color:e.colors.gray[9],fontWeight:A.F.halfBold})})},a.createElement(k.default,Object.assign({},j)))))):a.createElement(k.default,Object.assign({},j))});(0,a.forwardRef)((e,t)=>{let{defaultCountry:r,id:l,name:i,placeholder:o,label:c,labelElement:s,labelProps:d,description:h,descriptionProps:m,withAsterisk:u,inputMode:p,inputContainer:g,inputWrapperOrder:f,error:C,className:b,classNames:E,style:v,styles:w}=e,y=(0,n._)(e,["defaultCountry","id","name","placeholder","label","labelElement","labelProps","description","descriptionProps","withAsterisk","inputMode","inputContainer","inputWrapperOrder","error","className","classNames","style","styles"]),x=l||(0,J.Z)()+i;return a.createElement(I.I.Wrapper,{size:"md",label:c,labelElement:s,labelProps:Object.assign({htmlFor:x},d),description:h,descriptionProps:m,withAsterisk:u,inputMode:p,inputContainer:g,inputWrapperOrder:f,error:C,"data-invalid":!!C,className:b,classNames:E,style:v,styles:w},a.createElement("div",{className:"mantine-Input-wrapper"},a.createElement(eT,Object.assign({},y,{id:x,ref:t,name:i,spellCheck:!1,placeholder:o,defaultCountry:r,className:"mantine-Input-input",type:"tel","data-control":"tel"}))))});let eA=(0,a.createContext)({}),Popover=e=>{var{children:t,closeOnClickOutside:r=!0}=e,l=(0,n._)(e,["children","closeOnClickOutside"]);let[i,{close:o,open:c}]=(0,N.q)(!1),s=r?(0,R.O)(o):(0,a.useRef)(),d=Object.assign({},"function"==typeof t?{opened:i}:{});return a.createElement(eA.Provider,{value:{opened:i,close:o,open:c}},a.createElement(_.J,Object.assign({closeOnClickOutside:r},d,l),a.createElement("div",{ref:s},"function"==typeof t?t({open:c,close:o,opened:i}):t)))};Popover.Target=_.J.Target,Popover.Dropdown=_.J.Dropdown;var eW=(0,i.k)(e=>{var t;return{root:{},iconWrapper:{display:"none"},label:{display:"inline-block",cursor:"pointer",".checked":{display:"none"},".unchecked":{display:"inline-block"},'&[data-checked="true"]':{".checked":{display:"inline-block"},".unchecked":{display:"none"}},'&,&[data-checked="true"]':{padding:0,border:0,height:"auto"}},btnRoot:{pointerEvents:"none",'&[data-variant="secondary"]':{backgroundColor:null===(t=e.colors[e.primaryColor])||void 0===t?void 0:t[0]},".mantine-Button-label":{fontWeight:"normal",fontSize:(0,o.h)(14)}}}});let ChipButton=e=>{var{variant:t="secondary",withIcon:r,children:l,buttonProps:i}=e,o=(0,n._)(e,["variant","withIcon","children","buttonProps"]);let{classes:c,cx:s}=eW();return a.createElement(B.A,Object.assign({classNames:c},o,{unstyled:!0}),a.createElement(et.B,Object.assign({className:s(c.btnRoot,"checked"),leftIcon:r?a.createElement(X.Z,{size:18,color:"currentColor"}):void 0,variant:t},i),l),a.createElement(et.B,Object.assign({className:s(c.btnRoot,"unchecked"),leftIcon:r?a.createElement(ee.Z,{size:18,color:"currentColor"}):void 0,variant:"tertiary"},i),l))};ChipButton.Group=B.A.Group},G5av:function(e,t,r){r.d(t,{B:function(){return u}});var n=r("fbRC"),a=r("q1tI"),l=r("/npG"),i=r("HC7W"),o=r("8vDj"),c=r("mAfZ"),s=r("OhZU"),d=r("aaf5"),h=(0,l.k)((e,t)=>{var r,n,a,l,o,c;let{other:h}=e,{template:m}=h,{size:u,variant:p,skipHover:g,withColorHover:f,isError:C,isSuccess:b,color:E,gradient:v,children:w,theme:y,customStylesType:x}=t,k="mb"===m||"marryBaby"===y,L=E||(y&&k?"mb":e.primaryColor),I=L.startsWith("#"),O=I?e.fn.lighten(E,.9):(null===(n=null===(r=e.colors)||void 0===r?void 0:r[L])||void 0===n?void 0:n[0])||"",S=I?L:null===(l=null===(a=e.colors)||void 0===a?void 0:a[L])||void 0===l?void 0:l[e.fn.primaryShade()],j=I?e.fn.darken(E,.05):null===(c=null===(o=e.colors)||void 0===o?void 0:o[L])||void 0===c?void 0:c[e.fn.primaryShade()+1],_=x===d.C.LEADGEN;return{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${s.A} ease-in-out`},v&&Object.assign({border:0,position:"relative"},"secondary"===p&&{"&:before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"#fff",borderRadius:"inherit"}})),{"&:focus":{outline:"none"}}),_&&{borderRadius:12}),!w&&{paddingLeft:"10px",paddingRight:"10px",".mantine-Button-icon":{margin:0}}),(()=>{switch(u){case"xl":return Object.assign({height:56,fontWeight:_?d.F.halfBold:d.F.semiBold,fontSize:_?"15px":k?"14px":"16px",lineHeight:"24px"},_&&{letterSpacing:"-0.3px"});case"lg":return Object.assign({height:48,fontWeight:_?d.F.halfBold:d.F.semiBold,fontSize:_?"15px":k?"14px":"16px",lineHeight:"24px"},_&&{letterSpacing:"-0.3px"});case"md":return Object.assign({height:40,fontWeight:_?d.F.halfBold:d.F.semiBold,fontSize:_?"13px":"14px",lineHeight:_?"20px":"22px"},_&&{letterSpacing:"-0.3px"});case"sm":return Object.assign(Object.assign({height:32,fontWeight:_?d.F.halfBold:d.F.semiBold,fontSize:_?"11px":k?"12px":"14px",lineHeight:_?"16px":"22px"},_&&{letterSpacing:"-0.2px"}),{paddingLeft:"16px",paddingRight:"16px"});case"xs":return Object.assign({height:24,fontWeight:_?d.F.halfBold:d.F.semiBold,fontSize:_?"11px":"12px",lineHeight:_?"16px":"18px",paddingLeft:"8px",paddingRight:"8px"},_&&{letterSpacing:"-0.2px"})}})()),(()=>{switch(p){case"primary":return Object.assign(Object.assign({color:e.white},v?{backgroundImage:v,backgroundColor:"initial"}:{backgroundColor:S}),!g&&{"&:hover":{backgroundColor:v?"initial":j}});case"secondary":return Object.assign(Object.assign(Object.assign({color:S,backgroundColor:"transparent",border:`1px solid ${S}`},v&&{backgroundImage:v,borderColor:"transparent"}),!g&&!v&&{"&:hover":{backgroundColor:O,border:`1px solid ${S}`}}),f&&!v&&{"&:hover":{backgroundColor:S,border:`1px solid ${S}`,color:"#fff"}});case"white":return{color:S,backgroundColor:"transparent",border:"1px solid transparent","&:hover":{backgroundColor:"transparent",borderColor:"transparent"}};case"tertiary":return{color:e.colors.gray[8],backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`,"&:hover":Object.assign({},g?{backgroundColor:e.white,border:`1px solid ${e.colors.neutral[2]}`}:{backgroundColor:e.colors.neutral[0],border:`1px solid ${e.colors.neutral[0]}`})};case"light":return{color:S,backgroundColor:O,border:"1px solid transparent","&:hover":Object.assign({},g?{backgroundColor:O,border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${O}`})};case"ghost":return Object.assign({color:S,backgroundColor:"transparent",border:"1px solid transparent"},!g&&{"&:hover":{backgroundColor:O,border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:e.colors.gray[1],color:e.colors.gray[4]}}),C?Object.assign({color:e.colors.red[6],backgroundColor:e.white,border:`1px solid ${e.colors.red[6]}`},!g&&{"&:hover":{backgroundColor:e.colors.red[0],border:`1px solid ${e.colors.red[6]}`}}):{}),b?Object.assign({color:e.colors.green[8],backgroundColor:e.colors.green[0]},!g&&{"&:hover":{backgroundColor:e.colors.green[0]}}):{}),inner:Object.assign({ref:(0,i.A)("inner")},v&&{position:"relative"}),leftIcon:{marginRight:8},rightIcon:{},label:Object.assign({},v&&"secondary"===p&&{background:v,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})}});let m={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white",success:"subtle"},u=(0,a.forwardRef)((e,t)=>{var r,l;let i=(0,o.rZ)(),s=Object.assign(Object.assign({},null===(l=null===(r=i.components)||void 0===r?void 0:r.Button)||void 0===l?void 0:l.defaultProps),function(e){let t={};return Object.keys(e).filter(t=>void 0!==e[t]).forEach(r=>t[r]=e[r]),t}(e)),{variant:u,size:p,color:g,gradient:f,skipHover:C,withColorHover:b,className:E,dataEventCategory:v,dataEventAction:w,dataEventLabel:y,children:x,theme:k,component:L,styles:I,classNames:O}=s,S=(0,n._)(s,["variant","size","color","gradient","skipHover","withColorHover","className","dataEventCategory","dataEventAction","dataEventLabel","children","theme","component","styles","classNames"]),j="error"===u,_=(0,d.u)(),{classes:B,cx:M}=h({variant:u,size:p,color:g,gradient:f,skipHover:C,withColorHover:b,isError:j,isSuccess:"success"===u,children:x,theme:k,customStylesType:_},{name:"ButtonMantine",styles:I,classNames:O});return a.createElement(c.z,Object.assign({component:L,className:M(E,u),classNames:{root:B.root,inner:B.inner,leftIcon:B.leftIcon,rightIcon:B.rightIcon,label:B.label},variant:m[u],"data-variant":u,"data-event-category":v,"data-event-action":w,"data-event-label":y,ref:t,loaderProps:S.disabled?{color:"currentColor"}:void 0},S),x)})},OAWF:function(e,t,r){r.d(t,{D:function(){return DrawerComponent},u:function(){return useDrawerDrag}});var n=r("fbRC"),a=r("q1tI"),l=r("iuhU"),i=r("rSBk"),o=r("rBCA"),c=r("v7JE");let s=300,useDrawerDrag=(e=s)=>{let[t,r]=(0,a.useState)(!1),n=(0,a.useCallback)(()=>{r(!0)},[]),l=(0,a.useCallback)(()=>{setTimeout(()=>{r(!1)},e)},[e]);return{isDragging:t,handleDragStart:n,handleDragEnd:l}},d=(0,o.Z)(i.dy.Content)` position: fixed; z-index: ${c.Z-9e6+1}; inset: 0; background-color: #fff; outline: none !important; &::-webkit-scrollbar { width: 6px; height: 6px; } &::-webkit-scrollbar-track { background-color: transparent; } &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.4); border-radius: 6px; } &[data-vaul-drawer-direction='bottom'] { border-top-left-radius: 8px; border-top-right-radius: 8px; } &[data-vaul-drawer-direction='top'] { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } &[data-vaul-drawer-direction='left'] { border-top-right-radius: 8px; border-bottom-right-radius: 8px; } &[data-vaul-drawer-direction='right'] { border-top-left-radius: 8px; border-bottom-left-radius: 8px; } ${e=>e.isDragging&&` input { caret-color: transparent; } `} `,h=(0,o.Z)(i.dy.Overlay)` position: fixed; inset: 0; z-index: ${c.Z-9e6}; width: 100%; max-height: 100%; &[data-state='open'] { opacity: 0.6 !important; } `,DrawerComponent=e=>{let{open:t,onOpenChange:r,snapPoints:o,activeSnapPoint:s,setActiveSnapPoint:m,children:u,overlayClassName:p,className:g,fadeFromIndex:f=c.Z-9e6,onClose:C}=e,b=(0,n._)(e,["open","onOpenChange","snapPoints","activeSnapPoint","setActiveSnapPoint","children","overlayClassName","className","fadeFromIndex","onClose"]),[E,v]=(0,a.useState)(t),[w,y]=(0,a.useState)(o?null==o?void 0:o[0]:null),{isDragging:x,handleDragStart:k,handleDragEnd:L}=useDrawerDrag(),I=(0,a.useCallback)(e=>{v(e),null==r||r(e)},[r]),O=(0,a.useMemo)(()=>o&&o.length?w===o[o.length-1]:E,[w,o]),S=(0,a.useMemo)(()=>{let e={open:E,onOpenChange:I,fadeFromIndex:f};return o&&(null==o?void 0:o.length)&&(e.snapPoints=o,e.activeSnapPoint=w,e.setActiveSnapPoint=e=>{y(e),null==m||m(e)}),e},[E,I,w,y,m,o,f]);return(0,a.useEffect)(()=>{v(t)},[t]),(0,a.useEffect)(()=>{y(s)},[s]),a.createElement(i.dy.Root,Object.assign({onDrag:k,onRelease:L,onClose:C},b,S),a.createElement(i.dy.Portal,null,a.createElement(h,{className:(0,l.default)(p,"drawer__overlay",{drawer__overlay_full:O})}),a.createElement(d,{isDragging:x,className:(0,l.default)(g,"drawer__content",{drawer__content_full:O})},a.createElement(i.dy.Handle,{className:"drawer__handle"}),a.createElement(i.dy.Title,{style:{display:"none"}}),u)))}},inbl:function(e,t,r){r.d(t,{C:function(){return CardLink}});var n=r("fbRC"),a=r("q1tI"),l=r("8vDj"),i=r("iHoF"),o=r("F/Hd"),c=r("cMvO"),s=r("rBCA"),d=r("IQVP"),h=r("TUmP");let m=s.Z.div` .link-info-container { padding: 0.5rem 1rem; background: ${e=>e.color||"#f4faff"}; } .link-image-wrapper { position: relative; overflow: hidden; width: 100%; padding-top: min(280px, 56.25%); .link-image-blur { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%; /* Add the blur effect */ -webkit-filter: blur(8px); filter: blur(8px); object-fit: cover; object-position: center; opacity: 0.8; transform: translate(-50%, -50%); } .link-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; } } a { text-decoration: none; } &[data-is-marrybaby='true'] { overflow: hidden; border-radius: 1rem; .link-info-container { padding-bottom: 1rem; p { color: #2661ad; } .link-logo { max-width: 2rem; height: 13px; margin-right: 4px; object-fit: contain; vertical-align: middle; } } .link-image-wrapper { padding-top: min(360px, 56.25%); .link-image { object-fit: cover; } } } `,CardLink=({title:e,url:t,image:r,logo:s,className:u,style:p,noRefetch:g})=>{let{data:{locale:f,env:{isMarryBaby:C}}}=(0,a.useContext)(c.T),[b,E]=(0,a.useState)(!1),v=(0,l.rZ)(),w=(0,a.useRef)(g);w.current=g;let[y,x]=(0,a.useState)(null);(0,a.useEffect)(()=>{(0,n.a)(void 0,void 0,void 0,function*(){if(!w.current){if(!t)return x(null);x(e=>Object.assign(Object.assign({},e),{isFetching:!0})),(0,c.c)((0,c.e)(d.yy.FETCH_PREVIEW,{_locale:f}),"POST",{data:{link:t},headers:{"Content-Type":"application/json"}}).then(e=>{var r,n,a;E(!1),x({title:null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.title,url:t,image:(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.image)||(null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.logo)})}).catch(()=>{x(null)})}})},[t]);let k=(null==y?void 0:y.image)||r,L=(null==y?void 0:y.title)||e,I=(null==y?void 0:y.logo)||s,O=(null==y?void 0:y.url)||t,S=O.replace("http://","").replace("https://","").split(/[/?#]/),j=S[0],_=(0,a.useRef)(!1);return a.createElement(m,{"data-is-marrybaby":C,className:`${u} no-replace-click`,style:p,color:v.colors[v.primaryColor][0]},a.createElement("a",{href:O,target:"_blank",rel:"noreferrer"},k&&a.createElement("div",{className:"link-image-wrapper"},!C&&a.createElement("img",{className:"link-image-blur",src:k,onError:e=>{_.current||(_.current=!0,e.currentTarget.src=h.D)},loading:"lazy"}),a.createElement("img",{className:"link-image",src:k,onError:e=>{_.current||(_.current=!0,e.currentTarget.src=h.D)},loading:"lazy"})),a.createElement("div",{className:"link-info-container"},a.createElement(o.T,{size:"n1"},C&&I&&!b&&a.createElement("img",{className:"link-logo",src:I,onError:()=>E(!0),loading:"lazy"}),j),a.createElement(i.H,{tag:"h6"},L))))}}}]);