@hhgtech/hhg-components 1.20.78 → 1.20.79
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.
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/{assets/svg → components/atoms/rateStars}/StarEmptyIcon.d.ts +0 -0
- package/build/components/atoms/rateStars/StarFullIcon.d.ts +3 -0
- package/build/components/atoms/rateStars/StarHalfIcon.d.ts +3 -0
- package/build/components.js +1 -1
- package/build/core.js +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/core.js +1 -1
- package/build/esm/getSocialList-2f760404.js +1 -0
- package/build/esm/index-2cf5cfbc.js +1 -0
- package/build/esm/index-504c3846.js +1 -0
- package/build/esm/index-5d596e09.js +1 -0
- package/build/esm/index-d07fb5d9.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/navigationLayout_deprecated.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-3056e96b.js +1 -0
- package/build/esm/types-39d553b4.js +1 -0
- package/build/getSocialList-561c9bda.js +1 -0
- package/build/index-4b470a77.js +1 -0
- package/build/index-5344a5f2.js +1 -0
- package/build/index-54c00a5d.js +1 -0
- package/build/index-68cc1cba.js +1 -0
- package/build/index.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/navigationLayout_deprecated.js +1 -1
- package/build/together.js +1 -1
- package/build/types-6439cc4a.js +1 -0
- package/build/types-99bb94eb.js +1 -0
- package/package.json +1 -1
- package/build/assets/svg/StarFullIcon.d.ts +0 -3
- package/build/assets/svg/StarHalfIcon.d.ts +0 -3
- package/build/assets/svg/index.d.ts +0 -21
- package/build/components/molecules/embeddedHeathToolCards/image.d.ts +0 -1
- package/build/esm/getSocialList-ff22842b.js +0 -1
- package/build/esm/index-01430f3a.js +0 -1
- package/build/esm/index-4bc56f90.js +0 -1
- package/build/esm/index-73cb9b5e.js +0 -1
- package/build/esm/index-96d80a5a.js +0 -1
- package/build/esm/types-b5dae8ce.js +0 -1
- package/build/esm/types-c6593bd2.js +0 -1
- package/build/getSocialList-2a3b759f.js +0 -1
- package/build/index-14ab796a.js +0 -1
- package/build/index-701563be.js +0 -1
- package/build/index-8824c729.js +0 -1
- package/build/index-ee5051e3.js +0 -1
- package/build/types-208f084c.js +0 -1
- package/build/types-85f7ebc7.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,_ as e,e as t,b as i,c as o,d as a}from"./tslib.es6-5532bd7b.js";import l,{useState as r,useRef as s,useEffect as c,createContext as p,useContext as d,useMemo as m,useCallback as h}from"react";import{h as g,U as u}from"./index-01430f3a.js";import{throttle as x,debounce as f}from"lodash";import{s as y}from"./cookieHelper-0e8521c3.js";import v from"styled-components";import{A as b,s as E,P as w}from"./utils-8a152ba4.js";import{B as k}from"./index-93d22d63.js";import{T as C,a as T,P as _,C as L}from"./index.styled-faeac279.js";import{t as S}from"./theme-a50a1aa5.js";import{L as I}from"./constants-a0a981fa.js";import A from"string-format";import{M as N}from"./screenSizeContext-12f741e1.js";import{H as M}from"./index-7a537be1.js";import"react-range";import"date-fns";import"./index-58ae0705.js";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"lodash/debounce";import{D as O}from"./index-f8e043bf.js";import P from"react-loading-skeleton";import{T as R}from"./translationsProvider-bc47fc67.js";import"./useTranslations-ad4d9d26.js";import"./en-PH-ca0683d7.js";import"slugify";import"vanilla-lazyload";var B,D,H,z={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},U={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},F={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},j={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},G="user",Y="community?website_url={websiteUrl}",V="topic?community_id={communityId}&website_url={websiteUrl}",W="spotlights?per_page={perPage}&order_by={orderBy}",Z="healthtools?_hasgroup=1",K="categories?type=all",X="footer",Q="api/specialties?_ishome=1&site={domain}",q="menu/footer",J="health-tools",$=99,nn=300,en=400,tn=200,on=210,an=5,ln=6,rn=300,sn={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"}},cn=function(t){var i,o,a,r,s,c,p,d,m,h,u,x,f,y,v,b,E,w,k,C=t.children,T=t.SEOData,_=void 0===T?{}:T,L=t.isAmp,S=void 0!==L&&L,I=t.locale,A=void 0===I?"vi-VN":I,N=t.routerPathname,M=t.routerQuery,O=t.nextHead,P=t.siteType,R=t.seoCustom,B=t.userId,D=t.forcedCanonicalUrl,H=t.usingDefaultHead,F="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,G=_.totalPages,Y=_.currentPage,V=_.SEOTitle,W=void 0===V?"":V,Z=_.SEODescription,K=void 0===Z?"":Z,X=_.SEOImage,Q=_.seoType,q=_.SEOImageWidth,J=_.SEOImageHeight,$=_.customMetaData,nn=void 0===$?[]:$,en=_.isIndexable,tn=void 0===en||en,on=_.hasNoCanonical,an=void 0!==on&&on,ln=tn&&F?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",rn=process.env.NEXT_PUBLIC_BASE_API_URL,sn=_.canonicalUrl||N;Object.keys(M).forEach((function(n){var e=M[n];e&&Array.isArray(e)&&(sn=sn.replace("[...".concat(n,"]"),e.join("/")))}));var cn,pn=A||"en-PH",dn="helloSites"===P?z[pn]:"www.marrybaby.vn",mn=sn.endsWith("/")?"":"/";if(_.apiMetaData&&"string"==typeof _.apiMetaData){var hn=null===(i=_.apiMetaData)||void 0===i?void 0:i.match(/<title.*?>(.*)<\/title>/),gn=" - Page ".concat(Y," of ").concat(G),un=Y&&1!==Y&&hn?_.apiMetaData.replace(hn[0],hn[0].includes("-")?hn[0].replace("-",gn+" - "):"<title>".concat(hn[1].concat(gn),"</title>")).replace('<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,'" />'),'<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,"?page=").concat(Y,'" />')):_.apiMetaData,xn=(cn=g(un,{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(!xn){var fn="https://".concat(dn,"/images/").concat(A,".png");cn=n(n([],cn,!0),[l.createElement("meta",{key:"og:image",property:"og:image",content:(null===(o=_.openGraph)||void 0===o?void 0:o.image)||fn||""}),l.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(a=_.openGraph)||void 0===a?void 0:a.image)||fn}),l.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=_.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(s=_.openGraph)||void 0===s?void 0:s.imageWidth)||"1200"}),l.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(c=_.openGraph)||void 0===c?void 0:c.imageHeight)&&String(null===(p=_.openGraph)||void 0===p?void 0:p.imageHeight)||"630"})],!1)}}var yn="https://".concat(dn,"/images/").concat(A,".png");return l.createElement(l.Fragment,null,O&&H&&l.createElement(O,null,l.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===P&&l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===A?l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===A||"ms-MY"===A?l.createElement(l.Fragment,null):l.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"}),l.createElement("link",{rel:"preconnect",href:rn}),l.createElement("meta",{charSet:"UTF-8"}),!S&&l.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),l.createElement("meta",{name:"google",content:"notranslate"}),l.createElement("meta",{name:"robots",content:ln}),l.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),nn.map((function(n,t){return l.createElement("meta",e({key:t},n))})),l.createElement("meta",{name:"theme-color",content:"helloSites"===P?"#2c87f3":"#e85388"}),l.createElement("meta",{name:"page_type",content:"Home"}),l.createElement("meta",{name:"page_platform",content:"WEB"}),l.createElement("meta",{name:"page_language",content:pn}),l.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),S&&l.createElement(l.Fragment,null,l.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!cn&&l.createElement(l.Fragment,null,"helloSites"===P?l.createElement("title",null,R?W:W+" - "+(null===(d=U[A])||void 0===d?void 0:d.SITE_NAME)):l.createElement("title",null,W),!an&&l.createElement("link",{rel:"canonical",href:"https://".concat(dn).concat(sn)}),l.createElement("meta",{name:"description",content:K||(null===(m=_.openGraph)||void 0===m?void 0:m.description)}),_.schemaData&&l.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:_.schemaData}}),l.createElement("meta",{property:"og:locale",content:A}),l.createElement("meta",{property:"og:type",content:Q||"website"}),l.createElement("meta",{property:"og:title",content:(null===(h=_.openGraph)||void 0===h?void 0:h.title)||W}),l.createElement("meta",{property:"og:description",content:(null===(u=_.openGraph)||void 0===u?void 0:u.description)||K}),l.createElement("meta",{property:"og:url",content:"https://".concat(dn).concat(sn)}),l.createElement("meta",{property:"og:site_name",content:"https://".concat(dn)}),l.createElement("meta",{property:"og:image",content:(null===(x=_.openGraph)||void 0===x?void 0:x.image)||X||yn||""}),l.createElement("meta",{property:"og:image:secure_url",content:(null===(f=_.openGraph)||void 0===f?void 0:f.image)||X||yn}),l.createElement("meta",{property:"og:image:width",content:(null===(y=_.openGraph)||void 0===y?void 0:y.imageWidth)&&String(null===(v=_.openGraph)||void 0===v?void 0:v.imageWidth)||q&&String(q)||"1200"}),l.createElement("meta",{property:"og:image:height",content:(null===(b=_.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(E=_.openGraph)||void 0===E?void 0:E.imageHeight)||J&&String(J)||"630"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),l.createElement("meta",{name:"twitter:title",content:(null===(w=_.twitter)||void 0===w?void 0:w.title)||W}),l.createElement("meta",{name:"twitter:description",content:K}),l.createElement("meta",{name:"twitter:image",content:(null===(k=_.twitter)||void 0===k?void 0:k.image)||X})),("helloSites"===P?j[pn]||[]:j.marryBaby).map((function(n,e){return"link"===n.type?l.createElement("link",{key:"favicon-".concat(e),rel:n.rel,href:n.href,sizes:n.sizes}):"meta"===n.type?l.createElement("meta",{key:e,name:n.name,content:n.content}):null})),Array.isArray(cn)&&D?cn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):cn,D&&l.createElement("link",{rel:"canonical",href:D}),!_.hasNoAmp&&"vi-VN"!==A&&l.createElement("link",{rel:"amphtml",href:"https://".concat(dn).concat(sn).concat(mn,"?amp=1")}),B&&"undefined"!=typeof window?l.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null),O&&!H&&l.createElement(O,null),C)},pn="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",dn="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",mn="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",hn=v.div(B||(B=t(["\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})),gn=v.div(D||(D=t(["\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"]))),un=v.div(H||(H=t(["\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})),xn=function(n){var t=n.icon,i=n.content,o=n.isCollapsed,a=n.isMobile,p=n.type,d=n.onClose,m=n.setBannerClosed,h=n.dispatch,g=n.dispatchActionType,u=n.cookieName,f=n._overrideCloseHandler,v=n.isAmp,b=n.siteType,E=n.dataEventCategory,w=void 0===E?"Header Banner":E,k=n.dataEventAction,C=void 0===k?"Close Click":k,T=n.dataEventLabel,_=void 0===T?"":T,L=n.dataTracking,S=void 0===L?"true":L,I=r(!1),A=I[0],N=I[1],M=r(!1),O=M[0],P=M[1],R=i;v&&(R=R.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(w,'"'),'data-vars-event-category="'.concat(w,'" data-vars-tracking="').concat(S,'"')));var B=s(64);c((function(){var n=x((function(){window.scrollY<B.current?P(!1):window.scrollY>64&&P(!0),B.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===b,H=D?dn:"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 c((function(){m&&m(A||o||O)}),[m,A,o,O]),l.createElement(hn,{"data-is-mobile":a,"data-is-collapse":A||o||O,"data-is-marrybaby":D},t?l.createElement(gn,{"data-is-marrybaby":D},v?l.createElement("amp-img",{src:t,width:"76",height:"52"}):l.createElement("img",{src:t,className:"icon","data-is-mobile":a})):null,i?l.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":a,dangerouslySetInnerHTML:{__html:R}}):null,l.createElement(un,e({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":w,"data-vars-event-action":C,"data-vars-event-label":_||"","data-vars-tracking":S||"",className:"amp-close-banner",onClick:function(){N(!0),f?f():(d&&d(),u&&y(u,"true"),p&&h&&h({type:g,payload:{type:p}}))},"data-is-mobile":a}),v?l.createElement("amp-img",{src:H,width:"24",height:"24"}):l.createElement("img",{src:H,className:"close-icon"})))},fn={"navigation.loginJoin":"Login/Join","menu.categories.title":"Choose a service to explore","home.search":"Search {site}","home.navigator.menuItem.spotlights":"All In Focus","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.helloCare":"Book a doctor","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.allSpecialties":"See All Specialties","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allCommunities":"See All Communities","home.navigator.menuItem.allCategories":"See All Categories","footer.sitemap":"Sitemap","footer.signUp":"Sign up to get fitness and nutrition tips, health news, and more.","footer.info.email":"Email: advertiser@hellohealthgroup.com","footer.info.license":"Giấy phép kinh doanh số: 0315857817 do Sở kế hoạch và Đầu tư TP. Hồ Chí Minh cấp ngày 21-8-2019","footer.info.contentResponsibility":"Chịu trách nhiệm quản lý nội dung: Hoàng Diệu Thu","footer.info.companyName":"Công ty TNHH Xin Chào Bác Sĩ","footer.info.certificate":"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 592/GP-BTTTT HN ngày 03/12/2019","footer.info.address":"Địa chỉ: Tầng 5, Tòa nhà Sonatus, 15 Lê Thánh Tôn, P.Bến Nghé, Quận 1, Thành phố Hồ Chí Minh","footer.followUsText":"Follow us","home.menu.category.view":"Xem {category}","menu.care.searchBySpecialties":"Tìm theo chuyên khoa","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.ask.mb":"Đăng xuất khỏi Marry Baby?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","profileMenu.accountSetting":"Account Setting","profileMenu.help":"Help","profileMenu.logout":"Logout","profileMenu.myProfile":"Profile","profileMenu.password":"Password","profileMenu.saved":"My Articles","home.navigator.menuItem.language":"Language","articlePage.sponsoredBy":"Sponsored By","articlePage.sponsoredContentBy":"Content sponsored by","articlePage.sponsoredContent":"Sponsored Content","articlePage.sponsoredArticle":"Sponsored Article","articlePage.sponsoredByStickyPopup.close":"Close","articlePage.sponsoredByStickyPopup.content":"This is a sponsored article, for more information on our Advertising and Sponsorship policy please read our policies.","articlePage.sponsoredByStickyPopup.policies":"Policies","login.booking":"Booking with doctor","cookiePolicies.modal.title":"Please accept our privacy policy","cookiePolicies.modal.description":"Hello Bacsi uses cookies to improve your experience and to show you personalized ads","cookiePolicies.modal.accept":"Accept","cookiePolicies.modal.ourPolicies":"Our Policies"},yn=p({}),vn=function(){var n=d(yn);return function(e,t){var i=(n.translation||{})[e]||fn[e];return i?t?A(i,t):i:function(){throw Error("missing translation "+e)}()}},bn=function(n){return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:(null==n?void 0:n.slug)||"",communityId:null==n?void 0:n.id,color:null==n?void 0:n.color}:{}},En=function(n){var e;return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:"".concat(null===(e=null==n?void 0:n.community)||void 0===e?void 0:e.slug,"/").concat(null==n?void 0:n.slug),communityId:null==n?void 0:n.id}:{}},wn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return wn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},kn=function(n){return n?{icon:n.icon,link:n.link,subtitle:n.subtitle,title:n.title}:{}},Cn=function(n){var e,t;return n?{termId:(null==n?void 0:n.term_id)||0,name:(null==n?void 0:n.name)||"",healthTools:null!==(t=null===(e=null==n?void 0:n.health_tools)||void 0===e?void 0:e.map((function(n){return kn(n)})))&&void 0!==t?t:[]}:{}},Tn=function(n,t,i){return(t||"https://service-health-care.hellohealthgroup.com/")+A(Q,e(e({},i),{domain:z[n]}))},_n=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(K,e({},i))},Ln=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(Z,e({},i))},Sn=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(W,e({},i))},In=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(X,e({},i))},An=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+A(Y,e(e({},i),{websiteUrl:"https://".concat(z[n])}))},Nn=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+A(V,e(e({},i),{websiteUrl:"https://".concat(z[n])}))},Mn=function(n){var e,t=n.type,i=n.specialtySlug,o=n.locale;return"/".concat(I[o].ALL,"/").concat((null===(e=I[o])||void 0===e?void 0:e[t])||"doctor","/").concat(null!=i?i:"")},On=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Pn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Rn=v.header(qn||(qn=t(["\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}),$,nn,en),Bn=v.header(Jn||(Jn=t(["\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"]))),Dn=v.div($n||($n=t(["\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"]))),Hn=v.div(ne||(ne=t(["\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}),an,ln,rn),zn=v.div(ee||(ee=t(["\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})),Un=v.div(te||(te=t(["\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"]))),Fn=v.div(ie||(ie=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),jn=v.div(oe||(oe=t(["\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})),Gn=v.div(ae||(ae=t(["\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})),Yn=v.div(le||(le=t(["\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"]))),Vn=v.div(re||(re=t(["\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"]))),Wn=v.div(se||(se=t(["\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"]))),Zn=v.div(ce||(ce=t(["\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})),Kn=v.div(pe||(pe=t(["\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}),N.mbDown),Xn=v.div(de||(de=t(["\n display: block;\n"],["\n display: block;\n"]))),Qn=v.div(me||(me=t([""],[""])));v.div(he||(he=t(["\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 qn,Jn,$n,ne,ee,te,ie,oe,ae,le,re,se,ce,pe,de,me,he,ge,ue=v.div(ge||(ge=t(["\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}));function xe(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function fe(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function ye(n){var e=n.siteType,t=n.type;return"helloSites"===e?l.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:t}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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 ve(n){var t,i,o=n.type,a=n.isStatic,r=n.isAmp,s=n.isDisplayed,c=n.siteType,p=n.isCollapsed,d=n.sitewideBannerShown,m=n.sitewideBanner,h=n.sitewideBannerClosed,g=n.setSitewideBannerClosed,u=n.isMobile,x=n.onMenuClick,f=n.menu,y=n.isSearchIconDisplayed,v=n.statics,b=v.DISCOVER_URL_FE,E=v.SSO_URL,w=v.HOME_PAGE_URL,L=v.CARE_URL_FE,S=n.basePath,I=n.languageMenu,A=n.enabledExperimentalCareHeader,N=n.onCareHeaderClick,O=n.logoType,P=n.locale,R=n.isInit,B=n.title,D=n.sponsorComponent,H=n.currentUrl,z=n.userInfo,U=n.currentPopupType,F=n.avatar,j=n.profileMenu,G=n.isLoginButtonDisplayed,Y=n.goToLogin,V=n.isSearchBarDisplay,W=n.searchPlaceholder,Z=n.onSearchValueChanged,K=n.keyPressed,X=vn(),Q=!!D,q=!!(null===(i=null===(t=null==D?void 0:D.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),J=d&&!!m&&!h,$=be({isSiteWide:!!m&&!h,isShowingSiteWideBanner:J,isSponsored:Q,hasSponsoredBanners:q,isMobile:!0}),nn=$.headerRef,en=$.headerHeight;return l.createElement(l.Fragment,null,l.createElement(Rn,{"data-header-type":o,"data-collapsed":!a&&p,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":s,"data-is-amp":r,"data-sponsored":Q,"data-site-type":c,"data-sitewide-banner-shown":J,id:"site-header",ref:nn},m?l.isValidElement(m)?l.cloneElement(m,{isCollapsed:p,setBannerClosed:g,isAmp:r,isMobile:u}):m:null,l.createElement("div",{style:e(e({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==I||A?{paddingLeft:A?48:64,gap:24,justifyContent:"unset"}:{})},l.createElement(Bn,null,l.createElement(Dn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},l.createElement("div",{onClick:function(){return null==x?void 0:x("categories")}},"home"===o&&l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},l.createElement(ye,{siteType:c,type:o})),"popup"===o&&l.createElement(fe,null),"popup-sub-level"===o&&l.createElement(xe,null)),f),y&&"helloSites"===c&&"home"===o&&l.createElement(Dn,{style:{paddingRight:16}},l.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")},l.createElement("img",{src:"".concat(S,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&l.createElement(Kn,{"data-is-profile":!0,className:R?"":"menu-handler-health-tools"},l.createElement("div",{className:"menu-handler-item"},y&&"marryBaby"===c&&"home"===o&&l.createElement(Dn,{style:{justifySelf:"flex-end"}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(b,"/search?s=&page=1")},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),A&&l.createElement(l.Fragment,null,N?l.createElement(k,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:H,onClick:function(n){return N(n)}},X("login.booking")):l.createElement("a",{href:L,className:"care-button"},l.createElement(k,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:H},X("login.booking")))),(null==z?void 0:z.id)?l.createElement(Vn,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return x&&x("profile")}},"profile"===U?l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):F),j):r?l.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":H,href:"".concat(E,"?returnUrl=").concat(H.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===P?l.createElement(ue,{onClick:Y},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:Y},X("navigation.loginJoin"))):G&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":H},A?l.createElement(ue,{onClick:Y},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:Y},X("navigation.loginJoin")):l.createElement("div",{className:"login-btn-mobile",onClick:Y,style:{paddingLeft:16}},l.createElement(C,{size:"p3"},X("navigation.loginJoin")))))),("home"===o||"popup"===o)&&l.createElement("a",{href:w||""},l.createElement(T,{type:O,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===P?l.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==I&&l.createElement(Zn,{"data-is-active":!0,className:R?"":"menu-handler-language",onClick:function(){x&&x("language")}},I),B&&l.createElement(M,{className:"top-bar-header",tag:"h5"},B)),D?l.isValidElement(D)?l.cloneElement(D,{isCollapsed:p,locale:P,isMobile:u,isAmp:r}):D:null),V?l.createElement(Hn,{"data-header-type":o,"data-is-displayed":s,"data-sitewide-banner-shown":d&&!!m},l.createElement(_,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(R?"":"-temp"),size:"md",placeholder:W,onChange:Z,onKeyPress:K,type:"search",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):l.createElement(l.Fragment,null,!r&&l.createElement("div",{style:{height:en}})))}var be=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,l=s(null),p=r(0),d=p[0],g=p[1],u=h(f((function(){var n,e=(null===(n=l.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);c((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),c((function(){u()}),[t,o,i,e,l.current]);var x=m((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40),n}),[a,o,i]);return{headerHeight:d||x,headerRef:l}},Ee=function(n){var e,t,i,o=n.siteType,a=n.basePath,p=n.statics,d=n.currentPopupType,g=void 0===d?"none":d,u=n.isDisplayed,f=void 0===u||u,y=n.isSearchBarDisplay,v=void 0===y||y,E=n.searchPlaceholder,w=void 0===E?"":E,C=n.openPopup,I=n.onTopBarAppears,A=n.onSearchChange,N=n.onSearchKeyPress,M=n.menu,O=n.isAmp,P=n.profileMenu,R=n.isMobile,B=void 0!==R&&R,D=n.isLoginButtonDisplayed,H=n.title,F=n.type,j=void 0===F?"home":F,G=n.onMenuClick,Y=n.isStatic,V=void 0!==Y&&Y,W=n.routerAsPath,Z=n.locale,K=n.userInfo,X=n.marryBaby,Q=(void 0===X?{tone:"white"}:X).tone,q=n.menuItems,J=void 0===q?[]:q,$=n.isInit,nn=n.sitewideBanner,en=n.sitewideBannerShown,tn=void 0===en||en,on=n.sponsorComponent,an=n.languageMenu,ln=n.isSearchIconDisplayed,rn=void 0!==ln&&ln,sn=n.enabledExperimentalCareHeader,cn=n.onCareHeaderClick,pn=p.SSO_URL,dn=p.HOME_PAGE_URL,mn=p.CARE_URL_FE,hn=vn(),gn=!!on,un=r(!1),xn=un[0],fn=un[1],yn=r(!1),bn=yn[0],En=yn[1],wn=r(!1),kn=wn[0],Cn=wn[1],Tn=r($||!1),_n=Tn[0],Ln=Tn[1],Sn=s(47),In=s(!1),An=s(!1),Nn="helloSites"===o?"https://".concat(z[Z]).concat(W):"https://www.marrybaby.vn".concat(W),Mn=m((function(){var n=(null==K?void 0:K.name)||(null==K?void 0:K.username);return l.createElement(b,{type:"rounded",size:"small",avatarUrl:null==K?void 0:K.avatar,firstLetter:n&&n.length?n[0].toUpperCase():"A",backgroundColor:"marryBaby"===o?S.mbColors.pink:S.colors.secondaryBase,isAmp:O})}),[null==K?void 0:K.username,null==K?void 0:K.name,null==K?void 0:K.avatar]),On=function(){var n=window.location.href;window.location.href=pn?"".concat(pn,"?returnUrl=").concat(n):n},Pn="helloSites"===o?null===(e=U[Z])||void 0===e?void 0:e.LOGO_TYPE:o,Rn="undefined"!=typeof window,Bn=function(n){null==A||A(n)},Dn=h(x((function(){var n;if("home"===j){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;Rn&&e&&(e.scrollY>Sn.current&&e.scrollY>64&&!In.current&&(In.current=!0,fn(!0)),e.scrollY<Sn.current&&In.current&&(In.current=!1,fn(!1),t&&e.scrollY),e.scrollY<Sn.current&&t&&e.scrollY,v?(e.scrollY<64&&e.scrollY<Sn.current&&An.current&&(An.current=!1),e.scrollY>8&&e.scrollY>Sn.current&&!An.current&&(An.current=!0)):An.current=!0,e.scrollY>=0&&(Sn.current=e.scrollY))}}),300),[]);c((function(){null==I||I(!xn)}),[xn]);var Hn=function(n){var e,t;N&&N(n,null!==(t=null===(e=document.getElementById("search-input-"+j))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};c((function(){B&&Dn()}),[]),c((function(){return window.addEventListener("scroll",Dn,{passive:!0}),function(){window.removeEventListener("scroll",Dn)}}),[]),c((function(){Ln(!0)}),[]),c((function(){"undefined"!=typeof window&&Cn(Boolean(kn))}),[]);var Xn=l.createElement(l.Fragment,null,J.find((function(n){return"categories"===n.id}))&&l.createElement(Zn,{"data-is-active":"categories"===g,className:_n?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==C||C("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)}},l.createElement("div",{className:"menu-handler-item"},hn("home.navigator.menuItem.discover"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&l.createElement("div",null,M)),J.find((function(n){return"healthTools"===n.id}))&&l.createElement(Zn,{"data-is-active":"tools"===g,className:_n?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("tools")}},hn("home.navigator.menuItem.healthTools"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&l.createElement("div",null,M)),J.find((function(n){return"care"===n.id}))&&!sn&&l.createElement(Zn,{"data-is-active":"care"===g,className:_n?"":"menu-handler-care-specialties",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("care")}},hn("home.navigator.menuItem.helloCare"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&l.createElement("div",null,M)),J.find((function(n){return"together"===n.id}))&&l.createElement(Zn,{"data-is-active":"communities"===g,className:_n?"":"menu-handler-communities",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("communities")}},hn("home.navigator.menuItem.helloTogether"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&l.createElement("div",null,M))),Qn=!!(null===(i=null===(t=null==on?void 0:on.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),qn=tn&&!!nn&&!bn,Jn=be({isSiteWide:!!nn&&!bn,isShowingSiteWideBanner:qn,isSponsored:gn,hasSponsoredBanners:Qn}),$n=Jn.headerRef,ne=Jn.headerHeight;return B?l.createElement(ve,{type:j,isStatic:V,isAmp:O,isDisplayed:f,siteType:o,isCollapsed:xn,sitewideBannerShown:tn,sitewideBanner:nn,sitewideBannerClosed:bn,setSitewideBannerClosed:En,isMobile:B,onMenuClick:G,menu:M,isSearchIconDisplayed:rn,statics:p,basePath:a,languageMenu:an,enabledExperimentalCareHeader:sn,logoType:Pn,locale:Z,isInit:_n,title:H,sponsorComponent:on,currentUrl:Nn,userInfo:K,currentPopupType:g,avatar:Mn,profileMenu:P,isLoginButtonDisplayed:D,goToLogin:On,isSearchBarDisplay:v,searchPlaceholder:w,onSearchValueChanged:Bn,keyPressed:Hn}):l.createElement(l.Fragment,null,l.createElement("div",{style:{height:ne}}),l.createElement(zn,{ref:$n,"data-site-type":o,"data-marry-baby-tone":"marryBaby"===o&&Q,"data-sponsored":gn,"data-sitewide-banner-shown":qn},nn?l.isValidElement(nn)?l.cloneElement(nn,{isCollapsed:xn,setBannerClosed:En}):nn:null,l.createElement(L,{style:{height:69,padding:"0 16px"},type:o},l.createElement(Un,null,l.createElement(Fn,null,l.createElement("a",{href:dn},l.createElement(jn,{"data-is-having-border":"helloSites"===o},l.createElement(T,{style:{display:"flex"},type:Pn,height:"27px",width:"121px",badge:"id-ID"===Z?l.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===o&&l.createElement(Gn,{"data-header-type":j,"data-is-displayed":f,"data-sitewide-banner-shown":tn&&!!nn},l.createElement(_,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:S.colors.white},name:"search-input-"+j+(_n?"":"-temp"),size:"sm",placeholder:w,onChange:Bn,onKeyPress:Hn,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"===o&&l.createElement("div",{style:{marginLeft:28,display:"flex"}},Xn)),l.createElement(Yn,null,"helloSites"===o&&Xn,v&&"marryBaby"===o&&l.createElement(Gn,{"data-header-type":j,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===o,"data-marry-baby-theme":Q},l.createElement(_,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(_n?"":"-temp"),size:"sm",placeholder:w,onChange:Bn,onKeyPress:Hn,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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!==an&&l.createElement(Zn,{"data-is-active":!0,className:_n?"":"menu-handler-language",onClick:function(){C&&C("language")}},an),l.createElement(Kn,{"data-is-active":"profile"===g,"data-is-profile":!0,className:_n?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item"},sn&&l.createElement(l.Fragment,null,cn?l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Nn,onClick:function(n){return cn(n)}},hn("login.booking")):l.createElement("a",{href:mn,className:"care-button no-replace-click"},l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Nn},hn("login.booking")))),(null==K?void 0:K.id)?l.createElement(Vn,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return C&&C("profile")}},Mn),P):D&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Nn},sn?l.createElement(ue,{onClick:On},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===o?l.createElement(k,{size:"md",color:"secondary",onClick:On},hn("navigation.loginJoin")):l.createElement(k,{size:"md",color:"secondary",theme:"marryBaby",onClick:On},hn("navigation.loginJoin")))))))),on?l.isValidElement(on)?l.cloneElement(on,{isCollapsed:xn,locale:Z,isMobile:B,isAmp:O}):on:null))};v.div(we||(we=t(["\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 we,ke,Ce,Te,_e,Le,Se,Ie,Ae,Ne,Me,Oe,Pe,Re,Be,De,He,ze,Ue,Fe=v.div(ke||(ke=t(["\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}),N.mbUp),je=v.div(Ce||(Ce=t(["\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"])),N.mbDown,N.mbUp),Ge=function(n){var e=n.className,t=n.isMobile,i=n.isCollapsed,o=n.sponsoredType,a=n.sponsoredBy,s=n.isAmp,c=n.locale,p=vn(),d=r(!1),m=d[0],h=d[1];return l.createElement(Fe,{className:e,onClick:function(){return h(!0)},"data-show-popup":m&&(!t||!i)&&!s,"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":s||void 0},l.createElement(L,{style:{position:"relative",padding:"0 16px"}},"content"===o?l.createElement(C,{size:t?"p4":"p3",color:"#737373"},l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mn}):l.createElement("img",{src:mn,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),a&&(null==a?void 0:a.logo)?l.createElement(l.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",l.createElement("img",{className:"sponsored-logo",src:(null==a?void 0:a.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):l.createElement(C,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mn,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):l.createElement("img",{src:mn,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!m||t&&i||s?null:l.createElement(Ye,{sponsoredBy:a,isAmp:s,onClose:function(){return h(!1)},locale:c})))},Ye=function(n){var e=n.sponsoredBy,t=n.isAmp,i=n.onClose,o=n.locale||"en-PH",a=vn();return l.createElement(je,{"data-align-left":e&&!!(null==e?void 0:e.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},l.createElement(C,{size:"p3",style:{marginBottom:"1rem"}},a("articlePage.sponsoredByStickyPopup.content")),l.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},l.createElement(k,{size:"md",color:"secondary",onClick:i,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},a("articlePage.sponsoredByStickyPopup.close")),l.createElement(k,{size:"md",onClick:function(){window.location.href="/static".concat(F[o].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(F[o].ADVERTISING_SPONSOR_POLICY,"')")},a("articlePage.sponsoredByStickyPopup.policies"))))},Ve=v.div(Te||(Te=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),We=v.div(_e||(_e=t(["\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"]))),Ze=v.div(Le||(Le=t(["\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})),Ke=v.div(Se||(Se=t(["\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})),Xe=v.div(Ie||(Ie=t([""],[""]))),Qe=v.div(Ae||(Ae=t(["\n display: flex;\n"],["\n display: flex;\n"]))),qe=v.div(Ne||(Ne=t(["\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"])),N.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})),Je=v.div(Me||(Me=t(["\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"]))),$e=v.div(Oe||(Oe=t(["\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"])),tn),nt=v.div(Pe||(Pe=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),et=v.div(Re||(Re=t(["\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"]))),tt=v.div(Be||(Be=t(["\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"]))),it=v.div(De||(De=t(["\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})),ot=v.div(He||(He=t(["\n display: none;\n"],["\n display: none;\n"]))),at=v.div(ze||(ze=t(["\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"]))),lt=v.div(Ue||(Ue=t(["\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})),rt=v.div(ft||(ft=t(["\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"]))),st=v.div(yt||(yt=t(["\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})),ct=v.div(vt||(vt=t(["\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"]))),pt=v.div(bt||(bt=t(["\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})),dt=v.div(Et||(Et=t(["\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"]))),mt=v.div(wt||(wt=t(["\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"]))),ht=v.div(kt||(kt=t(["\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}));v.div(Ct||(Ct=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var gt=v.div(Tt||(Tt=t(["\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}));v.div(_t||(_t=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var ut=v.div(Lt||(Lt=t(["\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"])));v.div(St||(St=t(["\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"])),tn),v.div(It||(It=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),v.div(At||(At=t(["\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"]))),v.div(Nt||(Nt=t(["\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"]))),v.div(Mt||(Mt=t(["\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})),v.div(Ot||(Ot=t(["\n display: none;\n"],["\n display: none;\n"]))),v.div(Pt||(Pt=t(["\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})),v.div(Rt||(Rt=t(["\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 xt=v.div(Bt||(Bt=t(["\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"])));v.div(Dt||(Dt=t(["\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"]))),v.div(Ht||(Ht=t(["\n display: block;\n"],["\n display: block;\n"]))),v.div(zt||(zt=t(["\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 ft,yt,vt,bt,Et,wt,kt,Ct,Tt,_t,Lt,St,It,At,Nt,Mt,Ot,Pt,Rt,Bt,Dt,Ht,zt,Ut,Ft,jt,Gt,Yt,Vt,Wt=v.div(Ut||(Ut=t(["\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})),Zt=v.div(Ft||(Ft=t(["\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"]))),Kt=function(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}))},Xt=v.div(jt||(jt=t(["\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})),Qt=v.a(Gt||(Gt=t(["\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})),qt=function(n){var e=n.locale,t=n.categoriesSSR,i=n.healthToolsSSR,o=n.spotlightsSSR,a=n.serviceUrls,r=n.together,s=n.care,c=n.basePath,p=n.searchPlaceholder,d=vn();return l.createElement(Xt,null,l.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},l.createElement("amp-nested-menu",{layout:"fill"},l.createElement("ul",{style:{paddingBottom:24}},l.createElement("div",{className:"amp__menu-header"},l.createElement(Xn,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),l.createElement("div",{className:"logo"},l.createElement(T,{height:"32px",width:"121px",type:U.LOGO_TYPE,isAmp:!0,badge:"id-ID"===e?l.createElement("amp-img",{src:"",width:"56",height:"23"}):void 0})),l.createElement("div",null)),l.createElement(Qt,{href:"/search"},l.createElement(Kt,null),l.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),l.createElement("div",{className:"categories__spotlight"},l.createElement(Qn,{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},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.discover"))),l.createElement(Qn,{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'"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.TOGETHER_URL_FE},l.createElement(Qn,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.CARE_URL_FE},l.createElement(Qn,{role:"button",tabIndex:1,className:"nav-card"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},l.createElement(M,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(n){return l.createElement("li",{key:n.name},l.createElement("a",{href:n.permalink},n.displayName))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/categories/")},l.createElement(qe,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),l.createElement(xt,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},l.createElement(M,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(n){return l.createElement("li",{key:n.id,className:"spotlight-li"},l.createElement("a",{href:n.permalink},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/spotlight/")},l.createElement(qe,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),l.createElement(xt,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(n,e){return n.healthTools&&n.healthTools.length>0&&l.createElement(l.Fragment,{key:e},l.createElement(M,{tag:"h4",fontWeight:"bold"},n.name),n.healthTools.map((function(n){return l.createElement("li",{key:n.title,className:"health-tool"},l.createElement("a",{href:n.link},l.createElement("amp-img",{width:"32",height:"32",src:n.icon}),l.createElement("span",null,n.title)))})))})))))))},Jt=v.footer(Yt||(Yt=t(["\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"])),N.mbDown,N.mbDown,N.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbUp),$t=v.div(Vt||(Vt=t(["\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"]))),ni=function(n){var e=n.url,t=n.isMobile,i=n.dataEventCategory,o=n.dataEventAction,a=n.dataEventLabel;return l.createElement($t,{"data-is-mobile":t},l.createElement("img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":a}))},ei=function(n){var e,t,i,o,a,r,s,c,p,d,m,h,g,u,x,f,y,v,b,E,w,T,_,I,A,N,M,O,P,R,B,D,H,U,F,j=n.className,G=n.type,Y=void 0===G?"main":G,V=n.footerInfo,W=n.isMobile,Z=n.locale,K=n.isAmp,X=vn(),Q=null==V?void 0:V.menu;return l.createElement(Jt,{as:K&&"mini"===Y?"div":"footer",className:j,style:"mini"===Y?{backgroundColor:S.colors.neutral50}:{},"next-page-hide":!0},l.createElement(L,null,l.createElement("div",{className:"inner","data-type":Y,"next-page-hide":""},"main"===Y?l.createElement(l.Fragment,null,l.createElement("a",{href:"/"},K?(null===(t=null==V?void 0:V.general)||void 0===t?void 0:t.logo)?l.createElement("amp-img",{src:null===(i=null==V?void 0:V.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:l.createElement("img",{className:"footer-logo",src:null===(e=null==V?void 0:V.general)||void 0===e?void 0:e.logo,alt:"Logo","data-is-sehat":"id-ID"===Z})),l.createElement("div",{className:"columns"},l.createElement("div",{className:"newsletter"},l.createElement(C,{size:"p1",type:"bold"},null===(o=null==V?void 0:V.general)||void 0===o?void 0:o.content),l.createElement(k,{className:"signupButton",color:"primary",size:"lg"},X("footer.signUp")),l.createElement("div",{className:"social"},l.createElement(C,{size:"sm",type:"regular"},null===(a=null==V?void 0:V.social)||void 0===a?void 0:a.title),l.createElement("div",{className:"icons"},null===(s=null===(r=null==V?void 0:V.social)||void 0===r?void 0:r.socials)||void 0===s?void 0:s.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},K?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),l.createElement("hr",{className:"hrMobile"}))),l.createElement("div",null,Q&&l.createElement(l.Fragment,null,l.createElement("div",{className:"biglinks"},null===(p=null===(c=Q[0])||void 0===c?void 0:c.items)||void 0===p?void 0:p.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(d=Q[1])||void 0===d?void 0:d.menu_title),null===(h=null===(m=Q[1])||void 0===m?void 0:m.items)||void 0===h?void 0:h.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url),className:"link",href:n.url,key:e},l.createElement(C,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(z[Z]).concat(n.url)},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(g=Q[2])||void 0===g?void 0:g.menu_title),null===(x=null===(u=Q[2])||void 0===u?void 0:u.items)||void 0===x?void 0:x.map((function(n,e){return n.url&&l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},l.createElement(C,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!K&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"otherSites"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==V?void 0:V.branch)||void 0===f?void 0:f.title),l.createElement("div",{className:"flags"},null===(v=null===(y=null==V?void 0:V.branch)||void 0===y?void 0:y.branch)||void 0===v?void 0:v.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},l.createElement(ni,{url:n.flag,isMobile:W,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url}))}))))))),l.createElement("hr",null),l.createElement("div",{className:"copyright","data-is-amp":K||void 0},(null===(b=null==V?void 0:V.general)||void 0===b?void 0:b.verified)&&l.createElement("a",{href:null===(w=null===(E=null==V?void 0:V.general)||void 0===E?void 0:E.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},K?l.createElement("amp-img",{src:null===(_=null===(T=null==V?void 0:V.general)||void 0===T?void 0:T.verified[0])||void 0===_?void 0:_.image,alt:"DMCA Icon",width:"100",height:"36"}):l.createElement("img",{src:null===(A=null===(I=null==V?void 0:V.general)||void 0===I?void 0:I.verified[0])||void 0===A?void 0:A.image,alt:"DMCA Icon"})),l.createElement(C,{size:"xs",type:"regular",className:"copyright-content"},null===(N=null==V?void 0:V.general)||void 0===N?void 0:N.copyright)),"vi-VN"===Z&&l.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")):l.createElement(l.Fragment,null,(null==V?void 0:V.menu)&&l.createElement("div",{className:"columns"},l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==V?void 0:V.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(O=null==V?void 0:V.menu[1])||void 0===O?void 0:O.items)||void 0===P?void 0:P.map((function(n){return l.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(z[Z]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url)},l.createElement(C,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(z[Z]).concat(n.url),size:"sm",type:"regular",style:{color:S.colors.gray800}},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==V?void 0:V.menu[2])||void 0===R?void 0:R.menu_title),null===(D=null===(B=null==V?void 0:V.menu[2])||void 0===B?void 0:B.items)||void 0===D?void 0:D.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},l.createElement(C,{size:"sm",type:"regular",style:{color:S.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!K&&"mini"!==Y&&l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"newsletter"},l.createElement("div",{className:"social"},l.createElement(C,{size:"sm",type:"regular"},null===(H=null==V?void 0:V.social)||void 0===H?void 0:H.title),l.createElement("div",{className:"icons"},null===(F=null===(U=null==V?void 0:V.social)||void 0===U?void 0:U.socials)||void 0===F?void 0:F.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},K?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};v((function(n){var e=n.type,t=i(n,["type"]);return l.createElement(e,t)}))(ti||(ti=t(["\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 ti,ii,oi=v.p(ii||(ii=t(["\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})),ai=function(n){var t=n.type,o=n.color,a=n.style,r=i(n,["type","color","style"]);return l.createElement(oi,e({"data-type":t,style:e(e({},a),o&&{"--text-color":o})},r))};v.footer(li||(li=t(["\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}),N.mbDown,N.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbUp,(function(n){return n.theme.colors.white}),N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbUp);var li,ri,si,ci,pi,di,mi,hi,gi,ui,xi,fi,yi,vi,bi,Ei,wi,ki,Ci,Ti,_i,Li,Si,Ii,Ai,Ni=v.div(ri||(ri=t([""],[""]))),Mi=v.div(si||(si=t(["\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"]))),Oi=v.div(ci||(ci=t(["\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"])),N.mbDown),Pi=v.div(pi||(pi=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.gray800}),N.mbDown,N.mbUp,N.mbDown),Ri=v.div(di||(di=t(["\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"])),N.mbUp,N.mbDown),Bi=v.div(mi||(mi=t(["\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"])),N.mbDown,N.mbDown,N.mbDown,(function(n){return n.theme.mbColors.midGray}),N.mbDown,N.mbDown,N.mbDown,(function(n){return n.theme.mbColors.midGray})),Di=v.div(hi||(hi=t(["\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"]))),Hi=function(n){var e,t=n.socialLinks,i=void 0===t?sn.SOCIAL_LINKS:t,o=i.facebookLink,a=i.instagramLink,r=i.zaloLink,s=i.youtubeLink,c=n.copyrightText,p=n.logoType,d=void 0===p?"marryBaby":p,m=n.isMobile,h=n.footerMenu,g=void 0===h?[]:h,u=n.type,x=void 0===u?"main":u,f=vn();return"main"===x?l.createElement(Ni,{className:"footer-container"},!m&&l.createElement("div",{className:"footer-divider"},l.createElement(L,{type:"marryBaby"},l.createElement(O,{style:{padding:"0 16px"},type:"solid"}))),l.createElement(Oi,null,l.createElement(L,{type:"marryBaby"},l.createElement(Pi,null,l.createElement("div",{className:"grid"},null===(e=m?null==g?void 0:g.slice(0,6):g)||void 0===e?void 0:e.map((function(n,e){var t=n.title,i=n.link;return l.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(e)},l.createElement(ai,{color:S.colors.gray800,type:"subtitle-2"},t))})),l.createElement("div",{className:"social-wrapper"},l.createElement("div",{className:"social"},l.createElement(ai,{type:"subtitle-2"},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("img",{src:"",alt:"Facebook"})),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("img",{src:"",alt:"Youtube"})),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("img",{src:"",alt:"Instagram"})),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("img",{src:"",alt:"Zalo"}))))))))),l.createElement(Ri,null,l.createElement(L,{type:"marryBaby"},l.createElement(Bi,null,l.createElement(T,{className:"logo",type:d,width:"121px"}),l.createElement(ai,{className:"company-name",type:"subtitle-2"},f("footer.info.companyName")),l.createElement("div",{className:"text-info"},l.createElement(ai,{type:"bodytext-3"},f("footer.info.address")),l.createElement(ai,{type:"bodytext-3"},f("footer.info.license")),l.createElement(ai,{type:"bodytext-3"},f("footer.info.email"))),l.createElement("div",{className:"img-container"},l.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),l.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&l.createElement(O,{type:"solid"}),l.createElement("div",{className:"language-and-copyright"},l.createElement(ai,{type:"bodytext-3"},c)))))):l.createElement(Mi,null,l.createElement(Di,null),l.createElement(ai,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:S.sizes.fwSemiBold},color:S.mbColors.midGray},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#4DABF7"}),l.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}))),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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)"}),l.createElement("defs",null,l.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)"},l.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),l.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),l.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),l.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),l.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),l.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),l.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),l.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),l.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),l.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),l.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("div",{style:{height:24,width:24}},l.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},zi=function(n){var t,i,o,a,r,s,c,p,d,m,h,g=n.type,u=n.isMobile,x=void 0===u||u,f=n.locale,y=n.footerInfo,v=n.isAmp,b=n.siteType,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===b?l.createElement(l.Fragment,null,v&&(null!==(i=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==i?i:"")>1&&l.createElement("amp-next-page",null,l.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.image,'",\n "title": ').concat(JSON.stringify(null===(a=null==E?void 0:E.articleOne)||void 0===a?void 0:a.title),',\n "url": "').concat(null===(r=null==E?void 0:E.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==E?void 0:E.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(p=null==E?void 0:E.articleTwo)||void 0===p?void 0:p.link,'"\n },\n {\n "image": "').concat(null===(d=null==E?void 0:E.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(m=null==E?void 0:E.articleThree)||void 0===m?void 0:m.title),',\n "url": "').concat(null===(h=null==E?void 0:E.articleThree)||void 0===h?void 0:h.link,'"\n }\n ]\n ')}}),l.createElement("div",e({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),l.createElement(ei,{isAmp:v,isMobile:x,type:g,locale:f,footerInfo:y||{}})):l.createElement(Hi,{isMobile:x,locale:f,footerMenu:y||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:g})},Ui=v.div(gi||(gi=t(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Fi=v.div(ui||(ui=t(["\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})),ji=v.div(xi||(xi=t(["\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})),Gi=v.div(fi||(fi=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Yi=v.a(yi||(yi=t(["\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"]))),Vi=v.div(vi||(vi=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wi=v.div(bi||(bi=t(["\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})),Zi=v.div(Ei||(Ei=t(["\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})),Ki=v.div(wi||(wi=t([""],[""]))),Xi=v.div(ki||(ki=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Qi=v.div(Ci||(Ci=t(["\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"])),tn),qi=v.div(Ti||(Ti=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Ji=v.div(_i||(_i=t(["\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"]))),$i=v.div(Li||(Li=t(["\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})),no=v.div(Si||(Si=t(["\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"])),N.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})),eo=v.div(Ii||(Ii=t(["\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"]))),to=v.div(Ai||(Ai=t(["\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"]))),io=function(){return l.createElement(Vi,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},oo=function(n){var e,t,i,o,a=n.careSpecialties,r=n.onSelectCareSpecialty,s=n.isLoading,c=n.desktopPopupType,p=n.onClosePopup,d=n.basePath,m=n.locale,h=n.isMobile,g=n.siteType,u=n.CARE_URL_FE,x=vn();return h?l.createElement(l.Fragment,null,s?l.createElement(Wi,null,l.createElement(io,null)):l.createElement(Wi,{"data-category-list-type":"main"},l.createElement(M,{style:{marginTop:16},tag:"h5"},x("menu.care.searchBySpecialties")),a.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),onClick:function(){r(n)}},l.createElement(Xi,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(Ki,null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(e=I[m])||void 0===e?void 0:e.SPECIALTIES)},l.createElement(no,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(t=I[m])||void 0===t?void 0:t.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(eo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):l.createElement(Qi,{className:"top-menu-care-specialties",onClick:p,"data-is-display":"care"===c},l.createElement(qi,null,l.createElement(L,{style:{padding:"0 16px"},type:g},l.createElement(Ji,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,a.map((function(n){return l.createElement($i,{key:"care-specialty-".concat(n.id),onClick:p},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m}))},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"care-specialty-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(i=I[m])||void 0===i?void 0:i.SPECIALTIES)},l.createElement(no,{onClick:p,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(o=I[m])||void 0===o?void 0:o.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(eo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(to,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ao=function(){return l.createElement(Ve,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},lo=v.div(ho||(ho=t(["\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"])),N.mbDown,N.mbUp),ro=v.div(go||(go=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),so=v.div(uo||(uo=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));v.div(xo||(xo=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var co=v.div(fo||(fo=t(["\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}),N.mbDown),po=v.div(yo||(yo=t(["\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})),mo=v.div(vo||(vo=t([""],[""])));v.div(bo||(bo=t([""],[""])));var ho,go,uo,xo,fo,yo,vo,bo,Eo,wo,ko=v.div(Eo||(Eo=t(["\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"])),N.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})),Co=v.div(wo||(wo=t(["\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"]))),To=function(){return l.createElement(ro,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},_o=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.spotlights,o=n.isLoading,a=n.className,r=n.isMobile,s=n.DISCOVER_URL_FE,c=n.basePath,p=n.locale,d=n.siteType,m=vn();return t?l.createElement(lo,null,l.createElement(M,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&t?l.createElement(so,{className:a},l.createElement(To,null)):l.createElement(so,{"data-is-displayed":t,className:a},i.map((function(n,e){return l.createElement(po,{style:{textDecoration:"none"},key:"spotlight-"+e},r?l.createElement("a",{href:n.permalink,style:{textDecoration:"none",color:S.colors.gray800}},l.createElement(co,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[p]).concat(n.permalink)},l.createElement(mo,null,n.name))):l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[p]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(n.permalink)},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},l.createElement(ko,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),l.createElement(Co,null,"helloSites"===d?l.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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},Lo=function(n){var e=n.locale,t=n.basePath,i=n.isDisplayed,o=void 0!==i&&i,a=n.categories,r=n.spotlightsList,s=n.type,c=n.onSelectCategory,p=n.onClosePopup,d=n.desktopPopupType,m=n.isMobile,h=n.isLoading,g=n.DISCOVER_URL_FE,u=n.siteType,x=void 0===u?"helloSites":u,f=vn();return m?l.createElement(l.Fragment,null,h&&o?l.createElement(We,null,l.createElement(ao,null)):l.createElement(We,{"data-is-displayed":o,"data-category-list-type":s},l.createElement(M,{tag:"h3",style:{marginBottom:8}},f("home.navigator.menuItem.healthCategories")),l.createElement(Ze,null,a.map((function(n,i){return l.createElement("div",{key:s+"-category-"+i},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(e){n.childCates&&n.childCates.length>0&&"sub"!==s&&e.preventDefault()},href:g+n.permalink},l.createElement(Ke,{onClick:function(){null==c||c(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(Xe,null,n.displayName),"main"===s&&l.createElement(Qe,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.categoryName}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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&&n.childCates&&n.childCates.length>0&&n.childCates.map((function(n,e){return l.createElement("a",{style:{textDecoration:"none"},href:n.permalink,key:s+"-2-"+e},l.createElement(Ke,{"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(C,{size:"p3"},n.displayName)))}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(qe,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(Je,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(_o,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,isMobile:m,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}))):l.createElement($e,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===d},l.createElement(nt,null,l.createElement(L,{style:{padding:"0 16px"},type:x},l.createElement(et,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement("div",null,l.createElement(M,{tag:"h3",style:{marginBottom:24}},f("home.navigator.menuItem.healthCategories")),l.createElement(tt,{"data-disabled-divider":0===r.length},a.map((function(n,t){return l.createElement(it,{style:{textDecoration:"none"},key:n.categoryName+t},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(g).concat(n.permalink)},n.displayName),l.createElement(ot,null,n.childCates&&n.childCates.map((function(n,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:n.permalink,key:t},n.displayName)}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(qe,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(Je,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),l.createElement(_o,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}),l.createElement(at,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},So=v.div(Bo||(Bo=t([""],[""]))),Io=v.div(Do||(Do=t(["\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"]))),Ao=v.div(Ho||(Ho=t(["\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"]))),No=v.div(zo||(zo=t(["\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})),Mo=v.div(Uo||(Uo=t(["\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"]))),Oo=v.div(Fo||(Fo=t(["\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"])),tn),Po=v.div(jo||(jo=t(["\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"]))),Ro=v.div(Go||(Go=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Yo||(Yo=t(["\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 Bo,Do,Ho,zo,Uo,Fo,jo,Go,Yo,Vo,Wo,Zo=v.div(Vo||(Vo=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Wo||(Wo=t(["\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 Ko,Xo,Qo,qo,Jo,$o,na,ea,ta,ia,oa,aa,la,ra=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.categories,o=n.type,a=n.onSelectCategory,s=n.desktopPopupType,c=n.isMobile,p=n.isLoading,d=n.MARRY_BABY_FE,m=r(-1),h=m[0],g=m[1],u=r(!1),x=u[0],f=u[1];return c?l.createElement(l.Fragment,null,p&&t?l.createElement(We,null,l.createElement(ao,null)):l.createElement(We,{"data-is-displayed":t,"data-category-list-type":o,style:{marginTop:24}},l.createElement(So,{className:"marry-bb-menu-categories"},i.map((function(n,e){return l.createElement("div",{key:o+"-category-"+e,className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink)},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(d).concat(n.permalink)},l.createElement(No,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),onClick:function(){var t;"main"===o||0===(null===(t=n.childCates)||void 0===t?void 0:t.length)?null==a||a(n):h===e?(f(!0),setTimeout((function(){g(-1),setTimeout((function(){f(!1)}),100)}),300)):g(e)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?l.createElement(Io,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.displayName),l.createElement(lt,null),"main"===o?l.createElement(Qe,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):l.createElement(Qe,null,h!==e?l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&n.childCates&&h===e&&n.childCates.length>0&&l.createElement(Mo,null,l.createElement("div",{className:x?"collapsing":"expanding"},n.childCates.map((function(e,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(e.permalink),key:o+"-2-"+t},l.createElement(No,{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},l.createElement(Ao,null,l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement(ai,{type:"subtitle-2"},e.displayName))))})))),l.createElement("div",{style:{display:"none"}},n.childCates&&n.childCates.map((function(n,e){return l.createElement("a",{href:"".concat(d).concat(n.permalink),key:e,style:{textDecoration:"none"}},l.createElement("div",{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},l.createElement("p",null,n.displayName)))}))))}))))):l.createElement(Oo,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},l.createElement(Po,null),l.createElement(Ro,{"data-popup-type":s},l.createElement(Zo,{className:"marry-bb-menu-categories"},p?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(ao,null)):i.map((function(n,e){return l.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),key:o+"-category-"+e,onClick:function(){a(n)}},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:S.colors.gray800},href:"".concat(d).concat(n.permalink)},l.createElement(No,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},l.createElement(Io,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.displayName))))})))))},sa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.discoverApiDomain,a=n.basePath,r=n.categories,s=n.spotlightsList,c=n.type,p=n.onSelectCategory,d=n.onClosePopup,m=n.desktopPopupType,h=n.isMobile,g=n.isLoading,u=n.callApiHandler,x=n.DISCOVER_URL_FE,f=n.MARRY_BABY_FE,y=n.siteType,v=void 0===y?"helloSites":y;return"helloSites"===v?l.createElement(Lo,{locale:i,basePath:a,DISCOVER_URL_FE:x,isDisplayed:t,type:c,onSelectCategory:p,categories:r,spotlightsList:s,isLoading:g,isMobile:h,siteType:v,onClosePopup:d,desktopPopupType:m}):l.createElement(ra,{basePath:a,callApiHandler:u,discoverApiDomain:o,isDisplayed:t,type:c,onSelectCategory:p,categories:r,isLoading:g,isMobile:h,MARRY_BABY_FE:f,desktopPopupType:m})},ca=v.div(Ko||(Ko=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),pa=v.div(Xo||(Xo=t(["\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})),da=v.div(Qo||(Qo=t(["\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})),ma=v.div(qo||(qo=t([""],[""]))),ha=v.div(Jo||(Jo=t([""],[""]))),ga=v.div($o||($o=t(["\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"]))),ua=v.div(na||(na=t(["\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"])),tn),xa=v.div(ea||(ea=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),fa=v.div(ta||(ta=t(["\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"]))),ya=v.div(ia||(ia=t(["\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})),va=v.div(oa||(oa=t(["\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})),ba=v.div(aa||(aa=t(["\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"]))),Ea=v.div(la||(la=t(["\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"]))),wa=function(){return l.createElement(ca,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},ka=function(n){var e=n.isDisplayed,t=n.communities,i=n.type,o=n.onSelectCommunity,a=n.onClosePopup,r=n.isLoading,s=n.basePath,c=n.TOGETHER_URL_FE,p=n.siteType,d=void 0===p?"helloSites":p,m=n.isMobile,h=n.locale,g=n.desktopPopupType,u=vn();return m?l.createElement(l.Fragment,null,r&&e?l.createElement(pa,null,l.createElement(wa,null)):l.createElement(pa,{"data-category-list-type":i,"data-is-displayed":e},"main"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!0})},"data-is-heading-category":!1},l.createElement(ga,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(ma,null,n.title)),l.createElement(ha,null,"helloSites"===d?l.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.title}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!1})},"data-is-heading-category":!1},l.createElement(ga,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(ma,null,n.title)))))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(va,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(ba,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")})))))):l.createElement(ua,{className:"top-menu-communities",onClick:a,"data-is-display":"communities"===g},l.createElement(xa,null,l.createElement(L,{style:{padding:"0 16px"},type:d},l.createElement(fa,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,t.map((function(n){return l.createElement(ya,{key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(n.communitySlug)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(va,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(ba,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")}))))),l.createElement(Ea,{onClick:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ca=v.div(Ia||(Ia=t(["\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})),Ta=v.div(Aa||(Aa=t(["\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})),_a=v.div(Na||(Na=t(["\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"])),tn),La=v.div(Ma||(Ma=t(["\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"]))),Sa=v.div(Oa||(Oa=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Pa||(Pa=t(["\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 Ia,Aa,Na,Ma,Oa,Pa,Ra,Ba,Da=v.div(Ra||(Ra=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Ba||(Ba=t(["\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 Ha=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.communities,o=n.onSelectCommunity,a=n.isLoading,r=n.basePath,s=n.type,c=n.isMobile,p=n.onClosePopup,d=n.desktopPopupType,m=n.TOGETHER_URL_FE;return c?a&&t?l.createElement(pa,null,l.createElement(wa,null)):l.createElement(pa,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),key:"community-"+e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug)},l.createElement(Ta,{onClick:function(){o({community:n,isSetToSubMenu:!1})}},l.createElement(Ca,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ma,null,n.title)))}))):l.createElement(_a,{className:"top-menu-communities",onClick:p,"data-is-display":"communities"===d},l.createElement(La,null),l.createElement(Sa,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Da,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(wa,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug),style:{textDecoration:"none",color:S.colors.gray800},href:"".concat(m,"/").concat(n.communitySlug),key:n.title},l.createElement(Ta,{onClick:p},l.createElement(Ca,{style:{backgroundColor:n.color||S.mbColors.lightGray}},l.createElement("img",{alt:n.communitySlug,src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},za=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.communities,a=n.type,r=n.onSelectCommunity,s=n.onClosePopup,c=n.isLoading,p=n.basePath,d=n.TOGETHER_URL_FE,m=n.siteType,h=void 0===m?"helloSites":m,g=n.isMobile,u=n.desktopPopupType,x=n.togetherApiDomain;return"helloSites"===h?l.createElement(ka,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,siteType:h,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s}):l.createElement(Ha,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s})},Ua=v.div(Ja||(Ja=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Fa=v.div($a||($a=t(["\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"]))),ja=v.div(nl||(nl=t(["\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})),Ga=v.div(el||(el=t([""],[""]))),Ya=v.div(tl||(tl=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Va=v.div(il||(il=t(["\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"])),tn),Wa=v.div(ol||(ol=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Za=v.div(al||(al=t(["\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"]))),Ka=v.div(ll||(ll=t(["\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})),Xa=v.div(rl||(rl=t(["\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})),Qa=v.div(sl||(sl=t(["\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"]))),qa=v.div(cl||(cl=t(["\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"])));v.div(pl||(pl=t(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Ja,$a,nl,el,tl,il,ol,al,ll,rl,sl,cl,pl,dl,ml,hl=v.div(dl||(dl=t(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),gl=v.div(ml||(ml=t(["\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"]))),ul=function(){return l.createElement(Ua,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},xl=function(n){var e=n.healthTools,t=n.onSelectHealthTool,i=n.basePath,o=n.isDesktop,a=n.onClosePopup,r=n.HEALTH_TOOL_URL_FE,s=n.locale,c=n.isGrouped;return(null==e?void 0:e.length)?o?l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement(Ka,{"data-grouped":c,key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[s]).concat(n.link),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu",href:n.link.startsWith("http")?n.link:"".concat(r).concat(n.link)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))}))):l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(ja,{onClick:function(){t(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[s]).concat(n.link)},l.createElement(Ya,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(Ga,null,n.title)))}))):null},fl=function(n){var e,t,i,o,a=n.isDisplayed,r=n.healthTools,s=n.healthToolsByCategory,c=n.onSelectHealthTool,p=n.isLoading,d=n.basePath,m=n.locale,h=n.isMobile,g=n.onClosePopup,u=n.desktopPopupType,x=n.HEALTH_TOOL_URL_FE,f=n.STATIC_PAGES,y=n.siteType,v=vn();return h?l.createElement(l.Fragment,null,p&&a?l.createElement(Fa,null,l.createElement(ul,null)):l.createElement(Fa,{"data-category-list-type":"main","data-is-displayed":a},(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(l.Fragment,{key:"category-health-tool-".concat(e)},l.createElement(M,{tag:"h4",fontWeight:"bold",className:"title"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(xl,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}))})):l.createElement(xl,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}),l.createElement(hl,null,l.createElement("a",{href:"".concat(x).concat((null===(e=f[m])||void 0===e?void 0:e.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},l.createElement(Xa,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=f[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(Qa,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))))):l.createElement(Va,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===u},l.createElement(Wa,null,l.createElement(L,{style:{padding:"0 16px"}},l.createElement(Za,{"data-popup-type":u,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(gl,{key:"health-tools-categories-".concat(e)},l.createElement(M,{tag:"h4",as:"h2",fontWeight:"bold"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(xl,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):l.createElement(xl,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(i=f[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},l.createElement(Xa,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(o=f[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(Qa,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))),l.createElement(qa,{onClick:g},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},yl=v.div(kl||(kl=t(["\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})),vl=v.div(Cl||(Cl=t(["\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})),bl=v.div(Tl||(Tl=t(["\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"])),tn),El=v.div(_l||(_l=t(["\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"]))),wl=v.div(Ll||(Ll=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Sl||(Sl=t(["\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 kl,Cl,Tl,_l,Ll,Sl,Il,Al,Nl=v.div(Il||(Il=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Al||(Al=t(["\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 Ml,Ol,Pl,Rl,Bl,Dl,Hl,zl,Ul,Fl,jl,Gl=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.onSelectHealthTool,a=n.isLoading,r=n.basePath,s=n.isMobile,c=n.onClosePopup,p=n.HEALTH_TOOL_URL_FE,d=n.desktopPopupType;return s?a&&t?l.createElement(Fa,null,l.createElement(ul,null)):l.createElement(Fa,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{key:"tool-"+e,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(n.link)},l.createElement(vl,{onClick:function(){o(n)}},l.createElement(yl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(Ga,null,n.title)))}))):l.createElement(bl,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===d},l.createElement(El,null),l.createElement(wl,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Nl,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(ul,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.link),style:{textDecoration:"none",color:S.colors.gray800},href:n.link.startsWith("http")?n.link:"".concat(p).concat(n.link),key:n.title,onClick:function(n){n.stopPropagation()}},l.createElement(vl,{onClick:c},l.createElement(yl,null,l.createElement("img",{alt:n.title,src:n.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},Yl=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.healthToolsByCategory,a=n.onSelectHealthTool,r=n.isLoading,s=n.basePath,c=n.locale,p=n.isMobile,d=n.onClosePopup,m=n.desktopPopupType,h=n.HEALTH_TOOL_URL_FE,g=n.siteType,u=n.discoverApiDomain,x=n.STATIC_PAGES;return"helloSites"===g?l.createElement(fl,{isDisplayed:t,locale:c,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i,healthToolsByCategory:o,isLoading:r,isMobile:p,siteType:g,desktopPopupType:m,onClosePopup:d,STATIC_PAGES:x}):l.createElement(Gl,{isDisplayed:t,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:r,isMobile:p,desktopPopupType:m,onClosePopup:d})},Vl=v.div(Ml||(Ml=t(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Wl=v.div(Ol||(Ol=t(["\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})),Zl=function(){return l.createElement(l.Fragment,null,l.createElement(Vl,null,l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109}))))},Kl=function(n){var e=n.specialty,t=n.id,i=n.isActive,o=void 0!==i&&i,a=n.position,r=n.className,s=n.onClick;return e.name&&""!==e.name?l.createElement(Wl,{onClick:function(){s&&s(t)},className:r,"data-is-active":o,"data-card-position":a},l.createElement("img",{src:e.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),l.createElement(C,{type:"bold",size:"label2"},e.name)):l.createElement(Zl,null)},Xl=function(n){var e=n.selectedMenuMainItem,t=n.spotlightsList,i=n.locale,o=n.basePath,a=n.callApiHandler,r=n.discoverApiDomain,s=n.DISCOVER_URL_FE,c=n.MARRY_BABY_FE,p=n.onSelectCategory,d=n.isMobile,m=n.siteType,h=n.onCategoryClick,g=vn(),u=e.childCates,x=e.categoryName;return l.createElement(pt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(mt,null,l.createElement(sa,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:a,discoverApiDomain:r,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:u||[],spotlightsList:t,type:"sub",onSelectCategory:p,isMobile:d,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),l.createElement(ct,{"data-site-type":m},l.createElement(k,{onClick:h,className:"category-button",size:"md",theme:m},l.createElement(ut,null,l.createElement("div",null,g("home.menu.category.view",{category:x})),"helloSites"===m?l.createElement("img",{src:pn,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:x})}):l.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Ql=function(n){var t=n.selectedMenuMainItem,i=n.onCommunityClick,s=n.onSelectCommunity,p=n.basePath,d=void 0===p?"":p,m=n.callApiHandler,h=n.togetherApiDomain,g=n.locale,u=n.TOGETHER_URL_FE,x=n.siteType,f=n.isMobile,y=vn(),v=r([]),b=v[0],E=v[1],w=r(!1),C=w[0],T=w[1],_=t.communityId,L=t.title;return c((function(){T(!0),o(void 0,void 0,void 0,(function(){var n,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return[4,m("helloSites"===x?Nn(g,h,{communityId:_}):(r=h,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+A(V,e(e({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=a.sent())&&(null===(l=null===(o=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===o?void 0:o.topics)||void 0===l?void 0:l.length)>0&&(t=n.data.data.topics.map(En),E(t)),T(!1),[2]}var r,s}))}))}),[t]),l.createElement(pt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(mt,null,l.createElement(za,{isDisplayed:!0,locale:g,communities:b,type:"sub",onSelectCommunity:s,isLoading:C,basePath:d,TOGETHER_URL_FE:u,togetherApiDomain:h,siteType:x,isMobile:f,desktopPopupType:"none",onClosePopup:void 0}),l.createElement(ct,null,l.createElement(k,{onClick:i,className:"category-button",size:"md"},l.createElement(ut,null,l.createElement("div",null,y("home.menu.category.view",{category:L})),l.createElement("img",{src:pn,style:{width:"16px",height:"16px"},className:"button-image",alt:y("home.menu.category.view",{category:L})}))))))},ql={categories:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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:S.mbColors.lightPink},healthTools:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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"}),l.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"}),l.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:S.mbColors.lightOrange},together:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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:S.mbColors.lightBlue}},Jl=function(n){var t,i,o,a=n.item,r=n.isActive,s=n.isGoingForward,c=n.onServiceClicked;return l.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},l.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==c||c(a.id)}},l.createElement("div",{style:e({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(i=null===(t=ql[a.id])||void 0===t?void 0:t.color)&&void 0!==i?i:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(o=ql[a.id])||void 0===o?void 0:o.icon)),l.createElement(ai,{type:"subtitle-3",color:r&&S.mbColors.pink,style:{fontWeight:S.sizes.fwSemiBold}},a.name),r&&(s?l.createElement(Wt,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):l.createElement(Wt,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},$l=function(n){var e=n.menuItems,t=n.activeItem,i=n.onServiceClicked,o=r(0),a=o[0],c=o[1],p=s(!0);return l.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},e.map((function(n,e){return l.createElement(Jl,{onServiceClicked:function(n){p.current=a<e,c(e),null==i||i(n)},key:"item"+e,item:n,isGoingForward:p.current,isActive:t.id===n.id})})))},nr=function(n){var e=n.isMobile,t=void 0!==e&&e,i=n.isMobileMenuOpened,o=void 0===i?void 0:i,a=n.categories,s=n.healthTools,p=n.healthToolsByCategory,d=n.careSpecialties,m=n.togetherCommunities,h=n.spotlightsList,g=n.closePopup,u=n.popupType,x=void 0===u?"none":u,f=n.onMobileMenuClick,y=n.footer,v=n.care.CARE_URL_FE,b=n.discover,w=b.discoverApiDomain,k=b.DISCOVER_URL_FE,C=n.together,T=C.togetherApiDomain,L=C.TOGETHER_URL_FE,I=n.sso.SSO_URL,A=n.statics,N=A.MARRY_BABY_FE,O=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=n.marryBaby.tone,D=n.locale,H=n.siteType,z=n.basePath,F=n.callApiHandler,j=n.activeMenuService,G=n.menuItems,Y=n.routerAsPath,V=vn(),W=r(!1),Z=W[0],K=W[1],X=r(a),Q=X[0],q=X[1],J=r(void 0),$=J[0],nn=J[1],en=r(void 0),tn=en[0],on=en[1],an=r(!1),ln=an[0],rn=an[1],sn=r(null==G?void 0:G.find((function(n){return n.id===j}))),cn=sn[0],pn=sn[1],dn=r(!1),mn=dn[0],hn=dn[1],gn=r(!1),un=gn[0],xn=gn[1],fn=function(){$&&(window.location.href=$.permalink),Cn(),g&&g()},yn=function(){$&&(window.location.href="".concat(L,"/").concat($.communitySlug)),Cn(),g&&g()},bn=function(n){n.childCates&&n.childCates.length>0?(K(!0),nn(n)):(window.location.href="helloSites"===H?k+n.permalink:N+n.permalink,Cn(),g&&g())},En=function(n){var e=n.community;n.isSetToSubMenu?(K(!0),nn(e)):(window.location.href="".concat(L,"/").concat(e.communitySlug),Cn(),g&&g())},wn=function(n){window.location.href=n.link.startsWith("http")?n.link:R+n.link,Cn(),g&&g()},kn=function(n){window.location.href=v+Mn({type:"DOCTOR",specialtySlug:n.slug,locale:D}),null==g||g()},Cn=function(){nn(void 0),K(!1)},Tn=function(n){pn(G.find((function(e){return e.id===n})))},_n=U[D||"en-PH"]||{};return c((function(){var n;on("categories"===cn.id?(null===(n=null==$?void 0:$.childCates)||void 0===n?void 0:n.length)>0&&l.createElement(Xl,{selectedMenuMainItem:$,spotlightsList:[],locale:D,basePath:z,callApiHandler:F,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,onSelectCategory:bn,isMobile:t,siteType:H,onCategoryClick:fn}):"together"===cn.id&&$&&l.createElement(Ql,{selectedMenuMainItem:$,onCommunityClick:yn,onSelectCommunity:En,TOGETHER_URL_FE:L,basePath:z,callApiHandler:F,locale:D,togetherApiDomain:T,siteType:H,isMobile:t}))}),[$,cn]),c((function(){hn(!0)}),[]),c((function(){!un&&o&&xn(!0)}),[o]),c((function(){q(a)}),[a]),t?l.createElement(l.Fragment,null,l.createElement(rt,{id:mn?"":"categories-menu","data-opened":o||(un?o:"undefined"),key:mn?"t":"f"},l.createElement(st,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Z},l.createElement(Ee,{siteType:H,locale:D,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:k,SSO_URL:I,HOME_PAGE_URL:O,MARRY_BABY_FE:N,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==f?void 0:f("categories")},onSearchChange:function(n){rn(""!==n),q(n&&""!==n?a.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):a)},isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:Y,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}),l.createElement(pt,null,l.createElement(mt,null,l.createElement(ht,null,l.createElement(gt,{"data-hide-on-search":ln,"data-is-sub-category-opened":Z},"helloSites"===H?l.createElement(l.Fragment,null,l.createElement(Zt,{onClick:function(){window.location.href="".concat(E(D),"/search")}},l.createElement(_,{className:"fake-search-input",name:"search-input-menu-service"+(mn?"":"-temp"),size:"md",placeholder:V("home.search",{site:_n?_n.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(n){n.preventDefault()},value:"",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement(Kt,null))})),l.createElement(M,{tag:"h5",color:S.colors.gray800},V("menu.categories.title")),l.createElement(dt,{"data-card-array-no-margin-style":!0},G.map((function(n,e){return l.createElement(Kl,{onClick:Tn,key:"service-"+e,specialty:n,id:n.id,isActive:n.id===cn.id,isMobile:t,position:0===e?"left":e===G.length-1?"right":"center"})})))):l.createElement($l,{menuItems:G,activeItem:cn,onServiceClicked:Tn})),l.createElement(sa,{isDisplayed:"categories"===cn.id,locale:D,basePath:z,callApiHandler:F,onClosePopup:g,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,type:"main",onSelectCategory:bn,categories:Q,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H,desktopPopupType:x}),l.createElement(Yl,{isDisplayed:"healthTools"===cn.id,locale:D,basePath:z,discoverApiDomain:w,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:wn,onClosePopup:g,desktopPopupType:x,healthTools:s,healthToolsByCategory:p,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:P}),"care"===cn.id&&l.createElement(oo,{locale:D,basePath:z,onSelectCareSpecialty:kn,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:H,isMobile:t,desktopPopupType:x,CARE_URL_FE:v}),l.createElement(za,{isDisplayed:"together"===cn.id,locale:D,TOGETHER_URL_FE:L,basePath:z,type:"main",onSelectCommunity:En,onClosePopup:g,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:T,desktopPopupType:x})),y)))),Z&&l.createElement(rt,{"data-sub-level-opened":Z||(un?Z:"undefined")},l.createElement(st,{"data-type":"sub-category","data-is-sub-category-opened":Z},l.createElement(Ee,{siteType:H,locale:D,isDisplayed:o&&Z,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:k,SSO_URL:I,HOME_PAGE_URL:O,MARRY_BABY_FE:N,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===cn.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:Y,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:Cn,onSearchChange:void 0}),tn))):l.createElement(l.Fragment,null,l.createElement(sa,{isDisplayed:"categories"===x,locale:D,basePath:z,callApiHandler:F,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,type:"main",desktopPopupType:x,onSelectCategory:bn,onClosePopup:g,categories:Q,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H}),l.createElement(Yl,{isDisplayed:"tools"===x,locale:D,basePath:z,discoverApiDomain:w,HEALTH_TOOL_URL_FE:R,desktopPopupType:x,onSelectHealthTool:wn,onClosePopup:g,healthToolsByCategory:p,healthTools:s,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:P}),l.createElement(za,{isDisplayed:"communities"===x,locale:D,TOGETHER_URL_FE:L,basePath:z,type:"main",onSelectCommunity:En,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:T,desktopPopupType:x,onClosePopup:g}),"care"===x&&l.createElement(oo,{locale:D,basePath:z,onSelectCareSpecialty:kn,careSpecialties:d,isLoading:!1,desktopPopupType:x,siteType:H,isMobile:t,CARE_URL_FE:v,onClosePopup:g}))},er=v.div(Pl||(Pl=t(["\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"])),N.mbDown,N.mbUp,(function(n){return n.theme.colors.gray800}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.gray600}),N.mbDown,N.mbUp),tr=v.div(Rl||(Rl=t(["\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"])),N.mbDown,N.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 ":""})),ir=function(n){var e=n.callPostLogOutApi,t=n.openLogoutPopup,i=n.onCloseHandler,r=n.onLogoutHandler,s=n.basePath,p=n.siteType,d=void 0===p?"helloSites":p,m=vn();c((function(){document.body.classList.toggle("noscroll",t)}),[t]);return l.createElement(w,{type:"confirm",isOpen:t,closeIcon:l.createElement("img",{src:dn,style:{width:24,height:24},alt:"close-icon"}),onClose:i},l.createElement(er,null,"helloSites"===d&&l.createElement("img",{className:"cancle-img",src:"".concat(s,"/images/arrowDoor.svg"),alt:"close-account"}),l.createElement("h2",null,m("helloSites"===d?"logout.popup.ask1":"logout.popup.ask.mb")),l.createElement("p",null,m("logout.popup.ask2")),l.createElement(tr,{siteType:d},l.createElement(k,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){o(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,null==e?void 0:e()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),l.createElement(k,{className:"cancel-button",color:"primary",size:"lg",onClick:i},m("logout.popup.button.cancel")))))},or=v.div(Bl||(Bl=t(["\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}),N.mbDown,N.mbUp,N.mbDown,N.mbUp,N.mbUp,(function(n){return n.theme.colors.gray200}),N.mbDown,N.mbUp),ar=v.div(Dl||(Dl=t(["\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"])),N.mbUp,N.mbDown),lr=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,a=void 0===o||o,r=n.onClose,s=n.children,c=n.enableAnimation,p=void 0===c||c,d=n.targetAvatar,m=n.id,h=n.className;return l.createElement(l.Fragment,null,l.createElement(or,{"data-open":a,"data-type":t,"data-animation":p,"data-target":d,id:m,className:h},l.createElement("div",{className:"popup-content"},!!i&&l.createElement("div",{className:"close-button",onClick:r},i),s)),l.createElement(ar,{"data-type":t,"data-open":a,onClick:r,id:m?"wrapper-".concat(m):void 0,className:"".concat(h||"","-wrapper")}))},rr=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.locale,a=n.targetAvatar,r=n.userInfo,s=n.ENABLE_CARE_PROFILE_MENU_LOCALES,c=n.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,p=n.closePopup,d=n.siteType,m=void 0===d?"helloSites":d,h=n.dispatchLogout,g=n.userProfileRouterPush,x=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,y=void 0!==f&&f,v=n.togetherApiDomain,b=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},E=function(n){b(n),p()};return l.createElement(lr,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:a,onClose:p},l.createElement(R,{locale:o},l.createElement(u,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){h&&(h(),p())},onClickMenuItem:E,onClickNavigationCard:E,onClickMyProfileButton:function(){b("profile"),p()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:x,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},sr=v.div(Hl||(Hl=t(["\n position: relative;\n"],["\n position: relative;\n"]))),cr=v.div(zl||(zl=t([""],[""]))),pr=v.div(Ul||(Ul=t(["\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"]))),dr=v.div(Fl||(Fl=t(["\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})),mr=v.div(jl||(jl=t(["\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"]))),hr=function(n){var e=n.options,t=n.label,i=n.selected,o=n.onChange,a=n.showSelected,s=void 0===a||a,c=n.style,p=void 0===c?{}:c,d=n.showIndicator,m=void 0===d||d,h=r(!1),g=h[0],u=h[1];return l.createElement(l.Fragment,null,l.createElement(sr,null,l.createElement(cr,{onClick:function(){return u((function(n){return!n}))}},!!t&&t),l.createElement(pr,{"data-is-open":g,style:p,"data-show-indicator":m},e.map((function(n,e){return l.createElement(dr,{key:e,"data-selected":s&&i===n.value,onClick:function(e){i!==n.value&&(o(n.value),u((function(n){return!n}))),e.stopPropagation()}},l.createElement(C,{size:"p3"},n.label),s&&i===n.value&&l.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"}))})))),g&&l.createElement(mr,{onClick:function(){return u(!1)}}))},gr=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},ur=function(n){var t,i=n.siteType,p=n.MetaPageTitle,d=n.MetaPageDescription,h=n.MetaPageImage,g=n.footerInfo,u=n.children,x=n.ssrMenuContent,f=void 0===x?{}:x,y=f.categories,v=void 0===y?[]:y,b=f.healthTools,E=void 0===b?[]:b,w=f.healthToolsByCategory,k=void 0===w?[]:w,C=f.careSpecialties,T=void 0===C?[]:C,_=f.togetherCommunities,L=void 0===_?[]:_,S=f.spotlightsList,I=void 0===S?[]:S,N=n.SEOData,M=void 0===N?{}:N,O=n.UP_BASEPATH,P=void 0===O?G:O,R=n.isStatic,B=void 0!==R&&R,D=n.seoType,H=void 0===D?"website":D,j=n.isMobile,V=n.isMyHealthEnabled,W=void 0!==V&&V,Z=n.logoutHandlers,K=Z.isLogoutPopupOpened,X=Z.callPostLogOutApi,Q=Z.onClosePopup,$=Z.onLogout,nn=n.marryBaby,en=void 0===nn?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:nn,tn=en.tone,on=void 0===tn?"white":tn,an=en.marryBabyApiDomain,ln=en.socialLinks,rn=void 0===ln?{}:ln,sn=rn.facebookLink,pn=void 0===sn?"":sn,dn=rn.instagramLink,mn=void 0===dn?"":dn,hn=rn.linkedinLink,gn=void 0===hn?"":hn,un=rn.twitterLink,xn=void 0===un?"":un,fn=rn.youtubeLink,yn=void 0===fn?"":fn,En=rn.zaloLink,Nn=void 0===En?"":En,Mn=n.statics,Rn=void 0===Mn?{LOCALE_SPECS:U,STATIC_PAGES:F}:Mn,Bn=Rn.DISCOVER_URL_FE,Dn=Rn.TOGETHER_URL_FE,Hn=Rn.MARRY_BABY_FE,zn=Rn.HOME_PAGE_URL,Un=Rn.HEALTH_TOOL_URL_FE,Fn=Rn.CARE_URL_FE,jn=Rn.LOCALE_SPECS,Gn=void 0===jn?U:jn,Yn=Rn.STATIC_PAGES,Vn=void 0===Yn?F:Yn,Wn=n.sso,Zn=void 0===Wn?{}:Wn,Kn=Zn.dispatchLogout,Xn=Zn.SSO_URL,Qn=n.together,qn=void 0===Qn?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Qn,Jn=qn.TOGETHER_MENU_COUNTRIES_ENABLED,$n=qn.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,ne=qn.togetherApiDomain,ee=n.care,te=void 0===ee?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:ee,ie=te.CARE_MENU_COUNTRIES_ENABLED,oe=te.ENABLE_CARE_PROFILE_MENU_LOCALES,ae=te.careApiDomain,le=n.discover,re=(void 0===le?{discoverApiDomain:""}:le).discoverApiDomain,se=n.activeMenuService,ce=void 0===se?"categories":se,pe=n.basePath,de=n.isAmp,me=void 0!==de&&de,he=n.nextHead,ge=n.routerPathname,ue=n.routerQuery,xe=n.routerAsPath,fe=n.locale,ye=n.userState,ve=n.callApiHandler,be=n.userProfileRouterPush,we=n.onTopBarAppears,ke=n.forcedCanonicalUrl,Ce=n.isUserProfileNavigatorMenuHidden,Te=n.sitewideBanner,_e=n.sitewideBannerShown,Le=void 0===_e||_e,Se=n.sponsorComponent,Ie=n.languageOptions,Ae=n.isSearchBarDisplay,Ne=n.ampSubBar,Me=n.isSearchIconDisplayed,Oe=void 0===Me||Me,Pe=n.enabledExperimentalCareHeader,Re=void 0!==Pe&&Pe,Be=n.onCareHeaderClick,De=n.dueDatePopup,He=n.welcomePopup,ze=n.ampNextArticle,Ue=n.usingDefaultHead,Fe=void 0===Ue||Ue,je=n.acceptCookiePopup,Ge=n.seoCustom,Ye=n.hasStickyBottomBar,Ve=void 0===Ye||Ye,We="boolean"==typeof Ae?Ae:!j,Ze=vn(),Ke=Gn[fe||"en-PH"]||{},Xe=m((function(){var n;return(null===(n=xe.split("?"))||void 0===n?void 0:n[0])||""}),[xe]),Qe=m((function(){return"".concat(pe).concat("/"===Xe.slice(-1)?Xe:"".concat(Xe,"/"))}),[Xe]),qe=m((function(){return(null==Ie?void 0:Ie.find((function(n){return n.value!==Qe})))||null}),[Ie,Qe]),Je=r(g),$e=Je[0],nt=Je[1],et=r(v),tt=et[0],it=et[1],ot=r(E),at=ot[0],lt=ot[1],rt=r(k),st=rt[0],ct=rt[1],pt=r(T),dt=pt[0],mt=pt[1],ht=r(L),gt=ht[0],ut=ht[1],xt=r(I),ft=xt[0],yt=xt[1],vt=Bn||"https://".concat(z[fe])||"",bt="undefined"!=typeof window,Et=bt&&document.querySelector("#categories-menu"),wt=Et&&bt&&window.getComputedStyle(Et),kt=wt&&wt.getPropertyValue("left"),Ct=s("0px"===kt),Tt=r(Ct.current),_t=Tt[0],Lt=Tt[1],St=gr(".top-menu-categories"),It=gr(".top-menu-health-tools"),At=gr(".top-menu-communities"),Nt=gr(".top-menu-care-specialties"),Mt=r(St&&"none"!==St?"categories":It&&"none"!==It?"tools":At&&"none"!==At?"communities":Nt&&"none"!==Nt?"care":"none"),Ot=Mt[0],Pt=Mt[1],Rt=m((function(){var n,e;return l.createElement(Gi,null,null===(e=null===(n=fe.split("-"))||void 0===n?void 0:n[0])||void 0===e?void 0:e.toUpperCase(),l.createElement("img",{src:"language"===Ot?"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:Ze("home.navigator.menuItem.language")}))}),[Ot,fe]),Bt=ye.userInfo,Dt=ye.isLoggedIn,Ht=function(n){Ot!==n&&(Pt(n),Lt(!0)),Ot===n&&(Pt("none"),Lt(!1))},zt=function(){Lt(!1),Pt("none")},Ut=function(n,e){"Enter"===n.key&&(window.location.href="".concat(zn,"/search/?s=").concat(e))},Ft=null===(t=null==Gn?void 0:Gn[fe])||void 0===t?void 0:t.SITE_NAME_FORMATTED,jt=[{name:Ze("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:"",isDisplayed:!0},{name:Ze("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:"",isDisplayed:!0}];(null==Jn?void 0:Jn.includes(fe))&&jt.push({name:Ze("home.navigator.menuItem.helloTogether"),id:"together",link:Dn+"/",thumbnail:"",isDisplayed:!0}),(null==ie?void 0:ie.includes(fe))&&jt.push({name:Ze("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:"",isDisplayed:!0}),c((function(){document.documentElement.style.overflow=_t?"hidden":""}),[_t]);var Gt=!!Se;c((function(){Dt&&("first_login"===(null==ue?void 0:ue.source)?(null==Bt?void 0:Bt.email)&&""!==(null==Bt?void 0:Bt.email)?window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,email:null==Bt?void 0:Bt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,sign_up:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:(null==Bt?void 0:Bt.email)&&""!==(null==Bt?void 0:Bt.email)?window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,email:null==Bt?void 0:Bt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,log_in:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}),o(void 0,void 0,void 0,(function(){var n,t;return a(this,(function(o){switch(o.label){case 0:return $e?[3,3]:[4,fetch("helloSites"===i?In(fe,re):(a=an,(a||"https://staging.marrybaby.vn/")+"wp-json/api/"+A(q,e({},l))))];case 1:return[4,o.sent().json()];case 2:return t=o.sent(),[3,4];case 3:t=null,o.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!$e&&nt("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var a,l}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return v&&0!==(null==v?void 0:v.length)||0!==(null==tt?void 0:tt.length)?[3,3]:(o={},[4,fetch(_n(fe,re))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(l=e.data)||void 0===l?void 0:l.length)>0&&(i=e.data.map(wn),0===tt.length&&it(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,e,t,o,l,r,s,c,p;return a(this,(function(a){switch(a.label){case 0:return I&&0!==(null==I?void 0:I.length)||"helloSites"!==i||0!==(null==ft?void 0:ft.length)?[3,3]:(l={},[4,fetch(Sn(fe,re,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,a.sent().json()];case 2:return l.response=a.sent(),t=l,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(p=null===(c=e.data)||void 0===c?void 0:c.articles)||void 0===p?void 0:p.map(On).filter(Pn).slice(0,4),0===ft.length&&yt(o)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c;return a(this,(function(a){switch(a.label){case 0:return(null==E?void 0:E.length)||(null==at?void 0:at.length)||(null==k?void 0:k.length)||(null==k?void 0:k.length)?[3,6]:(s={},"helloSites"!==i?[3,2]:[4,fetch(Ln(fe,re))]);case 1:return l=a.sent(),[3,4];case 2:return[4,fetch((p=an,(p||"https://staging.marrybaby.vn/")+"wp-json/api/"+A(J,e({},d))))];case 3:l=a.sent(),a.label=4;case 4:return[4,l.json()];case 5:return s.response=a.sent(),o=s,[3,7];case 6:o={},a.label=7;case 7:return n=o.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(c=t.data)||void 0===c?void 0:c.length)>0&&("helloSites"===i?(r=t.data.map(Cn),0===at.length&&ct(r)):(r=t.data.map(kn),0===at.length&<(r))),[2]}var p,d}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l,r;return a(this,(function(a){switch(a.label){case 0:return T&&0!==(null==T?void 0:T.length)||!ie.includes(fe)||0!==(null==dt?void 0:dt.length)?[3,3]:(o={},[4,fetch(Tn(fe,ae))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(l=e._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=e._data.specialties,0===dt.length&&mt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c,p,d;return a(this,(function(a){switch(a.label){case 0:return L&&0!==(null==L?void 0:L.length)||!Jn.includes(fe)||0!==(null==gt?void 0:gt.length)?[3,3]:(r={},[4,fetch("helloSites"===i?An(fe,ne):(m=ne,(m||"https://together.hellohealthgroup.com/")+"api/v1/"+A(Y,e(e({},h),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,a.sent().json()];case 2:return r.response=a.sent(),o=r,[3,4];case 3:o={},a.label=4;case 4:return n=o.response,(null===(c=null===(s=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.length)>0&&(l=(null===(d=null===(p=null==t?void 0:t.data)||void 0===p?void 0:p.communities)||void 0===d?void 0:d.map(bn))||[],0===gt.length&&ut(l)),[2]}var m,h}))}))}),[]);var Yt=l.createElement(rr,{locale:fe,UP_BASEPATH:P,SSO_URL:Xn,userProfileRouterPush:be,dispatchLogout:Kn,isOpen:"profile"===Ot,isMyHealthEnabled:W,ENABLE_CARE_PROFILE_MENU_LOCALES:oe,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:$n,closePopup:zt,userInfo:Bt,siteType:i,isUserProfileNavigatorMenuHidden:Ce,togetherApiDomain:ne}),Vt=me&&{"next-page-hide":""};return l.createElement(cn,{SEOData:e({SEOTitle:p,SEOImage:h,SEODescription:d,siteName:Ft,seoType:H},M),isAmp:me,locale:fe,routerPathname:ge,routerQuery:ue,nextHead:he,siteType:i,forcedCanonicalUrl:ke,userId:null==Bt?void 0:Bt.id,usingDefaultHead:Fe,seoCustom:Ge},l.createElement(ir,{basePath:pe,callPostLogOutApi:X,openLogoutPopup:K,onCloseHandler:Q,onLogoutHandler:$,siteType:i}),De,He,je,j?l.createElement(l.Fragment,null,l.createElement(Ui,null,l.createElement("section",e({className:me?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Vt),l.createElement(Ee,{siteType:i,statics:{DISCOVER_URL_FE:vt,SSO_URL:Xn,HOME_PAGE_URL:zn,MARRY_BABY_FE:Hn,CARE_URL_FE:Fn},marryBaby:{tone:on},menuItems:jt,menu:me?void 0:l.createElement(nr,{key:"mobile-menu-popup",menuItems:jt,siteType:i,isMobileMenuOpened:"categories"===Ot,categories:tt,healthTools:at,healthToolsByCategory:st,careSpecialties:dt,togetherCommunities:gt,spotlightsList:ft,onMobileMenuClick:Ht,isMobile:j,closePopup:zt,footer:l.createElement(zi,{locale:fe,isMobile:j,basePath:pe,isAmp:me,footerInfo:$e,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn}}),locale:fe,callApiHandler:ve,basePath:pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,togetherApiDomain:ne||an,TOGETHER_URL_FE:Dn},care:{CARE_MENU_COUNTRIES_ENABLED:ie,careApiDomain:ae,CARE_URL_FE:Fn},discover:{discoverApiDomain:re,DISCOVER_URL_FE:vt},activeMenuService:ce,statics:{DISCOVER_URL_FE:vt,HOME_PAGE_URL:zn,HEALTH_TOOL_URL_FE:Un,MARRY_BABY_FE:Hn,TOGETHER_URL_FE:Dn,STATIC_PAGES:Vn},marryBaby:{tone:on},routerAsPath:xe,popupType:"none",sso:{SSO_URL:Xn}}),profileMenu:Yt,type:"home",currentPopupType:Ot,isMobile:j,isLoginButtonDisplayed:!0,onMenuClick:Ht,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){we&&we(n)},isSearchBarDisplay:We,onSearchKeyPress:Ut,isStatic:me||B,sponsorComponent:Se,locale:fe,userInfo:ye.userInfo,basePath:pe,isAmp:me,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:xe,title:"",sitewideBanner:Te,sitewideBannerShown:Le,isSearchIconDisplayed:Oe,enabledExperimentalCareHeader:Re,languageMenu:void 0!==Ie&&Ie.length>1?l.createElement(l.Fragment,null,2===Ie.length&&qe?l.createElement(Yi,{"data-is-active":!0,href:(null==qe?void 0:qe.value)||"#"},null==qe?void 0:qe.label):l.createElement(hr,{options:Ie,selected:Qe,label:Rt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ne&&l.createElement(l.Fragment,null,Ne)),me?l.createElement(ji,{className:"root-container","data-menu-opened":Ct.current,"data-sponsored":Gt,"data-is-mobile":j,"data-sitewide":!!Te},u,l.createElement(zi,{isAmp:me,isMobile:j,locale:fe,basePath:pe,footerInfo:$e,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn},ampNextArticle:ze,routerQuery:ue})):l.createElement(Fi,{className:"root-container","data-menu-opened":Ct.current,"data-sponsored":Gt,"data-is-mobile":j,"data-sitewide":!!Te,hasStickyBottomBar:Ve},l.createElement(l.Fragment,null,u,l.createElement(zi,{isAmp:me,isMobile:j,locale:fe,basePath:pe,footerInfo:$e,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn},ampNextArticle:ze,routerQuery:ue})))),me&&l.createElement(qt,{locale:fe,categoriesSSR:v,healthToolsSSR:k,spotlightsSSR:I,serviceUrls:{TOGETHER_URL_FE:Dn,CARE_URL_FE:Fn,DISCOVER_URL_FE:vt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:$n,togetherApiDomain:ne},care:{CARE_MENU_COUNTRIES_ENABLED:ie,ENABLE_CARE_PROFILE_MENU_LOCALES:oe,careApiDomain:ae},basePath:pe,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"})})):l.createElement(l.Fragment,null,l.createElement(Ee,{siteType:i,menuItems:jt,marryBaby:{tone:on},locale:fe,currentPopupType:Ot,onSearchKeyPress:Ut,openPopup:function(n){Ot!==n&&Pt(n),Ot===n&&Pt("none")},isMobile:j,isLoginButtonDisplayed:!0,isSearchBarDisplay:!me&&We,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"}),sitewideBannerShown:Le,statics:{DISCOVER_URL_FE:vt,SSO_URL:Xn,HOME_PAGE_URL:zn,MARRY_BABY_FE:Hn,CARE_URL_FE:Fn},menu:l.createElement(nr,{menuItems:jt,siteType:i,isMobile:j,popupType:Ot,closePopup:function(){Pt("none")},categories:tt,healthTools:at,healthToolsByCategory:st,careSpecialties:dt,togetherCommunities:gt,spotlightsList:ft,locale:fe,callApiHandler:ve,basePath:pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,togetherApiDomain:ne,TOGETHER_URL_FE:Dn},care:{careApiDomain:ae,CARE_MENU_COUNTRIES_ENABLED:ie,CARE_URL_FE:Fn},discover:{discoverApiDomain:re,DISCOVER_URL_FE:vt},statics:{DISCOVER_URL_FE:vt,HOME_PAGE_URL:zn,HEALTH_TOOL_URL_FE:Un,MARRY_BABY_FE:Hn,TOGETHER_URL_FE:Dn,STATIC_PAGES:Vn},activeMenuService:ce,marryBaby:{tone:on},routerAsPath:xe,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Xn},onMobileMenuClick:void 0}),profileMenu:Yt,userInfo:ye.userInfo,sponsorComponent:Se,type:"home",basePath:pe,isAmp:me,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:xe,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:Te,languageMenu:void 0!==Ie&&Ie.length>1?l.createElement(l.Fragment,null,2===Ie.length&&qe?l.createElement(Yi,{"data-is-active":!0,href:(null==qe?void 0:qe.value)||"#"},null==qe?void 0:qe.label):l.createElement(hr,{options:Ie,selected:Qe,label:Rt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:Re,onCareHeaderClick:Be}),me?l.createElement(ji,{className:"root-container","data-menu-opened":_t,"data-is-mobile":j,"data-sponsored":Gt,"data-sitewide":!!Te},u):l.createElement(Fi,{className:"root-container","data-menu-opened":_t,"data-is-mobile":j,"data-sponsored":Gt,"data-sitewide":!!Te,hasStickyBottomBar:Ve},u),l.createElement(zi,{type:"main",locale:fe,basePath:pe,isMobile:j,isAmp:me,footerInfo:$e,siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn}})))},xr=function(n){return l.createElement(yn.Provider,{value:{translation:n.translation||fn}},l.createElement(ur,e({},n)))};export{cn as Layout,Ee as NavigationBar,xr as NavigationLayout,xn as SiteWide,Ge as StickySponsoredBy,fn as defaultTranslation};
|
|
1
|
+
import{a as n,_ as e,e as t,b as i,c as o,d as a}from"./tslib.es6-5532bd7b.js";import l,{useState as r,useRef as s,useEffect as c,createContext as p,useContext as d,useMemo as m,useCallback as h}from"react";import{h as g,U as u}from"./index-d07fb5d9.js";import{throttle as x,debounce as f}from"lodash";import{s as y}from"./cookieHelper-0e8521c3.js";import v from"styled-components";import{A as b,s as E,P as w}from"./utils-8a152ba4.js";import{B as k}from"./index-93d22d63.js";import{T as C,a as T,P as _,C as L}from"./index.styled-faeac279.js";import{t as S}from"./theme-a50a1aa5.js";import{L as I}from"./constants-a0a981fa.js";import A from"string-format";import{M as N}from"./screenSizeContext-12f741e1.js";import{H as M}from"./index-7a537be1.js";import"./gAssets.js";import"react-range";import"date-fns";import"./index-58ae0705.js";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"lodash/debounce";import{D as O}from"./index-f8e043bf.js";import P from"react-loading-skeleton";import{T as R}from"./translationsProvider-bc47fc67.js";import"./useTranslations-ad4d9d26.js";import"./en-PH-ca0683d7.js";import"slugify";import"vanilla-lazyload";var B,D,H,z={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},U={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},F={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},j={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},G="user",Y="community?website_url={websiteUrl}",V="topic?community_id={communityId}&website_url={websiteUrl}",W="spotlights?per_page={perPage}&order_by={orderBy}",Z="healthtools?_hasgroup=1",K="categories?type=all",X="footer",Q="api/specialties?_ishome=1&site={domain}",q="menu/footer",J="health-tools",$=99,nn=300,en=400,tn=200,on=210,an=5,ln=6,rn=300,sn={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"}},cn=function(t){var i,o,a,r,s,c,p,d,m,h,u,x,f,y,v,b,E,w,k,C=t.children,T=t.SEOData,_=void 0===T?{}:T,L=t.isAmp,S=void 0!==L&&L,I=t.locale,A=void 0===I?"vi-VN":I,N=t.routerPathname,M=t.routerQuery,O=t.nextHead,P=t.siteType,R=t.seoCustom,B=t.userId,D=t.forcedCanonicalUrl,H=t.usingDefaultHead,F="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,G=_.totalPages,Y=_.currentPage,V=_.SEOTitle,W=void 0===V?"":V,Z=_.SEODescription,K=void 0===Z?"":Z,X=_.SEOImage,Q=_.seoType,q=_.SEOImageWidth,J=_.SEOImageHeight,$=_.customMetaData,nn=void 0===$?[]:$,en=_.isIndexable,tn=void 0===en||en,on=_.hasNoCanonical,an=void 0!==on&&on,ln=tn&&F?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",rn=process.env.NEXT_PUBLIC_BASE_API_URL,sn=_.canonicalUrl||N;Object.keys(M).forEach((function(n){var e=M[n];e&&Array.isArray(e)&&(sn=sn.replace("[...".concat(n,"]"),e.join("/")))}));var cn,pn=A||"en-PH",dn="helloSites"===P?z[pn]:"www.marrybaby.vn",mn=sn.endsWith("/")?"":"/";if(_.apiMetaData&&"string"==typeof _.apiMetaData){var hn=null===(i=_.apiMetaData)||void 0===i?void 0:i.match(/<title.*?>(.*)<\/title>/),gn=" - Page ".concat(Y," of ").concat(G),un=Y&&1!==Y&&hn?_.apiMetaData.replace(hn[0],hn[0].includes("-")?hn[0].replace("-",gn+" - "):"<title>".concat(hn[1].concat(gn),"</title>")).replace('<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,'" />'),'<link rel="canonical" href="https://'.concat(dn).concat(sn).concat(mn,"?page=").concat(Y,'" />')):_.apiMetaData,xn=(cn=g(un,{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(!xn){var fn="https://".concat(dn,"/images/").concat(A,".png");cn=n(n([],cn,!0),[l.createElement("meta",{key:"og:image",property:"og:image",content:(null===(o=_.openGraph)||void 0===o?void 0:o.image)||fn||""}),l.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(a=_.openGraph)||void 0===a?void 0:a.image)||fn}),l.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=_.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(s=_.openGraph)||void 0===s?void 0:s.imageWidth)||"1200"}),l.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(c=_.openGraph)||void 0===c?void 0:c.imageHeight)&&String(null===(p=_.openGraph)||void 0===p?void 0:p.imageHeight)||"630"})],!1)}}var yn="https://".concat(dn,"/images/").concat(A,".png");return l.createElement(l.Fragment,null,O&&H&&l.createElement(O,null,l.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===P&&l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===A?l.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===A||"ms-MY"===A?l.createElement(l.Fragment,null):l.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"}),l.createElement("link",{rel:"preconnect",href:rn}),l.createElement("meta",{charSet:"UTF-8"}),!S&&l.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),l.createElement("meta",{name:"google",content:"notranslate"}),l.createElement("meta",{name:"robots",content:ln}),l.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),nn.map((function(n,t){return l.createElement("meta",e({key:t},n))})),l.createElement("meta",{name:"theme-color",content:"helloSites"===P?"#2c87f3":"#e85388"}),l.createElement("meta",{name:"page_type",content:"Home"}),l.createElement("meta",{name:"page_platform",content:"WEB"}),l.createElement("meta",{name:"page_language",content:pn}),l.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),S&&l.createElement(l.Fragment,null,l.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),l.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),l.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!cn&&l.createElement(l.Fragment,null,"helloSites"===P?l.createElement("title",null,R?W:W+" - "+(null===(d=U[A])||void 0===d?void 0:d.SITE_NAME)):l.createElement("title",null,W),!an&&l.createElement("link",{rel:"canonical",href:"https://".concat(dn).concat(sn)}),l.createElement("meta",{name:"description",content:K||(null===(m=_.openGraph)||void 0===m?void 0:m.description)}),_.schemaData&&l.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:_.schemaData}}),l.createElement("meta",{property:"og:locale",content:A}),l.createElement("meta",{property:"og:type",content:Q||"website"}),l.createElement("meta",{property:"og:title",content:(null===(h=_.openGraph)||void 0===h?void 0:h.title)||W}),l.createElement("meta",{property:"og:description",content:(null===(u=_.openGraph)||void 0===u?void 0:u.description)||K}),l.createElement("meta",{property:"og:url",content:"https://".concat(dn).concat(sn)}),l.createElement("meta",{property:"og:site_name",content:"https://".concat(dn)}),l.createElement("meta",{property:"og:image",content:(null===(x=_.openGraph)||void 0===x?void 0:x.image)||X||yn||""}),l.createElement("meta",{property:"og:image:secure_url",content:(null===(f=_.openGraph)||void 0===f?void 0:f.image)||X||yn}),l.createElement("meta",{property:"og:image:width",content:(null===(y=_.openGraph)||void 0===y?void 0:y.imageWidth)&&String(null===(v=_.openGraph)||void 0===v?void 0:v.imageWidth)||q&&String(q)||"1200"}),l.createElement("meta",{property:"og:image:height",content:(null===(b=_.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(E=_.openGraph)||void 0===E?void 0:E.imageHeight)||J&&String(J)||"630"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),l.createElement("meta",{name:"twitter:title",content:(null===(w=_.twitter)||void 0===w?void 0:w.title)||W}),l.createElement("meta",{name:"twitter:description",content:K}),l.createElement("meta",{name:"twitter:image",content:(null===(k=_.twitter)||void 0===k?void 0:k.image)||X})),("helloSites"===P?j[pn]||[]:j.marryBaby).map((function(n,e){return"link"===n.type?l.createElement("link",{key:"favicon-".concat(e),rel:n.rel,href:n.href,sizes:n.sizes}):"meta"===n.type?l.createElement("meta",{key:e,name:n.name,content:n.content}):null})),Array.isArray(cn)&&D?cn.filter((function(n){return"canonical"!==n.props.name&&"canonical"!==n.props.rel})):cn,D&&l.createElement("link",{rel:"canonical",href:D}),!_.hasNoAmp&&"vi-VN"!==A&&l.createElement("link",{rel:"amphtml",href:"https://".concat(dn).concat(sn).concat(mn,"?amp=1")}),B&&"undefined"!=typeof window?l.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(B,"'});")}}):null),O&&!H&&l.createElement(O,null),C)},pn="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",dn="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",mn="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",hn=v.div(B||(B=t(["\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})),gn=v.div(D||(D=t(["\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"]))),un=v.div(H||(H=t(["\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})),xn=function(n){var t=n.icon,i=n.content,o=n.isCollapsed,a=n.isMobile,p=n.type,d=n.onClose,m=n.setBannerClosed,h=n.dispatch,g=n.dispatchActionType,u=n.cookieName,f=n._overrideCloseHandler,v=n.isAmp,b=n.siteType,E=n.dataEventCategory,w=void 0===E?"Header Banner":E,k=n.dataEventAction,C=void 0===k?"Close Click":k,T=n.dataEventLabel,_=void 0===T?"":T,L=n.dataTracking,S=void 0===L?"true":L,I=r(!1),A=I[0],N=I[1],M=r(!1),O=M[0],P=M[1],R=i;v&&(R=R.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(w,'"'),'data-vars-event-category="'.concat(w,'" data-vars-tracking="').concat(S,'"')));var B=s(64);c((function(){var n=x((function(){window.scrollY<B.current?P(!1):window.scrollY>64&&P(!0),B.current=window.scrollY}),300);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}}),[]);var D="marryBaby"===b,H=D?dn:"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 c((function(){m&&m(A||o||O)}),[m,A,o,O]),l.createElement(hn,{"data-is-mobile":a,"data-is-collapse":A||o||O,"data-is-marrybaby":D},t?l.createElement(gn,{"data-is-marrybaby":D},v?l.createElement("amp-img",{src:t,width:"76",height:"52"}):l.createElement("img",{src:t,className:"icon","data-is-mobile":a})):null,i?l.createElement("span",{className:"content","data-is-marrybaby":D,"data-is-mobile":a,dangerouslySetInnerHTML:{__html:R}}):null,l.createElement(un,e({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":D,"data-vars-event-category":w,"data-vars-event-action":C,"data-vars-event-label":_||"","data-vars-tracking":S||"",className:"amp-close-banner",onClick:function(){N(!0),f?f():(d&&d(),u&&y(u,"true"),p&&h&&h({type:g,payload:{type:p}}))},"data-is-mobile":a}),v?l.createElement("amp-img",{src:H,width:"24",height:"24"}):l.createElement("img",{src:H,className:"close-icon"})))},fn={"navigation.loginJoin":"Login/Join","menu.categories.title":"Choose a service to explore","home.search":"Search {site}","home.navigator.menuItem.spotlights":"All In Focus","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.helloCare":"Book a doctor","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.allSpecialties":"See All Specialties","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allCommunities":"See All Communities","home.navigator.menuItem.allCategories":"See All Categories","footer.sitemap":"Sitemap","footer.signUp":"Sign up to get fitness and nutrition tips, health news, and more.","footer.info.email":"Email: advertiser@hellohealthgroup.com","footer.info.license":"Giấy phép kinh doanh số: 0315857817 do Sở kế hoạch và Đầu tư TP. Hồ Chí Minh cấp ngày 21-8-2019","footer.info.contentResponsibility":"Chịu trách nhiệm quản lý nội dung: Hoàng Diệu Thu","footer.info.companyName":"Công ty TNHH Xin Chào Bác Sĩ","footer.info.certificate":"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 592/GP-BTTTT HN ngày 03/12/2019","footer.info.address":"Địa chỉ: Tầng 5, Tòa nhà Sonatus, 15 Lê Thánh Tôn, P.Bến Nghé, Quận 1, Thành phố Hồ Chí Minh","footer.followUsText":"Follow us","home.menu.category.view":"Xem {category}","menu.care.searchBySpecialties":"Tìm theo chuyên khoa","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.ask.mb":"Đăng xuất khỏi Marry Baby?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","profileMenu.accountSetting":"Account Setting","profileMenu.help":"Help","profileMenu.logout":"Logout","profileMenu.myProfile":"Profile","profileMenu.password":"Password","profileMenu.saved":"My Articles","home.navigator.menuItem.language":"Language","articlePage.sponsoredBy":"Sponsored By","articlePage.sponsoredContentBy":"Content sponsored by","articlePage.sponsoredContent":"Sponsored Content","articlePage.sponsoredArticle":"Sponsored Article","articlePage.sponsoredByStickyPopup.close":"Close","articlePage.sponsoredByStickyPopup.content":"This is a sponsored article, for more information on our Advertising and Sponsorship policy please read our policies.","articlePage.sponsoredByStickyPopup.policies":"Policies","login.booking":"Booking with doctor","cookiePolicies.modal.title":"Please accept our privacy policy","cookiePolicies.modal.description":"Hello Bacsi uses cookies to improve your experience and to show you personalized ads","cookiePolicies.modal.accept":"Accept","cookiePolicies.modal.ourPolicies":"Our Policies"},yn=p({}),vn=function(){var n=d(yn);return function(e,t){var i=(n.translation||{})[e]||fn[e];return i?t?A(i,t):i:function(){throw Error("missing translation "+e)}()}},bn=function(n){return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:(null==n?void 0:n.slug)||"",communityId:null==n?void 0:n.id,color:null==n?void 0:n.color}:{}},En=function(n){var e;return n?{title:(null==n?void 0:n.name)||"",thumbnail:(null==n?void 0:n.thumbnail)||"",communitySlug:"".concat(null===(e=null==n?void 0:n.community)||void 0===e?void 0:e.slug,"/").concat(null==n?void 0:n.slug),communityId:null==n?void 0:n.id}:{}},wn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return wn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},kn=function(n){return n?{icon:n.icon,link:n.link,subtitle:n.subtitle,title:n.title}:{}},Cn=function(n){var e,t;return n?{termId:(null==n?void 0:n.term_id)||0,name:(null==n?void 0:n.name)||"",healthTools:null!==(t=null===(e=null==n?void 0:n.health_tools)||void 0===e?void 0:e.map((function(n){return kn(n)})))&&void 0!==t?t:[]}:{}},Tn=function(n,t,i){return(t||"https://service-health-care.hellohealthgroup.com/")+A(Q,e(e({},i),{domain:z[n]}))},_n=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(K,e({},i))},Ln=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(Z,e({},i))},Sn=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(W,e({},i))},In=function(n,t,i){return(t||"https://wp.".concat(z[n],"/"))+"wp-json/api/"+A(X,e({},i))},An=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+A(Y,e(e({},i),{websiteUrl:"https://".concat(z[n])}))},Nn=function(n,t,i){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+A(V,e(e({},i),{websiteUrl:"https://".concat(z[n])}))},Mn=function(n){var e,t=n.type,i=n.specialtySlug,o=n.locale;return"/".concat(I[o].ALL,"/").concat((null===(e=I[o])||void 0===e?void 0:e[t])||"doctor","/").concat(null!=i?i:"")},On=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Pn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Rn=v.header(qn||(qn=t(["\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}),$,nn,en),Bn=v.header(Jn||(Jn=t(["\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"]))),Dn=v.div($n||($n=t(["\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"]))),Hn=v.div(ne||(ne=t(["\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}),an,ln,rn),zn=v.div(ee||(ee=t(["\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})),Un=v.div(te||(te=t(["\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"]))),Fn=v.div(ie||(ie=t(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),jn=v.div(oe||(oe=t(["\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})),Gn=v.div(ae||(ae=t(["\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})),Yn=v.div(le||(le=t(["\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"]))),Vn=v.div(re||(re=t(["\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"]))),Wn=v.div(se||(se=t(["\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"]))),Zn=v.div(ce||(ce=t(["\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})),Kn=v.div(pe||(pe=t(["\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}),N.mbDown),Xn=v.div(de||(de=t(["\n display: block;\n"],["\n display: block;\n"]))),Qn=v.div(me||(me=t([""],[""])));v.div(he||(he=t(["\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 qn,Jn,$n,ne,ee,te,ie,oe,ae,le,re,se,ce,pe,de,me,he,ge,ue=v.div(ge||(ge=t(["\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}));function xe(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function fe(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function ye(n){var e=n.siteType,t=n.type;return"helloSites"===e?l.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:t}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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 ve(n){var t,i,o=n.type,a=n.isStatic,r=n.isAmp,s=n.isDisplayed,c=n.siteType,p=n.isCollapsed,d=n.sitewideBannerShown,m=n.sitewideBanner,h=n.sitewideBannerClosed,g=n.setSitewideBannerClosed,u=n.isMobile,x=n.onMenuClick,f=n.menu,y=n.isSearchIconDisplayed,v=n.statics,b=v.DISCOVER_URL_FE,E=v.SSO_URL,w=v.HOME_PAGE_URL,L=v.CARE_URL_FE,S=n.basePath,I=n.languageMenu,A=n.enabledExperimentalCareHeader,N=n.onCareHeaderClick,O=n.logoType,P=n.locale,R=n.isInit,B=n.title,D=n.sponsorComponent,H=n.currentUrl,z=n.userInfo,U=n.currentPopupType,F=n.avatar,j=n.profileMenu,G=n.isLoginButtonDisplayed,Y=n.goToLogin,V=n.isSearchBarDisplay,W=n.searchPlaceholder,Z=n.onSearchValueChanged,K=n.keyPressed,X=vn(),Q=!!D,q=!!(null===(i=null===(t=null==D?void 0:D.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),J=d&&!!m&&!h,$=be({isSiteWide:!!m&&!h,isShowingSiteWideBanner:J,isSponsored:Q,hasSponsoredBanners:q,isMobile:!0}),nn=$.headerRef,en=$.headerHeight;return l.createElement(l.Fragment,null,l.createElement(Rn,{"data-header-type":o,"data-collapsed":!a&&p,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":s,"data-is-amp":r,"data-sponsored":Q,"data-site-type":c,"data-sitewide-banner-shown":J,id:"site-header",ref:nn},m?l.isValidElement(m)?l.cloneElement(m,{isCollapsed:p,setBannerClosed:g,isAmp:r,isMobile:u}):m:null,l.createElement("div",{style:e(e({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==I||A?{paddingLeft:A?48:64,gap:24,justifyContent:"unset"}:{})},l.createElement(Bn,null,l.createElement(Dn,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},l.createElement("div",{onClick:function(){return null==x?void 0:x("categories")}},"home"===o&&l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},l.createElement(ye,{siteType:c,type:o})),"popup"===o&&l.createElement(fe,null),"popup-sub-level"===o&&l.createElement(xe,null)),f),y&&"helloSites"===c&&"home"===o&&l.createElement(Dn,{style:{paddingRight:16}},l.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")},l.createElement("img",{src:"".concat(S,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&l.createElement(Kn,{"data-is-profile":!0,className:R?"":"menu-handler-health-tools"},l.createElement("div",{className:"menu-handler-item"},y&&"marryBaby"===c&&"home"===o&&l.createElement(Dn,{style:{justifySelf:"flex-end"}},l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(b,"/search?s=&page=1")},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),A&&l.createElement(l.Fragment,null,N?l.createElement(k,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:H,onClick:function(n){return N(n)}},X("login.booking")):l.createElement("a",{href:L,className:"care-button"},l.createElement(k,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:H},X("login.booking")))),(null==z?void 0:z.id)?l.createElement(Vn,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return x&&x("profile")}},"profile"===U?l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):F),j):r?l.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":H,href:"".concat(E,"?returnUrl=").concat(H.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===P?l.createElement(ue,{onClick:Y},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:Y},X("navigation.loginJoin"))):G&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":H},A?l.createElement(ue,{onClick:Y},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:Y},X("navigation.loginJoin")):l.createElement("div",{className:"login-btn-mobile",onClick:Y,style:{paddingLeft:16}},l.createElement(C,{size:"p3"},X("navigation.loginJoin")))))),("home"===o||"popup"===o)&&l.createElement("a",{href:w||""},l.createElement(T,{type:O,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===P?l.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==I&&l.createElement(Zn,{"data-is-active":!0,className:R?"":"menu-handler-language",onClick:function(){x&&x("language")}},I),B&&l.createElement(M,{className:"top-bar-header",tag:"h5"},B)),D?l.isValidElement(D)?l.cloneElement(D,{isCollapsed:p,locale:P,isMobile:u,isAmp:r}):D:null),V?l.createElement(Hn,{"data-header-type":o,"data-is-displayed":s,"data-sitewide-banner-shown":d&&!!m},l.createElement(_,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(R?"":"-temp"),size:"md",placeholder:W,onChange:Z,onKeyPress:K,type:"search",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):l.createElement(l.Fragment,null,!r&&l.createElement("div",{style:{height:en}})))}var be=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,l=s(null),p=r(0),d=p[0],g=p[1],u=h(f((function(){var n,e=(null===(n=l.current)||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=e+30&&g(e)}),100),[]);c((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),c((function(){u()}),[t,o,i,e,l.current]);var x=m((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40),n}),[a,o,i]);return{headerHeight:d||x,headerRef:l}},Ee=function(n){var e,t,i,o=n.siteType,a=n.basePath,p=n.statics,d=n.currentPopupType,g=void 0===d?"none":d,u=n.isDisplayed,f=void 0===u||u,y=n.isSearchBarDisplay,v=void 0===y||y,E=n.searchPlaceholder,w=void 0===E?"":E,C=n.openPopup,I=n.onTopBarAppears,A=n.onSearchChange,N=n.onSearchKeyPress,M=n.menu,O=n.isAmp,P=n.profileMenu,R=n.isMobile,B=void 0!==R&&R,D=n.isLoginButtonDisplayed,H=n.title,F=n.type,j=void 0===F?"home":F,G=n.onMenuClick,Y=n.isStatic,V=void 0!==Y&&Y,W=n.routerAsPath,Z=n.locale,K=n.userInfo,X=n.marryBaby,Q=(void 0===X?{tone:"white"}:X).tone,q=n.menuItems,J=void 0===q?[]:q,$=n.isInit,nn=n.sitewideBanner,en=n.sitewideBannerShown,tn=void 0===en||en,on=n.sponsorComponent,an=n.languageMenu,ln=n.isSearchIconDisplayed,rn=void 0!==ln&&ln,sn=n.enabledExperimentalCareHeader,cn=n.onCareHeaderClick,pn=p.SSO_URL,dn=p.HOME_PAGE_URL,mn=p.CARE_URL_FE,hn=vn(),gn=!!on,un=r(!1),xn=un[0],fn=un[1],yn=r(!1),bn=yn[0],En=yn[1],wn=r(!1),kn=wn[0],Cn=wn[1],Tn=r($||!1),_n=Tn[0],Ln=Tn[1],Sn=s(47),In=s(!1),An=s(!1),Nn="helloSites"===o?"https://".concat(z[Z]).concat(W):"https://www.marrybaby.vn".concat(W),Mn=m((function(){var n=(null==K?void 0:K.name)||(null==K?void 0:K.username);return l.createElement(b,{type:"rounded",size:"small",avatarUrl:null==K?void 0:K.avatar,firstLetter:n&&n.length?n[0].toUpperCase():"A",backgroundColor:"marryBaby"===o?S.mbColors.pink:S.colors.secondaryBase,isAmp:O})}),[null==K?void 0:K.username,null==K?void 0:K.name,null==K?void 0:K.avatar]),On=function(){var n=window.location.href;window.location.href=pn?"".concat(pn,"?returnUrl=").concat(n):n},Pn="helloSites"===o?null===(e=U[Z])||void 0===e?void 0:e.LOGO_TYPE:o,Rn="undefined"!=typeof window,Bn=function(n){null==A||A(n)},Dn=h(x((function(){var n;if("home"===j){var e=window,t=null===(n=document.querySelector(".sticky-container"))||void 0===n?void 0:n.clientHeight;Rn&&e&&(e.scrollY>Sn.current&&e.scrollY>64&&!In.current&&(In.current=!0,fn(!0)),e.scrollY<Sn.current&&In.current&&(In.current=!1,fn(!1),t&&e.scrollY),e.scrollY<Sn.current&&t&&e.scrollY,v?(e.scrollY<64&&e.scrollY<Sn.current&&An.current&&(An.current=!1),e.scrollY>8&&e.scrollY>Sn.current&&!An.current&&(An.current=!0)):An.current=!0,e.scrollY>=0&&(Sn.current=e.scrollY))}}),300),[]);c((function(){null==I||I(!xn)}),[xn]);var Hn=function(n){var e,t;N&&N(n,null!==(t=null===(e=document.getElementById("search-input-"+j))||void 0===e?void 0:e.value)&&void 0!==t?t:"")};c((function(){B&&Dn()}),[]),c((function(){return window.addEventListener("scroll",Dn,{passive:!0}),function(){window.removeEventListener("scroll",Dn)}}),[]),c((function(){Ln(!0)}),[]),c((function(){"undefined"!=typeof window&&Cn(Boolean(kn))}),[]);var Xn=l.createElement(l.Fragment,null,J.find((function(n){return"categories"===n.id}))&&l.createElement(Zn,{"data-is-active":"categories"===g,className:_n?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==C||C("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)}},l.createElement("div",{className:"menu-handler-item"},hn("home.navigator.menuItem.discover"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&l.createElement("div",null,M)),J.find((function(n){return"healthTools"===n.id}))&&l.createElement(Zn,{"data-is-active":"tools"===g,className:_n?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("tools")}},hn("home.navigator.menuItem.healthTools"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&l.createElement("div",null,M)),J.find((function(n){return"care"===n.id}))&&!sn&&l.createElement(Zn,{"data-is-active":"care"===g,className:_n?"":"menu-handler-care-specialties",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("care")}},hn("home.navigator.menuItem.helloCare"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&l.createElement("div",null,M)),J.find((function(n){return"together"===n.id}))&&l.createElement(Zn,{"data-is-active":"communities"===g,className:_n?"":"menu-handler-communities",tabIndex:0},l.createElement("div",{className:"menu-handler-item",onClick:function(){C&&C("communities")}},hn("home.navigator.menuItem.helloTogether"),l.createElement(Wn,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&l.createElement("div",null,M))),Qn=!!(null===(i=null===(t=null==on?void 0:on.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),qn=tn&&!!nn&&!bn,Jn=be({isSiteWide:!!nn&&!bn,isShowingSiteWideBanner:qn,isSponsored:gn,hasSponsoredBanners:Qn}),$n=Jn.headerRef,ne=Jn.headerHeight;return B?l.createElement(ve,{type:j,isStatic:V,isAmp:O,isDisplayed:f,siteType:o,isCollapsed:xn,sitewideBannerShown:tn,sitewideBanner:nn,sitewideBannerClosed:bn,setSitewideBannerClosed:En,isMobile:B,onMenuClick:G,menu:M,isSearchIconDisplayed:rn,statics:p,basePath:a,languageMenu:an,enabledExperimentalCareHeader:sn,logoType:Pn,locale:Z,isInit:_n,title:H,sponsorComponent:on,currentUrl:Nn,userInfo:K,currentPopupType:g,avatar:Mn,profileMenu:P,isLoginButtonDisplayed:D,goToLogin:On,isSearchBarDisplay:v,searchPlaceholder:w,onSearchValueChanged:Bn,keyPressed:Hn}):l.createElement(l.Fragment,null,l.createElement("div",{style:{height:ne}}),l.createElement(zn,{ref:$n,"data-site-type":o,"data-marry-baby-tone":"marryBaby"===o&&Q,"data-sponsored":gn,"data-sitewide-banner-shown":qn},nn?l.isValidElement(nn)?l.cloneElement(nn,{isCollapsed:xn,setBannerClosed:En}):nn:null,l.createElement(L,{style:{height:69,padding:"0 16px"},type:o},l.createElement(Un,null,l.createElement(Fn,null,l.createElement("a",{href:dn},l.createElement(jn,{"data-is-having-border":"helloSites"===o},l.createElement(T,{style:{display:"flex"},type:Pn,height:"27px",width:"121px",badge:"id-ID"===Z?l.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===o&&l.createElement(Gn,{"data-header-type":j,"data-is-displayed":f,"data-sitewide-banner-shown":tn&&!!nn},l.createElement(_,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:S.colors.white},name:"search-input-"+j+(_n?"":"-temp"),size:"sm",placeholder:w,onChange:Bn,onKeyPress:Hn,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"===o&&l.createElement("div",{style:{marginLeft:28,display:"flex"}},Xn)),l.createElement(Yn,null,"helloSites"===o&&Xn,v&&"marryBaby"===o&&l.createElement(Gn,{"data-header-type":j,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===o,"data-marry-baby-theme":Q},l.createElement(_,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(_n?"":"-temp"),size:"sm",placeholder:w,onChange:Bn,onKeyPress:Hn,displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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!==an&&l.createElement(Zn,{"data-is-active":!0,className:_n?"":"menu-handler-language",onClick:function(){C&&C("language")}},an),l.createElement(Kn,{"data-is-active":"profile"===g,"data-is-profile":!0,className:_n?"":"menu-handler-health-tools",tabIndex:0},l.createElement("div",{className:"menu-handler-item"},sn&&l.createElement(l.Fragment,null,cn?l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Nn,onClick:function(n){return cn(n)}},hn("login.booking")):l.createElement("a",{href:mn,className:"care-button no-replace-click"},l.createElement(k,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Nn},hn("login.booking")))),(null==K?void 0:K.id)?l.createElement(Vn,{style:{position:"relative"}},l.createElement("div",{onClick:function(){return C&&C("profile")}},Mn),P):D&&l.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Nn},sn?l.createElement(ue,{onClick:On},l.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===o?l.createElement(k,{size:"md",color:"secondary",onClick:On},hn("navigation.loginJoin")):l.createElement(k,{size:"md",color:"secondary",theme:"marryBaby",onClick:On},hn("navigation.loginJoin")))))))),on?l.isValidElement(on)?l.cloneElement(on,{isCollapsed:xn,locale:Z,isMobile:B,isAmp:O}):on:null))};v.div(we||(we=t(["\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 we,ke,Ce,Te,_e,Le,Se,Ie,Ae,Ne,Me,Oe,Pe,Re,Be,De,He,ze,Ue,Fe=v.div(ke||(ke=t(["\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}),N.mbUp),je=v.div(Ce||(Ce=t(["\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"])),N.mbDown,N.mbUp),Ge=function(n){var e=n.className,t=n.isMobile,i=n.isCollapsed,o=n.sponsoredType,a=n.sponsoredBy,s=n.isAmp,c=n.locale,p=vn(),d=r(!1),m=d[0],h=d[1];return l.createElement(Fe,{className:e,onClick:function(){return h(!0)},"data-show-popup":m&&(!t||!i)&&!s,"data-align-left":a&&!!(null==a?void 0:a.logo),"data-is-amp":s||void 0},l.createElement(L,{style:{position:"relative",padding:"0 16px"}},"content"===o?l.createElement(C,{size:t?"p4":"p3",color:"#737373"},l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mn}):l.createElement("img",{src:mn,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),a&&(null==a?void 0:a.logo)?l.createElement(l.Fragment,null," ",p("articlePage.sponsoredContentBy")," ",l.createElement("img",{className:"sponsored-logo",src:(null==a?void 0:a.logo)||"",alt:"sponsored-logo"})):p("articlePage.sponsoredContent")):l.createElement(C,{size:"p2",color:"#737373"},p("articlePage.sponsoredArticle"),l.createElement("div",{className:"sticky-sponsored-info-icon"},s?l.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:mn,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):l.createElement("img",{src:mn,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!m||t&&i||s?null:l.createElement(Ye,{sponsoredBy:a,isAmp:s,onClose:function(){return h(!1)},locale:c})))},Ye=function(n){var e=n.sponsoredBy,t=n.isAmp,i=n.onClose,o=n.locale||"en-PH",a=vn();return l.createElement(je,{"data-align-left":e&&!!(null==e?void 0:e.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},l.createElement(C,{size:"p3",style:{marginBottom:"1rem"}},a("articlePage.sponsoredByStickyPopup.content")),l.createElement("div",{className:"button-container",onClick:function(n){n.stopPropagation()}},l.createElement(k,{size:"md",color:"secondary",onClick:i,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},a("articlePage.sponsoredByStickyPopup.close")),l.createElement(k,{size:"md",onClick:function(){window.location.href="/static".concat(F[o].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(F[o].ADVERTISING_SPONSOR_POLICY,"')")},a("articlePage.sponsoredByStickyPopup.policies"))))},Ve=v.div(Te||(Te=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),We=v.div(_e||(_e=t(["\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"]))),Ze=v.div(Le||(Le=t(["\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})),Ke=v.div(Se||(Se=t(["\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})),Xe=v.div(Ie||(Ie=t([""],[""]))),Qe=v.div(Ae||(Ae=t(["\n display: flex;\n"],["\n display: flex;\n"]))),qe=v.div(Ne||(Ne=t(["\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"])),N.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})),Je=v.div(Me||(Me=t(["\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"]))),$e=v.div(Oe||(Oe=t(["\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"])),tn),nt=v.div(Pe||(Pe=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),et=v.div(Re||(Re=t(["\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"]))),tt=v.div(Be||(Be=t(["\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"]))),it=v.div(De||(De=t(["\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})),ot=v.div(He||(He=t(["\n display: none;\n"],["\n display: none;\n"]))),at=v.div(ze||(ze=t(["\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"]))),lt=v.div(Ue||(Ue=t(["\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})),rt=v.div(ft||(ft=t(["\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"]))),st=v.div(yt||(yt=t(["\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})),ct=v.div(vt||(vt=t(["\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"]))),pt=v.div(bt||(bt=t(["\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})),dt=v.div(Et||(Et=t(["\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"]))),mt=v.div(wt||(wt=t(["\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"]))),ht=v.div(kt||(kt=t(["\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}));v.div(Ct||(Ct=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var gt=v.div(Tt||(Tt=t(["\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}));v.div(_t||(_t=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var ut=v.div(Lt||(Lt=t(["\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"])));v.div(St||(St=t(["\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"])),tn),v.div(It||(It=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),v.div(At||(At=t(["\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"]))),v.div(Nt||(Nt=t(["\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"]))),v.div(Mt||(Mt=t(["\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})),v.div(Ot||(Ot=t(["\n display: none;\n"],["\n display: none;\n"]))),v.div(Pt||(Pt=t(["\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})),v.div(Rt||(Rt=t(["\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 xt=v.div(Bt||(Bt=t(["\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"])));v.div(Dt||(Dt=t(["\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"]))),v.div(Ht||(Ht=t(["\n display: block;\n"],["\n display: block;\n"]))),v.div(zt||(zt=t(["\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 ft,yt,vt,bt,Et,wt,kt,Ct,Tt,_t,Lt,St,It,At,Nt,Mt,Ot,Pt,Rt,Bt,Dt,Ht,zt,Ut,Ft,jt,Gt,Yt,Vt,Wt=v.div(Ut||(Ut=t(["\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})),Zt=v.div(Ft||(Ft=t(["\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"]))),Kt=function(){return l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}))},Xt=v.div(jt||(jt=t(["\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})),Qt=v.a(Gt||(Gt=t(["\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})),qt=function(n){var e=n.locale,t=n.categoriesSSR,i=n.healthToolsSSR,o=n.spotlightsSSR,a=n.serviceUrls,r=n.together,s=n.care,c=n.basePath,p=n.searchPlaceholder,d=vn();return l.createElement(Xt,null,l.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},l.createElement("amp-nested-menu",{layout:"fill"},l.createElement("ul",{style:{paddingBottom:24}},l.createElement("div",{className:"amp__menu-header"},l.createElement(Xn,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),l.createElement("div",{className:"logo"},l.createElement(T,{height:"32px",width:"121px",type:U.LOGO_TYPE,isAmp:!0,badge:"id-ID"===e?l.createElement("amp-img",{src:"",width:"56",height:"23"}):void 0})),l.createElement("div",null)),l.createElement(Qt,{href:"/search"},l.createElement(Kt,null),l.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),l.createElement("div",{className:"categories__spotlight"},l.createElement(Qn,{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},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.discover"))),l.createElement(Qn,{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'"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.TOGETHER_URL_FE},l.createElement(Qn,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.together")))),s.CARE_MENU_COUNTRIES_ENABLED.includes(e)&&l.createElement("a",{href:a.CARE_URL_FE},l.createElement(Qn,{role:"button",tabIndex:1,className:"nav-card"},l.createElement("amp-img",{src:"",width:"48",height:"48"}),l.createElement("span",null,d("home.navigator.menuItem.helloCare"))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},l.createElement(M,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(n){return l.createElement("li",{key:n.name},l.createElement("a",{href:n.permalink},n.displayName))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/categories/")},l.createElement(qe,{key:"all-categories"},d("home.navigator.menuItem.allCategories"),l.createElement(xt,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allCategories")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},l.createElement(M,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},d("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(n){return l.createElement("li",{key:n.id,className:"spotlight-li"},l.createElement("a",{href:n.permalink},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(a.DISCOVER_URL_FE,"/spotlight/")},l.createElement(qe,{key:"all-spotlight"},d("home.navigator.menuItem.allSpotlight"),l.createElement(xt,null,l.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:d("home.navigator.menuItem.allSpotlight")}))))),l.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(n,e){return n.healthTools&&n.healthTools.length>0&&l.createElement(l.Fragment,{key:e},l.createElement(M,{tag:"h4",fontWeight:"bold"},n.name),n.healthTools.map((function(n){return l.createElement("li",{key:n.title,className:"health-tool"},l.createElement("a",{href:n.link},l.createElement("amp-img",{width:"32",height:"32",src:n.icon}),l.createElement("span",null,n.title)))})))})))))))},Jt=v.footer(Yt||(Yt=t(["\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"])),N.mbDown,N.mbDown,N.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.neutral500}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbUp),$t=v.div(Vt||(Vt=t(["\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"]))),ni=function(n){var e=n.url,t=n.isMobile,i=n.dataEventCategory,o=n.dataEventAction,a=n.dataEventLabel;return l.createElement($t,{"data-is-mobile":t},l.createElement("img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":a}))},ei=function(n){var e,t,i,o,a,r,s,c,p,d,m,h,g,u,x,f,y,v,b,E,w,T,_,I,A,N,M,O,P,R,B,D,H,U,F,j=n.className,G=n.type,Y=void 0===G?"main":G,V=n.footerInfo,W=n.isMobile,Z=n.locale,K=n.isAmp,X=vn(),Q=null==V?void 0:V.menu;return l.createElement(Jt,{as:K&&"mini"===Y?"div":"footer",className:j,style:"mini"===Y?{backgroundColor:S.colors.neutral50}:{},"next-page-hide":!0},l.createElement(L,null,l.createElement("div",{className:"inner","data-type":Y,"next-page-hide":""},"main"===Y?l.createElement(l.Fragment,null,l.createElement("a",{href:"/"},K?(null===(t=null==V?void 0:V.general)||void 0===t?void 0:t.logo)?l.createElement("amp-img",{src:null===(i=null==V?void 0:V.general)||void 0===i?void 0:i.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:l.createElement("img",{className:"footer-logo",src:null===(e=null==V?void 0:V.general)||void 0===e?void 0:e.logo,alt:"Logo","data-is-sehat":"id-ID"===Z})),l.createElement("div",{className:"columns"},l.createElement("div",{className:"newsletter"},l.createElement(C,{size:"p1",type:"bold"},null===(o=null==V?void 0:V.general)||void 0===o?void 0:o.content),l.createElement(k,{className:"signupButton",color:"primary",size:"lg"},X("footer.signUp")),l.createElement("div",{className:"social"},l.createElement(C,{size:"sm",type:"regular"},null===(a=null==V?void 0:V.social)||void 0===a?void 0:a.title),l.createElement("div",{className:"icons"},null===(s=null===(r=null==V?void 0:V.social)||void 0===r?void 0:r.socials)||void 0===s?void 0:s.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},K?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),l.createElement("hr",{className:"hrMobile"}))),l.createElement("div",null,Q&&l.createElement(l.Fragment,null,l.createElement("div",{className:"biglinks"},null===(p=null===(c=Q[0])||void 0===c?void 0:c.items)||void 0===p?void 0:p.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(d=Q[1])||void 0===d?void 0:d.menu_title),null===(h=null===(m=Q[1])||void 0===m?void 0:m.items)||void 0===h?void 0:h.map((function(n,e){return l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url),className:"link",href:n.url,key:e},l.createElement(C,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(z[Z]).concat(n.url)},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(g=Q[2])||void 0===g?void 0:g.menu_title),null===(x=null===(u=Q[2])||void 0===u?void 0:u.items)||void 0===x?void 0:x.map((function(n,e){return n.url&&l.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},l.createElement(C,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!K&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"otherSites"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(f=null==V?void 0:V.branch)||void 0===f?void 0:f.title),l.createElement("div",{className:"flags"},null===(v=null===(y=null==V?void 0:V.branch)||void 0===y?void 0:y.branch)||void 0===v?void 0:v.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},l.createElement(ni,{url:n.flag,isMobile:W,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url}))}))))))),l.createElement("hr",null),l.createElement("div",{className:"copyright","data-is-amp":K||void 0},(null===(b=null==V?void 0:V.general)||void 0===b?void 0:b.verified)&&l.createElement("a",{href:null===(w=null===(E=null==V?void 0:V.general)||void 0===E?void 0:E.verified[0])||void 0===w?void 0:w.url,className:"copyright-image"},K?l.createElement("amp-img",{src:null===(_=null===(T=null==V?void 0:V.general)||void 0===T?void 0:T.verified[0])||void 0===_?void 0:_.image,alt:"DMCA Icon",width:"100",height:"36"}):l.createElement("img",{src:null===(A=null===(I=null==V?void 0:V.general)||void 0===I?void 0:I.verified[0])||void 0===A?void 0:A.image,alt:"DMCA Icon"})),l.createElement(C,{size:"xs",type:"regular",className:"copyright-content"},null===(N=null==V?void 0:V.general)||void 0===N?void 0:N.copyright)),"vi-VN"===Z&&l.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")):l.createElement(l.Fragment,null,(null==V?void 0:V.menu)&&l.createElement("div",{className:"columns"},l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==V?void 0:V.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(O=null==V?void 0:V.menu[1])||void 0===O?void 0:O.items)||void 0===P?void 0:P.map((function(n){return l.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(z[Z]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(z[Z]).concat(n.url)},l.createElement(C,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(z[Z]).concat(n.url),size:"sm",type:"regular",style:{color:S.colors.gray800}},n.title))}))),l.createElement("div",{className:"mHalf"},l.createElement(C,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==V?void 0:V.menu[2])||void 0===R?void 0:R.menu_title),null===(D=null===(B=null==V?void 0:V.menu[2])||void 0===B?void 0:B.items)||void 0===D?void 0:D.map((function(n,e){return l.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},l.createElement(C,{size:"sm",type:"regular",style:{color:S.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!K&&"mini"!==Y&&l.createElement("hr",{className:"hrMobile"}),l.createElement("div",{className:"newsletter"},l.createElement("div",{className:"social"},l.createElement(C,{size:"sm",type:"regular"},null===(H=null==V?void 0:V.social)||void 0===H?void 0:H.title),l.createElement("div",{className:"icons"},null===(F=null===(U=null==V?void 0:V.social)||void 0===U?void 0:U.socials)||void 0===F?void 0:F.map((function(n,e){return l.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},K?l.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):l.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};v((function(n){var e=n.type,t=i(n,["type"]);return l.createElement(e,t)}))(ti||(ti=t(["\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 ti,ii,oi=v.p(ii||(ii=t(["\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})),ai=function(n){var t=n.type,o=n.color,a=n.style,r=i(n,["type","color","style"]);return l.createElement(oi,e({"data-type":t,style:e(e({},a),o&&{"--text-color":o})},r))};v.footer(li||(li=t(["\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}),N.mbDown,N.mbDown,(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbUp,N.mbUp,(function(n){return n.theme.colors.white}),N.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbDown,(function(n){return n.theme.colors.neutral500}),N.mbDown,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),N.mbUp);var li,ri,si,ci,pi,di,mi,hi,gi,ui,xi,fi,yi,vi,bi,Ei,wi,ki,Ci,Ti,_i,Li,Si,Ii,Ai,Ni=v.div(ri||(ri=t([""],[""]))),Mi=v.div(si||(si=t(["\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"]))),Oi=v.div(ci||(ci=t(["\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"])),N.mbDown),Pi=v.div(pi||(pi=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.gray800}),N.mbDown,N.mbUp,N.mbDown),Ri=v.div(di||(di=t(["\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"])),N.mbUp,N.mbDown),Bi=v.div(mi||(mi=t(["\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"])),N.mbDown,N.mbDown,N.mbDown,(function(n){return n.theme.mbColors.midGray}),N.mbDown,N.mbDown,N.mbDown,(function(n){return n.theme.mbColors.midGray})),Di=v.div(hi||(hi=t(["\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"]))),Hi=function(n){var e,t=n.socialLinks,i=void 0===t?sn.SOCIAL_LINKS:t,o=i.facebookLink,a=i.instagramLink,r=i.zaloLink,s=i.youtubeLink,c=n.copyrightText,p=n.logoType,d=void 0===p?"marryBaby":p,m=n.isMobile,h=n.footerMenu,g=void 0===h?[]:h,u=n.type,x=void 0===u?"main":u,f=vn();return"main"===x?l.createElement(Ni,{className:"footer-container"},!m&&l.createElement("div",{className:"footer-divider"},l.createElement(L,{type:"marryBaby"},l.createElement(O,{style:{padding:"0 16px"},type:"solid"}))),l.createElement(Oi,null,l.createElement(L,{type:"marryBaby"},l.createElement(Pi,null,l.createElement("div",{className:"grid"},null===(e=m?null==g?void 0:g.slice(0,6):g)||void 0===e?void 0:e.map((function(n,e){var t=n.title,i=n.link;return l.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(e)},l.createElement(ai,{color:S.colors.gray800,type:"subtitle-2"},t))})),l.createElement("div",{className:"social-wrapper"},l.createElement("div",{className:"social"},l.createElement(ai,{type:"subtitle-2"},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("img",{src:"",alt:"Facebook"})),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("img",{src:"",alt:"Youtube"})),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("img",{src:"",alt:"Instagram"})),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("img",{src:"",alt:"Zalo"}))))))))),l.createElement(Ri,null,l.createElement(L,{type:"marryBaby"},l.createElement(Bi,null,l.createElement(T,{className:"logo",type:d,width:"121px"}),l.createElement(ai,{className:"company-name",type:"subtitle-2"},f("footer.info.companyName")),l.createElement("div",{className:"text-info"},l.createElement(ai,{type:"bodytext-3"},f("footer.info.address")),l.createElement(ai,{type:"bodytext-3"},f("footer.info.license")),l.createElement(ai,{type:"bodytext-3"},f("footer.info.email"))),l.createElement("div",{className:"img-container"},l.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),l.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&l.createElement(O,{type:"solid"}),l.createElement("div",{className:"language-and-copyright"},l.createElement(ai,{type:"bodytext-3"},c)))))):l.createElement(Mi,null,l.createElement(Di,null),l.createElement(ai,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:S.sizes.fwSemiBold},color:S.mbColors.midGray},f("footer.followUsText")),l.createElement("div",{className:"icons-links"},o&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":o,href:o},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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)"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#4DABF7"}),l.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),s&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":s,href:s},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}))),a&&l.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":a,href:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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)"}),l.createElement("defs",null,l.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)"},l.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),l.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),l.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),l.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),l.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),l.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),l.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),l.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),l.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),l.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),l.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),r&&l.createElement("a",{target:"_blank",rel:"noreferrer",href:r,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":r},l.createElement("div",{style:{height:24,width:24}},l.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},zi=function(n){var t,i,o,a,r,s,c,p,d,m,h,g=n.type,u=n.isMobile,x=void 0===u||u,f=n.locale,y=n.footerInfo,v=n.isAmp,b=n.siteType,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===b?l.createElement(l.Fragment,null,v&&(null!==(i=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==i?i:"")>1&&l.createElement("amp-next-page",null,l.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.image,'",\n "title": ').concat(JSON.stringify(null===(a=null==E?void 0:E.articleOne)||void 0===a?void 0:a.title),',\n "url": "').concat(null===(r=null==E?void 0:E.articleOne)||void 0===r?void 0:r.link,'"\n },\n {\n "image": "').concat(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.image,'",\n "title": ').concat(JSON.stringify(null===(c=null==E?void 0:E.articleTwo)||void 0===c?void 0:c.title),',\n "url": "').concat(null===(p=null==E?void 0:E.articleTwo)||void 0===p?void 0:p.link,'"\n },\n {\n "image": "').concat(null===(d=null==E?void 0:E.articleThree)||void 0===d?void 0:d.image,'",\n "title": ').concat(JSON.stringify(null===(m=null==E?void 0:E.articleThree)||void 0===m?void 0:m.title),',\n "url": "').concat(null===(h=null==E?void 0:E.articleThree)||void 0===h?void 0:h.link,'"\n }\n ]\n ')}}),l.createElement("div",e({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),l.createElement(ei,{isAmp:v,isMobile:x,type:g,locale:f,footerInfo:y||{}})):l.createElement(Hi,{isMobile:x,locale:f,footerMenu:y||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:g})},Ui=v.div(gi||(gi=t(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Fi=v.div(ui||(ui=t(["\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})),ji=v.div(xi||(xi=t(["\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})),Gi=v.div(fi||(fi=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Yi=v.a(yi||(yi=t(["\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"]))),Vi=v.div(vi||(vi=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wi=v.div(bi||(bi=t(["\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})),Zi=v.div(Ei||(Ei=t(["\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})),Ki=v.div(wi||(wi=t([""],[""]))),Xi=v.div(ki||(ki=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Qi=v.div(Ci||(Ci=t(["\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"])),tn),qi=v.div(Ti||(Ti=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Ji=v.div(_i||(_i=t(["\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"]))),$i=v.div(Li||(Li=t(["\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})),no=v.div(Si||(Si=t(["\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"])),N.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})),eo=v.div(Ii||(Ii=t(["\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"]))),to=v.div(Ai||(Ai=t(["\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"]))),io=function(){return l.createElement(Vi,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},oo=function(n){var e,t,i,o,a=n.careSpecialties,r=n.onSelectCareSpecialty,s=n.isLoading,c=n.desktopPopupType,p=n.onClosePopup,d=n.basePath,m=n.locale,h=n.isMobile,g=n.siteType,u=n.CARE_URL_FE,x=vn();return h?l.createElement(l.Fragment,null,s?l.createElement(Wi,null,l.createElement(io,null)):l.createElement(Wi,{"data-category-list-type":"main"},l.createElement(M,{style:{marginTop:16},tag:"h5"},x("menu.care.searchBySpecialties")),a.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),onClick:function(){r(n)}},l.createElement(Xi,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(Ki,null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(e=I[m])||void 0===e?void 0:e.SPECIALTIES)},l.createElement(no,{key:"all-categories","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(t=I[m])||void 0===t?void 0:t.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(eo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):l.createElement(Qi,{className:"top-menu-care-specialties",onClick:p,"data-is-display":"care"===c},l.createElement(qi,null,l.createElement(L,{style:{padding:"0 16px"},type:g},l.createElement(Ji,{"data-popup-type":c,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,a.map((function(n){return l.createElement($i,{key:"care-specialty-".concat(n.id),onClick:p},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m})),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(u).concat(Mn({type:"DOCTOR",specialtySlug:n.slug,locale:m}))},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"care-specialty-icon",src:n.thumbnail||"".concat(d,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.name)))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(u,"/").concat(null===(i=I[m])||void 0===i?void 0:i.SPECIALTIES)},l.createElement(no,{onClick:p,key:"all-care-specialties","data-theme":g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(u,"/").concat(null===(o=I[m])||void 0===o?void 0:o.SPECIALTIES)},x("home.navigator.menuItem.allSpecialties"),l.createElement(eo,null,"helloSites"===g?l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:x("home.navigator.menuItem.allSpecialties")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(to,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ao=function(){return l.createElement(Ve,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},lo=v.div(ho||(ho=t(["\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"])),N.mbDown,N.mbUp),ro=v.div(go||(go=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),so=v.div(uo||(uo=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));v.div(xo||(xo=t(["\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"])),N.mbDown,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100}));var co=v.div(fo||(fo=t(["\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}),N.mbDown),po=v.div(yo||(yo=t(["\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})),mo=v.div(vo||(vo=t([""],[""])));v.div(bo||(bo=t([""],[""])));var ho,go,uo,xo,fo,yo,vo,bo,Eo,wo,ko=v.div(Eo||(Eo=t(["\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"])),N.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})),Co=v.div(wo||(wo=t(["\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"]))),To=function(){return l.createElement(ro,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},_o=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.spotlights,o=n.isLoading,a=n.className,r=n.isMobile,s=n.DISCOVER_URL_FE,c=n.basePath,p=n.locale,d=n.siteType,m=vn();return t?l.createElement(lo,null,l.createElement(M,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),o&&t?l.createElement(so,{className:a},l.createElement(To,null)):l.createElement(so,{"data-is-displayed":t,className:a},i.map((function(n,e){return l.createElement(po,{style:{textDecoration:"none"},key:"spotlight-"+e},r?l.createElement("a",{href:n.permalink,style:{textDecoration:"none",color:S.colors.gray800}},l.createElement(co,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[p]).concat(n.permalink)},l.createElement(mo,null,n.name))):l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[p]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(n.permalink)},n.name))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},l.createElement(ko,{key:"all-spotlights","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),l.createElement(Co,null,"helloSites"===d?l.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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},Lo=function(n){var e=n.locale,t=n.basePath,i=n.isDisplayed,o=void 0!==i&&i,a=n.categories,r=n.spotlightsList,s=n.type,c=n.onSelectCategory,p=n.onClosePopup,d=n.desktopPopupType,m=n.isMobile,h=n.isLoading,g=n.DISCOVER_URL_FE,u=n.siteType,x=void 0===u?"helloSites":u,f=vn();return m?l.createElement(l.Fragment,null,h&&o?l.createElement(We,null,l.createElement(ao,null)):l.createElement(We,{"data-is-displayed":o,"data-category-list-type":s},l.createElement(M,{tag:"h3",style:{marginBottom:8}},f("home.navigator.menuItem.healthCategories")),l.createElement(Ze,null,a.map((function(n,i){return l.createElement("div",{key:s+"-category-"+i},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(e){n.childCates&&n.childCates.length>0&&"sub"!==s&&e.preventDefault()},href:g+n.permalink},l.createElement(Ke,{onClick:function(){null==c||c(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(Xe,null,n.displayName),"main"===s&&l.createElement(Qe,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.categoryName}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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&&n.childCates&&n.childCates.length>0&&n.childCates.map((function(n,e){return l.createElement("a",{style:{textDecoration:"none"},href:n.permalink,key:s+"-2-"+e},l.createElement(Ke,{"data-is-heading-category":"sub"===s&&n.childCates&&n.childCates.length>0},l.createElement(C,{size:"p3"},n.displayName)))}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(qe,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(Je,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),l.createElement(_o,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,isMobile:m,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}))):l.createElement($e,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===d},l.createElement(nt,null,l.createElement(L,{style:{padding:"0 16px"},type:x},l.createElement(et,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement("div",null,l.createElement(M,{tag:"h3",style:{marginBottom:24}},f("home.navigator.menuItem.healthCategories")),l.createElement(tt,{"data-disabled-divider":0===r.length},a.map((function(n,t){return l.createElement(it,{style:{textDecoration:"none"},key:n.categoryName+t},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(g).concat(n.permalink)},n.displayName),l.createElement(ot,null,n.childCates&&n.childCates.map((function(n,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[e]).concat(n.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:n.permalink,key:t},n.displayName)}))))})),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(g,"/categories/")},l.createElement(qe,{onClick:p,key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(g,"/categories/")},f("home.navigator.menuItem.allCategories"),l.createElement(Je,null,"helloSites"===x?l.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCategories")}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),l.createElement(_o,{isDisplayed:"main"===s,spotlights:r,isLoading:!1,basePath:t,DISCOVER_URL_FE:g,locale:e,siteType:x}),l.createElement(at,{onClick:p},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},So=v.div(Bo||(Bo=t([""],[""]))),Io=v.div(Do||(Do=t(["\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"]))),Ao=v.div(Ho||(Ho=t(["\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"]))),No=v.div(zo||(zo=t(["\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})),Mo=v.div(Uo||(Uo=t(["\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"]))),Oo=v.div(Fo||(Fo=t(["\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"])),tn),Po=v.div(jo||(jo=t(["\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"]))),Ro=v.div(Go||(Go=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Yo||(Yo=t(["\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 Bo,Do,Ho,zo,Uo,Fo,jo,Go,Yo,Vo,Wo,Zo=v.div(Vo||(Vo=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Wo||(Wo=t(["\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 Ko,Xo,Qo,qo,Jo,$o,na,ea,ta,ia,oa,aa,la,ra=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.categories,o=n.type,a=n.onSelectCategory,s=n.desktopPopupType,c=n.isMobile,p=n.isLoading,d=n.MARRY_BABY_FE,m=r(-1),h=m[0],g=m[1],u=r(!1),x=u[0],f=u[1];return c?l.createElement(l.Fragment,null,p&&t?l.createElement(We,null,l.createElement(ao,null)):l.createElement(We,{"data-is-displayed":t,"data-category-list-type":o,style:{marginTop:24}},l.createElement(So,{className:"marry-bb-menu-categories"},i.map((function(n,e){return l.createElement("div",{key:o+"-category-"+e,className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink)},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(d).concat(n.permalink)},l.createElement(No,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),onClick:function(){var t;"main"===o||0===(null===(t=n.childCates)||void 0===t?void 0:t.length)?null==a||a(n):h===e?(f(!0),setTimeout((function(){g(-1),setTimeout((function(){f(!1)}),100)}),300)):g(e)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?l.createElement(Io,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.displayName),l.createElement(lt,null),"main"===o?l.createElement(Qe,null,l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):l.createElement(Qe,null,h!==e?l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):l.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&n.childCates&&h===e&&n.childCates.length>0&&l.createElement(Mo,null,l.createElement("div",{className:x?"collapsing":"expanding"},n.childCates.map((function(e,t){return l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none"},href:"".concat(d).concat(e.permalink),key:o+"-2-"+t},l.createElement(No,{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},l.createElement(Ao,null,l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"})),l.createElement(ai,{type:"subtitle-2"},e.displayName))))})))),l.createElement("div",{style:{display:"none"}},n.childCates&&n.childCates.map((function(n,e){return l.createElement("a",{href:"".concat(d).concat(n.permalink),key:e,style:{textDecoration:"none"}},l.createElement("div",{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},l.createElement("p",null,n.displayName)))}))))}))))):l.createElement(Oo,{className:"top-menu-categories","data-is-display":"categories"===s,tabIndex:0},l.createElement(Po,null),l.createElement(Ro,{"data-popup-type":s},l.createElement(Zo,{className:"marry-bb-menu-categories"},p?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(ao,null)):i.map((function(n,e){return l.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),key:o+"-category-"+e,onClick:function(){a(n)}},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.permalink),style:{textDecoration:"none",color:S.colors.gray800},href:"".concat(d).concat(n.permalink)},l.createElement(No,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},l.createElement(Io,{style:{backgroundColor:n.imageColor}},l.createElement("img",{src:n.iconUrl,style:{width:"24px",height:"24px"},alt:n.name})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.displayName))))})))))},sa=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.discoverApiDomain,a=n.basePath,r=n.categories,s=n.spotlightsList,c=n.type,p=n.onSelectCategory,d=n.onClosePopup,m=n.desktopPopupType,h=n.isMobile,g=n.isLoading,u=n.callApiHandler,x=n.DISCOVER_URL_FE,f=n.MARRY_BABY_FE,y=n.siteType,v=void 0===y?"helloSites":y;return"helloSites"===v?l.createElement(Lo,{locale:i,basePath:a,DISCOVER_URL_FE:x,isDisplayed:t,type:c,onSelectCategory:p,categories:r,spotlightsList:s,isLoading:g,isMobile:h,siteType:v,onClosePopup:d,desktopPopupType:m}):l.createElement(ra,{basePath:a,callApiHandler:u,discoverApiDomain:o,isDisplayed:t,type:c,onSelectCategory:p,categories:r,isLoading:g,isMobile:h,MARRY_BABY_FE:f,desktopPopupType:m})},ca=v.div(Ko||(Ko=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),pa=v.div(Xo||(Xo=t(["\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})),da=v.div(Qo||(Qo=t(["\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})),ma=v.div(qo||(qo=t([""],[""]))),ha=v.div(Jo||(Jo=t([""],[""]))),ga=v.div($o||($o=t(["\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"]))),ua=v.div(na||(na=t(["\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"])),tn),xa=v.div(ea||(ea=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),fa=v.div(ta||(ta=t(["\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"]))),ya=v.div(ia||(ia=t(["\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})),va=v.div(oa||(oa=t(["\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})),ba=v.div(aa||(aa=t(["\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"]))),Ea=v.div(la||(la=t(["\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"]))),wa=function(){return l.createElement(ca,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},ka=function(n){var e=n.isDisplayed,t=n.communities,i=n.type,o=n.onSelectCommunity,a=n.onClosePopup,r=n.isLoading,s=n.basePath,c=n.TOGETHER_URL_FE,p=n.siteType,d=void 0===p?"helloSites":p,m=n.isMobile,h=n.locale,g=n.desktopPopupType,u=vn();return m?l.createElement(l.Fragment,null,r&&e?l.createElement(pa,null,l.createElement(wa,null)):l.createElement(pa,{"data-category-list-type":i,"data-is-displayed":e},"main"===i&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!0})},"data-is-heading-category":!1},l.createElement(ga,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(ma,null,n.title)),l.createElement(ha,null,"helloSites"===d?l.createElement("img",{src:"".concat(s,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:n.title}):l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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&&t.map((function(n,e){return l.createElement("div",{key:i+"-category-"+e},l.createElement("a",{style:{textDecoration:"none",color:S.colors.gray800},onClick:function(n){n.preventDefault()},href:"".concat(c,"/").concat(n.communitySlug)},l.createElement(da,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),onClick:function(){o({community:n,isSetToSubMenu:!1})},"data-is-heading-category":!1},l.createElement(ga,null,l.createElement("img",{src:n.thumbnail,style:{width:"40px",height:"40px"},alt:n.title}),l.createElement(ma,null,n.title)))))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(va,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(ba,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")})))))):l.createElement(ua,{className:"top-menu-communities",onClick:a,"data-is-display":"communities"===g},l.createElement(xa,null,l.createElement(L,{style:{padding:"0 16px"},type:d},l.createElement(fa,{"data-popup-type":g,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,t.map((function(n){return l.createElement(ya,{key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[h],"/").concat(n.communitySlug),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(n.communitySlug)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(s,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))})),l.createElement("a",{style:{textDecoration:"none"},href:c+"/"},l.createElement(va,{onClick:a,key:"all-communities","data-theme":d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},u("home.navigator.menuItem.allCommunities"),l.createElement(ba,null,l.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allCommunities")}))))),l.createElement(Ea,{onClick:a},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ca=v.div(Ia||(Ia=t(["\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})),Ta=v.div(Aa||(Aa=t(["\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})),_a=v.div(Na||(Na=t(["\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"])),tn),La=v.div(Ma||(Ma=t(["\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"]))),Sa=v.div(Oa||(Oa=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Pa||(Pa=t(["\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 Ia,Aa,Na,Ma,Oa,Pa,Ra,Ba,Da=v.div(Ra||(Ra=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Ba||(Ba=t(["\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 Ha=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.communities,o=n.onSelectCommunity,a=n.isLoading,r=n.basePath,s=n.type,c=n.isMobile,p=n.onClosePopup,d=n.desktopPopupType,m=n.TOGETHER_URL_FE;return c?a&&t?l.createElement(pa,null,l.createElement(wa,null)):l.createElement(pa,{style:{marginTop:24},"data-category-list-type":s,"data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),key:"community-"+e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug)},l.createElement(Ta,{onClick:function(){o({community:n,isSetToSubMenu:!1})}},l.createElement(Ca,null,l.createElement("img",{alt:"health-tool-icon",src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ma,null,n.title)))}))):l.createElement(_a,{className:"top-menu-communities",onClick:p,"data-is-display":"communities"===d},l.createElement(La,null),l.createElement(Sa,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Da,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(wa,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(n.communitySlug),style:{textDecoration:"none",color:S.colors.gray800},href:"".concat(m,"/").concat(n.communitySlug),key:n.title},l.createElement(Ta,{onClick:p},l.createElement(Ca,{style:{backgroundColor:n.color||S.mbColors.lightGray}},l.createElement("img",{alt:n.communitySlug,src:n.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},za=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.locale,o=n.communities,a=n.type,r=n.onSelectCommunity,s=n.onClosePopup,c=n.isLoading,p=n.basePath,d=n.TOGETHER_URL_FE,m=n.siteType,h=void 0===m?"helloSites":m,g=n.isMobile,u=n.desktopPopupType,x=n.togetherApiDomain;return"helloSites"===h?l.createElement(ka,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,siteType:h,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s}):l.createElement(Ha,{isDisplayed:t,locale:i,TOGETHER_URL_FE:d,basePath:p,type:a,onSelectCommunity:r,communities:o,isLoading:c,isMobile:g,togetherApiDomain:x,desktopPopupType:u,onClosePopup:s})},Ua=v.div(Ja||(Ja=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Fa=v.div($a||($a=t(["\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"]))),ja=v.div(nl||(nl=t(["\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})),Ga=v.div(el||(el=t([""],[""]))),Ya=v.div(tl||(tl=t(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Va=v.div(il||(il=t(["\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"])),tn),Wa=v.div(ol||(ol=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),Za=v.div(al||(al=t(["\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"]))),Ka=v.div(ll||(ll=t(["\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})),Xa=v.div(rl||(rl=t(["\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})),Qa=v.div(sl||(sl=t(["\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"]))),qa=v.div(cl||(cl=t(["\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"])));v.div(pl||(pl=t(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Ja,$a,nl,el,tl,il,ol,al,ll,rl,sl,cl,pl,dl,ml,hl=v.div(dl||(dl=t(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),gl=v.div(ml||(ml=t(["\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"]))),ul=function(){return l.createElement(Ua,{style:{marginTop:"16px"}},l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})),l.createElement("div",null,l.createElement(P,{height:46})))},xl=function(n){var e=n.healthTools,t=n.onSelectHealthTool,i=n.basePath,o=n.isDesktop,a=n.onClosePopup,r=n.HEALTH_TOOL_URL_FE,s=n.locale,c=n.isGrouped;return(null==e?void 0:e.length)?o?l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement(Ka,{"data-grouped":c,key:n.title,onClick:a},l.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[s]).concat(n.link),style:{textDecoration:"none",color:S.colors.gray800},className:"iconMenu",href:n.link.startsWith("http")?n.link:"".concat(r).concat(n.link)},l.createElement("div",{style:{display:"flex"}},l.createElement("img",{alt:"health-tool-icon",src:n.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),l.createElement("p",null,n.title)))}))):l.createElement(l.Fragment,null,e.map((function(n,e){return l.createElement("a",{key:"tool-"+e},l.createElement(ja,{onClick:function(){t(n)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(z[s]).concat(n.link)},l.createElement(Ya,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(i,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),l.createElement(Ga,null,n.title)))}))):null},fl=function(n){var e,t,i,o,a=n.isDisplayed,r=n.healthTools,s=n.healthToolsByCategory,c=n.onSelectHealthTool,p=n.isLoading,d=n.basePath,m=n.locale,h=n.isMobile,g=n.onClosePopup,u=n.desktopPopupType,x=n.HEALTH_TOOL_URL_FE,f=n.STATIC_PAGES,y=n.siteType,v=vn();return h?l.createElement(l.Fragment,null,p&&a?l.createElement(Fa,null,l.createElement(ul,null)):l.createElement(Fa,{"data-category-list-type":"main","data-is-displayed":a},(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(l.Fragment,{key:"category-health-tool-".concat(e)},l.createElement(M,{tag:"h4",fontWeight:"bold",className:"title"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(xl,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}))})):l.createElement(xl,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m}),l.createElement(hl,null,l.createElement("a",{href:"".concat(x).concat((null===(e=f[m])||void 0===e?void 0:e.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},l.createElement(Xa,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=f[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(Qa,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))))):l.createElement(Va,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===u},l.createElement(Wa,null,l.createElement(L,{style:{padding:"0 16px"}},l.createElement(Za,{"data-popup-type":u,onClick:function(n){n.stopPropagation()}},l.createElement(l.Fragment,null,(null==s?void 0:s.length)?s.map((function(n,e){var t;return!!(null===(t=n.healthTools)||void 0===t?void 0:t.length)&&l.createElement(gl,{key:"health-tools-categories-".concat(e)},l.createElement(M,{tag:"h4",as:"h2",fontWeight:"bold"},l.createElement("span",{dangerouslySetInnerHTML:{__html:n.name}})),l.createElement(xl,{healthTools:n.healthTools.slice(0,4),onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):l.createElement(xl,{healthTools:r,onSelectHealthTool:c,basePath:d,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),l.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(i=f[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},l.createElement(Xa,{onClick:g,key:"all-health-tools","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(o=f[m])||void 0===o?void 0:o.HEALTH_TOOLS)||"")},v("home.navigator.menuItem.allHealthTools"),l.createElement(Qa,null,l.createElement("img",{src:"".concat(d,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allHealthTools")}))))),l.createElement(qa,{onClick:g},l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},yl=v.div(kl||(kl=t(["\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})),vl=v.div(Cl||(Cl=t(["\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})),bl=v.div(Tl||(Tl=t(["\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"])),tn),El=v.div(_l||(_l=t(["\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"]))),wl=v.div(Ll||(Ll=t(["\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"])),on,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white}));v.div(Sl||(Sl=t(["\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 kl,Cl,Tl,_l,Ll,Sl,Il,Al,Nl=v.div(Il||(Il=t(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));v.div(Al||(Al=t(["\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 Ml,Ol,Pl,Rl,Bl,Dl,Hl,zl,Ul,Fl,jl,Gl=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.onSelectHealthTool,a=n.isLoading,r=n.basePath,s=n.isMobile,c=n.onClosePopup,p=n.HEALTH_TOOL_URL_FE,d=n.desktopPopupType;return s?a&&t?l.createElement(Fa,null,l.createElement(ul,null)):l.createElement(Fa,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},i.map((function(n,e){return l.createElement("a",{key:"tool-"+e,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(n.link)},l.createElement(vl,{onClick:function(){o(n)}},l.createElement(yl,null,l.createElement("img",{alt:"health-tool-icon",src:n.icon||"".concat(r,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),l.createElement(Ga,null,n.title)))}))):l.createElement(bl,{className:"top-menu-health-tools",onClick:c,"data-is-display":"tools"===d},l.createElement(El,null),l.createElement(wl,{"data-popup-type":d,onClick:function(n){n.stopPropagation()}},l.createElement(Nl,null,a?l.createElement("div",{style:{width:"100%",padding:"0 20px"}},l.createElement(ul,null)):i.map((function(n,e){return l.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(e," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(n.link),style:{textDecoration:"none",color:S.colors.gray800},href:n.link.startsWith("http")?n.link:"".concat(p).concat(n.link),key:n.title,onClick:function(n){n.stopPropagation()}},l.createElement(vl,{onClick:c},l.createElement(yl,null,l.createElement("img",{alt:n.title,src:n.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),l.createElement(ai,{style:{fontWeight:S.sizes.fwSemiBold},type:"subtitle-2"},n.title)))})))))},Yl=function(n){var e=n.isDisplayed,t=void 0!==e&&e,i=n.healthTools,o=n.healthToolsByCategory,a=n.onSelectHealthTool,r=n.isLoading,s=n.basePath,c=n.locale,p=n.isMobile,d=n.onClosePopup,m=n.desktopPopupType,h=n.HEALTH_TOOL_URL_FE,g=n.siteType,u=n.discoverApiDomain,x=n.STATIC_PAGES;return"helloSites"===g?l.createElement(fl,{isDisplayed:t,locale:c,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i,healthToolsByCategory:o,isLoading:r,isMobile:p,siteType:g,desktopPopupType:m,onClosePopup:d,STATIC_PAGES:x}):l.createElement(Gl,{isDisplayed:t,basePath:s,discoverApiDomain:u,HEALTH_TOOL_URL_FE:h,onSelectHealthTool:a,healthTools:i||o.reduce((function(n,e){return n.concat(e.healthTools)}),[]),isLoading:r,isMobile:p,desktopPopupType:m,onClosePopup:d})},Vl=v.div(Ml||(Ml=t(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Wl=v.div(Ol||(Ol=t(["\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})),Zl=function(){return l.createElement(l.Fragment,null,l.createElement(Vl,null,l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109})),l.createElement("div",null,l.createElement(P,{height:109}))))},Kl=function(n){var e=n.specialty,t=n.id,i=n.isActive,o=void 0!==i&&i,a=n.position,r=n.className,s=n.onClick;return e.name&&""!==e.name?l.createElement(Wl,{onClick:function(){s&&s(t)},className:r,"data-is-active":o,"data-card-position":a},l.createElement("img",{src:e.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),l.createElement(C,{type:"bold",size:"label2"},e.name)):l.createElement(Zl,null)},Xl=function(n){var e=n.selectedMenuMainItem,t=n.spotlightsList,i=n.locale,o=n.basePath,a=n.callApiHandler,r=n.discoverApiDomain,s=n.DISCOVER_URL_FE,c=n.MARRY_BABY_FE,p=n.onSelectCategory,d=n.isMobile,m=n.siteType,h=n.onCategoryClick,g=vn(),u=e.childCates,x=e.categoryName;return l.createElement(pt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(mt,null,l.createElement(sa,{isDisplayed:!0,locale:i,basePath:o,callApiHandler:a,discoverApiDomain:r,DISCOVER_URL_FE:s,MARRY_BABY_FE:c,categories:u||[],spotlightsList:t,type:"sub",onSelectCategory:p,isMobile:d,siteType:m,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),l.createElement(ct,{"data-site-type":m},l.createElement(k,{onClick:h,className:"category-button",size:"md",theme:m},l.createElement(ut,null,l.createElement("div",null,g("home.menu.category.view",{category:x})),"helloSites"===m?l.createElement("img",{src:pn,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:x})}):l.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Ql=function(n){var t=n.selectedMenuMainItem,i=n.onCommunityClick,s=n.onSelectCommunity,p=n.basePath,d=void 0===p?"":p,m=n.callApiHandler,h=n.togetherApiDomain,g=n.locale,u=n.TOGETHER_URL_FE,x=n.siteType,f=n.isMobile,y=vn(),v=r([]),b=v[0],E=v[1],w=r(!1),C=w[0],T=w[1],_=t.communityId,L=t.title;return c((function(){T(!0),o(void 0,void 0,void 0,(function(){var n,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return[4,m("helloSites"===x?Nn(g,h,{communityId:_}):(r=h,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+A(V,e(e({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=a.sent())&&(null===(l=null===(o=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===o?void 0:o.topics)||void 0===l?void 0:l.length)>0&&(t=n.data.data.topics.map(En),E(t)),T(!1),[2]}var r,s}))}))}),[t]),l.createElement(pt,{"data-type":"sub-level","data-with-search-input":!1},l.createElement(mt,null,l.createElement(za,{isDisplayed:!0,locale:g,communities:b,type:"sub",onSelectCommunity:s,isLoading:C,basePath:d,TOGETHER_URL_FE:u,togetherApiDomain:h,siteType:x,isMobile:f,desktopPopupType:"none",onClosePopup:void 0}),l.createElement(ct,null,l.createElement(k,{onClick:i,className:"category-button",size:"md"},l.createElement(ut,null,l.createElement("div",null,y("home.menu.category.view",{category:L})),l.createElement("img",{src:pn,style:{width:"16px",height:"16px"},className:"button-image",alt:y("home.menu.category.view",{category:L})}))))))},ql={categories:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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:S.mbColors.lightPink},healthTools:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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"}),l.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"}),l.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:S.mbColors.lightOrange},together:{icon:l.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.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"}),l.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:S.mbColors.lightBlue}},Jl=function(n){var t,i,o,a=n.item,r=n.isActive,s=n.isGoingForward,c=n.onServiceClicked;return l.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},l.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==c||c(a.id)}},l.createElement("div",{style:e({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(i=null===(t=ql[a.id])||void 0===t?void 0:t.color)&&void 0!==i?i:"white",borderRadius:16},r?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(o=ql[a.id])||void 0===o?void 0:o.icon)),l.createElement(ai,{type:"subtitle-3",color:r&&S.mbColors.pink,style:{fontWeight:S.sizes.fwSemiBold}},a.name),r&&(s?l.createElement(Wt,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):l.createElement(Wt,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},$l=function(n){var e=n.menuItems,t=n.activeItem,i=n.onServiceClicked,o=r(0),a=o[0],c=o[1],p=s(!0);return l.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},e.map((function(n,e){return l.createElement(Jl,{onServiceClicked:function(n){p.current=a<e,c(e),null==i||i(n)},key:"item"+e,item:n,isGoingForward:p.current,isActive:t.id===n.id})})))},nr=function(n){var e=n.isMobile,t=void 0!==e&&e,i=n.isMobileMenuOpened,o=void 0===i?void 0:i,a=n.categories,s=n.healthTools,p=n.healthToolsByCategory,d=n.careSpecialties,m=n.togetherCommunities,h=n.spotlightsList,g=n.closePopup,u=n.popupType,x=void 0===u?"none":u,f=n.onMobileMenuClick,y=n.footer,v=n.care.CARE_URL_FE,b=n.discover,w=b.discoverApiDomain,k=b.DISCOVER_URL_FE,C=n.together,T=C.togetherApiDomain,L=C.TOGETHER_URL_FE,I=n.sso.SSO_URL,A=n.statics,N=A.MARRY_BABY_FE,O=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=n.marryBaby.tone,D=n.locale,H=n.siteType,z=n.basePath,F=n.callApiHandler,j=n.activeMenuService,G=n.menuItems,Y=n.routerAsPath,V=vn(),W=r(!1),Z=W[0],K=W[1],X=r(a),Q=X[0],q=X[1],J=r(void 0),$=J[0],nn=J[1],en=r(void 0),tn=en[0],on=en[1],an=r(!1),ln=an[0],rn=an[1],sn=r(null==G?void 0:G.find((function(n){return n.id===j}))),cn=sn[0],pn=sn[1],dn=r(!1),mn=dn[0],hn=dn[1],gn=r(!1),un=gn[0],xn=gn[1],fn=function(){$&&(window.location.href=$.permalink),Cn(),g&&g()},yn=function(){$&&(window.location.href="".concat(L,"/").concat($.communitySlug)),Cn(),g&&g()},bn=function(n){n.childCates&&n.childCates.length>0?(K(!0),nn(n)):(window.location.href="helloSites"===H?k+n.permalink:N+n.permalink,Cn(),g&&g())},En=function(n){var e=n.community;n.isSetToSubMenu?(K(!0),nn(e)):(window.location.href="".concat(L,"/").concat(e.communitySlug),Cn(),g&&g())},wn=function(n){window.location.href=n.link.startsWith("http")?n.link:R+n.link,Cn(),g&&g()},kn=function(n){window.location.href=v+Mn({type:"DOCTOR",specialtySlug:n.slug,locale:D}),null==g||g()},Cn=function(){nn(void 0),K(!1)},Tn=function(n){pn(G.find((function(e){return e.id===n})))},_n=U[D||"en-PH"]||{};return c((function(){var n;on("categories"===cn.id?(null===(n=null==$?void 0:$.childCates)||void 0===n?void 0:n.length)>0&&l.createElement(Xl,{selectedMenuMainItem:$,spotlightsList:[],locale:D,basePath:z,callApiHandler:F,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,onSelectCategory:bn,isMobile:t,siteType:H,onCategoryClick:fn}):"together"===cn.id&&$&&l.createElement(Ql,{selectedMenuMainItem:$,onCommunityClick:yn,onSelectCommunity:En,TOGETHER_URL_FE:L,basePath:z,callApiHandler:F,locale:D,togetherApiDomain:T,siteType:H,isMobile:t}))}),[$,cn]),c((function(){hn(!0)}),[]),c((function(){!un&&o&&xn(!0)}),[o]),c((function(){q(a)}),[a]),t?l.createElement(l.Fragment,null,l.createElement(rt,{id:mn?"":"categories-menu","data-opened":o||(un?o:"undefined"),key:mn?"t":"f"},l.createElement(st,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Z},l.createElement(Ee,{siteType:H,locale:D,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:k,SSO_URL:I,HOME_PAGE_URL:O,MARRY_BABY_FE:N,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==f?void 0:f("categories")},onSearchChange:function(n){rn(""!==n),q(n&&""!==n?a.filter((function(e){return e.categoryName.toLowerCase().search(n.toLowerCase())>-1||e.slug.replace("-","").toLowerCase().search(n.replace(" ","").toLowerCase())>-1})):a)},isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:Y,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}),l.createElement(pt,null,l.createElement(mt,null,l.createElement(ht,null,l.createElement(gt,{"data-hide-on-search":ln,"data-is-sub-category-opened":Z},"helloSites"===H?l.createElement(l.Fragment,null,l.createElement(Zt,{onClick:function(){window.location.href="".concat(E(D),"/search")}},l.createElement(_,{className:"fake-search-input",name:"search-input-menu-service"+(mn?"":"-temp"),size:"md",placeholder:V("home.search",{site:_n?_n.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(n){n.preventDefault()},value:"",displayIcon:l.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},l.createElement(Kt,null))})),l.createElement(M,{tag:"h5",color:S.colors.gray800},V("menu.categories.title")),l.createElement(dt,{"data-card-array-no-margin-style":!0},G.map((function(n,e){return l.createElement(Kl,{onClick:Tn,key:"service-"+e,specialty:n,id:n.id,isActive:n.id===cn.id,isMobile:t,position:0===e?"left":e===G.length-1?"right":"center"})})))):l.createElement($l,{menuItems:G,activeItem:cn,onServiceClicked:Tn})),l.createElement(sa,{isDisplayed:"categories"===cn.id,locale:D,basePath:z,callApiHandler:F,onClosePopup:g,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,type:"main",onSelectCategory:bn,categories:Q,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H,desktopPopupType:x}),l.createElement(Yl,{isDisplayed:"healthTools"===cn.id,locale:D,basePath:z,discoverApiDomain:w,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:wn,onClosePopup:g,desktopPopupType:x,healthTools:s,healthToolsByCategory:p,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:P}),"care"===cn.id&&l.createElement(oo,{locale:D,basePath:z,onSelectCareSpecialty:kn,onClosePopup:g,careSpecialties:d,isLoading:!1,siteType:H,isMobile:t,desktopPopupType:x,CARE_URL_FE:v}),l.createElement(za,{isDisplayed:"together"===cn.id,locale:D,TOGETHER_URL_FE:L,basePath:z,type:"main",onSelectCommunity:En,onClosePopup:g,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:T,desktopPopupType:x})),y)))),Z&&l.createElement(rt,{"data-sub-level-opened":Z||(un?Z:"undefined")},l.createElement(st,{"data-type":"sub-category","data-is-sub-category-opened":Z},l.createElement(Ee,{siteType:H,locale:D,isDisplayed:o&&Z,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:k,SSO_URL:I,HOME_PAGE_URL:O,MARRY_BABY_FE:N,CARE_URL_FE:v},isMobile:t,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===cn.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:z,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:Y,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:Cn,onSearchChange:void 0}),tn))):l.createElement(l.Fragment,null,l.createElement(sa,{isDisplayed:"categories"===x,locale:D,basePath:z,callApiHandler:F,discoverApiDomain:w,DISCOVER_URL_FE:k,MARRY_BABY_FE:N,type:"main",desktopPopupType:x,onSelectCategory:bn,onClosePopup:g,categories:Q,spotlightsList:h,isLoading:!1,isMobile:t,siteType:H}),l.createElement(Yl,{isDisplayed:"tools"===x,locale:D,basePath:z,discoverApiDomain:w,HEALTH_TOOL_URL_FE:R,desktopPopupType:x,onSelectHealthTool:wn,onClosePopup:g,healthToolsByCategory:p,healthTools:s,isLoading:!1,isMobile:t,siteType:H,STATIC_PAGES:P}),l.createElement(za,{isDisplayed:"communities"===x,locale:D,TOGETHER_URL_FE:L,basePath:z,type:"main",onSelectCommunity:En,communities:m,isLoading:!1,isMobile:t,siteType:H,togetherApiDomain:T,desktopPopupType:x,onClosePopup:g}),"care"===x&&l.createElement(oo,{locale:D,basePath:z,onSelectCareSpecialty:kn,careSpecialties:d,isLoading:!1,desktopPopupType:x,siteType:H,isMobile:t,CARE_URL_FE:v,onClosePopup:g}))},er=v.div(Pl||(Pl=t(["\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"])),N.mbDown,N.mbUp,(function(n){return n.theme.colors.gray800}),N.mbDown,N.mbUp,(function(n){return n.theme.colors.gray600}),N.mbDown,N.mbUp),tr=v.div(Rl||(Rl=t(["\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"])),N.mbDown,N.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 ":""})),ir=function(n){var e=n.callPostLogOutApi,t=n.openLogoutPopup,i=n.onCloseHandler,r=n.onLogoutHandler,s=n.basePath,p=n.siteType,d=void 0===p?"helloSites":p,m=vn();c((function(){document.body.classList.toggle("noscroll",t)}),[t]);return l.createElement(w,{type:"confirm",isOpen:t,closeIcon:l.createElement("img",{src:dn,style:{width:24,height:24},alt:"close-icon"}),onClose:i},l.createElement(er,null,"helloSites"===d&&l.createElement("img",{className:"cancle-img",src:"".concat(s,"/images/arrowDoor.svg"),alt:"close-account"}),l.createElement("h2",null,m("helloSites"===d?"logout.popup.ask1":"logout.popup.ask.mb")),l.createElement("p",null,m("logout.popup.ask2")),l.createElement(tr,{siteType:d},l.createElement(k,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){o(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,null==e?void 0:e()];case 1:return n.sent(),null==r||r(),window.location.reload(),[2]}}))}))}},m("logout.popup.button.logout")),l.createElement(k,{className:"cancel-button",color:"primary",size:"lg",onClick:i},m("logout.popup.button.cancel")))))},or=v.div(Bl||(Bl=t(["\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}),N.mbDown,N.mbUp,N.mbDown,N.mbUp,N.mbUp,(function(n){return n.theme.colors.gray200}),N.mbDown,N.mbUp),ar=v.div(Dl||(Dl=t(["\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"])),N.mbUp,N.mbDown),lr=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,a=void 0===o||o,r=n.onClose,s=n.children,c=n.enableAnimation,p=void 0===c||c,d=n.targetAvatar,m=n.id,h=n.className;return l.createElement(l.Fragment,null,l.createElement(or,{"data-open":a,"data-type":t,"data-animation":p,"data-target":d,id:m,className:h},l.createElement("div",{className:"popup-content"},!!i&&l.createElement("div",{className:"close-button",onClick:r},i),s)),l.createElement(ar,{"data-type":t,"data-open":a,onClick:r,id:m?"wrapper-".concat(m):void 0,className:"".concat(h||"","-wrapper")}))},rr=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.locale,a=n.targetAvatar,r=n.userInfo,s=n.ENABLE_CARE_PROFILE_MENU_LOCALES,c=n.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,p=n.closePopup,d=n.siteType,m=void 0===d?"helloSites":d,h=n.dispatchLogout,g=n.userProfileRouterPush,x=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,y=void 0!==f&&f,v=n.togetherApiDomain,b=function(n){g?g("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},E=function(n){b(n),p()};return l.createElement(lr,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:a,onClose:p},l.createElement(R,{locale:o},l.createElement(u,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:c,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){h&&(h(),p())},onClickMenuItem:E,onClickNavigationCard:E,onClickMyProfileButton:function(){b("profile"),p()},userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:x,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},sr=v.div(Hl||(Hl=t(["\n position: relative;\n"],["\n position: relative;\n"]))),cr=v.div(zl||(zl=t([""],[""]))),pr=v.div(Ul||(Ul=t(["\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"]))),dr=v.div(Fl||(Fl=t(["\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})),mr=v.div(jl||(jl=t(["\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"]))),hr=function(n){var e=n.options,t=n.label,i=n.selected,o=n.onChange,a=n.showSelected,s=void 0===a||a,c=n.style,p=void 0===c?{}:c,d=n.showIndicator,m=void 0===d||d,h=r(!1),g=h[0],u=h[1];return l.createElement(l.Fragment,null,l.createElement(sr,null,l.createElement(cr,{onClick:function(){return u((function(n){return!n}))}},!!t&&t),l.createElement(pr,{"data-is-open":g,style:p,"data-show-indicator":m},e.map((function(n,e){return l.createElement(dr,{key:e,"data-selected":s&&i===n.value,onClick:function(e){i!==n.value&&(o(n.value),u((function(n){return!n}))),e.stopPropagation()}},l.createElement(C,{size:"p3"},n.label),s&&i===n.value&&l.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"}))})))),g&&l.createElement(mr,{onClick:function(){return u(!1)}}))},gr=function(n){var e="undefined"!=typeof window&&document.querySelector(n),t=e&&window.getComputedStyle(e);return t&&t.getPropertyValue("display")},ur=function(n){var t,i=n.siteType,p=n.MetaPageTitle,d=n.MetaPageDescription,h=n.MetaPageImage,g=n.footerInfo,u=n.children,x=n.ssrMenuContent,f=void 0===x?{}:x,y=f.categories,v=void 0===y?[]:y,b=f.healthTools,E=void 0===b?[]:b,w=f.healthToolsByCategory,k=void 0===w?[]:w,C=f.careSpecialties,T=void 0===C?[]:C,_=f.togetherCommunities,L=void 0===_?[]:_,S=f.spotlightsList,I=void 0===S?[]:S,N=n.SEOData,M=void 0===N?{}:N,O=n.UP_BASEPATH,P=void 0===O?G:O,R=n.isStatic,B=void 0!==R&&R,D=n.seoType,H=void 0===D?"website":D,j=n.isMobile,V=n.isMyHealthEnabled,W=void 0!==V&&V,Z=n.logoutHandlers,K=Z.isLogoutPopupOpened,X=Z.callPostLogOutApi,Q=Z.onClosePopup,$=Z.onLogout,nn=n.marryBaby,en=void 0===nn?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:nn,tn=en.tone,on=void 0===tn?"white":tn,an=en.marryBabyApiDomain,ln=en.socialLinks,rn=void 0===ln?{}:ln,sn=rn.facebookLink,pn=void 0===sn?"":sn,dn=rn.instagramLink,mn=void 0===dn?"":dn,hn=rn.linkedinLink,gn=void 0===hn?"":hn,un=rn.twitterLink,xn=void 0===un?"":un,fn=rn.youtubeLink,yn=void 0===fn?"":fn,En=rn.zaloLink,Nn=void 0===En?"":En,Mn=n.statics,Rn=void 0===Mn?{LOCALE_SPECS:U,STATIC_PAGES:F}:Mn,Bn=Rn.DISCOVER_URL_FE,Dn=Rn.TOGETHER_URL_FE,Hn=Rn.MARRY_BABY_FE,zn=Rn.HOME_PAGE_URL,Un=Rn.HEALTH_TOOL_URL_FE,Fn=Rn.CARE_URL_FE,jn=Rn.LOCALE_SPECS,Gn=void 0===jn?U:jn,Yn=Rn.STATIC_PAGES,Vn=void 0===Yn?F:Yn,Wn=n.sso,Zn=void 0===Wn?{}:Wn,Kn=Zn.dispatchLogout,Xn=Zn.SSO_URL,Qn=n.together,qn=void 0===Qn?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Qn,Jn=qn.TOGETHER_MENU_COUNTRIES_ENABLED,$n=qn.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,ne=qn.togetherApiDomain,ee=n.care,te=void 0===ee?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:ee,ie=te.CARE_MENU_COUNTRIES_ENABLED,oe=te.ENABLE_CARE_PROFILE_MENU_LOCALES,ae=te.careApiDomain,le=n.discover,re=(void 0===le?{discoverApiDomain:""}:le).discoverApiDomain,se=n.activeMenuService,ce=void 0===se?"categories":se,pe=n.basePath,de=n.isAmp,me=void 0!==de&&de,he=n.nextHead,ge=n.routerPathname,ue=n.routerQuery,xe=n.routerAsPath,fe=n.locale,ye=n.userState,ve=n.callApiHandler,be=n.userProfileRouterPush,we=n.onTopBarAppears,ke=n.forcedCanonicalUrl,Ce=n.isUserProfileNavigatorMenuHidden,Te=n.sitewideBanner,_e=n.sitewideBannerShown,Le=void 0===_e||_e,Se=n.sponsorComponent,Ie=n.languageOptions,Ae=n.isSearchBarDisplay,Ne=n.ampSubBar,Me=n.isSearchIconDisplayed,Oe=void 0===Me||Me,Pe=n.enabledExperimentalCareHeader,Re=void 0!==Pe&&Pe,Be=n.onCareHeaderClick,De=n.dueDatePopup,He=n.welcomePopup,ze=n.ampNextArticle,Ue=n.usingDefaultHead,Fe=void 0===Ue||Ue,je=n.acceptCookiePopup,Ge=n.seoCustom,Ye=n.hasStickyBottomBar,Ve=void 0===Ye||Ye,We="boolean"==typeof Ae?Ae:!j,Ze=vn(),Ke=Gn[fe||"en-PH"]||{},Xe=m((function(){var n;return(null===(n=xe.split("?"))||void 0===n?void 0:n[0])||""}),[xe]),Qe=m((function(){return"".concat(pe).concat("/"===Xe.slice(-1)?Xe:"".concat(Xe,"/"))}),[Xe]),qe=m((function(){return(null==Ie?void 0:Ie.find((function(n){return n.value!==Qe})))||null}),[Ie,Qe]),Je=r(g),$e=Je[0],nt=Je[1],et=r(v),tt=et[0],it=et[1],ot=r(E),at=ot[0],lt=ot[1],rt=r(k),st=rt[0],ct=rt[1],pt=r(T),dt=pt[0],mt=pt[1],ht=r(L),gt=ht[0],ut=ht[1],xt=r(I),ft=xt[0],yt=xt[1],vt=Bn||"https://".concat(z[fe])||"",bt="undefined"!=typeof window,Et=bt&&document.querySelector("#categories-menu"),wt=Et&&bt&&window.getComputedStyle(Et),kt=wt&&wt.getPropertyValue("left"),Ct=s("0px"===kt),Tt=r(Ct.current),_t=Tt[0],Lt=Tt[1],St=gr(".top-menu-categories"),It=gr(".top-menu-health-tools"),At=gr(".top-menu-communities"),Nt=gr(".top-menu-care-specialties"),Mt=r(St&&"none"!==St?"categories":It&&"none"!==It?"tools":At&&"none"!==At?"communities":Nt&&"none"!==Nt?"care":"none"),Ot=Mt[0],Pt=Mt[1],Rt=m((function(){var n,e;return l.createElement(Gi,null,null===(e=null===(n=fe.split("-"))||void 0===n?void 0:n[0])||void 0===e?void 0:e.toUpperCase(),l.createElement("img",{src:"language"===Ot?"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:Ze("home.navigator.menuItem.language")}))}),[Ot,fe]),Bt=ye.userInfo,Dt=ye.isLoggedIn,Ht=function(n){Ot!==n&&(Pt(n),Lt(!0)),Ot===n&&(Pt("none"),Lt(!1))},zt=function(){Lt(!1),Pt("none")},Ut=function(n,e){"Enter"===n.key&&(window.location.href="".concat(zn,"/search/?s=").concat(e))},Ft=null===(t=null==Gn?void 0:Gn[fe])||void 0===t?void 0:t.SITE_NAME_FORMATTED,jt=[{name:Ze("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:"",isDisplayed:!0},{name:Ze("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:"",isDisplayed:!0}];(null==Jn?void 0:Jn.includes(fe))&&jt.push({name:Ze("home.navigator.menuItem.helloTogether"),id:"together",link:Dn+"/",thumbnail:"",isDisplayed:!0}),(null==ie?void 0:ie.includes(fe))&&jt.push({name:Ze("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:"",isDisplayed:!0}),c((function(){document.documentElement.style.overflow=_t?"hidden":""}),[_t]);var Gt=!!Se;c((function(){Dt&&("first_login"===(null==ue?void 0:ue.source)?(null==Bt?void 0:Bt.email)&&""!==(null==Bt?void 0:Bt.email)?window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,email:null==Bt?void 0:Bt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,sign_up:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:(null==Bt?void 0:Bt.email)&&""!==(null==Bt?void 0:Bt.email)?window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,email:null==Bt?void 0:Bt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}:window.insider_object={user:e({uuid:null==Bt?void 0:Bt.id,log_in:!0},(null==Bt?void 0:Bt.name)?{name:null==Bt?void 0:Bt.name}:{})}),o(void 0,void 0,void 0,(function(){var n,t;return a(this,(function(o){switch(o.label){case 0:return $e?[3,3]:[4,fetch("helloSites"===i?In(fe,re):(a=an,(a||"https://staging.marrybaby.vn/")+"wp-json/api/"+A(q,e({},l))))];case 1:return[4,o.sent().json()];case 2:return t=o.sent(),[3,4];case 3:t=null,o.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!$e&&nt("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var a,l}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l;return a(this,(function(a){switch(a.label){case 0:return v&&0!==(null==v?void 0:v.length)||0!==(null==tt?void 0:tt.length)?[3,3]:(o={},[4,fetch(_n(fe,re))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e.status&&(null===(l=e.data)||void 0===l?void 0:l.length)>0&&(i=e.data.map(wn),0===tt.length&&it(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,e,t,o,l,r,s,c,p;return a(this,(function(a){switch(a.label){case 0:return I&&0!==(null==I?void 0:I.length)||"helloSites"!==i||0!==(null==ft?void 0:ft.length)?[3,3]:(l={},[4,fetch(Sn(fe,re,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,a.sent().json()];case 2:return l.response=a.sent(),t=l,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,1===(null==(e=void 0===n?{}:n)?void 0:e.status)&&(null===(s=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(o=null===(p=null===(c=e.data)||void 0===c?void 0:c.articles)||void 0===p?void 0:p.map(On).filter(Pn).slice(0,4),0===ft.length&&yt(o)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c;return a(this,(function(a){switch(a.label){case 0:return(null==E?void 0:E.length)||(null==at?void 0:at.length)||(null==k?void 0:k.length)||(null==k?void 0:k.length)?[3,6]:(s={},"helloSites"!==i?[3,2]:[4,fetch(Ln(fe,re))]);case 1:return l=a.sent(),[3,4];case 2:return[4,fetch((p=an,(p||"https://staging.marrybaby.vn/")+"wp-json/api/"+A(J,e({},d))))];case 3:l=a.sent(),a.label=4;case 4:return[4,l.json()];case 5:return s.response=a.sent(),o=s,[3,7];case 6:o={},a.label=7;case 7:return n=o.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(c=t.data)||void 0===c?void 0:c.length)>0&&("helloSites"===i?(r=t.data.map(Cn),0===at.length&&ct(r)):(r=t.data.map(kn),0===at.length&<(r))),[2]}var p,d}))})),o(void 0,void 0,void 0,(function(){var n,e,t,i,o,l,r;return a(this,(function(a){switch(a.label){case 0:return T&&0!==(null==T?void 0:T.length)||!ie.includes(fe)||0!==(null==dt?void 0:dt.length)?[3,3]:(o={},[4,fetch(Tn(fe,ae))]);case 1:return[4,a.sent().json()];case 2:return o.response=a.sent(),t=o,[3,4];case 3:t={},a.label=4;case 4:return n=t.response,null!==(e=void 0===n?{}:n)&&1===e._status&&(null===(r=null===(l=e._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=e._data.specialties,0===dt.length&&mt(i)),[2]}}))})),o(void 0,void 0,void 0,(function(){var n,t,o,l,r,s,c,p,d;return a(this,(function(a){switch(a.label){case 0:return L&&0!==(null==L?void 0:L.length)||!Jn.includes(fe)||0!==(null==gt?void 0:gt.length)?[3,3]:(r={},[4,fetch("helloSites"===i?An(fe,ne):(m=ne,(m||"https://together.hellohealthgroup.com/")+"api/v1/"+A(Y,e(e({},h),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,a.sent().json()];case 2:return r.response=a.sent(),o=r,[3,4];case 3:o={},a.label=4;case 4:return n=o.response,(null===(c=null===(s=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===s?void 0:s.communities)||void 0===c?void 0:c.length)>0&&(l=(null===(d=null===(p=null==t?void 0:t.data)||void 0===p?void 0:p.communities)||void 0===d?void 0:d.map(bn))||[],0===gt.length&&ut(l)),[2]}var m,h}))}))}),[]);var Yt=l.createElement(rr,{locale:fe,UP_BASEPATH:P,SSO_URL:Xn,userProfileRouterPush:be,dispatchLogout:Kn,isOpen:"profile"===Ot,isMyHealthEnabled:W,ENABLE_CARE_PROFILE_MENU_LOCALES:oe,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:$n,closePopup:zt,userInfo:Bt,siteType:i,isUserProfileNavigatorMenuHidden:Ce,togetherApiDomain:ne}),Vt=me&&{"next-page-hide":""};return l.createElement(cn,{SEOData:e({SEOTitle:p,SEOImage:h,SEODescription:d,siteName:Ft,seoType:H},M),isAmp:me,locale:fe,routerPathname:ge,routerQuery:ue,nextHead:he,siteType:i,forcedCanonicalUrl:ke,userId:null==Bt?void 0:Bt.id,usingDefaultHead:Fe,seoCustom:Ge},l.createElement(ir,{basePath:pe,callPostLogOutApi:X,openLogoutPopup:K,onCloseHandler:Q,onLogoutHandler:$,siteType:i}),De,He,je,j?l.createElement(l.Fragment,null,l.createElement(Ui,null,l.createElement("section",e({className:me?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Vt),l.createElement(Ee,{siteType:i,statics:{DISCOVER_URL_FE:vt,SSO_URL:Xn,HOME_PAGE_URL:zn,MARRY_BABY_FE:Hn,CARE_URL_FE:Fn},marryBaby:{tone:on},menuItems:jt,menu:me?void 0:l.createElement(nr,{key:"mobile-menu-popup",menuItems:jt,siteType:i,isMobileMenuOpened:"categories"===Ot,categories:tt,healthTools:at,healthToolsByCategory:st,careSpecialties:dt,togetherCommunities:gt,spotlightsList:ft,onMobileMenuClick:Ht,isMobile:j,closePopup:zt,footer:l.createElement(zi,{locale:fe,isMobile:j,basePath:pe,isAmp:me,footerInfo:$e,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn}}),locale:fe,callApiHandler:ve,basePath:pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,togetherApiDomain:ne||an,TOGETHER_URL_FE:Dn},care:{CARE_MENU_COUNTRIES_ENABLED:ie,careApiDomain:ae,CARE_URL_FE:Fn},discover:{discoverApiDomain:re,DISCOVER_URL_FE:vt},activeMenuService:ce,statics:{DISCOVER_URL_FE:vt,HOME_PAGE_URL:zn,HEALTH_TOOL_URL_FE:Un,MARRY_BABY_FE:Hn,TOGETHER_URL_FE:Dn,STATIC_PAGES:Vn},marryBaby:{tone:on},routerAsPath:xe,popupType:"none",sso:{SSO_URL:Xn}}),profileMenu:Yt,type:"home",currentPopupType:Ot,isMobile:j,isLoginButtonDisplayed:!0,onMenuClick:Ht,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(n){we&&we(n)},isSearchBarDisplay:We,onSearchKeyPress:Ut,isStatic:me||B,sponsorComponent:Se,locale:fe,userInfo:ye.userInfo,basePath:pe,isAmp:me,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:xe,title:"",sitewideBanner:Te,sitewideBannerShown:Le,isSearchIconDisplayed:Oe,enabledExperimentalCareHeader:Re,languageMenu:void 0!==Ie&&Ie.length>1?l.createElement(l.Fragment,null,2===Ie.length&&qe?l.createElement(Yi,{"data-is-active":!0,href:(null==qe?void 0:qe.value)||"#"},null==qe?void 0:qe.label):l.createElement(hr,{options:Ie,selected:Qe,label:Rt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ne&&l.createElement(l.Fragment,null,Ne)),me?l.createElement(ji,{className:"root-container","data-menu-opened":Ct.current,"data-sponsored":Gt,"data-is-mobile":j,"data-sitewide":!!Te},u,l.createElement(zi,{isAmp:me,isMobile:j,locale:fe,basePath:pe,footerInfo:$e,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn},ampNextArticle:ze,routerQuery:ue})):l.createElement(Fi,{className:"root-container","data-menu-opened":Ct.current,"data-sponsored":Gt,"data-is-mobile":j,"data-sitewide":!!Te,hasStickyBottomBar:Ve},l.createElement(l.Fragment,null,u,l.createElement(zi,{isAmp:me,isMobile:j,locale:fe,basePath:pe,footerInfo:$e,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn},ampNextArticle:ze,routerQuery:ue})))),me&&l.createElement(qt,{locale:fe,categoriesSSR:v,healthToolsSSR:k,spotlightsSSR:I,serviceUrls:{TOGETHER_URL_FE:Dn,CARE_URL_FE:Fn,DISCOVER_URL_FE:vt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:$n,togetherApiDomain:ne},care:{CARE_MENU_COUNTRIES_ENABLED:ie,ENABLE_CARE_PROFILE_MENU_LOCALES:oe,careApiDomain:ae},basePath:pe,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"})})):l.createElement(l.Fragment,null,l.createElement(Ee,{siteType:i,menuItems:jt,marryBaby:{tone:on},locale:fe,currentPopupType:Ot,onSearchKeyPress:Ut,openPopup:function(n){Ot!==n&&Pt(n),Ot===n&&Pt("none")},isMobile:j,isLoginButtonDisplayed:!0,isSearchBarDisplay:!me&&We,searchPlaceholder:Ze("home.search",{site:"helloSites"===i?null==Ke?void 0:Ke.SITE_NAME:"Marry Baby"}),sitewideBannerShown:Le,statics:{DISCOVER_URL_FE:vt,SSO_URL:Xn,HOME_PAGE_URL:zn,MARRY_BABY_FE:Hn,CARE_URL_FE:Fn},menu:l.createElement(nr,{menuItems:jt,siteType:i,isMobile:j,popupType:Ot,closePopup:function(){Pt("none")},categories:tt,healthTools:at,healthToolsByCategory:st,careSpecialties:dt,togetherCommunities:gt,spotlightsList:ft,locale:fe,callApiHandler:ve,basePath:pe,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Jn,togetherApiDomain:ne,TOGETHER_URL_FE:Dn},care:{careApiDomain:ae,CARE_MENU_COUNTRIES_ENABLED:ie,CARE_URL_FE:Fn},discover:{discoverApiDomain:re,DISCOVER_URL_FE:vt},statics:{DISCOVER_URL_FE:vt,HOME_PAGE_URL:zn,HEALTH_TOOL_URL_FE:Un,MARRY_BABY_FE:Hn,TOGETHER_URL_FE:Dn,STATIC_PAGES:Vn},activeMenuService:ce,marryBaby:{tone:on},routerAsPath:xe,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Xn},onMobileMenuClick:void 0}),profileMenu:Yt,userInfo:ye.userInfo,sponsorComponent:Se,type:"home",basePath:pe,isAmp:me,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:xe,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:Te,languageMenu:void 0!==Ie&&Ie.length>1?l.createElement(l.Fragment,null,2===Ie.length&&qe?l.createElement(Yi,{"data-is-active":!0,href:(null==qe?void 0:qe.value)||"#"},null==qe?void 0:qe.label):l.createElement(hr,{options:Ie,selected:Qe,label:Rt,onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:Re,onCareHeaderClick:Be}),me?l.createElement(ji,{className:"root-container","data-menu-opened":_t,"data-is-mobile":j,"data-sponsored":Gt,"data-sitewide":!!Te},u):l.createElement(Fi,{className:"root-container","data-menu-opened":_t,"data-is-mobile":j,"data-sponsored":Gt,"data-sitewide":!!Te,hasStickyBottomBar:Ve},u),l.createElement(zi,{type:"main",locale:fe,basePath:pe,isMobile:j,isAmp:me,footerInfo:$e,siteType:i,marryBabySocialLinks:{facebookLink:pn,instagramLink:mn,linkedinLink:gn,twitterLink:xn,youtubeLink:yn,zaloLink:Nn}})))},xr=function(n){return l.createElement(yn.Provider,{value:{translation:n.translation||fn}},l.createElement(ur,e({},n)))};export{cn as Layout,Ee as NavigationBar,xr as NavigationLayout,xn as SiteWide,Ge as StickySponsoredBy,fn as defaultTranslation};
|