@hhgtech/hhg-components 1.19.6 → 1.19.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import n,{useState as e,useRef as t,useMemo as a,useEffect as i,Fragment as o,useCallback as r}from"react";import{S as l,d as s,T as c,e as d,f as p,g as m,h as u,i as g,j as h,k as f,l as x,m as v,n as y,o as b,p as E,q as w,r as k,s as C,t as L,u as M,v as S,w as T,x as N,y as z,z as A,A as B,B as _,D,E as F,F as P,G as H,H as I,J as R,K as j,M as U,N as O,O as V,Q as G,R as Z,U as Y,V as W,W as Q,X as q,Y as K,Z as J,_ as X,$,a0 as nn,a1 as en,a2 as tn,a3 as an,a4 as on,a5 as rn,a6 as ln,a7 as sn,a8 as cn,P as dn,a as pn,C as mn,a9 as un}from"./cookieHelper-083bb24e.js";import{_ as gn,a as hn,b as fn,c as xn,d as vn,e as yn}from"./tslib.es6-fd0a5c98.js";import{f as bn,u as En,M as wn}from"./useTranslations-f3eec98c.js";import{Range as kn,getTrackBackground as Cn,useThumbOverlap as Ln}from"react-range";import{B as Mn,H as Sn,A as Tn,o as Nn,P as zn}from"./index.styled-4510c448.js";import{createPortal as An}from"react-dom";import{t as Bn,i as _n,d as Dn}from"./theme-d85b3a33.js";import{j as Fn,k as Pn,l as Hn,m as In,n as Rn,o as jn,p as Un,q as On,r as Vn,s as Gn,t as Zn,u as Yn,v as Wn,w as Qn,x as qn,y as Kn,z as Jn,A as Xn,B as $n,C as ne,E as ee,G as te,H as ae,I as ie,J as oe,K as re,O as le,Q as se,R as ce,T as de,V as pe,W as me,X as ue,Y as ge,Z as he,_ as fe,$ as xe,a0 as ve,a1 as ye,a2 as be,a3 as Ee,a4 as we,a5 as ke,a6 as Ce,a7 as Le,a8 as Me,a9 as Se,aa as Te,ab as Ne,ac as ze,ad as Ae,ae as Be,af as _e,ag as De,ah as Fe,ai as Pe,aj as He,ak as Ie,al as Re,am as je,an as Ue,ao as Oe,ap as Ve,aq as Ge,ar as Ze,as as Ye,at as We,au as Qe,av as qe,aw as Ke,ax as Je,ay as Xe,az as $e,aA as nt,aB as et,aC as tt,aD as at,aE as it,aF as ot,aG as rt,aH as lt,aI as st,aJ as ct,aK as dt,aL as pt,aM as mt,aN as ut,aO as gt,aP as ht,aQ as ft,aR as xt,U as vt,aS as yt,aT as bt,aU as Et,aV as wt,aW as kt,aX as Ct,aY as Lt,aZ as Mt,a_ as St,a$ as Tt,b0 as Nt,b1 as zt,b2 as At,b3 as Bt,b4 as _t,b5 as Dt,d as Ft}from"./index-04b83fef.js";import{useId as Pt}from"react-id-generator";import{a as Ht,D as It}from"./index-130e6504.js";import{format as Rt,isBefore as jt,startOfMonth as Ut,addMonths as Ot,subMonths as Vt,getDaysInMonth as Gt,isToday as Zt,isSameDay as Yt,isWithinInterval as Wt,isAfter as Qt,isPast as qt}from"date-fns";import Kt from"react-day-picker/DayPickerInput";import{u as Jt}from"./useScrollbarSize-99db33e1.js";import{throttle as Xt,debounce as $t}from"lodash";import{L as na,F as ea,d as ta,Z as aa,M as ia,a as oa,S as ra,b as la}from"./constants-dc22740c.js";import{u as sa}from"./useOutsideClick-6004483a.js";import ca from"date-fns/locale/en-US";import da from"date-fns/locale/id";import pa from"date-fns/locale/vi";import ma from"date-fns/locale/zh-TW";import"lodash/debounce";import ua from"styled-components";import ga from"react-loading-skeleton";import{T as ha}from"./translationsProvider-7ccc3d2b.js";var fa=function(e){var t=e.style,a=e.onClose,i=e.text,o=e.type,r=e.contentIcon,p=e.closeIcon,m=e.className,u=e.description;return n.createElement(l,{style:t,"data-alert-type":o,className:m},n.createElement(s,null,n.createElement("div",{className:"icon-title"},r,n.createElement(c,{type:"bold",size:"label1"},i)),n.createElement(c,{type:"regular",size:"p3"},u)),n.createElement(d,{onClick:a},p))},xa=function(e){var t=e.amount,a=e.type,i=e.size,o=void 0===i?"medium":i,r=e.color,l=void 0===r?"primary":r,s=e.icon,c=e.className;return n.createElement(p,{"data-notification-type":a,"data-notification-size":o,"data-notification-color":l,"data-has-icon":!!s||void 0,notificationType:a,notificationSize:o,notificationColor:l,hasIcon:!!s,className:c},n.createElement("div",null,t&&n.createElement("span",null,t)," ",s&&n.createElement("div",null,s)))},va=function(e){var t=e.style,a=e.children,i=e.className,o=e.size,r=void 0===o?"lg":o,l=e.type,s=void 0===l?"bold":l,c=e.upperCase,d=e.as,p=void 0===d?"h4":d,u=e.color;return n.createElement(m,{style:gn({color:u},t),className:i,"data-size":r,"data-type":s,"data-uppercase":c,as:p},a)},ya=function(a){var i=a.className,o=a.value,r=a.options,l=a.onUploadSelected,s=a.id,c=a.placeholderIcon,d=a.placeholder,p=a.style,m=e(!1),v=m[0],y=m[1],b=function(){return y(!v)},E=t(r.map((function(e){return"upload"===e.type&&n.createElement("input",{id:"uploader-dropdown-input-"+s+"-"+e.value,key:"uploader-dropdown-input-"+s+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:function(n){console.log("change"),l(n.target.files)}})}))),w=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},n.createElement("defs",null,n.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},n.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),n.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"File"),n.createElement("g",{clipPath:"url(#prefix__clip-path)"},n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"download"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),C=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return n.createElement(u,{className:i,"data-dropdown-open":!!v,id:s,"data-has-icons":!0,style:p,onBlur:function(){return y(!1)},tabIndex:0},n.createElement(g,{onClick:b},c||w," ",n.createElement("span",null,o&&o.value?o.label:d)),v&&n.createElement(h,{onClick:b,"data-has-icons":!0},r.map((function(e){return n.createElement(f,{key:"".concat(s,"-").concat(e.value),"data-selected":o&&o.value===e.value||void 0,onClick:function(){return"upload"===e.type?function(n){var e;null===(e=document.querySelector(n))||void 0===e||e.click()}("#uploader-dropdown-input-"+s+"-"+e.value):void((n=e.url)&&window.open(n,"_blank"));var n}},n.createElement(x,null,e.icon||"download"===e.type?k:C),e.label)}))),n.createElement(n.Fragment,null,E.current))},ba=function(e){var t=e.className,a=e.columns,i=e.columnsDesktop,o=e.gridTemplateColumns,r=e.gridTemplateColumnsDesktop,l=e.gap,s=e.children,c=e.justifyChildren,d=e.style,p=e.alignItems;return n.createElement(v,{className:t,style:d,theme:{columns:a,columnsDesktop:i,gap:l,justifyChildren:c,gridTemplateColumns:o,gridTemplateColumnsDesktop:r,alignItems:p}},s)},Ea=function(t){var a=t.pagesAmount,r=t.activePage,l=t.handlePageChange,s=t.handleClick,c=t.href,d=t.queryPageName,p=void 0===d?"page":d,m=hn([],Array(a),!0).map((function(n,e){return e+1})),u=e(r<=4?m.slice(0,5):r>=m.length-3?m.slice(m.length-5,m.length):m.slice(r-2,r+1)),g=u[0],h=u[1];return i((function(){r<=4?h(m.slice(0,5)):r>=m.length-3?h(m.slice(m.length-5,m.length)):h(m.slice(r-2,r+1))}),[r]),n.createElement(o,null,r>4&&n.createElement(o,null,n.createElement(E,{onClick:function(){return l(1)}},c?n.createElement("a",{href:c,onClick:s},1):1),n.createElement(E,null,"...")),g.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===r||void 0,onClick:function(){return l(e)}},c?n.createElement("a",{href:bn(c,e,p),onClick:s},e):e)})),r<m.length-3&&n.createElement(o,null,n.createElement(E,null,"..."),n.createElement(E,{onClick:function(){return l(m.length)}},c?n.createElement("a",{href:bn(c,m.length,p),onClick:s},m.length):m.length)))},wa=function(t){var o=t.className,r=t.pagesAmount,l=t.currentPage,s=t.onChange,c=t.onClick,d=t.style,p=t.href,m=t.queryPageName,u=void 0===m?"page":m,g=hn([],Array(r),!0).map((function(n,e){return e+1})),h=e(l),f=h[0],x=h[1],v=a((function(){return p&&p.endsWith("&page=")?p.replace("&page=",""):p}),[p]),w=r-1,k=function(n){n<=r&&n>0&&(x(n),s(n))},C=function(n){c&&c(n)};return i((function(){x(l)}),[l]),n.createElement(y,{className:o,style:d},n.createElement(b,{className:"prev-page",onClick:function(){return k(f-1)},"data-last-page":1===f||void 0},v?n.createElement("a",{href:bn(v,f,u),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?n.createElement(Ea,{pagesAmount:r,activePage:f,handlePageChange:k,handleClick:C,href:v,queryPageName:u}):g.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===f||void 0,onClick:function(){return k(e)}},v?n.createElement("a",{href:bn(v,e,u),onClick:C},e):e)})),n.createElement(b,{className:"next-page",onClick:function(){return k(f+1)},"data-last-page":f===w+1||void 0},v?n.createElement("a",{href:bn(v,f,u),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},ka=function(e){var t=e.type,a=e.size,i=void 0===a?"small":a,o=e.label,r=e.name,l=e.checked,s=e.value,c=e.className,d=e.isDisabled,p=void 0!==d&&d,m=e.onChange,u=e.dataEventCategory,g=e.dataEventAction,h=e.dataEventLabel,f=!!g&&!!u&&!!h?{"data-event-category":u,"data-event-action":g,"data-event-label":h}:{};return n.createElement(w,{"data-disabled":p,className:c,"data-type":t,"data-size":i},n.createElement("input",gn({type:"radio",checked:l,name:r,id:"".concat(r,"-").concat(s),value:s,onChange:function(){return m(s)}},f)),n.createElement("label",gn({htmlFor:"".concat(r,"-").concat(s)},f),o))},Ca=function(e){var t=e.size,a=e.children,i=e.style,o=e.className;return n.createElement(k,{style:i,className:o,"data-shadow-size":t},a)};function La(e){var t=e.rangeRef,a=e.values,i=e.index,o=Ln(t,a,i,1," - ",(function(n){return n})),r=o[0],l=o[1];return n.createElement(n.Fragment,null,n.createElement(T,{"data-label":i,style:l},r),n.createElement(N,{"data-label":i}))}var Ma=function(t){var a=t.step,o=t.min,r=t.max,l=t.value,s=t.onChange,d=t.className,p=t.heading,m=t.isMobile,u=void 0!==m&&m,g=["#DBDFE5","#2D87F3","#DBDFE5"],h=n.useRef(),f=e(l),x=f[0],v=f[1];i((function(){v(l)}),[l[0],l[1]]);return n.createElement(C,{className:d},n.createElement(kn,{ref:h,values:x[0]>=o&&x[1]<=r?x:[o,r],onChange:v,onFinalChange:s,renderThumb:function(e){var t=e.props,a=e.index;return n.createElement(L,gn({},t),n.createElement(La,{rangeRef:h.current,values:x,index:a,isMobile:u}))},renderTrack:function(e){var t=e.props,a=e.children,i={background:Cn({values:x,colors:g,min:o,max:r})};return n.createElement(n.Fragment,null,p&&n.createElement(c,{size:"md",type:"bold"},p),n.createElement(M,{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:gn({},t.style)},n.createElement(S,{ref:t.ref,style:i},a)))},step:a,min:o,max:r}))},Sa=function(e){var t=e.type,a=e.children,i=e.style,o=e.isInline,r=e.isSquared,l=void 0!==r&&r,s=e.className,d=e.isLight,p=e.hasMorePadding,m=e.isLink,u=e.isSelected,g=e.textProps,h=void 0===g?{size:"sm"}:g,f=h.color?{"--text-props-color":h.color}:{};return n.createElement(z,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":d||void 0,"data-has-more-padding":p||void 0,"data-is-inline":o||void 0,style:gn(gn({},i),f),className:s,"data-is-selected":u||void 0,"data-is-link":m||void 0,tagType:t,isInline:o,tagHasMorePadding:p,tagIsLight:d,tagIsSquared:l,tagIsALink:m},n.createElement(c,gn({},h),a))},Ta=function(e){var t=e.className,a=e.id,i=e.onChange,o=e.checked,r=e.style,l=e.label;return n.createElement(A,{className:t,style:r},n.createElement("input",{type:"checkbox",id:a,onChange:i,checked:o}),n.createElement("label",{htmlFor:a},n.createElement(B,null),l&&n.createElement(_,null,l)))},Na=function(e){var t=e.size,a=e.isDisabled,i=e.className,o=e.link,r=e.style;return n.createElement(D,{className:i,"data-size":t,style:r,"data-disabled":a||void 0},o)},za=function(e){var t=e.type,a=e.withIcon,i=e.onFileSelected,o=e.inputId,r=e.withElement,l=e.fileAcceptType,s=e.multiple,c=e.value,d=e.className,p=function(){var n;null===(n=document.querySelector("#uploader-input-"+o))||void 0===n||n.click()};return n.createElement(F,{className:d},"badge"===t?n.createElement(P,{onClick:p,"data-is-attached-to-element":!!r},r,n.createElement(H,{"data-is-attached-to-element":!!r},a)):r?n.createElement("div",{onClick:p},r):n.createElement(Mn,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:p},n.createElement(I,null,n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),n.createElement("input",{id:"uploader-input-"+o,accept:l,multiple:s,type:"file",style:{display:"none"},onChange:function(n){i(n.target.files)},value:c}))},Aa=function(e){var t=e.label,a=e.name,i=e.checked,o=e.className,r=e.isDisabled,l=e.onChange,s=e.value,c=e.isRectangle;return n.createElement(R,{className:o,"data-disabled":r||void 0,"data-is-rectangle":c||void 0,"data-label-text":t},n.createElement("input",{type:"checkbox",checked:i,name:a,onChange:function(){return l(s,!i)},disabled:r,value:s,id:"".concat(a,"-").concat(s),"data-label-text":t}),!c&&n.createElement("label",{htmlFor:"".concat(a,"-").concat(s)},t))},Ba="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27 0H5C2.23858 0 0 2.23858 0 5V27C0 29.7614 2.23858 32 5 32H27C29.7614 32 32 29.7614 32 27V5C32 2.23858 29.7614 0 27 0Z' fill='%231778F2'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.314 32V19.499H23.569L24 15.19H20.314L20.32 13.034C20.32 11.911 20.42 11.309 21.943 11.309H23.977V7H20.722C16.812 7 15.437 9.09 15.437 12.604V15.191H13V19.499H15.437V32H20.314Z' fill='white'/%3e%3c/svg%3e",_a="data:image/svg+xml,%3csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint0_radial)'/%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint1_radial)'/%3e%3cpath d='M16 22.22A6.226 6.226 0 019.781 16c0-3.43 2.79-6.219 6.22-6.219a6.226 6.226 0 016.218 6.22c0 3.428-2.79 6.218-6.219 6.218zm0-10.662A4.447 4.447 0 0011.558 16 4.447 4.447 0 0016 20.442 4.447 4.447 0 0020.442 16 4.447 4.447 0 0016 11.558zM22.664 10.67a1.333 1.333 0 100-2.666 1.333 1.333 0 000 2.665z' fill='white'/%3e%3cpath d='M21.33 27.55H10.67a6.226 6.226 0 01-6.22-6.22V10.67c0-3.43 2.79-6.22 6.22-6.22h10.66a6.226 6.226 0 016.22 6.22v10.66c0 3.43-2.791 6.22-6.22 6.22zM10.67 6.226a4.447 4.447 0 00-4.443 4.442V21.33a4.447 4.447 0 004.442 4.442H21.33a4.447 4.447 0 004.442-4.442V10.67a4.447 4.447 0 00-4.442-4.443H10.67z' fill='white'/%3e%3cdefs%3e%3cradialGradient id='prefix__paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(11.896 32.023) scale(39.8892)'%3e%3cstop stop-color='%23FD5'/%3e%3cstop offset='.328' stop-color='%23FF543F'/%3e%3cstop offset='.348' stop-color='%23FC5245'/%3e%3cstop offset='.504' stop-color='%23E64771'/%3e%3cstop offset='.643' stop-color='%23D53E91'/%3e%3cstop offset='.761' stop-color='%23CC39A4'/%3e%3cstop offset='.841' stop-color='%23C837AB'/%3e%3c/radialGradient%3e%3cradialGradient id='prefix__paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='matrix(26.4865 0 0 17.6479 5.15 -.4)'%3e%3cstop stop-color='%234168C9'/%3e%3cstop offset='.999' stop-color='%234168C9' stop-opacity='0'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",Da=function(e){return n.createElement("svg",gn({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},Fa=function(e){return n.createElement("svg",gn({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},Pa=function(e){return n.createElement("svg",gn({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),n.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},n.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),n.createElement("g",{mask:"url(#mask0_3555_5815)"},n.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ha="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='32' height='32' rx='6' fill='%23D42428'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 12C7 10.8954 7.89543 10 9 10H9.68946H10H22H22.31H23C24.1046 10 25 10.8954 25 12V12.5633V20C25 21.1046 24.1046 22 23 22H22.3098H22H10H9.68946H9C7.89543 22 7 21.1046 7 20V19.4367V12.5633V12ZM14.1994 12.4438V18.8997L19.34 15.6719L14.1994 12.4438Z' fill='white'/%3e%3c/svg%3e",Ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABnCAYAAADygzfHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABu7SURBVHgB7V0JmFTVlf7ve1XV1St0N93sdouACMiiRFSi4G6iIjFOJpp8EcwySSYTIONoEvMNGNeZxAhRs0y+CCT6xRijEpe4RBHRIILaIkuzN3svLL3QXfu7c86979XW1UtVF7hQB17X2+ou59yz3nNvCfQCpJT9j/nDk0yBWYZhTLekrBZAf+SgR5BAsxCokZb8QArxemGe65nefE90WygRxB+25lKh83KEyBrUwRBLETaW5eeLuq5e6pIw/mBkLnHGwhxBjhvUEfYX5ntcy1I9TEkYIsoDxC3z4u8plrTk4vfrj9U88HZ9/6c3t0yCsKaLSKjakOgvhC5O8om+oO9IVYF0rqSuUNhVS/VEwBQGTi+xcOeVI3D5mEp4TBc+4dBMRw0dH9Dxvt8f3i1JDQghrqXr6vgXCV+LCjzm/OQCOhHGFwwvIXzNjrtVB0vOyf+fDVSRfy4VRQQTWeAiCdMC8g0LN4wtwZ1XjUFlgbt72frJhTo6ltKxzO8PzYBhLEA8gQSWEufMif+CEX/BnBJPFOKaxV6POTn/f9+dSCTbRbcWZocouuLT+1FLrz8ND143HpVe16eVKAzVULjDCq/XLf2EU8Zt9CnhvINxHwdRXBzzBWebhrHEubYseUdhvnshFr79gOaS7ABX6LYiuG5UMe6+ehROKc6DyzRwksEiEmvzfb7QQjIEFjg3pbTmF3g9i/hcEcbn81XDcK+AzV5MzQKvex4WrmZCzUYWwBkBA9wSt04bhG+eNwwlbuIS8Snmk+5hKfV9Toc/xESayzcIE815HvNUum5WQ9VweW5CTObV5ee5bE7JDlFUHVRrVYGFx28cjx9Mr9ZE+TQLr55hNjHAAwHGtdZBbAr17/CHlXTSHBMIs/6o5nNyImd77nmb7ptLkAXgCkwySUYWBvGnm87ChIoCItJJTZBkmE9WWw0hhSVWjGvaA+FZxDZP2y/V5d+79iL6jIq1voCQBtUXwRlFIfxl9lk4vbzwZOeSVMCm9am+YGSX4zOGLXmRIaSc4bxBrLWchE68WOsDSLK8JEYWhPCEIkpBjiipgYkxj31E54YKfQlDTHRuRCQojmPNRjaABSb8eHzO2RhTxpxy0lle6cBcwxA10SthTDfIG5/kXE995INqZIVbyHG0QlhywzicyZyS0yk9QX/TjIW+SNJUG/GxsE1NwUnIArilhbsuH46rRpUTW+aI0hswTTOKexY2SfIlJtYyrsCy8JUxxfiPadXI0SQtmB5/kUQY2QeOodgXHZcO9eDns8bCxQHMHGXSger4i2SO6UMcTKDCFcHi68eiNI/sL5FT9mlCAu6zhj0Xxb/uvqIKI0u95LvkiNJXyMrEB8+sXFaVh6+ePVyFXnLQd+jz0GailMggRYrHwG1PjOWg79BnwrAjdP24cowfUJhT9lmEPhBGTxj3I4U/n6LFrpwMyyr0gTA0V0+0+dLYcowekI8cZBf6oPwlCkUI3502XHFLjl+yCxkThklx6anFOKOyOEeU4wAZiDIiCYkwdySIr50zhLz9HBwPyIAwOhususSNi0ZWkiUmkYPsQwaiTPsql44oRpH5UQgxnUZ4PGqmiUIELYm1uw+hZk8zBhV7cPmEU1DsEifcFciAMAIuGcHnxlUgXexwx1UJ0UxNddMpNnovWqzkzE6eCXXu6Kc024fjEWKwqF13/G0dHn5rHzosLbIn9avBSz+8GqXeE5sdmlFtXiuAKVVladKFR7qFI/4IXt9yEPWtAbT7/TgWolEasMC4DtCUgaS5HOYHN80cMe4LCCFFHgMlhV4awV6MKMvHyMr+yFe5ttkljt8Clq7ZhTYrn8eEEtMfUjs31bdgWnU5TiSkTRgevROHFqM8z0yPMNTT/S0BXPLzF7HTL4gQRrREzQlSZQnAzm/m4epkPgv7OddtRkK4ZswALL15GgqPQ16aVBMWDgiEqZ2HWn040ZCm8idkURR56vB+KhE8rW8S/v741lbs9JmIqM4bGuVCRtGuQOh345GjZ3r4ewaCZh7+vuUQ1h9owfEAEf2j22FRvR2BUFQMnyhIE7v8hQgmDSlM25zjvg4tLyL9RPJCiStbX0gn/19qfSOdt0VixXHAg2JQSQGyDVrniYQbzJEhGozCbvGJgrRFmWmFMX5wEdIG6tX1Z1WjrqkVT66vR0NzAL5QmMgstZLnD1YqUqrRKQ0XQnQk6hEt3K6dUIFTSNd0ts0STIek6+RnseUhTjnchjAPnKR3o2Olu85BvxRPvL4I2TQJI5FHhKkeUIy0gVqZ7zbxk2vOwo+v0bci1AtLxjpAhhBCIQstviAeWbMDd724E1ZS/RXuCBbMnKSi2p2Uv2TdZSFC4pHsCPo0iLsiFNOTKn3KtC05abGxwcQ3VLKIQwZuTyRBZMkEsdoVovl7Ydu/40HFmaYGtYOlimlk5oKnTZiB/TzIz6AupdptJJj2Hbda5KTPNdBzt4FtTX785tUthBQXosucCNk8S3rfrIk4tbSokyhlhDa2B/DIqlo8t6EJWxvbECYCVPbz4jNDS/D1aaNwwehBytJ77sO9+NsH+0HGHr53yTiMG1yi+IaJqXWJs7TKEbHJfbHrpPYcaAvh0dXbqbyD2H64FeEwDcA8F6rKCnD28BLMnDAcM84YrLRqOnq594Sx5f8pJXlABtJWRDsbu4Pkc6qjORjBvy17C01hd0ItzCFfmVCJr0yp7pQSxUT587rduOWp99AQMInzGAFu9ay1NYIdLS14esNqzCTfi7Xb8k2NCAu36sdLm1Zgze1XobLQrbsotSmiBolNo1TTf2Fi9cWvbsadf69FO9WltKbwqPdbgkB9vQ9r6fj9mv2YWJmP+2+YgvOrKnrtfqWlw1kRDi4yVZL48dCE7HUveGod1h8Kd9ItpxVL/OzL58HjirErIzFMx6/e2IqvP7oWBwOGchITwB7wfsONJzY348naowjx+BXsMwns8xl4s3av0i38npWsJCTssJOMa2cEtz65Bj9+YSta4SGRaS9xTAIWwwGqd21TEP/6mzewevfhXlt3aVplEmWF7gSTMlsQiUTwl/d2Y8m7DXrEx3WgzGXhoa9egLK8xOayeHx2/T785PnNCLiIk4WZomHJGVrQRGc/ij7CdOxv7YDpKO5kvAkRE2mqnWH8+h8b8Ot/7keYkK4HUCpkxO5L6s/BoBtzlqxCLRk/ltUzcdIgjC6sjDzw7LKLtsLWN7ThR8s/QLs0FMIdi8lFxsZtF4/ARaeVJnZfMkJ9+M8na9AaMRPEDYs91kflHgsDPOQ1WSGljFO2mxDb7It7llxJ9KZ+sLHxGO5bsRsh05MoaunKSzbm6H4mGShh2+CIvcFCZucxA//+6BoK91joCXqhY7hBljqE1J6/HnHIEtcIHGzz4bt/XE1ixbS7ogt20cXNnxmK7186njPgE8xjtqoee3sn9nSEE7pBKhxVhQJ3keU2/fSBcJPo23DgCO59bgNW7GlXYicZ2sMyikKZ4ENpPWPZK67Zanzw1Vo0BmV0IPBfJvqMqiL8+OozSeEPQIC4/9n39+D25evREHa4WBDZgFV7fHhh/V58aXJ1t/jrJceI6EdK/68P4CNb8yfP1mBtQyDKJaph1NnPVBi4Y+YEeEwDiasFpBJBr2xupM6aca2U6E/U/MPN5+HLZCQMLc5HRYGHpicG4vFvTcfUQeT7GJ1Hqz8cgaNFUskCJcjowaGOIP5OdcarCa5zUqUHf/zGNMw4rRIlZOpV5JPYOm8Eln39fLjDwYRSIzTC/vreHoSk7FbwpO35s7KVVnaoEiHkP/TaRjy67qDyOWL1WBheCPzfzReiotDTuZEkFyLUhK1HOIYVe8pImjWuEuefals/whlDAqVk48+7cizMcCRFO2IRu2hH486dq52NLWhqDyZkmXpkCD+8cjwGFXhVGc6YZdfgklEVuPT0igRXlf9tPthKAVuZDY5BtK1H231xTc0ceNy+urUR9/1jp+3hx4TYYK+B3371PIytLEqd1UkvMXqb2zrskqK3cdn4YSk7xcQ5p6pcjejkoSptUSDtqEMqYAl4kHQaK/x4Ag4s8mDayIqYNIkDF33pQtaNMp5LDTRTRD3Ug57pJWFiVdZTKKWvYoybtP1QG77/pzU4yirCiVzSk3wRxt1XnYHLRlcoonRXVcRKinATUku97pTvsqlfSJEHM4VJGQ5rJPU0k3DMF9YYi87aGiqaUaoMolRoEehfVBhnmAi73SwUuh/caU8t72vrW6SVv9tByvHWP6/FtlbHKtblcTrUN6cOw43nngqjB+obkkM8MknoEEf7Al3W29QRUPokGYRhxMximbperik/L5nbJFopfHS0o4s6uT3t/k5TE4boeSVE2oThOZVIhnMgjBz20h9+ZRNe2NGqR5JwrBuJyRV5uP2qiRQqMXrkSm54Zb/EdZ08dfBO3aG4QGQMOIb25tYGMlU7x5MMw7Y8hS4j9dgXKqJt0KCKL7qZJvle3bAPMpJEcMmOqIW3dzR1Cmz295jIcxk99q8HSCz2sI+DjBFkAkyYFzcewIKXtpJVZSZ4y7yE43c3nUtOpMtGkEywlKTzT+r7zDHjBxcnNI/Le2zNXmxtalPmdExvWDhKCLz/lVoaVCkIAyvBY+kKC9UDiqh97oQ6/WSq3/fSZhwOhKNtg21iv1LbgJe3HlURhiiQCBs7uJ+K03UHaQQxuUMUuXW5saW+GYNGVCA9sLCXlOd3/vQuhSk8CU94NA4tL8HT7+3FcyTP3BTI5CRCwzSUdaM8AaGV6YDCPEwcVobqskJcNmYQntl0mCK7MWQ3kbM561dv4t4vnIkZY4bC6xbYsL8Z85Xo5AHVGSNupTMMxbVCpFbKjNqBxQU455RiPL+jLUobjpHVNluY9dAK3P3FyZhSXUF+jMTjFNhcyBEJNmzinD6ez5o1cSj1pXvK9JIwQk/1clicRlzN/jZcOKIiLRsgRCPllsfXYn8KcczNrmnowPsNdU5tQCcB4ASiLVTnW3hk9nm4jnyVu57fiL3BxLZub7Nww9L3UOpeCzcRtzEQQYgDjF20uMCjDQYmTSwu1vldojG+ccEo/GPnu/DHcQGb7qvrg7j8wTcxvMBF4pL0WRAqtCTjiULfYXE9c3IVeoL0dIwtg9fts0VFGtBO8yzv7G7pRrnG6wp9HTv0PRV/oM7WUeDxR3+tQTHJgzuvHQ8PhVxEkhcSonmQxogbB4ImESUPXXnFfKfMa6pvuWmYenrYcOiKMYNxI0W5TWnFFaeDmCHTjV1+gfqQqQZwLIog1YAqdYXxu9nno6AXaV+9J4zj/FMDVu9uRjBNwhSQwptA8xNqRNqhdT51jq797mSQCglej1b7N54zArdMr1Y7OonkMpjLHdPWjl2xPtHnul6TRvewUp0U7yUxOrhfQcL7/J4ZF7DxUojnnlmTcRX5J4aaIk9EUkxvJsYSykmHPv6t8zCB9EtvEkjSdjD5ZE9rGJso6JiO2eyhkb7w2smYVEr+hOyAOxJQwUUVYCSkGmTBCD5kRDlkXR8S5UYYi26YCt4myE0W3IKrJ+Gh68ZhkCukjAIGRXAVoTDUeT8EcNuFw/BfF1ahhGY1tREmMbFc4PLxVcpn4rj53BkjkRcJae+d2vX5qgJcPaFaIVPYoYQKcip//7WpuPWzQ1FuhuN4MZ4YQkUf8igaffWIYrw272JcQqGh3u6jI3yBcBS7+feu7f5tQhrLSUER34UzBuP2i0emlT7ElkqAkHWUrLojx9oRoDn/QNCvwuAcGg+R0uQJqJ7IPay0GGMqi6MTZo79drA9hMfe2o5XtjZhz6Fj4Dy2wf0KcfHoMsy5cCyGFecpcbhyaz1W1B6kOJqJL54zGkPovtMPDjk9/+E+ikrUY9KQfvjy1JHIN1JnYnJ/ahta8fLmA1i57RB2NRwjP8lSyB9U6sVZw/uRoh+GqWQQuEXPLoA/GLN20ySMFkM8KqdUWFj1vWnECaoYpAtO+EMIvTemEyjsDaHVvLqRmtnZo2ZlzBNmXJ6LB7klobfqtAkZl3Dh2GPxLn8qSdBVu1Q/lG3EgVUlKLX4kzpBK9bWnvsVT5j0MzFtq2V9fQC7jvgxqsybUbaqEg1R59L+7GU53RFPUGOinXJeS2qgE4S0UwyRjLR0pIAWcTyiDDjBIBlXhuhyIq17SNMq0zKbk+848W7ZO3tPeCJcNkEgM6SlKin1VeblZ7zUjzu1lAjTLrPRsRwkQ0YLl1TqKIm0pogHS/65W6UJ5SC7kD5hbAZh4rAT9cAbO9FuxU8n5SAbkJkoU8TR3vKBYB4eXrUDuYVl2YU+bcDAXi7Pc92/Yg92tQU+0YbAxw0yJExsRo49kKPCi1uXb1DTvTniZAcy5xghYtYgnb9A05Gv7TxMDlbOEMgG9HEvGaEcK+aaDiMP856upQmjWLJeDjKHPhLGBtu73dIG3LZ8I1qCIWTHcTt5ITuEUSDItzHx2IY2MgZ2qQTxnL7JHLJHGCc6SwG7B9c04KkPD+QI0wfIIsdAEYdXabVKF255bidW729Ri3sU5GiUFmSXMAp0zPZAyIVvP7EJO5oDmjg5lZMWHAfC2HPcZK1tbjPw7Sc3oKE9pOZAcqKtG0hCzXEgjF0PL1KVBlbuC+IHz2xQW4DkoPeQXcJIO8WUZybVEVE+ztO1x/Dw67U51zMZbC7hjCPtYsQge4RRYioSTabg/ABIjqSF1VqW+1ftw67mDuQgEVi872lux7wnEqf1s8gxescLh1vURgp8T23cE1Gb+2w+0JLTM3HAGHr/YBu+8NAKPPpeQ8Kz7Oz1ZOcJ6xwxS8/NKI6xFX6E10EGMaTEi9zumRp4w4bH39mFHz27AQd8UDuBxEPfCWPneqlsF72Dga6WTWTOTpE6X+zsgfkYO7RUZ5Tg5AVO1WroCOD+lzfjV6t2wS9cKZei95kwjtiCnVUv7U189OqciEonKkAIt31uMvJOYoqoPQloSL6+rQm3/mUtNhwJI2K40NXe7pkTxklrVdlM0s4NI8Wv1o/QFROGl65aYXx3ejWuGNP7LMRPEyjMECp2k+Hzs5c34g9r98FnmbCMrGT7p65Si7CIzSW8cpY5JKR1C3itvcT14wfh9ivP7DFZ+9MIPGb3tvixZFUtlqzZi73tltofR/YiES+jPTGjufd2RqPao1KJrbCt9HXC+NkD3bj/S5NR4unjJsA9rSr6OEBstYXSte3kUP+tZjd+/tImfHg4qBZq6Z07emeVZsYxMpb9HtMpIeW3MJE4C/6iYV48+p1LMMBr9nl7RIt9I6Gd14/rDzso54DQcDQQwRNrt+O3b+zAxiMBmgph5R4/MHvX/owII2J0sZnHVvZElEIZwpxzh+PuL05BoZkuIqVCvjK3hV6t1Ub03lbfgmMBH06tGEAmdx54CZKMLj8/8YRyZmh1cqwE73iyrq4Jfybz9+kP9ts7QLH56UamkBFhFNdKvY0JlFnMqwDCGNvfxOIbLsAFpw1Qm7alizTO9D/sD2PNtoN4a9dhvLmtERsPtpBY0Gvri4wIRg0swrnV5fjchCGYUlWJcq8rukHciQKOlrdTt9dsb8ALmw7gtU0N2ELcEVS+iDsrIjeJMLIZPf5Oma1fbENPbYFMumXO5Er87F/OURsc6ERr/ZaR4tvSXmHFi0aPRQRFBA7jjS0H8eqWQ1i3+wiaLTPK/lJ4dVI4/W+BiXWNIbzbWI9fr9mHUlcEU04ZgItGV+D8UQMxdlgZSnjzaugtgtXmDXGyv8vzhNZBPZD2wiVOLglTL/zUzu0NrVhVuxdv7m7Fys37cTTsIpPXbqeROXfYwD/tG8V9MsfU0dHDL/vFNd4+4wU+E6sGYM/RYygtLkKeaYKNMJeh37KkUGsw2/xBNBxpxY7GZmxuaMf7e5uxfu9RNAZ45tNlqy5PEsJEwpI6pwURkt2HiYAv7mrDy3QYL2xDmcfC6YNLMG5If4wfVITRFUUYUlaMAf1KUOwVKhufl5AYjgy2865Z7Cjjnq7bgxJNbe3YfahFEWJLYwc+PNCMjfsPoyVkqg3olAnMyweNWJv6DAL8y7EznMtkwqxEj4SJk+u2D8OO0rynNsGMrIeLzGfe640XFblMU7U7QmY0hzN51LEytOy1nNrjdcXYKs0+Osu0lVA1ec0lHft8eHNvh+YYHuvEzQXERf1J5JV4PSgs9MLrkjR49LL1ALWNlwgdaw+g1RdSGyqwRRW2lbajRqE4N4aBrIPUPx3vAO881SxsFrru9NKap7Y091CC0LuJx5mwKsncYKR7EBJxBmFE16jpL+ysWgkcZ8tK2ntvWjTFDSJAkDvJGpr3Jzja3s03hSbAR/ATH2cMLH6dPmbbrWhmYVPnPJx37qBmrWe6Aytu9yFnwWMs+S/FWiwkjLATae4mVNUbB/cjM8Xr3vv+Z3c7FzR2a0ieWCudG2cPKiIxJhb3rqxkr+9kDk32FeQykjqzopeGqOP9Zp5xrsnsnEuaYFH3XMMjz4pTwwkV9NaxzUEMdplSLiVL9lrnhrCMZwy/11UjtanGOO3fdttnJ5Htd0fX5djqUGgHyzGNE+3QHPQaCNct93x+Bp1V23fqvF6x3CgVopnCKFHx5TLEErlw6lL6RhciTesMQ8T2epSG3gVC5n7KNz2QcpH8xVXLTcNY4Nyi+Zpl/KkwSVyzyOEagmpfyFqAhefPY9nXVZkqbimE7QrEaf6TMLSfEZD4kr+YOT/AuI5xyy4DrqV8ogjDXEOBx6j4onD+PF8owsSZncw5MYGlXWf2FthK6xQTy9GnK5CaU2beHAxbCynCMM95QKHFO/LztZWcgL4Of2gRIXhutAQhFuW7jTvEHW+zxRCjLIcrrIgd9ufJMQqvhHV02Qm15CAlHCXM/NS6/5plxCn/HU8UOl9U4HXPd647YbDdF1xqGMZNcbfq6K2F+fesXWnAmk3Uomeimp1MDu/z3D4TyeKwv33OxLFEXAhTRz2jNTqTnzGL24i5RHEtc1baCCQa52qfoJTRZRGN/DpVCp3mpvOq7UqjXC/iVvr20mgRcXXo6ziQdsQ5qeP8kwU04H9Z7DYW7194xSTS448gJr5Ir1hLC/M9cxLrSQHJnGNDHdWwPELm9fQHV1d3BPwz3AaqqgYWTyIE9PcHQmobeFY+QfoMWfrHECIRS/3slf5lpfh9+6Dvg6O19I4V0ZtOO7Ohlg4kOnM/zqbUOr/ANtZ50zeOcznzQ1LvWclilQeGmt2Weo2b2lrEXl3tIM6y63DEclcTCTLpSm9/ot80paFigmrjO0PvtEHtaW4PhetoamblzIlVH8y9aGTz5GGlE6Ul54q4QKVullwczyndEobB5wvOhrYWqpGDrAMR+yiNlJ8WeD2LUj3vVhn4fL5qGgtEIBZfOQJlAaSKTVryl16yhImzu3Tke62l2wPhWcT7swzTqKLSJyWx5McZPlKPV7shZGlR6Iuk+XIiSE13BMnBxxz+HzMU/YREgmfCAAAAAElFTkSuQmCC",Ra=function(t){var a=t.gap,i=void 0===a?2:a,o=t.size,r=void 0===o?24:o,l=t.star,s=t.totalStars,c=void 0===s?5:s,d=t.onSelect,p=t.hideEmptyStars,m=t.style,u=t.className,g=Math.floor(l),h=l-g>=.5?1:0,f=e(null),x=f[0],v=f[1],y=x||g,b=x?0:h;return n.createElement(j,{"data-selectable":!!d,style:gn({"--gap":i,"--star-size":r},m),className:u},Array.from({length:p?g+h:c}).map((function(e,t){var a=function(){return!!d&&v(t+1)},i=function(){return!!d&&v(null)};return t+1<=y?n.createElement(Fa,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):t+1===y+b?n.createElement(Pa,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):n.createElement(Da,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i})})))},ja={Ask:U,BarChart:O,Booking:V,Bookmark:G,Community:Z,EditSpecial:Y,Family:W,Font:Q,Heart:q,Home:K,Like:J,MyCommunity:X,PlusSpecial:$,Recalculate:nn,Scale:en,Share:tn,Stethoscope:an},Ua=function(e){var t=e.percent,a=e.style;return n.createElement(on,{style:gn({"--progress":t},a)})},Oa=function(e){var t=e.open,a=void 0!==t&&t,i=e.onClickOutside;return n.createElement(rn,{open:a,onClick:i})},Va=function(e){var a=e.children,i=e.title,o=e.onClose,r=e.open,l=void 0!==r&&r,s=e.placement,d=void 0===s?"left":s,p=e.destroyOnClose,m=void 0!==p&&p,u=t(),g=function(){u.current.classList.add("slideOut"),setTimeout((function(){o()}),1e3)};return!l&&m?null:An(n.createElement(n.Fragment,null,l&&n.createElement(ln,null,n.createElement(Oa,{open:l,onClickOutside:g}),n.createElement(sn,{open:l,placement:d,ref:u,hasTitle:Boolean(i)},n.createElement("div",{className:"title"},i&&n.createElement(c,{size:"s2",type:"semiBold"},i),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},n.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),n.createElement(cn,{onClick:function(n){return n.stopPropagation()}},a)))),document.body)},Ga=function(e){var t=e.avatarImg,a=e.authorName,i=e.authorLink,o=e.uploadTime,r=e.size;return n.createElement(Hn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"avatar","data-size":r},t),n.createElement("div",{className:"poster","data-is-disabled-url":!i},n.createElement(c,{size:"lg"===r?"p3":"p4"},n.createElement("a",{href:i},n.createElement("span",{className:"name"},a),"•"," "),n.createElement("span",null,o)))))},Za=function(e){var t=e.isMobile,a=e.avatarImg,i=e.name,o=e.link,r=e.size,l=void 0===r?"lg":r,s=e.specialty;return e.handleClick,e.isBookmarked,e.dataEventCategoryForBookmark,e.dataEventActionForBookmark,e.dataEventLabelForBookmark,n.createElement(Hn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"expert-avatar","data-size":l},a),n.createElement("div",{className:"expert","data-is-disabled-url":!o},t?n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i),n.createElement(c,{color:Bn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i))):n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i),n.createElement(c,{color:Bn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(In,{color:Bn.colors.gray600,className:"expert__name"},i),n.createElement(c,{color:Bn.colors.gray500,size:"p4",className:"specialty"},s))))))},Ya=function(e){var t=e.articleLink,a=e.authorLink,i=e.authorName,o=e.avatarImg,r=e.banner,l=e.categoryLink,s=e.categoryName,d=e.className,p=e.dataEventActionForBanner,m=e.dataEventActionForBookmark,u=e.dataEventActionForCategory,g=e.dataEventActionForTitle,h=e.dataEventCategoryForBanner,f=e.dataEventCategoryForBookmark,x=e.dataEventCategoryForCategory,v=e.dataEventCategoryForTitle,y=e.dataEventLabelForBanner,b=e.dataEventLabelForBookmark,E=e.dataEventLabelForCategory,w=e.dataEventLabelForTitle,k=e.direction,C=void 0===k?"horizontal":k,L=e.hasAffiliate,M=e.isBookmark,S=void 0!==M&&M,T=e.isBookmarkDisplayed,N=void 0===T||T,z=e.isMobile,A=void 0===z||z,B=e.onBookmark,_=e.onClickCategoryName,D=e.section,F=void 0===D?"normal":D,P=e.size,H=void 0===P?"md":P,I=e.specialty,R=e.style,j=e.styleBanner,U=e.styleLabel,O=e.styleTitle,V=e.text,G=e.title,Z=e.type,Y=void 0===Z?"author":Z,W=e.uploadTime,Q=e.articleLinkTarget,q=function(n){n.stopPropagation(),B&&B()},K="lg"===H&&"expert"===Y?"h4":"lg"===H&&"home"===F?A?"h4":"h3":"lg"===H?"h4":"h5",J="lg"===H?"p3":"p4",X=A||"home"!==F||"lg"!==H||"author"!==Y?"c2":"c1";return n.createElement(Fn,{className:d,"data-size":H,style:R,"data-direction":C,"data-is-expert":"expert"===Y||void 0},n.createElement("div",{className:"banner",style:j},n.createElement(Pn,{"data-event-category":h,"data-event-action":p,"data-event-label":y,href:t||"#",target:Q},r),L&&n.createElement("div",{className:"shoppable"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),n.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),n.createElement("div",{className:"content"},n.createElement("div",{className:"inner-content"},n.createElement(c,{style:U,className:"label",size:X,type:"caption"},n.createElement(Pn,{"data-event-category":x,"data-event-action":u,"data-event-label":E,href:l||"#",onClick:_},s),N&&n.createElement("a",{className:"bookmark",onClick:q},S?n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),n.createElement(Sn,{tag:K,style:O,className:"title",as:"lg"===H?"h2":"h3"},n.createElement(Pn,{"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:Q},G)),V&&n.createElement("a",{href:t||"#",target:Q},n.createElement(c,{size:J,className:"text"},V))),n.createElement("div",{className:"footer"},"author"===Y?n.createElement(Ga,{size:H,avatarImg:o,authorName:i,authorLink:a,uploadTime:W,handleClick:q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}):n.createElement(Za,{size:H,isMobile:A,avatarImg:o,specialty:I,name:i,link:a,handleClick:q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}))))},Wa=function(e){var t=e.LinkComponent,a=e.page,i=e.isLast,o=e.onChangePage,r=a.label,l=a.value,s=a.isDropdown,c=a.dropdownItems,d=a.dataEventCategory,p=a.dataEventAction,m=a.dataEventLabel;return s?n.createElement(Ht,{options:c,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):n.createElement(Un,{title:"string"!=typeof r?l:r,"data-last":i},t&&n.createElement(t,{"data-event-category":d,"data-event-action":p,"data-event-label":m,href:l||"#"},r))},Qa=function(e){var t=e.className,i=e.pages,r=e.size,l=e.LinkComponent,s=void 0===l?"a":l,c=e.onChangePage,d=e.separator,p=a((function(){return i.map((function(n,e){return i.length>4?e>1&&e<i.length-2?null:1===e?gn(gn({},n),{isDropdown:1===e,dropdownItems:i.slice(1,i.length-2)}):n:n})).filter(Boolean)}),[i]),m=Pt(p.length);return n.createElement(Rn,{"data-size":r,className:t},p.map((function(e,t){var a=t+1===p.length;return n.createElement(o,{key:m[t]},n.createElement(Wa,{LinkComponent:s,page:e,isLast:a,onChangePage:c}),!a&&(d||n.createElement(jn,{"data-size":r})))})))},qa=function(e){var t=e.imgBanner,a=e.label,i=e.className,o=e.style,r=e.href,l=void 0===r?"":r,s=e.dataEventCategory,d=e.dataEventAction,p=e.dataEventLabel;return n.createElement(On,{"data-event-category":s,"data-event-action":d,"data-event-label":p,className:i,style:o,href:l,onClick:function(n){""===l&&n.preventDefault()}},n.createElement("div",{className:"banner"},t),n.createElement("div",{className:"content"},n.createElement(c,{className:"category_name",size:"sm",type:"bold"},a)))},Ka=function(e){var t=e.name,a=e.values,i=void 0===a?[]:a,o=e.onChanges,r=e.options,l=void 0===r?[]:r,s=e.className,c=e.type,d=void 0===c?"vertical":c,p=e.isDisabled,m=e.isRectangle,u=function(n,e){var t=i.slice();if(e)t.push(n);else{var a=t.findIndex((function(e){return e===n}));t.splice(a,1)}o&&o(t)};return n.createElement(Vn,{className:s,"data-type":d,"data-is-rectangle":m||void 0},l.map((function(e,a){return n.createElement(Aa,{label:e.label,name:t,key:"".concat(a,"-").concat(e.value),checked:i.includes(e.value),value:e.value,isDisabled:p||e.disabled,onChange:!p&&u,isRectangle:m})})))},Ja={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},Xa=function(a){var o=a.alignRight,r=void 0===o||o,l=a.placeholder,s=a.displayDateFormat,c=a.onChange,d=a.customInput,p=a.pickedDate,m=a.className,u=a.isStatic,g=a.disabledDays,h=a.modifiers,f=a.UnHideOnClickOutside,x=a.initialMonth,v=a.locale,y=void 0===v?"en-PH":v,b=t(!1),E=Rt,w=e(x||new Date),k=w[0],C=w[1],L=t(null),M=t(null),S=Ja[y],T=function(n){f||L.current&&L.current.contains(n.target)||M.current&&M.current.hideDayPicker()},N=(new Date).getFullYear(),z=new Date(N-150,0),A=new Date(N+1,0),B=function(e){for(var t=e.date,a=e.onChange,i=e.monthLabels,o=[],r=A.getFullYear();r>=z.getFullYear();r-=1)o.push(r);var l=function(n){var e=n.target.form,t=e.year,i=e.month;a(new Date(t.value,i.value))};return n.createElement("div",{className:"DayPicker-Caption"},n.createElement(Zn,null,n.createElement("select",{name:"month",onChange:l,value:t.getMonth()},i.map((function(e,t){return n.createElement("option",{key:e,value:t},e)}))),n.createElement("select",{name:"year",onChange:l,value:t.getFullYear()},o.map((function(e){return n.createElement("option",{key:e,value:e},e)})))))};return i((function(){return document.addEventListener("mousedown",T,!1),function(){document.removeEventListener("mousedown",T,!1)}}),[]),n.createElement(Gn,{className:m,"data-align-right":r,ref:L,"data-is-static":u||void 0},n.createElement(Kt,{ref:M,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:d&&n.forwardRef((function(e,t){return n.createElement(d,gn({},e))})),onDayPickerHide:function(){b.current=!1},onDayPickerShow:function(){b.current=!0},dayPickerProps:{month:k,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!u,firstDayOfWeek:1,captionElement:function(e){var t=e.date,a=e.localeUtils.getMonths();return n.createElement(B,{date:t,monthLabels:S||a,onChange:C})},disabledDays:g||void 0,modifiers:h},format:s||"yyyy-MM-dd",formatDate:function(n,e){return E(n,e)},hideOnDayClick:!u,placeholder:l||"",onDayChange:function(n){var e;e=n,M.current&&!u&&M.current.hideDayPicker(),c&&c(e)},showOverlay:u}))},$a=function(e){var t=e.size,a=e.iconPosition,i=e.className,o=e.children,r=e.icon;return n.createElement(Yn,{className:i,"data-size":t,"data-icon-position":a},"left"===a&&r,o,"right"===a&&r)},ni=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},ei=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},ti=function(a){var o=a.type,r=void 0===o?"lead":o,l=a.closeIcon,s=a.isOpen,c=void 0===s||s,d=a.onClose,p=a.children,m=a.className,u=void 0===m?"":m,g=a.animationType,h=void 0===g?"slideTop":g,f=a.isStaticBackdrop,x=void 0!==f&&f,v=e(!1),y=v[0],b=v[1],E=t(null),w=Jt().width;if(!E.current&&y&&(E.current=document.createElement("div")),i((function(){return b(!0),function(){b(!1),ni(),ei()}}),[]),i((function(){if(y){var n=((e=document.getElementById("hhg-modals"))||((e=document.createElement("div")).setAttribute("id","hhg-modals"),document.body.append(e)),e);return n.appendChild(E.current),function(){n.removeChild(E.current)}}var e}),[y]),i((function(){c?document.body.classList.add("hhc-modal-show"):ni()}),[c]),i((function(){c?(document.body.style.overflow="hidden",document.body.style.paddingRight=w+"px",document.body.classList.add("hhc-disabled-scroll")):ei()}),[c,w]),!y)return null;var k=["hhg-modal__wrapper",u,h].filter((function(n){return n})).join(" ");return An(n.createElement(Wn,{className:k,"data-open":c,"data-type":r},!x&&n.createElement(Qn,{"data-open":c,onClick:d,"data-type":r}),!x&&"video"===r&&!!l&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),n.createElement(qn,{className:"hhg-modal","data-open":c},n.createElement("div",{className:"video"===r?"hhg-modal__video":"hhg-modal__content"},!!l&&"video"!==r&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),p))),E.current)},ai=function(t){var a=t.type,o=t.numberOfStep,l=t.activeStep,s=t.labelPrefix,c=t.detailSteps,d=t.className,p=t.onChange,m=e(0),u=m[0],g=m[1],h=function(e){var t=e.trackClassName,a=fn(e,["trackClassName"]);return n.createElement($n,gn({},a,{className:t}),n.createElement(ne,null))},f=n.createElement(Kn,{className:d+" progress-bar"},n.createElement(h,null),n.createElement((function(e){var t=e.trackLength,a=e.activeStep,i=e.labelPrefix,r=void 0===i?"Step":i,l=e.onChange;return n.createElement(n.Fragment,null,Array.from({length:o},(function(n,e){return e})).map((function(e,i){return n.createElement(ee,{"data-is-active":i===a,"data-label":i,style:{left:i*t/(o-1)},onClick:function(){l&&l(i)},key:i},i+1,n.createElement(te,{"data-step-passed":i<=a},r+" "+(i+1)))})))}),{trackLength:u,activeStep:l,labelPrefix:s,onChange:p})),x=n.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},n.createElement("title",null,"chevron-right"),n.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),v=n.createElement(Jn,null,c&&Array.from({length:c.length},(function(n,e){return e})).map((function(e,t){var a;return n.createElement(Xn,{key:t,"data-selected":t===l,onClick:function(){p&&p(t)}},null===(a=c[t])||void 0===a?void 0:a.text," ",t<c.length-1&&x)}))),y=n.createElement(Kn,{className:d+" progress-bar"},n.createElement((function(e){var t=e.detailSteps,a=e.activeStep,i=e.onChange,o=Pt(t.length);return n.createElement(n.Fragment,null,Array.from({length:t.length},(function(n,e){return e})).map((function(e,r){return n.createElement(ae,{key:o[r],style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:function(){i&&i(r)}},t[r].icon?n.createElement(ie,{onClick:function(){i&&i(r)}},t[r].icon):n.createElement(oe,{"data-is-active":r===a,"data-label":e,onClick:function(){i&&i(r)},key:r},r+1),n.createElement(re,{"data-step-passed":r<a+1},t[r].text,n.createElement(le,null,t[r].description)),r<t.length-1&&n.createElement(h,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:l,detailSteps:c,onChange:p})),b=r(Xt((function(){var n=document.querySelector(".progress-bar");n&&g(n.offsetWidth)}),1e3),[]);return i((function(){var n=document.querySelector(".progress-bar");return g(null==n?void 0:n.offsetWidth),window.addEventListener("resize",b),function(){window.removeEventListener("resize",b)}}),[]),"step-track"===a&&f||"breadcrumb"===a&&v||"detail-track"===a&&y},ii=function(t){var a=t.id,i=t.value,r=t.options,l=t.className,s=t.type,c=void 0===s?"circle":s,d=t.isDisabled,p=t.size,m=void 0===p?"small":p,u=t.direction,g=void 0===u?"vertical":u,h=t.group,f=void 0===h?"group1":h,x=t.onChange,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=e(i),w=E[0],k=E[1],C=function(n){k(n),x&&x(n)};return n.createElement(se,{className:l,"data-direction":g,"data-group":f},r.map((function(e){var t=w===e.value;return n.createElement(o,{key:"".concat(a,"-").concat(e.value)},n.createElement(ka,{type:c,size:m,label:e.label,name:a,checked:t,value:e.value,isDisabled:d,onChange:!d&&C,dataEventCategory:v,dataEventAction:y,dataEventLabel:b}),t&&e.renderActivated&&e.renderActivated())})))},oi=Object.freeze({__proto__:null,SideMenu:ce,SideHeader:de,UserInfo:pe,MenuLink:me}),ri=n;function li(n){return Array.prototype.slice.call(n)}function si(n,e){var t=Math.floor(n);return t===e||t+1===e?n:e}function ci(){return Date.now()}function di(n,e,t){if(e="data-keen-slider-"+e,null===t)return n.removeAttribute(e);n.setAttribute(e,t||"")}function pi(n,e){return e=e||document,"function"==typeof n&&(n=n(e)),Array.isArray(n)?n:"string"==typeof n?li(e.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?li(n):[]}function mi(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function ui(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function gi(){var n=[];return{add:function(e,t,a,i){e.addListener?e.addListener(a):e.addEventListener(t,a,i),n.push([e,t,a,i])},input:function(n,e,t,a){this.add(n,e,function(n){return function(e){e.nativeEvent&&(e=e.nativeEvent);var t=e.changedTouches||[],a=e.targetTouches||[],i=e.detail&&e.detail.x?e.detail:null;return n({id:i?i.identifier?i.identifier:"i":a[0]?a[0]?a[0].identifier:"e":"d",idChanged:i?i.identifier?i.identifier:"i":t[0]?t[0]?t[0].identifier:"e":"d",raw:e,x:i&&i.x?i.x:a[0]?a[0].screenX:i?i.x:e.pageX,y:i&&i.y?i.y:a[0]?a[0].screenY:i?i.y:e.pageY})}}(t),a)},purge:function(){n.forEach((function(n){n[0].removeListener?n[0].removeListener(n[2]):n[0].removeEventListener(n[1],n[2],n[3])})),n=[]}}}function hi(n,e,t){return Math.min(Math.max(n,e),t)}function fi(n){return(n>0?1:0)-(n<0?1:0)||+n}function xi(n){var e=n.getBoundingClientRect();return{height:si(e.height,n.offsetHeight),width:si(e.width,n.offsetWidth)}}function vi(n,e,t,a){var i=n&&n[e];return null==i?t:a&&"function"==typeof i?i():i}function yi(n){return Math.round(1e6*n)/1e6}function bi(n,e){if(n===e)return!0;var t=typeof n;if(t!==typeof e)return!1;if("object"!==t||null===n||null===e)return"function"===t&&n.toString()===e.toString();if(n.length!==e.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(e).length)return!1;for(var a in n)if(!bi(n[a],e[a]))return!1;return!0}var Ei=function(){return Ei=Object.assign||function(n){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n},Ei.apply(this,arguments)};function wi(n,e,t){if(t||2===arguments.length)for(var a,i=0,o=e.length;i<o;i++)!a&&i in e||(a||(a=Array.prototype.slice.call(e,0,i)),a[i]=e[i]);return n.concat(a||Array.prototype.slice.call(e))}function ki(n){var e,t,a,i,o,r,l,s,c,d,p,m,u,g,h=1/0,f=[],x=null,v=0;function y(n){T(v+n)}function b(n){var e=E(v+n).abs;return C(e)?e:null}function E(n){var e=Math.floor(Math.abs(yi(n/t))),a=yi((n%t+t)%t);a===t&&(a=0);var i=fi(n),o=l.indexOf(wi([],l,!0).reduce((function(n,e){return Math.abs(e-a)<Math.abs(n-a)?e:n}))),s=o;return i<0&&e++,o===r&&(s=0,e+=i>0?1:-1),{abs:s+e*r*i,origin:o,rel:s}}function w(n,e,t){var a;if(e||!M())return k(n,t);if(!C(n))return null;var i=E(null!=t?t:v),o=i.abs,l=n-i.rel,s=o+l;a=k(s);var c=k(s-r*fi(l));return(null!==c&&Math.abs(c)<Math.abs(a)||null===a)&&(a=c),yi(a)}function k(n,e){if(null==e&&(e=yi(v)),!C(n)||null===n)return null;n=Math.round(n);var a=E(e),i=a.abs,o=a.rel,s=a.origin,c=S(n),d=(e%t+t)%t,p=l[s],m=Math.floor((n-(i-o))/r)*t;return yi(p-d-p+l[c]+m+(s===r?t:0))}function C(n){return L(n)===n}function L(n){return hi(n,c,d)}function M(){return i.loop}function S(n){return(n%r+r)%r}function T(e){var t;t=e-v,f.push({distance:t,timestamp:ci()}),f.length>6&&(f=f.slice(-6)),v=yi(e);var a=N().abs;if(a!==x){var i=null!==x;x=a,i&&n.emit("slideChanged")}}function N(l){var s=l?null:function(){if(r){var n=M(),e=n?(v%t+t)%t:v,l=(n?v%t:v)-o[0][2],s=0-(l<0&&n?t-Math.abs(l):l),h=0,f=E(v),x=f.abs,y=f.rel,b=o[y][2],w=o.map((function(e,a){var o=s+h;(o<0-e[0]||o>1)&&(o+=(Math.abs(o)>t-1&&n?t:0)*fi(-o));var l=a-y,c=fi(l),d=l+x;n&&(-1===c&&o>b&&(d+=r),1===c&&o<b&&(d-=r),null!==p&&d<p&&(o+=t),null!==m&&d>m&&(o-=t));var u=o+e[0]+e[1],g=Math.max(o>=0&&u<=1?1:u<0||o>1?0:o<0?Math.min(1,(e[0]+o)/e[0]):(1-o)/e[0],0);return h+=e[0]+e[1],{abs:d,distance:i.rtl?-1*o+1-e[0]:o,portion:g,size:e[0]}}));return x=L(x),y=S(x),{abs:L(x),length:a,max:g,maxIdx:d,min:u,minIdx:c,position:v,progress:n?e/t:v/a,rel:y,slides:w,slidesLength:t}}}();return e.details=s,n.emit("detailsChanged"),s}return e={absToRel:S,add:y,details:null,distToIdx:b,idxToDist:w,init:function(e){if(function(){if(i=n.options,o=(i.trackConfig||[]).map((function(n){return[vi(n,"size",1),vi(n,"spacing",0),vi(n,"origin",0)]})),r=o.length){t=yi(o.reduce((function(n,e){return n+e[0]+e[1]}),0));var e,c=r-1;a=yi(t+o[0][2]-o[c][0]-o[c][2]-o[c][1]),l=o.reduce((function(n,t){if(!n)return[0];var a=o[n.length-1],i=n[n.length-1]+(a[0]+a[2])+a[1];return i-=t[2],n[n.length-1]>i&&(i=n[n.length-1]),i=yi(i),n.push(i),(!e||e<i)&&(s=n.length-1),e=i,n}),null),0===a&&(s=0),l.push(yi(t))}}(),!r)return N(!0);var f;!function(){var e=n.options.range,t=n.options.loop;p=c=t?vi(t,"min",-1/0):0,m=d=t?vi(t,"max",h):s;var a=vi(e,"min",null),i=vi(e,"max",null);a&&(c=a),i&&(d=i),u=c===-1/0?c:n.track.idxToDist(c||0,!0,0),g=d===h?d:w(d,!0,0),null===i&&(m=d),vi(e,"align",!1)&&d!==h&&0===o[S(d)][2]&&(g-=1-o[S(d)][0],d=b(g-v)),u=yi(u),g=yi(g)}(),f=e,Number(f)===f?y(k(L(e))):N()},to:T,velocity:function(){var n=ci(),e=f.reduce((function(e,t){var a=t.distance,i=t.timestamp;return n-i>200||(fi(a)!==fi(e.distance)&&e.distance&&(e={distance:0,lastTimestamp:0,time:0}),e.time&&(e.distance+=a),e.lastTimestamp&&(e.time+=i-e.lastTimestamp),e.lastTimestamp=i),e}),{distance:0,lastTimestamp:0,time:0});return e.distance/e.time||0}}}function Ci(n){var e,t,a,i,o,r,l;function s(n){return 2*n}function c(n){return hi(n,r,l)}function d(n){return 1-Math.pow(1-n,3)}function p(){g();var e="free-snap"===n.options.mode,t=n.track,r=t.velocity();a=fi(r);var l=n.track.details,p=[];if(r||!e){var u=m(r),h=u.dist,f=u.dur;if(f=s(f),h*=a,e){var x=t.idxToDist(t.distToIdx(h),!0);x&&(h=x)}p.push({distance:h,duration:f,easing:d});var v=l.position,y=v+h;if(y<i||y>o){var b=y<i?i-v:o-v,E=0,w=r;if(fi(b)===a){var k=Math.min(Math.abs(b)/Math.abs(h),1),C=function(n){return 1-Math.pow(1-n,1/3)}(k)*f;p[0].earlyExit=C,w=r*(1-k)}else p[0].earlyExit=0,E+=b;var L=m(w,100),M=L.dist*a;n.options.rubberband&&(p.push({distance:M,duration:s(L.dur),easing:d}),p.push({distance:-M+E,duration:500,easing:d}))}n.animator.start(p)}else n.moveToIdx(c(l.abs),!0,{duration:500,easing:function(n){return 1+--n*n*n*n*n}})}function m(n,e){void 0===e&&(e=1e3);var t=147e-9+(n=Math.abs(n))/e;return{dist:Math.pow(n,2)/t,dur:n/t}}function u(){var e=n.track.details;e&&(i=e.min,o=e.max,r=e.minIdx,l=e.maxIdx)}function g(){n.animator.stop()}n.on("updated",u),n.on("optionsChanged",u),n.on("created",u),n.on("dragStarted",(function(){g(),e=t=n.track.details.abs})),n.on("dragEnded",(function(){var a=n.options.mode;"snap"===a&&function(){var a=n.track,r=n.track.details,l=r.position,s=fi(a.velocity());(l>o||l<i)&&(s=0);var d=e+s;0===r.slides[a.absToRel(d)].portion&&(d-=s),e!==t&&(d=t),fi(a.idxToDist(d,!0))!==s&&(d+=s),d=c(d);var p=a.idxToDist(d,!0);n.animator.start([{distance:p,duration:500,easing:function(n){return 1+--n*n*n*n*n}}])}(),"free"!==a&&"free-snap"!==a||p()})),n.on("dragged",(function(){t=n.track.details.abs}))}function Li(n){var e,t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y=gi();function b(e){if(r&&s===e.id){var u=C(e);if(c){if(!k(e))return w(e);d=u,c=!1,n.emit("dragChecked")}if(f)return d=u;mi(e);var g=function(e){if(x===-1/0&&v===1/0)return e;var a=n.track.details,r=a.length,l=a.position,s=hi(e,x-l,v-l);if(0===r)return 0;if(!n.options.rubberband)return s;if(l<=v&&l>=x)return e;if(l<x&&t>0||l>v&&t<0)return e;var c=(l<x?l-x:l-v)/r,d=i*r,p=Math.abs(c*d),m=Math.max(0,1-p/o*2);return m*m*e}(l(d-u)/i*a);t=fi(g);var h=n.track.details.position;(h>x&&h<v||h===x&&t>0||h===v&&t<0)&&ui(e),p+=g,!m&&Math.abs(p*i)>5&&(m=!0),n.track.add(g),d=u,n.emit("dragged")}}function E(e){!r&&n.track.details&&n.track.details.length&&(p=0,r=!0,m=!1,c=!0,s=e.id,k(e),d=C(e),n.emit("dragStarted"))}function w(e){r&&s===e.idChanged&&(r=!1,n.emit("dragEnded"))}function k(n){var e=L(),t=e?n.y:n.x,a=e?n.x:n.y,i=void 0!==u&&void 0!==g&&Math.abs(g-a)<=Math.abs(u-t);return u=t,g=a,i}function C(n){return L()?n.y:n.x}function L(){return n.options.vertical}function M(){i=n.size,o=L()?window.innerHeight:window.innerWidth;var e=n.track.details;e&&(x=e.min,v=e.max)}function S(n){m&&(ui(n),mi(n))}function T(){if(y.purge(),n.options.drag&&!n.options.disabled){var t;t=n.options.dragSpeed||1,l="function"==typeof t?t:function(n){return n*t},a=n.options.rtl?-1:1,M(),e=n.container,function(){var n="data-keen-slider-clickable";pi("[".concat(n,"]:not([").concat(n,"=false])"),e).map((function(n){y.add(n,"mousedown",ui),y.add(n,"touchstart",ui)}))}(),y.add(e,"dragstart",(function(n){mi(n)})),y.add(e,"click",S,{capture:!0}),y.input(e,"ksDragStart",E),y.input(e,"ksDrag",b),y.input(e,"ksDragEnd",w),y.input(e,"mousedown",E),y.input(e,"mousemove",b),y.input(e,"mouseleave",w),y.input(e,"mouseup",w),y.input(e,"touchstart",E,{passive:!0}),y.input(e,"touchmove",b,{passive:!1}),y.input(e,"touchend",w),y.input(e,"touchcancel",w),y.add(window,"wheel",(function(n){r&&mi(n)}));var i="data-keen-slider-scrollable";pi("[".concat(i,"]:not([").concat(i,"=false])"),n.container).map((function(n){return function(n){var e;y.input(n,"touchstart",(function(n){e=C(n),f=!0,h=!0}),{passive:!0}),y.input(n,"touchmove",(function(t){var a=L(),i=a?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,o=e-C(t),r=a?n.scrollTop:n.scrollLeft,l=a&&"scroll"===n.style.overflowY||!a&&"scroll"===n.style.overflowX;if(e=C(t),(o<0&&r>0||o>0&&r<i)&&h&&l)return f=!0;h=!1,mi(t),f=!1})),y.input(n,"touchend",(function(){f=!1}))}(n)}))}}n.on("updated",M),n.on("optionsChanged",T),n.on("created",T),n.on("destroyed",y.purge)}function Mi(n){var e,t,a=null;function i(e,t,a){n.animator.active?r(e,t,a):requestAnimationFrame((function(){return r(e,t,a)}))}function o(){i(!1,!1,t)}function r(t,i,o){var r=0,l=n.size,d=n.track.details;if(d&&e){var p=d.slides;e.forEach((function(n,e){if(t)!a&&i&&s(n,null,o),c(n,null,o);else{if(!p[e])return;var d=p[e].size*l;!a&&i&&s(n,d,o),c(n,p[e].distance*l-r,o),r+=d}}))}}function l(e){return"performance"===n.options.renderMode?Math.round(e):e}function s(n,e,t){var a=t?"height":"width";null!==e&&(e=l(e)+"px"),n.style["min-"+a]=e,n.style["max-"+a]=e}function c(n,e,t){if(null!==e){e=l(e);var a=t?e:0;e="translate3d(".concat(t?0:e,"px, ").concat(a,"px, 0)")}n.style.transform=e,n.style["-webkit-transform"]=e}function d(){e&&(r(!0,!0,t),e=null),n.on("detailsChanged",o,!0)}function p(){i(!1,!0,t)}function m(){d(),t=n.options.vertical,n.options.disabled||"custom"===n.options.renderMode||(a="auto"===vi(n.options.slides,"perView",null),n.on("detailsChanged",o),(e=n.slides).length&&p())}n.on("created",m),n.on("optionsChanged",m),n.on("beforeOptionsChanged",(function(){d()})),n.on("updated",p),n.on("destroyed",d)}function Si(n,e){return function(t){var a,i,o,r,l,s=gi();function c(n){var e;di(t.container,"reverse","rtl"!==(e=t.container,window.getComputedStyle(e,null).getPropertyValue("direction"))||n?null:""),di(t.container,"v",t.options.vertical&&!n?"":null),di(t.container,"disabled",t.options.disabled&&!n?"":null)}function d(){p()&&f()}function p(){var n=null;if(r.forEach((function(e){e.matches&&(n=e.__media)})),n===a)return!1;a||t.emit("beforeOptionsChanged"),a=n;var e=n?o.breakpoints[n]:o;return t.options=Ei(Ei({},o),e),c(),E(),w(),v(),!0}function m(n){var e=xi(n);return(t.options.vertical?e.height:e.width)/t.size||1}function u(){return t.options.trackConfig.length}function g(n){for(var l in a=!1,o=Ei(Ei({},e),n),s.purge(),i=t.size,r=[],o.breakpoints||[]){var c=window.matchMedia(l);c.__media=l,r.push(c),s.add(c,"change",d)}s.add(window,"orientationchange",b),s.add(window,"resize",y),p()}function h(n){t.animator.stop();var e=t.track.details;t.track.init(null!=n?n:e?e.abs:0)}function f(n){h(n),t.emit("optionsChanged")}function x(n,e){if(n)return g(n),void f(e);E(),w();var a=u();v(),u()!==a?f(e):h(e),t.emit("updated")}function v(){var n=t.options.slides;if("function"==typeof n)return t.options.trackConfig=n(t.size,t.slides);for(var e=t.slides,a=e.length,i="number"==typeof n?n:vi(n,"number",a,!0),o=[],r=vi(n,"perView",1,!0),l=vi(n,"spacing",0,!0)/t.size||0,s="auto"===r?l:l/r,c=vi(n,"origin","auto"),d=0,p=0;p<i;p++){var u="auto"===r?m(e[p]):1/r-l+s,g="center"===c?.5-u/2:"auto"===c?0:c;o.push({origin:g,size:u,spacing:l}),d+=u}if(d+=l*(i-1),"auto"===c&&!t.options.loop&&1!==r){var h=0;o.map((function(n){var e=d-h;return h+=n.size+l,e>=1||(n.origin=1-e-(d>1?0:1-d)),n}))}t.options.trackConfig=o}function y(){E();var n=t.size;t.options.disabled||n===i||(i=n,x())}function b(){y(),setTimeout(y,500),setTimeout(y,2e3)}function E(){var n=xi(t.container);t.size=(t.options.vertical?n.height:n.width)||1}function w(){t.slides=pi(t.options.selector,t.container)}t.container=(l=pi(n,document)).length?l[0]:null,t.destroy=function(){s.purge(),t.emit("destroyed"),c(!0)},t.prev=function(){t.moveToIdx(t.track.details.abs-1,!0)},t.next=function(){t.moveToIdx(t.track.details.abs+1,!0)},t.update=x,g(t.options)}}var Ti=function(n,e,t){try{return function(n,e){var t,a={};return t={emit:function(n){a[n]&&a[n].forEach((function(n){n(t)}));var e=t.options&&t.options[n];e&&e(t)},moveToIdx:function(n,e,a){var i=t.track.idxToDist(n,e);if(i){var o=t.options.defaultAnimation;t.animator.start([{distance:i,duration:vi(a||o,"duration",500),easing:vi(a||o,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,e,t){void 0===t&&(t=!1),a[n]||(a[n]=[]);var i=a[n].indexOf(e);i>-1?t&&delete a[n][i]:t||a[n].push(e)},options:n},function(){if(t.track=ki(t),t.animator=function(n){var e,t,a,i,o,r;function l(e){r||(r=e),s(!0);var o=e-r;o>a&&(o=a);var p=i[t];if(p[3]<o)return t++,l(e);var m=p[2],u=p[4],g=p[0],h=p[1]*(0,p[5])(0===u?1:(o-m)/u);if(h&&n.track.to(g+h),o<a)return d();r=null,s(!1),c(null),n.emit("animationEnded")}function s(n){e.active=n}function c(n){e.targetIdx=n}function d(){var n;n=l,o=window.requestAnimationFrame(n)}function p(){var e;e=o,window.cancelAnimationFrame(e),s(!1),c(null),r&&n.emit("animationStopped"),r=null}return e={active:!1,start:function(e){if(p(),n.track.details){var o=0,r=n.track.details.position;t=0,a=0,i=e.map((function(n){var e,t=r,i=null!==(e=n.earlyExit)&&void 0!==e?e:n.duration,l=n.easing,s=n.distance*l(i/n.duration)||0;r+=s;var c=a;return a+=i,o+=s,[t,n.distance,c,a,n.duration,l]})),c(n.track.distToIdx(o)),d(),n.emit("animationStarted")}},stop:p,targetIdx:null}}(t),e)for(var n=0,a=e;n<a.length;n++)(0,a[n])(t);t.track.init(t.options.initial||0),t.emit("created")}(),t}(e,wi([Si(n,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),Mi,Li,Ci],t||[],!0))}catch(n){console.error(n)}},Ni=function(n,e){var t=ri.useRef(null),a=ri.useRef(!1),i=ri.useRef(n),o=ri.useCallback((function(o){o?(i.current=n,t.current=new Ti(o,n,e),a.current=!1):(t.current&&t.current.destroy&&t.current.destroy(),t.current=null)}),[]);return ri.useEffect((function(){bi(i.current,n)||(i.current=n,t.current&&t.current.update(i.current))}),[n]),[o,t]},zi=function(e){var t=e.isDisabled,a=e.isLeft,i=e.onClick,o=e.className,r=e.scheme,l=void 0===r?"hellosites":r;return n.createElement(he,{onClick:i,"data-is-disabled":t,"data-is-left":a,className:o},n.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?n.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===l?"#595959":"#E55C8A"}):n.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===l?"#595959":"#E55C8A"})))},Ai=function(t){for(var a=t.row,i=t.column,o=t.children,r=t.scheme,l=void 0===r?"hellosites":r,s=t.classNameLeftArrow,c=void 0===s?"":s,d=t.classNameRightArrow,p=void 0===d?"":d,m=t.mode,u=void 0===m?"snap":m,g=t.isDotsShown,h=void 0===g||g,f=t.isArrowShown,x=void 0!==f&&f,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=t.onChangePage,w=n.useState(0),k=w[0],C=w[1],L=e(!1),M=L[0],S=L[1],T=Ni({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(n){C(n.track.details.rel),E&&E(n.track.details.rel)},created:function(){S(!0)},drag:!0,mode:u,slides:{spacing:12}}),N=T[0],z=T[1],A=[],B=a*i,_=0;_<o.length;_+=B){var D=o.slice(_,_+B);A.push(D)}return n.createElement(ue,{row:a,column:i},n.createElement("div",{className:"navigation-wrapper"},n.createElement("div",{ref:N,className:"keen-slider slides-wrapper"},A.map((function(e,t){return n.createElement("div",{key:t,className:"keen-slider__slide page-items"},e.map((function(e,t){return n.createElement("div",{key:t},e)})))}))),M&&z.current&&x&&n.createElement(n.Fragment,null,n.createElement(zi,{isLeft:!0,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.prev())},isDisabled:0===k,scheme:l,className:"left-arrow ".concat(c),"data-event-category":v,"data-event-action":y,"data-event-label":b}),n.createElement(zi,{isLeft:!1,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.next())},isDisabled:k===z.current.track.details.slides.length-1,scheme:l,className:"right-arrow ".concat(p),"data-event-category":v,"data-event-action":y,"data-event-label":b}))),M&&z.current&&h&&n.createElement("div",{className:"dots"},hn([],Array(z.current.track.details.slides.length),!0).map((function(e,t){return n.createElement(ge,{key:t,onClick:function(){var n;null===(n=z.current)||void 0===n||n.moveToIdx(t)},"data-is-active":k===t,"data-is-hellosites":"hellosites"===l})}))))},Bi=function(e){var t=e.type,a=e.description,i=e.value,o=e.withIcon,r=e.isInACard,l=e.cardColor,s=e.className;return n.createElement(fe,{className:s,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":l},n.createElement(xe,null,"small"===t&&n.createElement(ve,{"data-color":l}),a),n.createElement(ye,{"data-size":t},"small"!==t&&o,i))},_i=Object.freeze({__proto__:null,Table:be,Cell:Ee,Head:we,Row:ke,Body:Ce}),Di=function(t){var a=t.style,o=t.initialTab,r=t.tabContent,l=t.onChange,s=t.className,d=t.dataEventCategory,p=t.dataEventAction,m=t.dataEventLabel,u=e(o||0),g=u[0],h=u[1],f=Pt(r.length);return i((function(){h(o)}),[o]),n.createElement(Le,{style:a,className:s,role:"tablist"},r.map((function(e,t){return n.createElement(Me,{"data-is-tab-active":g===t||void 0,"aria-selected":g===t,role:"tab",onClick:function(){h(t),l&&l(t)},key:f[t],"data-event-category":d,"data-event-action":p,"data-event-label":m},n.createElement(Se,null,e.icon&&n.createElement(Te,null,e.icon),n.createElement(c,{size:e.textSize||"sm",type:e.textType||"bold",color:e.textColor||Bn.colors.gray800,dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name)))})))},Fi=function(e){var t=e.thankyou,a=e.thankyouSubtitle,i=e.className,o=e.style;return n.createElement(Ne,{className:i,style:o},n.createElement("div",{className:"survey-inner-wrapper"},n.createElement(ze,null,n.createElement("div",{className:"survey-thankyou-wrapper-inner"},n.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},n.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),n.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),n.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),n.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),n.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),n.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),n.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),n.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),t&&n.createElement(Sn,{className:"survey-thankyou-title",tag:"h3"},t),a&&n.createElement(c,{className:"survey-thankyou-subtitle",size:"p3"},a)))))},Pi=function(t){var a=t.items,o=t.className,r=t.style,l=t.backgroundPanelStyle,s=t.isOpen,c=t.onOpen,d=t.onClose,p=t.disableBackdropClick,m=t.siteType,u=void 0===m?"hb":m,g=t.animationType,h=void 0===g?"zoom":g,f=t.zIndex,x=void 0===f?300:f,v=e(!!s),y=v[0],b=v[1];i((function(){b(!!s)}),[s]);var E=function(){b(!1),d&&d()};return n.createElement(Ae,{style:r,className:o,"data-floatmenu-open":y,"data-site-type":u,"data-animation-type":h},n.createElement(Be,{className:"float-button-group__panel",style:gn({zIndex:x},l),onClick:p?void 0:E}),n.createElement(_e,{className:"float-button-group___content",style:{zIndex:x}},n.createElement(De,null,a.map((function(e,t){return n.createElement(Fe,{className:"float-item-button-".concat(t),style:gn(gn({},"zoom"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")}),"slide"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Pe/a.length*(y?t:a.length-1-t),"ms")}),key:t,onClick:function(){e.onClick(),e.keepMenuOnClick||b(!1)}},n.createElement(He,{style:gn({},"zoom"===h&&{transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")})},e.label),n.createElement(Ie,{className:"float-item-button__icon-wrapper",style:gn({},("zoom"===h||"slide"===h)&&{transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")})},e.icon))}))),n.createElement(Re,{onClick:y?E:function(){b(!0),c&&c()}})))},Hi=function(e){var t=e.className,a=e.policiesUrl,i=e.onAcceptClick,o=e.translations,r=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,l=e.title,s=void 0===l?"":l,c=e.description,d=void 0===c?"":c,p=e.theme,m=void 0===p?"helloSites":p,u=e.isOpen,g=void 0===u||u,h=e.useDefaultPosition,f=void 0===h||h,x=e.trackingAttributes;return n.createElement(je,{className:t,"data-theme":m,"data-is-open":g,"data-default-position":f},n.createElement(Ue,{"data-has-content":!!s},s),n.createElement(Oe,{dangerouslySetInnerHTML:{__html:d}}),n.createElement(Ve,null,n.createElement(Ge,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:i,"data-event-category":null==x?void 0:x.dataEventCategory,"data-event-action":null==x?void 0:x.dataEventAction,"data-event-label":null==x?void 0:x.dataEventLabel},r.acceptButton),n.createElement(Ze,{href:a},r.policiesButton)))},Ii=function(e){var t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y,b,E=e.SEOData,w=void 0===E?{}:E,k=e.isAmp,C=void 0!==k&&k,L=e.locale,M=void 0===L?"vi-VN":L,S=e.routerPathname,T=e.routerQuery,N=e.nextHead,z=e.siteType,A=e.seoCustom,B=e.userId,_=e.forcedCanonicalUrl,D=w.totalPages,F=w.currentPage,P=w.SEOTitle,H=void 0===P?"":P,I=w.SEODescription,R=void 0===I?"":I,j=w.SEOImage,U=w.seoType,O=w.SEOImageWidth,V=w.SEOImageHeight,G=w.customMetaData,Z=void 0===G?[]:G,Y=w.isIndexable,W=void 0===Y||Y,Q=w.hasNoCanonical,q=void 0!==Q&&Q,K=W&&_n?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",J=process.env.NEXT_PUBLIC_BASE_API_URL,X=w.canonicalUrl||S;Object.keys(T).forEach((function(n){var e=T[n];e&&Array.isArray(e)&&(X=X.replace("[...".concat(n,"]"),e.join("/")))}));var $,nn=M||"en-PH",en="helloSites"===z?ta[nn]:"www.marrybaby.vn",tn=X.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var an=null===(t=w.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),on=" - Page ".concat(F," of ").concat(D),rn=F&&1!==F&&an?w.apiMetaData.replace(an[0],an[0].includes("-")?an[0].replace("-",on+" - "):"<title>".concat(an[1].concat(on),"</title>")).replace('<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,'" />'),'<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,"?page=").concat(F,'" />')):w.apiMetaData,ln=($=Ye(rn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!ln){var sn="https://".concat(en,"/images/").concat(M,".png");$=hn(hn([],$,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=w.openGraph)||void 0===a?void 0:a.image)||sn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=w.openGraph)||void 0===i?void 0:i.image)||sn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=w.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=w.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=w.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=w.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var cn="https://".concat(en,"/images/").concat(M,".png");return n.createElement(N,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===z&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?n.createElement(n.Fragment,null):n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),n.createElement("link",{rel:"preconnect",href:J}),n.createElement("meta",{charSet:"UTF-8"}),!C&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:K}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Z.map((function(e,t){return n.createElement("meta",gn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===z?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:nn}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),C&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!$&&n.createElement(n.Fragment,null,"helloSites"===z?n.createElement("title",null,A?H:H+" - "+(null===(c=na[M])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,H),!q&&n.createElement("link",{rel:"canonical",href:"https://".concat(en).concat(X)}),n.createElement("meta",{name:"description",content:R||(null===(d=w.openGraph)||void 0===d?void 0:d.description)}),w.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),n.createElement("meta",{property:"og:locale",content:M}),n.createElement("meta",{property:"og:type",content:U||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=w.openGraph)||void 0===p?void 0:p.title)||H}),n.createElement("meta",{property:"og:description",content:(null===(m=w.openGraph)||void 0===m?void 0:m.description)||R}),n.createElement("meta",{property:"og:url",content:"https://".concat(en).concat(X)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(en)}),n.createElement("meta",{property:"og:image",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||j||cn||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||j||cn}),n.createElement("meta",{property:"og:image:width",content:(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=w.openGraph)||void 0===f?void 0:f.imageWidth)||O&&String(O)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=w.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=w.openGraph)||void 0===v?void 0:v.imageHeight)||V&&String(V)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=w.twitter)||void 0===y?void 0:y.title)||H}),n.createElement("meta",{name:"twitter:description",content:R}),n.createElement("meta",{name:"twitter:image",content:(null===(b=w.twitter)||void 0===b?void 0:b.image)||j})),("helloSites"===z?ea[nn]||[]:ea.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray($)&&_?$.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):$,_&&n.createElement("link",{rel:"canonical",href:_}),!w.hasNoAmp&&"vi-VN"!==M&&n.createElement("link",{rel:"amphtml",href:"https://".concat(en).concat(X).concat(tn,"?amp=1")}),B&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null)},Ri=function(e){var t=e.ampNextArticles,a=(null==t?void 0:t.filter(Boolean))||[];if(!(null==a?void 0:a.length))return null;return n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.map((function(n){return{image:n.image||"",title:n.title?JSON.stringify(n.title):"",url:n.link||""}})))}}),n.createElement("div",gn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))};var ji={"en-PH":ca,"vi-VN":pa,"zh-TW":ma,"id-ID":da};function Ui(t){var i=t.value,o=void 0===i?{from:null,to:null}:i,r=e(null),l=r[0],s=r[1],c=We().isMobile,d=e((function(){return o})),p=d[0],m=d[1],u=e((function(){var n;return Ut(null!==(n=o.from)&&void 0!==n?n:new Date)})),g=u[0],h=u[1],f=a((function(){return Ot(g,1)}),[g]);var x=gn(gn({},t),{goToNextMonth:function(){h((function(n){return Ot(n,1)}))},goToPreviousMonth:function(){h((function(n){return Vt(n,1)}))},range:p,setRange:m,hoverDay:l,setHoverDay:s});return n.createElement(n.Fragment,null,n.createElement(Oi,gn({},x,{date:g})),!c&&n.createElement(Qe,null),!c&&n.createElement(Oi,gn({},x,{date:f})))}function Oi(e){var t=e.date,o=e.range,r=e.setRange,l=e.onChange,s=e.goToPreviousMonth,c=e.goToNextMonth,d=e.minDate,p=e.maxDate,m=e.close,u=void 0===m?function(){}:m,g=e.autoClose,h=void 0!==g&&g,f=e.hoverDay,x=e.setHoverDay,v=En().locale,y=a((function(){var n;return null!==(n=ji[v])&&void 0!==n?n:ji["en-PH"]}),[v]),b=a((function(){return Rt(t,"MMMM",{locale:y})}),[t,y]),E=a((function(){return y?[1,2,3,4,5,6,0].map((function(n){return y.localize.day(n,{width:"narrow"})})):[]}),[y]);function w(e,t){if(null===e)return n.createElement(at,{key:"idx-".concat(t),"data-empty":"true"});var a=e.getDate(),i=Zt(e),l=!!o.from&&Yt(o.from,e),s=!!o.to&&Yt(o.to,e),c=l||s,m=!1;null!==f&&o.from&&jt(o.from,f)&&!o.to?m=Wt(e,{start:o.from,end:f}):o.from&&o.to&&(m=Wt(e,{start:o.from,end:o.to}));var g=!1;return d&&p?g=!Wt(e,{start:d,end:p}):d?g=jt(e,d):p&&(g=Qt(e,p)),n.createElement(at,{key:a,"data-is-today":i,"data-is-past":!i&&qt(e),"data-is-selected":c,"data-is-disabled":g,"data-in-range":m,"data-is-from":l,"data-is-to":s,onMouseEnter:function(){x(e)},onMouseLeave:function(){return x(null)},onClick:function(){g||r((function(n){return h&&o.from&&!o.to&&u(),function(n,e){return e.from||e.to?e.from&&e.to?{from:n,to:null}:e.from?jt(n,e.from)?gn(gn({},e),{from:n}):gn(gn({},e),{to:n}):e:gn(gn({},e),{from:n})}(e,n)}))}},n.createElement(it,{onClick:function(){}},n.createElement("p",null,a)))}return i((function(){o.from&&o.to&&l(o)}),[o]),n.createElement(qe,{className:"calendar-wrapper"},n.createElement(Ke,null,n.createElement(Mn,{onClick:s,size:"md",color:"ghost",icon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.66875 11.814L1.46875 6.657L5.66875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})}),n.createElement("div",{className:"calendar-month"},b,n.createElement("strong",null,Rt(t,"yyyy"))),n.createElement(Mn,{onClick:c,size:"md",color:"ghost",icon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.46875 11.814L5.66875 6.657L1.46875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})})),n.createElement(Je,null,n.createElement("div",null,n.createElement(Xe,null,E.map((function(e,t){return n.createElement($e,{key:"".concat(e,"-").concat(t)},e)})))),n.createElement("div",null,function(){for(var e=t.getFullYear(),a=t.getMonth(),i=Gt(t),r=[],l=1;l<=i;l++)r.push(new Date(e,a,l));var s=r[0]?r[0].getDay():0;if(1!==s){var c=0===s?6:s-1;for(l=0;l<c;l++)r.unshift(null)}return n.createElement(nt,{key:"month-".concat(a),"data-month-index":a,"data-has-range":Boolean(o.from&&o.to)},n.createElement(et,null,n.createElement(tt,null,r.map(w))))}())))}function Vi(i){var o=i.inputSize,r=void 0===o?"md":o,l=i.name,s=void 0===l?"date-range-picker":l,c=i.value,d=i.minDate,p=i.maxDate,m=i.onChange,u=i.className,g=i.autoClose,h=void 0!==g&&g;c||(c={from:null,to:null});var f=e(!1),x=f[0],v=f[1];function y(){v(!1)}var b=t(null);function E(n){m&&m(n)}function w(n){return Rt(n,"dd/MM/yyyy")}sa(b,(function(){y()}));var k=a((function(){return c.from&&c.to?Yt(c.from,c.to)?w(c.from):"".concat(w(c.from)," - ").concat(w(c.to)):""}),[c.from,c.to]);return n.createElement(ot,{className:[u,x&&"focused"].filter(Boolean).join(" "),ref:b},n.createElement("label",{htmlFor:s},n.createElement(dn,{size:r,value:k,name:s,actionIcon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.9168 1.99984H13.5835C14.3168 1.99984 14.9168 2.59984 14.9168 3.33317V13.9998C14.9168 14.7332 14.3168 15.3332 13.5835 15.3332H2.91683C2.1835 15.3332 1.5835 14.7332 1.5835 13.9998V3.33317C1.5835 2.59984 2.1835 1.99984 2.91683 1.99984H3.5835V1.33317C3.5835 0.966504 3.8835 0.666504 4.25016 0.666504C4.61683 0.666504 4.91683 0.966504 4.91683 1.33317V1.99984H11.5835V1.33317C11.5835 0.966504 11.8835 0.666504 12.2502 0.666504C12.6168 0.666504 12.9168 0.966504 12.9168 1.33317V1.99984ZM3.5835 13.9998H12.9168C13.2835 13.9998 13.5835 13.6998 13.5835 13.3332V5.33317H2.91683V13.3332C2.91683 13.6998 3.21683 13.9998 3.5835 13.9998Z' fill='%23595959'/%3e%3c/svg%3e"}),autoFocus:!1,onFocus:function(){return v(!0)}})),x?n.createElement(rt,{onMouseDown:function(n){n.stopPropagation()}},n.createElement(Ui,{value:c,onChange:E,minDate:d,maxDate:p,close:y,autoClose:h})):null)}var Gi,Zi,Yi,Wi,Qi,qi,Ki,Ji,Xi,$i,no,eo,to,ao,io,oo,ro=ua.div(Gi||(Gi=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),lo=ua.div(Zi||(Zi=xn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"]))),so=ua.div(Yi||(Yi=xn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),co=ua.div(Wi||(Wi=xn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),po=ua.div(Qi||(Qi=xn([""],[""]))),mo=ua.div(qi||(qi=xn(["\n display: flex;\n"],["\n display: flex;\n"]))),uo=ua.div(Ki||(Ki=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),go=ua.div(Ji||(Ji=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ho=ua.div(Xi||(Xi=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),fo=ua.div($i||($i=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),xo=ua.div(no||(no=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"]))),vo=ua.div(eo||(eo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),yo=ua.div(to||(to=xn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),bo=ua.div(ao||(ao=xn(["\n display: none;\n"],["\n display: none;\n"]))),Eo=ua.div(io||(io=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),wo=ua.div(oo||(oo=xn(["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"],["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"])),(function(n){return n.theme.mbColors.lightGray})),ko=ua.div(_o||(_o=xn(["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"],["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"]))),Co=ua.div(Do||(Do=xn(["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"],["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"])),(function(n){return n.theme.colors.white})),Lo=ua.div(Fo||(Fo=xn(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),Mo=ua.div(Po||(Po=xn(["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"],["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),So=ua.div(Ho||(Ho=xn(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),To=ua.div(Io||(Io=xn(["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"],["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"]))),No=ua.div(Ro||(Ro=xn(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white}));ua.div(jo||(jo=xn(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var zo=ua.div(Uo||(Uo=xn(["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"],["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}));ua.div(Oo||(Oo=xn(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Ao=ua.div(Vo||(Vo=xn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"])));ua.div(Go||(Go=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),ua.div(Zo||(Zo=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),ua.div(Yo||(Yo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ua.div(Wo||(Wo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),ua.div(Qo||(Qo=xn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ua.div(qo||(qo=xn(["\n display: none;\n"],["\n display: none;\n"]))),ua.div(Ko||(Ko=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ua.div(Jo||(Jo=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink}));var Bo=ua.div(Xo||(Xo=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"])));ua.div($o||($o=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),ua.div(nr||(nr=xn(["\n display: block;\n"],["\n display: block;\n"]))),ua.div(er||(er=xn(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var _o,Do,Fo,Po,Ho,Io,Ro,jo,Uo,Oo,Vo,Go,Zo,Yo,Wo,Qo,qo,Ko,Jo,Xo,$o,nr,er,tr,ar,ir=ua.div(tr||(tr=xn(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink})),or=ua.div(ar||(ar=xn(["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"],["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"]))),rr=ua.header(wr||(wr=xn(["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"],["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),aa.headerContainerHome,aa.headerContainerPopup,aa.headerContainerPopupSUbLevel),lr=ua.header(kr||(kr=xn(["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"],["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"]))),sr=ua.div(Cr||(Cr=xn(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"]))),cr=ua.div(Lr||(Lr=xn(["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"],["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"])),(function(n){return n.theme.colors.white}),aa.menuSearchInputPopup,aa.menuSearchInputDisplayIcon,aa.menuSearchPopup),dr=ua.div(Mr||(Mr=xn(["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink})),pr=ua.div(Sr||(Sr=xn(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"]))),mr=ua.div(Tr||(Tr=xn(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),ur=ua.div(Nr||(Nr=xn(["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"],["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100})),gr=ua.div(zr||(zr=xn(["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"],["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.mbColors.lightGray}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),hr=ua.div(Ar||(Ar=xn(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"],["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"]))),fr=ua.div(Br||(Br=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"]))),xr=ua.div(_r||(_r=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"]))),vr=ua.div(Dr||(Dr=xn(["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.secondaryDark})),yr=ua.div(Fr||(Fr=xn(["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"],["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown),br=ua.div(Pr||(Pr=xn(["\n display: block;\n"],["\n display: block;\n"]))),Er=ua.div(Hr||(Hr=xn([""],[""])));ua.div(Ir||(Ir=xn(["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var wr,kr,Cr,Lr,Mr,Sr,Tr,Nr,zr,Ar,Br,_r,Dr,Fr,Pr,Hr,Ir,Rr,jr,Ur,Or,Vr,Gr=ua.div(Rr||(Rr=xn(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),Zr=function(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},Yr=ua.div(jr||(jr=xn(["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),Wr=ua.a(Ur||(Ur=xn(["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"],["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white})),Qr=function(e){var t=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,r=e.serviceUrls,l=e.together,s=e.care,c=e.basePath,d=e.searchPlaceholder,p=lt();return n.createElement(Yr,null,n.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},n.createElement("amp-nested-menu",{layout:"fill"},n.createElement("ul",{style:{paddingBottom:24}},n.createElement("div",{className:"amp__menu-header"},n.createElement(br,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),n.createElement("div",{className:"logo"},n.createElement(pn,{height:"32px",width:"121px",type:na.LOGO_TYPE,isAmp:!0,badge:"id-ID"===t?n.createElement("amp-img",{src:st,width:"56",height:"23"}):void 0})),n.createElement("div",null)),n.createElement(Wr,{href:"/search"},n.createElement(Zr,null),n.createElement("input",{className:"amp-search-input",type:"text",placeholder:d,readOnly:!0})),n.createElement("div",{className:"categories__spotlight"},n.createElement(Er,{on:"tap:AMP.setState({healthToolsActive: true})",className:"nav-card active","data-amp-bind-class":"healthToolsActive ? 'nav-card active' : 'nav-card not-active'",role:"button",tabIndex:1},n.createElement("amp-img",{src:ct,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.discover"))),n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})","data-amp-bind-class":"healthToolsActive ? 'nav-card not-active' : 'nav-card active'"},n.createElement("amp-img",{src:dt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.TOGETHER_URL_FE},n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},n.createElement("amp-img",{src:pt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.CARE_URL_FE},n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card"},n.createElement("amp-img",{src:mt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.helloCare"))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},n.createElement(Sn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return n.createElement("li",{key:e.name},n.createElement("a",{href:e.permalink},e.displayName))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/categories/")},n.createElement(uo,{key:"all-categories"},p("home.navigator.menuItem.allCategories"),n.createElement(Bo,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allCategories")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},n.createElement(Sn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return n.createElement("li",{key:e.id,className:"spotlight-li"},n.createElement("a",{href:e.permalink},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/spotlight/")},n.createElement(uo,{key:"all-spotlight"},p("home.navigator.menuItem.allSpotlight"),n.createElement(Bo,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allSpotlight")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,t){return e.healthTools&&e.healthTools.length>0&&n.createElement(n.Fragment,{key:t},n.createElement(Sn,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return n.createElement("li",{key:e.title,className:"health-tool"},n.createElement("a",{href:e.link},n.createElement("amp-img",{width:"32",height:"32",src:e.icon}),n.createElement("span",null,e.title)))})))})))))))},qr="data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 12L10.5 8L6.5 4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Kr="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Jr="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 13.7499V9.58325' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 6.25H10.0125' stroke='%232D87F3' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Xr=ua.footer(Or||(Or=xn(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),wn.mbDown,wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp),$r=ua.div(Vr||(Vr=xn(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),nl=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement($r,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},el=function(e){var t,a,i,o,r,l,s,d,p,m,u,g,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,H,I=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=lt(),Y=null==U?void 0:U.menu;return n.createElement(Xr,{as:G&&"mini"===j?"div":"footer",className:I,style:"mini"===j?{backgroundColor:Bn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(mn,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(Mn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(g=null===(u=Y[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(ta[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(nl,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(ta[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(ta[V]).concat(e.url),size:"sm",type:"regular",style:{color:Bn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Bn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(H=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===H?void 0:H.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};ua((function(e){var t=e.type,a=fn(e,["type"]);return n.createElement(t,a)}))(tl||(tl=xn(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var tl,al,il=ua.p(al||(al=xn(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),ol=function(e){var t=e.type,a=e.color,i=e.style,o=fn(e,["type","color","style"]);return n.createElement(il,gn({"data-type":t,style:gn(gn({},i),a&&{"--text-color":a})},o))};ua.footer(rl||(rl=xn(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),wn.mbDown,wn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.white}),wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp);var rl,ll,sl,cl,dl,pl,ml,ul,gl,hl,fl,xl,vl,yl,bl,El,wl,kl,Cl,Ll,Ml,Sl,Tl,Nl,zl,Al=ua.div(ll||(ll=xn([""],[""]))),Bl=ua.div(sl||(sl=xn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),_l=ua.div(cl||(cl=xn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),wn.mbDown),Dl=ua.div(dl||(dl=xn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,wn.mbDown),Fl=ua.div(pl||(pl=xn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),wn.mbUp,wn.mbDown),Pl=ua.div(ml||(ml=xn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray}),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray})),Hl=ua.div(ul||(ul=xn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),Il=function(e){var t,a=e.socialLinks,i=void 0===a?ia.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,u=e.footerMenu,g=void 0===u?[]:u,h=e.type,f=void 0===h?"main":h,x=lt();return"main"===f?n.createElement(Al,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(mn,{type:"marryBaby"},n.createElement(It,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(_l,null,n.createElement(mn,{type:"marryBaby"},n.createElement(Dl,null,n.createElement("div",{className:"grid"},null===(t=m?null==g?void 0:g.slice(0,6):g)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(ol,{color:Bn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(ol,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:Ba,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:Ha,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:_a,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:Ia,alt:"Zalo"}))))))))),n.createElement(Fl,null,n.createElement(mn,{type:"marryBaby"},n.createElement(Pl,null,n.createElement(pn,{className:"logo",type:p,width:"121px"}),n.createElement(ol,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(ol,{type:"bodytext-3"},x("footer.info.address")),n.createElement(ol,{type:"bodytext-3"},x("footer.info.license")),n.createElement(ol,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(It,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(ol,{type:"bodytext-3"},c)))))):n.createElement(Bl,null,n.createElement(Hl,null),n.createElement(ol,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Bn.sizes.fwSemiBold},color:Bn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Rl=function(e){var t,a,i,o,r,l,s,c,d,p,m,u=e.type,g=e.isMobile,h=void 0===g||g,f=e.locale,x=e.footerInfo,v=e.isAmp,y=e.siteType,b=e.ampNextArticle,E=e.routerQuery;return"helloSites"===y?n.createElement(n.Fragment,null,v&&(null!==(a=null===(t=null==E?void 0:E.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(r=null==b?void 0:b.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(l=null==b?void 0:b.articleTwo)||void 0===l?void 0:l.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(c=null==b?void 0:b.articleTwo)||void 0===c?void 0:c.link,'"\n },\n {\n "image": "').concat(null===(d=null==b?void 0:b.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(m=null==b?void 0:b.articleThree)||void 0===m?void 0:m.link,'"\n }\n ]\n ')}}),n.createElement("div",gn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),n.createElement(el,{isAmp:v,isMobile:h,type:u,locale:f,footerInfo:x||{}})):n.createElement(Il,{isMobile:h,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:u})},jl=ua.div(gl||(gl=xn(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ul=ua.div(hl||(hl=xn(["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(n){return n.theme.colors.white})),Ol=ua.div(fl||(fl=xn(["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.theme.colors.white})),Vl=ua.div(xl||(xl=xn(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Gl=ua.a(vl||(vl=xn(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"]))),Zl=function(e){var t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y,b,E=e.children,w=e.SEOData,k=void 0===w?{}:w,C=e.isAmp,L=void 0!==C&&C,M=e.locale,S=void 0===M?"vi-VN":M,T=e.routerPathname,N=e.routerQuery,z=e.nextHead,A=e.siteType,B=e.seoCustom,_=e.userId,D=e.forcedCanonicalUrl,F=e.usingDefaultHead,P="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,H=k.totalPages,I=k.currentPage,R=k.SEOTitle,j=void 0===R?"":R,U=k.SEODescription,O=void 0===U?"":U,V=k.SEOImage,G=k.seoType,Z=k.SEOImageWidth,Y=k.SEOImageHeight,W=k.customMetaData,Q=void 0===W?[]:W,q=k.isIndexable,K=void 0===q||q,J=k.hasNoCanonical,X=void 0!==J&&J,$=K&&P?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",nn=process.env.NEXT_PUBLIC_BASE_API_URL,en=k.canonicalUrl||T;Object.keys(N).forEach((function(n){var e=N[n];e&&Array.isArray(e)&&(en=en.replace("[...".concat(n,"]"),e.join("/")))}));var tn,an=S||"en-PH",on="helloSites"===A?ta[an]:"www.marrybaby.vn",rn=en.endsWith("/")?"":"/";if(k.apiMetaData&&"string"==typeof k.apiMetaData){var ln=null===(t=k.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),sn=" - Page ".concat(I," of ").concat(H),cn=I&&1!==I&&ln?k.apiMetaData.replace(ln[0],ln[0].includes("-")?ln[0].replace("-",sn+" - "):"<title>".concat(ln[1].concat(sn),"</title>")).replace('<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,'" />'),'<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,"?page=").concat(I,'" />')):k.apiMetaData,dn=(tn=Ye(cn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!dn){var pn="https://".concat(on,"/images/").concat(S,".png");tn=hn(hn([],tn,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=k.openGraph)||void 0===a?void 0:a.image)||pn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=k.openGraph)||void 0===i?void 0:i.image)||pn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=k.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=k.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=k.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=k.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var mn="https://".concat(on,"/images/").concat(S,".png");return n.createElement(n.Fragment,null,z&&F&&n.createElement(z,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===A&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===S?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===S||"ms-MY"===S?n.createElement(n.Fragment,null):n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),n.createElement("link",{rel:"preconnect",href:nn}),n.createElement("meta",{charSet:"UTF-8"}),!L&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:$}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Q.map((function(e,t){return n.createElement("meta",gn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===A?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:an}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),L&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!tn&&n.createElement(n.Fragment,null,"helloSites"===A?n.createElement("title",null,B?j:j+" - "+(null===(c=na[S])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,j),!X&&n.createElement("link",{rel:"canonical",href:"https://".concat(on).concat(en)}),n.createElement("meta",{name:"description",content:O||(null===(d=k.openGraph)||void 0===d?void 0:d.description)}),k.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:k.schemaData}}),n.createElement("meta",{property:"og:locale",content:S}),n.createElement("meta",{property:"og:type",content:G||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=k.openGraph)||void 0===p?void 0:p.title)||j}),n.createElement("meta",{property:"og:description",content:(null===(m=k.openGraph)||void 0===m?void 0:m.description)||O}),n.createElement("meta",{property:"og:url",content:"https://".concat(on).concat(en)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(on)}),n.createElement("meta",{property:"og:image",content:(null===(u=k.openGraph)||void 0===u?void 0:u.image)||V||mn||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(g=k.openGraph)||void 0===g?void 0:g.image)||V||mn}),n.createElement("meta",{property:"og:image:width",content:(null===(h=k.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=k.openGraph)||void 0===f?void 0:f.imageWidth)||Z&&String(Z)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=k.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=k.openGraph)||void 0===v?void 0:v.imageHeight)||Y&&String(Y)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=k.twitter)||void 0===y?void 0:y.title)||j}),n.createElement("meta",{name:"twitter:description",content:O}),n.createElement("meta",{name:"twitter:image",content:(null===(b=k.twitter)||void 0===b?void 0:b.image)||V})),("helloSites"===A?ea[an]||[]:ea.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray(tn)&&D?tn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):tn,D&&n.createElement("link",{rel:"canonical",href:D}),!k.hasNoAmp&&"vi-VN"!==S&&n.createElement("link",{rel:"amphtml",href:"https://".concat(on).concat(en).concat(rn,"?amp=1")}),_&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(_,"'});")}}):null),z&&!F&&n.createElement(z,null),E)},Yl=ua.div(yl||(yl=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wl=ua.div(bl||(bl=xn(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),Ql=ua.div(El||(El=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),ql=ua.div(wl||(wl=xn([""],[""]))),Kl=ua.div(kl||(kl=xn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Jl=ua.div(Cl||(Cl=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Xl=ua.div(Ll||(Ll=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),$l=ua.div(Ml||(Ml=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ns=ua.div(Sl||(Sl=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),es=ua.div(Tl||(Tl=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),ts=ua.div(Nl||(Nl=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),as=ua.div(zl||(zl=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),is=function(){return n.createElement(Yl,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},os=function(e){var t,a,i,o,r=e.careSpecialties,l=e.onSelectCareSpecialty,s=e.isLoading,c=e.desktopPopupType,d=e.onClosePopup,p=e.basePath,m=e.locale,u=e.isMobile,g=e.siteType,h=e.CARE_URL_FE,f=lt();return u?n.createElement(n.Fragment,null,s?n.createElement(Wl,null,n.createElement(is,null)):n.createElement(Wl,{"data-category-list-type":"main"},n.createElement(Sn,{style:{marginTop:16},tag:"h5"},f("menu.care.searchBySpecialties")),r.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(Ql,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m})),onClick:function(){l(e)}},n.createElement(Kl,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(ql,null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(t=oa[m])||void 0===t?void 0:t.SPECIALTIES)},n.createElement(es,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(a=oa[m])||void 0===a?void 0:a.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(ts,null,"helloSites"===g?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):n.createElement(Jl,{className:"top-menu-care-specialties",onClick:d,"data-is-display":"care"===c},n.createElement(Xl,null,n.createElement(mn,{style:{padding:"0 16px"},type:g},n.createElement($l,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,r.map((function(e){return n.createElement(ns,{key:"care-specialty-".concat(e.id),onClick:d},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m})),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m}))},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(i=oa[m])||void 0===i?void 0:i.SPECIALTIES)},n.createElement(es,{onClick:d,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(o=oa[m])||void 0===o?void 0:o.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(ts,null,"helloSites"===g?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(as,{onClick:d},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},rs=function(){return n.createElement(ro,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},ls=ua.div(us||(us=xn(["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"],["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"])),wn.mbDown,wn.mbUp),ss=ua.div(gs||(gs=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),cs=ua.div(hs||(hs=xn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"])),wn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));ua.div(fs||(fs=xn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var ds=ua.div(xs||(xs=xn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown),ps=ua.div(vs||(vs=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ms=ua.div(ys||(ys=xn([""],[""])));ua.div(bs||(bs=xn([""],[""])));var us,gs,hs,fs,xs,vs,ys,bs,Es,ws,ks=ua.div(Es||(Es=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Cs=ua.div(ws||(ws=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ls=function(){return n.createElement(ss,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},Ms=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.spotlights,o=e.isLoading,r=e.className,l=e.isMobile,s=e.DISCOVER_URL_FE,c=e.basePath,d=e.locale,p=e.siteType,m=lt();return a?n.createElement(ls,null,n.createElement(Sn,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&a?n.createElement(cs,{className:r},n.createElement(Ls,null)):n.createElement(cs,{"data-is-displayed":a,className:r},i.map((function(e,t){return n.createElement(ps,{style:{textDecoration:"none"},key:"spotlight-"+t},l?n.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:Bn.colors.gray800}},n.createElement(ds,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[d]).concat(e.permalink)},n.createElement(ms,null,e.name))):n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[d]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},n.createElement(ks,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),n.createElement(Cs,null,"helloSites"===p?n.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):null},Ss=function(e){var t=e.locale,a=e.basePath,i=e.isDisplayed,o=void 0!==i&&i,r=e.categories,l=e.spotlightsList,s=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,u=e.isMobile,g=e.isLoading,h=e.DISCOVER_URL_FE,f=e.siteType,x=void 0===f?"helloSites":f,v=lt();return u?n.createElement(n.Fragment,null,g&&o?n.createElement(lo,null,n.createElement(rs,null)):n.createElement(lo,{"data-is-displayed":o,"data-category-list-type":s},n.createElement(Sn,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),n.createElement(so,null,r.map((function(e,i){return n.createElement("div",{key:s+"-category-"+i},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==s&&n.preventDefault()},href:h+e.permalink},n.createElement(co,{onClick:function(){null==d||d(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(po,null,e.displayName),"main"===s&&n.createElement(mo,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))),"sub"===s&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,t){return n.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:s+"-2-"+t},n.createElement(co,{"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(c,{size:"p3"},e.displayName)))}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(uo,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(go,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(Ms,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,isMobile:u,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}))):n.createElement(ho,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===m},n.createElement(fo,null,n.createElement(mn,{style:{padding:"0 16px"},type:x},n.createElement(xo,{"data-popup-type":m,onClick:function(n){n.stopPropagation()}},n.createElement("div",null,n.createElement(Sn,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),n.createElement(vo,{"data-disabled-divider":0===l.length},r.map((function(e,a){return n.createElement(yo,{style:{textDecoration:"none"},key:e.categoryName+a},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(h).concat(e.permalink)},e.displayName),n.createElement(bo,null,e.childCates&&e.childCates.map((function(e,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:a},e.displayName)}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(uo,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(go,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),n.createElement(Ms,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}),n.createElement(Eo,{onClick:p},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ts=ua.div(Ps||(Ps=xn([""],[""]))),Ns=ua.div(Hs||(Hs=xn(["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"],["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"]))),zs=ua.div(Is||(Is=xn(["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"]))),As=ua.div(Rs||(Rs=xn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Bs=ua.div(js||(js=xn(["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"],["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"]))),_s=ua.div(Us||(Us=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Ds=ua.div(Os||(Os=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Fs=ua.div(Vs||(Vs=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Gs||(Gs=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Ps,Hs,Is,Rs,js,Us,Os,Vs,Gs,Zs,Ys,Ws=ua.div(Zs||(Zs=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(Ys||(Ys=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Qs,qs,Ks,Js,Xs,$s,nc,ec,tc,ac,ic,oc,rc,lc=function(t){var a=t.isDisplayed,i=void 0!==a&&a,o=t.categories,r=t.type,l=t.onSelectCategory,s=t.desktopPopupType,c=t.isMobile,d=t.isLoading,p=t.MARRY_BABY_FE,m=e(-1),u=m[0],g=m[1],h=e(!1),f=h[0],x=h[1];return c?n.createElement(n.Fragment,null,d&&i?n.createElement(lo,null,n.createElement(rs,null)):n.createElement(lo,{"data-is-displayed":i,"data-category-list-type":r,style:{marginTop:24}},n.createElement(Ts,{className:"marry-bb-menu-categories"},o.map((function(e,t){return n.createElement("div",{key:r+"-category-"+t,className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(p).concat(e.permalink)},n.createElement(As,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var n;"main"===r||0===(null===(n=e.childCates)||void 0===n?void 0:n.length)?null==l||l(e):u===t?(x(!0),setTimeout((function(){g(-1),setTimeout((function(){x(!1)}),100)}),300)):g(t)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===r?n.createElement(Ns,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),n.createElement(wo,null),"main"===r?n.createElement(mo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement(mo,null,u!==t?n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===r&&e.childCates&&u===t&&e.childCates.length>0&&n.createElement(Bs,null,n.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(t,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(t.permalink),key:r+"-2-"+a},n.createElement(As,{"data-is-heading-category":"sub"===r&&t.childCates&&t.childCates.length>0},n.createElement(zs,null,n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(ol,{type:"subtitle-2"},t.displayName))))})))),n.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,t){return n.createElement("a",{href:"".concat(p).concat(e.permalink),key:t,style:{textDecoration:"none"}},n.createElement("div",{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},n.createElement("p",null,e.displayName)))}))))}))))):n.createElement(_s,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},n.createElement(Ds,null),n.createElement(Fs,{"data-popup-type":s},n.createElement(Ws,{className:"marry-bb-menu-categories"},d?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(rs,null)):o.map((function(e,t){return n.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:r+"-category-"+t,onClick:function(){l(e)}},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Bn.colors.gray800},href:"".concat(p).concat(e.permalink)},n.createElement(As,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},n.createElement(Ns,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},sc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.discoverApiDomain,r=e.basePath,l=e.categories,s=e.spotlightsList,c=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,u=e.isMobile,g=e.isLoading,h=e.callApiHandler,f=e.DISCOVER_URL_FE,x=e.MARRY_BABY_FE,v=e.siteType,y=void 0===v?"helloSites":v;return"helloSites"===y?n.createElement(Ss,{locale:i,basePath:r,DISCOVER_URL_FE:f,isDisplayed:a,type:c,onSelectCategory:d,categories:l,spotlightsList:s,isLoading:g,isMobile:u,siteType:y,onClosePopup:p,desktopPopupType:m}):n.createElement(lc,{basePath:r,callApiHandler:h,discoverApiDomain:o,isDisplayed:a,type:c,onSelectCategory:d,categories:l,isLoading:g,isMobile:u,MARRY_BABY_FE:x,desktopPopupType:m})},cc=ua.div(Qs||(Qs=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),dc=ua.div(qs||(qs=xn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),pc=ua.div(Ks||(Ks=xn(["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),mc=ua.div(Js||(Js=xn([""],[""]))),uc=ua.div(Xs||(Xs=xn([""],[""]))),gc=ua.div($s||($s=xn(["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"]))),hc=ua.div(nc||(nc=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),fc=ua.div(ec||(ec=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),xc=ua.div(tc||(tc=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),vc=ua.div(ac||(ac=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),yc=ua.div(ic||(ic=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),bc=ua.div(oc||(oc=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ec=ua.div(rc||(rc=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),wc=function(){return n.createElement(cc,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},kc=function(e){var t=e.isDisplayed,a=e.communities,i=e.type,o=e.onSelectCommunity,r=e.onClosePopup,l=e.isLoading,s=e.basePath,c=e.TOGETHER_URL_FE,d=e.siteType,p=void 0===d?"helloSites":d,m=e.isMobile,u=e.locale,g=e.desktopPopupType,h=lt();return m?n.createElement(n.Fragment,null,l&&t?n.createElement(dc,null,n.createElement(wc,null)):n.createElement(dc,{"data-category-list-type":i,"data-is-displayed":t},"main"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(pc,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},n.createElement(gc,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(mc,null,e.title)),n.createElement(uc,null,"helloSites"===p?n.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))})),"sub"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(pc,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},n.createElement(gc,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(mc,null,e.title)))))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(yc,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(bc,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")})))))):n.createElement(hc,{className:"top-menu-communities",onClick:r,"data-is-display":"communities"===g},n.createElement(fc,null,n.createElement(mn,{style:{padding:"0 16px"},type:p},n.createElement(xc,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,a.map((function(e){return n.createElement(vc,{key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(yc,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(bc,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")}))))),n.createElement(Ec,{onClick:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Cc=ua.div(Nc||(Nc=xn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Lc=ua.div(zc||(zc=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Mc=ua.div(Ac||(Ac=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Sc=ua.div(Bc||(Bc=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Tc=ua.div(_c||(_c=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Dc||(Dc=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Nc,zc,Ac,Bc,_c,Dc,Fc,Pc,Hc=ua.div(Fc||(Fc=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(Pc||(Pc=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Ic=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.communities,o=e.onSelectCommunity,r=e.isLoading,l=e.basePath,s=e.type,c=e.isMobile,d=e.onClosePopup,p=e.desktopPopupType,m=e.TOGETHER_URL_FE;return c?r&&a?n.createElement(dc,null,n.createElement(wc,null)):n.createElement(dc,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),key:"community-"+t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},n.createElement(Lc,{onClick:function(){o({community:e,isSetToSubMenu:!1})}},n.createElement(Cc,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(mc,null,e.title)))}))):n.createElement(Mc,{className:"top-menu-communities",onClick:d,"data-is-display":"communities"===p},n.createElement(Sc,null),n.createElement(Tc,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Hc,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(wc,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:Bn.colors.gray800},href:"".concat(m,"/").concat(e.communitySlug),key:e.title},n.createElement(Lc,{onClick:d},n.createElement(Cc,{style:{backgroundColor:e.color||Bn.mbColors.lightGray}},n.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Rc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.communities,r=e.type,l=e.onSelectCommunity,s=e.onClosePopup,c=e.isLoading,d=e.basePath,p=e.TOGETHER_URL_FE,m=e.siteType,u=void 0===m?"helloSites":m,g=e.isMobile,h=e.desktopPopupType,f=e.togetherApiDomain;return"helloSites"===u?n.createElement(kc,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:g,siteType:u,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s}):n.createElement(Ic,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:g,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s})},jc=ua.div(Xc||(Xc=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Uc=ua.div($c||($c=xn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"]))),Oc=ua.div(nd||(nd=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Vc=ua.div(ed||(ed=xn([""],[""]))),Gc=ua.div(td||(td=xn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Zc=ua.div(ad||(ad=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Yc=ua.div(id||(id=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Wc=ua.div(od||(od=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),Qc=ua.div(rd||(rd=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),qc=ua.div(ld||(ld=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Kc=ua.div(sd||(sd=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Jc=ua.div(cd||(cd=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));ua.div(dd||(dd=xn(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Xc,$c,nd,ed,td,ad,id,od,rd,ld,sd,cd,dd,pd,md,ud=ua.div(pd||(pd=xn(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),gd=ua.div(md||(md=xn(["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"],["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"]))),hd=function(){return n.createElement(jc,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},fd=function(e){var t=e.healthTools,a=e.onSelectHealthTool,i=e.basePath,o=e.isDesktop,r=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,s=e.locale,c=e.isGrouped;return(null==t?void 0:t.length)?o?n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement(Qc,{"data-grouped":c,key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[s]).concat(e.link),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))}))):n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(Oc,{onClick:function(){a(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[s]).concat(e.link)},n.createElement(Gc,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(Vc,null,e.title)))}))):null},xd=function(e){var t,a,i,o,r=e.isDisplayed,l=e.healthTools,s=e.healthToolsByCategory,c=e.onSelectHealthTool,d=e.isLoading,p=e.basePath,m=e.locale,u=e.isMobile,g=e.onClosePopup,h=e.desktopPopupType,f=e.HEALTH_TOOL_URL_FE,x=e.STATIC_PAGES,v=e.siteType,y=lt();return u?n.createElement(n.Fragment,null,d&&r?n.createElement(Uc,null,n.createElement(hd,null)):n.createElement(Uc,{"data-category-list-type":"main","data-is-displayed":r},(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(n.Fragment,{key:"category-health-tool-".concat(t)},n.createElement(Sn,{tag:"h4",fontWeight:"bold",className:"title"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(fd,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}))})):n.createElement(fd,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}),n.createElement(ud,null,n.createElement("a",{href:"".concat(f).concat((null===(t=x[m])||void 0===t?void 0:t.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},n.createElement(qc,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(a=x[m])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(Kc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))))):n.createElement(Zc,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===h},n.createElement(Yc,null,n.createElement(mn,{style:{padding:"0 16px"}},n.createElement(Wc,{"data-popup-type":h,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(gd,{key:"health-tools-categories-".concat(t)},n.createElement(Sn,{tag:"h4",as:"h1",fontWeight:"bold"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(fd,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):n.createElement(fd,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,onClosePopup:g}),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(f).concat((null===(i=x[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},n.createElement(qc,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(o=x[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(Kc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))),n.createElement(Jc,{onClick:g},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},vd=ua.div(kd||(kd=xn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),yd=ua.div(Cd||(Cd=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),bd=ua.div(Ld||(Ld=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Ed=ua.div(Md||(Md=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),wd=ua.div(Sd||(Sd=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Td||(Td=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var kd,Cd,Ld,Md,Sd,Td,Nd,zd,Ad=ua.div(Nd||(Nd=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(zd||(zd=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Bd,_d,Dd=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.onSelectHealthTool,r=e.isLoading,l=e.basePath,s=e.isMobile,c=e.onClosePopup,d=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return s?r&&a?n.createElement(Uc,null,n.createElement(hd,null)):n.createElement(Uc,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{key:"tool-"+t,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},n.createElement(yd,{onClick:function(){o(e)}},n.createElement(vd,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(Vc,null,e.title)))}))):n.createElement(bd,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===p},n.createElement(Ed,null),n.createElement(wd,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Ad,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(hd,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:Bn.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(d).concat(e.link),key:e.title,onClick:function(n){n.stopPropagation()}},n.createElement(yd,{onClick:c},n.createElement(vd,null,n.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Fd=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.healthToolsByCategory,r=e.onSelectHealthTool,l=e.isLoading,s=e.basePath,c=e.locale,d=e.isMobile,p=e.onClosePopup,m=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,g=e.siteType,h=e.discoverApiDomain,f=e.STATIC_PAGES;return"helloSites"===g?n.createElement(xd,{isDisplayed:a,locale:c,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:r,healthTools:i,healthToolsByCategory:o,isLoading:l,isMobile:d,siteType:g,desktopPopupType:m,onClosePopup:p,STATIC_PAGES:f}):n.createElement(Dd,{isDisplayed:a,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:r,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:m,onClosePopup:p})},Pd=ua.div(Bd||(Bd=xn(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Hd=ua.div(_d||(_d=xn(["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"],["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),Id=function(){return n.createElement(n.Fragment,null,n.createElement(Pd,null,n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109}))))},Rd=function(e){var t=e.specialty,a=e.id,i=e.isActive,o=void 0!==i&&i,r=e.position,l=e.className,s=e.onClick;return t.name&&""!==t.name?n.createElement(Hd,{onClick:function(){s&&s(a)},className:l,"data-is-active":o,"data-card-position":r},n.createElement("img",{src:t.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),n.createElement(c,{type:"bold",size:"label2"},t.name)):n.createElement(Id,null)};function jd(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ud(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function Od(e){var t=e.siteType,a=e.type;return"helloSites"===t?n.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 12H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 6H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 18H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"24px",height:"24px"},alt:a}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}function Vd(e){var t,a,i=e.type,o=e.isStatic,r=e.isAmp,l=e.isDisplayed,s=e.siteType,d=e.isCollapsed,p=e.sitewideBannerShown,m=e.sitewideBanner,u=e.sitewideBannerClosed,g=e.setSitewideBannerClosed,h=e.isMobile,f=e.onMenuClick,x=e.menu,v=e.isSearchIconDisplayed,y=e.statics,b=y.DISCOVER_URL_FE,E=y.SSO_URL,w=y.HOME_PAGE_URL,k=y.CARE_URL_FE,C=e.basePath,L=e.languageMenu,M=e.enabledExperimentalCareHeader,S=e.onCareHeaderClick,T=e.logoType,N=e.locale,z=e.isInit,A=e.title,B=e.sponsorComponent,_=e.currentUrl,D=e.userInfo,F=e.currentPopupType,P=e.avatar,H=e.profileMenu,I=e.isLoginButtonDisplayed,R=e.goToLogin,j=e.isSearchBarDisplay,U=e.searchPlaceholder,O=e.onSearchValueChanged,V=e.keyPressed,G=lt(),Z=!!B,Y=!!(null===(a=null===(t=null==B?void 0:B.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),W=p&&!!m&&!u,Q=tp({isSiteWide:!!m&&!u,isShowingSiteWideBanner:W,isSponsored:Z,hasSponsoredBanners:Y,isMobile:!0}),q=Q.headerRef,K=Q.headerHeight;return n.createElement(n.Fragment,null,n.createElement(rr,{"data-header-type":i,"data-collapsed":!o&&d,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":l,"data-is-amp":r,"data-sponsored":Z,"data-site-type":s,"data-sitewide-banner-shown":W,id:"site-header",ref:q},m?n.isValidElement(m)?n.cloneElement(m,{isCollapsed:d,setBannerClosed:g,isAmp:r,isMobile:h}):m:null,n.createElement("div",{style:gn(gn({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===s?"center":"flex-start",background:"white"},"marryBaby"===s?{paddingLeft:66}:{}),void 0!==L||M?{paddingLeft:M?48:64,gap:24,justifyContent:"unset"}:{})},n.createElement(lr,null,n.createElement(sr,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},n.createElement("div",{onClick:function(){return null==f?void 0:f("categories")}},"home"===i&&n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},n.createElement(Od,{siteType:s,type:i})),"popup"===i&&n.createElement(Ud,null),"popup-sub-level"===i&&n.createElement(jd,null)),x),v&&"helloSites"===s&&"home"===i&&n.createElement(sr,{style:{paddingRight:16}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(w,"/search?s=&page=1")},n.createElement("img",{src:"".concat(C,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&n.createElement(yr,{"data-is-profile":!0,className:z?"":"menu-handler-health-tools"},n.createElement("div",{className:"menu-handler-item"},v&&"marryBaby"===s&&"home"===i&&n.createElement(sr,{style:{justifySelf:"flex-end"}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(b,"/search?s=&page=1")},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}}))),M&&n.createElement(n.Fragment,null,S?n.createElement(Mn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_,onClick:S},G("login.booking")):n.createElement("a",{href:k,className:"care-button"},n.createElement(Mn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_},G("login.booking")))),(null==D?void 0:D.id)?n.createElement(fr,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return f&&f("profile")}},"profile"===F?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):P),H):r?n.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":_,href:"".concat(E,"?returnUrl=").concat(_.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===N?n.createElement(Gr,{onClick:R},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin"))):I&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":_},M?n.createElement(Gr,{onClick:R},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):"helloSites"===s?n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin")):n.createElement("div",{className:"login-btn-mobile",onClick:R,style:{paddingLeft:16}},n.createElement(c,{size:"p3"},G("navigation.loginJoin")))))),("home"===i||"popup"===i)&&n.createElement("a",{href:w||""},n.createElement(pn,{type:T,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===N?n.createElement("img",{src:st,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&n.createElement(vr,{"data-is-active":!0,className:z?"":"menu-handler-language",onClick:function(){f&&f("language")}},L),A&&n.createElement(Sn,{className:"top-bar-header",tag:"h5"},A)),B?n.isValidElement(B)?n.cloneElement(B,{isCollapsed:d,locale:N,isMobile:h,isAmp:r}):B:null),j?n.createElement(cr,{"data-header-type":i,"data-is-displayed":l,"data-sitewide-banner-shown":p&&!!m},n.createElement(dn,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(z?"":"-temp"),size:"md",placeholder:U,onChange:O,onKeyPress:V,type:"search",autoFocus:!1,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):n.createElement(n.Fragment,null,!r&&n.createElement("div",{style:{height:K}})))}var Gd,Zd,Yd,Wd,Qd,qd,Kd,Jd,Xd,$d,np,ep,tp=function(n){var o=n.hasSponsoredBanners,l=n.isSiteWide,s=n.isSponsored,c=n.isShowingSiteWideBanner,d=n.isMobile,p=t(null),m=e(0),u=m[0],g=m[1],h=r($t((function(){var n,e=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);i((function(){return window.addEventListener("resize",h),window.addEventListener("scroll",h),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),i((function(){h()}),[l,c,s,o,p.current]);var f=a((function(){var n=d?64:69;return c&&(n+=64),s&&(n+=40),n}),[d,c,s]);return{headerHeight:u||f,headerRef:p}},ap=function(o){var l,s,c,d=o.siteType,p=o.basePath,m=o.statics,u=o.currentPopupType,g=void 0===u?"none":u,h=o.isDisplayed,f=void 0===h||h,x=o.isSearchBarDisplay,v=void 0===x||x,y=o.searchPlaceholder,b=void 0===y?"":y,E=o.openPopup,w=o.onTopBarAppears,k=o.onSearchChange,C=o.onSearchKeyPress,L=o.menu,M=o.isAmp,S=o.profileMenu,T=o.isMobile,N=void 0!==T&&T,z=o.isLoginButtonDisplayed,A=o.title,B=o.type,_=void 0===B?"home":B,D=o.onMenuClick,F=o.isStatic,P=void 0!==F&&F,H=o.routerAsPath,I=o.locale,R=o.userInfo,j=o.marryBaby,U=(void 0===j?{tone:"white"}:j).tone,O=o.menuItems,V=void 0===O?[]:O,G=o.isInit,Z=o.sitewideBanner,Y=o.sitewideBannerShown,W=void 0===Y||Y,Q=o.sponsorComponent,q=o.languageMenu,K=o.isSearchIconDisplayed,J=void 0!==K&&K,X=o.enabledExperimentalCareHeader,$=o.onCareHeaderClick,nn=m.SSO_URL,en=m.HOME_PAGE_URL,tn=m.CARE_URL_FE,an=lt(),on=!!Q,rn=e(!1),ln=rn[0],sn=rn[1],cn=e(!1),un=cn[0],gn=cn[1],hn=e(!1),fn=hn[0],xn=hn[1],vn=e(G||!1),yn=vn[0],bn=vn[1],En=t(47),wn=t(!1),kn=t(!1),Cn="helloSites"===d?"https://".concat(ta[I]).concat(H):"https://www.marrybaby.vn".concat(H),Ln=a((function(){var e=(null==R?void 0:R.name)||(null==R?void 0:R.username);return n.createElement(Tn,{type:"rounded",size:"small",avatarUrl:null==R?void 0:R.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===d?Bn.mbColors.pink:Bn.colors.secondaryBase,isAmp:M})}),[null==R?void 0:R.username,null==R?void 0:R.name,null==R?void 0:R.avatar]),Sn=function(){var n=window.location.href;window.location.href=nn?"".concat(nn,"?returnUrl=").concat(n):n},Nn="helloSites"===d?null===(l=na[I])||void 0===l?void 0:l.LOGO_TYPE:d,zn="undefined"!=typeof window,An=function(n){null==k||k(n)},_n=r(Xt((function(){var n;if("home"===_){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;zn&&e&&(e.scrollY>En.current&&e.scrollY>64&&!wn.current&&(wn.current=!0,sn(!0)),e.scrollY<En.current&&wn.current&&(wn.current=!1,sn(!1),t&&e.scrollY),e.scrollY<En.current&&t&&e.scrollY,v?(e.scrollY<64&&e.scrollY<En.current&&kn.current&&(kn.current=!1),e.scrollY>8&&e.scrollY>En.current&&!kn.current&&(kn.current=!0)):kn.current=!0,e.scrollY>=0&&(En.current=e.scrollY))}}),300),[]);i((function(){null==w||w(!ln)}),[ln]);var Dn=function(n){var e,t;C&&C(n,null!==(t=null===(e=document.getElementById("search-input-"+_))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};i((function(){N&&_n()}),[]),i((function(){return window.addEventListener("scroll",_n,{passive:!0}),function(){window.removeEventListener("scroll",_n)}}),[]),i((function(){bn(!0)}),[]),i((function(){"undefined"!=typeof window&&xn(Boolean(fn))}),[]);var Fn=n.createElement(n.Fragment,null,V.find((function(n){return"categories"===n.id}))&&n.createElement(vr,{"data-is-active":"categories"===g,className:yn?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==E||E("categories"),setTimeout((function(){var n,e;null===(e=null===(n=document.getElementsByClassName("top-menu-categories"))||void 0===n?void 0:n[0])||void 0===e||e.focus()}),100)}},n.createElement("div",{className:"menu-handler-item"},an("home.navigator.menuItem.discover"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&n.createElement("div",null,L)),V.find((function(n){return"healthTools"===n.id}))&&n.createElement(vr,{"data-is-active":"tools"===g,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("tools")}},an("home.navigator.menuItem.healthTools"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&n.createElement("div",null,L)),V.find((function(n){return"care"===n.id}))&&!X&&n.createElement(vr,{"data-is-active":"care"===g,className:yn?"":"menu-handler-care-specialties",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("care")}},an("home.navigator.menuItem.helloCare"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&n.createElement("div",null,L)),V.find((function(n){return"together"===n.id}))&&n.createElement(vr,{"data-is-active":"communities"===g,className:yn?"":"menu-handler-communities",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("communities")}},an("home.navigator.menuItem.helloTogether"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&n.createElement("div",null,L))),Pn=!!(null===(c=null===(s=null==Q?void 0:Q.props)||void 0===s?void 0:s.sponsoredBy)||void 0===c?void 0:c.length),Hn=W&&!!Z&&!un,In=tp({isSiteWide:!!Z&&!un,isShowingSiteWideBanner:Hn,isSponsored:on,hasSponsoredBanners:Pn}),Rn=In.headerRef,jn=In.headerHeight;return N?n.createElement(Vd,{type:_,isStatic:P,isAmp:M,isDisplayed:f,siteType:d,isCollapsed:ln,sitewideBannerShown:W,sitewideBanner:Z,sitewideBannerClosed:un,setSitewideBannerClosed:gn,isMobile:N,onMenuClick:D,menu:L,isSearchIconDisplayed:J,statics:m,basePath:p,languageMenu:q,enabledExperimentalCareHeader:X,logoType:Nn,locale:I,isInit:yn,title:A,sponsorComponent:Q,currentUrl:Cn,userInfo:R,currentPopupType:g,avatar:Ln,profileMenu:S,isLoginButtonDisplayed:z,goToLogin:Sn,isSearchBarDisplay:v,searchPlaceholder:b,onSearchValueChanged:An,keyPressed:Dn}):n.createElement(n.Fragment,null,n.createElement("div",{style:{height:jn}}),n.createElement(dr,{ref:Rn,"data-site-type":d,"data-marry-baby-tone":"marryBaby"===d&&U,"data-sponsored":on,"data-sitewide-banner-shown":Hn},Z?n.isValidElement(Z)?n.cloneElement(Z,{isCollapsed:ln,setBannerClosed:gn}):Z:null,n.createElement(mn,{style:{height:69,padding:"0 16px"},type:d},n.createElement(pr,null,n.createElement(mr,null,n.createElement("a",{href:en},n.createElement(ur,{"data-is-having-border":"helloSites"===d},n.createElement(pn,{style:{display:"flex"},type:Nn,height:"27px",width:"121px",badge:"id-ID"===I?n.createElement("img",{src:st,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===d&&n.createElement(gr,{"data-header-type":_,"data-is-displayed":f,"data-sitewide-banner-shown":W&&!!Z},n.createElement(dn,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:Bn.colors.white},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:An,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.875 11C4.875 7.61726 7.61726 4.875 11 4.875C14.3827 4.875 17.125 7.61726 17.125 11C17.125 14.3827 14.3827 17.125 11 17.125C7.61726 17.125 4.875 14.3827 4.875 11ZM11 3.125C6.65076 3.125 3.125 6.65076 3.125 11C3.125 15.3492 6.65076 18.875 11 18.875C12.8594 18.875 14.5683 18.2306 15.9155 17.1529L19.3813 20.6187C19.723 20.9604 20.277 20.9604 20.6187 20.6187C20.9604 20.277 20.9604 19.723 20.6187 19.3813L17.1529 15.9155C18.2306 14.5683 18.875 12.8594 18.875 11C18.875 6.65076 15.3492 3.125 11 3.125Z",fill:"#8C8C8C"})))})),"marryBaby"===d&&n.createElement("div",{style:{marginLeft:28,display:"flex"}},Fn)),n.createElement(hr,null,"helloSites"===d&&Fn,v&&"marryBaby"===d&&n.createElement(gr,{"data-header-type":_,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===d,"data-marry-baby-theme":U},n.createElement(dn,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:An,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})))})),void 0!==q&&n.createElement(vr,{"data-is-active":!0,className:yn?"":"menu-handler-language",onClick:function(){E&&E("language")}},q),n.createElement(yr,{"data-is-active":"profile"===g,"data-is-profile":!0,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item"},X&&n.createElement(n.Fragment,null,$?n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Cn,onClick:$},an("login.booking")):n.createElement("a",{href:tn,className:"care-button no-replace-click"},n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Cn},an("login.booking")))),(null==R?void 0:R.id)?n.createElement(fr,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return E&&E("profile")}},Ln),S):z&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Cn},X?n.createElement(Gr,{onClick:Sn},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):"helloSites"===d?n.createElement(Mn,{size:"md",color:"secondary",onClick:Sn},an("navigation.loginJoin")):n.createElement(Mn,{size:"md",color:"secondary",theme:"marryBaby",onClick:Sn},an("navigation.loginJoin")))))))),Q?n.isValidElement(Q)?n.cloneElement(Q,{isCollapsed:ln,locale:I,isMobile:N,isAmp:M}):Q:null))},ip=function(e){var t=e.selectedMenuMainItem,a=e.spotlightsList,i=e.locale,o=e.basePath,r=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,c=e.MARRY_BABY_FE,d=e.onSelectCategory,p=e.isMobile,m=e.siteType,u=e.onCategoryClick,g=lt(),h=t.childCates,f=t.categoryName;return n.createElement(Mo,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(To,null,n.createElement(sc,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:r,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:h||[],spotlightsList:a,type:"sub",onSelectCategory:d,isMobile:p,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),n.createElement(Lo,{"data-site-type":m},n.createElement(Mn,{onClick:u,className:"category-button",size:"md",theme:m},n.createElement(Ao,null,n.createElement("div",null,g("home.menu.category.view",{category:f})),"helloSites"===m?n.createElement("img",{src:qr,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:f})}):n.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},op=function(t){var a=t.selectedMenuMainItem,o=t.onCommunityClick,r=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,c=t.callApiHandler,d=t.togetherApiDomain,p=t.locale,m=t.TOGETHER_URL_FE,u=t.siteType,g=t.isMobile,h=lt(),f=e([]),x=f[0],v=f[1],y=e(!1),b=y[0],E=y[1],w=a.communityId,k=a.title;return i((function(){E(!0),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i;return yn(this,(function(o){switch(o.label){case 0:return[4,c("helloSites"===u?ft(p,d,{communityId:w}):xt(p,d,{communityId:w}),"GET")];case 1:return null!==(n=o.sent())&&(null===(i=null===(a=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.data)||void 0===a?void 0:a.topics)||void 0===i?void 0:i.length)>0&&(e=n.data.data.topics.map(ht),v(e)),E(!1),[2]}}))}))}),[a]),n.createElement(Mo,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(To,null,n.createElement(Rc,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:r,isLoading:b,basePath:s,TOGETHER_URL_FE:m,togetherApiDomain:d,siteType:u,isMobile:g,desktopPopupType:"none",onClosePopup:void 0}),n.createElement(Lo,null,n.createElement(Mn,{onClick:o,className:"category-button",size:"md"},n.createElement(Ao,null,n.createElement("div",null,h("home.menu.category.view",{category:k})),n.createElement("img",{src:qr,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:k})}))))))},rp={categories:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1174 3.67709C12.8717 2.70759 11.1272 2.70787 9.8809 3.67705L14.1174 3.67709ZM14.1174 3.67709L19.717 8.0327C20.5579 8.68619 21.049 9.69161 21.049 10.7561V17.6001C21.049 19.5056 19.5045 21.0501 17.599 21.0501H6.39918C4.49368 21.0501 2.94922 19.5056 2.94922 17.6001V10.7561C2.94922 9.6915 3.44016 8.68619 4.28119 8.0327L9.8809 3.67705M10.679 4.70326L5.07908 9.05903C4.5556 9.46579 4.24922 10.0921 4.24922 10.7561V17.6001C4.24922 18.7876 5.21165 19.7501 6.39918 19.7501H17.599C18.7866 19.7501 19.749 18.7876 19.749 17.6001V10.7561C19.749 10.0921 19.4429 9.46599 18.9194 9.05923L13.3192 4.70322C12.5433 4.09928 11.4561 4.09892 10.679 4.70326Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2363 13.1623C12.5537 12.4791 11.4456 12.4788 10.7619 13.1625C10.0783 13.8461 10.0783 14.9535 10.7619 15.6371C11.4455 16.3207 12.5529 16.3207 13.2365 15.6371C13.9201 14.9535 13.9201 13.8461 13.2365 13.1625L13.2363 13.1623ZM14.1558 12.2433C12.9651 11.0518 11.0338 11.0522 9.84268 12.2433C8.6514 13.4346 8.6514 15.3651 9.84268 16.5563C11.034 17.7476 12.9645 17.7476 14.1558 16.5563C15.347 15.3651 15.347 13.4346 14.1558 12.2433Z",fill:"#3E3F58"})),color:Bn.mbColors.lightPink},healthTools:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7899 3.65C17.1559 3.65 16.6802 4.2267 16.6809 4.79725L16.6809 4.798C16.6809 5.41974 17.104 6.05554 17.7236 6.58451C18.0209 6.83831 18.3337 7.04083 18.5977 7.17695C18.7296 7.245 18.8416 7.29248 18.9268 7.32147C18.9708 7.33646 18.9995 7.34373 19.0149 7.34719C19.0302 7.34373 19.0589 7.33646 19.1029 7.32147C19.1881 7.29248 19.3001 7.245 19.4321 7.17695C19.696 7.04083 20.0088 6.83831 20.3061 6.58451C20.9257 6.05554 21.3489 5.41974 21.3489 4.798C21.3489 4.22619 20.8732 3.65 20.2399 3.65C19.8662 3.65 19.6352 3.81824 19.4969 3.97109C19.3738 4.10711 19.199 4.1848 19.0156 4.185C18.8321 4.1852 18.6572 4.10789 18.5338 3.97214C18.3936 3.81789 18.1622 3.65 17.7899 3.65ZM15.3809 4.79838C15.3797 3.63503 16.318 2.35 17.7899 2.35C18.2971 2.35 18.703 2.4988 19.0145 2.69438C19.3261 2.49862 19.7323 2.35 20.2399 2.35C21.7125 2.35 22.6489 3.63581 22.6489 4.798C22.6489 5.98926 21.875 6.95446 21.1501 7.57324C20.7752 7.89331 20.3789 8.15136 20.028 8.33233C19.8525 8.42282 19.6807 8.49802 19.522 8.55207C19.3755 8.60198 19.1942 8.65 19.0149 8.65C18.8355 8.65 18.6543 8.60198 18.5077 8.55207C18.349 8.49802 18.1772 8.42282 18.0018 8.33233C17.6509 8.15136 17.2545 7.89331 16.8796 7.57324C16.1548 6.95452 15.381 5.98947 15.3809 4.79838ZM15.3809 4.79838C15.3809 4.79825 15.3809 4.79813 15.3809 4.798H16.0309L15.3809 4.79875C15.3809 4.79863 15.3809 4.7985 15.3809 4.79838Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91051 8.78301C4.23607 5.03996 7.79796 2.35 12.0002 2.35C12.3662 2.35 12.7248 2.37267 13.077 2.41455C13.4334 2.45693 13.6881 2.78027 13.6457 3.13674C13.6033 3.49322 13.28 3.74784 12.9235 3.70545C12.6196 3.66932 12.3123 3.65 12.0002 3.65C8.36849 3.65 5.28438 5.97404 4.13594 9.21698C4.0161 9.55538 3.64463 9.73255 3.30624 9.61271C2.96785 9.49287 2.79067 9.12141 2.91051 8.78301Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07473 7.35106C9.33041 7.35465 9.56024 7.50781 9.66196 7.74242L12.5334 14.3647L13.6702 11.7415C13.7732 11.5038 14.0075 11.35 14.2666 11.35H15.9996C16.3586 11.35 16.6496 11.641 16.6496 12C16.6496 12.359 16.3586 12.65 15.9996 12.65H14.6933L13.13 16.2575C13.027 16.4951 12.7927 16.649 12.5337 16.649C12.2746 16.649 12.0403 16.4952 11.9373 16.2576L9.0434 9.58369L7.78547 12.2752C7.6786 12.5039 7.44902 12.65 7.19661 12.65H2.99961C2.64062 12.65 2.34961 12.359 2.34961 12C2.34961 11.641 2.64062 11.35 2.99961 11.35H6.78291L8.47675 7.72578C8.58502 7.49413 8.81905 7.34747 9.07473 7.35106Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8654 10.3543C21.222 10.313 21.5446 10.5686 21.5859 10.9252C21.6264 11.2747 21.6502 11.6328 21.6502 12C21.6502 17.33 17.3302 21.65 12.0002 21.65C7.79796 21.65 4.23607 18.96 2.91051 15.217C2.79067 14.8786 2.96785 14.5071 3.30624 14.3873C3.64463 14.2674 4.0161 14.4446 4.13594 14.783C5.28438 18.026 8.36849 20.35 12.0002 20.35C16.6122 20.35 20.3502 16.612 20.3502 12C20.3502 11.6892 20.3301 11.3813 20.2945 11.0748C20.2532 10.7182 20.5088 10.3956 20.8654 10.3543Z",fill:"#3E3F58"})),color:Bn.mbColors.lightOrange},together:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99961 4.65C7.4256 4.65 6.14961 5.92599 6.14961 7.5C6.14961 9.07401 7.4256 10.35 8.99961 10.35C10.5736 10.35 11.8496 9.07401 11.8496 7.5C11.8496 5.92599 10.5736 4.65 8.99961 4.65ZM4.84961 7.5C4.84961 5.20802 6.70763 3.35 8.99961 3.35C11.2916 3.35 13.1496 5.20802 13.1496 7.5C13.1496 9.79198 11.2916 11.65 8.99961 11.65C6.70763 11.65 4.84961 9.79198 4.84961 7.5ZM6.71218 15.0233L6.53409 15.0517C4.87235 15.3169 3.64961 16.7503 3.64961 18.433C3.64961 18.9395 4.06015 19.35 4.56658 19.35H13.4326C13.9391 19.35 14.3496 18.9395 14.3496 18.433C14.3496 16.7503 13.1269 15.3169 11.4651 15.0517L11.287 15.0233C9.77167 14.7814 8.22754 14.7814 6.71218 15.0233ZM6.5073 13.7395C8.15839 13.476 9.84083 13.476 11.4919 13.7395L11.67 13.768C13.9626 14.1338 15.6496 16.1114 15.6496 18.433C15.6496 19.6574 14.657 20.65 13.4326 20.65H4.56658C3.34218 20.65 2.34961 19.6574 2.34961 18.433C2.34961 16.1114 4.03657 14.1338 6.3292 13.768L6.5073 13.7395Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3496 4C14.3496 3.64101 14.6406 3.35 14.9996 3.35C17.2916 3.35 19.1496 5.20802 19.1496 7.5C19.1496 9.79198 17.2916 11.65 14.9996 11.65C14.6406 11.65 14.3496 11.359 14.3496 11C14.3496 10.641 14.6406 10.35 14.9996 10.35C16.5736 10.35 17.8496 9.07401 17.8496 7.5C17.8496 5.92599 16.5736 4.65 14.9996 4.65C14.6406 4.65 14.3496 4.35898 14.3496 4ZM15.5908 14.3814C15.5908 14.0224 15.8818 13.7314 16.2408 13.7314H17.2089C17.3632 13.7314 17.5175 13.7436 17.67 13.768C19.9626 14.1338 21.6496 16.1114 21.6496 18.433C21.6496 19.6574 20.657 20.65 19.4326 20.65H17.3895C17.0305 20.65 16.7395 20.359 16.7395 20C16.7395 19.641 17.0305 19.35 17.3895 19.35H19.4326C19.9391 19.35 20.3496 18.9395 20.3496 18.433C20.3496 16.7503 19.1269 15.3169 17.4651 15.0517C17.3805 15.0382 17.2947 15.0314 17.2089 15.0314H16.2408C15.8818 15.0314 15.5908 14.7404 15.5908 14.3814Z",fill:"#3E3F58"})),color:Bn.mbColors.lightBlue}},lp=function(e){var t,a,i,o=e.item,r=e.isActive,l=e.isGoingForward,s=e.onServiceClicked;return n.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},n.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},n.createElement("div",{style:gn({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=rp[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=rp[o.id])||void 0===i?void 0:i.icon)),n.createElement(ol,{type:"subtitle-3",color:r&&Bn.mbColors.pink,style:{fontWeight:Bn.sizes.fwSemiBold}},o.name),r&&(l?n.createElement(ir,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):n.createElement(ir,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},sp=function(a){var i=a.menuItems,o=a.activeItem,r=a.onServiceClicked,l=e(0),s=l[0],c=l[1],d=t(!0);return n.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},i.map((function(e,t){return n.createElement(lp,{onServiceClicked:function(n){d.current=s<t,c(t),null==r||r(n)},key:"item"+t,item:e,isGoingForward:d.current,isActive:o.id===e.id})})))},cp=function(t){var a=t.isMobile,o=void 0!==a&&a,r=t.isMobileMenuOpened,l=void 0===r?void 0:r,s=t.categories,c=t.healthTools,d=t.healthToolsByCategory,p=t.careSpecialties,m=t.togetherCommunities,u=t.spotlightsList,g=t.closePopup,h=t.popupType,f=void 0===h?"none":h,x=t.onMobileMenuClick,v=t.footer,y=t.care.CARE_URL_FE,b=t.discover,E=b.discoverApiDomain,w=b.DISCOVER_URL_FE,k=t.together,C=k.togetherApiDomain,L=k.TOGETHER_URL_FE,M=t.sso.SSO_URL,S=t.statics,T=S.MARRY_BABY_FE,N=S.HOME_PAGE_URL,z=S.STATIC_PAGES,A=S.HEALTH_TOOL_URL_FE,B=t.marryBaby.tone,_=t.locale,D=t.siteType,F=t.basePath,P=t.callApiHandler,H=t.activeMenuService,I=t.menuItems,R=t.routerAsPath,j=lt(),U=e(!1),O=U[0],V=U[1],G=e(s),Z=G[0],Y=G[1],W=e(void 0),Q=W[0],q=W[1],K=e(void 0),J=K[0],X=K[1],$=e(!1),nn=$[0],en=$[1],tn=e(null==I?void 0:I.find((function(n){return n.id===H}))),an=tn[0],on=tn[1],rn=e(!1),ln=rn[0],sn=rn[1],cn=e(!1),pn=cn[0],mn=cn[1],un=function(){Q&&(window.location.href=Q.permalink),yn(),g&&g()},gn=function(){Q&&(window.location.href="".concat(L,"/").concat(Q.communitySlug)),yn(),g&&g()},hn=function(n){n.childCates&&n.childCates.length>0?(V(!0),q(n)):(window.location.href="helloSites"===D?w+n.permalink:T+n.permalink,yn(),g&&g())},fn=function(n){var e=n.community;n.isSetToSubMenu?(V(!0),q(e)):(window.location.href="".concat(L,"/").concat(e.communitySlug),yn(),g&&g())},xn=function(n){window.location.href=n.link.startsWith("http")?n.link:A+n.link,yn(),g&&g()},vn=function(n){window.location.href=y+ut({type:"DOCTOR",specialtySlug:n.slug,locale:_}),null==g||g()},yn=function(){q(void 0),V(!1)},bn=function(n){on(I.find((function(e){return e.id===n})))},En=na[_||"en-PH"]||{};return i((function(){var e;X("categories"===an.id?(null===(e=null==Q?void 0:Q.childCates)||void 0===e?void 0:e.length)>0&&n.createElement(ip,{selectedMenuMainItem:Q,spotlightsList:[],locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,onSelectCategory:hn,isMobile:o,siteType:D,onCategoryClick:un}):"together"===an.id&&Q&&n.createElement(op,{selectedMenuMainItem:Q,onCommunityClick:gn,onSelectCommunity:fn,TOGETHER_URL_FE:L,basePath:F,callApiHandler:P,locale:_,togetherApiDomain:C,siteType:D,isMobile:o}))}),[Q,an]),i((function(){sn(!0)}),[]),i((function(){!pn&&l&&mn(!0)}),[l]),i((function(){Y(s)}),[s]),o?n.createElement(n.Fragment,null,n.createElement(ko,{id:ln?"":"categories-menu","data-opened":l||(pn?l:"undefined"),key:ln?"t":"f"},n.createElement(Co,{"data-opened":l,"data-type":"category","data-is-sub-category-opened":O},n.createElement(ap,{siteType:D,locale:_,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==x?void 0:x("categories")},onSearchChange:function(n){en(""!==n),Y(n&&""!==n?s.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):s)},isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),n.createElement(Mo,null,n.createElement(To,null,n.createElement(No,null,n.createElement(zo,{"data-hide-on-search":nn,"data-is-sub-category-opened":O},"helloSites"===D?n.createElement(n.Fragment,null,n.createElement(or,{onClick:function(){window.location.href="".concat(Nn(_),"/search")}},n.createElement(dn,{className:"fake-search-input",name:"search-input-menu-service"+(ln?"":"-temp"),size:"md",placeholder:j("home.search",{site:En?En.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(n){n.preventDefault()},value:"",displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement(Zr,null))})),n.createElement(Sn,{tag:"h5",color:Bn.colors.gray800},j("menu.categories.title")),n.createElement(So,{"data-card-array-no-margin-style":!0},I.map((function(e,t){return n.createElement(Rd,{onClick:bn,key:"service-"+t,specialty:e,id:e.id,isActive:e.id===an.id,isMobile:o,position:0===t?"left":t===I.length-1?"right":"center"})})))):n.createElement(sp,{menuItems:I,activeItem:an,onServiceClicked:bn})),n.createElement(sc,{isDisplayed:"categories"===an.id,locale:_,basePath:F,callApiHandler:P,onClosePopup:g,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",onSelectCategory:hn,categories:Z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:D,desktopPopupType:f}),n.createElement(Fd,{isDisplayed:"healthTools"===an.id,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,onSelectHealthTool:xn,onClosePopup:g,desktopPopupType:f,healthTools:c,healthToolsByCategory:d,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),"care"===an.id&&n.createElement(os,{locale:_,basePath:F,onSelectCareSpecialty:vn,onClosePopup:g,careSpecialties:p,isLoading:!1,siteType:D,isMobile:o,desktopPopupType:f,CARE_URL_FE:y}),n.createElement(Rc,{isDisplayed:"together"===an.id,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,onClosePopup:g,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f})),v)))),O&&n.createElement(ko,{"data-sub-level-opened":O||(pn?O:"undefined")},n.createElement(Co,{"data-type":"sub-category","data-is-sub-category-opened":O},n.createElement(ap,{siteType:D,locale:_,isDisplayed:l&&O,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===an.id?null==Q?void 0:Q.categoryName:null==Q?void 0:Q.title,isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:yn,onSearchChange:void 0}),J))):n.createElement(n.Fragment,null,n.createElement(sc,{isDisplayed:"categories"===f,locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",desktopPopupType:f,onSelectCategory:hn,onClosePopup:g,categories:Z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:D}),n.createElement(Fd,{isDisplayed:"tools"===f,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,desktopPopupType:f,onSelectHealthTool:xn,onClosePopup:g,healthToolsByCategory:d,healthTools:c,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),n.createElement(Rc,{isDisplayed:"communities"===f,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f,onClosePopup:g}),"care"===f&&n.createElement(os,{locale:_,basePath:F,onSelectCareSpecialty:vn,careSpecialties:p,isLoading:!1,desktopPopupType:f,siteType:D,isMobile:o,CARE_URL_FE:y,onClosePopup:g}))},dp=ua.div(Gd||(Gd=xn(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.gray600}),wn.mbDown,wn.mbUp),pp=ua.div(Zd||(Zd=xn(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),wn.mbDown,wn.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),mp=function(e){var t=e.callPostLogOutApi,a=e.openLogoutPopup,o=e.onCloseHandler,r=e.onLogoutHandler,l=e.basePath,s=e.siteType,c=void 0===s?"helloSites":s,d=lt();i((function(){document.body.classList.toggle("noscroll",a)}),[a]);return n.createElement(zn,{type:"confirm",isOpen:a,closeIcon:n.createElement("img",{src:Kr,style:{width:24,height:24},alt:"close-icon"}),onClose:o},n.createElement(dp,null,"helloSites"===c&&n.createElement("img",{className:"cancle-img",src:"".concat(l,"/images/arrowDoor.svg"),alt:"close-account"}),n.createElement("h2",null,d("helloSites"===c?"logout.popup.ask1":"logout.popup.ask.mb")),n.createElement("p",null,d("logout.popup.ask2")),n.createElement(pp,{siteType:c},n.createElement(Mn,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){vn(void 0,void 0,void 0,(function(){return yn(this,(function(n){switch(n.label){case 0:return[4,null==t?void 0:t()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},d("logout.popup.button.logout")),n.createElement(Mn,{className:"cancel-button",color:"primary",size:"lg",onClick:o},d("logout.popup.button.cancel")))))},up=ua.div(Yd||(Yd=xn(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),wn.mbDown,wn.mbUp,wn.mbDown,wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.gray200}),wn.mbDown,wn.mbUp),gp=ua.div(Wd||(Wd=xn(["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),wn.mbUp,wn.mbDown),hp=function(e){var t=e.type,a=void 0===t?"lead":t,i=e.closeIcon,o=e.isOpen,r=void 0===o||o,l=e.onClose,s=e.children,c=e.enableAnimation,d=void 0===c||c,p=e.targetAvatar,m=e.id,u=e.className;return n.createElement(n.Fragment,null,n.createElement(up,{"data-open":r,"data-type":a,"data-animation":d,"data-target":p,id:m,className:u},n.createElement("div",{className:"popup-content"},!!i&&n.createElement("div",{className:"close-button",onClick:l},i),s)),n.createElement(gp,{"data-type":a,"data-open":r,onClick:l,id:m?"wrapper-".concat(m):void 0,className:"".concat(u||"","-wrapper")}))},fp=function(e){var t=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,r=e.targetAvatar,l=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,c=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,d=e.closePopup,p=e.siteType,m=void 0===p?"helloSites":p,u=e.dispatchLogout,g=e.userProfileRouterPush,h=e.isUserProfileNavigatorMenuHidden,f=e.isMyHealthEnabled,x=void 0!==f&&f,v=e.togetherApiDomain,y=function(n){g?g("/".concat(n)):t&&(window.location.href="".concat(t).concat(a,"/").concat(n))},b=function(n){y(n),d()};return n.createElement(hp,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:r,onClose:d},n.createElement(ha,{locale:o},n.createElement(vt,{SSO_URL:t,UP_BASEPATH:a,themeName:m,userInfo:l,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){u&&(u(),d())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:function(){y("profile"),d()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v})))},xp=ua.div(Qd||(Qd=xn(["\n position: relative;\n"],["\n position: relative;\n"]))),vp=ua.div(qd||(qd=xn([""],[""]))),yp=ua.div(Kd||(Kd=xn(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),bp=ua.div(Jd||(Jd=xn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),Ep=ua.div(Xd||(Xd=xn(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),wp=function(t){var a=t.options,i=t.label,o=t.selected,r=t.onChange,l=t.showSelected,s=void 0===l||l,d=t.style,p=void 0===d?{}:d,m=t.showIndicator,u=void 0===m||m,g=e(!1),h=g[0],f=g[1];return n.createElement(n.Fragment,null,n.createElement(xp,null,n.createElement(vp,{onClick:function(){return f((function(n){return!n}))}},!!i&&i),n.createElement(yp,{"data-is-open":h,style:p,"data-show-indicator":u},a.map((function(e,t){return n.createElement(bp,{key:t,"data-selected":s&&o===e.value,onClick:function(n){o!==e.value&&(r(e.value),f((function(n){return!n}))),n.stopPropagation()}},n.createElement(c,{size:"p3"},e.label),s&&o===e.value&&n.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),h&&n.createElement(Ep,{onClick:function(){return f(!1)}}))},kp=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},Cp=function(o){var r,l=o.siteType,s=o.MetaPageTitle,c=o.MetaPageDescription,d=o.MetaPageImage,p=o.footerInfo,m=o.children,u=o.ssrMenuContent,g=void 0===u?{}:u,h=g.categories,f=void 0===h?[]:h,x=g.healthTools,v=void 0===x?[]:x,y=g.healthToolsByCategory,b=void 0===y?[]:y,E=g.careSpecialties,w=void 0===E?[]:E,k=g.togetherCommunities,C=void 0===k?[]:k,L=g.spotlightsList,M=void 0===L?[]:L,S=o.SEOData,T=void 0===S?{}:S,N=o.UP_BASEPATH,z=void 0===N?ra.SSO_USER_PROFILE:N,A=o.isStatic,B=void 0!==A&&A,_=o.seoType,D=void 0===_?"website":_,F=o.isMobile,P=o.isMyHealthEnabled,H=void 0!==P&&P,I=o.logoutHandlers,R=I.isLogoutPopupOpened,j=I.callPostLogOutApi,U=I.onClosePopup,O=I.onLogout,V=o.marryBaby,G=void 0===V?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:V,Z=G.tone,Y=void 0===Z?"white":Z,W=G.marryBabyApiDomain,Q=G.socialLinks,q=void 0===Q?{}:Q,K=q.facebookLink,J=void 0===K?"":K,X=q.instagramLink,$=void 0===X?"":X,nn=q.linkedinLink,en=void 0===nn?"":nn,tn=q.twitterLink,an=void 0===tn?"":tn,on=q.youtubeLink,rn=void 0===on?"":on,ln=q.zaloLink,sn=void 0===ln?"":ln,cn=o.statics,dn=void 0===cn?{LOCALE_SPECS:na,STATIC_PAGES:la}:cn,pn=dn.DISCOVER_URL_FE,mn=dn.TOGETHER_URL_FE,un=dn.MARRY_BABY_FE,hn=dn.HOME_PAGE_URL,fn=dn.HEALTH_TOOL_URL_FE,xn=dn.CARE_URL_FE,bn=dn.LOCALE_SPECS,En=void 0===bn?na:bn,wn=dn.STATIC_PAGES,kn=void 0===wn?la:wn,Cn=o.sso,Ln=void 0===Cn?{}:Cn,Mn=Ln.dispatchLogout,Sn=Ln.SSO_URL,Tn=o.together,Nn=void 0===Tn?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Tn,zn=Nn.TOGETHER_MENU_COUNTRIES_ENABLED,An=Nn.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,Bn=Nn.togetherApiDomain,_n=o.care,Dn=void 0===_n?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:_n,Fn=Dn.CARE_MENU_COUNTRIES_ENABLED,Pn=Dn.ENABLE_CARE_PROFILE_MENU_LOCALES,Hn=Dn.careApiDomain,In=o.discover,Rn=(void 0===In?{discoverApiDomain:""}:In).discoverApiDomain,jn=o.activeMenuService,Un=void 0===jn?"categories":jn,On=o.basePath,Vn=o.isAmp,Gn=void 0!==Vn&&Vn,Zn=o.nextHead,Yn=o.routerPathname,Wn=o.routerQuery,Qn=o.routerAsPath,qn=o.locale,Kn=o.userState,Jn=o.callApiHandler,Xn=o.userProfileRouterPush,$n=o.onTopBarAppears,ne=o.forcedCanonicalUrl,ee=o.isUserProfileNavigatorMenuHidden,te=o.sitewideBanner,ae=o.sitewideBannerShown,ie=void 0===ae||ae,oe=o.sponsorComponent,re=o.languageOptions,le=o.isSearchBarDisplay,se=o.ampSubBar,ce=o.isSearchIconDisplayed,de=void 0===ce||ce,pe=o.enabledExperimentalCareHeader,me=void 0!==pe&&pe,ue=o.onCareHeaderClick,ge=o.dueDatePopup,he=o.welcomePopup,fe=o.ampNextArticle,xe=o.usingDefaultHead,ve=void 0===xe||xe,ye=o.acceptCookiePopup,be=o.seoCustom,Ee=o.hasStickyBottomBar,we=void 0===Ee||Ee,ke="boolean"==typeof le?le:!F,Ce=lt(),Le=En[qn||"en-PH"]||{},Me=a((function(){var n;return(null===(n=Qn.split("?"))||void 0===n?void 0:n[0])||""}),[Qn]),Se=a((function(){return"".concat(On).concat("/"===Me.slice(-1)?Me:"".concat(Me,"/"))}),[Me]),Te=a((function(){return(null==re?void 0:re.find((function(n){return n.value!==Se})))||null}),[re,Se]),Ne=e(p),ze=Ne[0],Ae=Ne[1],Be=e(f),_e=Be[0],De=Be[1],Fe=e(v),Pe=Fe[0],He=Fe[1],Ie=e(b),Re=Ie[0],je=Ie[1],Ue=e(w),Oe=Ue[0],Ve=Ue[1],Ge=e(C),Ze=Ge[0],Ye=Ge[1],We=e(M),Qe=We[0],qe=We[1],Ke=pn||"https://".concat(ta[qn])||"",Je="undefined"!=typeof window,Xe=Je&&document.querySelector("#categories-menu"),$e=Xe&&Je&&window.getComputedStyle(Xe),nt=$e&&$e.getPropertyValue("left"),et=t("0px"===nt),tt=e(et.current),at=tt[0],it=tt[1],ot=kp(".top-menu-categories"),rt=kp(".top-menu-health-tools"),st=kp(".top-menu-communities"),ut=kp(".top-menu-care-specialties"),gt=e(ot&&"none"!==ot?"categories":rt&&"none"!==rt?"tools":st&&"none"!==st?"communities":ut&&"none"!==ut?"care":"none"),ht=gt[0],ft=gt[1],xt=a((function(){var e,t;return n.createElement(Vl,null,null===(t=null===(e=qn.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase(),n.createElement("img",{src:"language"===ht?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:Ce("home.navigator.menuItem.language")}))}),[ht,qn]),vt=Kn.userInfo,Dt=Kn.isLoggedIn,Ft=function(n){ht!==n&&(ft(n),it(!0)),ht===n&&(ft("none"),it(!1))},Pt=function(){it(!1),ft("none")},Ht=function(n,e){"Enter"===n.key&&(window.location.href="".concat(hn,"/search/?s=").concat(e))},It=null===(r=null==En?void 0:En[qn])||void 0===r?void 0:r.SITE_NAME_FORMATTED,Rt=[{name:Ce("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:ct,isDisplayed:!0},{name:Ce("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:dt,isDisplayed:!0}];(null==zn?void 0:zn.includes(qn))&&Rt.push({name:Ce("home.navigator.menuItem.helloTogether"),id:"together",link:mn+"/",thumbnail:pt,isDisplayed:!0}),(null==Fn?void 0:Fn.includes(qn))&&Rt.push({name:Ce("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:mt,isDisplayed:!0}),i((function(){document.documentElement.style.overflow=at?"hidden":""}),[at]);var jt=!!oe;i((function(){Dt&&("first_login"===(null==Wn?void 0:Wn.source)?(null==vt?void 0:vt.email)&&""!==(null==vt?void 0:vt.email)?window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,email:null==vt?void 0:vt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,sign_up:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:(null==vt?void 0:vt.email)&&""!==(null==vt?void 0:vt.email)?window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,email:null==vt?void 0:vt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,log_in:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}),vn(void 0,void 0,void 0,(function(){var n,e;return yn(this,(function(t){switch(t.label){case 0:return ze?[3,3]:[4,fetch("helloSites"===l?yt(qn,Rn):bt(qn,W))];case 1:return[4,t.sent().json()];case 2:return e=t.sent(),[3,4];case 3:e=null,t.label=4;case 4:return(n=e)&&1===n.status&&n.data&&!ze&&Ae("helloSites"===l?n.data||{}:n.data.footers||[]),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o;return yn(this,(function(r){switch(r.label){case 0:return f&&0!==(null==f?void 0:f.length)||0!==(null==_e?void 0:_e.length)?[3,3]:(i={},[4,fetch(wt(qn,Rn))]);case 1:return[4,r.sent().json()];case 2:return i.response=r.sent(),t=i,[3,4];case 3:t={},r.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(o=e.data)||void 0===o?void 0:o.length)>0&&(a=e.data.map(Et),0===_e.length&&De(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return yn(this,(function(d){switch(d.label){case 0:return M&&0!==(null==M?void 0:M.length)||"helloSites"!==l||0!==(null==Qe?void 0:Qe.length)?[3,3]:(i={},[4,fetch(Lt(qn,Rn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(r=null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.articles)||void 0===r?void 0:r.length)>0&&(a=null===(c=null===(s=e.data)||void 0===s?void 0:s.articles)||void 0===c?void 0:c.map(kt).filter(Ct).slice(0,4),0===Qe.length&&qe(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return yn(this,(function(s){switch(s.label){case 0:return(null==v?void 0:v.length)||(null==Pe?void 0:Pe.length)||(null==b?void 0:b.length)||(null==b?void 0:b.length)?[3,6]:(o={},"helloSites"!==l?[3,2]:[4,fetch(Nt(qn,Rn))]);case 1:return a=s.sent(),[3,4];case 2:return[4,fetch(Tt(qn,W))];case 3:a=s.sent(),s.label=4;case 4:return[4,a.json()];case 5:return o.response=s.sent(),t=o,[3,7];case 6:t={},s.label=7;case 7:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(r=e.data)||void 0===r?void 0:r.length)>0&&("helloSites"===l?(i=e.data.map(Mt),0===Pe.length&&je(i)):(i=e.data.map(St),0===Pe.length&&He(i))),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return yn(this,(function(l){switch(l.label){case 0:return w&&0!==(null==w?void 0:w.length)||!Fn.includes(qn)||0!==(null==Oe?void 0:Oe.length)?[3,3]:(i={},[4,fetch(zt(qn,Hn))]);case 1:return[4,l.sent().json()];case 2:return i.response=l.sent(),t=i,[3,4];case 3:t={},l.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(o=e._data)||void 0===o?void 0:o.specialties)||void 0===r?void 0:r.length)>0&&(a=e._data.specialties,0===Oe.length&&Ve(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return yn(this,(function(d){switch(d.label){case 0:return C&&0!==(null==C?void 0:C.length)||!zn.includes(qn)||0!==(null==Ze?void 0:Ze.length)?[3,3]:(i={},[4,fetch("helloSites"===l?Bt(qn,Bn):_t(qn,Bn))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,(null===(r=null===(o=null==(e=void 0===n?{}:n)?void 0:e.data)||void 0===o?void 0:o.communities)||void 0===r?void 0:r.length)>0&&(a=(null===(c=null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.map(At))||[],0===Ze.length&&Ye(a)),[2]}}))}))}),[]);var Ut=n.createElement(fp,{locale:qn,UP_BASEPATH:z,SSO_URL:Sn,userProfileRouterPush:Xn,dispatchLogout:Mn,isOpen:"profile"===ht,isMyHealthEnabled:H,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,closePopup:Pt,userInfo:vt,siteType:l,isUserProfileNavigatorMenuHidden:ee,togetherApiDomain:Bn}),Ot=Gn&&{"next-page-hide":""};return n.createElement(Zl,{SEOData:gn({SEOTitle:s,SEOImage:d,SEODescription:c,siteName:It,seoType:D},T),isAmp:Gn,locale:qn,routerPathname:Yn,routerQuery:Wn,nextHead:Zn,siteType:l,forcedCanonicalUrl:ne,userId:null==vt?void 0:vt.id,usingDefaultHead:ve,seoCustom:be},n.createElement(mp,{basePath:On,callPostLogOutApi:j,openLogoutPopup:R,onCloseHandler:U,onLogoutHandler:O,siteType:l}),ge,he,ye,F?n.createElement(n.Fragment,null,n.createElement(jl,null,n.createElement("section",gn({className:Gn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ot),n.createElement(ap,{siteType:l,statics:{DISCOVER_URL_FE:Ke,SSO_URL:Sn,HOME_PAGE_URL:hn,MARRY_BABY_FE:un,CARE_URL_FE:xn},marryBaby:{tone:Y},menuItems:Rt,menu:Gn?void 0:n.createElement(cp,{key:"mobile-menu-popup",menuItems:Rt,siteType:l,isMobileMenuOpened:"categories"===ht,categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Oe,togetherCommunities:Ze,spotlightsList:Qe,onMobileMenuClick:Ft,isMobile:F,closePopup:Pt,footer:n.createElement(Rl,{locale:qn,isMobile:F,basePath:On,isAmp:Gn,footerInfo:ze,type:"mini",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}}),locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn||W,TOGETHER_URL_FE:mn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,careApiDomain:Hn,CARE_URL_FE:xn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:Ke},activeMenuService:Un,statics:{DISCOVER_URL_FE:Ke,HOME_PAGE_URL:hn,HEALTH_TOOL_URL_FE:fn,MARRY_BABY_FE:un,TOGETHER_URL_FE:mn,STATIC_PAGES:kn},marryBaby:{tone:Y},routerAsPath:Qn,popupType:"none",sso:{SSO_URL:Sn}}),profileMenu:Ut,type:"home",currentPopupType:ht,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Ft,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){$n&&$n(n)},isSearchBarDisplay:ke,onSearchKeyPress:Ht,isStatic:Gn||B,sponsorComponent:oe,locale:qn,userInfo:Kn.userInfo,basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:Qn,title:"",sitewideBanner:te,sitewideBannerShown:ie,isSearchIconDisplayed:de,enabledExperimentalCareHeader:me,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(Gl,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(wp,{options:re,selected:Se,label:xt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==se&&n.createElement(n.Fragment,null,se)),Gn?n.createElement(Ol,{className:"root-container","data-menu-opened":et.current,"data-sponsored":jt,"data-is-mobile":F,"data-sitewide":!!te},m,n.createElement(Rl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})):n.createElement(Ul,{className:"root-container","data-menu-opened":et.current,"data-sponsored":jt,"data-is-mobile":F,"data-sitewide":!!te,hasStickyBottomBar:we},n.createElement(n.Fragment,null,m,n.createElement(Rl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})))),Gn&&n.createElement(Qr,{locale:qn,categoriesSSR:f,healthToolsSSR:b,spotlightsSSR:M,serviceUrls:{TOGETHER_URL_FE:mn,CARE_URL_FE:xn,DISCOVER_URL_FE:Ke},together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,togetherApiDomain:Bn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,careApiDomain:Hn},basePath:On,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"})})):n.createElement(n.Fragment,null,n.createElement(ap,{siteType:l,menuItems:Rt,marryBaby:{tone:Y},locale:qn,currentPopupType:ht,onSearchKeyPress:Ht,openPopup:function(n){ht!==n&&ft(n),ht===n&&ft("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!Gn&&ke,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),sitewideBannerShown:ie,statics:{DISCOVER_URL_FE:Ke,SSO_URL:Sn,HOME_PAGE_URL:hn,MARRY_BABY_FE:un,CARE_URL_FE:xn},menu:n.createElement(cp,{menuItems:Rt,siteType:l,isMobile:F,popupType:ht,closePopup:function(){ft("none")},categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Oe,togetherCommunities:Ze,spotlightsList:Qe,locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn,TOGETHER_URL_FE:mn},care:{careApiDomain:Hn,CARE_MENU_COUNTRIES_ENABLED:Fn,CARE_URL_FE:xn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:Ke},statics:{DISCOVER_URL_FE:Ke,HOME_PAGE_URL:hn,HEALTH_TOOL_URL_FE:fn,MARRY_BABY_FE:un,TOGETHER_URL_FE:mn,STATIC_PAGES:kn},activeMenuService:Un,marryBaby:{tone:Y},routerAsPath:Qn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Sn},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:Kn.userInfo,sponsorComponent:oe,type:"home",basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:Qn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:te,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(Gl,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(wp,{options:re,selected:Se,label:xt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:me,onCareHeaderClick:ue}),Gn?n.createElement(Ol,{className:"root-container","data-menu-opened":at,"data-is-mobile":F,"data-sponsored":jt,"data-sitewide":!!te},m):n.createElement(Ul,{className:"root-container","data-menu-opened":at,"data-is-mobile":F,"data-sponsored":jt,"data-sitewide":!!te,hasStickyBottomBar:we},m),n.createElement(Rl,{type:"main",locale:qn,basePath:On,isMobile:F,isAmp:Gn,footerInfo:ze,siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}})))},Lp=function(e){return n.createElement(Dt.Provider,{value:{translation:e.translation||Ft}},n.createElement(Cp,gn({},e)))},Mp=ua.div($d||($d=xn(["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"],["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"])),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.cobalt})),Sp=ua.div(np||(np=xn(["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"],["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"]))),Tp=ua.div(ep||(ep=xn(["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"],["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white})),Np=function(a){var o=a.icon,r=a.content,l=a.isCollapsed,s=a.isMobile,c=a.type,d=a.onClose,p=a.setBannerClosed,m=a.dispatch,u=a.dispatchActionType,g=a.cookieName,h=a._overrideCloseHandler,f=a.isAmp,x=a.siteType,v=a.dataEventCategory,y=void 0===v?"Header Banner":v,b=a.dataEventAction,E=void 0===b?"Close Click":b,w=a.dataEventLabel,k=void 0===w?"":w,C=a.dataTracking,L=void 0===C?"true":C,M=e(!1),S=M[0],T=M[1],N=e(!1),z=N[0],A=N[1],B=r;f&&(B=B.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(y,'"'),'data-vars-event-category="'.concat(y,'" data-vars-tracking="').concat(L,'"')));var _=t(64);i((function(){var n=Xt((function(){window.scrollY<_.current?A(!1):window.scrollY>64&&A(!0),_.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===x,F=D?Kr:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";return i((function(){p&&p(S||l||z)}),[p,S,l,z]),n.createElement(Mp,{"data-is-mobile":s,"data-is-collapse":S||l||z,"data-is-marrybaby":D},o?n.createElement(Sp,{"data-is-marrybaby":D},f?n.createElement("amp-img",{src:o,width:"76",height:"52"}):n.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,r?n.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:B}}):null,n.createElement(Tp,gn({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":y,"data-vars-event-action":E,"data-vars-event-label":k||"","data-vars-tracking":L||"",className:"amp-close-banner",onClick:function(){T(!0),h?h():(d&&d(),g&&un(g,"true"),c&&m&&m({type:u,payload:{type:c}}))},"data-is-mobile":s}),f?n.createElement("amp-img",{src:F,width:"24",height:"24"}):n.createElement("img",{src:F,className:"close-icon"})))};ua.div(zp||(zp=xn(["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"])));var zp,Ap,Bp,_p,Dp,Fp=ua.div(Ap||(Ap=xn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),wn.mbUp),Pp=ua.div(Bp||(Bp=xn(["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"],["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"])),wn.mbDown,wn.mbUp),Hp=function(t){var a=t.className,i=t.isMobile,o=t.isCollapsed,r=t.sponsoredType,l=t.sponsoredBy,s=t.isAmp,d=t.locale,p=lt(),m=e(!1),u=m[0],g=m[1];return n.createElement(Fp,{className:a,onClick:function(){return g(!0)},"data-show-popup":u&&(!i||!o)&&!s,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":s||void 0},n.createElement(mn,{style:{position:"relative",padding:"0 16px"}},"content"===r?n.createElement(c,{size:i?"p4":"p3",color:"#737373"},n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Jr}):n.createElement("img",{src:Jr,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?n.createElement(n.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",n.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):n.createElement(c,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Jr,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):n.createElement("img",{src:Jr,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||i&&o||s?null:n.createElement(Ip,{sponsoredBy:l,isAmp:s,onClose:function(){return g(!1)},locale:d})))},Ip=function(e){var t=e.sponsoredBy,a=e.isAmp,i=e.onClose,o=e.locale||"en-PH",r=lt();return n.createElement(Pp,{"data-align-left":t&&!!(null==t?void 0:t.logo),"data-is-amp":a||void 0,id:"sponsored-by",className:a?"amp-sponsored-popup":void 0},n.createElement(c,{size:"p3",style:{marginBottom:"1rem"}},r("articlePage.sponsoredByStickyPopup.content")),n.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},n.createElement(Mn,{size:"md",color:"secondary",onClick:i,isAmp:a,on:"tap:sponsored-by.toggleClass(class='open')"},r("articlePage.sponsoredByStickyPopup.close")),n.createElement(Mn,{size:"md",onClick:function(){window.location.href="/static".concat(la[o].ADVERTISING_SPONSOR_POLICY)},isAmp:a,on:"tap:AMP.navigateTo(url='/static".concat(la[o].ADVERTISING_SPONSOR_POLICY,"')")},r("articlePage.sponsoredByStickyPopup.policies"))))},Rp=ua.footer(_p||(_p=xn(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),wn.mbDown,wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp),jp=ua.div(Dp||(Dp=xn(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),Up=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement(jp,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},Op=function(e){var t,a,i,o,r,l,s,d,p,m,u,g,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,H,I=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=En().t,Y=null==U?void 0:U.menu;return n.createElement(Rp,{as:G&&"mini"===j?"div":"footer",className:I,style:"mini"===j?{backgroundColor:Bn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(mn,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(Mn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(g=null===(u=Y[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Dn[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(Up,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(Dn[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Dn[V]).concat(e.url),size:"sm",type:"regular",style:{color:Bn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Bn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(H=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===H?void 0:H.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};ua((function(e){var t=e.type,a=fn(e,["type"]);return n.createElement(t,a)}))(Vp||(Vp=xn(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var Vp,Gp,Zp=ua.p(Gp||(Gp=xn(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),Yp=function(e){var t=e.type,a=e.color,i=e.style,o=fn(e,["type","color","style"]);return n.createElement(Zp,gn({"data-type":t,style:gn(gn({},i),a&&{"--text-color":a})},o))};ua.footer(Wp||(Wp=xn(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),wn.mbDown,wn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.white}),wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp);var Wp,Qp,qp,Kp,Jp,Xp,$p,nm,em=ua.div(Qp||(Qp=xn([""],[""]))),tm=ua.div(qp||(qp=xn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),am=ua.div(Kp||(Kp=xn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),wn.mbDown),im=ua.div(Jp||(Jp=xn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,wn.mbDown),om=ua.div(Xp||(Xp=xn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),wn.mbUp,wn.mbDown),rm=ua.div($p||($p=xn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray}),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray})),lm=ua.div(nm||(nm=xn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),sm={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},cm=function(e){var t,a=e.socialLinks,i=void 0===a?sm.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,u=e.footerMenu,g=void 0===u?[]:u,h=e.type,f=void 0===h?"main":h,x=En().t;return"main"===f?n.createElement(em,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(mn,{type:"marryBaby"},n.createElement(It,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(am,null,n.createElement(mn,{type:"marryBaby"},n.createElement(im,null,n.createElement("div",{className:"grid"},null===(t=m?null==g?void 0:g.slice(0,6):g)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(Yp,{color:Bn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(Yp,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:Ba,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:Ha,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:_a,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:Ia,alt:"Zalo"}))))))))),n.createElement(om,null,n.createElement(mn,{type:"marryBaby"},n.createElement(rm,null,n.createElement(pn,{className:"logo",type:p,width:"121px"}),n.createElement(Yp,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(Yp,{type:"bodytext-3"},x("footer.info.address")),n.createElement(Yp,{type:"bodytext-3"},x("footer.info.license")),n.createElement(Yp,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(It,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(Yp,{type:"bodytext-3"},c)))))):n.createElement(tm,null,n.createElement(lm,null),n.createElement(Yp,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Bn.sizes.fwSemiBold},color:Bn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},dm=function(e){var t=e.type,a=e.isMobile,i=void 0===a||a,o=e.locale,r=e.footerInfo,l=e.isAmp;return"helloSites"===e.siteType?n.createElement(Op,{isAmp:l,isMobile:i,type:t,locale:o,footerInfo:r||{}}):n.createElement(cm,{isMobile:i,locale:o,footerMenu:r||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:t})};export{fa as A,xa as B,Aa as C,Va as D,ap as E,ya as F,ba as G,Hp as H,ja as I,dm as J,Zl as L,ti as M,Lp as N,wa as P,ka as R,Ca as S,Sa as T,Na as U,va as a,Ma as b,Ta as c,za as d,Ra as e,Ua as f,Ya as g,Qa as h,qa as i,Ka as j,Xa as k,$a as l,ai as m,ii as n,oi as o,Ai as p,Bi as q,_i as r,Di as s,Fi as t,Pi as u,Hi as v,Ii as w,Ri as x,Vi as y,Np as z};
2
- //# sourceMappingURL=index-1317d85c.js.map
1
+ import n,{useState as e,useRef as t,useMemo as a,useEffect as i,Fragment as o,useCallback as r}from"react";import{S as l,d as s,T as c,e as d,f as p,g as m,h as u,i as g,j as h,k as f,l as x,m as v,n as y,o as b,p as E,q as w,r as k,s as C,t as L,u as M,v as S,w as T,x as N,y as z,z as A,A as B,B as _,D,E as F,F as P,G as H,H as I,J as R,K as j,M as U,N as O,O as V,Q as G,R as Z,U as Y,V as W,W as Q,X as q,Y as K,Z as J,_ as X,$,a0 as nn,a1 as en,a2 as tn,a3 as an,a4 as on,a5 as rn,a6 as ln,a7 as sn,a8 as cn,P as dn,a as pn,C as mn,a9 as un}from"./cookieHelper-083bb24e.js";import{_ as gn,a as hn,b as fn,c as xn,d as vn,e as yn}from"./tslib.es6-fd0a5c98.js";import{f as bn,u as En,M as wn}from"./useTranslations-f3eec98c.js";import{Range as kn,getTrackBackground as Cn,useThumbOverlap as Ln}from"react-range";import{B as Mn,H as Sn,A as Tn,o as Nn,P as zn}from"./index.styled-4510c448.js";import{createPortal as An}from"react-dom";import{t as Bn,i as _n,d as Dn}from"./theme-d85b3a33.js";import{j as Fn,k as Pn,l as Hn,m as In,n as Rn,o as jn,p as Un,q as On,r as Vn,s as Gn,t as Zn,u as Yn,v as Wn,w as Qn,x as qn,y as Kn,z as Jn,A as Xn,B as $n,C as ne,E as ee,G as te,H as ae,I as ie,J as oe,K as re,O as le,Q as se,R as ce,T as de,V as pe,W as me,X as ue,Y as ge,Z as he,_ as fe,$ as xe,a0 as ve,a1 as ye,a2 as be,a3 as Ee,a4 as we,a5 as ke,a6 as Ce,a7 as Le,a8 as Me,a9 as Se,aa as Te,ab as Ne,ac as ze,ad as Ae,ae as Be,af as _e,ag as De,ah as Fe,ai as Pe,aj as He,ak as Ie,al as Re,am as je,an as Ue,ao as Oe,ap as Ve,aq as Ge,ar as Ze,as as Ye,at as We,au as Qe,av as qe,aw as Ke,ax as Je,ay as Xe,az as $e,aA as nt,aB as et,aC as tt,aD as at,aE as it,aF as ot,aG as rt,aH as lt,aI as st,aJ as ct,aK as dt,aL as pt,aM as mt,aN as ut,aO as gt,aP as ht,aQ as ft,aR as xt,U as vt,aS as yt,aT as bt,aU as Et,aV as wt,aW as kt,aX as Ct,aY as Lt,aZ as Mt,a_ as St,a$ as Tt,b0 as Nt,b1 as zt,b2 as At,b3 as Bt,b4 as _t,b5 as Dt,d as Ft}from"./index-04b83fef.js";import{useId as Pt}from"react-id-generator";import{a as Ht,D as It}from"./index-130e6504.js";import{format as Rt,isBefore as jt,startOfMonth as Ut,addMonths as Ot,subMonths as Vt,getDaysInMonth as Gt,isToday as Zt,isSameDay as Yt,isWithinInterval as Wt,isAfter as Qt,isPast as qt}from"date-fns";import Kt from"react-day-picker/DayPickerInput";import{u as Jt}from"./useScrollbarSize-99db33e1.js";import{throttle as Xt,debounce as $t}from"lodash";import{L as na,F as ea,d as ta,Z as aa,M as ia,a as oa,S as ra,b as la}from"./constants-dc22740c.js";import{u as sa}from"./useOutsideClick-6004483a.js";import ca from"date-fns/locale/en-US";import da from"date-fns/locale/id";import pa from"date-fns/locale/vi";import ma from"date-fns/locale/zh-TW";import"lodash/debounce";import ua from"styled-components";import ga from"react-loading-skeleton";import{T as ha}from"./translationsProvider-7ccc3d2b.js";var fa=function(e){var t=e.style,a=e.onClose,i=e.text,o=e.type,r=e.contentIcon,p=e.closeIcon,m=e.className,u=e.description;return n.createElement(l,{style:t,"data-alert-type":o,className:m},n.createElement(s,null,n.createElement("div",{className:"icon-title"},r,n.createElement(c,{type:"bold",size:"label1"},i)),n.createElement(c,{type:"regular",size:"p3"},u)),n.createElement(d,{onClick:a},p))},xa=function(e){var t=e.amount,a=e.type,i=e.size,o=void 0===i?"medium":i,r=e.color,l=void 0===r?"primary":r,s=e.icon,c=e.className;return n.createElement(p,{"data-notification-type":a,"data-notification-size":o,"data-notification-color":l,"data-has-icon":!!s||void 0,notificationType:a,notificationSize:o,notificationColor:l,hasIcon:!!s,className:c},n.createElement("div",null,t&&n.createElement("span",null,t)," ",s&&n.createElement("div",null,s)))},va=function(e){var t=e.style,a=e.children,i=e.className,o=e.size,r=void 0===o?"lg":o,l=e.type,s=void 0===l?"bold":l,c=e.upperCase,d=e.as,p=void 0===d?"h4":d,u=e.color;return n.createElement(m,{style:gn({color:u},t),className:i,"data-size":r,"data-type":s,"data-uppercase":c,as:p},a)},ya=function(a){var i=a.className,o=a.value,r=a.options,l=a.onUploadSelected,s=a.id,c=a.placeholderIcon,d=a.placeholder,p=a.style,m=e(!1),v=m[0],y=m[1],b=function(){return y(!v)},E=t(r.map((function(e){return"upload"===e.type&&n.createElement("input",{id:"uploader-dropdown-input-"+s+"-"+e.value,key:"uploader-dropdown-input-"+s+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:function(n){console.log("change"),l(n.target.files)}})}))),w=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},n.createElement("defs",null,n.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},n.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),n.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"File"),n.createElement("g",{clipPath:"url(#prefix__clip-path)"},n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),n.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),k=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"download"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),C=n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return n.createElement(u,{className:i,"data-dropdown-open":!!v,id:s,"data-has-icons":!0,style:p,onBlur:function(){return y(!1)},tabIndex:0},n.createElement(g,{onClick:b},c||w," ",n.createElement("span",null,o&&o.value?o.label:d)),v&&n.createElement(h,{onClick:b,"data-has-icons":!0},r.map((function(e){return n.createElement(f,{key:"".concat(s,"-").concat(e.value),"data-selected":o&&o.value===e.value||void 0,onClick:function(){return"upload"===e.type?function(n){var e;null===(e=document.querySelector(n))||void 0===e||e.click()}("#uploader-dropdown-input-"+s+"-"+e.value):void((n=e.url)&&window.open(n,"_blank"));var n}},n.createElement(x,null,e.icon||"download"===e.type?k:C),e.label)}))),n.createElement(n.Fragment,null,E.current))},ba=function(e){var t=e.className,a=e.columns,i=e.columnsDesktop,o=e.gridTemplateColumns,r=e.gridTemplateColumnsDesktop,l=e.gap,s=e.children,c=e.justifyChildren,d=e.style,p=e.alignItems;return n.createElement(v,{className:t,style:d,theme:{columns:a,columnsDesktop:i,gap:l,justifyChildren:c,gridTemplateColumns:o,gridTemplateColumnsDesktop:r,alignItems:p}},s)},Ea=function(t){var a=t.pagesAmount,r=t.activePage,l=t.handlePageChange,s=t.handleClick,c=t.href,d=t.queryPageName,p=void 0===d?"page":d,m=hn([],Array(a),!0).map((function(n,e){return e+1})),u=e(r<=4?m.slice(0,5):r>=m.length-3?m.slice(m.length-5,m.length):m.slice(r-2,r+1)),g=u[0],h=u[1];return i((function(){r<=4?h(m.slice(0,5)):r>=m.length-3?h(m.slice(m.length-5,m.length)):h(m.slice(r-2,r+1))}),[r]),n.createElement(o,null,r>4&&n.createElement(o,null,n.createElement(E,{onClick:function(){return l(1)}},c?n.createElement("a",{href:c,onClick:s},1):1),n.createElement(E,null,"...")),g.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===r||void 0,onClick:function(){return l(e)}},c?n.createElement("a",{href:bn(c,e,p),onClick:s},e):e)})),r<m.length-3&&n.createElement(o,null,n.createElement(E,null,"..."),n.createElement(E,{onClick:function(){return l(m.length)}},c?n.createElement("a",{href:bn(c,m.length,p),onClick:s},m.length):m.length)))},wa=function(t){var o=t.className,r=t.pagesAmount,l=t.currentPage,s=t.onChange,c=t.onClick,d=t.style,p=t.href,m=t.queryPageName,u=void 0===m?"page":m,g=hn([],Array(r),!0).map((function(n,e){return e+1})),h=e(l),f=h[0],x=h[1],v=a((function(){return p&&p.endsWith("&page=")?p.replace("&page=",""):p}),[p]),w=r-1,k=function(n){n<=r&&n>0&&(x(n),s(n))},C=function(n){c&&c(n)};return i((function(){x(l)}),[l]),n.createElement(y,{className:o,style:d},n.createElement(b,{className:"prev-page",onClick:function(){return k(f-1)},"data-last-page":1===f||void 0},v?n.createElement("a",{href:bn(v,f,u),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?n.createElement(Ea,{pagesAmount:r,activePage:f,handlePageChange:k,handleClick:C,href:v,queryPageName:u}):g.map((function(e){return n.createElement(E,{key:"".concat("pagination","+").concat(e),"data-page-active":e===f||void 0,onClick:function(){return k(e)}},v?n.createElement("a",{href:bn(v,e,u),onClick:C},e):e)})),n.createElement(b,{className:"next-page",onClick:function(){return k(f+1)},"data-last-page":f===w+1||void 0},v?n.createElement("a",{href:bn(v,f,u),onClick:C},n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},ka=function(e){var t=e.type,a=e.size,i=void 0===a?"small":a,o=e.label,r=e.name,l=e.checked,s=e.value,c=e.className,d=e.isDisabled,p=void 0!==d&&d,m=e.onChange,u=e.dataEventCategory,g=e.dataEventAction,h=e.dataEventLabel,f=!!g&&!!u&&!!h?{"data-event-category":u,"data-event-action":g,"data-event-label":h}:{};return n.createElement(w,{"data-disabled":p,className:c,"data-type":t,"data-size":i},n.createElement("input",gn({type:"radio",checked:l,name:r,id:"".concat(r,"-").concat(s),value:s,onChange:function(){return m(s)}},f)),n.createElement("label",gn({htmlFor:"".concat(r,"-").concat(s)},f),o))},Ca=function(e){var t=e.size,a=e.children,i=e.style,o=e.className;return n.createElement(k,{style:i,className:o,"data-shadow-size":t},a)};function La(e){var t=e.rangeRef,a=e.values,i=e.index,o=Ln(t,a,i,1," - ",(function(n){return n})),r=o[0],l=o[1];return n.createElement(n.Fragment,null,n.createElement(T,{"data-label":i,style:l},r),n.createElement(N,{"data-label":i}))}var Ma=function(t){var a=t.step,o=t.min,r=t.max,l=t.value,s=t.onChange,d=t.className,p=t.heading,m=t.isMobile,u=void 0!==m&&m,g=["#DBDFE5","#2D87F3","#DBDFE5"],h=n.useRef(),f=e(l),x=f[0],v=f[1];i((function(){v(l)}),[l[0],l[1]]);return n.createElement(C,{className:d},n.createElement(kn,{ref:h,values:x[0]>=o&&x[1]<=r?x:[o,r],onChange:v,onFinalChange:s,renderThumb:function(e){var t=e.props,a=e.index;return n.createElement(L,gn({},t),n.createElement(La,{rangeRef:h.current,values:x,index:a,isMobile:u}))},renderTrack:function(e){var t=e.props,a=e.children,i={background:Cn({values:x,colors:g,min:o,max:r})};return n.createElement(n.Fragment,null,p&&n.createElement(c,{size:"md",type:"bold"},p),n.createElement(M,{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:gn({},t.style)},n.createElement(S,{ref:t.ref,style:i},a)))},step:a,min:o,max:r}))},Sa=function(e){var t=e.type,a=e.children,i=e.style,o=e.isInline,r=e.isSquared,l=void 0!==r&&r,s=e.className,d=e.isLight,p=e.hasMorePadding,m=e.isLink,u=e.isSelected,g=e.textProps,h=void 0===g?{size:"sm"}:g,f=h.color?{"--text-props-color":h.color}:{};return n.createElement(z,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":d||void 0,"data-has-more-padding":p||void 0,"data-is-inline":o||void 0,style:gn(gn({},i),f),className:s,"data-is-selected":u||void 0,"data-is-link":m||void 0,tagType:t,isInline:o,tagHasMorePadding:p,tagIsLight:d,tagIsSquared:l,tagIsALink:m},n.createElement(c,gn({},h),a))},Ta=function(e){var t=e.className,a=e.id,i=e.onChange,o=e.checked,r=e.style,l=e.label;return n.createElement(A,{className:t,style:r},n.createElement("input",{type:"checkbox",id:a,onChange:i,checked:o}),n.createElement("label",{htmlFor:a},n.createElement(B,null),l&&n.createElement(_,null,l)))},Na=function(e){var t=e.size,a=e.isDisabled,i=e.className,o=e.link,r=e.style;return n.createElement(D,{className:i,"data-size":t,style:r,"data-disabled":a||void 0},o)},za=function(e){var t=e.type,a=e.withIcon,i=e.onFileSelected,o=e.inputId,r=e.withElement,l=e.fileAcceptType,s=e.multiple,c=e.value,d=e.className,p=function(){var n;null===(n=document.querySelector("#uploader-input-"+o))||void 0===n||n.click()};return n.createElement(F,{className:d},"badge"===t?n.createElement(P,{onClick:p,"data-is-attached-to-element":!!r},r,n.createElement(H,{"data-is-attached-to-element":!!r},a)):r?n.createElement("div",{onClick:p},r):n.createElement(Mn,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:p},n.createElement(I,null,n.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},n.createElement("defs",null,n.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),n.createElement("title",null,"upload"),n.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),n.createElement("input",{id:"uploader-input-"+o,accept:l,multiple:s,type:"file",style:{display:"none"},onChange:function(n){i(n.target.files)},value:c}))},Aa=function(e){var t=e.label,a=e.name,i=e.checked,o=e.className,r=e.isDisabled,l=e.onChange,s=e.value,c=e.isRectangle;return n.createElement(R,{className:o,"data-disabled":r||void 0,"data-is-rectangle":c||void 0,"data-label-text":t},n.createElement("input",{type:"checkbox",checked:i,name:a,onChange:function(){return l(s,!i)},disabled:r,value:s,id:"".concat(a,"-").concat(s),"data-label-text":t}),!c&&n.createElement("label",{htmlFor:"".concat(a,"-").concat(s)},t))},Ba="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27 0H5C2.23858 0 0 2.23858 0 5V27C0 29.7614 2.23858 32 5 32H27C29.7614 32 32 29.7614 32 27V5C32 2.23858 29.7614 0 27 0Z' fill='%231778F2'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.314 32V19.499H23.569L24 15.19H20.314L20.32 13.034C20.32 11.911 20.42 11.309 21.943 11.309H23.977V7H20.722C16.812 7 15.437 9.09 15.437 12.604V15.191H13V19.499H15.437V32H20.314Z' fill='white'/%3e%3c/svg%3e",_a="data:image/svg+xml,%3csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint0_radial)'/%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint1_radial)'/%3e%3cpath d='M16 22.22A6.226 6.226 0 019.781 16c0-3.43 2.79-6.219 6.22-6.219a6.226 6.226 0 016.218 6.22c0 3.428-2.79 6.218-6.219 6.218zm0-10.662A4.447 4.447 0 0011.558 16 4.447 4.447 0 0016 20.442 4.447 4.447 0 0020.442 16 4.447 4.447 0 0016 11.558zM22.664 10.67a1.333 1.333 0 100-2.666 1.333 1.333 0 000 2.665z' fill='white'/%3e%3cpath d='M21.33 27.55H10.67a6.226 6.226 0 01-6.22-6.22V10.67c0-3.43 2.79-6.22 6.22-6.22h10.66a6.226 6.226 0 016.22 6.22v10.66c0 3.43-2.791 6.22-6.22 6.22zM10.67 6.226a4.447 4.447 0 00-4.443 4.442V21.33a4.447 4.447 0 004.442 4.442H21.33a4.447 4.447 0 004.442-4.442V10.67a4.447 4.447 0 00-4.442-4.443H10.67z' fill='white'/%3e%3cdefs%3e%3cradialGradient id='prefix__paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(11.896 32.023) scale(39.8892)'%3e%3cstop stop-color='%23FD5'/%3e%3cstop offset='.328' stop-color='%23FF543F'/%3e%3cstop offset='.348' stop-color='%23FC5245'/%3e%3cstop offset='.504' stop-color='%23E64771'/%3e%3cstop offset='.643' stop-color='%23D53E91'/%3e%3cstop offset='.761' stop-color='%23CC39A4'/%3e%3cstop offset='.841' stop-color='%23C837AB'/%3e%3c/radialGradient%3e%3cradialGradient id='prefix__paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='matrix(26.4865 0 0 17.6479 5.15 -.4)'%3e%3cstop stop-color='%234168C9'/%3e%3cstop offset='.999' stop-color='%234168C9' stop-opacity='0'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",Da=function(e){return n.createElement("svg",gn({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"}))},Fa=function(e){return n.createElement("svg",gn({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"}))},Pa=function(e){return n.createElement("svg",gn({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),n.createElement("mask",{id:"mask0_3555_5815",maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},n.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),n.createElement("g",{mask:"url(#mask0_3555_5815)"},n.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ha="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='32' height='32' rx='6' fill='%23D42428'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 12C7 10.8954 7.89543 10 9 10H9.68946H10H22H22.31H23C24.1046 10 25 10.8954 25 12V12.5633V20C25 21.1046 24.1046 22 23 22H22.3098H22H10H9.68946H9C7.89543 22 7 21.1046 7 20V19.4367V12.5633V12ZM14.1994 12.4438V18.8997L19.34 15.6719L14.1994 12.4438Z' fill='white'/%3e%3c/svg%3e",Ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABnCAYAAADygzfHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABu7SURBVHgB7V0JmFTVlf7ve1XV1St0N93sdouACMiiRFSi4G6iIjFOJpp8EcwySSYTIONoEvMNGNeZxAhRs0y+CCT6xRijEpe4RBHRIILaIkuzN3svLL3QXfu7c86979XW1UtVF7hQB17X2+ou59yz3nNvCfQCpJT9j/nDk0yBWYZhTLekrBZAf+SgR5BAsxCokZb8QArxemGe65nefE90WygRxB+25lKh83KEyBrUwRBLETaW5eeLuq5e6pIw/mBkLnHGwhxBjhvUEfYX5ntcy1I9TEkYIsoDxC3z4u8plrTk4vfrj9U88HZ9/6c3t0yCsKaLSKjakOgvhC5O8om+oO9IVYF0rqSuUNhVS/VEwBQGTi+xcOeVI3D5mEp4TBc+4dBMRw0dH9Dxvt8f3i1JDQghrqXr6vgXCV+LCjzm/OQCOhHGFwwvIXzNjrtVB0vOyf+fDVSRfy4VRQQTWeAiCdMC8g0LN4wtwZ1XjUFlgbt72frJhTo6ltKxzO8PzYBhLEA8gQSWEufMif+CEX/BnBJPFOKaxV6POTn/f9+dSCTbRbcWZocouuLT+1FLrz8ND143HpVe16eVKAzVULjDCq/XLf2EU8Zt9CnhvINxHwdRXBzzBWebhrHEubYseUdhvnshFr79gOaS7ABX6LYiuG5UMe6+ehROKc6DyzRwksEiEmvzfb7QQjIEFjg3pbTmF3g9i/hcEcbn81XDcK+AzV5MzQKvex4WrmZCzUYWwBkBA9wSt04bhG+eNwwlbuIS8Snmk+5hKfV9Toc/xESayzcIE815HvNUum5WQ9VweW5CTObV5ee5bE7JDlFUHVRrVYGFx28cjx9Mr9ZE+TQLr55hNjHAAwHGtdZBbAr17/CHlXTSHBMIs/6o5nNyImd77nmb7ptLkAXgCkwySUYWBvGnm87ChIoCItJJTZBkmE9WWw0hhSVWjGvaA+FZxDZP2y/V5d+79iL6jIq1voCQBtUXwRlFIfxl9lk4vbzwZOeSVMCm9am+YGSX4zOGLXmRIaSc4bxBrLWchE68WOsDSLK8JEYWhPCEIkpBjiipgYkxj31E54YKfQlDTHRuRCQojmPNRjaABSb8eHzO2RhTxpxy0lle6cBcwxA10SthTDfIG5/kXE995INqZIVbyHG0QlhywzicyZyS0yk9QX/TjIW+SNJUG/GxsE1NwUnIArilhbsuH46rRpUTW+aI0hswTTOKexY2SfIlJtYyrsCy8JUxxfiPadXI0SQtmB5/kUQY2QeOodgXHZcO9eDns8bCxQHMHGXSger4i2SO6UMcTKDCFcHi68eiNI/sL5FT9mlCAu6zhj0Xxb/uvqIKI0u95LvkiNJXyMrEB8+sXFaVh6+ePVyFXnLQd+jz0GailMggRYrHwG1PjOWg79BnwrAjdP24cowfUJhT9lmEPhBGTxj3I4U/n6LFrpwMyyr0gTA0V0+0+dLYcowekI8cZBf6oPwlCkUI3502XHFLjl+yCxkThklx6anFOKOyOEeU4wAZiDIiCYkwdySIr50zhLz9HBwPyIAwOhususSNi0ZWkiUmkYPsQwaiTPsql44oRpH5UQgxnUZ4PGqmiUIELYm1uw+hZk8zBhV7cPmEU1DsEifcFciAMAIuGcHnxlUgXexwx1UJ0UxNddMpNnovWqzkzE6eCXXu6Kc024fjEWKwqF13/G0dHn5rHzosLbIn9avBSz+8GqXeE5sdmlFtXiuAKVVladKFR7qFI/4IXt9yEPWtAbT7/TgWolEasMC4DtCUgaS5HOYHN80cMe4LCCFFHgMlhV4awV6MKMvHyMr+yFe5ttkljt8Clq7ZhTYrn8eEEtMfUjs31bdgWnU5TiSkTRgevROHFqM8z0yPMNTT/S0BXPLzF7HTL4gQRrREzQlSZQnAzm/m4epkPgv7OddtRkK4ZswALL15GgqPQ16aVBMWDgiEqZ2HWn040ZCm8idkURR56vB+KhE8rW8S/v741lbs9JmIqM4bGuVCRtGuQOh345GjZ3r4ewaCZh7+vuUQ1h9owfEAEf2j22FRvR2BUFQMnyhIE7v8hQgmDSlM25zjvg4tLyL9RPJCiStbX0gn/19qfSOdt0VixXHAg2JQSQGyDVrniYQbzJEhGozCbvGJgrRFmWmFMX5wEdIG6tX1Z1WjrqkVT66vR0NzAL5QmMgstZLnD1YqUqrRKQ0XQnQk6hEt3K6dUIFTSNd0ts0STIek6+RnseUhTjnchjAPnKR3o2Olu85BvxRPvL4I2TQJI5FHhKkeUIy0gVqZ7zbxk2vOwo+v0bci1AtLxjpAhhBCIQstviAeWbMDd724E1ZS/RXuCBbMnKSi2p2Uv2TdZSFC4pHsCPo0iLsiFNOTKn3KtC05abGxwcQ3VLKIQwZuTyRBZMkEsdoVovl7Ydu/40HFmaYGtYOlimlk5oKnTZiB/TzIz6AupdptJJj2Hbda5KTPNdBzt4FtTX785tUthBQXosucCNk8S3rfrIk4tbSokyhlhDa2B/DIqlo8t6EJWxvbECYCVPbz4jNDS/D1aaNwwehBytJ77sO9+NsH+0HGHr53yTiMG1yi+IaJqXWJs7TKEbHJfbHrpPYcaAvh0dXbqbyD2H64FeEwDcA8F6rKCnD28BLMnDAcM84YrLRqOnq594Sx5f8pJXlABtJWRDsbu4Pkc6qjORjBvy17C01hd0ItzCFfmVCJr0yp7pQSxUT587rduOWp99AQMInzGAFu9ay1NYIdLS14esNqzCTfi7Xb8k2NCAu36sdLm1Zgze1XobLQrbsotSmiBolNo1TTf2Fi9cWvbsadf69FO9WltKbwqPdbgkB9vQ9r6fj9mv2YWJmP+2+YgvOrKnrtfqWlw1kRDi4yVZL48dCE7HUveGod1h8Kd9ItpxVL/OzL58HjirErIzFMx6/e2IqvP7oWBwOGchITwB7wfsONJzY348naowjx+BXsMwns8xl4s3av0i38npWsJCTssJOMa2cEtz65Bj9+YSta4SGRaS9xTAIWwwGqd21TEP/6mzewevfhXlt3aVplEmWF7gSTMlsQiUTwl/d2Y8m7DXrEx3WgzGXhoa9egLK8xOayeHx2/T785PnNCLiIk4WZomHJGVrQRGc/ij7CdOxv7YDpKO5kvAkRE2mqnWH8+h8b8Ot/7keYkK4HUCpkxO5L6s/BoBtzlqxCLRk/ltUzcdIgjC6sjDzw7LKLtsLWN7ThR8s/QLs0FMIdi8lFxsZtF4/ARaeVJnZfMkJ9+M8na9AaMRPEDYs91kflHgsDPOQ1WSGljFO2mxDb7It7llxJ9KZ+sLHxGO5bsRsh05MoaunKSzbm6H4mGShh2+CIvcFCZucxA//+6BoK91joCXqhY7hBljqE1J6/HnHIEtcIHGzz4bt/XE1ixbS7ogt20cXNnxmK7186njPgE8xjtqoee3sn9nSEE7pBKhxVhQJ3keU2/fSBcJPo23DgCO59bgNW7GlXYicZ2sMyikKZ4ENpPWPZK67Zanzw1Vo0BmV0IPBfJvqMqiL8+OozSeEPQIC4/9n39+D25evREHa4WBDZgFV7fHhh/V58aXJ1t/jrJceI6EdK/68P4CNb8yfP1mBtQyDKJaph1NnPVBi4Y+YEeEwDiasFpBJBr2xupM6aca2U6E/U/MPN5+HLZCQMLc5HRYGHpicG4vFvTcfUQeT7GJ1Hqz8cgaNFUskCJcjowaGOIP5OdcarCa5zUqUHf/zGNMw4rRIlZOpV5JPYOm8Eln39fLjDwYRSIzTC/vreHoSk7FbwpO35s7KVVnaoEiHkP/TaRjy67qDyOWL1WBheCPzfzReiotDTuZEkFyLUhK1HOIYVe8pImjWuEuefals/whlDAqVk48+7cizMcCRFO2IRu2hH486dq52NLWhqDyZkmXpkCD+8cjwGFXhVGc6YZdfgklEVuPT0igRXlf9tPthKAVuZDY5BtK1H231xTc0ceNy+urUR9/1jp+3hx4TYYK+B3371PIytLEqd1UkvMXqb2zrskqK3cdn4YSk7xcQ5p6pcjejkoSptUSDtqEMqYAl4kHQaK/x4Ag4s8mDayIqYNIkDF33pQtaNMp5LDTRTRD3Ug57pJWFiVdZTKKWvYoybtP1QG77/pzU4yirCiVzSk3wRxt1XnYHLRlcoonRXVcRKinATUku97pTvsqlfSJEHM4VJGQ5rJPU0k3DMF9YYi87aGiqaUaoMolRoEehfVBhnmAi73SwUuh/caU8t72vrW6SVv9tByvHWP6/FtlbHKtblcTrUN6cOw43nngqjB+obkkM8MknoEEf7Al3W29QRUPokGYRhxMximbperik/L5nbJFopfHS0o4s6uT3t/k5TE4boeSVE2oThOZVIhnMgjBz20h9+ZRNe2NGqR5JwrBuJyRV5uP2qiRQqMXrkSm54Zb/EdZ08dfBO3aG4QGQMOIb25tYGMlU7x5MMw7Y8hS4j9dgXKqJt0KCKL7qZJvle3bAPMpJEcMmOqIW3dzR1Cmz295jIcxk99q8HSCz2sI+DjBFkAkyYFzcewIKXtpJVZSZ4y7yE43c3nUtOpMtGkEywlKTzT+r7zDHjBxcnNI/Le2zNXmxtalPmdExvWDhKCLz/lVoaVCkIAyvBY+kKC9UDiqh97oQ6/WSq3/fSZhwOhKNtg21iv1LbgJe3HlURhiiQCBs7uJ+K03UHaQQxuUMUuXW5saW+GYNGVCA9sLCXlOd3/vQuhSk8CU94NA4tL8HT7+3FcyTP3BTI5CRCwzSUdaM8AaGV6YDCPEwcVobqskJcNmYQntl0mCK7MWQ3kbM561dv4t4vnIkZY4bC6xbYsL8Z85Xo5AHVGSNupTMMxbVCpFbKjNqBxQU455RiPL+jLUobjpHVNluY9dAK3P3FyZhSXUF+jMTjFNhcyBEJNmzinD6ez5o1cSj1pXvK9JIwQk/1clicRlzN/jZcOKIiLRsgRCPllsfXYn8KcczNrmnowPsNdU5tQCcB4ASiLVTnW3hk9nm4jnyVu57fiL3BxLZub7Nww9L3UOpeCzcRtzEQQYgDjF20uMCjDQYmTSwu1vldojG+ccEo/GPnu/DHcQGb7qvrg7j8wTcxvMBF4pL0WRAqtCTjiULfYXE9c3IVeoL0dIwtg9fts0VFGtBO8yzv7G7pRrnG6wp9HTv0PRV/oM7WUeDxR3+tQTHJgzuvHQ8PhVxEkhcSonmQxogbB4ImESUPXXnFfKfMa6pvuWmYenrYcOiKMYNxI0W5TWnFFaeDmCHTjV1+gfqQqQZwLIog1YAqdYXxu9nno6AXaV+9J4zj/FMDVu9uRjBNwhSQwptA8xNqRNqhdT51jq797mSQCglej1b7N54zArdMr1Y7OonkMpjLHdPWjl2xPtHnul6TRvewUp0U7yUxOrhfQcL7/J4ZF7DxUojnnlmTcRX5J4aaIk9EUkxvJsYSykmHPv6t8zCB9EtvEkjSdjD5ZE9rGJso6JiO2eyhkb7w2smYVEr+hOyAOxJQwUUVYCSkGmTBCD5kRDlkXR8S5UYYi26YCt4myE0W3IKrJ+Gh68ZhkCukjAIGRXAVoTDUeT8EcNuFw/BfF1ahhGY1tREmMbFc4PLxVcpn4rj53BkjkRcJae+d2vX5qgJcPaFaIVPYoYQKcip//7WpuPWzQ1FuhuN4MZ4YQkUf8igaffWIYrw272JcQqGh3u6jI3yBcBS7+feu7f5tQhrLSUER34UzBuP2i0emlT7ElkqAkHWUrLojx9oRoDn/QNCvwuAcGg+R0uQJqJ7IPay0GGMqi6MTZo79drA9hMfe2o5XtjZhz6Fj4Dy2wf0KcfHoMsy5cCyGFecpcbhyaz1W1B6kOJqJL54zGkPovtMPDjk9/+E+ikrUY9KQfvjy1JHIN1JnYnJ/ahta8fLmA1i57RB2NRwjP8lSyB9U6sVZw/uRoh+GqWQQuEXPLoA/GLN20ySMFkM8KqdUWFj1vWnECaoYpAtO+EMIvTemEyjsDaHVvLqRmtnZo2ZlzBNmXJ6LB7klobfqtAkZl3Dh2GPxLn8qSdBVu1Q/lG3EgVUlKLX4kzpBK9bWnvsVT5j0MzFtq2V9fQC7jvgxqsybUbaqEg1R59L+7GU53RFPUGOinXJeS2qgE4S0UwyRjLR0pIAWcTyiDDjBIBlXhuhyIq17SNMq0zKbk+848W7ZO3tPeCJcNkEgM6SlKin1VeblZ7zUjzu1lAjTLrPRsRwkQ0YLl1TqKIm0pogHS/65W6UJ5SC7kD5hbAZh4rAT9cAbO9FuxU8n5SAbkJkoU8TR3vKBYB4eXrUDuYVl2YU+bcDAXi7Pc92/Yg92tQU+0YbAxw0yJExsRo49kKPCi1uXb1DTvTniZAcy5xghYtYgnb9A05Gv7TxMDlbOEMgG9HEvGaEcK+aaDiMP856upQmjWLJeDjKHPhLGBtu73dIG3LZ8I1qCIWTHcTt5ITuEUSDItzHx2IY2MgZ2qQTxnL7JHLJHGCc6SwG7B9c04KkPD+QI0wfIIsdAEYdXabVKF255bidW729Ri3sU5GiUFmSXMAp0zPZAyIVvP7EJO5oDmjg5lZMWHAfC2HPcZK1tbjPw7Sc3oKE9pOZAcqKtG0hCzXEgjF0PL1KVBlbuC+IHz2xQW4DkoPeQXcJIO8WUZybVEVE+ztO1x/Dw67U51zMZbC7hjCPtYsQge4RRYioSTabg/ABIjqSF1VqW+1ftw67mDuQgEVi872lux7wnEqf1s8gxescLh1vURgp8T23cE1Gb+2w+0JLTM3HAGHr/YBu+8NAKPPpeQ8Kz7Oz1ZOcJ6xwxS8/NKI6xFX6E10EGMaTEi9zumRp4w4bH39mFHz27AQd8UDuBxEPfCWPneqlsF72Dga6WTWTOTpE6X+zsgfkYO7RUZ5Tg5AVO1WroCOD+lzfjV6t2wS9cKZei95kwjtiCnVUv7U189OqciEonKkAIt31uMvJOYoqoPQloSL6+rQm3/mUtNhwJI2K40NXe7pkTxklrVdlM0s4NI8Wv1o/QFROGl65aYXx3ejWuGNP7LMRPEyjMECp2k+Hzs5c34g9r98FnmbCMrGT7p65Si7CIzSW8cpY5JKR1C3itvcT14wfh9ivP7DFZ+9MIPGb3tvixZFUtlqzZi73tltofR/YiES+jPTGjufd2RqPao1KJrbCt9HXC+NkD3bj/S5NR4unjJsA9rSr6OEBstYXSte3kUP+tZjd+/tImfHg4qBZq6Z07emeVZsYxMpb9HtMpIeW3MJE4C/6iYV48+p1LMMBr9nl7RIt9I6Gd14/rDzso54DQcDQQwRNrt+O3b+zAxiMBmgph5R4/MHvX/owII2J0sZnHVvZElEIZwpxzh+PuL05BoZkuIqVCvjK3hV6t1Ub03lbfgmMBH06tGEAmdx54CZKMLj8/8YRyZmh1cqwE73iyrq4Jfybz9+kP9ts7QLH56UamkBFhFNdKvY0JlFnMqwDCGNvfxOIbLsAFpw1Qm7alizTO9D/sD2PNtoN4a9dhvLmtERsPtpBY0Gvri4wIRg0swrnV5fjchCGYUlWJcq8rukHciQKOlrdTt9dsb8ALmw7gtU0N2ELcEVS+iDsrIjeJMLIZPf5Oma1fbENPbYFMumXO5Er87F/OURsc6ERr/ZaR4tvSXmHFi0aPRQRFBA7jjS0H8eqWQ1i3+wiaLTPK/lJ4dVI4/W+BiXWNIbzbWI9fr9mHUlcEU04ZgItGV+D8UQMxdlgZSnjzaugtgtXmDXGyv8vzhNZBPZD2wiVOLglTL/zUzu0NrVhVuxdv7m7Fys37cTTsIpPXbqeROXfYwD/tG8V9MsfU0dHDL/vFNd4+4wU+E6sGYM/RYygtLkKeaYKNMJeh37KkUGsw2/xBNBxpxY7GZmxuaMf7e5uxfu9RNAZ45tNlqy5PEsJEwpI6pwURkt2HiYAv7mrDy3QYL2xDmcfC6YNLMG5If4wfVITRFUUYUlaMAf1KUOwVKhufl5AYjgy2865Z7Cjjnq7bgxJNbe3YfahFEWJLYwc+PNCMjfsPoyVkqg3olAnMyweNWJv6DAL8y7EznMtkwqxEj4SJk+u2D8OO0rynNsGMrIeLzGfe640XFblMU7U7QmY0hzN51LEytOy1nNrjdcXYKs0+Osu0lVA1ec0lHft8eHNvh+YYHuvEzQXERf1J5JV4PSgs9MLrkjR49LL1ALWNlwgdaw+g1RdSGyqwRRW2lbajRqE4N4aBrIPUPx3vAO881SxsFrru9NKap7Y091CC0LuJx5mwKsncYKR7EBJxBmFE16jpL+ysWgkcZ8tK2ntvWjTFDSJAkDvJGpr3Jzja3s03hSbAR/ATH2cMLH6dPmbbrWhmYVPnPJx37qBmrWe6Aytu9yFnwWMs+S/FWiwkjLATae4mVNUbB/cjM8Xr3vv+Z3c7FzR2a0ieWCudG2cPKiIxJhb3rqxkr+9kDk32FeQykjqzopeGqOP9Zp5xrsnsnEuaYFH3XMMjz4pTwwkV9NaxzUEMdplSLiVL9lrnhrCMZwy/11UjtanGOO3fdttnJ5Htd0fX5djqUGgHyzGNE+3QHPQaCNct93x+Bp1V23fqvF6x3CgVopnCKFHx5TLEErlw6lL6RhciTesMQ8T2epSG3gVC5n7KNz2QcpH8xVXLTcNY4Nyi+Zpl/KkwSVyzyOEagmpfyFqAhefPY9nXVZkqbimE7QrEaf6TMLSfEZD4kr+YOT/AuI5xyy4DrqV8ogjDXEOBx6j4onD+PF8owsSZncw5MYGlXWf2FthK6xQTy9GnK5CaU2beHAxbCynCMM95QKHFO/LztZWcgL4Of2gRIXhutAQhFuW7jTvEHW+zxRCjLIcrrIgd9ufJMQqvhHV02Qm15CAlHCXM/NS6/5plxCn/HU8UOl9U4HXPd647YbDdF1xqGMZNcbfq6K2F+fesXWnAmk3Uomeimp1MDu/z3D4TyeKwv33OxLFEXAhTRz2jNTqTnzGL24i5RHEtc1baCCQa52qfoJTRZRGN/DpVCp3mpvOq7UqjXC/iVvr20mgRcXXo6ziQdsQ5qeP8kwU04H9Z7DYW7194xSTS448gJr5Ir1hLC/M9cxLrSQHJnGNDHdWwPELm9fQHV1d3BPwz3AaqqgYWTyIE9PcHQmobeFY+QfoMWfrHECIRS/3slf5lpfh9+6Dvg6O19I4V0ZtOO7Ohlg4kOnM/zqbUOr/ANtZ50zeOcznzQ1LvWclilQeGmt2Weo2b2lrEXl3tIM6y63DEclcTCTLpSm9/ot80paFigmrjO0PvtEHtaW4PhetoamblzIlVH8y9aGTz5GGlE6Ul54q4QKVullwczyndEobB5wvOhrYWqpGDrAMR+yiNlJ8WeD2LUj3vVhn4fL5qGgtEIBZfOQJlAaSKTVryl16yhImzu3Tke62l2wPhWcT7swzTqKLSJyWx5McZPlKPV7shZGlR6Iuk+XIiSE13BMnBxxz+HzMU/YREgmfCAAAAAElFTkSuQmCC",Ra=function(t){var a=t.gap,i=void 0===a?2:a,o=t.size,r=void 0===o?24:o,l=t.star,s=t.totalStars,c=void 0===s?5:s,d=t.onSelect,p=t.hideEmptyStars,m=t.style,u=t.className,g=Math.floor(l),h=l-g>=.5?1:0,f=e(null),x=f[0],v=f[1],y=x||g,b=x?0:h;return n.createElement(j,{"data-selectable":!!d,style:gn({"--gap":i,"--star-size":r},m),className:u},Array.from({length:p?g+h:c}).map((function(e,t){var a=function(){return!!d&&v(t+1)},i=function(){return!!d&&v(null)};return t+1<=y?n.createElement(Fa,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):t+1===y+b?n.createElement(Pa,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i}):n.createElement(Da,{key:t,onClick:function(){return null==d?void 0:d(t+1)},onMouseOver:a,onMouseLeave:i})})))},ja={Ask:U,BarChart:O,Booking:V,Bookmark:G,Community:Z,EditSpecial:Y,Family:W,Font:Q,Heart:q,Home:K,Like:J,MyCommunity:X,PlusSpecial:$,Recalculate:nn,Scale:en,Share:tn,Stethoscope:an},Ua=function(e){var t=e.percent,a=e.style;return n.createElement(on,{style:gn({"--progress":t},a)})},Oa=function(e){var t=e.open,a=void 0!==t&&t,i=e.onClickOutside;return n.createElement(rn,{open:a,onClick:i})},Va=function(e){var a=e.children,i=e.title,o=e.onClose,r=e.open,l=void 0!==r&&r,s=e.placement,d=void 0===s?"left":s,p=e.destroyOnClose,m=void 0!==p&&p,u=t(),g=function(){u.current.classList.add("slideOut"),setTimeout((function(){o()}),1e3)};return!l&&m?null:An(n.createElement(n.Fragment,null,l&&n.createElement(ln,null,n.createElement(Oa,{open:l,onClickOutside:g}),n.createElement(sn,{open:l,placement:d,ref:u,hasTitle:Boolean(i)},n.createElement("div",{className:"title"},i&&n.createElement(c,{size:"s2",type:"semiBold"},i),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},n.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),n.createElement(cn,{onClick:function(n){return n.stopPropagation()}},a)))),document.body)},Ga=function(e){var t=e.avatarImg,a=e.authorName,i=e.authorLink,o=e.uploadTime,r=e.size;return n.createElement(Hn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"avatar","data-size":r},t),n.createElement("div",{className:"poster","data-is-disabled-url":!i},n.createElement(c,{size:"lg"===r?"p3":"p4"},n.createElement("a",{href:i},n.createElement("span",{className:"name"},a),"•"," "),n.createElement("span",null,o)))))},Za=function(e){var t=e.isMobile,a=e.avatarImg,i=e.name,o=e.link,r=e.size,l=void 0===r?"lg":r,s=e.specialty;return e.handleClick,e.isBookmarked,e.dataEventCategoryForBookmark,e.dataEventActionForBookmark,e.dataEventLabelForBookmark,n.createElement(Hn,null,n.createElement("div",{className:"author"},n.createElement("div",{className:"expert-avatar","data-size":l},a),n.createElement("div",{className:"expert","data-is-disabled-url":!o},t?n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i),n.createElement(c,{color:Bn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i))):n.createElement("a",{href:o},"lg"===l?n.createElement(n.Fragment,null,n.createElement(Sn,{tag:"h6",className:"expert__name",color:Bn.colors.gray600},i),n.createElement(c,{color:Bn.colors.gray500,size:"p3",className:"specialty"},s)):n.createElement(n.Fragment,null,n.createElement(In,{color:Bn.colors.gray600,className:"expert__name"},i),n.createElement(c,{color:Bn.colors.gray500,size:"p4",className:"specialty"},s))))))},Ya=function(e){var t=e.articleLink,a=e.authorLink,i=e.authorName,o=e.avatarImg,r=e.banner,l=e.categoryLink,s=e.categoryName,d=e.className,p=e.dataEventActionForBanner,m=e.dataEventActionForBookmark,u=e.dataEventActionForCategory,g=e.dataEventActionForTitle,h=e.dataEventCategoryForBanner,f=e.dataEventCategoryForBookmark,x=e.dataEventCategoryForCategory,v=e.dataEventCategoryForTitle,y=e.dataEventLabelForBanner,b=e.dataEventLabelForBookmark,E=e.dataEventLabelForCategory,w=e.dataEventLabelForTitle,k=e.direction,C=void 0===k?"horizontal":k,L=e.hasAffiliate,M=e.isBookmark,S=void 0!==M&&M,T=e.isBookmarkDisplayed,N=void 0===T||T,z=e.isMobile,A=void 0===z||z,B=e.onBookmark,_=e.onClickCategoryName,D=e.section,F=void 0===D?"normal":D,P=e.size,H=void 0===P?"md":P,I=e.specialty,R=e.style,j=e.styleBanner,U=e.styleLabel,O=e.styleTitle,V=e.text,G=e.title,Z=e.type,Y=void 0===Z?"author":Z,W=e.uploadTime,Q=e.articleLinkTarget,q=function(n){n.stopPropagation(),B&&B()},K="lg"===H&&"expert"===Y?"h4":"lg"===H&&"home"===F?A?"h4":"h3":"lg"===H?"h4":"h5",J="lg"===H?"p3":"p4",X=A||"home"!==F||"lg"!==H||"author"!==Y?"c2":"c1";return n.createElement(Fn,{className:d,"data-size":H,style:R,"data-direction":C,"data-is-expert":"expert"===Y||void 0},n.createElement("div",{className:"banner",style:j},n.createElement(Pn,{"data-event-category":h,"data-event-action":p,"data-event-label":y,href:t||"#",target:Q},r),L&&n.createElement("div",{className:"shoppable"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),n.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"})))),n.createElement("div",{className:"content"},n.createElement("div",{className:"inner-content"},n.createElement(c,{style:U,className:"label",size:X,type:"caption"},n.createElement(Pn,{"data-event-category":x,"data-event-action":u,"data-event-label":E,href:l||"#",onClick:_},s),N&&n.createElement("a",{className:"bookmark",onClick:q},S?n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):n.createElement("svg",{"data-event-category":f,"data-event-action":m,"data-event-label":b,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),n.createElement(Sn,{tag:K,style:O,className:"title",as:"lg"===H?"h2":"h3"},n.createElement(Pn,{"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:Q},G)),V&&n.createElement("a",{href:t||"#",target:Q},n.createElement(c,{size:J,className:"text"},V))),n.createElement("div",{className:"footer"},"author"===Y?n.createElement(Ga,{size:H,avatarImg:o,authorName:i,authorLink:a,uploadTime:W,handleClick:q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}):n.createElement(Za,{size:H,isMobile:A,avatarImg:o,specialty:I,name:i,link:a,handleClick:q,isBookmarked:S,dataEventCategoryForBookmark:f,dataEventActionForBookmark:m,dataEventLabelForBookmark:b}))))},Wa=function(e){var t=e.LinkComponent,a=e.page,i=e.isLast,o=e.onChangePage,r=a.label,l=a.value,s=a.isDropdown,c=a.dropdownItems,d=a.dataEventCategory,p=a.dataEventAction,m=a.dataEventLabel;return s?n.createElement(Ht,{options:c,placeholder:"...",id:"",placeholderIcon:null,onChange:o,className:"collapsed-breadcrumb"}):n.createElement(Un,{title:"string"!=typeof r?l:r,"data-last":i},t&&n.createElement(t,{"data-event-category":d,"data-event-action":p,"data-event-label":m,href:l||"#"},r))},Qa=function(e){var t=e.className,i=e.pages,r=e.size,l=e.LinkComponent,s=void 0===l?"a":l,c=e.onChangePage,d=e.separator,p=a((function(){return i.map((function(n,e){return i.length>4?e>1&&e<i.length-2?null:1===e?gn(gn({},n),{isDropdown:1===e,dropdownItems:i.slice(1,i.length-2)}):n:n})).filter(Boolean)}),[i]),m=Pt(p.length);return n.createElement(Rn,{"data-size":r,className:t},p.map((function(e,t){var a=t+1===p.length;return n.createElement(o,{key:m[t]},n.createElement(Wa,{LinkComponent:s,page:e,isLast:a,onChangePage:c}),!a&&(d||n.createElement(jn,{"data-size":r})))})))},qa=function(e){var t=e.imgBanner,a=e.label,i=e.className,o=e.style,r=e.href,l=void 0===r?"":r,s=e.dataEventCategory,d=e.dataEventAction,p=e.dataEventLabel;return n.createElement(On,{"data-event-category":s,"data-event-action":d,"data-event-label":p,className:i,style:o,href:l,onClick:function(n){""===l&&n.preventDefault()}},n.createElement("div",{className:"banner"},t),n.createElement("div",{className:"content"},n.createElement(c,{className:"category_name",size:"sm",type:"bold"},a)))},Ka=function(e){var t=e.name,a=e.values,i=void 0===a?[]:a,o=e.onChanges,r=e.options,l=void 0===r?[]:r,s=e.className,c=e.type,d=void 0===c?"vertical":c,p=e.isDisabled,m=e.isRectangle,u=function(n,e){var t=i.slice();if(e)t.push(n);else{var a=t.findIndex((function(e){return e===n}));t.splice(a,1)}o&&o(t)};return n.createElement(Vn,{className:s,"data-type":d,"data-is-rectangle":m||void 0},l.map((function(e,a){return n.createElement(Aa,{label:e.label,name:t,key:"".concat(a,"-").concat(e.value),checked:i.includes(e.value),value:e.value,isDisabled:p||e.disabled,onChange:!p&&u,isRectangle:m})})))},Ja={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},Xa=function(a){var o=a.alignRight,r=void 0===o||o,l=a.placeholder,s=a.displayDateFormat,c=a.onChange,d=a.customInput,p=a.pickedDate,m=a.className,u=a.isStatic,g=a.disabledDays,h=a.modifiers,f=a.UnHideOnClickOutside,x=a.initialMonth,v=a.locale,y=void 0===v?"en-PH":v,b=t(!1),E=Rt,w=e(x||new Date),k=w[0],C=w[1],L=t(null),M=t(null),S=Ja[y],T=function(n){f||L.current&&L.current.contains(n.target)||M.current&&M.current.hideDayPicker()},N=(new Date).getFullYear(),z=new Date(N-150,0),A=new Date(N+1,0),B=function(e){for(var t=e.date,a=e.onChange,i=e.monthLabels,o=[],r=A.getFullYear();r>=z.getFullYear();r-=1)o.push(r);var l=function(n){var e=n.target.form,t=e.year,i=e.month;a(new Date(t.value,i.value))};return n.createElement("div",{className:"DayPicker-Caption"},n.createElement(Zn,null,n.createElement("select",{name:"month",onChange:l,value:t.getMonth()},i.map((function(e,t){return n.createElement("option",{key:e,value:t},e)}))),n.createElement("select",{name:"year",onChange:l,value:t.getFullYear()},o.map((function(e){return n.createElement("option",{key:e,value:e},e)})))))};return i((function(){return document.addEventListener("mousedown",T,!1),function(){document.removeEventListener("mousedown",T,!1)}}),[]),n.createElement(Gn,{className:m,"data-align-right":r,ref:L,"data-is-static":u||void 0},n.createElement(Kt,{ref:M,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:d&&n.forwardRef((function(e,t){return n.createElement(d,gn({},e))})),onDayPickerHide:function(){b.current=!1},onDayPickerShow:function(){b.current=!0},dayPickerProps:{month:k,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!u,firstDayOfWeek:1,captionElement:function(e){var t=e.date,a=e.localeUtils.getMonths();return n.createElement(B,{date:t,monthLabels:S||a,onChange:C})},disabledDays:g||void 0,modifiers:h},format:s||"yyyy-MM-dd",formatDate:function(n,e){return E(n,e)},hideOnDayClick:!u,placeholder:l||"",onDayChange:function(n){var e;e=n,M.current&&!u&&M.current.hideDayPicker(),c&&c(e)},showOverlay:u}))},$a=function(e){var t=e.size,a=e.iconPosition,i=e.className,o=e.children,r=e.icon;return n.createElement(Yn,{className:i,"data-size":t,"data-icon-position":a},"left"===a&&r,o,"right"===a&&r)},ni=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},ei=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},ti=function(a){var o=a.type,r=void 0===o?"lead":o,l=a.closeIcon,s=a.isOpen,c=void 0===s||s,d=a.onClose,p=a.children,m=a.className,u=void 0===m?"":m,g=a.animationType,h=void 0===g?"slideTop":g,f=a.isStaticBackdrop,x=void 0!==f&&f,v=e(!1),y=v[0],b=v[1],E=t(null),w=Jt().width;if(!E.current&&y&&(E.current=document.createElement("div")),i((function(){return b(!0),function(){b(!1),ni(),ei()}}),[]),i((function(){if(y){var n=((e=document.getElementById("hhg-modals"))||((e=document.createElement("div")).setAttribute("id","hhg-modals"),document.body.append(e)),e);return n.appendChild(E.current),function(){n.removeChild(E.current)}}var e}),[y]),i((function(){c?document.body.classList.add("hhc-modal-show"):ni()}),[c]),i((function(){c?(document.body.style.overflow="hidden",document.body.style.paddingRight=w+"px",document.body.classList.add("hhc-disabled-scroll")):ei()}),[c,w]),!y)return null;var k=["hhg-modal__wrapper",u,h].filter((function(n){return n})).join(" ");return An(n.createElement(Wn,{className:k,"data-open":c,"data-type":r},!x&&n.createElement(Qn,{"data-open":c,onClick:d,"data-type":r}),!x&&"video"===r&&!!l&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),n.createElement(qn,{className:"hhg-modal","data-open":c},n.createElement("div",{className:"video"===r?"hhg-modal__video":"hhg-modal__content"},!!l&&"video"!==r&&n.createElement("div",{className:"hhg-modal__close",onClick:d},l),p))),E.current)},ai=function(t){var a=t.type,o=t.numberOfStep,l=t.activeStep,s=t.labelPrefix,c=t.detailSteps,d=t.className,p=t.onChange,m=e(0),u=m[0],g=m[1],h=function(e){var t=e.trackClassName,a=fn(e,["trackClassName"]);return n.createElement($n,gn({},a,{className:t}),n.createElement(ne,null))},f=n.createElement(Kn,{className:d+" progress-bar"},n.createElement(h,null),n.createElement((function(e){var t=e.trackLength,a=e.activeStep,i=e.labelPrefix,r=void 0===i?"Step":i,l=e.onChange;return n.createElement(n.Fragment,null,Array.from({length:o},(function(n,e){return e})).map((function(e,i){return n.createElement(ee,{"data-is-active":i===a,"data-label":i,style:{left:i*t/(o-1)},onClick:function(){l&&l(i)},key:i},i+1,n.createElement(te,{"data-step-passed":i<=a},r+" "+(i+1)))})))}),{trackLength:u,activeStep:l,labelPrefix:s,onChange:p})),x=n.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},n.createElement("title",null,"chevron-right"),n.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),v=n.createElement(Jn,null,c&&Array.from({length:c.length},(function(n,e){return e})).map((function(e,t){var a;return n.createElement(Xn,{key:t,"data-selected":t===l,onClick:function(){p&&p(t)}},null===(a=c[t])||void 0===a?void 0:a.text," ",t<c.length-1&&x)}))),y=n.createElement(Kn,{className:d+" progress-bar"},n.createElement((function(e){var t=e.detailSteps,a=e.activeStep,i=e.onChange,o=Pt(t.length);return n.createElement(n.Fragment,null,Array.from({length:t.length},(function(n,e){return e})).map((function(e,r){return n.createElement(ae,{key:o[r],style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:function(){i&&i(r)}},t[r].icon?n.createElement(ie,{onClick:function(){i&&i(r)}},t[r].icon):n.createElement(oe,{"data-is-active":r===a,"data-label":e,onClick:function(){i&&i(r)},key:r},r+1),n.createElement(re,{"data-step-passed":r<a+1},t[r].text,n.createElement(le,null,t[r].description)),r<t.length-1&&n.createElement(h,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"}))})))}),{activeStep:l,detailSteps:c,onChange:p})),b=r(Xt((function(){var n=document.querySelector(".progress-bar");n&&g(n.offsetWidth)}),1e3),[]);return i((function(){var n=document.querySelector(".progress-bar");return g(null==n?void 0:n.offsetWidth),window.addEventListener("resize",b),function(){window.removeEventListener("resize",b)}}),[]),"step-track"===a&&f||"breadcrumb"===a&&v||"detail-track"===a&&y},ii=function(t){var a=t.id,i=t.value,r=t.options,l=t.className,s=t.type,c=void 0===s?"circle":s,d=t.isDisabled,p=t.size,m=void 0===p?"small":p,u=t.direction,g=void 0===u?"vertical":u,h=t.group,f=void 0===h?"group1":h,x=t.onChange,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=e(i),w=E[0],k=E[1],C=function(n){k(n),x&&x(n)};return n.createElement(se,{className:l,"data-direction":g,"data-group":f},r.map((function(e){var t=w===e.value;return n.createElement(o,{key:"".concat(a,"-").concat(e.value)},n.createElement(ka,{type:c,size:m,label:e.label,name:a,checked:t,value:e.value,isDisabled:d,onChange:!d&&C,dataEventCategory:v,dataEventAction:y,dataEventLabel:b}),t&&e.renderActivated&&e.renderActivated())})))},oi=Object.freeze({__proto__:null,SideMenu:ce,SideHeader:de,UserInfo:pe,MenuLink:me}),ri=n;function li(n){return Array.prototype.slice.call(n)}function si(n,e){var t=Math.floor(n);return t===e||t+1===e?n:e}function ci(){return Date.now()}function di(n,e,t){if(e="data-keen-slider-"+e,null===t)return n.removeAttribute(e);n.setAttribute(e,t||"")}function pi(n,e){return e=e||document,"function"==typeof n&&(n=n(e)),Array.isArray(n)?n:"string"==typeof n?li(e.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?li(n):[]}function mi(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function ui(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function gi(){var n=[];return{add:function(e,t,a,i){e.addListener?e.addListener(a):e.addEventListener(t,a,i),n.push([e,t,a,i])},input:function(n,e,t,a){this.add(n,e,function(n){return function(e){e.nativeEvent&&(e=e.nativeEvent);var t=e.changedTouches||[],a=e.targetTouches||[],i=e.detail&&e.detail.x?e.detail:null;return n({id:i?i.identifier?i.identifier:"i":a[0]?a[0]?a[0].identifier:"e":"d",idChanged:i?i.identifier?i.identifier:"i":t[0]?t[0]?t[0].identifier:"e":"d",raw:e,x:i&&i.x?i.x:a[0]?a[0].screenX:i?i.x:e.pageX,y:i&&i.y?i.y:a[0]?a[0].screenY:i?i.y:e.pageY})}}(t),a)},purge:function(){n.forEach((function(n){n[0].removeListener?n[0].removeListener(n[2]):n[0].removeEventListener(n[1],n[2],n[3])})),n=[]}}}function hi(n,e,t){return Math.min(Math.max(n,e),t)}function fi(n){return(n>0?1:0)-(n<0?1:0)||+n}function xi(n){var e=n.getBoundingClientRect();return{height:si(e.height,n.offsetHeight),width:si(e.width,n.offsetWidth)}}function vi(n,e,t,a){var i=n&&n[e];return null==i?t:a&&"function"==typeof i?i():i}function yi(n){return Math.round(1e6*n)/1e6}function bi(n,e){if(n===e)return!0;var t=typeof n;if(t!==typeof e)return!1;if("object"!==t||null===n||null===e)return"function"===t&&n.toString()===e.toString();if(n.length!==e.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(e).length)return!1;for(var a in n)if(!bi(n[a],e[a]))return!1;return!0}var Ei=function(){return Ei=Object.assign||function(n){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n},Ei.apply(this,arguments)};function wi(n,e,t){if(t||2===arguments.length)for(var a,i=0,o=e.length;i<o;i++)!a&&i in e||(a||(a=Array.prototype.slice.call(e,0,i)),a[i]=e[i]);return n.concat(a||Array.prototype.slice.call(e))}function ki(n){var e,t,a,i,o,r,l,s,c,d,p,m,u,g,h=1/0,f=[],x=null,v=0;function y(n){T(v+n)}function b(n){var e=E(v+n).abs;return C(e)?e:null}function E(n){var e=Math.floor(Math.abs(yi(n/t))),a=yi((n%t+t)%t);a===t&&(a=0);var i=fi(n),o=l.indexOf(wi([],l,!0).reduce((function(n,e){return Math.abs(e-a)<Math.abs(n-a)?e:n}))),s=o;return i<0&&e++,o===r&&(s=0,e+=i>0?1:-1),{abs:s+e*r*i,origin:o,rel:s}}function w(n,e,t){var a;if(e||!M())return k(n,t);if(!C(n))return null;var i=E(null!=t?t:v),o=i.abs,l=n-i.rel,s=o+l;a=k(s);var c=k(s-r*fi(l));return(null!==c&&Math.abs(c)<Math.abs(a)||null===a)&&(a=c),yi(a)}function k(n,e){if(null==e&&(e=yi(v)),!C(n)||null===n)return null;n=Math.round(n);var a=E(e),i=a.abs,o=a.rel,s=a.origin,c=S(n),d=(e%t+t)%t,p=l[s],m=Math.floor((n-(i-o))/r)*t;return yi(p-d-p+l[c]+m+(s===r?t:0))}function C(n){return L(n)===n}function L(n){return hi(n,c,d)}function M(){return i.loop}function S(n){return(n%r+r)%r}function T(e){var t;t=e-v,f.push({distance:t,timestamp:ci()}),f.length>6&&(f=f.slice(-6)),v=yi(e);var a=N().abs;if(a!==x){var i=null!==x;x=a,i&&n.emit("slideChanged")}}function N(l){var s=l?null:function(){if(r){var n=M(),e=n?(v%t+t)%t:v,l=(n?v%t:v)-o[0][2],s=0-(l<0&&n?t-Math.abs(l):l),h=0,f=E(v),x=f.abs,y=f.rel,b=o[y][2],w=o.map((function(e,a){var o=s+h;(o<0-e[0]||o>1)&&(o+=(Math.abs(o)>t-1&&n?t:0)*fi(-o));var l=a-y,c=fi(l),d=l+x;n&&(-1===c&&o>b&&(d+=r),1===c&&o<b&&(d-=r),null!==p&&d<p&&(o+=t),null!==m&&d>m&&(o-=t));var u=o+e[0]+e[1],g=Math.max(o>=0&&u<=1?1:u<0||o>1?0:o<0?Math.min(1,(e[0]+o)/e[0]):(1-o)/e[0],0);return h+=e[0]+e[1],{abs:d,distance:i.rtl?-1*o+1-e[0]:o,portion:g,size:e[0]}}));return x=L(x),y=S(x),{abs:L(x),length:a,max:g,maxIdx:d,min:u,minIdx:c,position:v,progress:n?e/t:v/a,rel:y,slides:w,slidesLength:t}}}();return e.details=s,n.emit("detailsChanged"),s}return e={absToRel:S,add:y,details:null,distToIdx:b,idxToDist:w,init:function(e){if(function(){if(i=n.options,o=(i.trackConfig||[]).map((function(n){return[vi(n,"size",1),vi(n,"spacing",0),vi(n,"origin",0)]})),r=o.length){t=yi(o.reduce((function(n,e){return n+e[0]+e[1]}),0));var e,c=r-1;a=yi(t+o[0][2]-o[c][0]-o[c][2]-o[c][1]),l=o.reduce((function(n,t){if(!n)return[0];var a=o[n.length-1],i=n[n.length-1]+(a[0]+a[2])+a[1];return i-=t[2],n[n.length-1]>i&&(i=n[n.length-1]),i=yi(i),n.push(i),(!e||e<i)&&(s=n.length-1),e=i,n}),null),0===a&&(s=0),l.push(yi(t))}}(),!r)return N(!0);var f;!function(){var e=n.options.range,t=n.options.loop;p=c=t?vi(t,"min",-1/0):0,m=d=t?vi(t,"max",h):s;var a=vi(e,"min",null),i=vi(e,"max",null);a&&(c=a),i&&(d=i),u=c===-1/0?c:n.track.idxToDist(c||0,!0,0),g=d===h?d:w(d,!0,0),null===i&&(m=d),vi(e,"align",!1)&&d!==h&&0===o[S(d)][2]&&(g-=1-o[S(d)][0],d=b(g-v)),u=yi(u),g=yi(g)}(),f=e,Number(f)===f?y(k(L(e))):N()},to:T,velocity:function(){var n=ci(),e=f.reduce((function(e,t){var a=t.distance,i=t.timestamp;return n-i>200||(fi(a)!==fi(e.distance)&&e.distance&&(e={distance:0,lastTimestamp:0,time:0}),e.time&&(e.distance+=a),e.lastTimestamp&&(e.time+=i-e.lastTimestamp),e.lastTimestamp=i),e}),{distance:0,lastTimestamp:0,time:0});return e.distance/e.time||0}}}function Ci(n){var e,t,a,i,o,r,l;function s(n){return 2*n}function c(n){return hi(n,r,l)}function d(n){return 1-Math.pow(1-n,3)}function p(){g();var e="free-snap"===n.options.mode,t=n.track,r=t.velocity();a=fi(r);var l=n.track.details,p=[];if(r||!e){var u=m(r),h=u.dist,f=u.dur;if(f=s(f),h*=a,e){var x=t.idxToDist(t.distToIdx(h),!0);x&&(h=x)}p.push({distance:h,duration:f,easing:d});var v=l.position,y=v+h;if(y<i||y>o){var b=y<i?i-v:o-v,E=0,w=r;if(fi(b)===a){var k=Math.min(Math.abs(b)/Math.abs(h),1),C=function(n){return 1-Math.pow(1-n,1/3)}(k)*f;p[0].earlyExit=C,w=r*(1-k)}else p[0].earlyExit=0,E+=b;var L=m(w,100),M=L.dist*a;n.options.rubberband&&(p.push({distance:M,duration:s(L.dur),easing:d}),p.push({distance:-M+E,duration:500,easing:d}))}n.animator.start(p)}else n.moveToIdx(c(l.abs),!0,{duration:500,easing:function(n){return 1+--n*n*n*n*n}})}function m(n,e){void 0===e&&(e=1e3);var t=147e-9+(n=Math.abs(n))/e;return{dist:Math.pow(n,2)/t,dur:n/t}}function u(){var e=n.track.details;e&&(i=e.min,o=e.max,r=e.minIdx,l=e.maxIdx)}function g(){n.animator.stop()}n.on("updated",u),n.on("optionsChanged",u),n.on("created",u),n.on("dragStarted",(function(){g(),e=t=n.track.details.abs})),n.on("dragEnded",(function(){var a=n.options.mode;"snap"===a&&function(){var a=n.track,r=n.track.details,l=r.position,s=fi(a.velocity());(l>o||l<i)&&(s=0);var d=e+s;0===r.slides[a.absToRel(d)].portion&&(d-=s),e!==t&&(d=t),fi(a.idxToDist(d,!0))!==s&&(d+=s),d=c(d);var p=a.idxToDist(d,!0);n.animator.start([{distance:p,duration:500,easing:function(n){return 1+--n*n*n*n*n}}])}(),"free"!==a&&"free-snap"!==a||p()})),n.on("dragged",(function(){t=n.track.details.abs}))}function Li(n){var e,t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y=gi();function b(e){if(r&&s===e.id){var u=C(e);if(c){if(!k(e))return w(e);d=u,c=!1,n.emit("dragChecked")}if(f)return d=u;mi(e);var g=function(e){if(x===-1/0&&v===1/0)return e;var a=n.track.details,r=a.length,l=a.position,s=hi(e,x-l,v-l);if(0===r)return 0;if(!n.options.rubberband)return s;if(l<=v&&l>=x)return e;if(l<x&&t>0||l>v&&t<0)return e;var c=(l<x?l-x:l-v)/r,d=i*r,p=Math.abs(c*d),m=Math.max(0,1-p/o*2);return m*m*e}(l(d-u)/i*a);t=fi(g);var h=n.track.details.position;(h>x&&h<v||h===x&&t>0||h===v&&t<0)&&ui(e),p+=g,!m&&Math.abs(p*i)>5&&(m=!0),n.track.add(g),d=u,n.emit("dragged")}}function E(e){!r&&n.track.details&&n.track.details.length&&(p=0,r=!0,m=!1,c=!0,s=e.id,k(e),d=C(e),n.emit("dragStarted"))}function w(e){r&&s===e.idChanged&&(r=!1,n.emit("dragEnded"))}function k(n){var e=L(),t=e?n.y:n.x,a=e?n.x:n.y,i=void 0!==u&&void 0!==g&&Math.abs(g-a)<=Math.abs(u-t);return u=t,g=a,i}function C(n){return L()?n.y:n.x}function L(){return n.options.vertical}function M(){i=n.size,o=L()?window.innerHeight:window.innerWidth;var e=n.track.details;e&&(x=e.min,v=e.max)}function S(n){m&&(ui(n),mi(n))}function T(){if(y.purge(),n.options.drag&&!n.options.disabled){var t;t=n.options.dragSpeed||1,l="function"==typeof t?t:function(n){return n*t},a=n.options.rtl?-1:1,M(),e=n.container,function(){var n="data-keen-slider-clickable";pi("[".concat(n,"]:not([").concat(n,"=false])"),e).map((function(n){y.add(n,"mousedown",ui),y.add(n,"touchstart",ui)}))}(),y.add(e,"dragstart",(function(n){mi(n)})),y.add(e,"click",S,{capture:!0}),y.input(e,"ksDragStart",E),y.input(e,"ksDrag",b),y.input(e,"ksDragEnd",w),y.input(e,"mousedown",E),y.input(e,"mousemove",b),y.input(e,"mouseleave",w),y.input(e,"mouseup",w),y.input(e,"touchstart",E,{passive:!0}),y.input(e,"touchmove",b,{passive:!1}),y.input(e,"touchend",w),y.input(e,"touchcancel",w),y.add(window,"wheel",(function(n){r&&mi(n)}));var i="data-keen-slider-scrollable";pi("[".concat(i,"]:not([").concat(i,"=false])"),n.container).map((function(n){return function(n){var e;y.input(n,"touchstart",(function(n){e=C(n),f=!0,h=!0}),{passive:!0}),y.input(n,"touchmove",(function(t){var a=L(),i=a?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,o=e-C(t),r=a?n.scrollTop:n.scrollLeft,l=a&&"scroll"===n.style.overflowY||!a&&"scroll"===n.style.overflowX;if(e=C(t),(o<0&&r>0||o>0&&r<i)&&h&&l)return f=!0;h=!1,mi(t),f=!1})),y.input(n,"touchend",(function(){f=!1}))}(n)}))}}n.on("updated",M),n.on("optionsChanged",T),n.on("created",T),n.on("destroyed",y.purge)}function Mi(n){var e,t,a=null;function i(e,t,a){n.animator.active?r(e,t,a):requestAnimationFrame((function(){return r(e,t,a)}))}function o(){i(!1,!1,t)}function r(t,i,o){var r=0,l=n.size,d=n.track.details;if(d&&e){var p=d.slides;e.forEach((function(n,e){if(t)!a&&i&&s(n,null,o),c(n,null,o);else{if(!p[e])return;var d=p[e].size*l;!a&&i&&s(n,d,o),c(n,p[e].distance*l-r,o),r+=d}}))}}function l(e){return"performance"===n.options.renderMode?Math.round(e):e}function s(n,e,t){var a=t?"height":"width";null!==e&&(e=l(e)+"px"),n.style["min-"+a]=e,n.style["max-"+a]=e}function c(n,e,t){if(null!==e){e=l(e);var a=t?e:0;e="translate3d(".concat(t?0:e,"px, ").concat(a,"px, 0)")}n.style.transform=e,n.style["-webkit-transform"]=e}function d(){e&&(r(!0,!0,t),e=null),n.on("detailsChanged",o,!0)}function p(){i(!1,!0,t)}function m(){d(),t=n.options.vertical,n.options.disabled||"custom"===n.options.renderMode||(a="auto"===vi(n.options.slides,"perView",null),n.on("detailsChanged",o),(e=n.slides).length&&p())}n.on("created",m),n.on("optionsChanged",m),n.on("beforeOptionsChanged",(function(){d()})),n.on("updated",p),n.on("destroyed",d)}function Si(n,e){return function(t){var a,i,o,r,l,s=gi();function c(n){var e;di(t.container,"reverse","rtl"!==(e=t.container,window.getComputedStyle(e,null).getPropertyValue("direction"))||n?null:""),di(t.container,"v",t.options.vertical&&!n?"":null),di(t.container,"disabled",t.options.disabled&&!n?"":null)}function d(){p()&&f()}function p(){var n=null;if(r.forEach((function(e){e.matches&&(n=e.__media)})),n===a)return!1;a||t.emit("beforeOptionsChanged"),a=n;var e=n?o.breakpoints[n]:o;return t.options=Ei(Ei({},o),e),c(),E(),w(),v(),!0}function m(n){var e=xi(n);return(t.options.vertical?e.height:e.width)/t.size||1}function u(){return t.options.trackConfig.length}function g(n){for(var l in a=!1,o=Ei(Ei({},e),n),s.purge(),i=t.size,r=[],o.breakpoints||[]){var c=window.matchMedia(l);c.__media=l,r.push(c),s.add(c,"change",d)}s.add(window,"orientationchange",b),s.add(window,"resize",y),p()}function h(n){t.animator.stop();var e=t.track.details;t.track.init(null!=n?n:e?e.abs:0)}function f(n){h(n),t.emit("optionsChanged")}function x(n,e){if(n)return g(n),void f(e);E(),w();var a=u();v(),u()!==a?f(e):h(e),t.emit("updated")}function v(){var n=t.options.slides;if("function"==typeof n)return t.options.trackConfig=n(t.size,t.slides);for(var e=t.slides,a=e.length,i="number"==typeof n?n:vi(n,"number",a,!0),o=[],r=vi(n,"perView",1,!0),l=vi(n,"spacing",0,!0)/t.size||0,s="auto"===r?l:l/r,c=vi(n,"origin","auto"),d=0,p=0;p<i;p++){var u="auto"===r?m(e[p]):1/r-l+s,g="center"===c?.5-u/2:"auto"===c?0:c;o.push({origin:g,size:u,spacing:l}),d+=u}if(d+=l*(i-1),"auto"===c&&!t.options.loop&&1!==r){var h=0;o.map((function(n){var e=d-h;return h+=n.size+l,e>=1||(n.origin=1-e-(d>1?0:1-d)),n}))}t.options.trackConfig=o}function y(){E();var n=t.size;t.options.disabled||n===i||(i=n,x())}function b(){y(),setTimeout(y,500),setTimeout(y,2e3)}function E(){var n=xi(t.container);t.size=(t.options.vertical?n.height:n.width)||1}function w(){t.slides=pi(t.options.selector,t.container)}t.container=(l=pi(n,document)).length?l[0]:null,t.destroy=function(){s.purge(),t.emit("destroyed"),c(!0)},t.prev=function(){t.moveToIdx(t.track.details.abs-1,!0)},t.next=function(){t.moveToIdx(t.track.details.abs+1,!0)},t.update=x,g(t.options)}}var Ti=function(n,e,t){try{return function(n,e){var t,a={};return t={emit:function(n){a[n]&&a[n].forEach((function(n){n(t)}));var e=t.options&&t.options[n];e&&e(t)},moveToIdx:function(n,e,a){var i=t.track.idxToDist(n,e);if(i){var o=t.options.defaultAnimation;t.animator.start([{distance:i,duration:vi(a||o,"duration",500),easing:vi(a||o,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,e,t){void 0===t&&(t=!1),a[n]||(a[n]=[]);var i=a[n].indexOf(e);i>-1?t&&delete a[n][i]:t||a[n].push(e)},options:n},function(){if(t.track=ki(t),t.animator=function(n){var e,t,a,i,o,r;function l(e){r||(r=e),s(!0);var o=e-r;o>a&&(o=a);var p=i[t];if(p[3]<o)return t++,l(e);var m=p[2],u=p[4],g=p[0],h=p[1]*(0,p[5])(0===u?1:(o-m)/u);if(h&&n.track.to(g+h),o<a)return d();r=null,s(!1),c(null),n.emit("animationEnded")}function s(n){e.active=n}function c(n){e.targetIdx=n}function d(){var n;n=l,o=window.requestAnimationFrame(n)}function p(){var e;e=o,window.cancelAnimationFrame(e),s(!1),c(null),r&&n.emit("animationStopped"),r=null}return e={active:!1,start:function(e){if(p(),n.track.details){var o=0,r=n.track.details.position;t=0,a=0,i=e.map((function(n){var e,t=r,i=null!==(e=n.earlyExit)&&void 0!==e?e:n.duration,l=n.easing,s=n.distance*l(i/n.duration)||0;r+=s;var c=a;return a+=i,o+=s,[t,n.distance,c,a,n.duration,l]})),c(n.track.distToIdx(o)),d(),n.emit("animationStarted")}},stop:p,targetIdx:null}}(t),e)for(var n=0,a=e;n<a.length;n++)(0,a[n])(t);t.track.init(t.options.initial||0),t.emit("created")}(),t}(e,wi([Si(n,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),Mi,Li,Ci],t||[],!0))}catch(n){console.error(n)}},Ni=function(n,e){var t=ri.useRef(null),a=ri.useRef(!1),i=ri.useRef(n),o=ri.useCallback((function(o){o?(i.current=n,t.current=new Ti(o,n,e),a.current=!1):(t.current&&t.current.destroy&&t.current.destroy(),t.current=null)}),[]);return ri.useEffect((function(){bi(i.current,n)||(i.current=n,t.current&&t.current.update(i.current))}),[n]),[o,t]},zi=function(e){var t=e.isDisabled,a=e.isLeft,i=e.onClick,o=e.className,r=e.scheme,l=void 0===r?"hellosites":r;return n.createElement(he,{onClick:i,"data-is-disabled":t,"data-is-left":a,className:o},n.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?n.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===l?"#595959":"#E55C8A"}):n.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===l?"#595959":"#E55C8A"})))},Ai=function(t){for(var a=t.row,i=t.column,o=t.children,r=t.scheme,l=void 0===r?"hellosites":r,s=t.classNameLeftArrow,c=void 0===s?"":s,d=t.classNameRightArrow,p=void 0===d?"":d,m=t.mode,u=void 0===m?"snap":m,g=t.isDotsShown,h=void 0===g||g,f=t.isArrowShown,x=void 0!==f&&f,v=t.dataEventCategory,y=t.dataEventAction,b=t.dataEventLabel,E=t.onChangePage,w=n.useState(0),k=w[0],C=w[1],L=e(!1),M=L[0],S=L[1],T=Ni({defaultAnimation:{duration:1e3},initial:0,slideChanged:function(n){C(n.track.details.rel),E&&E(n.track.details.rel)},created:function(){S(!0)},drag:!0,mode:u,slides:{spacing:12}}),N=T[0],z=T[1],A=[],B=a*i,_=0;_<o.length;_+=B){var D=o.slice(_,_+B);A.push(D)}return n.createElement(ue,{row:a,column:i},n.createElement("div",{className:"navigation-wrapper"},n.createElement("div",{ref:N,className:"keen-slider slides-wrapper"},A.map((function(e,t){return n.createElement("div",{key:t,className:"keen-slider__slide page-items"},e.map((function(e,t){return n.createElement("div",{key:t},e)})))}))),M&&z.current&&x&&n.createElement(n.Fragment,null,n.createElement(zi,{isLeft:!0,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.prev())},isDisabled:0===k,scheme:l,className:"left-arrow ".concat(c),"data-event-category":v,"data-event-action":y,"data-event-label":b}),n.createElement(zi,{isLeft:!1,onClick:function(n){var e;return n.stopPropagation()||(null===(e=z.current)||void 0===e?void 0:e.next())},isDisabled:k===z.current.track.details.slides.length-1,scheme:l,className:"right-arrow ".concat(p),"data-event-category":v,"data-event-action":y,"data-event-label":b}))),M&&z.current&&h&&n.createElement("div",{className:"dots"},hn([],Array(z.current.track.details.slides.length),!0).map((function(e,t){return n.createElement(ge,{key:t,onClick:function(){var n;null===(n=z.current)||void 0===n||n.moveToIdx(t)},"data-is-active":k===t,"data-is-hellosites":"hellosites"===l})}))))},Bi=function(e){var t=e.type,a=e.description,i=e.value,o=e.withIcon,r=e.isInACard,l=e.cardColor,s=e.className;return n.createElement(fe,{className:s,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":l},n.createElement(xe,null,"small"===t&&n.createElement(ve,{"data-color":l}),a),n.createElement(ye,{"data-size":t},"small"!==t&&o,i))},_i=Object.freeze({__proto__:null,Table:be,Cell:Ee,Head:we,Row:ke,Body:Ce}),Di=function(t){var a=t.style,o=t.initialTab,r=t.tabContent,l=t.onChange,s=t.className,d=t.dataEventCategory,p=t.dataEventAction,m=t.dataEventLabel,u=e(o||0),g=u[0],h=u[1],f=Pt(r.length);return i((function(){h(o)}),[o]),n.createElement(Le,{style:a,className:s,role:"tablist"},r.map((function(e,t){return n.createElement(Me,{"data-is-tab-active":g===t||void 0,"aria-selected":g===t,role:"tab",onClick:function(){h(t),l&&l(t)},key:f[t],"data-event-category":d,"data-event-action":p,"data-event-label":m},n.createElement(Se,null,e.icon&&n.createElement(Te,null,e.icon),n.createElement(c,{size:e.textSize||"sm",type:e.textType||"bold",color:e.textColor||Bn.colors.gray800,dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name)))})))},Fi=function(e){var t=e.thankyou,a=e.thankyouSubtitle,i=e.className,o=e.style;return n.createElement(Ne,{className:i,style:o},n.createElement("div",{className:"survey-inner-wrapper"},n.createElement(ze,null,n.createElement("div",{className:"survey-thankyou-wrapper-inner"},n.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},n.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),n.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),n.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),n.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),n.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),n.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),n.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),n.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),t&&n.createElement(Sn,{className:"survey-thankyou-title",tag:"h3"},t),a&&n.createElement(c,{className:"survey-thankyou-subtitle",size:"p3"},a)))))},Pi=function(t){var a=t.items,o=t.className,r=t.style,l=t.backgroundPanelStyle,s=t.isOpen,c=t.onOpen,d=t.onClose,p=t.disableBackdropClick,m=t.siteType,u=void 0===m?"hb":m,g=t.animationType,h=void 0===g?"zoom":g,f=t.zIndex,x=void 0===f?300:f,v=e(!!s),y=v[0],b=v[1];i((function(){b(!!s)}),[s]);var E=function(){b(!1),d&&d()};return n.createElement(Ae,{style:r,className:o,"data-floatmenu-open":y,"data-site-type":u,"data-animation-type":h},n.createElement(Be,{className:"float-button-group__panel",style:gn({zIndex:x},l),onClick:p?void 0:E}),n.createElement(_e,{className:"float-button-group___content",style:{zIndex:x}},n.createElement(De,null,a.map((function(e,t){return n.createElement(Fe,{className:"float-item-button-".concat(t),style:gn(gn({},"zoom"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")}),"slide"===h&&{bottom:64*(a.length-1-t),transitionDelay:"".concat(Pe/a.length*(y?t:a.length-1-t),"ms")}),key:t,onClick:function(){e.onClick(),e.keepMenuOnClick||b(!1)}},n.createElement(He,{style:gn({},"zoom"===h&&{transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")})},e.label),n.createElement(Ie,{className:"float-item-button__icon-wrapper",style:gn({},("zoom"===h||"slide"===h)&&{transitionDelay:"".concat(Pe/a.length*(y?a.length-1-t:t),"ms")})},e.icon))}))),n.createElement(Re,{onClick:y?E:function(){b(!0),c&&c()}})))},Hi=function(e){var t=e.className,a=e.policiesUrl,i=e.onAcceptClick,o=e.translations,r=void 0===o?{acceptButton:"Accept",policiesButton:"Our Policies"}:o,l=e.title,s=void 0===l?"":l,c=e.description,d=void 0===c?"":c,p=e.theme,m=void 0===p?"helloSites":p,u=e.isOpen,g=void 0===u||u,h=e.useDefaultPosition,f=void 0===h||h,x=e.trackingAttributes;return n.createElement(je,{className:t,"data-theme":m,"data-is-open":g,"data-default-position":f},n.createElement(Ue,{"data-has-content":!!s},s),n.createElement(Oe,{dangerouslySetInnerHTML:{__html:d}}),n.createElement(Ve,null,n.createElement(Ge,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:i,"data-event-category":null==x?void 0:x.dataEventCategory,"data-event-action":null==x?void 0:x.dataEventAction,"data-event-label":null==x?void 0:x.dataEventLabel},r.acceptButton),n.createElement(Ze,{href:a},r.policiesButton)))},Ii=function(e){var t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y,b,E=e.SEOData,w=void 0===E?{}:E,k=e.isAmp,C=void 0!==k&&k,L=e.locale,M=void 0===L?"vi-VN":L,S=e.routerPathname,T=e.routerQuery,N=e.nextHead,z=e.siteType,A=e.seoCustom,B=e.userId,_=e.forcedCanonicalUrl,D=w.totalPages,F=w.currentPage,P=w.SEOTitle,H=void 0===P?"":P,I=w.SEODescription,R=void 0===I?"":I,j=w.SEOImage,U=w.seoType,O=w.SEOImageWidth,V=w.SEOImageHeight,G=w.customMetaData,Z=void 0===G?[]:G,Y=w.isIndexable,W=void 0===Y||Y,Q=w.hasNoCanonical,q=void 0!==Q&&Q,K=W&&_n?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",J=process.env.NEXT_PUBLIC_BASE_API_URL,X=w.canonicalUrl||S;Object.keys(T).forEach((function(n){var e=T[n];e&&Array.isArray(e)&&(X=X.replace("[...".concat(n,"]"),e.join("/")))}));var $,nn=M||"en-PH",en="helloSites"===z?ta[nn]:"www.marrybaby.vn",tn=X.endsWith("/")?"":"/";if(w.apiMetaData&&"string"==typeof w.apiMetaData){var an=null===(t=w.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),on=" - Page ".concat(F," of ").concat(D),rn=F&&1!==F&&an?w.apiMetaData.replace(an[0],an[0].includes("-")?an[0].replace("-",on+" - "):"<title>".concat(an[1].concat(on),"</title>")).replace('<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,'" />'),'<link rel="canonical" href="https://'.concat(en).concat(X).concat(tn,"?page=").concat(F,'" />')):w.apiMetaData,ln=($=Ye(rn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!ln){var sn="https://".concat(en,"/images/").concat(M,".png");$=hn(hn([],$,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=w.openGraph)||void 0===a?void 0:a.image)||sn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=w.openGraph)||void 0===i?void 0:i.image)||sn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=w.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=w.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=w.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=w.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var cn="https://".concat(en,"/images/").concat(M,".png");return n.createElement(N,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===z&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?n.createElement(n.Fragment,null):n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),n.createElement("link",{rel:"preconnect",href:J}),n.createElement("meta",{charSet:"UTF-8"}),!C&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:K}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Z.map((function(e,t){return n.createElement("meta",gn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===z?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:nn}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),C&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!$&&n.createElement(n.Fragment,null,"helloSites"===z?n.createElement("title",null,A?H:H+" - "+(null===(c=na[M])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,H),!q&&n.createElement("link",{rel:"canonical",href:"https://".concat(en).concat(X)}),n.createElement("meta",{name:"description",content:R||(null===(d=w.openGraph)||void 0===d?void 0:d.description)}),w.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:w.schemaData}}),n.createElement("meta",{property:"og:locale",content:M}),n.createElement("meta",{property:"og:type",content:U||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=w.openGraph)||void 0===p?void 0:p.title)||H}),n.createElement("meta",{property:"og:description",content:(null===(m=w.openGraph)||void 0===m?void 0:m.description)||R}),n.createElement("meta",{property:"og:url",content:"https://".concat(en).concat(X)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(en)}),n.createElement("meta",{property:"og:image",content:(null===(u=w.openGraph)||void 0===u?void 0:u.image)||j||cn||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(g=w.openGraph)||void 0===g?void 0:g.image)||j||cn}),n.createElement("meta",{property:"og:image:width",content:(null===(h=w.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=w.openGraph)||void 0===f?void 0:f.imageWidth)||O&&String(O)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=w.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=w.openGraph)||void 0===v?void 0:v.imageHeight)||V&&String(V)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=w.twitter)||void 0===y?void 0:y.title)||H}),n.createElement("meta",{name:"twitter:description",content:R}),n.createElement("meta",{name:"twitter:image",content:(null===(b=w.twitter)||void 0===b?void 0:b.image)||j})),("helloSites"===z?ea[nn]||[]:ea.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray($)&&_?$.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):$,_&&n.createElement("link",{rel:"canonical",href:_}),!w.hasNoAmp&&"vi-VN"!==M&&n.createElement("link",{rel:"amphtml",href:"https://".concat(en).concat(X).concat(tn,"?amp=1")}),B&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null)},Ri=function(e){var t=e.ampNextArticles,a=(null==t?void 0:t.filter(Boolean))||[];if(!(null==a?void 0:a.length))return null;return n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.map((function(n){return{image:n.image||"",title:n.title?JSON.stringify(n.title):"",url:n.link||""}})))}}),n.createElement("div",gn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:"))};var ji={"en-PH":ca,"vi-VN":pa,"zh-TW":ma,"id-ID":da};function Ui(t){var i=t.value,o=void 0===i?{from:null,to:null}:i,r=e(null),l=r[0],s=r[1],c=We().isMobile,d=e((function(){return o})),p=d[0],m=d[1],u=e((function(){var n;return Ut(null!==(n=o.from)&&void 0!==n?n:new Date)})),g=u[0],h=u[1],f=a((function(){return Ot(g,1)}),[g]);var x=gn(gn({},t),{goToNextMonth:function(){h((function(n){return Ot(n,1)}))},goToPreviousMonth:function(){h((function(n){return Vt(n,1)}))},range:p,setRange:m,hoverDay:l,setHoverDay:s});return n.createElement(n.Fragment,null,n.createElement(Oi,gn({},x,{date:g})),!c&&n.createElement(Qe,null),!c&&n.createElement(Oi,gn({},x,{date:f})))}function Oi(e){var t=e.date,o=e.range,r=e.setRange,l=e.onChange,s=e.goToPreviousMonth,c=e.goToNextMonth,d=e.minDate,p=e.maxDate,m=e.close,u=void 0===m?function(){}:m,g=e.autoClose,h=void 0!==g&&g,f=e.hoverDay,x=e.setHoverDay,v=En().locale,y=a((function(){var n;return null!==(n=ji[v])&&void 0!==n?n:ji["en-PH"]}),[v]),b=a((function(){return Rt(t,"MMMM",{locale:y})}),[t,y]),E=a((function(){return y?[1,2,3,4,5,6,0].map((function(n){return y.localize.day(n,{width:"narrow"})})):[]}),[y]);function w(e,t){if(null===e)return n.createElement(at,{key:"idx-".concat(t),"data-empty":"true"});var a=e.getDate(),i=Zt(e),l=!!o.from&&Yt(o.from,e),s=!!o.to&&Yt(o.to,e),c=l||s,m=!1;null!==f&&o.from&&jt(o.from,f)&&!o.to?m=Wt(e,{start:o.from,end:f}):o.from&&o.to&&(m=Wt(e,{start:o.from,end:o.to}));var g=!1;return d&&p?g=!Wt(e,{start:d,end:p}):d?g=jt(e,d):p&&(g=Qt(e,p)),n.createElement(at,{key:a,"data-is-today":i,"data-is-past":!i&&qt(e),"data-is-selected":c,"data-is-disabled":g,"data-in-range":m,"data-is-from":l,"data-is-to":s,onMouseEnter:function(){x(e)},onMouseLeave:function(){return x(null)},onClick:function(){g||r((function(n){return h&&o.from&&!o.to&&u(),function(n,e){return e.from||e.to?e.from&&e.to?{from:n,to:null}:e.from?jt(n,e.from)?gn(gn({},e),{from:n}):gn(gn({},e),{to:n}):e:gn(gn({},e),{from:n})}(e,n)}))}},n.createElement(it,{onClick:function(){}},n.createElement("p",null,a)))}return i((function(){o.from&&o.to&&l(o)}),[o]),n.createElement(qe,{className:"calendar-wrapper"},n.createElement(Ke,null,n.createElement(Mn,{onClick:s,size:"md",color:"ghost",icon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.66875 11.814L1.46875 6.657L5.66875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})}),n.createElement("div",{className:"calendar-month"},b,n.createElement("strong",null,Rt(t,"yyyy"))),n.createElement(Mn,{onClick:c,size:"md",color:"ghost",icon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='7' height='13' viewBox='0 0 7 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.46875 11.814L5.66875 6.657L1.46875 1.5' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"})})),n.createElement(Je,null,n.createElement("div",null,n.createElement(Xe,null,E.map((function(e,t){return n.createElement($e,{key:"".concat(e,"-").concat(t)},e)})))),n.createElement("div",null,function(){for(var e=t.getFullYear(),a=t.getMonth(),i=Gt(t),r=[],l=1;l<=i;l++)r.push(new Date(e,a,l));var s=r[0]?r[0].getDay():0;if(1!==s){var c=0===s?6:s-1;for(l=0;l<c;l++)r.unshift(null)}return n.createElement(nt,{key:"month-".concat(a),"data-month-index":a,"data-has-range":Boolean(o.from&&o.to)},n.createElement(et,null,n.createElement(tt,null,r.map(w))))}())))}function Vi(i){var o=i.inputSize,r=void 0===o?"md":o,l=i.name,s=void 0===l?"date-range-picker":l,c=i.value,d=i.minDate,p=i.maxDate,m=i.onChange,u=i.className,g=i.autoClose,h=void 0!==g&&g;c||(c={from:null,to:null});var f=e(!1),x=f[0],v=f[1];function y(){v(!1)}var b=t(null);function E(n){m&&m(n)}function w(n){return Rt(n,"dd/MM/yyyy")}sa(b,(function(){y()}));var k=a((function(){return c.from&&c.to?Yt(c.from,c.to)?w(c.from):"".concat(w(c.from)," - ").concat(w(c.to)):""}),[c.from,c.to]);return n.createElement(ot,{className:[u,x&&"focused"].filter(Boolean).join(" "),ref:b},n.createElement("label",{htmlFor:s},n.createElement(dn,{size:r,value:k,name:s,actionIcon:n.createElement("img",{src:"data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.9168 1.99984H13.5835C14.3168 1.99984 14.9168 2.59984 14.9168 3.33317V13.9998C14.9168 14.7332 14.3168 15.3332 13.5835 15.3332H2.91683C2.1835 15.3332 1.5835 14.7332 1.5835 13.9998V3.33317C1.5835 2.59984 2.1835 1.99984 2.91683 1.99984H3.5835V1.33317C3.5835 0.966504 3.8835 0.666504 4.25016 0.666504C4.61683 0.666504 4.91683 0.966504 4.91683 1.33317V1.99984H11.5835V1.33317C11.5835 0.966504 11.8835 0.666504 12.2502 0.666504C12.6168 0.666504 12.9168 0.966504 12.9168 1.33317V1.99984ZM3.5835 13.9998H12.9168C13.2835 13.9998 13.5835 13.6998 13.5835 13.3332V5.33317H2.91683V13.3332C2.91683 13.6998 3.21683 13.9998 3.5835 13.9998Z' fill='%23595959'/%3e%3c/svg%3e"}),autoFocus:!1,onFocus:function(){return v(!0)}})),x?n.createElement(rt,{onMouseDown:function(n){n.stopPropagation()}},n.createElement(Ui,{value:c,onChange:E,minDate:d,maxDate:p,close:y,autoClose:h})):null)}var Gi,Zi,Yi,Wi,Qi,qi,Ki,Ji,Xi,$i,no,eo,to,ao,io,oo,ro=ua.div(Gi||(Gi=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),lo=ua.div(Zi||(Zi=xn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n margin-top: 16px;\n"]))),so=ua.div(Yi||(Yi=xn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),co=ua.div(Wi||(Wi=xn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),po=ua.div(Qi||(Qi=xn([""],[""]))),mo=ua.div(qi||(qi=xn(["\n display: flex;\n"],["\n display: flex;\n"]))),uo=ua.div(Ki||(Ki=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),go=ua.div(Ji||(Ji=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),ho=ua.div(Xi||(Xi=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),fo=ua.div($i||($i=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),xo=ua.div(no||(no=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n\n > :first-child {\n flex: 2;\n }\n\n > :not(:first-child) {\n flex: 1;\n }\n"]))),vo=ua.div(eo||(eo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),yo=ua.div(to||(to=xn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),bo=ua.div(ao||(ao=xn(["\n display: none;\n"],["\n display: none;\n"]))),Eo=ua.div(io||(io=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),wo=ua.div(oo||(oo=xn(["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"],["\n height: 1px;\n flex: 1;\n margin: 0 16px;\n background-color: ",";\n"])),(function(n){return n.theme.mbColors.lightGray})),ko=ua.div(_o||(_o=xn(["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"],["\n position: fixed;\n z-index: 200;\n top: 0;\n width: 100vw;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n\n &[data-opened='false'] {\n left: -100%;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftDisappears;\n }\n\n &[data-opened='undefined'] {\n left: -100%;\n }\n\n &[data-opened='true'] {\n left: 0;\n //transition: left 0.1s;\n\n animation-duration: 0.2s;\n animation-name: leftAppears;\n }\n\n &[data-sub-level-opened='false'] {\n right: -100%;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightDisappears;\n }\n\n &[data-sub-level-opened='undefined'] {\n right: -100%;\n }\n\n &[data-sub-level-opened='true'] {\n right: 0;\n //transition: right 0.1s;\n\n animation-duration: 0.2s;\n animation-name: rightAppears;\n }\n"]))),Co=ua.div(Do||(Do=xn(["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"],["\n position: relative;\n top: 0;\n\n display: flex;\n width: 100vw;\n min-height: 100%;\n flex-direction: column;\n\n background-color: ",";\n overflow-x: hidden;\n\n &[data-type='category'] {\n z-index: 300;\n\n // momentum scrolling IOS will display under layer if not doing this\n &[data-is-sub-category-opened='true'] {\n animation-duration: 0.2s;\n animation-name: fading;\n }\n }\n\n &[data-type='sub-category'] {\n z-index: 400;\n }\n\n .category-button {\n border: none;\n }\n"])),(function(n){return n.theme.colors.white})),Lo=ua.div(Fo||(Fo=xn(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),Mo=ua.div(Po||(Po=xn(["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"],["\n display: flex;\n\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n\n padding-top: 0px;\n //position: absolute;\n\n //top: 0px;\n\n //z-index: -1;\n\n background-color: ",";\n\n &[data-type='sub-level'] {\n padding: 4px 16px 16px;\n background-color: ",";\n }\n\n & > div:first-child {\n justify-self: flex-start;\n }\n\n &[data-with-search-input='false'] {\n //padding-top: 64px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),So=ua.div(Ho||(Ho=xn(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),To=ua.div(Io||(Io=xn(["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"],["\n position: relative;\n\n display: flex;\n width: 100%;\n height: 100%;\n flex: 1;\n flex-direction: column;\n\n overflow-y: scroll;\n"]))),No=ua.div(Ro||(Ro=xn(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white}));ua.div(jo||(jo=xn(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var zo=ua.div(Uo||(Uo=xn(["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"],["\n background-color: ",";\n\n &[data-is-sub-category-opened='true'] {\n display: none;\n }\n\n &[data-hide-on-search='true'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}));ua.div(Oo||(Oo=xn(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Ao=ua.div(Vo||(Vo=xn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"])));ua.div(Go||(Go=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),ua.div(Zo||(Zo=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),ua.div(Yo||(Yo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ua.div(Wo||(Wo=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),ua.div(Qo||(Qo=xn(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ua.div(qo||(qo=xn(["\n display: none;\n"],["\n display: none;\n"]))),ua.div(Ko||(Ko=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ua.div(Jo||(Jo=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink}));var Bo=ua.div(Xo||(Xo=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"])));ua.div($o||($o=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),ua.div(nr||(nr=xn(["\n display: block;\n"],["\n display: block;\n"]))),ua.div(er||(er=xn(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var _o,Do,Fo,Po,Ho,Io,Ro,jo,Uo,Oo,Vo,Go,Zo,Yo,Wo,Qo,qo,Ko,Jo,Xo,$o,nr,er,tr,ar,ir=ua.div(tr||(tr=xn(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink})),or=ua.div(ar||(ar=xn(["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"],["\n .fake-search-input {\n margin-bottom: 24px;\n pointer-events: none;\n }\n"]))),rr=ua.header(wr||(wr=xn(["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"],["\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n align-items: center;\n justify-content: center;\n /* overflow-x: hidden; */\n\n border-bottom: 1px solid\n ",";\n background-color: ",";\n\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n top: 0;\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n top: -100%;\n transition: top 0.5s;\n }\n\n &[data-collapsed='false'] {\n top: 0px;\n transition: top 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n position: fixed;\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n }\n\n .menu-handler:focus #categories-menu {\n left: 0;\n transition: left 0.1s;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),aa.headerContainerHome,aa.headerContainerPopup,aa.headerContainerPopupSUbLevel),lr=ua.header(kr||(kr=xn(["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"],["\n position: absolute;\n bottom: 20px;\n left: 16px;\n display: flex;\n align-items: center;\n"]))),sr=ua.div(Cr||(Cr=xn(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n"]))),cr=ua.div(Lr||(Lr=xn(["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"],["\n position: relative;\n display: flex;\n width: 100%;\n height: 64px;\n justify-content: center;\n\n padding: 8px 0;\n margin-top: 64px;\n &[data-sponsored='true'] {\n margin-top: 105px;\n }\n &[data-sitewide-banner-shown='true'] {\n margin-top: 128px;\n }\n\n background-color: ",";\n\n #search-input-home,\n #search-input-home-temp,\n #search-input-popup {\n position: relative;\n z-index: ",";\n width: 100%;\n box-shadow: 0px 0px 5px rgba(38, 38, 38, 0.08);\n }\n\n .displayIcon {\n z-index: ",";\n display: flex;\n width: 24px;\n height: 24px;\n align-items: center;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n opacity: 0;\n }\n\n &[data-is-displayed='true'] {\n opacity: 1;\n transition: opacity 0.2s;\n }\n\n &[data-header-type='popup'] {\n position: fixed;\n z-index: ",";\n left: 0;\n width: 100vw;\n }\n"])),(function(n){return n.theme.colors.white}),aa.menuSearchInputPopup,aa.menuSearchInputDisplayIcon,aa.menuSearchPopup),dr=ua.div(Mr||(Mr=xn(["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: 0;\n left: 0;\n\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s;\n\n .menu-handler-item {\n gap: 8px;\n a {\n text-decoration: none;\n }\n }\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n //categories\n .menu-handler-categories:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-categories:focus-within .top-menu-categories {\n display: block;\n }\n .menu-handler-categories:focus .top-menu-health-tools {\n display: none;\n }\n\n //health tools\n .menu-handler-health-tools:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-health-tools:focus-within .top-menu-health-tools {\n display: block;\n }\n .menu-handler-health-tools:focus .top-menu-categories {\n display: none;\n }\n\n //communities\n .menu-handler-communities:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-communities:focus-within .top-menu-communities {\n display: block;\n }\n .menu-handler-communities:focus .top-menu-care-specialties {\n display: none;\n }\n\n //care\n .menu-handler-care-specialties:focus > .menu-handler-item {\n pointer-events: none;\n }\n .menu-handler-care-specialties:focus-within .top-menu-care-specialties {\n display: block;\n }\n .menu-handler-care-specialties:focus .top-menu-communities {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink})),pr=ua.div(Sr||(Sr=xn(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0;\n"]))),mr=ua.div(Tr||(Tr=xn(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),ur=ua.div(Nr||(Nr=xn(["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"],["\n padding-right: 16px;\n &[data-is-having-border='true'] {\n border-right: 1px solid\n ",";\n }\n"])),(function(n){return n.theme.colors.neutral100})),gr=ua.div(zr||(zr=xn(["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"],["\n padding: 0 16px;\n\n & > div {\n background-color: ",";\n }\n\n &[data-marry-baby-theme='white'] > div {\n background-color: ",";\n }\n\n #search-input-home,\n #search-input-home-temp {\n height: 32px;\n box-sizing: border-box;\n padding: 0 16px 0 48px;\n border: 1px solid ",";\n border-radius: 6px;\n filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));\n outline: none;\n }\n\n &[data-is-styled-borderless='true'] {\n #search-input-home,\n #search-input-home-temp {\n height: 40px;\n border: 1px solid ",";\n border-radius: 16px;\n filter: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.mbColors.lightGray}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white})),hr=ua.div(Ar||(Ar=xn(["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"],["\n display: flex;\n align-items: center;\n\n & > :not(:first-child) {\n margin-left: 6px;\n }\n"]))),fr=ua.div(Br||(Br=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 8px;\n"]))),xr=ua.div(_r||(_r=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 4px;\n"]))),vr=ua.div(Dr||(Dr=xn(["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n margin-right: 8px;\n & > div {\n display: flex;\n align-items: center;\n\n cursor: pointer;\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n &[data-is-active='true'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n\n &[data-is-active='false'] {\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n }\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.colors.secondaryDark}),(function(n){return n.theme.mbColors.dark}),(function(n){return n.theme.colors.secondaryDark})),yr=ua.div(Fr||(Fr=xn(["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"],["\n flex-shrink: 0;\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n "," {\n position: absolute;\n right: 16px;\n bottom: 16px;\n height: 32px;\n display: flex;\n }\n .menu-handler-item {\n gap: 8px;\n .care-button {\n text-decoration: none;\n }\n }\n\n .login-btn-mobile[data-color='secondary'][data-size='sm'] {\n padding-right: 1rem;\n padding-left: 1rem;\n }\n"])),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown),br=ua.div(Pr||(Pr=xn(["\n display: block;\n"],["\n display: block;\n"]))),Er=ua.div(Hr||(Hr=xn([""],[""])));ua.div(Ir||(Ir=xn(["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}));var wr,kr,Cr,Lr,Mr,Sr,Tr,Nr,zr,Ar,Br,_r,Dr,Fr,Pr,Hr,Ir,Rr,jr,Ur,Or,Vr,Gr=ua.div(Rr||(Rr=xn(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),Zr=function(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},Yr=ua.div(jr||(jr=xn(["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"],["\n amp-sidebar {\n width: 100vw;\n max-width: 100vw;\n background-color: ",";\n }\n\n .nav-card {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n span {\n margin-top: 4px;\n font-size: 13px;\n font-weight: ",";\n }\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: ",";\n }\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n > div:first-child > amp-img {\n margin-left: 1rem;\n }\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n\n img {\n object-fit: contain;\n }\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n position: relative;\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n &.health-tool {\n display: flex;\n align-items: center;\n\n amp-img {\n margin-right: 1rem;\n }\n + li {\n border-top: none;\n }\n\n a {\n display: flex;\n align-items: center;\n }\n }\n\n a {\n display: block;\n margin: 16px 0;\n color: ",";\n text-decoration: none;\n }\n\n &:not(.spotlight-li)::after {\n position: absolute;\n top: 50%;\n right: 0;\n content: url(\"data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L5 5L1 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),Wr=ua.a(Ur||(Ur=xn(["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"],["\n position: relative;\n margin: 0 16px 24px;\n display: block;\n text-decoration: none;\n\n svg {\n position: absolute;\n left: 12px;\n top: 12px;\n }\n\n .amp-search-input {\n border: 1px solid ",";\n height: 48px;\n border-radius: 6px;\n background-color: ",";\n padding-left: 48px;\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.white})),Qr=function(e){var t=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,r=e.serviceUrls,l=e.together,s=e.care,c=e.basePath,d=e.searchPlaceholder,p=lt();return n.createElement(Yr,null,n.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},n.createElement("amp-nested-menu",{layout:"fill"},n.createElement("ul",{style:{paddingBottom:24}},n.createElement("div",{className:"amp__menu-header"},n.createElement(br,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),n.createElement("div",{className:"logo"},n.createElement(pn,{height:"32px",width:"121px",type:na.LOGO_TYPE,isAmp:!0,badge:"id-ID"===t?n.createElement("amp-img",{src:st,width:"56",height:"23"}):void 0})),n.createElement("div",null)),n.createElement(Wr,{href:"/search"},n.createElement(Zr,null),n.createElement("input",{className:"amp-search-input",type:"text",placeholder:d,readOnly:!0})),n.createElement("div",{className:"categories__spotlight"},n.createElement(Er,{on:"tap:AMP.setState({healthToolsActive: true})",className:"nav-card active","data-amp-bind-class":"healthToolsActive ? 'nav-card active' : 'nav-card not-active'",role:"button",tabIndex:1},n.createElement("amp-img",{src:ct,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.discover"))),n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})","data-amp-bind-class":"healthToolsActive ? 'nav-card not-active' : 'nav-card active'"},n.createElement("amp-img",{src:dt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.TOGETHER_URL_FE},n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},n.createElement("amp-img",{src:pt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(t)&&n.createElement("a",{href:r.CARE_URL_FE},n.createElement(Er,{role:"button",tabIndex:1,className:"nav-card"},n.createElement("amp-img",{src:mt,width:"48",height:"48"}),n.createElement("span",null,p("home.navigator.menuItem.helloCare"))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},n.createElement(Sn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return n.createElement("li",{key:e.name},n.createElement("a",{href:e.permalink},e.displayName))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/categories/")},n.createElement(uo,{key:"all-categories"},p("home.navigator.menuItem.allCategories"),n.createElement(Bo,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allCategories")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},n.createElement(Sn,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},p("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return n.createElement("li",{key:e.id,className:"spotlight-li"},n.createElement("a",{href:e.permalink},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(r.DISCOVER_URL_FE,"/spotlight/")},n.createElement(uo,{key:"all-spotlight"},p("home.navigator.menuItem.allSpotlight"),n.createElement(Bo,null,n.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:p("home.navigator.menuItem.allSpotlight")}))))),n.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,t){return e.healthTools&&e.healthTools.length>0&&n.createElement(n.Fragment,{key:t},n.createElement(Sn,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return n.createElement("li",{key:e.title,className:"health-tool"},n.createElement("a",{href:e.link},n.createElement("amp-img",{width:"32",height:"32",src:e.icon}),n.createElement("span",null,e.title)))})))})))))))},qr="data:image/svg+xml,%3csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 12L10.5 8L6.5 4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Kr="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Jr="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 13.7499V9.58325' stroke='%232D87F3' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 6.25H10.0125' stroke='%232D87F3' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Xr=ua.footer(Or||(Or=xn(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),wn.mbDown,wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp),$r=ua.div(Vr||(Vr=xn(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),nl=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement($r,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},el=function(e){var t,a,i,o,r,l,s,d,p,m,u,g,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,H,I=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=lt(),Y=null==U?void 0:U.menu;return n.createElement(Xr,{as:G&&"mini"===j?"div":"footer",className:I,style:"mini"===j?{backgroundColor:Bn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(mn,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(Mn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(g=null===(u=Y[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(ta[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(nl,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(ta[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(ta[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(ta[V]).concat(e.url),size:"sm",type:"regular",style:{color:Bn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Bn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(H=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===H?void 0:H.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};ua((function(e){var t=e.type,a=fn(e,["type"]);return n.createElement(t,a)}))(tl||(tl=xn(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var tl,al,il=ua.p(al||(al=xn(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),ol=function(e){var t=e.type,a=e.color,i=e.style,o=fn(e,["type","color","style"]);return n.createElement(il,gn({"data-type":t,style:gn(gn({},i),a&&{"--text-color":a})},o))};ua.footer(rl||(rl=xn(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),wn.mbDown,wn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.white}),wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp);var rl,ll,sl,cl,dl,pl,ml,ul,gl,hl,fl,xl,vl,yl,bl,El,wl,kl,Cl,Ll,Ml,Sl,Tl,Nl,zl,Al=ua.div(ll||(ll=xn([""],[""]))),Bl=ua.div(sl||(sl=xn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),_l=ua.div(cl||(cl=xn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),wn.mbDown),Dl=ua.div(dl||(dl=xn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,wn.mbDown),Fl=ua.div(pl||(pl=xn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),wn.mbUp,wn.mbDown),Pl=ua.div(ml||(ml=xn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray}),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray})),Hl=ua.div(ul||(ul=xn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),Il=function(e){var t,a=e.socialLinks,i=void 0===a?ia.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,u=e.footerMenu,g=void 0===u?[]:u,h=e.type,f=void 0===h?"main":h,x=lt();return"main"===f?n.createElement(Al,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(mn,{type:"marryBaby"},n.createElement(It,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(_l,null,n.createElement(mn,{type:"marryBaby"},n.createElement(Dl,null,n.createElement("div",{className:"grid"},null===(t=m?null==g?void 0:g.slice(0,6):g)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(ol,{color:Bn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(ol,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:Ba,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:Ha,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:_a,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:Ia,alt:"Zalo"}))))))))),n.createElement(Fl,null,n.createElement(mn,{type:"marryBaby"},n.createElement(Pl,null,n.createElement(pn,{className:"logo",type:p,width:"121px"}),n.createElement(ol,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(ol,{type:"bodytext-3"},x("footer.info.address")),n.createElement(ol,{type:"bodytext-3"},x("footer.info.license")),n.createElement(ol,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(It,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(ol,{type:"bodytext-3"},c)))))):n.createElement(Bl,null,n.createElement(Hl,null),n.createElement(ol,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Bn.sizes.fwSemiBold},color:Bn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},Rl=function(e){var t,a,i,o,r,l,s,c,d,p,m,u=e.type,g=e.isMobile,h=void 0===g||g,f=e.locale,x=e.footerInfo,v=e.isAmp,y=e.siteType,b=e.ampNextArticle,E=e.routerQuery;return"helloSites"===y?n.createElement(n.Fragment,null,v&&(null!==(a=null===(t=null==E?void 0:E.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&n.createElement("amp-next-page",null,n.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(r=null==b?void 0:b.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(l=null==b?void 0:b.articleTwo)||void 0===l?void 0:l.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(c=null==b?void 0:b.articleTwo)||void 0===c?void 0:c.link,'"\n },\n {\n "image": "').concat(null===(d=null==b?void 0:b.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(m=null==b?void 0:b.articleThree)||void 0===m?void 0:m.link,'"\n }\n ]\n ')}}),n.createElement("div",gn({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),n.createElement(el,{isAmp:v,isMobile:h,type:u,locale:f,footerInfo:x||{}})):n.createElement(Il,{isMobile:h,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:u})},jl=ua.div(gl||(gl=xn(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ul=ua.div(hl||(hl=xn(["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n @keyframes menuLeftToRightTrans {\n from {\n margin-left: -300%;\n opacity: 0;\n }\n to {\n margin-left: 0;\n opacity: 1;\n }\n }\n\n @keyframes menuRightToLeftTrans {\n from {\n margin-right: -300%;\n opacity: 0;\n }\n to {\n margin-right: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftAppears {\n from {\n left: -50%;\n opacity: 0;\n }\n to {\n left: 0;\n opacity: 1;\n }\n }\n\n @keyframes leftDisappears {\n from {\n left: 0;\n opacity: 1;\n }\n to {\n left: -50%;\n opacity: 0;\n }\n }\n\n @keyframes rightAppears {\n from {\n right: -50%;\n opacity: 0;\n }\n to {\n right: 0;\n opacity: 1;\n }\n }\n\n @keyframes rightDisappears {\n from {\n right: 0;\n opacity: 1;\n }\n to {\n right: -50%;\n opacity: 0;\n }\n }\n\n @keyframes expandingTopToBottom {\n from {\n margin-top: -100%;\n opacity: 0;\n }\n to {\n margin-top: 0;\n opacity: 1;\n }\n }\n\n @keyframes collapsingBottomToTop {\n from {\n margin-top: 0;\n opacity: 1;\n }\n to {\n margin-top: -100%;\n opacity: 0;\n }\n }\n\n width: 100%;\n\n ","\n\n background-color: ",";\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(n){return n.theme.colors.white})),Ol=ua.div(fl||(fl=xn(["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"],["\n width: 100%;\n padding-bottom: 80px;\n\n background-color: ",";\n\n &[data-is-mobile='false'] {\n margin-top: 69px;\n &[data-sponsored='true'] {\n margin-top: 110px;\n &[data-sitewide='true'] {\n margin-top: 173px;\n }\n }\n &[data-sitewide='true'] {\n margin-top: 133px;\n }\n }\n &[data-is-mobile='true'] {\n &[data-sitewide='true'],\n &[data-sponsored='true'] {\n margin-top: 60px;\n }\n }\n\n &[data-menu-opened='true'] {\n visibility: hidden;\n }\n"])),(function(n){return n.theme.colors.white})),Vl=ua.div(xl||(xl=xn(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Gl=ua.a(vl||(vl=xn(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"]))),Zl=function(e){var t,a,i,o,r,l,s,c,d,p,m,u,g,h,f,x,v,y,b,E=e.children,w=e.SEOData,k=void 0===w?{}:w,C=e.isAmp,L=void 0!==C&&C,M=e.locale,S=void 0===M?"vi-VN":M,T=e.routerPathname,N=e.routerQuery,z=e.nextHead,A=e.siteType,B=e.seoCustom,_=e.userId,D=e.forcedCanonicalUrl,F=e.usingDefaultHead,P="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,H=k.totalPages,I=k.currentPage,R=k.SEOTitle,j=void 0===R?"":R,U=k.SEODescription,O=void 0===U?"":U,V=k.SEOImage,G=k.seoType,Z=k.SEOImageWidth,Y=k.SEOImageHeight,W=k.customMetaData,Q=void 0===W?[]:W,q=k.isIndexable,K=void 0===q||q,J=k.hasNoCanonical,X=void 0!==J&&J,$=K&&P?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",nn=process.env.NEXT_PUBLIC_BASE_API_URL,en=k.canonicalUrl||T;Object.keys(N).forEach((function(n){var e=N[n];e&&Array.isArray(e)&&(en=en.replace("[...".concat(n,"]"),e.join("/")))}));var tn,an=S||"en-PH",on="helloSites"===A?ta[an]:"www.marrybaby.vn",rn=en.endsWith("/")?"":"/";if(k.apiMetaData&&"string"==typeof k.apiMetaData){var ln=null===(t=k.apiMetaData)||void 0===t?void 0:t.match(/<title.*?>(.*)<\/title>/),sn=" - Page ".concat(I," of ").concat(H),cn=I&&1!==I&&ln?k.apiMetaData.replace(ln[0],ln[0].includes("-")?ln[0].replace("-",sn+" - "):"<title>".concat(ln[1].concat(sn),"</title>")).replace('<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,'" />'),'<link rel="canonical" href="https://'.concat(on).concat(en).concat(rn,"?page=").concat(I,'" />')):k.apiMetaData,dn=(tn=Ye(cn,{trim:!0})).find((function(n){var e,t;return"og:image"===(null===(e=n.props)||void 0===e?void 0:e.property)||"og:image:secure_url"===(null===(t=n.props)||void 0===t?void 0:t.property)}));if(!dn){var pn="https://".concat(on,"/images/").concat(S,".png");tn=hn(hn([],tn,!0),[n.createElement("meta",{key:"og:image",property:"og:image",content:(null===(a=k.openGraph)||void 0===a?void 0:a.image)||pn||""}),n.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(i=k.openGraph)||void 0===i?void 0:i.image)||pn}),n.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=k.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(r=k.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),n.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(l=k.openGraph)||void 0===l?void 0:l.imageHeight)&&String(null===(s=k.openGraph)||void 0===s?void 0:s.imageHeight)||"630"})],!1)}}var mn="https://".concat(on,"/images/").concat(S,".png");return n.createElement(n.Fragment,null,z&&F&&n.createElement(z,null,n.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===A&&n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===S?n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===S||"ms-MY"===S?n.createElement(n.Fragment,null):n.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),n.createElement("link",{rel:"preconnect",href:nn}),n.createElement("meta",{charSet:"UTF-8"}),!L&&n.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),n.createElement("meta",{name:"google",content:"notranslate"}),n.createElement("meta",{name:"robots",content:$}),n.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),Q.map((function(e,t){return n.createElement("meta",gn({key:t},e))})),n.createElement("meta",{name:"theme-color",content:"helloSites"===A?"#2c87f3":"#e85388"}),n.createElement("meta",{name:"page_type",content:"Home"}),n.createElement("meta",{name:"page_platform",content:"WEB"}),n.createElement("meta",{name:"page_language",content:an}),n.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),L&&n.createElement(n.Fragment,null,n.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),n.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),n.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!tn&&n.createElement(n.Fragment,null,"helloSites"===A?n.createElement("title",null,B?j:j+" - "+(null===(c=na[S])||void 0===c?void 0:c.SITE_NAME)):n.createElement("title",null,j),!X&&n.createElement("link",{rel:"canonical",href:"https://".concat(on).concat(en)}),n.createElement("meta",{name:"description",content:O||(null===(d=k.openGraph)||void 0===d?void 0:d.description)}),k.schemaData&&n.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:k.schemaData}}),n.createElement("meta",{property:"og:locale",content:S}),n.createElement("meta",{property:"og:type",content:G||"website"}),n.createElement("meta",{property:"og:title",content:(null===(p=k.openGraph)||void 0===p?void 0:p.title)||j}),n.createElement("meta",{property:"og:description",content:(null===(m=k.openGraph)||void 0===m?void 0:m.description)||O}),n.createElement("meta",{property:"og:url",content:"https://".concat(on).concat(en)}),n.createElement("meta",{property:"og:site_name",content:"https://".concat(on)}),n.createElement("meta",{property:"og:image",content:(null===(u=k.openGraph)||void 0===u?void 0:u.image)||V||mn||""}),n.createElement("meta",{property:"og:image:secure_url",content:(null===(g=k.openGraph)||void 0===g?void 0:g.image)||V||mn}),n.createElement("meta",{property:"og:image:width",content:(null===(h=k.openGraph)||void 0===h?void 0:h.imageWidth)&&String(null===(f=k.openGraph)||void 0===f?void 0:f.imageWidth)||Z&&String(Z)||"1200"}),n.createElement("meta",{property:"og:image:height",content:(null===(x=k.openGraph)||void 0===x?void 0:x.imageHeight)&&String(null===(v=k.openGraph)||void 0===v?void 0:v.imageHeight)||Y&&String(Y)||"630"}),n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{name:"twitter:title",content:(null===(y=k.twitter)||void 0===y?void 0:y.title)||j}),n.createElement("meta",{name:"twitter:description",content:O}),n.createElement("meta",{name:"twitter:image",content:(null===(b=k.twitter)||void 0===b?void 0:b.image)||V})),("helloSites"===A?ea[an]||[]:ea.marryBaby).map((function(e,t){return"link"===e.type?n.createElement("link",{key:"favicon-".concat(t),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?n.createElement("meta",{key:t,name:e.name,content:e.content}):null})),Array.isArray(tn)&&D?tn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):tn,D&&n.createElement("link",{rel:"canonical",href:D}),!k.hasNoAmp&&"vi-VN"!==S&&n.createElement("link",{rel:"amphtml",href:"https://".concat(on).concat(en).concat(rn,"?amp=1")}),_&&"undefined"!=typeof window?n.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(_,"'});")}}):null),z&&!F&&n.createElement(z,null),E)},Yl=ua.div(yl||(yl=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wl=ua.div(bl||(bl=xn(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100})),Ql=ua.div(El||(El=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n\n //border-bottom: 1px solid ",";\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),ql=ua.div(wl||(wl=xn([""],[""]))),Kl=ua.div(kl||(kl=xn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Jl=ua.div(Cl||(Cl=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Xl=ua.div(Ll||(Ll=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),$l=ua.div(Ml||(Ml=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),ns=ua.div(Sl||(Sl=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),es=ua.div(Tl||(Tl=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),ts=ua.div(Nl||(Nl=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),as=ua.div(zl||(zl=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),is=function(){return n.createElement(Yl,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},os=function(e){var t,a,i,o,r=e.careSpecialties,l=e.onSelectCareSpecialty,s=e.isLoading,c=e.desktopPopupType,d=e.onClosePopup,p=e.basePath,m=e.locale,u=e.isMobile,g=e.siteType,h=e.CARE_URL_FE,f=lt();return u?n.createElement(n.Fragment,null,s?n.createElement(Wl,null,n.createElement(is,null)):n.createElement(Wl,{"data-category-list-type":"main"},n.createElement(Sn,{style:{marginTop:16},tag:"h5"},f("menu.care.searchBySpecialties")),r.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(Ql,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m})),onClick:function(){l(e)}},n.createElement(Kl,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(ql,null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(t=oa[m])||void 0===t?void 0:t.SPECIALTIES)},n.createElement(es,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(a=oa[m])||void 0===a?void 0:a.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(ts,null,"helloSites"===g?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):n.createElement(Jl,{className:"top-menu-care-specialties",onClick:d,"data-is-display":"care"===c},n.createElement(Xl,null,n.createElement(mn,{style:{padding:"0 16px"},type:g},n.createElement($l,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,r.map((function(e){return n.createElement(ns,{key:"care-specialty-".concat(e.id),onClick:d},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m})),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(h).concat(ut({type:"DOCTOR",specialtySlug:e.slug,locale:m}))},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(p,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.name)))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/").concat(null===(i=oa[m])||void 0===i?void 0:i.SPECIALTIES)},n.createElement(es,{onClick:d,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/").concat(null===(o=oa[m])||void 0===o?void 0:o.SPECIALTIES)},f("home.navigator.menuItem.allSpecialties"),n.createElement(ts,null,"helloSites"===g?n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allSpecialties")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(as,{onClick:d},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},rs=function(){return n.createElement(ro,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},ls=ua.div(us||(us=xn(["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"],["\n "," {\n margin: 48px 0;\n }\n\n "," {\n padding: 0 16px;\n }\n"])),wn.mbDown,wn.mbUp),ss=ua.div(gs||(gs=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),cs=ua.div(hs||(hs=xn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n display: flex;\n flex-direction: column;\n"])),wn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));ua.div(fs||(fs=xn(["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"],["\n "," {\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var ds=ua.div(xs||(xs=xn(["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 48px;\n align-items: center;\n justify-content: space-between;\n\n background-color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n padding: 8px;\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown),ps=ua.div(vs||(vs=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),ms=ua.div(ys||(ys=xn([""],[""])));ua.div(bs||(bs=xn([""],[""])));var us,gs,hs,fs,xs,vs,ys,bs,Es,ws,ks=ua.div(Es||(Es=xn(["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n "," {\n padding: 8px;\n }\n\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Cs=ua.div(ws||(ws=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ls=function(){return n.createElement(ss,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},Ms=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.spotlights,o=e.isLoading,r=e.className,l=e.isMobile,s=e.DISCOVER_URL_FE,c=e.basePath,d=e.locale,p=e.siteType,m=lt();return a?n.createElement(ls,null,n.createElement(Sn,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&a?n.createElement(cs,{className:r},n.createElement(Ls,null)):n.createElement(cs,{"data-is-displayed":a,className:r},i.map((function(e,t){return n.createElement(ps,{style:{textDecoration:"none"},key:"spotlight-"+t},l?n.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:Bn.colors.gray800}},n.createElement(ds,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[d]).concat(e.permalink)},n.createElement(ms,null,e.name))):n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[d]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},n.createElement(ks,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),n.createElement(Cs,null,"helloSites"===p?n.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):null},Ss=function(e){var t=e.locale,a=e.basePath,i=e.isDisplayed,o=void 0!==i&&i,r=e.categories,l=e.spotlightsList,s=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,u=e.isMobile,g=e.isLoading,h=e.DISCOVER_URL_FE,f=e.siteType,x=void 0===f?"helloSites":f,v=lt();return u?n.createElement(n.Fragment,null,g&&o?n.createElement(lo,null,n.createElement(rs,null)):n.createElement(lo,{"data-is-displayed":o,"data-category-list-type":s},n.createElement(Sn,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),n.createElement(so,null,r.map((function(e,i){return n.createElement("div",{key:s+"-category-"+i},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==s&&n.preventDefault()},href:h+e.permalink},n.createElement(co,{onClick:function(){null==d||d(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(po,null,e.displayName),"main"===s&&n.createElement(mo,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))),"sub"===s&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,t){return n.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:s+"-2-"+t},n.createElement(co,{"data-is-heading-category":"sub"===s&&e.childCates&&e.childCates.length>0},n.createElement(c,{size:"p3"},e.displayName)))}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(uo,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(go,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),n.createElement(Ms,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,isMobile:u,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}))):n.createElement(ho,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===m},n.createElement(fo,null,n.createElement(mn,{style:{padding:"0 16px"},type:x},n.createElement(xo,{"data-popup-type":m,onClick:function(n){n.stopPropagation()}},n.createElement("div",null,n.createElement(Sn,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),n.createElement(vo,{"data-disabled-divider":0===l.length},r.map((function(e,a){return n.createElement(yo,{style:{textDecoration:"none"},key:e.categoryName+a},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(h).concat(e.permalink)},e.displayName),n.createElement(bo,null,e.childCates&&e.childCates.map((function(e,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[t]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:a},e.displayName)}))))})),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(h,"/categories/")},n.createElement(uo,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(h,"/categories/")},v("home.navigator.menuItem.allCategories"),n.createElement(go,null,"helloSites"===x?n.createElement("img",{src:"".concat(a,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),n.createElement(Ms,{isDisplayed:"main"===s,spotlights:l,isLoading:!1,basePath:a,DISCOVER_URL_FE:h,locale:t,siteType:x}),n.createElement(Eo,{onClick:p},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ts=ua.div(Ps||(Ps=xn([""],[""]))),Ns=ua.div(Hs||(Hs=xn(["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"],["\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n border-radius: 50%;\n"]))),zs=ua.div(Is||(Is=xn(["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n margin-left: 48px;\n\n > :first-child {\n margin-right: 24px;\n }\n"]))),As=ua.div(Rs||(Rs=xn(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n //height: 40px;\n\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n\n > svg:first-child {\n margin-right: 24px;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Bs=ua.div(js||(js=xn(["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"],["\n overflow: hidden;\n > .expanding {\n animation-duration: 0.3s;\n animation-name: expandingTopToBottom;\n }\n\n > .collapsing {\n margin-top: -100%;\n animation-duration: 0.3s;\n animation-name: collapsingBottomToTop;\n }\n"]))),_s=ua.div(Us||(Us=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Ds=ua.div(Os||(Os=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Fs=ua.div(Vs||(Vs=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Gs||(Gs=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Ps,Hs,Is,Rs,js,Us,Os,Vs,Gs,Zs,Ys,Ws=ua.div(Zs||(Zs=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(Ys||(Ys=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Qs,qs,Ks,Js,Xs,$s,nc,ec,tc,ac,ic,oc,rc,lc=function(t){var a=t.isDisplayed,i=void 0!==a&&a,o=t.categories,r=t.type,l=t.onSelectCategory,s=t.desktopPopupType,c=t.isMobile,d=t.isLoading,p=t.MARRY_BABY_FE,m=e(-1),u=m[0],g=m[1],h=e(!1),f=h[0],x=h[1];return c?n.createElement(n.Fragment,null,d&&i?n.createElement(lo,null,n.createElement(rs,null)):n.createElement(lo,{"data-is-displayed":i,"data-category-list-type":r,style:{marginTop:24}},n.createElement(Ts,{className:"marry-bb-menu-categories"},o.map((function(e,t){return n.createElement("div",{key:r+"-category-"+t,className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(p).concat(e.permalink)},n.createElement(As,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var n;"main"===r||0===(null===(n=e.childCates)||void 0===n?void 0:n.length)?null==l||l(e):u===t?(x(!0),setTimeout((function(){g(-1),setTimeout((function(){x(!1)}),100)}),300)):g(t)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===r?n.createElement(Ns,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),n.createElement(wo,null),"main"===r?n.createElement(mo,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):n.createElement(mo,null,u!==t?n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===r&&e.childCates&&u===t&&e.childCates.length>0&&n.createElement(Bs,null,n.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(t,a){return n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(t.permalink),key:r+"-2-"+a},n.createElement(As,{"data-is-heading-category":"sub"===r&&t.childCates&&t.childCates.length>0},n.createElement(zs,null,n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),n.createElement(ol,{type:"subtitle-2"},t.displayName))))})))),n.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,t){return n.createElement("a",{href:"".concat(p).concat(e.permalink),key:t,style:{textDecoration:"none"}},n.createElement("div",{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},n.createElement("p",null,e.displayName)))}))))}))))):n.createElement(_s,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},n.createElement(Ds,null),n.createElement(Fs,{"data-popup-type":s},n.createElement(Ws,{className:"marry-bb-menu-categories"},d?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(rs,null)):o.map((function(e,t){return n.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:r+"-category-"+t,onClick:function(){l(e)}},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:Bn.colors.gray800},href:"".concat(p).concat(e.permalink)},n.createElement(As,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},n.createElement(Ns,{style:{backgroundColor:e.imageColor}},n.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},sc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.discoverApiDomain,r=e.basePath,l=e.categories,s=e.spotlightsList,c=e.type,d=e.onSelectCategory,p=e.onClosePopup,m=e.desktopPopupType,u=e.isMobile,g=e.isLoading,h=e.callApiHandler,f=e.DISCOVER_URL_FE,x=e.MARRY_BABY_FE,v=e.siteType,y=void 0===v?"helloSites":v;return"helloSites"===y?n.createElement(Ss,{locale:i,basePath:r,DISCOVER_URL_FE:f,isDisplayed:a,type:c,onSelectCategory:d,categories:l,spotlightsList:s,isLoading:g,isMobile:u,siteType:y,onClosePopup:p,desktopPopupType:m}):n.createElement(lc,{basePath:r,callApiHandler:h,discoverApiDomain:o,isDisplayed:a,type:c,onSelectCategory:d,categories:l,isLoading:g,isMobile:u,MARRY_BABY_FE:x,desktopPopupType:m})},cc=ua.div(Qs||(Qs=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),dc=ua.div(qs||(qs=xn(["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n\n //margin-top: 112px;\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),pc=ua.div(Ks||(Ks=xn(["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 56px;\n align-items: center;\n justify-content: space-between;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n\n &[data-is-heading-category='true'] {\n border-bottom: none;\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n &[data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),mc=ua.div(Js||(Js=xn([""],[""]))),uc=ua.div(Xs||(Xs=xn([""],[""]))),gc=ua.div($s||($s=xn(["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n\n > :first-child {\n min-width: 40px;\n margin-right: 16px;\n }\n"]))),hc=ua.div(nc||(nc=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),fc=ua.div(ec||(ec=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),xc=ua.div(tc||(tc=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),vc=ua.div(ac||(ac=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),yc=ua.div(ic||(ic=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),bc=ua.div(oc||(oc=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ec=ua.div(rc||(rc=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),wc=function(){return n.createElement(cc,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},kc=function(e){var t=e.isDisplayed,a=e.communities,i=e.type,o=e.onSelectCommunity,r=e.onClosePopup,l=e.isLoading,s=e.basePath,c=e.TOGETHER_URL_FE,d=e.siteType,p=void 0===d?"helloSites":d,m=e.isMobile,u=e.locale,g=e.desktopPopupType,h=lt();return m?n.createElement(n.Fragment,null,l&&t?n.createElement(dc,null,n.createElement(wc,null)):n.createElement(dc,{"data-category-list-type":i,"data-is-displayed":t},"main"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(pc,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},n.createElement(gc,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(mc,null,e.title)),n.createElement(uc,null,"helloSites"===p?n.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))})),"sub"===i&&a.map((function(e,t){return n.createElement("div",{key:i+"-category-"+t},n.createElement("a",{style:{textDecoration:"none",color:Bn.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},n.createElement(pc,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),onClick:function(){o({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},n.createElement(gc,null,n.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),n.createElement(mc,null,e.title)))))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(yc,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(bc,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")})))))):n.createElement(hc,{className:"top-menu-communities",onClick:r,"data-is-display":"communities"===g},n.createElement(fc,null,n.createElement(mn,{style:{padding:"0 16px"},type:p},n.createElement(xc,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,a.map((function(e){return n.createElement(vc,{key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[u],"/").concat(e.communitySlug),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))})),n.createElement("a",{style:{textDecoration:"none"},href:c+"/"},n.createElement(yc,{onClick:r,key:"all-communities","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},h("home.navigator.menuItem.allCommunities"),n.createElement(bc,null,n.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:h("home.navigator.menuItem.allCommunities")}))))),n.createElement(Ec,{onClick:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Cc=ua.div(Nc||(Nc=xn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n //background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),Lc=ua.div(zc||(zc=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),Mc=ua.div(Ac||(Ac=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Sc=ua.div(Bc||(Bc=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),Tc=ua.div(_c||(_c=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Dc||(Dc=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var Nc,zc,Ac,Bc,_c,Dc,Fc,Pc,Hc=ua.div(Fc||(Fc=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(Pc||(Pc=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Ic=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.communities,o=e.onSelectCommunity,r=e.isLoading,l=e.basePath,s=e.type,c=e.isMobile,d=e.onClosePopup,p=e.desktopPopupType,m=e.TOGETHER_URL_FE;return c?r&&a?n.createElement(dc,null,n.createElement(wc,null)):n.createElement(dc,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),key:"community-"+t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},n.createElement(Lc,{onClick:function(){o({community:e,isSetToSubMenu:!1})}},n.createElement(Cc,null,n.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(mc,null,e.title)))}))):n.createElement(Mc,{className:"top-menu-communities",onClick:d,"data-is-display":"communities"===p},n.createElement(Sc,null),n.createElement(Tc,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Hc,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(wc,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:Bn.colors.gray800},href:"".concat(m,"/").concat(e.communitySlug),key:e.title},n.createElement(Lc,{onClick:d},n.createElement(Cc,{style:{backgroundColor:e.color||Bn.mbColors.lightGray}},n.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Rc=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.locale,o=e.communities,r=e.type,l=e.onSelectCommunity,s=e.onClosePopup,c=e.isLoading,d=e.basePath,p=e.TOGETHER_URL_FE,m=e.siteType,u=void 0===m?"helloSites":m,g=e.isMobile,h=e.desktopPopupType,f=e.togetherApiDomain;return"helloSites"===u?n.createElement(kc,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:g,siteType:u,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s}):n.createElement(Ic,{isDisplayed:a,locale:i,TOGETHER_URL_FE:p,basePath:d,type:r,onSelectCommunity:l,communities:o,isLoading:c,isMobile:g,togetherApiDomain:f,desktopPopupType:h,onClosePopup:s})},jc=ua.div(Xc||(Xc=xn(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Uc=ua.div($c||($c=xn(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n .title {\n margin-bottom: 8px;\n margin-top: 24px;\n }\n"]))),Oc=ua.div(nd||(nd=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px;\n background-color: ",";\n font-size: ",";\n border-bottom: 1px solid\n ",";\n\n &[data-is-heading-category='true'] {\n /* border-bottom: none; */\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwBold})),Vc=ua.div(ed||(ed=xn([""],[""]))),Gc=ua.div(td||(td=xn(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Zc=ua.div(ad||(ad=xn(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Yc=ua.div(id||(id=xn(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Wc=ua.div(od||(od=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),Qc=ua.div(rd||(rd=xn(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n &[data-grouped='true'] {\n width: 100%;\n }\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n [data-event-category] > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),qc=ua.div(ld||(ld=xn(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n &[data-event-category] * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Kc=ua.div(sd||(sd=xn(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Jc=ua.div(cd||(cd=xn(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"])));ua.div(dd||(dd=xn(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Xc,$c,nd,ed,td,ad,id,od,rd,ld,sd,cd,dd,pd,md,ud=ua.div(pd||(pd=xn(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),gd=ua.div(md||(md=xn(["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"],["\n position: relative;\n display: flex;\n width: 25%;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n margin-bottom: 24px;\n h1 {\n margin-bottom: 20px;\n }\n"]))),hd=function(){return n.createElement(jc,{style:{marginTop:"16px"}},n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})),n.createElement("div",null,n.createElement(ga,{height:46})))},fd=function(e){var t=e.healthTools,a=e.onSelectHealthTool,i=e.basePath,o=e.isDesktop,r=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,s=e.locale,c=e.isGrouped;return(null==t?void 0:t.length)?o?n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement(Qc,{"data-grouped":c,key:e.title,onClick:r},n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[s]).concat(e.link),style:{textDecoration:"none",color:Bn.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},n.createElement("div",{style:{display:"flex"}},n.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),n.createElement("p",null,e.title)))}))):n.createElement(n.Fragment,null,t.map((function(e,t){return n.createElement("a",{key:"tool-"+t},n.createElement(Oc,{onClick:function(){a(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(ta[s]).concat(e.link)},n.createElement(Gc,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),n.createElement(Vc,null,e.title)))}))):null},xd=function(e){var t,a,i,o,r=e.isDisplayed,l=e.healthTools,s=e.healthToolsByCategory,c=e.onSelectHealthTool,d=e.isLoading,p=e.basePath,m=e.locale,u=e.isMobile,g=e.onClosePopup,h=e.desktopPopupType,f=e.HEALTH_TOOL_URL_FE,x=e.STATIC_PAGES,v=e.siteType,y=lt();return u?n.createElement(n.Fragment,null,d&&r?n.createElement(Uc,null,n.createElement(hd,null)):n.createElement(Uc,{"data-category-list-type":"main","data-is-displayed":r},(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(n.Fragment,{key:"category-health-tool-".concat(t)},n.createElement(Sn,{tag:"h4",fontWeight:"bold",className:"title"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(fd,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}))})):n.createElement(fd,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m}),n.createElement(ud,null,n.createElement("a",{href:"".concat(f).concat((null===(t=x[m])||void 0===t?void 0:t.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},n.createElement(qc,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(a=x[m])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(Kc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))))):n.createElement(Zc,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===h},n.createElement(Yc,null,n.createElement(mn,{style:{padding:"0 16px"}},n.createElement(Wc,{"data-popup-type":h,onClick:function(n){n.stopPropagation()}},n.createElement(n.Fragment,null,(null==s?void 0:s.length)?s.map((function(e,t){var a;return!!(null===(a=e.healthTools)||void 0===a?void 0:a.length)&&n.createElement(gd,{key:"health-tools-categories-".concat(t)},n.createElement(Sn,{tag:"h4",as:"h1",fontWeight:"bold"},n.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),n.createElement(fd,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):n.createElement(fd,{healthTools:l,onSelectHealthTool:c,basePath:p,HEALTH_TOOL_URL_FE:f,locale:m,isDesktop:!0,onClosePopup:g}),n.createElement("a",{style:{textDecoration:"none"},href:"".concat(f).concat((null===(i=x[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},n.createElement(qc,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f).concat((null===(o=x[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},y("home.navigator.menuItem.allHealthTools"),n.createElement(Kc,null,n.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:y("home.navigator.menuItem.allHealthTools")}))))),n.createElement(Jc,{onClick:g},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},vd=ua.div(kd||(kd=xn(["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"],["\n display: flex;\n width: 48px;\n height: 48px;\n align-items: center;\n justify-content: center;\n\n margin-right: 16px;\n\n background-color: ",";\n border-radius: 50%;\n"])),(function(n){return n.theme.mbColors.lightGray})),yd=ua.div(Cd||(Cd=xn(["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"],["\n display: flex;\n width: 100%;\n height: 64px;\n align-items: center;\n justify-content: flex-start;\n padding: 8px 16px;\n background-color: ",";\n font-size: ",";\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fsParagraph4})),bd=ua.div(Ld||(Ld=xn(["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n position: absolute;\n z-index: ",";\n top: 64px;\n\n min-width: 375px;\n align-items: center;\n background-color: transparent;\n &[data-is-display='false'] {\n display: none;\n }\n"])),aa.menuCategoryPopupWrapper),Ed=ua.div(Md||(Md=xn(["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"],["\n position: fixed;\n top: 69px;\n left: 0;\n width: 100vw;\n height: 100vh;\n"]))),wd=ua.div(Sd||(Sd=xn(["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"],["\n z-index: ",";\n\n width: 100%;\n\n max-height: 80vh;\n\n padding: 20px 0;\n\n border: 1px solid ",";\n //align-items: center;\n //display: flex;\n //flex: 1;\n background-color: ",";\n\n border-radius: 16px;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n\n overflow-y: auto;\n"])),aa.menuCategoryPopupContainer,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));ua.div(Td||(Td=xn(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 24px;\n"])));var kd,Cd,Ld,Md,Sd,Td,Nd,zd,Ad=ua.div(Nd||(Nd=xn(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));ua.div(zd||(zd=xn(["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase}));var Bd,_d,Dd=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.onSelectHealthTool,r=e.isLoading,l=e.basePath,s=e.isMobile,c=e.onClosePopup,d=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return s?r&&a?n.createElement(Uc,null,n.createElement(hd,null)):n.createElement(Uc,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":a},i.map((function(e,t){return n.createElement("a",{key:"tool-"+t,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},n.createElement(yd,{onClick:function(){o(e)}},n.createElement(vd,null,n.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),n.createElement(Vc,null,e.title)))}))):n.createElement(bd,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===p},n.createElement(Ed,null),n.createElement(wd,{"data-popup-type":p,onClick:function(n){n.stopPropagation()}},n.createElement(Ad,null,r?n.createElement("div",{style:{width:"100%",padding:"0 20px"}},n.createElement(hd,null)):i.map((function(e,t){return n.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(t," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:Bn.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(d).concat(e.link),key:e.title,onClick:function(n){n.stopPropagation()}},n.createElement(yd,{onClick:c},n.createElement(vd,null,n.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),n.createElement(ol,{style:{fontWeight:Bn.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Fd=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.healthTools,o=e.healthToolsByCategory,r=e.onSelectHealthTool,l=e.isLoading,s=e.basePath,c=e.locale,d=e.isMobile,p=e.onClosePopup,m=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,g=e.siteType,h=e.discoverApiDomain,f=e.STATIC_PAGES;return"helloSites"===g?n.createElement(xd,{isDisplayed:a,locale:c,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:r,healthTools:i,healthToolsByCategory:o,isLoading:l,isMobile:d,siteType:g,desktopPopupType:m,onClosePopup:p,STATIC_PAGES:f}):n.createElement(Dd,{isDisplayed:a,basePath:s,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:r,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:m,onClosePopup:p})},Pd=ua.div(Bd||(Bd=xn(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Hd=ua.div(_d||(_d=xn(["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"],["\n min-height: 116px;\n padding: 8px 8px;\n border: 1px solid ",";\n //border-radius: 6px;\n background-color: ",";\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n text-align: center;\n transition: 0.2s ease-in-out;\n\n &[data-is-active='true'] {\n background-color: ",";\n p {\n color: ",";\n }\n }\n\n & > :last-child {\n margin-top: 8px;\n }\n\n &[data-card-position='left'] {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-card-position='right'] {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n }\n\n &[data-card-position='whatever'] {\n border-radius: 6px;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),Id=function(){return n.createElement(n.Fragment,null,n.createElement(Pd,null,n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109})),n.createElement("div",null,n.createElement(ga,{height:109}))))},Rd=function(e){var t=e.specialty,a=e.id,i=e.isActive,o=void 0!==i&&i,r=e.position,l=e.className,s=e.onClick;return t.name&&""!==t.name?n.createElement(Hd,{onClick:function(){s&&s(a)},className:l,"data-is-active":o,"data-card-position":r},n.createElement("img",{src:t.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),n.createElement(c,{type:"bold",size:"label2"},t.name)):n.createElement(Id,null)};function jd(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ud(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function Od(e){var t=e.siteType,a=e.type;return"helloSites"===t?n.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 12H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 6H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 18H20' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"24px",height:"24px"},alt:a}):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}function Vd(e){var t,a,i=e.type,o=e.isStatic,r=e.isAmp,l=e.isDisplayed,s=e.siteType,d=e.isCollapsed,p=e.sitewideBannerShown,m=e.sitewideBanner,u=e.sitewideBannerClosed,g=e.setSitewideBannerClosed,h=e.isMobile,f=e.onMenuClick,x=e.menu,v=e.isSearchIconDisplayed,y=e.statics,b=y.DISCOVER_URL_FE,E=y.SSO_URL,w=y.HOME_PAGE_URL,k=y.CARE_URL_FE,C=e.basePath,L=e.languageMenu,M=e.enabledExperimentalCareHeader,S=e.onCareHeaderClick,T=e.logoType,N=e.locale,z=e.isInit,A=e.title,B=e.sponsorComponent,_=e.currentUrl,D=e.userInfo,F=e.currentPopupType,P=e.avatar,H=e.profileMenu,I=e.isLoginButtonDisplayed,R=e.goToLogin,j=e.isSearchBarDisplay,U=e.searchPlaceholder,O=e.onSearchValueChanged,V=e.keyPressed,G=lt(),Z=!!B,Y=!!(null===(a=null===(t=null==B?void 0:B.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),W=p&&!!m&&!u,Q=tp({isSiteWide:!!m&&!u,isShowingSiteWideBanner:W,isSponsored:Z,hasSponsoredBanners:Y,isMobile:!0}),q=Q.headerRef,K=Q.headerHeight;return n.createElement(n.Fragment,null,n.createElement(rr,{"data-header-type":i,"data-collapsed":!o&&d,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":l,"data-is-amp":r,"data-sponsored":Z,"data-site-type":s,"data-sitewide-banner-shown":W,id:"site-header",ref:q},m?n.isValidElement(m)?n.cloneElement(m,{isCollapsed:d,setBannerClosed:g,isAmp:r,isMobile:h}):m:null,n.createElement("div",{style:gn(gn({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===s?"center":"flex-start",background:"white"},"marryBaby"===s?{paddingLeft:66}:{}),void 0!==L||M?{paddingLeft:M?48:64,gap:24,justifyContent:"unset"}:{})},n.createElement(lr,null,n.createElement(sr,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},n.createElement("div",{onClick:function(){return null==f?void 0:f("categories")}},"home"===i&&n.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},n.createElement(Od,{siteType:s,type:i})),"popup"===i&&n.createElement(Ud,null),"popup-sub-level"===i&&n.createElement(jd,null)),x),v&&"helloSites"===s&&"home"===i&&n.createElement(sr,{style:{paddingRight:16}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(w,"/search?s=&page=1")},n.createElement("img",{src:"".concat(C,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&n.createElement(yr,{"data-is-profile":!0,className:z?"":"menu-handler-health-tools"},n.createElement("div",{className:"menu-handler-item"},v&&"marryBaby"===s&&"home"===i&&n.createElement(sr,{style:{justifySelf:"flex-end"}},n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(b,"/search?s=&page=1")},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})),n.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),M&&n.createElement(n.Fragment,null,S?n.createElement(Mn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_,onClick:S},G("login.booking")):n.createElement("a",{href:k,className:"care-button"},n.createElement(Mn,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:_},G("login.booking")))),(null==D?void 0:D.id)?n.createElement(fr,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return f&&f("profile")}},"profile"===F?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):P),H):r?n.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":_,href:"".concat(E,"?returnUrl=").concat(_.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===N?n.createElement(Gr,{onClick:R},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin"))):I&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":_},M?n.createElement(Gr,{onClick:R},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):"helloSites"===s?n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:R},G("navigation.loginJoin")):n.createElement("div",{className:"login-btn-mobile",onClick:R,style:{paddingLeft:16}},n.createElement(c,{size:"p3"},G("navigation.loginJoin")))))),("home"===i||"popup"===i)&&n.createElement("a",{href:w||""},n.createElement(pn,{type:T,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===N?n.createElement("img",{src:st,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&n.createElement(vr,{"data-is-active":!0,className:z?"":"menu-handler-language",onClick:function(){f&&f("language")}},L),A&&n.createElement(Sn,{className:"top-bar-header",tag:"h5"},A)),B?n.isValidElement(B)?n.cloneElement(B,{isCollapsed:d,locale:N,isMobile:h,isAmp:r}):B:null),j?n.createElement(cr,{"data-header-type":i,"data-is-displayed":l,"data-sitewide-banner-shown":p&&!!m},n.createElement(dn,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(z?"":"-temp"),size:"md",placeholder:U,onChange:O,onKeyPress:V,type:"search",autoFocus:!1,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):n.createElement(n.Fragment,null,!r&&n.createElement("div",{style:{height:K}})))}var Gd,Zd,Yd,Wd,Qd,qd,Kd,Jd,Xd,$d,np,ep,tp=function(n){var o=n.hasSponsoredBanners,l=n.isSiteWide,s=n.isSponsored,c=n.isShowingSiteWideBanner,d=n.isMobile,p=t(null),m=e(0),u=m[0],g=m[1],h=r($t((function(){var n,e=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);i((function(){return window.addEventListener("resize",h),window.addEventListener("scroll",h),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),i((function(){h()}),[l,c,s,o,p.current]);var f=a((function(){var n=d?64:69;return c&&(n+=64),s&&(n+=40),n}),[d,c,s]);return{headerHeight:u||f,headerRef:p}},ap=function(o){var l,s,c,d=o.siteType,p=o.basePath,m=o.statics,u=o.currentPopupType,g=void 0===u?"none":u,h=o.isDisplayed,f=void 0===h||h,x=o.isSearchBarDisplay,v=void 0===x||x,y=o.searchPlaceholder,b=void 0===y?"":y,E=o.openPopup,w=o.onTopBarAppears,k=o.onSearchChange,C=o.onSearchKeyPress,L=o.menu,M=o.isAmp,S=o.profileMenu,T=o.isMobile,N=void 0!==T&&T,z=o.isLoginButtonDisplayed,A=o.title,B=o.type,_=void 0===B?"home":B,D=o.onMenuClick,F=o.isStatic,P=void 0!==F&&F,H=o.routerAsPath,I=o.locale,R=o.userInfo,j=o.marryBaby,U=(void 0===j?{tone:"white"}:j).tone,O=o.menuItems,V=void 0===O?[]:O,G=o.isInit,Z=o.sitewideBanner,Y=o.sitewideBannerShown,W=void 0===Y||Y,Q=o.sponsorComponent,q=o.languageMenu,K=o.isSearchIconDisplayed,J=void 0!==K&&K,X=o.enabledExperimentalCareHeader,$=o.onCareHeaderClick,nn=m.SSO_URL,en=m.HOME_PAGE_URL,tn=m.CARE_URL_FE,an=lt(),on=!!Q,rn=e(!1),ln=rn[0],sn=rn[1],cn=e(!1),un=cn[0],gn=cn[1],hn=e(!1),fn=hn[0],xn=hn[1],vn=e(G||!1),yn=vn[0],bn=vn[1],En=t(47),wn=t(!1),kn=t(!1),Cn="helloSites"===d?"https://".concat(ta[I]).concat(H):"https://www.marrybaby.vn".concat(H),Ln=a((function(){var e=(null==R?void 0:R.name)||(null==R?void 0:R.username);return n.createElement(Tn,{type:"rounded",size:"small",avatarUrl:null==R?void 0:R.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===d?Bn.mbColors.pink:Bn.colors.secondaryBase,isAmp:M})}),[null==R?void 0:R.username,null==R?void 0:R.name,null==R?void 0:R.avatar]),Sn=function(){var n=window.location.href;window.location.href=nn?"".concat(nn,"?returnUrl=").concat(n):n},Nn="helloSites"===d?null===(l=na[I])||void 0===l?void 0:l.LOGO_TYPE:d,zn="undefined"!=typeof window,An=function(n){null==k||k(n)},_n=r(Xt((function(){var n;if("home"===_){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;zn&&e&&(e.scrollY>En.current&&e.scrollY>64&&!wn.current&&(wn.current=!0,sn(!0)),e.scrollY<En.current&&wn.current&&(wn.current=!1,sn(!1),t&&e.scrollY),e.scrollY<En.current&&t&&e.scrollY,v?(e.scrollY<64&&e.scrollY<En.current&&kn.current&&(kn.current=!1),e.scrollY>8&&e.scrollY>En.current&&!kn.current&&(kn.current=!0)):kn.current=!0,e.scrollY>=0&&(En.current=e.scrollY))}}),300),[]);i((function(){null==w||w(!ln)}),[ln]);var Dn=function(n){var e,t;C&&C(n,null!==(t=null===(e=document.getElementById("search-input-"+_))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};i((function(){N&&_n()}),[]),i((function(){return window.addEventListener("scroll",_n,{passive:!0}),function(){window.removeEventListener("scroll",_n)}}),[]),i((function(){bn(!0)}),[]),i((function(){"undefined"!=typeof window&&xn(Boolean(fn))}),[]);var Fn=n.createElement(n.Fragment,null,V.find((function(n){return"categories"===n.id}))&&n.createElement(vr,{"data-is-active":"categories"===g,className:yn?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==E||E("categories"),setTimeout((function(){var n,e;null===(e=null===(n=document.getElementsByClassName("top-menu-categories"))||void 0===n?void 0:n[0])||void 0===e||e.focus()}),100)}},n.createElement("div",{className:"menu-handler-item"},an("home.navigator.menuItem.discover"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&n.createElement("div",null,L)),V.find((function(n){return"healthTools"===n.id}))&&n.createElement(vr,{"data-is-active":"tools"===g,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("tools")}},an("home.navigator.menuItem.healthTools"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&n.createElement("div",null,L)),V.find((function(n){return"care"===n.id}))&&!X&&n.createElement(vr,{"data-is-active":"care"===g,className:yn?"":"menu-handler-care-specialties",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("care")}},an("home.navigator.menuItem.helloCare"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&n.createElement("div",null,L)),V.find((function(n){return"together"===n.id}))&&n.createElement(vr,{"data-is-active":"communities"===g,className:yn?"":"menu-handler-communities",tabIndex:0},n.createElement("div",{className:"menu-handler-item",onClick:function(){E&&E("communities")}},an("home.navigator.menuItem.helloTogether"),n.createElement(xr,null,n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&n.createElement("div",null,L))),Pn=!!(null===(c=null===(s=null==Q?void 0:Q.props)||void 0===s?void 0:s.sponsoredBy)||void 0===c?void 0:c.length),Hn=W&&!!Z&&!un,In=tp({isSiteWide:!!Z&&!un,isShowingSiteWideBanner:Hn,isSponsored:on,hasSponsoredBanners:Pn}),Rn=In.headerRef,jn=In.headerHeight;return N?n.createElement(Vd,{type:_,isStatic:P,isAmp:M,isDisplayed:f,siteType:d,isCollapsed:ln,sitewideBannerShown:W,sitewideBanner:Z,sitewideBannerClosed:un,setSitewideBannerClosed:gn,isMobile:N,onMenuClick:D,menu:L,isSearchIconDisplayed:J,statics:m,basePath:p,languageMenu:q,enabledExperimentalCareHeader:X,logoType:Nn,locale:I,isInit:yn,title:A,sponsorComponent:Q,currentUrl:Cn,userInfo:R,currentPopupType:g,avatar:Ln,profileMenu:S,isLoginButtonDisplayed:z,goToLogin:Sn,isSearchBarDisplay:v,searchPlaceholder:b,onSearchValueChanged:An,keyPressed:Dn}):n.createElement(n.Fragment,null,n.createElement("div",{style:{height:jn}}),n.createElement(dr,{ref:Rn,"data-site-type":d,"data-marry-baby-tone":"marryBaby"===d&&U,"data-sponsored":on,"data-sitewide-banner-shown":Hn},Z?n.isValidElement(Z)?n.cloneElement(Z,{isCollapsed:ln,setBannerClosed:gn}):Z:null,n.createElement(mn,{style:{height:69,padding:"0 16px"},type:d},n.createElement(pr,null,n.createElement(mr,null,n.createElement("a",{href:en},n.createElement(ur,{"data-is-having-border":"helloSites"===d},n.createElement(pn,{style:{display:"flex"},type:Nn,height:"27px",width:"121px",badge:"id-ID"===I?n.createElement("img",{src:st,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===d&&n.createElement(gr,{"data-header-type":_,"data-is-displayed":f,"data-sitewide-banner-shown":W&&!!Z},n.createElement(dn,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:Bn.colors.white},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:An,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.875 11C4.875 7.61726 7.61726 4.875 11 4.875C14.3827 4.875 17.125 7.61726 17.125 11C17.125 14.3827 14.3827 17.125 11 17.125C7.61726 17.125 4.875 14.3827 4.875 11ZM11 3.125C6.65076 3.125 3.125 6.65076 3.125 11C3.125 15.3492 6.65076 18.875 11 18.875C12.8594 18.875 14.5683 18.2306 15.9155 17.1529L19.3813 20.6187C19.723 20.9604 20.277 20.9604 20.6187 20.6187C20.9604 20.277 20.9604 19.723 20.6187 19.3813L17.1529 15.9155C18.2306 14.5683 18.875 12.8594 18.875 11C18.875 6.65076 15.3492 3.125 11 3.125Z",fill:"#8C8C8C"})))})),"marryBaby"===d&&n.createElement("div",{style:{marginLeft:28,display:"flex"}},Fn)),n.createElement(hr,null,"helloSites"===d&&Fn,v&&"marryBaby"===d&&n.createElement(gr,{"data-header-type":_,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===d,"data-marry-baby-theme":U},n.createElement(dn,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+_+(yn?"":"-temp"),autoFocus:!1,size:"sm",placeholder:b,onChange:An,onKeyPress:Dn,displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.31573 13.7811L3.94855 13.6326L3.31573 13.7811ZM3.31573 8.324L3.94855 8.47244L3.31573 8.324ZM18.7893 8.324L19.4221 8.17556L18.7893 8.324ZM18.7893 13.781L19.4221 13.9295L18.7893 13.781ZM13.781 18.7893L13.6326 18.1565L13.781 18.7893ZM8.324 18.7893L8.17556 19.4221L8.324 18.7893ZM8.324 3.31573L8.17556 2.6829L8.324 3.31573ZM13.781 3.31573L13.9295 2.6829L13.781 3.31573ZM20.5404 21.4596C20.7942 21.7135 21.2058 21.7135 21.4596 21.4596C21.7135 21.2058 21.7135 20.7942 21.4596 20.5404L20.5404 21.4596ZM3.94855 13.6326C3.55048 11.9356 3.55048 10.1695 3.94855 8.47244L2.6829 8.17556C2.23903 10.0679 2.23903 12.0372 2.68291 13.9295L3.94855 13.6326ZM18.1565 8.47244C18.5546 10.1695 18.5546 11.9356 18.1565 13.6326L19.4221 13.9295C19.866 12.0372 19.866 10.0679 19.4221 8.17556L18.1565 8.47244ZM13.6326 18.1565C11.9356 18.5546 10.1695 18.5546 8.47244 18.1565L8.17556 19.4221C10.0679 19.866 12.0372 19.866 13.9295 19.4221L13.6326 18.1565ZM8.47244 3.94855C10.1695 3.55048 11.9356 3.55048 13.6326 3.94855L13.9295 2.6829C12.0372 2.23903 10.0679 2.23903 8.17556 2.6829L8.47244 3.94855ZM8.47244 18.1565C6.22776 17.63 4.47508 15.8773 3.94855 13.6326L2.68291 13.9295C3.32219 16.6549 5.45019 18.7829 8.17556 19.4221L8.47244 18.1565ZM13.9295 19.4221C16.6549 18.7829 18.7829 16.6549 19.4221 13.9295L18.1565 13.6326C17.63 15.8773 15.8773 17.63 13.6326 18.1565L13.9295 19.4221ZM13.6326 3.94855C15.8773 4.47508 17.63 6.22775 18.1565 8.47244L19.4221 8.17556C18.7829 5.45019 16.6549 3.32219 13.9295 2.6829L13.6326 3.94855ZM8.17556 2.6829C5.45019 3.32219 3.32219 5.45018 2.6829 8.17556L3.94855 8.47244C4.47508 6.22775 6.22775 4.47508 8.47244 3.94855L8.17556 2.6829ZM16.8755 17.7948L20.5404 21.4596L21.4596 20.5404L17.7948 16.8755L16.8755 17.7948Z",fill:"#3E3F58"})))})),void 0!==q&&n.createElement(vr,{"data-is-active":!0,className:yn?"":"menu-handler-language",onClick:function(){E&&E("language")}},q),n.createElement(yr,{"data-is-active":"profile"===g,"data-is-profile":!0,className:yn?"":"menu-handler-health-tools",tabIndex:0},n.createElement("div",{className:"menu-handler-item"},X&&n.createElement(n.Fragment,null,$?n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Cn,onClick:$},an("login.booking")):n.createElement("a",{href:tn,className:"care-button no-replace-click"},n.createElement(Mn,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Cn},an("login.booking")))),(null==R?void 0:R.id)?n.createElement(fr,{style:{position:"relative"}},n.createElement("div",{onClick:function(){return E&&E("profile")}},Ln),S):z&&n.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Cn},X?n.createElement(Gr,{onClick:Sn},n.createElement("img",{src:gt,className:"avatar",alt:"avatar"})):"helloSites"===d?n.createElement(Mn,{size:"md",color:"secondary",onClick:Sn},an("navigation.loginJoin")):n.createElement(Mn,{size:"md",color:"secondary",theme:"marryBaby",onClick:Sn},an("navigation.loginJoin")))))))),Q?n.isValidElement(Q)?n.cloneElement(Q,{isCollapsed:ln,locale:I,isMobile:N,isAmp:M}):Q:null))},ip=function(e){var t=e.selectedMenuMainItem,a=e.spotlightsList,i=e.locale,o=e.basePath,r=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,c=e.MARRY_BABY_FE,d=e.onSelectCategory,p=e.isMobile,m=e.siteType,u=e.onCategoryClick,g=lt(),h=t.childCates,f=t.categoryName;return n.createElement(Mo,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(To,null,n.createElement(sc,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:r,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:h||[],spotlightsList:a,type:"sub",onSelectCategory:d,isMobile:p,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),n.createElement(Lo,{"data-site-type":m},n.createElement(Mn,{onClick:u,className:"category-button",size:"md",theme:m},n.createElement(Ao,null,n.createElement("div",null,g("home.menu.category.view",{category:f})),"helloSites"===m?n.createElement("img",{src:qr,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:f})}):n.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},op=function(t){var a=t.selectedMenuMainItem,o=t.onCommunityClick,r=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,c=t.callApiHandler,d=t.togetherApiDomain,p=t.locale,m=t.TOGETHER_URL_FE,u=t.siteType,g=t.isMobile,h=lt(),f=e([]),x=f[0],v=f[1],y=e(!1),b=y[0],E=y[1],w=a.communityId,k=a.title;return i((function(){E(!0),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i;return yn(this,(function(o){switch(o.label){case 0:return[4,c("helloSites"===u?ft(p,d,{communityId:w}):xt(p,d,{communityId:w}),"GET")];case 1:return null!==(n=o.sent())&&(null===(i=null===(a=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.data)||void 0===a?void 0:a.topics)||void 0===i?void 0:i.length)>0&&(e=n.data.data.topics.map(ht),v(e)),E(!1),[2]}}))}))}),[a]),n.createElement(Mo,{"data-type":"sub-level","data-with-search-input":!1},n.createElement(To,null,n.createElement(Rc,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:r,isLoading:b,basePath:s,TOGETHER_URL_FE:m,togetherApiDomain:d,siteType:u,isMobile:g,desktopPopupType:"none",onClosePopup:void 0}),n.createElement(Lo,null,n.createElement(Mn,{onClick:o,className:"category-button",size:"md"},n.createElement(Ao,null,n.createElement("div",null,h("home.menu.category.view",{category:k})),n.createElement("img",{src:qr,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:k})}))))))},rp={categories:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1174 3.67709C12.8717 2.70759 11.1272 2.70787 9.8809 3.67705L14.1174 3.67709ZM14.1174 3.67709L19.717 8.0327C20.5579 8.68619 21.049 9.69161 21.049 10.7561V17.6001C21.049 19.5056 19.5045 21.0501 17.599 21.0501H6.39918C4.49368 21.0501 2.94922 19.5056 2.94922 17.6001V10.7561C2.94922 9.6915 3.44016 8.68619 4.28119 8.0327L9.8809 3.67705M10.679 4.70326L5.07908 9.05903C4.5556 9.46579 4.24922 10.0921 4.24922 10.7561V17.6001C4.24922 18.7876 5.21165 19.7501 6.39918 19.7501H17.599C18.7866 19.7501 19.749 18.7876 19.749 17.6001V10.7561C19.749 10.0921 19.4429 9.46599 18.9194 9.05923L13.3192 4.70322C12.5433 4.09928 11.4561 4.09892 10.679 4.70326Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2363 13.1623C12.5537 12.4791 11.4456 12.4788 10.7619 13.1625C10.0783 13.8461 10.0783 14.9535 10.7619 15.6371C11.4455 16.3207 12.5529 16.3207 13.2365 15.6371C13.9201 14.9535 13.9201 13.8461 13.2365 13.1625L13.2363 13.1623ZM14.1558 12.2433C12.9651 11.0518 11.0338 11.0522 9.84268 12.2433C8.6514 13.4346 8.6514 15.3651 9.84268 16.5563C11.034 17.7476 12.9645 17.7476 14.1558 16.5563C15.347 15.3651 15.347 13.4346 14.1558 12.2433Z",fill:"#3E3F58"})),color:Bn.mbColors.lightPink},healthTools:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7899 3.65C17.1559 3.65 16.6802 4.2267 16.6809 4.79725L16.6809 4.798C16.6809 5.41974 17.104 6.05554 17.7236 6.58451C18.0209 6.83831 18.3337 7.04083 18.5977 7.17695C18.7296 7.245 18.8416 7.29248 18.9268 7.32147C18.9708 7.33646 18.9995 7.34373 19.0149 7.34719C19.0302 7.34373 19.0589 7.33646 19.1029 7.32147C19.1881 7.29248 19.3001 7.245 19.4321 7.17695C19.696 7.04083 20.0088 6.83831 20.3061 6.58451C20.9257 6.05554 21.3489 5.41974 21.3489 4.798C21.3489 4.22619 20.8732 3.65 20.2399 3.65C19.8662 3.65 19.6352 3.81824 19.4969 3.97109C19.3738 4.10711 19.199 4.1848 19.0156 4.185C18.8321 4.1852 18.6572 4.10789 18.5338 3.97214C18.3936 3.81789 18.1622 3.65 17.7899 3.65ZM15.3809 4.79838C15.3797 3.63503 16.318 2.35 17.7899 2.35C18.2971 2.35 18.703 2.4988 19.0145 2.69438C19.3261 2.49862 19.7323 2.35 20.2399 2.35C21.7125 2.35 22.6489 3.63581 22.6489 4.798C22.6489 5.98926 21.875 6.95446 21.1501 7.57324C20.7752 7.89331 20.3789 8.15136 20.028 8.33233C19.8525 8.42282 19.6807 8.49802 19.522 8.55207C19.3755 8.60198 19.1942 8.65 19.0149 8.65C18.8355 8.65 18.6543 8.60198 18.5077 8.55207C18.349 8.49802 18.1772 8.42282 18.0018 8.33233C17.6509 8.15136 17.2545 7.89331 16.8796 7.57324C16.1548 6.95452 15.381 5.98947 15.3809 4.79838ZM15.3809 4.79838C15.3809 4.79825 15.3809 4.79813 15.3809 4.798H16.0309L15.3809 4.79875C15.3809 4.79863 15.3809 4.7985 15.3809 4.79838Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91051 8.78301C4.23607 5.03996 7.79796 2.35 12.0002 2.35C12.3662 2.35 12.7248 2.37267 13.077 2.41455C13.4334 2.45693 13.6881 2.78027 13.6457 3.13674C13.6033 3.49322 13.28 3.74784 12.9235 3.70545C12.6196 3.66932 12.3123 3.65 12.0002 3.65C8.36849 3.65 5.28438 5.97404 4.13594 9.21698C4.0161 9.55538 3.64463 9.73255 3.30624 9.61271C2.96785 9.49287 2.79067 9.12141 2.91051 8.78301Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.07473 7.35106C9.33041 7.35465 9.56024 7.50781 9.66196 7.74242L12.5334 14.3647L13.6702 11.7415C13.7732 11.5038 14.0075 11.35 14.2666 11.35H15.9996C16.3586 11.35 16.6496 11.641 16.6496 12C16.6496 12.359 16.3586 12.65 15.9996 12.65H14.6933L13.13 16.2575C13.027 16.4951 12.7927 16.649 12.5337 16.649C12.2746 16.649 12.0403 16.4952 11.9373 16.2576L9.0434 9.58369L7.78547 12.2752C7.6786 12.5039 7.44902 12.65 7.19661 12.65H2.99961C2.64062 12.65 2.34961 12.359 2.34961 12C2.34961 11.641 2.64062 11.35 2.99961 11.35H6.78291L8.47675 7.72578C8.58502 7.49413 8.81905 7.34747 9.07473 7.35106Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8654 10.3543C21.222 10.313 21.5446 10.5686 21.5859 10.9252C21.6264 11.2747 21.6502 11.6328 21.6502 12C21.6502 17.33 17.3302 21.65 12.0002 21.65C7.79796 21.65 4.23607 18.96 2.91051 15.217C2.79067 14.8786 2.96785 14.5071 3.30624 14.3873C3.64463 14.2674 4.0161 14.4446 4.13594 14.783C5.28438 18.026 8.36849 20.35 12.0002 20.35C16.6122 20.35 20.3502 16.612 20.3502 12C20.3502 11.6892 20.3301 11.3813 20.2945 11.0748C20.2532 10.7182 20.5088 10.3956 20.8654 10.3543Z",fill:"#3E3F58"})),color:Bn.mbColors.lightOrange},together:{icon:n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99961 4.65C7.4256 4.65 6.14961 5.92599 6.14961 7.5C6.14961 9.07401 7.4256 10.35 8.99961 10.35C10.5736 10.35 11.8496 9.07401 11.8496 7.5C11.8496 5.92599 10.5736 4.65 8.99961 4.65ZM4.84961 7.5C4.84961 5.20802 6.70763 3.35 8.99961 3.35C11.2916 3.35 13.1496 5.20802 13.1496 7.5C13.1496 9.79198 11.2916 11.65 8.99961 11.65C6.70763 11.65 4.84961 9.79198 4.84961 7.5ZM6.71218 15.0233L6.53409 15.0517C4.87235 15.3169 3.64961 16.7503 3.64961 18.433C3.64961 18.9395 4.06015 19.35 4.56658 19.35H13.4326C13.9391 19.35 14.3496 18.9395 14.3496 18.433C14.3496 16.7503 13.1269 15.3169 11.4651 15.0517L11.287 15.0233C9.77167 14.7814 8.22754 14.7814 6.71218 15.0233ZM6.5073 13.7395C8.15839 13.476 9.84083 13.476 11.4919 13.7395L11.67 13.768C13.9626 14.1338 15.6496 16.1114 15.6496 18.433C15.6496 19.6574 14.657 20.65 13.4326 20.65H4.56658C3.34218 20.65 2.34961 19.6574 2.34961 18.433C2.34961 16.1114 4.03657 14.1338 6.3292 13.768L6.5073 13.7395Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3496 4C14.3496 3.64101 14.6406 3.35 14.9996 3.35C17.2916 3.35 19.1496 5.20802 19.1496 7.5C19.1496 9.79198 17.2916 11.65 14.9996 11.65C14.6406 11.65 14.3496 11.359 14.3496 11C14.3496 10.641 14.6406 10.35 14.9996 10.35C16.5736 10.35 17.8496 9.07401 17.8496 7.5C17.8496 5.92599 16.5736 4.65 14.9996 4.65C14.6406 4.65 14.3496 4.35898 14.3496 4ZM15.5908 14.3814C15.5908 14.0224 15.8818 13.7314 16.2408 13.7314H17.2089C17.3632 13.7314 17.5175 13.7436 17.67 13.768C19.9626 14.1338 21.6496 16.1114 21.6496 18.433C21.6496 19.6574 20.657 20.65 19.4326 20.65H17.3895C17.0305 20.65 16.7395 20.359 16.7395 20C16.7395 19.641 17.0305 19.35 17.3895 19.35H19.4326C19.9391 19.35 20.3496 18.9395 20.3496 18.433C20.3496 16.7503 19.1269 15.3169 17.4651 15.0517C17.3805 15.0382 17.2947 15.0314 17.2089 15.0314H16.2408C15.8818 15.0314 15.5908 14.7404 15.5908 14.3814Z",fill:"#3E3F58"})),color:Bn.mbColors.lightBlue}},lp=function(e){var t,a,i,o=e.item,r=e.isActive,l=e.isGoingForward,s=e.onServiceClicked;return n.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},n.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},n.createElement("div",{style:gn({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=rp[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=rp[o.id])||void 0===i?void 0:i.icon)),n.createElement(ol,{type:"subtitle-3",color:r&&Bn.mbColors.pink,style:{fontWeight:Bn.sizes.fwSemiBold}},o.name),r&&(l?n.createElement(ir,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):n.createElement(ir,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},sp=function(a){var i=a.menuItems,o=a.activeItem,r=a.onServiceClicked,l=e(0),s=l[0],c=l[1],d=t(!0);return n.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},i.map((function(e,t){return n.createElement(lp,{onServiceClicked:function(n){d.current=s<t,c(t),null==r||r(n)},key:"item"+t,item:e,isGoingForward:d.current,isActive:o.id===e.id})})))},cp=function(t){var a=t.isMobile,o=void 0!==a&&a,r=t.isMobileMenuOpened,l=void 0===r?void 0:r,s=t.categories,c=t.healthTools,d=t.healthToolsByCategory,p=t.careSpecialties,m=t.togetherCommunities,u=t.spotlightsList,g=t.closePopup,h=t.popupType,f=void 0===h?"none":h,x=t.onMobileMenuClick,v=t.footer,y=t.care.CARE_URL_FE,b=t.discover,E=b.discoverApiDomain,w=b.DISCOVER_URL_FE,k=t.together,C=k.togetherApiDomain,L=k.TOGETHER_URL_FE,M=t.sso.SSO_URL,S=t.statics,T=S.MARRY_BABY_FE,N=S.HOME_PAGE_URL,z=S.STATIC_PAGES,A=S.HEALTH_TOOL_URL_FE,B=t.marryBaby.tone,_=t.locale,D=t.siteType,F=t.basePath,P=t.callApiHandler,H=t.activeMenuService,I=t.menuItems,R=t.routerAsPath,j=lt(),U=e(!1),O=U[0],V=U[1],G=e(s),Z=G[0],Y=G[1],W=e(void 0),Q=W[0],q=W[1],K=e(void 0),J=K[0],X=K[1],$=e(!1),nn=$[0],en=$[1],tn=e(null==I?void 0:I.find((function(n){return n.id===H}))),an=tn[0],on=tn[1],rn=e(!1),ln=rn[0],sn=rn[1],cn=e(!1),pn=cn[0],mn=cn[1],un=function(){Q&&(window.location.href=Q.permalink),yn(),g&&g()},gn=function(){Q&&(window.location.href="".concat(L,"/").concat(Q.communitySlug)),yn(),g&&g()},hn=function(n){n.childCates&&n.childCates.length>0?(V(!0),q(n)):(window.location.href="helloSites"===D?w+n.permalink:T+n.permalink,yn(),g&&g())},fn=function(n){var e=n.community;n.isSetToSubMenu?(V(!0),q(e)):(window.location.href="".concat(L,"/").concat(e.communitySlug),yn(),g&&g())},xn=function(n){window.location.href=n.link.startsWith("http")?n.link:A+n.link,yn(),g&&g()},vn=function(n){window.location.href=y+ut({type:"DOCTOR",specialtySlug:n.slug,locale:_}),null==g||g()},yn=function(){q(void 0),V(!1)},bn=function(n){on(I.find((function(e){return e.id===n})))},En=na[_||"en-PH"]||{};return i((function(){var e;X("categories"===an.id?(null===(e=null==Q?void 0:Q.childCates)||void 0===e?void 0:e.length)>0&&n.createElement(ip,{selectedMenuMainItem:Q,spotlightsList:[],locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,onSelectCategory:hn,isMobile:o,siteType:D,onCategoryClick:un}):"together"===an.id&&Q&&n.createElement(op,{selectedMenuMainItem:Q,onCommunityClick:gn,onSelectCommunity:fn,TOGETHER_URL_FE:L,basePath:F,callApiHandler:P,locale:_,togetherApiDomain:C,siteType:D,isMobile:o}))}),[Q,an]),i((function(){sn(!0)}),[]),i((function(){!pn&&l&&mn(!0)}),[l]),i((function(){Y(s)}),[s]),o?n.createElement(n.Fragment,null,n.createElement(ko,{id:ln?"":"categories-menu","data-opened":l||(pn?l:"undefined"),key:ln?"t":"f"},n.createElement(Co,{"data-opened":l,"data-type":"category","data-is-sub-category-opened":O},n.createElement(ap,{siteType:D,locale:_,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==x?void 0:x("categories")},onSearchChange:function(n){en(""!==n),Y(n&&""!==n?s.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):s)},isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,title:"",onTopBarAppears:void 0,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,menuItems:void 0,onSearchKeyPress:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0}),n.createElement(Mo,null,n.createElement(To,null,n.createElement(No,null,n.createElement(zo,{"data-hide-on-search":nn,"data-is-sub-category-opened":O},"helloSites"===D?n.createElement(n.Fragment,null,n.createElement(or,{onClick:function(){window.location.href="".concat(Nn(_),"/search")}},n.createElement(dn,{className:"fake-search-input",name:"search-input-menu-service"+(ln?"":"-temp"),size:"md",placeholder:j("home.search",{site:En?En.SITE_NAME:""}),onChange:function(){},type:"search",autoFocus:!1,onFocus:function(n){n.preventDefault()},value:"",displayIcon:n.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},n.createElement(Zr,null))})),n.createElement(Sn,{tag:"h5",color:Bn.colors.gray800},j("menu.categories.title")),n.createElement(So,{"data-card-array-no-margin-style":!0},I.map((function(e,t){return n.createElement(Rd,{onClick:bn,key:"service-"+t,specialty:e,id:e.id,isActive:e.id===an.id,isMobile:o,position:0===t?"left":t===I.length-1?"right":"center"})})))):n.createElement(sp,{menuItems:I,activeItem:an,onServiceClicked:bn})),n.createElement(sc,{isDisplayed:"categories"===an.id,locale:_,basePath:F,callApiHandler:P,onClosePopup:g,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",onSelectCategory:hn,categories:Z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:D,desktopPopupType:f}),n.createElement(Fd,{isDisplayed:"healthTools"===an.id,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,onSelectHealthTool:xn,onClosePopup:g,desktopPopupType:f,healthTools:c,healthToolsByCategory:d,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),"care"===an.id&&n.createElement(os,{locale:_,basePath:F,onSelectCareSpecialty:vn,onClosePopup:g,careSpecialties:p,isLoading:!1,siteType:D,isMobile:o,desktopPopupType:f,CARE_URL_FE:y}),n.createElement(Rc,{isDisplayed:"together"===an.id,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,onClosePopup:g,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f})),v)))),O&&n.createElement(ko,{"data-sub-level-opened":O||(pn?O:"undefined")},n.createElement(Co,{"data-type":"sub-category","data-is-sub-category-opened":O},n.createElement(ap,{siteType:D,locale:_,isDisplayed:l&&O,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:w,SSO_URL:M,HOME_PAGE_URL:N,MARRY_BABY_FE:T,CARE_URL_FE:y},isMobile:o,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===an.id?null==Q?void 0:Q.categoryName:null==Q?void 0:Q.title,isSearchBarDisplay:!1,basePath:F,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:R,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:yn,onSearchChange:void 0}),J))):n.createElement(n.Fragment,null,n.createElement(sc,{isDisplayed:"categories"===f,locale:_,basePath:F,callApiHandler:P,discoverApiDomain:E,DISCOVER_URL_FE:w,MARRY_BABY_FE:T,type:"main",desktopPopupType:f,onSelectCategory:hn,onClosePopup:g,categories:Z,spotlightsList:u,isLoading:!1,isMobile:o,siteType:D}),n.createElement(Fd,{isDisplayed:"tools"===f,locale:_,basePath:F,discoverApiDomain:E,HEALTH_TOOL_URL_FE:A,desktopPopupType:f,onSelectHealthTool:xn,onClosePopup:g,healthToolsByCategory:d,healthTools:c,isLoading:!1,isMobile:o,siteType:D,STATIC_PAGES:z}),n.createElement(Rc,{isDisplayed:"communities"===f,locale:_,TOGETHER_URL_FE:L,basePath:F,type:"main",onSelectCommunity:fn,communities:m,isLoading:!1,isMobile:o,siteType:D,togetherApiDomain:C,desktopPopupType:f,onClosePopup:g}),"care"===f&&n.createElement(os,{locale:_,basePath:F,onSelectCareSpecialty:vn,careSpecialties:p,isLoading:!1,desktopPopupType:f,siteType:D,isMobile:o,CARE_URL_FE:y,onClosePopup:g}))},dp=ua.div(Gd||(Gd=xn(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.gray600}),wn.mbDown,wn.mbUp),pp=ua.div(Zd||(Zd=xn(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),wn.mbDown,wn.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),mp=function(e){var t=e.callPostLogOutApi,a=e.openLogoutPopup,o=e.onCloseHandler,r=e.onLogoutHandler,l=e.basePath,s=e.siteType,c=void 0===s?"helloSites":s,d=lt();i((function(){document.body.classList.toggle("noscroll",a)}),[a]);return n.createElement(zn,{type:"confirm",isOpen:a,closeIcon:n.createElement("img",{src:Kr,style:{width:24,height:24},alt:"close-icon"}),onClose:o},n.createElement(dp,null,"helloSites"===c&&n.createElement("img",{className:"cancle-img",src:"".concat(l,"/images/arrowDoor.svg"),alt:"close-account"}),n.createElement("h2",null,d("helloSites"===c?"logout.popup.ask1":"logout.popup.ask.mb")),n.createElement("p",null,d("logout.popup.ask2")),n.createElement(pp,{siteType:c},n.createElement(Mn,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){vn(void 0,void 0,void 0,(function(){return yn(this,(function(n){switch(n.label){case 0:return[4,null==t?void 0:t()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},d("logout.popup.button.logout")),n.createElement(Mn,{className:"cancel-button",color:"primary",size:"lg",onClick:o},d("logout.popup.button.cancel")))))},up=ua.div(Yd||(Yd=xn(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px\n ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n top: 64px;\n width: 100%;\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),wn.mbDown,wn.mbUp,wn.mbDown,wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.gray200}),wn.mbDown,wn.mbUp),gp=ua.div(Wd||(Wd=xn(["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),wn.mbUp,wn.mbDown),hp=function(e){var t=e.type,a=void 0===t?"lead":t,i=e.closeIcon,o=e.isOpen,r=void 0===o||o,l=e.onClose,s=e.children,c=e.enableAnimation,d=void 0===c||c,p=e.targetAvatar,m=e.id,u=e.className;return n.createElement(n.Fragment,null,n.createElement(up,{"data-open":r,"data-type":a,"data-animation":d,"data-target":p,id:m,className:u},n.createElement("div",{className:"popup-content"},!!i&&n.createElement("div",{className:"close-button",onClick:l},i),s)),n.createElement(gp,{"data-type":a,"data-open":r,onClick:l,id:m?"wrapper-".concat(m):void 0,className:"".concat(u||"","-wrapper")}))},fp=function(e){var t=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,r=e.targetAvatar,l=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,c=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,d=e.closePopup,p=e.siteType,m=void 0===p?"helloSites":p,u=e.dispatchLogout,g=e.userProfileRouterPush,h=e.isUserProfileNavigatorMenuHidden,f=e.isMyHealthEnabled,x=void 0!==f&&f,v=e.togetherApiDomain,y=function(n){g?g("/".concat(n)):t&&(window.location.href="".concat(t).concat(a,"/").concat(n))},b=function(n){y(n),d()};return n.createElement(hp,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:r,onClose:d},n.createElement(ha,{locale:o},n.createElement(vt,{SSO_URL:t,UP_BASEPATH:a,themeName:m,userInfo:l,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){u&&(u(),d())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:function(){y("profile"),d()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v})))},xp=ua.div(Qd||(Qd=xn(["\n position: relative;\n"],["\n position: relative;\n"]))),vp=ua.div(qd||(qd=xn([""],[""]))),yp=ua.div(Kd||(Kd=xn(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),bp=ua.div(Jd||(Jd=xn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),Ep=ua.div(Xd||(Xd=xn(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),wp=function(t){var a=t.options,i=t.label,o=t.selected,r=t.onChange,l=t.showSelected,s=void 0===l||l,d=t.style,p=void 0===d?{}:d,m=t.showIndicator,u=void 0===m||m,g=e(!1),h=g[0],f=g[1];return n.createElement(n.Fragment,null,n.createElement(xp,null,n.createElement(vp,{onClick:function(){return f((function(n){return!n}))}},!!i&&i),n.createElement(yp,{"data-is-open":h,style:p,"data-show-indicator":u},a.map((function(e,t){return n.createElement(bp,{key:t,"data-selected":s&&o===e.value,onClick:function(n){o!==e.value&&(r(e.value),f((function(n){return!n}))),n.stopPropagation()}},n.createElement(c,{size:"p3"},e.label),s&&o===e.value&&n.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),h&&n.createElement(Ep,{onClick:function(){return f(!1)}}))},kp=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},Cp=function(o){var r,l=o.siteType,s=o.MetaPageTitle,c=o.MetaPageDescription,d=o.MetaPageImage,p=o.footerInfo,m=o.children,u=o.ssrMenuContent,g=void 0===u?{}:u,h=g.categories,f=void 0===h?[]:h,x=g.healthTools,v=void 0===x?[]:x,y=g.healthToolsByCategory,b=void 0===y?[]:y,E=g.careSpecialties,w=void 0===E?[]:E,k=g.togetherCommunities,C=void 0===k?[]:k,L=g.spotlightsList,M=void 0===L?[]:L,S=o.SEOData,T=void 0===S?{}:S,N=o.UP_BASEPATH,z=void 0===N?ra.SSO_USER_PROFILE:N,A=o.isStatic,B=void 0!==A&&A,_=o.seoType,D=void 0===_?"website":_,F=o.isMobile,P=o.isMyHealthEnabled,H=void 0!==P&&P,I=o.logoutHandlers,R=I.isLogoutPopupOpened,j=I.callPostLogOutApi,U=I.onClosePopup,O=I.onLogout,V=o.marryBaby,G=void 0===V?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:V,Z=G.tone,Y=void 0===Z?"white":Z,W=G.marryBabyApiDomain,Q=G.socialLinks,q=void 0===Q?{}:Q,K=q.facebookLink,J=void 0===K?"":K,X=q.instagramLink,$=void 0===X?"":X,nn=q.linkedinLink,en=void 0===nn?"":nn,tn=q.twitterLink,an=void 0===tn?"":tn,on=q.youtubeLink,rn=void 0===on?"":on,ln=q.zaloLink,sn=void 0===ln?"":ln,cn=o.statics,dn=void 0===cn?{LOCALE_SPECS:na,STATIC_PAGES:la}:cn,pn=dn.DISCOVER_URL_FE,mn=dn.TOGETHER_URL_FE,un=dn.MARRY_BABY_FE,hn=dn.HOME_PAGE_URL,fn=dn.HEALTH_TOOL_URL_FE,xn=dn.CARE_URL_FE,bn=dn.LOCALE_SPECS,En=void 0===bn?na:bn,wn=dn.STATIC_PAGES,kn=void 0===wn?la:wn,Cn=o.sso,Ln=void 0===Cn?{}:Cn,Mn=Ln.dispatchLogout,Sn=Ln.SSO_URL,Tn=o.together,Nn=void 0===Tn?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Tn,zn=Nn.TOGETHER_MENU_COUNTRIES_ENABLED,An=Nn.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,Bn=Nn.togetherApiDomain,_n=o.care,Dn=void 0===_n?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:_n,Fn=Dn.CARE_MENU_COUNTRIES_ENABLED,Pn=Dn.ENABLE_CARE_PROFILE_MENU_LOCALES,Hn=Dn.careApiDomain,In=o.discover,Rn=(void 0===In?{discoverApiDomain:""}:In).discoverApiDomain,jn=o.activeMenuService,Un=void 0===jn?"categories":jn,On=o.basePath,Vn=o.isAmp,Gn=void 0!==Vn&&Vn,Zn=o.nextHead,Yn=o.routerPathname,Wn=o.routerQuery,Qn=o.routerAsPath,qn=o.locale,Kn=o.userState,Jn=o.callApiHandler,Xn=o.userProfileRouterPush,$n=o.onTopBarAppears,ne=o.forcedCanonicalUrl,ee=o.isUserProfileNavigatorMenuHidden,te=o.sitewideBanner,ae=o.sitewideBannerShown,ie=void 0===ae||ae,oe=o.sponsorComponent,re=o.languageOptions,le=o.isSearchBarDisplay,se=o.ampSubBar,ce=o.isSearchIconDisplayed,de=void 0===ce||ce,pe=o.enabledExperimentalCareHeader,me=void 0!==pe&&pe,ue=o.onCareHeaderClick,ge=o.dueDatePopup,he=o.welcomePopup,fe=o.ampNextArticle,xe=o.usingDefaultHead,ve=void 0===xe||xe,ye=o.acceptCookiePopup,be=o.seoCustom,Ee=o.hasStickyBottomBar,we=void 0===Ee||Ee,ke="boolean"==typeof le?le:!F,Ce=lt(),Le=En[qn||"en-PH"]||{},Me=a((function(){var n;return(null===(n=Qn.split("?"))||void 0===n?void 0:n[0])||""}),[Qn]),Se=a((function(){return"".concat(On).concat("/"===Me.slice(-1)?Me:"".concat(Me,"/"))}),[Me]),Te=a((function(){return(null==re?void 0:re.find((function(n){return n.value!==Se})))||null}),[re,Se]),Ne=e(p),ze=Ne[0],Ae=Ne[1],Be=e(f),_e=Be[0],De=Be[1],Fe=e(v),Pe=Fe[0],He=Fe[1],Ie=e(b),Re=Ie[0],je=Ie[1],Ue=e(w),Oe=Ue[0],Ve=Ue[1],Ge=e(C),Ze=Ge[0],Ye=Ge[1],We=e(M),Qe=We[0],qe=We[1],Ke=pn||"https://".concat(ta[qn])||"",Je="undefined"!=typeof window,Xe=Je&&document.querySelector("#categories-menu"),$e=Xe&&Je&&window.getComputedStyle(Xe),nt=$e&&$e.getPropertyValue("left"),et=t("0px"===nt),tt=e(et.current),at=tt[0],it=tt[1],ot=kp(".top-menu-categories"),rt=kp(".top-menu-health-tools"),st=kp(".top-menu-communities"),ut=kp(".top-menu-care-specialties"),gt=e(ot&&"none"!==ot?"categories":rt&&"none"!==rt?"tools":st&&"none"!==st?"communities":ut&&"none"!==ut?"care":"none"),ht=gt[0],ft=gt[1],xt=a((function(){var e,t;return n.createElement(Vl,null,null===(t=null===(e=qn.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase(),n.createElement("img",{src:"language"===ht?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:Ce("home.navigator.menuItem.language")}))}),[ht,qn]),vt=Kn.userInfo,Dt=Kn.isLoggedIn,Ft=function(n){ht!==n&&(ft(n),it(!0)),ht===n&&(ft("none"),it(!1))},Pt=function(){it(!1),ft("none")},Ht=function(n,e){"Enter"===n.key&&(window.location.href="".concat(hn,"/search/?s=").concat(e))},It=null===(r=null==En?void 0:En[qn])||void 0===r?void 0:r.SITE_NAME_FORMATTED,Rt=[{name:Ce("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:ct,isDisplayed:!0},{name:Ce("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:dt,isDisplayed:!0}];(null==zn?void 0:zn.includes(qn))&&Rt.push({name:Ce("home.navigator.menuItem.helloTogether"),id:"together",link:mn+"/",thumbnail:pt,isDisplayed:!0}),(null==Fn?void 0:Fn.includes(qn))&&Rt.push({name:Ce("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:mt,isDisplayed:!0}),i((function(){document.documentElement.style.overflow=at?"hidden":""}),[at]);var jt=!!oe;i((function(){Dt&&("first_login"===(null==Wn?void 0:Wn.source)?(null==vt?void 0:vt.email)&&""!==(null==vt?void 0:vt.email)?window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,email:null==vt?void 0:vt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,sign_up:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:(null==vt?void 0:vt.email)&&""!==(null==vt?void 0:vt.email)?window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,email:null==vt?void 0:vt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}:window.insider_object={user:gn({uuid:null==vt?void 0:vt.id,log_in:!0},(null==vt?void 0:vt.name)?{name:null==vt?void 0:vt.name}:{})}),vn(void 0,void 0,void 0,(function(){var n,e;return yn(this,(function(t){switch(t.label){case 0:return ze?[3,3]:[4,fetch("helloSites"===l?yt(qn,Rn):bt(qn,W))];case 1:return[4,t.sent().json()];case 2:return e=t.sent(),[3,4];case 3:e=null,t.label=4;case 4:return(n=e)&&1===n.status&&n.data&&!ze&&Ae("helloSites"===l?n.data||{}:n.data.footers||[]),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o;return yn(this,(function(r){switch(r.label){case 0:return f&&0!==(null==f?void 0:f.length)||0!==(null==_e?void 0:_e.length)?[3,3]:(i={},[4,fetch(wt(qn,Rn))]);case 1:return[4,r.sent().json()];case 2:return i.response=r.sent(),t=i,[3,4];case 3:t={},r.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(o=e.data)||void 0===o?void 0:o.length)>0&&(a=e.data.map(Et),0===_e.length&&De(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return yn(this,(function(d){switch(d.label){case 0:return M&&0!==(null==M?void 0:M.length)||"helloSites"!==l||0!==(null==Qe?void 0:Qe.length)?[3,3]:(i={},[4,fetch(Lt(qn,Rn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(r=null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.articles)||void 0===r?void 0:r.length)>0&&(a=null===(c=null===(s=e.data)||void 0===s?void 0:s.articles)||void 0===c?void 0:c.map(kt).filter(Ct).slice(0,4),0===Qe.length&&qe(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return yn(this,(function(s){switch(s.label){case 0:return(null==v?void 0:v.length)||(null==Pe?void 0:Pe.length)||(null==b?void 0:b.length)||(null==b?void 0:b.length)?[3,6]:(o={},"helloSites"!==l?[3,2]:[4,fetch(Nt(qn,Rn))]);case 1:return a=s.sent(),[3,4];case 2:return[4,fetch(Tt(qn,W))];case 3:a=s.sent(),s.label=4;case 4:return[4,a.json()];case 5:return o.response=s.sent(),t=o,[3,7];case 6:t={},s.label=7;case 7:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(r=e.data)||void 0===r?void 0:r.length)>0&&("helloSites"===l?(i=e.data.map(Mt),0===Pe.length&&je(i)):(i=e.data.map(St),0===Pe.length&&He(i))),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r;return yn(this,(function(l){switch(l.label){case 0:return w&&0!==(null==w?void 0:w.length)||!Fn.includes(qn)||0!==(null==Oe?void 0:Oe.length)?[3,3]:(i={},[4,fetch(zt(qn,Hn))]);case 1:return[4,l.sent().json()];case 2:return i.response=l.sent(),t=i,[3,4];case 3:t={},l.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(o=e._data)||void 0===o?void 0:o.specialties)||void 0===r?void 0:r.length)>0&&(a=e._data.specialties,0===Oe.length&&Ve(a)),[2]}}))})),vn(void 0,void 0,void 0,(function(){var n,e,t,a,i,o,r,s,c;return yn(this,(function(d){switch(d.label){case 0:return C&&0!==(null==C?void 0:C.length)||!zn.includes(qn)||0!==(null==Ze?void 0:Ze.length)?[3,3]:(i={},[4,fetch("helloSites"===l?Bt(qn,Bn):_t(qn,Bn))]);case 1:return[4,d.sent().json()];case 2:return i.response=d.sent(),t=i,[3,4];case 3:t={},d.label=4;case 4:return n=t.response,(null===(r=null===(o=null==(e=void 0===n?{}:n)?void 0:e.data)||void 0===o?void 0:o.communities)||void 0===r?void 0:r.length)>0&&(a=(null===(c=null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.map(At))||[],0===Ze.length&&Ye(a)),[2]}}))}))}),[]);var Ut=n.createElement(fp,{locale:qn,UP_BASEPATH:z,SSO_URL:Sn,userProfileRouterPush:Xn,dispatchLogout:Mn,isOpen:"profile"===ht,isMyHealthEnabled:H,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,closePopup:Pt,userInfo:vt,siteType:l,isUserProfileNavigatorMenuHidden:ee,togetherApiDomain:Bn}),Ot=Gn&&{"next-page-hide":""};return n.createElement(Zl,{SEOData:gn({SEOTitle:s,SEOImage:d,SEODescription:c,siteName:It,seoType:D},T),isAmp:Gn,locale:qn,routerPathname:Yn,routerQuery:Wn,nextHead:Zn,siteType:l,forcedCanonicalUrl:ne,userId:null==vt?void 0:vt.id,usingDefaultHead:ve,seoCustom:be},n.createElement(mp,{basePath:On,callPostLogOutApi:j,openLogoutPopup:R,onCloseHandler:U,onLogoutHandler:O,siteType:l}),ge,he,ye,F?n.createElement(n.Fragment,null,n.createElement(jl,null,n.createElement("section",gn({className:Gn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ot),n.createElement(ap,{siteType:l,statics:{DISCOVER_URL_FE:Ke,SSO_URL:Sn,HOME_PAGE_URL:hn,MARRY_BABY_FE:un,CARE_URL_FE:xn},marryBaby:{tone:Y},menuItems:Rt,menu:Gn?void 0:n.createElement(cp,{key:"mobile-menu-popup",menuItems:Rt,siteType:l,isMobileMenuOpened:"categories"===ht,categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Oe,togetherCommunities:Ze,spotlightsList:Qe,onMobileMenuClick:Ft,isMobile:F,closePopup:Pt,footer:n.createElement(Rl,{locale:qn,isMobile:F,basePath:On,isAmp:Gn,footerInfo:ze,type:"mini",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}}),locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn||W,TOGETHER_URL_FE:mn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,careApiDomain:Hn,CARE_URL_FE:xn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:Ke},activeMenuService:Un,statics:{DISCOVER_URL_FE:Ke,HOME_PAGE_URL:hn,HEALTH_TOOL_URL_FE:fn,MARRY_BABY_FE:un,TOGETHER_URL_FE:mn,STATIC_PAGES:kn},marryBaby:{tone:Y},routerAsPath:Qn,popupType:"none",sso:{SSO_URL:Sn}}),profileMenu:Ut,type:"home",currentPopupType:ht,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Ft,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){$n&&$n(n)},isSearchBarDisplay:ke,onSearchKeyPress:Ht,isStatic:Gn||B,sponsorComponent:oe,locale:qn,userInfo:Kn.userInfo,basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:Qn,title:"",sitewideBanner:te,sitewideBannerShown:ie,isSearchIconDisplayed:de,enabledExperimentalCareHeader:me,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(Gl,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(wp,{options:re,selected:Se,label:xt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==se&&n.createElement(n.Fragment,null,se)),Gn?n.createElement(Ol,{className:"root-container","data-menu-opened":et.current,"data-sponsored":jt,"data-is-mobile":F,"data-sitewide":!!te},m,n.createElement(Rl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})):n.createElement(Ul,{className:"root-container","data-menu-opened":et.current,"data-sponsored":jt,"data-is-mobile":F,"data-sitewide":!!te,hasStickyBottomBar:we},n.createElement(n.Fragment,null,m,n.createElement(Rl,{isAmp:Gn,isMobile:F,locale:qn,basePath:On,footerInfo:ze,type:"main",siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn},ampNextArticle:fe,routerQuery:Wn})))),Gn&&n.createElement(Qr,{locale:qn,categoriesSSR:f,healthToolsSSR:b,spotlightsSSR:M,serviceUrls:{TOGETHER_URL_FE:mn,CARE_URL_FE:xn,DISCOVER_URL_FE:Ke},together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:An,togetherApiDomain:Bn},care:{CARE_MENU_COUNTRIES_ENABLED:Fn,ENABLE_CARE_PROFILE_MENU_LOCALES:Pn,careApiDomain:Hn},basePath:On,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"})})):n.createElement(n.Fragment,null,n.createElement(ap,{siteType:l,menuItems:Rt,marryBaby:{tone:Y},locale:qn,currentPopupType:ht,onSearchKeyPress:Ht,openPopup:function(n){ht!==n&&ft(n),ht===n&&ft("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!Gn&&ke,searchPlaceholder:Ce("home.search",{site:"helloSites"===l?null==Le?void 0:Le.SITE_NAME:"Marry Baby"}),sitewideBannerShown:ie,statics:{DISCOVER_URL_FE:Ke,SSO_URL:Sn,HOME_PAGE_URL:hn,MARRY_BABY_FE:un,CARE_URL_FE:xn},menu:n.createElement(cp,{menuItems:Rt,siteType:l,isMobile:F,popupType:ht,closePopup:function(){ft("none")},categories:_e,healthTools:Pe,healthToolsByCategory:Re,careSpecialties:Oe,togetherCommunities:Ze,spotlightsList:Qe,locale:qn,callApiHandler:Jn,basePath:On,together:{TOGETHER_MENU_COUNTRIES_ENABLED:zn,togetherApiDomain:Bn,TOGETHER_URL_FE:mn},care:{careApiDomain:Hn,CARE_MENU_COUNTRIES_ENABLED:Fn,CARE_URL_FE:xn},discover:{discoverApiDomain:Rn,DISCOVER_URL_FE:Ke},statics:{DISCOVER_URL_FE:Ke,HOME_PAGE_URL:hn,HEALTH_TOOL_URL_FE:fn,MARRY_BABY_FE:un,TOGETHER_URL_FE:mn,STATIC_PAGES:kn},activeMenuService:Un,marryBaby:{tone:Y},routerAsPath:Qn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Sn},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:Kn.userInfo,sponsorComponent:oe,type:"home",basePath:On,isAmp:Gn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:Qn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:te,languageMenu:void 0!==re&&re.length>1?n.createElement(n.Fragment,null,2===re.length&&Te?n.createElement(Gl,{"data-is-active":!0,href:(null==Te?void 0:Te.value)||"#"},null==Te?void 0:Te.label):n.createElement(wp,{options:re,selected:Se,label:xt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:me,onCareHeaderClick:ue}),Gn?n.createElement(Ol,{className:"root-container","data-menu-opened":at,"data-is-mobile":F,"data-sponsored":jt,"data-sitewide":!!te},m):n.createElement(Ul,{className:"root-container","data-menu-opened":at,"data-is-mobile":F,"data-sponsored":jt,"data-sitewide":!!te,hasStickyBottomBar:we},m),n.createElement(Rl,{type:"main",locale:qn,basePath:On,isMobile:F,isAmp:Gn,footerInfo:ze,siteType:l,marryBabySocialLinks:{facebookLink:J,instagramLink:$,linkedinLink:en,twitterLink:an,youtubeLink:rn,zaloLink:sn}})))},Lp=function(e){return n.createElement(Dt.Provider,{value:{translation:e.translation||Ft}},n.createElement(Cp,gn({},e)))},Mp=ua.div($d||($d=xn(["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"],["\n position: relative;\n display: flex;\n overflow: hidden;\n align-items: center;\n justify-content: center;\n background-position: center;\n background-size: cover;\n transition: height 0.3s;\n background-color: ",";\n\n &[data-is-marrybaby='true'] {\n background-color: ",";\n }\n\n &[data-is-mobile='true'] {\n &[data-is-marrybaby='false'] {\n justify-content: flex-start;\n }\n }\n &[data-is-mobile='false'] {\n justify-content: center;\n }\n\n &[data-is-collapse='false'] {\n height: 64px;\n &[data-is-marrybaby='true'] {\n &[data-is-mobile='true'] {\n height: 120px;\n }\n }\n }\n &[data-is-collapse='true'] {\n height: 0;\n }\n\n .amp-close-banner * {\n pointer-events: none;\n }\n\n .content {\n display: -webkit-box;\n overflow: hidden;\n padding-right: 48px;\n -webkit-box-orient: vertical;\n color: white;\n font-size: 16px;\n font-weight: 600;\n -webkit-line-clamp: 2;\n line-height: 24px;\n text-overflow: ellipsis;\n a {\n color: white;\n }\n &[data-is-mobile='true'] {\n font-size: 14px;\n }\n }\n"])),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.cobalt})),Sp=ua.div(np||(np=xn(["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"],["\n max-width: 100px;\n margin-right: 16px;\n height: 100%;\n img {\n width: 64px;\n height: 64px;\n object-fit: contain;\n }\n &[data-is-marrybaby='true'] {\n height: unset;\n max-height: 100%;\n }\n &[data-is-mobile='true'] {\n img {\n width: 52px;\n height: 52px;\n }\n }\n"]))),Tp=ua.div(ep||(ep=xn(["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"],["\n position: absolute;\n right: 20px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n &[data-is-marrybaby='true'] {\n background-color: ",";\n border-radius: 50%;\n top: 12px;\n right: 32px;\n padding: 10px;\n height: 40px;\n width: 40px;\n .close-icon {\n width: 20px;\n height: 20px;\n }\n &[data-is-mobile='true'] {\n position: absolute;\n top: 8px;\n right: 8px;\n padding: 8px;\n height: 32px;\n width: 32px;\n .close-icon {\n width: 100%;\n height: 100%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white})),Np=function(a){var o=a.icon,r=a.content,l=a.isCollapsed,s=a.isMobile,c=a.type,d=a.onClose,p=a.setBannerClosed,m=a.dispatch,u=a.dispatchActionType,g=a.cookieName,h=a._overrideCloseHandler,f=a.isAmp,x=a.siteType,v=a.dataEventCategory,y=void 0===v?"Header Banner":v,b=a.dataEventAction,E=void 0===b?"Close Click":b,w=a.dataEventLabel,k=void 0===w?"":w,C=a.dataTracking,L=void 0===C?"true":C,M=e(!1),S=M[0],T=M[1],N=e(!1),z=N[0],A=N[1],B=r;f&&(B=B.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(y,'"'),'data-vars-event-category="'.concat(y,'" data-vars-tracking="').concat(L,'"')));var _=t(64);i((function(){var n=Xt((function(){window.scrollY<_.current?A(!1):window.scrollY>64&&A(!0),_.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===x,F=D?Kr:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";return i((function(){p&&p(S||l||z)}),[p,S,l,z]),n.createElement(Mp,{"data-is-mobile":s,"data-is-collapse":S||l||z,"data-is-marrybaby":D},o?n.createElement(Sp,{"data-is-marrybaby":D},f?n.createElement("amp-img",{src:o,width:"76",height:"52"}):n.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,r?n.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:B}}):null,n.createElement(Tp,gn({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":y,"data-vars-event-action":E,"data-vars-event-label":k||"","data-vars-tracking":L||"",className:"amp-close-banner",onClick:function(){T(!0),h?h():(d&&d(),g&&un(g,"true"),c&&m&&m({type:u,payload:{type:c}}))},"data-is-mobile":s}),f?n.createElement("amp-img",{src:F,width:"24",height:"24"}):n.createElement("img",{src:F,className:"close-icon"})))};ua.div(zp||(zp=xn(["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0.5rem 0;\n\n &[data-type-mobile='true'] {\n justify-content: space-between;\n }\n\n amp-img img {\n object-fit: contain;\n object-position: right;\n }\n"])));var zp,Ap,Bp,_p,Dp,Fp=ua.div(Ap||(Ap=xn(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: center;\n padding: 8px 0;\n border-top: 1px solid #e4e8ec;\n background-color: ",";\n cursor: pointer;\n text-decoration: none;\n\n &[data-align-left='true'] {\n justify-content: start;\n }\n .sticky-sponsored-info-icon {\n display: inline;\n }\n\n .sponsored-logo {\n width: auto;\n height: 24px;\n vertical-align: middle;\n }\n\n "," {\n height: 44px;\n }\n\n &[data-show-popup='true'] {\n .sticky-sponsored-info-icon {\n position: relative;\n &:before {\n position: absolute;\n z-index: 9;\n top: 100%;\n left: 9px;\n border-right: 6px transparent solid;\n border-bottom: 8px white solid;\n border-left: 6px transparent solid;\n content: ' ';\n transform: translateX(calc(-50% + 3px));\n }\n }\n }\n\n &.open .amp-sponsored-popup {\n display: block;\n }\n\n &[data-is-amp] {\n margin-top: -10px;\n > [class*='Container'] {\n display: flex;\n align-items: center;\n }\n }\n"])),(function(n){return n.theme.colors.neutral50}),wn.mbUp),Pp=ua.div(Bp||(Bp=xn(["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"],["\n position: absolute;\n top: 30px;\n left: 50%;\n &[data-align-left='true'] {\n left: 190px;\n }\n width: 350px;\n padding: 1rem;\n border: 1px solid #f2f2f2;\n background: white;\n border-radius: 6px;\n transform: translateX(-50%);\n "," {\n width: calc(100% - 2rem);\n }\n\n &[data-is-amp] {\n display: none;\n position: fixed;\n z-index: 999;\n top: 100px;\n left: 50%;\n\n &.open {\n display: block;\n }\n }\n\n .button-container {\n display: flex;\n justify-content: space-between;\n button {\n flex: 1;\n }\n button:first-child {\n margin-right: 0.5rem;\n "," {\n margin-right: 1rem;\n }\n }\n }\n"])),wn.mbDown,wn.mbUp),Hp=function(t){var a=t.className,i=t.isMobile,o=t.isCollapsed,r=t.sponsoredType,l=t.sponsoredBy,s=t.isAmp,d=t.locale,p=lt(),m=e(!1),u=m[0],g=m[1];return n.createElement(Fp,{className:a,onClick:function(){return g(!0)},"data-show-popup":u&&(!i||!o)&&!s,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":s||void 0},n.createElement(mn,{style:{position:"relative",padding:"0 16px"}},"content"===r?n.createElement(c,{size:i?"p4":"p3",color:"#737373"},n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Jr}):n.createElement("img",{src:Jr,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?n.createElement(n.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",n.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):n.createElement(c,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),n.createElement("div",{className:"sticky-sponsored-info-icon"},s?n.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:Jr,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):n.createElement("img",{src:Jr,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||i&&o||s?null:n.createElement(Ip,{sponsoredBy:l,isAmp:s,onClose:function(){return g(!1)},locale:d})))},Ip=function(e){var t=e.sponsoredBy,a=e.isAmp,i=e.onClose,o=e.locale||"en-PH",r=lt();return n.createElement(Pp,{"data-align-left":t&&!!(null==t?void 0:t.logo),"data-is-amp":a||void 0,id:"sponsored-by",className:a?"amp-sponsored-popup":void 0},n.createElement(c,{size:"p3",style:{marginBottom:"1rem"}},r("articlePage.sponsoredByStickyPopup.content")),n.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},n.createElement(Mn,{size:"md",color:"secondary",onClick:i,isAmp:a,on:"tap:sponsored-by.toggleClass(class='open')"},r("articlePage.sponsoredByStickyPopup.close")),n.createElement(Mn,{size:"md",onClick:function(){window.location.href="/static".concat(la[o].ADVERTISING_SPONSOR_POLICY)},isAmp:a,on:"tap:AMP.navigateTo(url='/static".concat(la[o].ADVERTISING_SPONSOR_POLICY,"')")},r("articlePage.sponsoredByStickyPopup.policies"))))},Rp=ua.footer(_p||(_p=xn(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image {\n width: 10%;\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),wn.mbDown,wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.neutral500}),wn.mbDown,wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp),jp=ua.div(Dp||(Dp=xn(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),Up=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,r=e.dataEventLabel;return n.createElement(jp,{"data-is-mobile":a},n.createElement("img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":r}))},Op=function(e){var t,a,i,o,r,l,s,d,p,m,u,g,h,f,x,v,y,b,E,w,k,C,L,M,S,T,N,z,A,B,_,D,F,P,H,I=e.className,R=e.type,j=void 0===R?"main":R,U=e.footerInfo,O=e.isMobile,V=e.locale,G=e.isAmp,Z=En().t,Y=null==U?void 0:U.menu;return n.createElement(Rp,{as:G&&"mini"===j?"div":"footer",className:I,style:"mini"===j?{backgroundColor:Bn.colors.neutral50}:{},"next-page-hide":!0},n.createElement(mn,null,n.createElement("div",{className:"inner","data-type":j,"next-page-hide":""},"main"===j?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},G?(null===(a=null==U?void 0:U.general)||void 0===a?void 0:a.logo)?n.createElement("amp-img",{src:null===(i=null==U?void 0:U.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{className:"footer-logo",src:null===(t=null==U?void 0:U.general)||void 0===t?void 0:t.logo,alt:"Logo","data-is-sehat":"id-ID"===V})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(c,{size:"p1",type:"bold"},null===(o=null==U?void 0:U.general)||void 0===o?void 0:o.content),n.createElement(Mn,{className:"signupButton",color:"primary",size:"lg"},Z("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(r=null==U?void 0:U.social)||void 0===r?void 0:r.title),n.createElement("div",{className:"icons"},null===(s=null===(l=null==U?void 0:U.social)||void 0===l?void 0:l.socials)||void 0===s?void 0:s.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Y&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(p=null===(d=Y[0])||void 0===d?void 0:d.items)||void 0===p?void 0:p.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(m=Y[1])||void 0===m?void 0:m.menu_title),null===(g=null===(u=Y[1])||void 0===u?void 0:u.items)||void 0===g?void 0:g.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Dn[V]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(h=Y[2])||void 0===h?void 0:h.menu_title),null===(x=null===(f=Y[2])||void 0===f?void 0:f.items)||void 0===x?void 0:x.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(c,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!G&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==U?void 0:U.branch)||void 0===v?void 0:v.title),n.createElement("div",{className:"flags"},null===(b=null===(y=null==U?void 0:U.branch)||void 0===y?void 0:y.branch)||void 0===b?void 0:b.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(Up,{url:e.flag,isMobile:O,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":G||void 0},(null===(E=null==U?void 0:U.general)||void 0===E?void 0:E.verified)&&n.createElement("a",{href:null===(k=null===(w=null==U?void 0:U.general)||void 0===w?void 0:w.verified[0])||void 0===k?void 0:k.url,className:"copyright-image"},G?n.createElement("amp-img",{src:null===(L=null===(C=null==U?void 0:U.general)||void 0===C?void 0:C.verified[0])||void 0===L?void 0:L.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{src:null===(S=null===(M=null==U?void 0:U.general)||void 0===M?void 0:M.verified[0])||void 0===S?void 0:S.image,alt:"DMCA Icon"})),n.createElement(c,{size:"xs",type:"regular",className:"copyright-content"},null===(T=null==U?void 0:U.general)||void 0===T?void 0:T.copyright)),"vi-VN"===V&&n.createElement(c,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):n.createElement(n.Fragment,null,(null==U?void 0:U.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(N=null==U?void 0:U.menu[1])||void 0===N?void 0:N.menu_title),null===(A=null===(z=null==U?void 0:U.menu[1])||void 0===z?void 0:z.items)||void 0===A?void 0:A.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(Dn[V]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(Dn[V]).concat(e.url)},n.createElement(c,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(Dn[V]).concat(e.url),size:"sm",type:"regular",style:{color:Bn.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(c,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==U?void 0:U.menu[2])||void 0===B?void 0:B.menu_title),null===(D=null===(_=null==U?void 0:U.menu[2])||void 0===_?void 0:_.items)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(c,{size:"sm",type:"regular",style:{color:Bn.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!G&&"mini"!==j&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(c,{size:"sm",type:"regular"},null===(F=null==U?void 0:U.social)||void 0===F?void 0:F.title),n.createElement("div",{className:"icons"},null===(H=null===(P=null==U?void 0:U.social)||void 0===P?void 0:P.socials)||void 0===H?void 0:H.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},G?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};ua((function(e){var t=e.type,a=fn(e,["type"]);return n.createElement(t,a)}))(Vp||(Vp=xn(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));var Vp,Gp,Zp=ua.p(Gp||(Gp=xn(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),Yp=function(e){var t=e.type,a=e.color,i=e.style,o=fn(e,["type","color","style"]);return n.createElement(Zp,gn({"data-type":t,style:gn(gn({},i),a&&{"--text-color":a})},o))};ua.footer(Wp||(Wp=xn(["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n position: relative;\n background: ",";\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n margin-bottom: 24px;\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n font-size: 19px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n p {\n color: ",";\n }\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n\n "," {\n margin-bottom: 0px;\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 19px;\n font-weight: ",";\n text-decoration: none;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n "," {\n margin-bottom: 8px;\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),wn.mbDown,wn.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbUp,wn.mbUp,(function(n){return n.theme.colors.white}),wn.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),wn.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),wn.mbUp);var Wp,Qp,qp,Kp,Jp,Xp,$p,nm,em=ua.div(Qp||(Qp=xn([""],[""]))),tm=ua.div(qp||(qp=xn(["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"],["\n position: relative;\n overflow: hidden;\n padding: 40px 40px 100px 40px;\n\n .icons-links {\n position: relative;\n display: flex;\n justify-content: space-between;\n }\n"]))),am=ua.div(Kp||(Kp=xn(["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"],["\n position: relative;\n margin: 80px 0 0;\n\n "," {\n margin-top: 0px;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n content: '';\n transform: translateX(-50%);\n border-radius: 100% 100% 0 0 / 30% 30%;\n }\n }\n"])),wn.mbDown),im=ua.div(Jp||(Jp=xn(["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"],["\n position: relative;\n padding: 0 16px;\n\n "," {\n padding: 48px 8px 0;\n }\n\n & .grid {\n display: flex;\n flex-wrap: wrap;\n margin: -8px;\n\n & > * {\n display: inline-block;\n flex: 0 0 25%;\n padding: 8px;\n color: ",";\n text-decoration: none;\n }\n\n "," {\n & > * {\n flex: 0 0 100%;\n text-align: center;\n }\n }\n }\n\n & .social-wrapper {\n margin-left: auto;\n }\n\n & .social {\n "," {\n & .icons-links {\n margin-top: 16px;\n\n & > a:not(:first-child) {\n margin-left: 10%;\n }\n\n & > a {\n text-decoration: none;\n }\n }\n }\n\n "," {\n width: 100%;\n display: flex;\n background: #fff;\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.05);\n border-radius: 8px;\n padding: 20px 16px;\n align-items: center;\n max-width: 400px;\n margin: 32px auto 0px;\n\n & > p {\n font-size: 12px;\n line-height: 20px;\n }\n\n & .icons-links {\n margin-left: 8%;\n flex: 1;\n display: inline-flex;\n justify-content: space-between;\n }\n }\n\n & .icons-links {\n & > a {\n & > img {\n width: 24px;\n object-fit: contain;\n }\n }\n }\n }\n"])),wn.mbDown,(function(n){return n.theme.colors.gray800}),wn.mbDown,wn.mbUp,wn.mbDown),om=ua.div(Xp||(Xp=xn(["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"],["\n position: relative;\n\n "," {\n margin: 80px 0 0;\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: #f3f3f3;\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n }\n\n "," {\n background-color: #f3f3f3;\n }\n"])),wn.mbUp,wn.mbDown),rm=ua.div($p||($p=xn(["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"],["\n position: relative;\n padding: 64px 16px 154px;\n text-align: center;\n\n "," {\n padding: 48px 8px 32px;\n }\n\n & .company-name {\n margin-top: 24px;\n }\n\n .logo {\n justify-content: center;\n }\n\n & .text-info {\n margin-top: 8px;\n > p {\n margin-bottom: 8px;\n }\n "," {\n text-align: left;\n margin-top: 16px;\n }\n }\n\n & .img-container {\n display: flex;\n max-width: 176px;\n height: 24px;\n justify-content: space-between;\n margin: 24px auto 0;\n\n "," {\n height: 32px;\n max-width: unset;\n justify-content: space-around;\n }\n\n img {\n width: unset;\n height: 100%;\n object-fit: contain;\n }\n }\n\n & > hr {\n border-color: ",";\n margin: 64px 0 18px;\n opacity: 0.1;\n }\n\n & .language-and-copyright {\n display: flex;\n justify-content: center;\n\n "," {\n margin-top: 60px;\n }\n\n & #footer-language-select {\n width: 100%;\n max-width: 114px;\n\n &[data-dropdown-open='true'] > div:after {\n transform: translateY(-60%) rotateZ(-180deg);\n }\n\n "," {\n order: 1;\n }\n\n & > div {\n padding: 0;\n\n & > div > svg {\n max-width: 22px;\n margin-right: 8px;\n transform: translateY(1px);\n }\n\n & > span {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n }\n }\n\n & > ul[data-has-icons='true'] {\n width: 158px;\n max-width: 158px;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n\n "," {\n margin-top: 0;\n left: unset;\n right: 0;\n top: unset;\n bottom: 32px;\n }\n\n & li {\n font-size: 12px;\n letter-spacing: -0.2px;\n line-height: 24px;\n\n & > div {\n max-width: 22px;\n & svg {\n width: 22px;\n max-width: 22px;\n transform: translateY(3px);\n }\n }\n }\n }\n }\n\n & > p {\n color: ",";\n }\n }\n"])),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray}),wn.mbDown,wn.mbDown,wn.mbDown,(function(n){return n.theme.mbColors.midGray})),lm=ua.div(nm||(nm=xn(["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"],["\n position: absolute;\n top: 0;\n right: -50%;\n width: 400px;\n height: 400px;\n background-color: #f2fcf7;\n border-radius: 50%;\n"]))),sm={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},cm=function(e){var t,a=e.socialLinks,i=void 0===a?sm.SOCIAL_LINKS:a,o=i.facebookLink,r=i.instagramLink,l=i.zaloLink,s=i.youtubeLink,c=e.copyrightText,d=e.logoType,p=void 0===d?"marryBaby":d,m=e.isMobile,u=e.footerMenu,g=void 0===u?[]:u,h=e.type,f=void 0===h?"main":h,x=En().t;return"main"===f?n.createElement(em,{className:"footer-container"},!m&&n.createElement("div",{className:"footer-divider"},n.createElement(mn,{type:"marryBaby"},n.createElement(It,{style:{padding:"0 16px"},type:"solid"}))),n.createElement(am,null,n.createElement(mn,{type:"marryBaby"},n.createElement(im,null,n.createElement("div",{className:"grid"},null===(t=m?null==g?void 0:g.slice(0,6):g)||void 0===t?void 0:t.map((function(e,t){var a=e.title,i=e.link;return n.createElement("a",{"data-event-category":"Footer","data-event-action":a,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(Yp,{color:Bn.colors.gray800,type:"subtitle-2"},a))})),n.createElement("div",{className:"social-wrapper"},n.createElement("div",{className:"social"},n.createElement(Yp,{type:"subtitle-2"},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("img",{src:Ba,alt:"Facebook"})),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("img",{src:Ha,alt:"Youtube"})),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("img",{src:_a,alt:"Instagram"})),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("img",{src:Ia,alt:"Zalo"}))))))))),n.createElement(om,null,n.createElement(mn,{type:"marryBaby"},n.createElement(rm,null,n.createElement(pn,{className:"logo",type:p,width:"121px"}),n.createElement(Yp,{className:"company-name",type:"subtitle-2"},x("footer.info.companyName")),n.createElement("div",{className:"text-info"},n.createElement(Yp,{type:"bodytext-3"},x("footer.info.address")),n.createElement(Yp,{type:"bodytext-3"},x("footer.info.license")),n.createElement(Yp,{type:"bodytext-3"},x("footer.info.email"))),n.createElement("div",{className:"img-container"},n.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),n.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},n.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&n.createElement(It,{type:"solid"}),n.createElement("div",{className:"language-and-copyright"},n.createElement(Yp,{type:"bodytext-3"},c)))))):n.createElement(tm,null,n.createElement(lm,null),n.createElement(Yp,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:Bn.sizes.fwSemiBold},color:Bn.mbColors.midGray},x("footer.followUsText")),n.createElement("div",{className:"icons-links"},o&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M21 5.75V18.25C21 19.765 19.765 21 18.25 21H15.5V14H17.31C17.565 14 17.78 13.81 17.81 13.56L17.995 12.06C18.015 11.92 17.97 11.775 17.875 11.67C17.78 11.56 17.645 11.5 17.5 11.5H15.5V9.75C15.5 9.2 15.95 8.75 16.5 8.75H17.5C17.775 8.75 18 8.525 18 8.25V6.56C18 6.305 17.8 6.09 17.545 6.065C17.515 6.06 16.81 6 15.915 6C13.715 6 12.5 7.31 12.5 9.685V11.5H10.5C10.225 11.5 10 11.725 10 12V13.5C10 13.775 10.225 14 10.5 14H12.5V21H5.75C4.235 21 3 19.765 3 18.25V5.75C3 4.235 4.235 3 5.75 3H18.25C19.765 3 21 4.235 21 5.75Z",fill:"url(#paint0_linear)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#4DABF7"}),n.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M11.9287 4.25C8.75236 4.25 5.80117 4.47631 4.11719 4.82812C4.1136 4.82907 4.11002 4.83005 4.10645 4.83105C2.83774 5.11535 1.64309 6.02412 1.3916 7.44727L1.39062 7.45312C1.19742 8.60013 1 10.0953 1 12.25C1 14.4006 1.1981 15.8562 1.44238 17.0635C1.70004 18.4446 2.86711 19.3809 4.15527 19.6689C4.16144 19.6707 4.16762 19.6723 4.17383 19.6738C5.93135 20.0201 8.79923 20.25 11.9756 20.25C15.1519 20.25 18.0213 20.0201 19.7793 19.6738C19.7855 19.6723 19.7917 19.6707 19.7979 19.6689C21.0666 19.3847 22.2612 18.4759 22.5127 17.0527C22.5134 17.0492 22.514 17.0456 22.5146 17.042C22.7049 15.8716 22.9514 14.3778 23 12.2197C23.0001 12.2142 23.0001 12.2087 23 12.2031C23 10.0438 22.7529 8.53934 22.5117 7.34766C22.2561 5.96354 21.0877 5.02474 19.7979 4.73633C19.7781 4.73195 19.7583 4.72836 19.7383 4.72559C18.0232 4.48448 15.1056 4.25 11.9287 4.25ZM10.0781 8.50098C10.2633 8.49715 10.4548 8.54095 10.6348 8.64258L14.9365 11.0732C15.662 11.4832 15.662 12.5177 14.9365 12.9277L10.6348 15.3584C9.91527 15.7644 9.01855 15.2502 9.01855 14.4307V9.56934C9.01855 8.95471 9.52252 8.51246 10.0781 8.50098Z",fill:"#EB3223"}))),r&&n.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":r,href:r},n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.25 2.5C5.08319 2.5 2.5 5.08319 2.5 8.25V15.75C2.5 18.9164 5.0831 21.5 8.25 21.5H15.75C18.9165 21.5 21.5 18.9165 21.5 15.75V8.25C21.5 5.0831 18.9164 2.5 15.75 2.5H8.25ZM8.25 4H15.75C18.1056 4 20 5.8939 20 8.25V15.75C20 18.1055 18.1055 20 15.75 20H8.25C5.8939 20 4 18.1056 4 15.75V8.25C4 5.89381 5.89381 4 8.25 4ZM17 6C16.4475 6 16 6.4475 16 7C16 7.5525 16.4475 8 17 8C17.5525 8 18 7.5525 18 7C18 6.4475 17.5525 6 17 6ZM12 7C9.24759 7 7 9.24759 7 12C7 14.7524 9.24759 17 12 17C14.7524 17 17 14.7524 17 12C17 9.24759 14.7524 7 12 7ZM12 8.5C13.9416 8.5 15.5 10.0584 15.5 12C15.5 13.9416 13.9416 15.5 12 15.5C10.0584 15.5 8.5 13.9416 8.5 12C8.5 10.0584 10.0584 8.5 12 8.5Z",fill:"url(#paint0_radial)"}),n.createElement("defs",null,n.createElement("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(0.499995 26) rotate(-47.9508) scale(34.3402 30.014)"},n.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),n.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),n.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),n.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),n.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),n.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),n.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),n.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),n.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),n.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),n.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},n.createElement("div",{style:{height:24,width:24}},n.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},dm=function(e){var t=e.type,a=e.isMobile,i=void 0===a||a,o=e.locale,r=e.footerInfo,l=e.isAmp;return"helloSites"===e.siteType?n.createElement(Op,{isAmp:l,isMobile:i,type:t,locale:o,footerInfo:r||{}}):n.createElement(cm,{isMobile:i,locale:o,footerMenu:r||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:e.marryBabySocialLinks,type:t})};export{fa as A,xa as B,Aa as C,Va as D,ap as E,ya as F,ba as G,Hp as H,ja as I,dm as J,Zl as L,ti as M,Lp as N,wa as P,ka as R,Ca as S,Sa as T,Na as U,va as a,Ma as b,Ta as c,za as d,Ra as e,Ua as f,Ya as g,Qa as h,qa as i,Ka as j,Xa as k,$a as l,ai as m,ii as n,oi as o,Ai as p,Bi as q,_i as r,Di as s,Fi as t,Pi as u,Hi as v,Ii as w,Ri as x,Vi as y,Np as z};
2
+ //# sourceMappingURL=index-a6f4de82.js.map