(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[5185,7398,8669],{CkW8:function(e,t,n){"use strict";n.d(t,{M:function(){return MobileBottomNavigationIcon},S:function(){return v}});var i=n("vEfc"),o=n("+OUp"),l=n.n(o),s=n("uzh1"),c=n("iBNF"),u=n("AeFk"),d=n("rBCA"),p=n("CL9C");let f=(0,u.i7)` from { transform: translateY(100%); visibility: visible; } to { transform: translateY(0); } `,m=(0,u.i7)` from { transform: translate(0, 0); } to { visibility: hidden; transform: translate(0, 100%); } `,h=d.A.div` cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-items: center; gap: 4px; .mobile-navigation-label { font-weight: 500; font-size: 10px; line-height: 16px; color: ${c.w.colors.gray600}; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 60px; text-align: center; ${p.M.mbDown} { max-width: 60px; } } .mobile-navigation-icon { position: relative; height: 24px; &[data-no-label='true'] { border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0px; gap: 16px; width: 40px; height: 40px; } } &[data-is-special='true'] { display: flex; flex-direction: row; align-items: center; padding: 4px 12px 4px 6px; gap: 4px; min-width: 152px; height: 32px; /* Neutral/Neutral-50 */ background: ${c.w.colors.primary50}; border-radius: 20px; flex-grow: 1; .mobile-navigation-icon { &[data-no-label='true'] { width: 24px; height: 24px; } } .mobile-navigation-label { max-width: max-content; color: ${c.w.colors.primaryBase}; } } &[data-is-active='true'] { .mobile-navigation-label { color: ${c.w.colors.primaryBase}; } } &[data-is-disabled='true'] { opacity: 0.2; } `,v=d.A.div` z-index: 100; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; max-height: ${({height:e})=>e}px; min-height: ${({height:e})=>e}px; display: flex; height: 100%; align-items: center; justify-content: space-evenly; background-color: ${c.w.colors.white}; @supports (padding-bottom: env(safe-area-inset-bottom)) { min-height: calc(${({height:e})=>e}px + env(safe-area-inset-bottom)); max-height: calc(${({height:e})=>e}px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); } a { text-decoration: none; } &[data-is-collapsed='true'] { animation: ${m} 500ms ease-in-out forwards; } &[data-is-collapsed='false'] { animation: ${f} 500ms ease-in-out forwards; } &[data-template='health-tool'] { height: ${({height:e})=>e}px; max-height: ${({height:e})=>e}px; min-height: ${({height:e})=>e}px; justify-content: space-between; & > div { flex: 0; } } `,g=d.A.span` position: absolute; left: 100%; transform: translate(-10px, calc(-50% + 3px)); background-color: ${c.w.colors.green800}; border-radius: 32px; border: 2px solid ${c.w.colors.white}; padding: 1px 4px; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 20px; aspect-ratio: 1; &[data-no-label='true'] { left: 0; transform: translate(22px, -50%); } `;d.A.div` position: absolute; top: 0; left: 0; height: 3px; background-color: ${c.w.colors.primaryBase}; transition: width 150ms linear; `,d.A.div` a { text-decoration: none; } `;let MobileBottomNavigationIcon=e=>{var{badgeAmount:t,disabled:n=!1,hasBadge:o=!1,icon:u,isActive:d=!1,isSpecial:p=!1,label:f}=e,m=(0,i.a)(e,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return l().createElement(h,Object.assign({"data-is-special":p,"data-is-active":d,"data-is-disabled":n},m),l().createElement("div",{className:"mobile-navigation-icon","data-no-label":!f},o&&l().createElement(g,{"data-no-label":!f},l().createElement(s.T,{size:"s5",weight:"semiBold",color:p?c.w.colors.primaryBase:c.w.colors.white},t)),u),f&&l().createElement("span",{className:"mobile-navigation-label"},f))}},xrdX:function(e,t,n){"use strict";n.d(t,{H:function(){return l},y:function(){return o}});var i=n("4BRW");let o={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","zh-SG":"hellojiankang.com","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},l={[i.L.Vietnam]:"hellobacsi.com",[i.L.Indonesia]:"hellosehat.com",[i.L.Malaysia]:"hellodoktor.com",[i.L.Cambodia]:"hellokrupet.com",[i.L.PhilippinesEnglish]:"hellodoctor.com.ph",[i.L.PhilippinesTagalog]:"hellodoctor.com.ph",[i.L.Thailand]:"hellokhunmor.com",[i.L.Myanmar]:"hellosayarwon.com",[i.L.Taiwan]:"helloyishi.com.tw",[i.L.India]:"helloswasthya.com",[i.L.Singapore]:"hellojiankang.com"}},GOBr:function(e,t,n){"use strict";var i,o,l,s;n.d(t,{K:function(){return u}});let c="undefined"!=typeof window&&null!==(s=null===(l=null==(o=null===(i=null==window?void 0:window.location)||void 0===i?void 0:i.href)?void 0:o.match(/^https?:\/\/([^/?#]+)(?:[/?#]|$)/i))||void 0===l?void 0:l[1])&&void 0!==s?s:"";c.split(".");let u=!0},lxhV:function(e,t,n){"use strict";n.d(t,{P:function(){return PopoverMenu},S:function(){return p}});var i=n("+OUp"),o=n.n(i),l=n("tuDO"),s=n("d/ZZ"),c=n("rBCA"),u=n("iBNF");let d=c.A.div` position: relative; display: content; .popover-menu__btn { /* position: relative; */ > span { width: 100%; height: 100%; > img { width: 100%; height: 100%; } } } .popover-menu__content { position: absolute; z-index: 10; width: 320px; padding: 8px; border: none; background: #fff; border-radius: 8px; box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.1); &::before { position: absolute; width: 16px; height: 8px; background: #fff; content: ''; } &.--position { &-top { bottom: calc(100% + 8px); &.--align { &-start { left: 0; &::before { top: 100%; left: 16px; clip-path: polygon(0 0, 50% 100%, 100% 0); } } &-end { left: 100%; transform: translateX(calc(-100% + 1rem)); &::before { top: 100%; right: 16px; clip-path: polygon(0 0, 50% 100%, 100% 0); } } } } &-right { left: calc(100% + 8px); &.--align { &-start { top: 0; &::before { top: 16px; left: 0; width: 8px; height: 16px; clip-path: polygon(0 50%, 100% 0%, 100% 100%); transform: translateX(-100%); } } &-end { top: 100%; transform: translateX(calc(-100% + 1rem)); &::before { bottom: 16px; left: 0; width: 8px; height: 16px; clip-path: polygon(0 50%, 100% 0%, 100% 100%); transform: translateX(-100%); } } } } &-bottom { top: calc(100% + 8px); &.--align { &-start { left: 0; &::before { bottom: 100%; left: 16px; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); } } &-end { left: 100%; transform: translateX(calc(-100% + 1rem)); &::before { right: 16px; bottom: 100%; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); } } } } &-left { left: -8px; transform: translateX(-100%); &.--align { &-start { top: 0; &::before { top: 16px; left: 100%; width: 8px; height: 16px; clip-path: polygon(0 0%, 100% 50%, 0% 100%); transform: translateX(0); } } &-end { bottom: 0; &::before { bottom: 16px; left: 100%; width: 8px; height: 16px; clip-path: polygon(0 0%, 100% 50%, 0% 100%); transform: translateX(0); } } } } } } &[data-is-marrybaby='true'] { .popover-menu__content { padding: 0; border-radius: 12px; /* &::before { display: none; } */ } } `,p=c.A.div` display: flex; /* max-height: 300px; */ flex-direction: column; cursor: default; .__header { position: relative; display: flex; align-items: center; justify-content: center; padding: 1rem 0; margin-bottom: 8px; .__back-btn { position: absolute; top: 50%; left: 8px; width: 16px; height: 16px; cursor: pointer; transform: translateY(-50%); } } .tree-text-description { padding-right: 8px; padding-left: 8px; margin-top: -8px; margin-bottom: 8px; font-size: 14px; font-weight: 400; line-height: 22px; text-align: left; } .__content { overflow: auto; flex: 1; } .__list { .__item { position: relative; &.bold-item { font-weight: 700; } &:last-child { .__btn { margin-bottom: 0; } } .__btn { position: relative; display: flex; width: 100%; height: 40px; align-items: center; padding: 0 1rem; border: none; margin-bottom: 8px; color: ${u.w.colors.gray800}; cursor: pointer; text-align: left; transition: background 0.3s; /* for better gtm tracking result */ * { pointer-events: none; } &.--checked { color: ${u.w.colors.gray500}; pointer-events: none; } &:hover { background: ${u.w.colors.gray100}; } .__icon { width: 16px; height: 16px; margin-right: 0.4rem; } & > span { position: relative; & > img { width: 16px; height: 16px; margin-right: 0.4rem; } } } .__toggle { position: absolute; top: 50%; right: 16px; width: 16px; height: 16px; pointer-events: none; transform: translateY(-50%); } } } &[data-is-marrybaby='true'] { .__header { padding: 1rem; } .tree-text-description { padding: 0 1rem; } .__list { .__item { &:first-child { .__btn { border-top-left-radius: 12px; border-top-right-radius: 12px; } } &:last-child { .__btn { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } } .__btn { height: unset; padding: 1rem; margin-bottom: 0; &:hover { background: ${u.w.mbColors.lightPink}; } } } } } `,PopoverMenu=({className:e,style:t,toggleButtonContent:n,position:c="bottom",align:u="end",children:p,buttonProps:f})=>{let{data:{env:{isMarryBaby:m}}}=(0,i.useContext)(s.T),[h,v]=(0,i.useState)(!1),g=(0,i.useRef)(null),b=(0,i.useRef)(h);return(0,i.useEffect)(()=>{var e;b.current=h,h&&(null===(e=g.current)||void 0===e||e.focus())},[h]),(0,i.useEffect)(()=>{let clickHandler=e=>{var t;(null===(t=g.current)||void 0===t?void 0:t.contains(e.target))||!b.current||v(!1)};return window.addEventListener("click",clickHandler,{passive:!0}),()=>{window.removeEventListener("click",clickHandler)}},[]),o().createElement(d,{"data-is-marrybaby":m,className:e,style:t},o().createElement(l.B,Object.assign({theme:m?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>v(e=>!e)},f),n),h?o().createElement("div",{ref:g,className:`popover-menu__content --position-${c} --align-${u}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof p?p({setShow:v}):p):null)}},NQBa:function(e,t,n){"use strict";n.d(t,{D:function(){return Divider}});var i=n("+OUp"),o=n.n(i),l=n("rBCA"),s=n("iBNF");let c=l.A.hr` border-width: 1px; border-color: ${s.w.colors.neutral200}; border-style: ${e=>e.dividerType}; `,Divider=({type:e="solid",className:t,style:n})=>o().createElement(c,{style:n,className:t,"data-diver-type":e,dividerType:e})},Wbba:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var i=n("xrdX"),o=n("GOBr"),l=n("yNk5");let isNumeric=e=>!isNaN(parseFloat(e))&&isFinite(e),s="hellosehat.com",c=new class{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,n)=>{let i="https://hhg-common."+[t||this.getBaseDomain(),n||this.subPath,e].join("/");return o.K||l.env.JEST_WORKER_ID?i:i+"?v="+Math.floor(new Date().getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){let{host:e}=window.location,t=e.split("."),n=i.y[Object.keys(i.y).find(t=>e.includes(i.y[t]))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every(e=>isNumeric(e))||!n?s:n}return s}};c.subPath="common",c.baseDomain=i.y["vi-VN"]},QcYj:function(e,t,n){"use strict";n.d(t,{i:function(){return MobileBottomNavigation}});var i=n("vEfc"),o=n("+OUp"),l=n.n(o),s=n("CkW8");n("vH4S"),n("rBCA");let MobileBottomNavigation=e=>{var{children:t,isCollapsed:n=!1,template:o="homepage",refObject:c,height:u=56}=e,d=(0,i.a)(e,["children","isCollapsed","template","refObject","height"]);return l().createElement(s.S,Object.assign({height:u,"data-is-collapsed":n,"data-template":o,ref:c},d),t)};MobileBottomNavigation.Icon=s.M},LrmT:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});let i={GET_CITIES_LIST:"api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}&client={client}&hospital_active={hospitalActive}",GET_CITY:"api/lists/cities?ids={ids}&site={domain}&longitude={longitude}&latitude={latitude}",GET_HOME_SEARCH:"api/search/?_home=1&city_id={city}&keyword={keyword}&site={domain}&latitude={lat}&longitude={lng}",GET_SEARCH_V2:"api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}&specialty_id={specialty_id}&client_slug={client_slug}&msd={msd}&skip_booking={skipBooking}",GET_CITY_BY_IP:"api/geobyip?site={domain}&latitude={lat}&longitude={lng}&_nopaging={noPaging}&client={client}&hospital_active={hospitalActive}",GET_DOCTOR_DETAIL:"api/doctors/{id}?site={site}",GET_HOSPITAL_DETAIL:"api/hospital/branch/{id}?site={site}",GET_SERVICE_DETAIL:"api/hospital/service/{id}?site={site}",GET_SEARCH_SPECIALTY:"api/v2/specialties/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}&msd={msd}",GET_SEARCH_POPULAR_KEY:"api/search/keywords?site={domain}&sort_by={sort_by}&sort_order={sort_order}&type={searchType}"}},Bell:function(e,t,n){"use strict";n.d(t,{C:function(){return CardReactions},L:function(){return LabelSortPin},T:function(){return TagTopic},a:function(){return LabelPin},b:function(){return TreePopoverMenu},c:function(){return o}});var i,o,l=n("vEfc"),s=n("+OUp"),c=n.n(s),u=n("sFNn"),d=n("oz0L"),p=n("vH4S"),f=n("+u84"),m=n("uzh1"),h=n("iBNF"),v=n("CL9C"),g=n("RBzE"),b=n("d/ZZ"),y=n("QktA"),w=n("4BRW"),x=n("rBCA"),E=n("U+Ez"),C=n("lxhV");let k=(0,s.createContext)({});var _={wrapper:"vvR-m49"};let LikeWrapper=e=>{var{children:t,className:n=""}=e,i=(0,l.a)(e,["children","className"]);let{isReplied:o,trackingCategory:u,trackingLabel:d,onLikeClick:f}=(0,s.useContext)(k);return c().createElement(p.Box,Object.assign({className:`${_.wrapper} ${n}`,"data-event-category":u,"data-event-action":o?"Like Comment Click":"Like Post Click","data-event-label":d},i,{onClick:()=>{null==f||f()}}),t)},ShareWrapper=e=>{var{children:t,className:n=""}=e,i=(0,l.a)(e,["children","className"]);let{trackingCategory:o,trackingLabel:u,onShareClick:d}=(0,s.useContext)(k);return c().createElement(p.Box,Object.assign({className:`${_.wrapper} ${n}`,"data-event-category":o,"data-event-action":"Share Icon Click","data-event-label":u},i,{onClick:()=>{null==d||d()}}),t)},CommentWrapper=e=>{var{children:t,className:n=""}=e,i=(0,l.a)(e,["children","className"]);let{isReplied:o,trackingCategory:u,trackingLabel:d,onCommentClick:f}=(0,s.useContext)(k);return c().createElement(p.Box,Object.assign({className:`${_.wrapper} ${n}`,"data-event-category":u,"data-event-action":o?"Reply Comment Click":"Comment Text Click","data-event-label":d},i,{onClick:e=>{e.preventDefault(),e.stopPropagation(),null==f||f()}}),t)},SaveWrapper=e=>{var{children:t,className:n=""}=e,i=(0,l.a)(e,["children","className"]);let{trackingCategory:o,trackingLabel:u,onSaveClick:d}=(0,s.useContext)(k);return c().createElement(p.Box,Object.assign({className:`${_.wrapper} ${n}`,"data-event-category":o,"data-event-action":"Save Post Click","data-event-label":u},i,{onClick:e=>{e.preventDefault(),e.stopPropagation(),null==d||d()}}),t)};var O={wrapper:"UhiT4m5",inner:"oEfeTkV",iconTxt:"_9GXHCn3",clickableIcon:"HCsrR0N",labelReaction:"Ierg-Fq",actions:"_674BTR4",statistical:"XlkglSM",releatedStatistical:"KyekKc3",statisticalNoAction:"TTfvZpR"};(i=o||(o={}))[i.post=1]="post",i[i.reply=2]="reply";let CardReactions=e=>{var{type:t,viewCount:n=0,loveCount:i=0,replyCount:p=0,replyPadding:f,liked:v,isReplied:y,isSaved:w,onCommentClick:x,onLikeClick:E,onShareClick:C,onSaveClick:_,onGoToUrl:S,className:T,style:N,showingMostEngaging:j,isMarryBaby:L,hasShare:P=!0,hasSave:M=!0,hasActionStatistical:z=!0,hasShowAction:A=!0,isReleatedPost:R=!1,isVertical:B=!1,trackingCategory:I="Together",trackingLabel:D="",children:$}=e,H=(0,l.a)(e,["type","viewCount","loveCount","replyCount","replyPadding","liked","isReplied","isSaved","onCommentClick","onLikeClick","onShareClick","onSaveClick","onGoToUrl","className","style","showingMostEngaging","isMarryBaby","hasShare","hasSave","hasActionStatistical","hasShowAction","isReleatedPost","isVertical","trackingCategory","trackingLabel","children"]);let{data:{env:{isMarryBaby:V}}}=(0,s.useContext)(b.T),U=L||V,{t:W}=(0,u.u)(),{isMobile:F}=(0,g.u)(),q=(0,s.useMemo)(()=>n>0||p>0,[n,p]),Z=(0,s.useMemo)(()=>n>0||i>0||p>0,[n,i,p]),G=(0,s.useCallback)(()=>c().createElement("div",{className:`${O.releatedStatistical} ${z?"":O.statisticalNoAction} session-statistical`},c().createElement("div",{className:"releated-post-statistical"},c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div",onClick:()=>{z&&(null==S||S())}},n>0&&c().createElement(c().Fragment,null,c().createElement(d.I.Eye,{size:18,isMarryBaby:U}),c().createElement("div",{className:O.labelReaction},n))),c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div",onClick:()=>{z&&(null==S||S(p>0?"":"?action=comment"))}},c().createElement("div",{className:O.labelReaction},p>0?W("comment.count",{count:p}):W("comment.now"))))),[q,z,U,n,p]),K=(0,s.useCallback)(()=>Z?c().createElement("div",{className:`${O.statistical} ${z?"":O.statisticalNoAction} session-statistical`},c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div",onClick:()=>{z&&(null==S||S())}},n>0&&c().createElement(c().Fragment,null,c().createElement(d.I.Eye,{size:18,isMarryBaby:U}),c().createElement("div",{className:O.labelReaction},n))),F||B?c().createElement("div",{className:"wrapper-list-statistical"},i>0?c().createElement(m.T,{className:O.iconTxt,size:"p3",as:"div",onClick:()=>{z&&(null==S||S())}},c().createElement("div",{className:O.labelReaction},i," ",W("cardReactions.like"))):c().createElement("div",null),p>0&&c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div",onClick:()=>{z&&(null==S||S())}},c().createElement("div",{className:O.labelReaction},p," ",W("cardReactions.comment")))):c().createElement(c().Fragment,null,i>0?c().createElement(m.T,{className:O.iconTxt,size:"p3",as:"div",onClick:()=>{z&&(null==S||S())}},c().createElement(d.I.Heart,{isMarryBaby:U,isSolid:!1,size:18,color:"#737373"}),c().createElement("div",{className:O.labelReaction},i)):c().createElement("div",null),p>0&&c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div",onClick:()=>{z&&(null==S||S())}},c().createElement(d.I.Comment,{size:18,className:"txt-icon",isMarryBaby:U}),c().createElement("div",{className:O.labelReaction},p)))):"",[Z,z,U,F,n,i,p]);return c().createElement(k.Provider,{value:{liked:v,loveCount:i,trackingCategory:I,trackingLabel:D,isReplied:y,onLikeClick:E,onShareClick:C,onCommentClick:x,onSaveClick:_}},$||c().createElement("div",Object.assign({className:`${O.wrapper} ${T}`,"data-show-most-engaging":j,"data-type":t===o.post?"post":"reply","data-reply-padding":t===o.reply&&f,"data-is-marrybaby":U,style:N},H),c().createElement("div",{className:`${O.inner} ${B?"direction-vertical":""}`},A&&c().createElement("div",{className:`${O.actions} session-action`},c().createElement(LikeWrapper,{className:`${O.clickableIcon} wrapper-action`},c().createElement(m.T,{className:O.iconTxt,size:"p3",as:"div"},c().createElement(d.I.Heart,{isMarryBaby:U,isSolid:v,size:18,color:v?U?h.w.mbColors.pink:h.w.colors.red800:"#737373"}),c().createElement("div",{className:O.labelReaction},W("cardReactions.like")))),P&&c().createElement(ShareWrapper,{className:`${O.clickableIcon} wrapper-action`},c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div"},c().createElement(d.I.Share,{size:18,isMarryBaby:U}),c().createElement("div",{className:O.labelReaction},W("share.title")))),M&&c().createElement(SaveWrapper,{className:`${O.clickableIcon} wrapper-action`},c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div"},w?c().createElement(d.I.Bookmark,{size:18,isMarryBaby:U,color:U?"#3E3F58":"#737373"}):c().createElement(d.I.Save,{size:18,isMarryBaby:U,color:U?"#3E3F58":"#737373"}),c().createElement("div",{className:O.labelReaction},w?W("cardReactions.unSave"):W("cardReactions.save")))),c().createElement(CommentWrapper,{className:`${O.clickableIcon} wrapper-action`},c().createElement(m.T,{size:"p3",className:O.iconTxt,as:"div"},c().createElement(d.I.Comment,{size:18,className:"txt-icon",isMarryBaby:U}),c().createElement("div",{className:O.labelReaction},W("cardReactions.comment"))))),R?G():K())))};CardReactions.LikeWrapper=LikeWrapper,CardReactions.ShareWrapper=ShareWrapper,CardReactions.CommentWrapper=CommentWrapper;let S=(0,p.createStyles)(e=>({wrapper:{display:"flex",flexWrap:"wrap",width:"100%",padding:"0.5rem 0",gap:"0.5rem"},item:{position:"relative",whiteSpace:"nowrap",padding:"5px 12px",background:e.colors.gray[0],borderRadius:"2rem",cursor:"pointer","-webkit-user-drag":"none",userSelect:"none",textDecoration:"none","*":{pointerEvents:"none"},"&:first-child":{marginLeft:0}},text:{}})),TagTopic=e=>{var{topics:t=[],onClick:n,className:i,style:o,trackingCategory:d="Together",locale:p="vi-VN",classNames:h,styles:v,unstyled:g,shortenedNumber:x=3,shortenedStyle:E}=e,C=(0,l.a)(e,["topics","onClick","className","style","trackingCategory","locale","classNames","styles","unstyled","shortenedNumber","shortenedStyle"]);let{t:k}=(0,u.u)(),{classes:_}=S(void 0,{name:"TagTopic",classNames:h,styles:v,unstyled:g}),{data:{env:{togetherBasePath:O}},action:{sanitizeFunction:T}}=(0,s.useContext)(b.T),[N,j]=(0,s.useState)(!E);return c().createElement("div",Object.assign({onClick:n,className:`${_.wrapper} ${i}`,style:o},C),(N?t:t.slice(0,x)).map((e,t)=>{let n=(null==e?void 0:e.dueDateMonth)&&(null==e?void 0:e.dueDateMonth)!==0&&(null==e?void 0:e.dueDateYear)&&(null==e?void 0:e.dueDateYear)!==0;return c().createElement("a",{className:_.item,key:t,"data-event-category":d,"data-event-action":"Topic in Post Click","data-event-label":`${(0,b.l)(p)}${O}${e.url}`,href:e.isActive&&!e.isHidden?`${O}${e.url}/`:void 0},c().createElement(m.T,{size:"p4"},c().createElement("span",{style:Object.assign({},n&&{textTransform:"capitalize"}),dangerouslySetInnerHTML:{__html:n?`${(0,y.A)(new Date(2020,Number(e.dueDateMonth)-1,1),"MMMM",{locale:f.j[p]})}${p===w.L.Vietnam?"/":" "}${null==e?void 0:e.dueDateYear}`:(null==T?void 0:T(e.name))||e.name}})))}),!N&&t.length>x&&c().createElement("a",{className:_.item,href:"#",onClick:e=>{e.preventDefault(),j(!0)}},c().createElement(m.T,{size:"p4"},"+",k("tagTopic.moreTopics",{number:t.length-x}))))},T=x.A.div` display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; &[data-color='gray'] { background: ${h.w.colors.neutral50}; } &[data-color='white'] { border-bottom: 1px solid #e4e8ec; background: ${h.w.colors.white}; } .popover-menu__btn { display: flex; min-width: 2rem; height: 2rem; align-items: center; padding: 8px 0 !important; border: none; margin-left: 0.5rem; background: transparent; > span { display: flex; align-items: center; } &:hover { background: transparent !important; } } &.label-pinned { border-radius: ${h.w.borderRadius} 6px 0 0; .label-sort-pin-icon { width: 16px; height: 16px; vertical-align: middle; } } &[data-is-marrybaby='true'] { padding: 0.75rem 1rem; border-radius: 16px 16px 0px 0px; &[data-color='white'] { border-bottom: none; } &[data-color='gray'] { background: #f3f3f3; } .popover-menu__btn { width: unset; } &.label-pinned { border-bottom: none; background: #fff9eb; border-radius: 1rem 1rem 0 0; .label-sort-pin-icon { margin-right: 8px; } .label-sort-pin-heading { color: #fb8c00; } } &.label-sorting { ${v.M.tdUp} { padding-bottom: 1.5rem; margin-bottom: -0.75rem; } } } `,LabelSortPin=({label:e,rightLabel:t,onClick:n,color:i,className:o,style:l})=>{let{data:{env:{isMarryBaby:u}}}=(0,s.useContext)(b.T);return c().createElement(T,{"data-is-marrybaby":u,"data-color":i,onClick:n,className:o,style:l},c().createElement(m.T,{className:"label-sort-pin-heading",size:u?"p4":"p3",weight:"bold"},e),t)},LabelPin=({onClick:e,color:t,className:n,style:i})=>{let{data:{env:{isMarryBaby:o}}}=(0,s.useContext)(b.T),{t:l}=(0,u.u)();return c().createElement(LabelSortPin,{label:c().createElement(c().Fragment,null,o&&c().createElement("img",{className:"label-sort-pin-icon",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%23FB8C00' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m3.5 20 4.37-4.37'/%3e%3cpath stroke='%23FB8C00' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4.956 11.294a1 1 0 0 0 0 1.414l2.918 2.918 2.918 2.918a1 1 0 0 0 1.414 0l1.175-1.175a1 1 0 0 0 .293-.707v-3.936l2.9-2.9 2.31.123c.282.015.56-.091.76-.291l.573-.574a1 1 0 0 0 0-1.414l-4.386-4.386a1 1 0 0 0-1.414 0l-.574.574a1 1 0 0 0-.29.76l.122 2.309-2.9 2.9H6.838a1 1 0 0 0-.707.293z' clip-rule='evenodd'/%3e%3cpath stroke='%23FB8C00' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m16.57 9.83-2.9-2.9'/%3e%3c/svg%3e",loading:"lazy"})," ",l("label.pinnedPost")),rightLabel:!o&&c().createElement("img",{className:"label-sort-pin-icon",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23FEA21E' stroke-linecap='round' d='m7.186 7.682-3.504 6.132'/%3e%3cpath fill='%23FEA21E' stroke='%23FEA21E' stroke-linejoin='round' stroke-width='.5' d='M3.246 7.784a.25.25 0 0 0 .091.342l5.447 3.145a.25.25 0 0 0 .342-.092 3.39 3.39 0 0 0 .11-3.186l1.622-2.808a2.66 2.66 0 0 0 1.606-1.239.25.25 0 0 0-.092-.341l-4.19-2.42a.25.25 0 0 0-.341.092 2.66 2.66 0 0 0-.27 2.01L5.949 6.095a3.39 3.39 0 0 0-2.703 1.69Z'/%3e%3c/svg%3e",loading:"lazy"}),onClick:e,color:"white",className:`label-pinned ${n}`,style:i})},TreePopoverMenu=e=>{var{data:t}=e,n=(0,l.a)(e,["data"]);return c().createElement(C.P,Object.assign({},n),({setShow:e})=>c().createElement(Tree,{data:t,setShow:e}))},getCurrentDataFromPath=(e,t)=>{let n=t.split("."),i=e;return n.forEach(e=>{var t,n;e&&i&&(null==i?void 0:i.type)==="list"&&(i=null===(n=null===(t=null==i?void 0:i.list)||void 0===t?void 0:t[Number(e)])||void 0===n?void 0:n.subTree)}),i},Tree=({data:e,setShow:t})=>{var n;let[i,o]=(0,s.useState)(""),l=(0,s.useMemo)(()=>e&&getCurrentDataFromPath(e,i),[e,i]);if(!e||!l)return null;let handleItemClick=(e,{subTree:n,onClick:i=()=>null})=>{i&&i(),n?o(t=>t.split(".").concat(String(e)).join(".")):t&&t(!1)};return c().createElement(C.S,null,l.isShowheader?c().createElement("div",{className:"__header"},i?c().createElement("img",{className:"__back-btn",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath stroke='%23262626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m15 18-6-6 6-6'/%3e%3c/svg%3e",onClick:()=>o(e=>e.split(".").slice(0,-1).join(".")),loading:"lazy"}):null,l.title?c().createElement(E.H,{className:"__title",tag:"h6"},l.title):null):null,l.description?c().createElement(m.T,{className:"tree-text-description",color:h.w.colors.gray600,size:"p3",weight:"regular"},l.description):null,c().createElement("div",{className:"__content"},"jsx"===l.type?null===(n=null==l?void 0:l.jsxRenderer)||void 0===n?void 0:n.call(l,t):null,"list"===l.type?c().createElement("ul",{className:"__list"},Array.isArray(l.list)?l.list.map((e,t)=>c().createElement("li",{key:t,style:e.style,className:`__item ${e.className}`}," ",c().createElement("div",{className:`__btn ${e.selected?"--checked":""}`,onClick:()=>handleItemClick(t,e),"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel},e.icon&&c().createElement("img",{className:"__icon",src:e.icon,loading:"lazy"}),c().createElement("span",null,e.label)),e.subTree?c().createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%23595959' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 12 4-4-4-4'/%3e%3c/svg%3e",loading:"lazy"}):null,e.selected?c().createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath stroke='%238C8C8C' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M13.333 4 6 11.333 2.667 8'/%3e%3c/svg%3e",loading:"lazy"}):null)):null):null))}},v8Gc:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=15,color:n="#fff"}=e,i=__rest(e,["size","color"]);let l=Object.assign({width:t,height:t},i);return o().createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",fill:"none"},l),o().createElement("path",{d:"M6.40025 8.62258C6.46826 8.8266 6.66029 8.96462 6.87531 8.96462C7.09034 8.96462 7.28136 8.8266 7.35037 8.62258C7.61543 7.8274 8.23941 7.20343 9.03458 6.93837C9.23861 6.87036 9.37663 6.67933 9.37663 6.46431C9.37663 6.24928 9.23861 6.05826 9.03458 5.99025C8.23941 5.72519 7.61543 5.10121 7.35037 4.30604C7.21335 3.89799 6.53827 3.89799 6.40125 4.30604C6.13619 5.10121 5.51222 5.72519 4.71704 5.99025C4.51302 6.05826 4.375 6.24928 4.375 6.46431C4.375 6.67933 4.51302 6.87036 4.71704 6.93837C5.51196 7.20334 6.13585 7.82748 6.40025 8.62258Z",fill:"url(#paint0_linear_1645_53328)"}),o().createElement("path",{d:"M19.9028 11.803C17.0091 10.6589 14.7181 8.36794 13.574 5.47422C13.347 4.90215 12.4059 4.90215 12.1789 5.47422C11.0348 8.36794 8.74378 10.6589 5.85006 11.803C5.56402 11.916 5.375 12.1931 5.375 12.5001C5.375 12.8071 5.56302 13.0842 5.85006 13.1972C8.74378 14.3413 11.0348 16.6323 12.1789 19.526C12.2919 19.812 12.5689 20 12.8759 20C13.183 20 13.46 19.812 13.573 19.526C14.7171 16.6323 17.0081 14.3413 19.9018 13.1972C20.1879 13.0842 20.3769 12.8071 20.3769 12.5001C20.3769 12.1931 20.1899 11.916 19.9028 11.803Z",fill:"url(#paint1_linear_1645_53328)"}),o().createElement("defs",null,o().createElement("linearGradient",{id:"paint0_linear_1645_53328",x1:"5.37533",y1:"6.85466",x2:"9.67227",y2:"6.30304",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{"stop-color":n}),o().createElement("stop",{offset:"1","stop-color":"#79E3DB"})),o().createElement("linearGradient",{id:"paint1_linear_1645_53328",x1:"8.37538",y1:"13.6442",x2:"21.2654",y2:"11.9966",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{"stop-color":n}),o().createElement("stop",{offset:"1","stop-color":"#79E3DB"}))))}},"90i8":function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n="#595959"}=e,i=__rest(e,["size","color"]);let l=Object.assign({width:t,height:t},i);return o().createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),o().createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.39844 6.33333C2.39844 4.52863 3.8604 3.06667 5.6651 3.06667H18.3318C20.1365 3.06667 21.5984 4.52863 21.5984 6.33333V15C21.5984 16.8047 20.1365 18.2667 18.3318 18.2667H8.20891L3.37325 22.1352C3.19315 22.2793 2.9464 22.3074 2.73852 22.2074C2.53064 22.1075 2.39844 21.8973 2.39844 21.6667V6.33333ZM5.6651 4.26667C4.52314 4.26667 3.59844 5.19137 3.59844 6.33333V20.4183L7.62362 17.1981C7.73001 17.113 7.86219 17.0667 7.99844 17.0667H18.3318C19.4737 17.0667 20.3984 16.142 20.3984 15V6.33333C20.3984 5.19137 19.4737 4.26667 18.3318 4.26667H5.6651Z",fill:n}),o().createElement("path",{d:"M11.998 11.6665C11.446 11.6665 10.998 11.2175 10.998 10.6665C10.998 10.1155 11.446 9.6665 11.998 9.6665C12.55 9.6665 12.998 10.1155 12.998 10.6665C12.998 11.2175 12.55 11.6665 11.998 11.6665Z",fill:n}),o().createElement("path",{d:"M8.49852 11.6665C7.94652 11.6665 7.49852 11.2175 7.49852 10.6665C7.49852 10.1155 7.94652 9.6665 8.49852 9.6665C9.05052 9.6665 9.49852 10.1155 9.49852 10.6665C9.49852 11.2175 9.05052 11.6665 8.49852 11.6665Z",fill:n}),o().createElement("path",{d:"M15.499 11.6665C14.947 11.6665 14.499 11.2175 14.499 10.6665C14.499 10.1155 14.947 9.6665 15.499 9.6665C16.051 9.6665 16.499 10.1155 16.499 10.6665C16.499 11.2175 16.051 11.6665 15.499 11.6665Z",fill:n}))}},"220y":function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s,isMarryBaby:c}=e,u=__rest(e,["size","color","activeColor","isActive","isMarryBaby"]);return c?o().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 24 24",fill:"none"},u),o().createElement("path",{d:"M8.69628 9.05793H14.7279M8.69628 12.5141H12.5346M13.1107 18.9268H14.1721C17.0589 18.9268 19.5701 16.8499 20.2476 13.9021C20.5841 12.4382 20.5841 10.9113 20.2476 9.44741L20.1588 9.06088C19.5057 6.21958 17.377 4.01204 14.6641 3.36264L14.283 3.27141C12.7712 2.90953 11.2013 2.90953 9.68953 3.27141L9.46648 3.32481C6.65677 3.99738 4.45212 6.28371 3.77571 9.22642C3.40585 10.8355 3.40923 12.5287 3.77909 14.1378C4.46607 17.1265 6.48688 19.6138 9.19777 20.7728L9.31593 20.8233C10.489 21.3249 11.8329 20.7208 12.3142 19.4902C12.4467 19.1515 12.7622 18.9268 13.1107 18.9268Z",stroke:s?i:n,strokeWidth:"1.3",strokeLinecap:"round"})):o().createElement("svg",Object.assign({width:t,height:t,viewBox:"0 0 18 18",fill:"none"},u),o().createElement("path",{d:"M6.75 8.25C6.75 8.66421 6.41421 9 6 9C5.58579 9 5.25 8.66421 5.25 8.25C5.25 7.83579 5.58579 7.5 6 7.5C6.41421 7.5 6.75 7.83579 6.75 8.25Z",fill:s?i:n}),o().createElement("path",{d:"M9 9C9.41421 9 9.75 8.66421 9.75 8.25C9.75 7.83579 9.41421 7.5 9 7.5C8.58579 7.5 8.25 7.83579 8.25 8.25C8.25 8.66421 8.58579 9 9 9Z",fill:s?i:n}),o().createElement("path",{d:"M12 9C12.4142 9 12.75 8.66421 12.75 8.25C12.75 7.83579 12.4142 7.5 12 7.5C11.5858 7.5 11.25 7.83579 11.25 8.25C11.25 8.66421 11.5858 9 12 9Z",fill:s?i:n}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.5C4.91146 1.5 1.5 4.48052 1.5 8.25C1.5 12.0195 4.91146 15 9 15C9.16853 15 9.32853 14.978 9.48871 14.956C9.57523 14.9442 9.66195 14.9323 9.75 14.9238V16.6343C9.75 16.9308 10.0779 17.1101 10.3274 16.95L10.9058 16.5791C12.5274 15.5383 16.0388 12.8366 16.4575 8.95898C16.4841 8.72831 16.5 8.49206 16.5 8.25C16.5 4.48052 13.0885 1.5 9 1.5ZM9 3C12.368 3 15 5.39248 15 8.25C15 8.43045 14.9888 8.61047 14.9678 8.79199V8.79492L14.9663 8.79785C14.7071 11.1983 12.7856 13.0836 11.25 14.313V14.0953C11.25 13.6218 10.8162 13.2669 10.3521 13.3608C9.91281 13.4495 9.46149 13.5 9 13.5C5.63204 13.5 3 11.1075 3 8.25C3 5.39248 5.63204 3 9 3Z",fill:s?i:n}))}},O2EA:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s}=e,c=__rest(e,["size","color","activeColor","isActive"]);return o().createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),o().createElement("path",{fill:s?i:n,d:"M3.2 19.3a.9.9 0 0 1-.638-.25.86.86 0 0 1-.262-.65v-1.325q0-.775.4-1.375a2.83 2.83 0 0 1 1.075-.95q1.425-.675 2.863-1.062Q8.075 13.3 9.8 13.3t3.163.388q1.437.387 2.862 1.062.675.35 1.075.95t.4 1.375V18.4a.86.86 0 0 1-.262.65.9.9 0 0 1-.638.25zm15.7 0a.9.9 0 0 0 .3-.387q.1-.238.1-.513v-1.45q0-.974-.488-1.863a4.8 4.8 0 0 0-1.362-1.537q1 .15 1.9.462.9.314 1.725.738.775.426 1.2.988t.425 1.212v1.45a.86.86 0 0 1-.262.65.9.9 0 0 1-.638.25zm-9.1-7.6q-1.45 0-2.475-1.038Q6.3 9.625 6.3 8.2q0-1.449 1.025-2.475A3.37 3.37 0 0 1 9.8 4.7q1.449 0 2.475 1.025A3.37 3.37 0 0 1 13.3 8.2q0 1.425-1.025 2.462T9.8 11.7m8.625-3.5q0 1.425-1.025 2.462T14.925 11.7q-.15 0-.413-.038a3 3 0 0 1-.437-.087q.6-.725.913-1.587A5.2 5.2 0 0 0 15.3 8.2q0-.95-.325-1.8a6 6 0 0 0-.9-1.575q.2-.075.425-.1.224-.024.425-.025 1.449 0 2.475 1.025A3.37 3.37 0 0 1 18.425 8.2M3.8 17.8h12v-.725a1 1 0 0 0-.162-.55 1.3 1.3 0 0 0-.488-.425 13 13 0 0 0-2.55-.963q-1.3-.337-2.8-.337t-2.812.337q-1.314.339-2.538.963-.35.175-.5.425t-.15.55zm6-7.6q.824 0 1.413-.588.587-.587.587-1.412 0-.824-.587-1.413A1.93 1.93 0 0 0 9.8 6.2q-.825 0-1.412.587A1.93 1.93 0 0 0 7.8 8.2q0 .825.588 1.412.587.588 1.412.588"}))}},WmCh:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s}=e,c=__rest(e,["size","color","activeColor","isActive"]);return o().createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),o().createElement("path",{fill:s?i:n,d:"M9.3 10.625c-.35 0-.613-.158-.788-.475-.175-.317-.17-.625.013-.925L11.725 4c.183-.3.442-.45.775-.45s.592.15.775.45l3.2 5.225c.183.3.188.608.013.925-.175.317-.438.475-.788.475H9.3zm8.7 11c-1.15 0-2.125-.4-2.925-1.2-.8-.8-1.2-1.775-1.2-2.925s.4-2.125 1.2-2.925c.8-.8 1.775-1.2 2.925-1.2s2.125.4 2.925 1.2c.8.8 1.2 1.775 1.2 2.925s-.4 2.125-1.2 2.925c-.8.8-1.775 1.2-2.925 1.2zm-13.225-.5a.9.9 0 01-.9-.925v-5.425a.898.898 0 01.925-.9h5.425a.87.87 0 01.638.262.9.9 0 01.262.663v5.425a.87.87 0 01-.262.638.9.9 0 01-.663.262H4.775zm13.225-1c.733 0 1.354-.254 1.863-.762.508-.509.762-1.13.762-1.863 0-.733-.254-1.354-.762-1.863A2.536 2.536 0 0018 14.875c-.733 0-1.354.254-1.862.762a2.535 2.535 0 00-.763 1.863c0 .733.254 1.354.763 1.863.508.508 1.129.762 1.862.762zm-12.625-.5h4.25v-4.25h-4.25v4.25zm4.975-10.5h4.3L12.5 5.65l-2.15 3.475z"}))}},R3p7:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s}=e,c=__rest(e,["size","color","activeColor","isActive"]);return o().createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),o().createElement("path",{d:"M5.61112 18.3891H18.3889C19.3093 18.3891 20.0556 17.6429 20.0556 16.7224V5.61133H7.27779V16.7224C7.27779 17.6429 6.53157 18.3891 5.61112 18.3891ZM5.61112 18.3891C4.69068 18.3891 3.94446 17.6429 3.94446 16.7224V8.66688",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M10.6111 10.0557H16.7222",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M10.6111 13.3892H16.7222",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}))}},tZy4:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s}=e,c=__rest(e,["size","color","activeColor","isActive"]);return o().createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),o().createElement("path",{d:"M9.77783 9.77783C11.1585 9.77783 12.2778 8.65854 12.2778 7.27783C12.2778 5.89712 11.1585 4.77783 9.77783 4.77783C8.39712 4.77783 7.27783 5.89712 7.27783 7.27783C7.27783 8.65854 8.39712 9.77783 9.77783 9.77783Z",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M14.4812 9.62228C14.7479 9.71894 15.0334 9.77783 15.3334 9.77783C16.7145 9.77783 17.8334 8.65894 17.8334 7.27783C17.8334 5.89672 16.7145 4.77783 15.3334 4.77783C15.0334 4.77783 14.7479 4.83561 14.4812 4.93339",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M14.0078 14.279C12.91 13.2179 11.4256 12.5557 9.77782 12.5557C7.39448 12.5557 5.33337 13.9212 4.32671 15.9112C3.88226 16.7901 4.35782 17.8634 5.28893 18.1868C6.43448 18.5846 7.96448 18.9457 9.77782 18.9457C10.5367 18.9457 11.2334 18.8723 11.8845 18.7701",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M17.5556 13.9443L18.6667 16.1666L20.889 17.2777L18.6667 18.3888L17.5556 20.611L16.4445 18.3888L14.2223 17.2777L16.4445 16.1666L17.5556 13.9443Z",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}))}},vc3D:function(e,t,n){"use strict";var i=n("+OUp"),o=n.n(i),l=n("7KkI"),__rest=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};t.A=e=>{var{size:t=24,color:n=l.fT,activeColor:i=l.NP,isActive:s}=e,c=__rest(e,["size","color","activeColor","isActive"]);return o().createElement("svg",Object.assign({width:t,height:t,fill:"none",viewBox:"0 0 24 24"},c),o().createElement("path",{d:"M16.7222 5.05566H7.27776C6.05046 5.05566 5.05554 6.05059 5.05554 7.27789V16.7223C5.05554 17.9496 6.05046 18.9446 7.27776 18.9446H16.7222C17.9495 18.9446 18.9444 17.9496 18.9444 16.7223V7.27789C18.9444 6.05059 17.9495 5.05566 16.7222 5.05566Z",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),o().createElement("path",{d:"M12.8256 10.6113L12 12.2779H7.83337V12.0002C7.83337 9.69905 9.69893 7.8335 12 7.8335C14.3012 7.8335 16.1667 9.69905 16.1667 12.0002V12.2779H14.7778",stroke:s?i:l.fT,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}))}},"7KkI":function(e,t,n){"use strict";n.d(t,{D5:function(){return useGetSize},NP:function(){return l},fT:function(){return o}});var i=n("+OUp");let o="#595959",l="#2d87f3",s={normal:24,sm:20,xs:18,sxs:16},c=s.normal,getSize=e=>"number"==typeof e?e:s[e]||e||c,useGetSize=e=>(0,i.useMemo)(()=>getSize(e),[e])},vKRh:function(e,t,n){"use strict";n.d(t,{q:function(){return useScrollIntoView}});var i=n("+OUp"),o=n("Degs"),l=n("Y8zf");let easeInOutQuad=e=>e<.5?2*e*e:-1+(4-2*e)*e,getRelativePosition=({axis:e,target:t,parent:n,alignment:i,offset:o,isList:l})=>{if(!t||!n&&"undefined"==typeof document)return 0;let s=!!n,c=n||document.body,u=c.getBoundingClientRect(),d=t.getBoundingClientRect(),getDiff=e=>d[e]-u[e];if("y"===e){let e=getDiff("top");if(0===e)return 0;if("start"===i){let t=e-o,n=t<=d.height*(l?0:1)||!l;return n?t:0}let t=s?u.height:window.innerHeight;if("end"===i){let n=e+o-t+d.height,i=n>=-d.height*(l?0:1)||!l;return i?n:0}return"center"===i?e-t/2+d.height/2:0}if("x"===e){let e=getDiff("left");if(0===e)return 0;if("start"===i){let t=e-o,n=t<=d.width||!l;return n?t:0}let t=s?u.width:window.innerWidth;if("end"===i){let n=e+o-t+d.width,i=n>=-d.width||!l;return i?n:0}if("center"===i)return e-t/2+d.width/2}return 0},getScrollStart=({axis:e,parent:t})=>{if(!t&&"undefined"==typeof document)return 0;let n="y"===e?"scrollTop":"scrollLeft";if(t)return t[n];let{body:i,documentElement:o}=document;return i[n]+o[n]},setScrollParam=({axis:e,parent:t,distance:n})=>{if(!t&&"undefined"==typeof document)return;let i="y"===e?"scrollTop":"scrollLeft";if(t)t[i]=n;else{let{body:e,documentElement:t}=document;e[i]=n,t[i]=n}};function useScrollIntoView({duration:e=1250,axis:t="y",onScrollFinish:n,easing:s=easeInOutQuad,offset:c=0,cancelable:u=!0,isList:d=!1}={}){let p=(0,i.useRef)(0),f=(0,i.useRef)(0),m=(0,i.useRef)(!1),h=(0,i.useRef)(null),v=(0,i.useRef)(null),g=(0,o.I)(),cancel=()=>{p.current&&cancelAnimationFrame(p.current)},b=(0,i.useCallback)(({alignment:i="start"}={})=>{var o;m.current=!1,p.current&&cancel();let l=null!=(o=getScrollStart({parent:h.current,axis:t}))?o:0,u=getRelativePosition({parent:h.current,target:v.current,axis:t,alignment:i,offset:c,isList:d})-(h.current?0:l);!function animateScroll(){0===f.current&&(f.current=performance.now());let i=performance.now(),o=i-f.current,c=g||0===e?1:o/e,d=l+u*s(c);setScrollParam({parent:h.current,axis:t,distance:d}),!m.current&&c<1?p.current=requestAnimationFrame(animateScroll):("function"==typeof n&&n(),f.current=0,p.current=0,cancel())}()},[t,e,s,d,c,n,g]),handleStop=()=>{u&&(m.current=!0)};return(0,l.M)("wheel",handleStop,{passive:!0}),(0,l.M)("touchmove",handleStop,{passive:!0}),(0,i.useEffect)(()=>cancel,[]),{scrollableRef:h,targetRef:v,scrollIntoView:b,cancel}}},TSYQ:function(e,t){var n;/*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var i={}.hasOwnProperty;function classNames(){for(var e=[],t=0;t=0&&C-k[0]<=v&&C+w+k[1]>=0},checkNormalVisible=function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,i=void 0;try{var o=t.getBoundingClientRect();n=o.top,i=o.height}catch(e){n=f.top,i=f.height}var l=window.innerHeight||document.documentElement.clientHeight,s=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-s[0]<=l&&n+i+s[1]>=0},checkVisible=function(e){var t=e.ref;if(t instanceof HTMLElement){var n=(0,u.default)(t);(e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?checkOverflowVisible(e,n):checkNormalVisible(e))?e.visible||(e.props.once&&v.push(e),e.visible=!0,e.forceUpdate()):!(e.props.once&&e.visible)&&(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},purgePending=function(){v.forEach(function(e){var t=h.indexOf(e);-1!==t&&h.splice(t,1)}),v=[]},lazyLoadHandler=function(){for(var e=0;e=0?i=setTimeout(later,t-u):(i=null,n||(c=e.apply(l,o),i||(l=null,o=null)))};return function(){l=this,o=arguments,s=+new Date;var u=n&&!i;return i||(i=setTimeout(later,t)),u&&(c=e.apply(l,o),l=null,o=null),c}}},Seim:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,i){i=i||!1,e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,function(t){n.call(e,t||window.event)})},t.off=function(e,t,n,i){i=i||!1,e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)}},tvXG:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,i=e;i;){if(!i.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(i),l=o.position,s=o.overflow,c=o["overflow-x"],u=o["overflow-y"];if("static"===l&&t){i=i.parentNode;continue}if(n.test(s)&&n.test(c)&&n.test(u))return i;i=i.parentNode}return e.ownerDocument||e.documentElement||document.documentElement}},uUxy:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i,o;return t||(t=250),function(){var l=n||this,s=+new Date,c=arguments;i&&s{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,i.y)(e):e,useBoundStore=(e,n)=>useStore(t,e,n);return Object.assign(useBoundStore,t),useBoundStore},create=e=>e?createImpl(e):createImpl},a5vB:function(e,t,n){"use strict";function shallow(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,i]of e)if(!Object.is(i,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let i=0;i{let t;let n=new Set,setState=(e,i)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=i?i:"object"!=typeof o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},getState=()=>t,i={setState,getState,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(setState,getState,i),i},createStore=e=>e?createStoreImpl(e):createStoreImpl}}]);