@hhgtech/hhg-components 1.20.67 → 1.20.69

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.
Files changed (60) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/molecules/embeddedHeathToolCards/ovulation.d.ts +16 -0
  4. package/build/components/molecules/index.d.ts +2 -0
  5. package/build/components/molecules/ovulationCalculator/index.d.ts +14 -0
  6. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +12 -0
  7. package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +15 -0
  8. package/build/components/organisms/heroBannerHealthTool/index.d.ts +13 -0
  9. package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +10 -0
  10. package/build/components.js +1 -1
  11. package/build/core.js +1 -1
  12. package/build/en-PH-7307aee7.js +1 -0
  13. package/build/esm/babyGrowth.js +1 -1
  14. package/build/esm/care.js +1 -1
  15. package/build/esm/components.js +1 -1
  16. package/build/esm/core.js +1 -1
  17. package/build/esm/en-PH-ca0683d7.js +1 -0
  18. package/build/esm/hooks.js +1 -1
  19. package/build/esm/i18n.js +1 -1
  20. package/build/esm/{index-2b1b2c87.js → index-2974be22.js} +1 -1
  21. package/build/esm/index-36cf9f36.js +1 -0
  22. package/build/esm/index-647168d7.js +1 -0
  23. package/build/esm/{index-f7c111b3.js → index-7dd85542.js} +1 -1
  24. package/build/esm/index-df77c2b7.js +1 -0
  25. package/build/esm/index.js +1 -1
  26. package/build/esm/navigation.js +1 -1
  27. package/build/esm/navigationLayout_deprecated.js +1 -1
  28. package/build/esm/together.js +1 -1
  29. package/build/esm/translationsProvider-bc47fc67.js +1 -0
  30. package/build/esm/{types-9328f5c5.js → types-a75b9971.js} +1 -1
  31. package/build/esm/{types-469eed56.js → types-b626b817.js} +1 -1
  32. package/build/esm/{useTranslations-6696472c.js → useTranslations-ad4d9d26.js} +1 -1
  33. package/build/esm/{utils-9a457ba0.js → utils-35b39570.js} +1 -1
  34. package/build/hooks.js +1 -1
  35. package/build/i18n.js +1 -1
  36. package/build/{index-65210841.js → index-1afc28c9.js} +1 -1
  37. package/build/index-7d762a8e.js +1 -0
  38. package/build/index-ce142826.js +1 -0
  39. package/build/index-d3426232.js +1 -0
  40. package/build/{index-bde94e0b.js → index-f3af2c39.js} +1 -1
  41. package/build/index.js +1 -1
  42. package/build/interfaces/types/index.d.ts +5 -0
  43. package/build/navigation.js +1 -1
  44. package/build/navigationLayout_deprecated.js +1 -1
  45. package/build/together.js +1 -1
  46. package/build/translationsProvider-57deb2ca.js +1 -0
  47. package/build/{types-a1b0d2d4.js → types-36c1f773.js} +1 -1
  48. package/build/{types-e477c9e0.js → types-df667ff7.js} +1 -1
  49. package/build/{useTranslations-0c221726.js → useTranslations-a5b5c74c.js} +1 -1
  50. package/package.json +1 -1
  51. package/build/en-PH-0dae895f.js +0 -1
  52. package/build/esm/en-PH-777d3fd2.js +0 -1
  53. package/build/esm/index-1e676606.js +0 -1
  54. package/build/esm/index-2540acb6.js +0 -1
  55. package/build/esm/index-3e8207b8.js +0 -1
  56. package/build/esm/translationsProvider-f2406d80.js +0 -1
  57. package/build/index-59e2a4b6.js +0 -1
  58. package/build/index-afddb46b.js +0 -1
  59. package/build/index-de4ae67a.js +0 -1
  60. package/build/translationsProvider-841985cd.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-bde94e0b.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./utils-c05996cf.js"),r=require("./index-e15ec8a9.js"),s=require("./index.styled-343a2168.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./screenSizeContext-6726a3b5.js"),m=require("./index-9b91ee37.js");require("react-range"),require("react-dom"),require("./translationsContext-2d7ea471.js"),require("lodash/debounce"),require("./index-bce6f562.js"),require("date-fns"),require("./Locale-11b51016.js");var h=require("./zalo-e7b9d144.js"),g=require("./index-c21b1491.js"),f=require("react-loading-skeleton"),x=require("./translationsProvider-841985cd.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-0c221726.js"),require("./en-PH-0dae895f.js"),require("slugify"),require("vanilla-lazyload");var v,b,E,w=y(n),k=y(o),_=y(p),C=y(f),T={"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"},L={"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"}},O={"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"}},S={"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"}]},I="user",A="community?website_url={websiteUrl}",M="topic?community_id={communityId}&website_url={websiteUrl}",N="spotlights?per_page={perPage}&order_by={orderBy}",P="healthtools?_hasgroup=1",R="categories?type=all",B="footer",j="api/specialties?_ishome=1&site={domain}",D="menu/footer",H="health-tools",z=99,U=300,F=400,G=200,Y=210,V=5,Q=6,Z=300,W={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"}},q=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,b,E,k=n.children,_=n.SEOData,C=void 0===_?{}:_,O=n.isAmp,I=void 0!==O&&O,A=n.locale,M=void 0===A?"vi-VN":A,N=n.routerPathname,P=n.routerQuery,R=n.nextHead,B=n.siteType,j=n.seoCustom,D=n.userId,H=n.forcedCanonicalUrl,z=n.usingDefaultHead,U="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,F=C.totalPages,G=C.currentPage,Y=C.SEOTitle,V=void 0===Y?"":Y,Q=C.SEODescription,Z=void 0===Q?"":Q,W=C.SEOImage,q=C.seoType,K=C.SEOImageWidth,X=C.SEOImageHeight,$=C.customMetaData,J=void 0===$?[]:$,ee=C.isIndexable,ne=void 0===ee||ee,te=C.hasNoCanonical,ae=void 0!==te&&te,ie=ne&&U?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",oe=process.env.NEXT_PUBLIC_BASE_API_URL,le=C.canonicalUrl||N;Object.keys(P).forEach((function(e){var n=P[e];n&&Array.isArray(n)&&(le=le.replace("[...".concat(e,"]"),n.join("/")))}));var re,se=M||"en-PH",de="helloSites"===B?T[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(C.apiMetaData&&"string"==typeof C.apiMetaData){var pe=null===(a=C.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?C.apiMetaData.replace(pe[0],pe[0].includes("-")?pe[0].replace("-",ue+" - "):"<title>".concat(pe[1].concat(ue),"</title>")).replace('<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,'" />'),'<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,"?page=").concat(G,'" />')):C.apiMetaData,he=(re=t.htmlReactParser(me,{trim:!0})).find((function(e){var n,t;return"og:image"===(null===(n=e.props)||void 0===n?void 0:n.property)||"og:image:secure_url"===(null===(t=e.props)||void 0===t?void 0:t.property)}));if(!he){var ge="https://".concat(de,"/images/").concat(M,".png");re=e.__spreadArray(e.__spreadArray([],re,!0),[w.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=C.openGraph)||void 0===i?void 0:i.image)||ge||""}),w.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=C.openGraph)||void 0===o?void 0:o.image)||ge}),w.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=C.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=C.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),w.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=C.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=C.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return w.default.createElement(w.default.Fragment,null,R&&z&&w.default.createElement(R,null,w.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&w.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?w.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?w.default.createElement(w.default.Fragment,null):w.default.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"}),w.default.createElement("link",{rel:"preconnect",href:oe}),w.default.createElement("meta",{charSet:"UTF-8"}),!I&&w.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),w.default.createElement("meta",{name:"google",content:"notranslate"}),w.default.createElement("meta",{name:"robots",content:ie}),w.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),J.map((function(n,t){return w.default.createElement("meta",e.__assign({key:t},n))})),w.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),w.default.createElement("meta",{name:"page_type",content:"Home"}),w.default.createElement("meta",{name:"page_platform",content:"WEB"}),w.default.createElement("meta",{name:"page_language",content:se}),w.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&w.default.createElement(w.default.Fragment,null,w.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&w.default.createElement(w.default.Fragment,null,"helloSites"===B?w.default.createElement("title",null,j?V:V+" - "+(null===(c=L[M])||void 0===c?void 0:c.SITE_NAME)):w.default.createElement("title",null,V),!ae&&w.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),w.default.createElement("meta",{name:"description",content:Z||(null===(p=C.openGraph)||void 0===p?void 0:p.description)}),C.schemaData&&w.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:C.schemaData}}),w.default.createElement("meta",{property:"og:locale",content:M}),w.default.createElement("meta",{property:"og:type",content:q||"website"}),w.default.createElement("meta",{property:"og:title",content:(null===(u=C.openGraph)||void 0===u?void 0:u.title)||V}),w.default.createElement("meta",{property:"og:description",content:(null===(m=C.openGraph)||void 0===m?void 0:m.description)||Z}),w.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),w.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),w.default.createElement("meta",{property:"og:image",content:(null===(h=C.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),w.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=C.openGraph)||void 0===g?void 0:g.image)||W||fe}),w.default.createElement("meta",{property:"og:image:width",content:(null===(f=C.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=C.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),w.default.createElement("meta",{property:"og:image:height",content:(null===(y=C.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=C.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),w.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),w.default.createElement("meta",{name:"twitter:title",content:(null===(b=C.twitter)||void 0===b?void 0:b.title)||V}),w.default.createElement("meta",{name:"twitter:description",content:Z}),w.default.createElement("meta",{name:"twitter:image",content:(null===(E=C.twitter)||void 0===E?void 0:E.image)||W})),("helloSites"===B?S[se]||[]:S.marryBaby).map((function(e,n){return"link"===e.type?w.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?w.default.createElement("meta",{key:n,name:e.name,content:e.content}):null})),Array.isArray(re)&&H?re.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):re,H&&w.default.createElement("link",{rel:"canonical",href:H}),!C.hasNoAmp&&"vi-VN"!==M&&w.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?w.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&w.default.createElement(R,null),k)},K="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",X="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",$="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",J=k.default.div(v||(v=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.cobalt})),ee=k.default.div(b||(b=e.__makeTemplateObject(["\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"]))),ne=k.default.div(E||(E=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),te={"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"},ae=n.createContext({}),ie=function(){var e=n.useContext(ae);return function(n,t){var a=(e.translation||{})[n]||te[n];return a?t?_.default(a,t):a:function(){throw Error("missing translation "+n)}()}},oe=function(e){return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:(null==e?void 0:e.slug)||"",communityId:null==e?void 0:e.id,color:null==e?void 0:e.color}:{}},le=function(e){var n;return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:"".concat(null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug,"/").concat(null==e?void 0:e.slug),communityId:null==e?void 0:e.id}:{}},re=function(e){var n,t,a,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return re(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},se=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},de=function(e){var n,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(n=null==e?void 0:e.health_tools)||void 0===n?void 0:n.map((function(e){return se(e)})))&&void 0!==t?t:[]}:{}},ce=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+_.default(j,e.__assign(e.__assign({},a),{domain:T[n]}))},pe=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(R,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(P,e.__assign({},a))},me=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(N,e.__assign({},a))},he=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(B,e.__assign({},a))},ge=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(A,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(T[n])}))},fe=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(M,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(T[n])}))},xe=function(e){var n,t=e.type,a=e.specialtySlug,i=e.locale;return"/".concat(c.LOCALIZED_SLUGS[i].ALL,"/").concat((null===(n=c.LOCALIZED_SLUGS[i])||void 0===n?void 0:n[t])||"doctor","/").concat(null!=a?a:"")},ye=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ve=function(e){var n=new Date;if(null==e?void 0:e.startDate){var t=new Date(e.startDate);if(n.getTime()<t.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(n.getTime()>a.getTime())return!1}return!0},be=k.default.header(Be||(Be=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),z,U,F),Ee=k.default.header(je||(je=e.__makeTemplateObject(["\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"]))),we=k.default.div(De||(De=e.__makeTemplateObject(["\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"]))),ke=k.default.div(He||(He=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),V,Q,Z),_e=k.default.div(ze||(ze=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightPink})),Ce=k.default.div(Ue||(Ue=e.__makeTemplateObject(["\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"]))),Te=k.default.div(Fe||(Fe=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Le=k.default.div(Ge||(Ge=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Oe=k.default.div(Ye||(Ye=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.mbColors.lightGray}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white})),Se=k.default.div(Ve||(Ve=e.__makeTemplateObject(["\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"]))),Ie=k.default.div(Qe||(Qe=e.__makeTemplateObject(["\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"]))),Ae=k.default.div(Ze||(Ze=e.__makeTemplateObject(["\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"]))),Me=k.default.div(We||(We=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.colors.secondaryDark}),(function(e){return e.theme.mbColors.dark}),(function(e){return e.theme.colors.secondaryDark})),Ne=k.default.div(qe||(qe=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Pe=k.default.div(Ke||(Ke=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Re=k.default.div(Xe||(Xe=e.__makeTemplateObject([""],[""])));k.default.div($e||($e=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,$e,Je,en=k.default.div(Je||(Je=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}));function nn(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function tn(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function an(e){var n=e.siteType,t=e.type;return"helloSites"===n?w.default.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}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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 on(n){var a,i,o=n.type,l=n.isStatic,d=n.isAmp,c=n.isDisplayed,p=n.siteType,u=n.isCollapsed,h=n.sitewideBannerShown,g=n.sitewideBanner,f=n.sitewideBannerClosed,x=n.setSitewideBannerClosed,y=n.isMobile,v=n.onMenuClick,b=n.menu,E=n.isSearchIconDisplayed,k=n.statics,_=k.DISCOVER_URL_FE,C=k.SSO_URL,T=k.HOME_PAGE_URL,L=k.CARE_URL_FE,O=n.basePath,S=n.languageMenu,I=n.enabledExperimentalCareHeader,A=n.onCareHeaderClick,M=n.logoType,N=n.locale,P=n.isInit,R=n.title,B=n.sponsorComponent,j=n.currentUrl,D=n.userInfo,H=n.currentPopupType,z=n.avatar,U=n.profileMenu,F=n.isLoginButtonDisplayed,G=n.goToLogin,Y=n.isSearchBarDisplay,V=n.searchPlaceholder,Q=n.onSearchValueChanged,Z=n.keyPressed,W=ie(),q=!!B,K=!!(null===(i=null===(a=null==B?void 0:B.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),X=h&&!!g&&!f,$=ln({isSiteWide:!!g&&!f,isShowingSiteWideBanner:X,isSponsored:q,hasSponsoredBanners:K,isMobile:!0}),J=$.headerRef,ee=$.headerHeight;return w.default.createElement(w.default.Fragment,null,w.default.createElement(be,{"data-header-type":o,"data-collapsed":!l&&u,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":c,"data-is-amp":d,"data-sponsored":q,"data-site-type":p,"data-sitewide-banner-shown":X,id:"site-header",ref:J},g?w.default.isValidElement(g)?w.default.cloneElement(g,{isCollapsed:u,setBannerClosed:x,isAmp:d,isMobile:y}):g:null,w.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===p?"center":"flex-start",background:"white"},"marryBaby"===p?{paddingLeft:66}:{}),void 0!==S||I?{paddingLeft:I?48:64,gap:24,justifyContent:"unset"}:{})},w.default.createElement(Ee,null,w.default.createElement(we,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},w.default.createElement("div",{onClick:function(){return null==v?void 0:v("categories")}},"home"===o&&w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},w.default.createElement(an,{siteType:p,type:o})),"popup"===o&&w.default.createElement(tn,null),"popup-sub-level"===o&&w.default.createElement(nn,null)),b),E&&"helloSites"===p&&"home"===o&&w.default.createElement(we,{style:{paddingRight:16}},w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(T,"/search?s=&page=1")},w.default.createElement("img",{src:"".concat(O,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),w.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&w.default.createElement(Ne,{"data-is-profile":!0,className:P?"":"menu-handler-health-tools"},w.default.createElement("div",{className:"menu-handler-item"},E&&"marryBaby"===p&&"home"===o&&w.default.createElement(we,{style:{justifySelf:"flex-end"}},w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(_,"/search?s=&page=1")},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),I&&w.default.createElement(w.default.Fragment,null,A?w.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:j,onClick:function(e){return A(e)}},W("login.booking")):w.default.createElement("a",{href:L,className:"care-button"},w.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:j},W("login.booking")))),(null==D?void 0:D.id)?w.default.createElement(Ie,{style:{position:"relative"}},w.default.createElement("div",{onClick:function(){return v&&v("profile")}},"profile"===H?w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):z),U):d?w.default.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":j,href:"".concat(C,"?returnUrl=").concat(j.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===N?w.default.createElement(en,{onClick:G},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:G},W("navigation.loginJoin"))):F&&w.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":j},I?w.default.createElement(en,{onClick:G},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:G},W("navigation.loginJoin")):w.default.createElement("div",{className:"login-btn-mobile",onClick:G,style:{paddingLeft:16}},w.default.createElement(s.Text,{size:"p3"},W("navigation.loginJoin")))))),("home"===o||"popup"===o)&&w.default.createElement("a",{href:T||""},w.default.createElement(s.Logo,{type:M,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===N?w.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==S&&w.default.createElement(Me,{"data-is-active":!0,className:P?"":"menu-handler-language",onClick:function(){v&&v("language")}},S),R&&w.default.createElement(m.Heading,{className:"top-bar-header",tag:"h5"},R)),B?w.default.isValidElement(B)?w.default.cloneElement(B,{isCollapsed:u,locale:N,isMobile:y,isAmp:d}):B:null),Y?w.default.createElement(ke,{"data-header-type":o,"data-is-displayed":c,"data-sitewide-banner-shown":h&&!!g},w.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(P?"":"-temp"),size:"md",placeholder:V,onChange:Q,onKeyPress:Z,type:"search",displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):w.default.createElement(w.default.Fragment,null,!d&&w.default.createElement("div",{style:{height:ee}})))}var ln=function(e){var t=e.hasSponsoredBanners,i=e.isSiteWide,o=e.isSponsored,l=e.isShowingSiteWideBanner,r=e.isMobile,s=n.useRef(null),d=n.useState(0),c=d[0],p=d[1],u=n.useCallback(a.debounce((function(){var e,n=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=n+30&&p(n)}),100),[]);n.useEffect((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),n.useEffect((function(){u()}),[i,l,o,t,s.current]);var m=n.useMemo((function(){var e=r?64:69;return l&&(e+=64),o&&(e+=40),e}),[r,l,o]);return{headerHeight:c||m,headerRef:s}},rn=function(e){var i,o,c,p=e.siteType,u=e.basePath,m=e.statics,h=e.currentPopupType,g=void 0===h?"none":h,f=e.isDisplayed,x=void 0===f||f,y=e.isSearchBarDisplay,v=void 0===y||y,b=e.searchPlaceholder,E=void 0===b?"":b,k=e.openPopup,_=e.onTopBarAppears,C=e.onSearchChange,O=e.onSearchKeyPress,S=e.menu,I=e.isAmp,A=e.profileMenu,M=e.isMobile,N=void 0!==M&&M,P=e.isLoginButtonDisplayed,R=e.title,B=e.type,j=void 0===B?"home":B,D=e.onMenuClick,H=e.isStatic,z=void 0!==H&&H,U=e.routerAsPath,F=e.locale,G=e.userInfo,Y=e.marryBaby,V=(void 0===Y?{tone:"white"}:Y).tone,Q=e.menuItems,Z=void 0===Q?[]:Q,W=e.isInit,q=e.sitewideBanner,K=e.sitewideBannerShown,X=void 0===K||K,$=e.sponsorComponent,J=e.languageMenu,ee=e.isSearchIconDisplayed,ne=void 0!==ee&&ee,te=e.enabledExperimentalCareHeader,ae=e.onCareHeaderClick,oe=m.SSO_URL,le=m.HOME_PAGE_URL,re=m.CARE_URL_FE,se=ie(),de=!!$,ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=n.useState(!1),xe=fe[0],ye=fe[1],ve=n.useState(W||!1),be=ve[0],Ee=ve[1],we=n.useRef(47),ke=n.useRef(!1),Pe=n.useRef(!1),Re="helloSites"===p?"https://".concat(T[F]).concat(U):"https://www.marrybaby.vn".concat(U),Be=n.useMemo((function(){var e=(null==G?void 0:G.name)||(null==G?void 0:G.username);return w.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==G?void 0:G.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===p?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:I})}),[null==G?void 0:G.username,null==G?void 0:G.name,null==G?void 0:G.avatar]),je=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},De="helloSites"===p?null===(i=L[F])||void 0===i?void 0:i.LOGO_TYPE:p,He="undefined"!=typeof window,ze=function(e){null==C||C(e)},Ue=n.useCallback(a.throttle((function(){var e;if("home"===j){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;He&&n&&(n.scrollY>we.current&&n.scrollY>64&&!ke.current&&(ke.current=!0,ue(!0)),n.scrollY<we.current&&ke.current&&(ke.current=!1,ue(!1),t&&n.scrollY),n.scrollY<we.current&&t&&n.scrollY,v?(n.scrollY<64&&n.scrollY<we.current&&Pe.current&&(Pe.current=!1),n.scrollY>8&&n.scrollY>we.current&&!Pe.current&&(Pe.current=!0)):Pe.current=!0,n.scrollY>=0&&(we.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==_||_(!pe)}),[pe]);var Fe=function(e){var n,t;O&&O(e,null!==(t=null===(n=document.getElementById("search-input-"+j))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){N&&Ue()}),[]),n.useEffect((function(){return window.addEventListener("scroll",Ue,{passive:!0}),function(){window.removeEventListener("scroll",Ue)}}),[]),n.useEffect((function(){Ee(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&ye(Boolean(xe))}),[]);var Ge=w.default.createElement(w.default.Fragment,null,Z.find((function(e){return"categories"===e.id}))&&w.default.createElement(Me,{"data-is-active":"categories"===g,className:be?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("categories"),setTimeout((function(){var e,n;null===(n=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===n||n.focus()}),100)}},w.default.createElement("div",{className:"menu-handler-item"},se("home.navigator.menuItem.discover"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"healthTools"===e.id}))&&w.default.createElement(Me,{"data-is-active":"tools"===g,className:be?"":"menu-handler-health-tools",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},se("home.navigator.menuItem.healthTools"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"care"===e.id}))&&!te&&w.default.createElement(Me,{"data-is-active":"care"===g,className:be?"":"menu-handler-care-specialties",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},se("home.navigator.menuItem.helloCare"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"together"===e.id}))&&w.default.createElement(Me,{"data-is-active":"communities"===g,className:be?"":"menu-handler-communities",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},se("home.navigator.menuItem.helloTogether"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&w.default.createElement("div",null,S))),Ye=!!(null===(c=null===(o=null==$?void 0:$.props)||void 0===o?void 0:o.sponsoredBy)||void 0===c?void 0:c.length),Ve=X&&!!q&&!he,Qe=ln({isSiteWide:!!q&&!he,isShowingSiteWideBanner:Ve,isSponsored:de,hasSponsoredBanners:Ye}),Ze=Qe.headerRef,We=Qe.headerHeight;return N?w.default.createElement(on,{type:j,isStatic:z,isAmp:I,isDisplayed:x,siteType:p,isCollapsed:pe,sitewideBannerShown:X,sitewideBanner:q,sitewideBannerClosed:he,setSitewideBannerClosed:ge,isMobile:N,onMenuClick:D,menu:S,isSearchIconDisplayed:ne,statics:m,basePath:u,languageMenu:J,enabledExperimentalCareHeader:te,logoType:De,locale:F,isInit:be,title:R,sponsorComponent:$,currentUrl:Re,userInfo:G,currentPopupType:g,avatar:Be,profileMenu:A,isLoginButtonDisplayed:P,goToLogin:je,isSearchBarDisplay:v,searchPlaceholder:E,onSearchValueChanged:ze,keyPressed:Fe}):w.default.createElement(w.default.Fragment,null,w.default.createElement("div",{style:{height:We}}),w.default.createElement(_e,{ref:Ze,"data-site-type":p,"data-marry-baby-tone":"marryBaby"===p&&V,"data-sponsored":de,"data-sitewide-banner-shown":Ve},q?w.default.isValidElement(q)?w.default.cloneElement(q,{isCollapsed:pe,setBannerClosed:ge}):q:null,w.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:p},w.default.createElement(Ce,null,w.default.createElement(Te,null,w.default.createElement("a",{href:le},w.default.createElement(Le,{"data-is-having-border":"helloSites"===p},w.default.createElement(s.Logo,{style:{display:"flex"},type:De,height:"27px",width:"121px",badge:"id-ID"===F?w.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===p&&w.default.createElement(Oe,{"data-header-type":j,"data-is-displayed":x,"data-sitewide-banner-shown":X&&!!q},w.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+j+(be?"":"-temp"),size:"sm",placeholder:E,onChange:ze,onKeyPress:Fe,displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===p&&w.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Ge)),w.default.createElement(Se,null,"helloSites"===p&&Ge,v&&"marryBaby"===p&&w.default.createElement(Oe,{"data-header-type":j,"data-is-displayed":x,"data-is-styled-borderless":"marryBaby"===p,"data-marry-baby-theme":V},w.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(be?"":"-temp"),size:"sm",placeholder:E,onChange:ze,onKeyPress:Fe,displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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!==J&&w.default.createElement(Me,{"data-is-active":!0,className:be?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),w.default.createElement(Ne,{"data-is-active":"profile"===g,"data-is-profile":!0,className:be?"":"menu-handler-health-tools",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item"},te&&w.default.createElement(w.default.Fragment,null,ae?w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re,onClick:function(e){return ae(e)}},se("login.booking")):w.default.createElement("a",{href:re,className:"care-button no-replace-click"},w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re},se("login.booking")))),(null==G?void 0:G.id)?w.default.createElement(Ie,{style:{position:"relative"}},w.default.createElement("div",{onClick:function(){return k&&k("profile")}},Be),A):P&&w.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Re},te?w.default.createElement(en,{onClick:je},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?w.default.createElement(r.Button,{size:"md",color:"secondary",onClick:je},se("navigation.loginJoin")):w.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:je},se("navigation.loginJoin")))))))),$?w.default.isValidElement($)?w.default.cloneElement($,{isCollapsed:pe,locale:F,isMobile:N,isAmp:I}):$:null))};k.default.div(sn||(sn=e.__makeTemplateObject(["\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 sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn,Tn,Ln=k.default.div(dn||(dn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),u.MediaQueries.mbUp),On=k.default.div(cn||(cn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Sn=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=ie();return w.default.createElement(On,{"data-align-left":n&&!!(null==n?void 0:n.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},w.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),w.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},w.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),w.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(O[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(O[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},In=k.default.div(pn||(pn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),An=k.default.div(un||(un=e.__makeTemplateObject(["\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"]))),Mn=k.default.div(mn||(mn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Nn=k.default.div(hn||(hn=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Pn=k.default.div(gn||(gn=e.__makeTemplateObject([""],[""]))),Rn=k.default.div(fn||(fn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Bn=k.default.div(xn||(xn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),jn=k.default.div(yn||(yn=e.__makeTemplateObject(["\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"]))),Dn=k.default.div(vn||(vn=e.__makeTemplateObject(["\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"])),G),Hn=k.default.div(bn||(bn=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),zn=k.default.div(En||(En=e.__makeTemplateObject(["\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"]))),Un=k.default.div(wn||(wn=e.__makeTemplateObject(["\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"]))),Fn=k.default.div(kn||(kn=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Gn=k.default.div(_n||(_n=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Yn=k.default.div(Cn||(Cn=e.__makeTemplateObject(["\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"]))),Vn=k.default.div(Tn||(Tn=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),Qn=k.default.div(tt||(tt=e.__makeTemplateObject(["\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"]))),Zn=k.default.div(at||(at=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Wn=k.default.div(it||(it=e.__makeTemplateObject(["\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"]))),qn=k.default.div(ot||(ot=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.white})),Kn=k.default.div(lt||(lt=e.__makeTemplateObject(["\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"]))),Xn=k.default.div(rt||(rt=e.__makeTemplateObject(["\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"]))),$n=k.default.div(st||(st=e.__makeTemplateObject(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(e){return e.theme.colors.white}));k.default.div(dt||(dt=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Jn=k.default.div(ct||(ct=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}));k.default.div(pt||(pt=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var et=k.default.div(ut||(ut=e.__makeTemplateObject(["\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"])));k.default.div(mt||(mt=e.__makeTemplateObject(["\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"])),G),k.default.div(ht||(ht=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),k.default.div(gt||(gt=e.__makeTemplateObject(["\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"]))),k.default.div(ft||(ft=e.__makeTemplateObject(["\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"]))),k.default.div(xt||(xt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),k.default.div(yt||(yt=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),k.default.div(vt||(vt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),k.default.div(bt||(bt=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink}));var nt=k.default.div(Et||(Et=e.__makeTemplateObject(["\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"])));k.default.div(wt||(wt=e.__makeTemplateObject(["\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"]))),k.default.div(kt||(kt=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),k.default.div(_t||(_t=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var tt,at,it,ot,lt,rt,st,dt,ct,pt,ut,mt,ht,gt,ft,xt,yt,vt,bt,Et,wt,kt,_t,Ct,Tt,Lt,Ot,St,It,At=k.default.div(Ct||(Ct=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.pink})),Mt=k.default.div(Tt||(Tt=e.__makeTemplateObject(["\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"]))),Nt=function(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}))},Pt=k.default.div(Lt||(Lt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800})),Rt=k.default.a(Ot||(Ot=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.white})),Bt=function(e){var n=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,l=e.serviceUrls,r=e.together,d=e.care,c=e.basePath,p=e.searchPlaceholder,u=ie();return w.default.createElement(Pt,null,w.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},w.default.createElement("amp-nested-menu",{layout:"fill"},w.default.createElement("ul",{style:{paddingBottom:24}},w.default.createElement("div",{className:"amp__menu-header"},w.default.createElement(Pe,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),w.default.createElement("div",{className:"logo"},w.default.createElement(s.Logo,{height:"32px",width:"121px",type:L.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?w.default.createElement("amp-img",{src:t.img$1,width:"56",height:"23"}):void 0})),w.default.createElement("div",null)),w.default.createElement(Rt,{href:"/search"},w.default.createElement(Nt,null),w.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),w.default.createElement("div",{className:"categories__spotlight"},w.default.createElement(Re,{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},w.default.createElement("amp-img",{src:t.img$2,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.discover"))),w.default.createElement(Re,{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'"},w.default.createElement("amp-img",{src:t.img$3,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&w.default.createElement("a",{href:l.TOGETHER_URL_FE},w.default.createElement(Re,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},w.default.createElement("amp-img",{src:t.img$5,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.together")))),d.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&w.default.createElement("a",{href:l.CARE_URL_FE},w.default.createElement(Re,{role:"button",tabIndex:1,className:"nav-card"},w.default.createElement("amp-img",{src:t.img$4,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.helloCare"))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},w.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return w.default.createElement("li",{key:e.name},w.default.createElement("a",{href:e.permalink},e.displayName))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/categories/")},w.default.createElement(Bn,{key:"all-categories"},u("home.navigator.menuItem.allCategories"),w.default.createElement(nt,null,w.default.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:u("home.navigator.menuItem.allCategories")}))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},w.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return w.default.createElement("li",{key:e.id,className:"spotlight-li"},w.default.createElement("a",{href:e.permalink},e.name))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/spotlight/")},w.default.createElement(Bn,{key:"all-spotlight"},u("home.navigator.menuItem.allSpotlight"),w.default.createElement(nt,null,w.default.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:u("home.navigator.menuItem.allSpotlight")}))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&w.default.createElement(w.default.Fragment,{key:n},w.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return w.default.createElement("li",{key:e.title,className:"health-tool"},w.default.createElement("a",{href:e.link},w.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),w.default.createElement("span",null,e.title)))})))})))))))},jt=k.default.footer(St||(St=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp),Dt=k.default.div(It||(It=e.__makeTemplateObject(["\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"]))),Ht=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return w.default.createElement(Dt,{"data-is-mobile":t},w.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},zt=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,b,E,k,_,C,L,O,S,I,A,M,N,P,R,B,j,D,H,z,U=e.className,F=e.type,G=void 0===F?"main":F,Y=e.footerInfo,V=e.isMobile,Q=e.locale,Z=e.isAmp,W=ie(),q=null==Y?void 0:Y.menu;return w.default.createElement(jt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},w.default.createElement(s.Container,null,w.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?w.default.createElement(w.default.Fragment,null,w.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?w.default.createElement("amp-img",{src:null===(a=null==Y?void 0:Y.general)||void 0===a?void 0:a.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:w.default.createElement("img",{className:"footer-logo",src:null===(n=null==Y?void 0:Y.general)||void 0===n?void 0:n.logo,alt:"Logo","data-is-sehat":"id-ID"===Q})),w.default.createElement("div",{className:"columns"},w.default.createElement("div",{className:"newsletter"},w.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),w.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),w.default.createElement("div",{className:"social"},w.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),w.default.createElement("div",{className:"icons"},null===(c=null===(l=null==Y?void 0:Y.social)||void 0===l?void 0:l.socials)||void 0===c?void 0:c.map((function(e,n){return w.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?w.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):w.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),w.default.createElement("hr",{className:"hrMobile"}))),w.default.createElement("div",null,q&&w.default.createElement(w.default.Fragment,null,w.default.createElement("div",{className:"biglinks"},null===(u=null===(p=q[0])||void 0===p?void 0:p.items)||void 0===u?void 0:u.map((function(e,n){return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(m=q[1])||void 0===m?void 0:m.menu_title),null===(g=null===(h=q[1])||void 0===h?void 0:h.items)||void 0===g?void 0:g.map((function(e,n){return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url),className:"link",href:e.url,key:n},w.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(T[Q]).concat(e.url)},e.title))}))),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(f=q[2])||void 0===f?void 0:f.menu_title),null===(y=null===(x=q[2])||void 0===x?void 0:x.items)||void 0===y?void 0:y.map((function(e,n){return e.url&&w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},w.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&w.default.createElement(w.default.Fragment,null,w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"otherSites"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==Y?void 0:Y.branch)||void 0===v?void 0:v.title),w.default.createElement("div",{className:"flags"},null===(E=null===(b=null==Y?void 0:Y.branch)||void 0===b?void 0:b.branch)||void 0===E?void 0:E.map((function(e,n){return w.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},w.default.createElement(Ht,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),w.default.createElement("hr",null),w.default.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified)&&w.default.createElement("a",{href:null===(C=null===(_=null==Y?void 0:Y.general)||void 0===_?void 0:_.verified[0])||void 0===C?void 0:C.url,className:"copyright-image"},Z?w.default.createElement("amp-img",{src:null===(O=null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.verified[0])||void 0===O?void 0:O.image,alt:"DMCA Icon",width:"100",height:"36"}):w.default.createElement("img",{src:null===(I=null===(S=null==Y?void 0:Y.general)||void 0===S?void 0:S.verified[0])||void 0===I?void 0:I.image,alt:"DMCA Icon"})),w.default.createElement(s.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(A=null==Y?void 0:Y.general)||void 0===A?void 0:A.copyright)),"vi-VN"===Q&&w.default.createElement(s.Text,{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")):w.default.createElement(w.default.Fragment,null,(null==Y?void 0:Y.menu)&&w.default.createElement("div",{className:"columns"},w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==Y?void 0:Y.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(N=null==Y?void 0:Y.menu[1])||void 0===N?void 0:N.items)||void 0===P?void 0:P.map((function(e){return w.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(T[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url)},w.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(T[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.menu_title),null===(j=null===(B=null==Y?void 0:Y.menu[2])||void 0===B?void 0:B.items)||void 0===j?void 0:j.map((function(e,n){return w.default.createElement("a",{className:"link",href:e.url,key:n,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},w.default.createElement(s.Text,{size:"sm",type:"regular",style:{color:d.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!Z&&"mini"!==G&&w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"newsletter"},w.default.createElement("div",{className:"social"},w.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),w.default.createElement("div",{className:"icons"},null===(z=null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.socials)||void 0===z?void 0:z.map((function(e,n){return w.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?w.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):w.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};k.default((function(n){var t=n.type,a=e.__rest(n,["type"]);return w.default.createElement(t,a)}))(Ut||(Ut=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark}));var Ut,Ft,Gt=k.default.p(Ft||(Ft=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark})),Yt=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return w.default.createElement(Gt,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};k.default.footer(Vt||(Vt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp);var Vt,Qt,Zt,Wt,qt,Kt,Xt,$t,Jt,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha,ga,fa=k.default.div(Qt||(Qt=e.__makeTemplateObject([""],[""]))),xa=k.default.div(Zt||(Zt=e.__makeTemplateObject(["\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"]))),ya=k.default.div(Wt||(Wt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown),va=k.default.div(qt||(qt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown),ba=k.default.div(Kt||(Kt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Ea=k.default.div(Xt||(Xt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray})),wa=k.default.div($t||($t=e.__makeTemplateObject(["\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"]))),ka=function(e){var n,t=e.socialLinks,a=void 0===t?W.SOCIAL_LINKS:t,i=a.facebookLink,o=a.instagramLink,l=a.zaloLink,r=a.youtubeLink,c=e.copyrightText,p=e.logoType,u=void 0===p?"marryBaby":p,m=e.isMobile,f=e.footerMenu,x=void 0===f?[]:f,y=e.type,v=void 0===y?"main":y,b=ie();return"main"===v?w.default.createElement(fa,{className:"footer-container"},!m&&w.default.createElement("div",{className:"footer-divider"},w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(g.Divider,{style:{padding:"0 16px"},type:"solid"}))),w.default.createElement(ya,null,w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(va,null,w.default.createElement("div",{className:"grid"},null===(n=m?null==x?void 0:x.slice(0,6):x)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(n)},w.default.createElement(Yt,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),w.default.createElement("div",{className:"social-wrapper"},w.default.createElement("div",{className:"social"},w.default.createElement(Yt,{type:"subtitle-2"},b("footer.followUsText")),w.default.createElement("div",{className:"icons-links"},i&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},w.default.createElement("img",{src:h.img,alt:"Facebook"})),r&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},w.default.createElement("img",{src:h.img$1,alt:"Youtube"})),o&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},w.default.createElement("img",{src:h.img$2,alt:"Instagram"})),l&&w.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},w.default.createElement("img",{src:h.img$3,alt:"Zalo"}))))))))),w.default.createElement(ba,null,w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(Ea,null,w.default.createElement(s.Logo,{className:"logo",type:u,width:"121px"}),w.default.createElement(Yt,{className:"company-name",type:"subtitle-2"},b("footer.info.companyName")),w.default.createElement("div",{className:"text-info"},w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.address")),w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.license")),w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.email"))),w.default.createElement("div",{className:"img-container"},w.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),w.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},w.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&w.default.createElement(g.Divider,{type:"solid"}),w.default.createElement("div",{className:"language-and-copyright"},w.default.createElement(Yt,{type:"bodytext-3"},c)))))):w.default.createElement(xa,null,w.default.createElement(wa,null),w.default.createElement(Yt,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},b("footer.followUsText")),w.default.createElement("div",{className:"icons-links"},i&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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)"}),w.default.createElement("defs",null,w.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},w.default.createElement("stop",{stopColor:"#4DABF7"}),w.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}))),o&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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)"}),w.default.createElement("defs",null,w.default.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)"},w.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),w.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),w.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),w.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),w.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),w.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),w.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),w.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),w.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),w.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),w.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&w.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},w.default.createElement("div",{style:{height:24,width:24}},w.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},_a=function(n){var t,a,i,o,l,r,s,d,c,p,u,m=n.type,h=n.isMobile,g=void 0===h||h,f=n.locale,x=n.footerInfo,y=n.isAmp,v=n.siteType,b=n.ampNextArticle,E=n.routerQuery;return"helloSites"===v?w.default.createElement(w.default.Fragment,null,y&&(null!==(a=null===(t=null==E?void 0:E.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&w.default.createElement("amp-next-page",null,w.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==b?void 0:b.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==b?void 0:b.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==b?void 0:b.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==b?void 0:b.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==b?void 0:b.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),w.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),w.default.createElement(zt,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):w.default.createElement(ka,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},Ca=k.default.div(Jt||(Jt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ta=k.default.div(ea||(ea=e.__makeTemplateObject(["\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(e){return e.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(e){return e.theme.colors.white})),La=k.default.div(na||(na=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Oa=k.default.div(ta||(ta=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Sa=k.default.a(aa||(aa=e.__makeTemplateObject(["\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"]))),Ia=k.default.div(ia||(ia=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Aa=k.default.div(oa||(oa=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Ma=k.default.div(la||(la=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Na=k.default.div(ra||(ra=e.__makeTemplateObject([""],[""]))),Pa=k.default.div(sa||(sa=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Ra=k.default.div(da||(da=e.__makeTemplateObject(["\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"])),G),Ba=k.default.div(ca||(ca=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),ja=k.default.div(pa||(pa=e.__makeTemplateObject(["\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"]))),Da=k.default.div(ua||(ua=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Ha=k.default.div(ma||(ma=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),za=k.default.div(ha||(ha=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ua=k.default.div(ga||(ga=e.__makeTemplateObject(["\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"]))),Fa=function(){return w.default.createElement(Ia,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},Ga=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,r=e.isLoading,p=e.desktopPopupType,u=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=ie();return f?w.default.createElement(w.default.Fragment,null,r?w.default.createElement(Aa,null,w.default.createElement(Fa,null)):w.default.createElement(Aa,{"data-category-list-type":"main"},w.default.createElement(m.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n},w.default.createElement(Ma,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},w.default.createElement(Pa,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement(Na,null,e.name)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},w.default.createElement(Ha,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(t=c.LOCALIZED_SLUGS[g])||void 0===t?void 0:t.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),w.default.createElement(za,null,"helloSites"===x?w.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):w.default.createElement(Ra,{className:"top-menu-care-specialties",onClick:u,"data-is-display":"care"===p},w.default.createElement(Ba,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},w.default.createElement(ja,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,o.map((function(e){return w.default.createElement(Da,{key:"care-specialty-".concat(e.id),onClick:u},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.name)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},w.default.createElement(Ha,{onClick:u,key:"all-care-specialties","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(i=c.LOCALIZED_SLUGS[g])||void 0===i?void 0:i.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),w.default.createElement(za,null,"helloSites"===x?w.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),w.default.createElement(Ua,{onClick:u},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ya=function(){return w.default.createElement(In,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},Va=k.default.div(Xa||(Xa=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Qa=k.default.div($a||($a=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Za=k.default.div(Ja||(Ja=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));k.default.div(ei||(ei=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));var Wa=k.default.div(ni||(ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),qa=k.default.div(ti||(ti=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Ka=k.default.div(ai||(ai=e.__makeTemplateObject([""],[""])));k.default.div(ii||(ii=e.__makeTemplateObject([""],[""])));var Xa,$a,Ja,ei,ni,ti,ai,ii,oi,li,ri=k.default.div(oi||(oi=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),si=k.default.div(li||(li=e.__makeTemplateObject(["\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"]))),di=function(){return w.default.createElement(Qa,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},ci=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,r=e.DISCOVER_URL_FE,s=e.basePath,c=e.locale,p=e.siteType,u=ie();return t?w.default.createElement(Va,null,w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),i&&t?w.default.createElement(Za,{className:o},w.default.createElement(di,null)):w.default.createElement(Za,{"data-is-displayed":t,className:o},a.map((function(e,n){return w.default.createElement(qa,{style:{textDecoration:"none"},key:"spotlight-"+n},l?w.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},w.default.createElement(Wa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[c]).concat(e.permalink)},w.default.createElement(Ka,null,e.name))):w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[c]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(r).concat(e.permalink)},e.name))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(r,"/spotlight/")},w.default.createElement(ri,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(r,"/spotlight/")},u("home.navigator.menuItem.allSpotlight"),w.default.createElement(si,null,"helloSites"===p?w.default.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allSpotlight")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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},pi=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,r=e.type,c=e.onSelectCategory,p=e.onClosePopup,u=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=ie();return h?w.default.createElement(w.default.Fragment,null,g&&i?w.default.createElement(An,null,w.default.createElement(Ya,null)):w.default.createElement(An,{"data-is-displayed":i,"data-category-list-type":r},w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),w.default.createElement(Mn,null,o.map((function(e,a){return w.default.createElement("div",{key:r+"-category-"+a},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==r&&n.preventDefault()},href:f+e.permalink},w.default.createElement(Nn,{onClick:function(){null==c||c(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},w.default.createElement(Pn,null,e.displayName),"main"===r&&w.default.createElement(Rn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===r&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return w.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:r+"-2-"+n},w.default.createElement(Nn,{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},w.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},w.default.createElement(Bn,{key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),w.default.createElement(jn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),w.default.createElement(ci,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):w.default.createElement(Dn,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===u},w.default.createElement(Hn,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},w.default.createElement(zn,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},w.default.createElement("div",null,w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),w.default.createElement(Un,{"data-disabled-divider":0===l.length},o.map((function(e,t){return w.default.createElement(Fn,{style:{textDecoration:"none"},key:e.categoryName+t},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(f).concat(e.permalink)},e.displayName),w.default.createElement(Gn,null,e.childCates&&e.childCates.map((function(e,t){return w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},w.default.createElement(Bn,{onClick:p,key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),w.default.createElement(jn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),w.default.createElement(ci,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),w.default.createElement(Yn,{onClick:p},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ui=k.default.div(bi||(bi=e.__makeTemplateObject([""],[""]))),mi=k.default.div(Ei||(Ei=e.__makeTemplateObject(["\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"]))),hi=k.default.div(wi||(wi=e.__makeTemplateObject(["\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"]))),gi=k.default.div(ki||(ki=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),fi=k.default.div(_i||(_i=e.__makeTemplateObject(["\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"]))),xi=k.default.div(Ci||(Ci=e.__makeTemplateObject(["\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"])),G),yi=k.default.div(Ti||(Ti=e.__makeTemplateObject(["\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"]))),vi=k.default.div(Li||(Li=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(Oi||(Oi=e.__makeTemplateObject(["\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 bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si,Ii,Ai=k.default.div(Si||(Si=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(Ii||(Ii=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi,Yi,Vi=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.categories,o=e.type,l=e.onSelectCategory,r=e.desktopPopupType,s=e.isMobile,c=e.isLoading,p=e.MARRY_BABY_FE,u=n.useState(-1),m=u[0],h=u[1],g=n.useState(!1),f=g[0],x=g[1];return s?w.default.createElement(w.default.Fragment,null,c&&a?w.default.createElement(An,null,w.default.createElement(Ya,null)):w.default.createElement(An,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},w.default.createElement(ui,{className:"marry-bb-menu-categories"},i.map((function(e,n){return w.default.createElement("div",{key:o+"-category-"+n,className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(p).concat(e.permalink)},w.default.createElement(gi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var t;"main"===o||0===(null===(t=e.childCates)||void 0===t?void 0:t.length)?null==l||l(e):m===n?(x(!0),setTimeout((function(){h(-1),setTimeout((function(){x(!1)}),100)}),300)):h(n)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?w.default.createElement(mi,{style:{backgroundColor:e.imageColor}},w.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),w.default.createElement(Vn,null),"main"===o?w.default.createElement(Rn,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):w.default.createElement(Rn,null,m!==n?w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&e.childCates&&m===n&&e.childCates.length>0&&w.default.createElement(fi,null,w.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(n.permalink),key:o+"-2-"+t},w.default.createElement(gi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},w.default.createElement(hi,null,w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement(Yt,{type:"subtitle-2"},n.displayName))))})))),w.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return w.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},w.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},w.default.createElement("p",null,e.displayName)))}))))}))))):w.default.createElement(xi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},w.default.createElement(yi,null),w.default.createElement(vi,{"data-popup-type":r},w.default.createElement(Ai,{className:"marry-bb-menu-categories"},c?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(Ya,null)):i.map((function(e,n){return w.default.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:o+"-category-"+n,onClick:function(){l(e)}},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(p).concat(e.permalink)},w.default.createElement(gi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},w.default.createElement(mi,{style:{backgroundColor:e.imageColor}},w.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Qi=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.discoverApiDomain,o=e.basePath,l=e.categories,r=e.spotlightsList,s=e.type,d=e.onSelectCategory,c=e.onClosePopup,p=e.desktopPopupType,u=e.isMobile,m=e.isLoading,h=e.callApiHandler,g=e.DISCOVER_URL_FE,f=e.MARRY_BABY_FE,x=e.siteType,y=void 0===x?"helloSites":x;return"helloSites"===y?w.default.createElement(pi,{locale:a,basePath:o,DISCOVER_URL_FE:g,isDisplayed:t,type:s,onSelectCategory:d,categories:l,spotlightsList:r,isLoading:m,isMobile:u,siteType:y,onClosePopup:c,desktopPopupType:p}):w.default.createElement(Vi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Zi=k.default.div(Mi||(Mi=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wi=k.default.div(Ni||(Ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),qi=k.default.div(Pi||(Pi=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Ki=k.default.div(Ri||(Ri=e.__makeTemplateObject([""],[""]))),Xi=k.default.div(Bi||(Bi=e.__makeTemplateObject([""],[""]))),$i=k.default.div(ji||(ji=e.__makeTemplateObject(["\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"]))),Ji=k.default.div(Di||(Di=e.__makeTemplateObject(["\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"])),G),eo=k.default.div(Hi||(Hi=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),no=k.default.div(zi||(zi=e.__makeTemplateObject(["\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"]))),to=k.default.div(Ui||(Ui=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),ao=k.default.div(Fi||(Fi=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),io=k.default.div(Gi||(Gi=e.__makeTemplateObject(["\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"]))),oo=k.default.div(Yi||(Yi=e.__makeTemplateObject(["\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"]))),lo=function(){return w.default.createElement(Zi,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},ro=function(e){var n=e.isDisplayed,t=e.communities,a=e.type,i=e.onSelectCommunity,o=e.onClosePopup,l=e.isLoading,r=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.locale,g=e.desktopPopupType,f=ie();return m?w.default.createElement(w.default.Fragment,null,l&&n?w.default.createElement(Wi,null,w.default.createElement(lo,null)):w.default.createElement(Wi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return w.default.createElement("div",{key:a+"-category-"+n},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement(qi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},w.default.createElement($i,null,w.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),w.default.createElement(Ki,null,e.title)),w.default.createElement(Xi,null,"helloSites"===u?w.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===a&&t.map((function(e,n){return w.default.createElement("div",{key:a+"-category-"+n},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement(qi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},w.default.createElement($i,null,w.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),w.default.createElement(Ki,null,e.title)))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},w.default.createElement(ao,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),w.default.createElement(io,null,w.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):w.default.createElement(Ji,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},w.default.createElement(eo,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},w.default.createElement(no,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,t.map((function(e){return w.default.createElement(to,{key:e.title,onClick:o},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.title)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},w.default.createElement(ao,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),w.default.createElement(io,null,w.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),w.default.createElement(oo,{onClick:o},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},so=k.default.div(ho||(ho=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),co=k.default.div(go||(go=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),po=k.default.div(fo||(fo=e.__makeTemplateObject(["\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"])),G),uo=k.default.div(xo||(xo=e.__makeTemplateObject(["\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"]))),mo=k.default.div(yo||(yo=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(vo||(vo=e.__makeTemplateObject(["\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 ho,go,fo,xo,yo,vo,bo,Eo,wo=k.default.div(bo||(bo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(Eo||(Eo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var ko=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.communities,i=e.onSelectCommunity,o=e.isLoading,l=e.basePath,r=e.type,s=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.TOGETHER_URL_FE;return s?o&&t?w.default.createElement(Wi,null,w.default.createElement(lo,null)):w.default.createElement(Wi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),key:"community-"+n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},w.default.createElement(co,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},w.default.createElement(so,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Ki,null,e.title)))}))):w.default.createElement(po,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},w.default.createElement(uo,null),w.default.createElement(mo,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(wo,null,o?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(lo,null)):a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(u,"/").concat(e.communitySlug),key:e.title},w.default.createElement(co,{onClick:c},w.default.createElement(so,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},w.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},_o=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.communities,o=e.type,l=e.onSelectCommunity,r=e.onClosePopup,s=e.isLoading,d=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.desktopPopupType,g=e.togetherApiDomain;return"helloSites"===u?w.default.createElement(ro,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,siteType:u,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r}):w.default.createElement(ko,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r})},Co=k.default.div(jo||(jo=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),To=k.default.div(Do||(Do=e.__makeTemplateObject(["\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"]))),Lo=k.default.div(Ho||(Ho=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Oo=k.default.div(zo||(zo=e.__makeTemplateObject([""],[""]))),So=k.default.div(Uo||(Uo=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Io=k.default.div(Fo||(Fo=e.__makeTemplateObject(["\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"])),G),Ao=k.default.div(Go||(Go=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Mo=k.default.div(Yo||(Yo=e.__makeTemplateObject(["\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"]))),No=k.default.div(Vo||(Vo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Po=k.default.div(Qo||(Qo=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Ro=k.default.div(Zo||(Zo=e.__makeTemplateObject(["\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"]))),Bo=k.default.div(Wo||(Wo=e.__makeTemplateObject(["\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"])));k.default.div(qo||(qo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko,Xo,$o=k.default.div(Ko||(Ko=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Jo=k.default.div(Xo||(Xo=e.__makeTemplateObject(["\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"]))),el=function(){return w.default.createElement(Co,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},nl=function(e){var n=e.healthTools,t=e.onSelectHealthTool,a=e.basePath,i=e.isDesktop,o=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,r=e.locale,s=e.isGrouped;return(null==n?void 0:n.length)?i?w.default.createElement(w.default.Fragment,null,n.map((function(e,n){return w.default.createElement(No,{"data-grouped":s,key:e.title,onClick:o},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[r]).concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.title)))}))):w.default.createElement(w.default.Fragment,null,n.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n},w.default.createElement(Lo,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[r]).concat(e.link)},w.default.createElement(So,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement(Oo,null,e.title)))}))):null},tl=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,r=e.healthToolsByCategory,d=e.onSelectHealthTool,c=e.isLoading,p=e.basePath,u=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,b=ie();return h?w.default.createElement(w.default.Fragment,null,c&&o?w.default.createElement(To,null,w.default.createElement(el,null)):w.default.createElement(To,{"data-category-list-type":"main","data-is-displayed":o},(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&w.default.createElement(w.default.Fragment,{key:"category-health-tool-".concat(n)},w.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold",className:"title"},w.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),w.default.createElement(nl,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}))})):w.default.createElement(nl,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}),w.default.createElement($o,null,w.default.createElement("a",{href:"".concat(x).concat((null===(n=y[u])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},w.default.createElement(Po,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[u])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),w.default.createElement(Ro,null,w.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))))):w.default.createElement(Io,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},w.default.createElement(Ao,null,w.default.createElement(s.Container,{style:{padding:"0 16px"}},w.default.createElement(Mo,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&w.default.createElement(Jo,{key:"health-tools-categories-".concat(n)},w.default.createElement(m.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},w.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),w.default.createElement(nl,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):w.default.createElement(nl,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,onClosePopup:g}),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[u])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},w.default.createElement(Po,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(i=y[u])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),w.default.createElement(Ro,null,w.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))),w.default.createElement(Bo,{onClick:g},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},al=k.default.div(sl||(sl=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),il=k.default.div(dl||(dl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),ol=k.default.div(cl||(cl=e.__makeTemplateObject(["\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"])),G),ll=k.default.div(pl||(pl=e.__makeTemplateObject(["\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"]))),rl=k.default.div(ul||(ul=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(ml||(ml=e.__makeTemplateObject(["\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 sl,dl,cl,pl,ul,ml,hl,gl,fl=k.default.div(hl||(hl=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(gl||(gl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl,Ll,Ol=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.onSelectHealthTool,o=e.isLoading,l=e.basePath,r=e.isMobile,s=e.onClosePopup,c=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return r?o&&t?w.default.createElement(To,null,w.default.createElement(el,null)):w.default.createElement(To,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},w.default.createElement(il,{onClick:function(){i(e)}},w.default.createElement(al,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Oo,null,e.title)))}))):w.default.createElement(ol,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},w.default.createElement(ll,null),w.default.createElement(rl,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(fl,null,o?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(el,null)):a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(c).concat(e.link),key:e.title,onClick:function(e){e.stopPropagation()}},w.default.createElement(il,{onClick:s},w.default.createElement(al,null,w.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Sl=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.healthToolsByCategory,o=e.onSelectHealthTool,l=e.isLoading,r=e.basePath,s=e.locale,d=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,m=e.siteType,h=e.discoverApiDomain,g=e.STATIC_PAGES;return"helloSites"===m?w.default.createElement(tl,{isDisplayed:t,locale:s,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a,healthToolsByCategory:i,isLoading:l,isMobile:d,siteType:m,desktopPopupType:p,onClosePopup:c,STATIC_PAGES:g}):w.default.createElement(Ol,{isDisplayed:t,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a||i.reduce((function(e,n){return e.concat(n.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:p,onClosePopup:c})},Il=k.default.div(xl||(xl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Al=k.default.div(yl||(yl=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.white})),Ml=function(){return w.default.createElement(w.default.Fragment,null,w.default.createElement(Il,null,w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109}))))},Nl=function(e){var n=e.specialty,t=e.id,a=e.isActive,i=void 0!==a&&a,o=e.position,l=e.className,r=e.onClick;return n.name&&""!==n.name?w.default.createElement(Al,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},w.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),w.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):w.default.createElement(Ml,null)},Pl=function(e){var n=e.selectedMenuMainItem,t=e.spotlightsList,a=e.locale,i=e.basePath,o=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,d=e.MARRY_BABY_FE,c=e.onSelectCategory,p=e.isMobile,u=e.siteType,m=e.onCategoryClick,h=ie(),g=n.childCates,f=n.categoryName;return w.default.createElement(qn,{"data-type":"sub-level","data-with-search-input":!1},w.default.createElement(Xn,null,w.default.createElement(Qi,{isDisplayed:!0,locale:a,basePath:i,callApiHandler:o,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:d,categories:g||[],spotlightsList:t,type:"sub",onSelectCategory:c,isMobile:p,siteType:u,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),w.default.createElement(Wn,{"data-site-type":u},w.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},w.default.createElement(et,null,w.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?w.default.createElement("img",{src:K,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):w.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Rl=function(t){var a=t.selectedMenuMainItem,i=t.onCommunityClick,o=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,d=t.callApiHandler,c=t.togetherApiDomain,p=t.locale,u=t.TOGETHER_URL_FE,m=t.siteType,h=t.isMobile,g=ie(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),b=v[0],E=v[1],k=a.communityId,C=a.title;return n.useEffect((function(){E(!0),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o;return e.__generator(this,(function(l){switch(l.label){case 0:return[4,d("helloSites"===m?fe(p,c,{communityId:k}):(r=c,s={communityId:k},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(M,e.__assign(e.__assign({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=l.sent())&&(null===(o=null===(i=null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||void 0===i?void 0:i.topics)||void 0===o?void 0:o.length)>0&&(t=n.data.data.topics.map(le),y(t)),E(!1),[2]}var r,s}))}))}),[a]),w.default.createElement(qn,{"data-type":"sub-level","data-with-search-input":!1},w.default.createElement(Xn,null,w.default.createElement(_o,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:b,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),w.default.createElement(Wn,null,w.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},w.default.createElement(et,null,w.default.createElement("div",null,g("home.menu.category.view",{category:C})),w.default.createElement("img",{src:K,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Bl={categories:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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:d.theme.mbColors.lightPink},healthTools:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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"}),w.default.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"}),w.default.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:d.theme.mbColors.lightOrange},together:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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:d.theme.mbColors.lightBlue}},jl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return w.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},w.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},w.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Bl[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},l?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=Bl[o.id])||void 0===i?void 0:i.icon)),w.default.createElement(Yt,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?w.default.createElement(At,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):w.default.createElement(At,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},Dl=function(e){var t=e.menuItems,a=e.activeItem,i=e.onServiceClicked,o=n.useState(0),l=o[0],r=o[1],s=n.useRef(!0);return w.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return w.default.createElement(jl,{onServiceClicked:function(e){s.current=l<n,r(n),null==i||i(e)},key:"item"+n,item:e,isGoingForward:s.current,isActive:a.id===e.id})})))},Hl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,r=e.categories,c=e.healthTools,p=e.healthToolsByCategory,u=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,b=e.footer,E=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,C=k.DISCOVER_URL_FE,T=e.together,O=T.togetherApiDomain,S=T.TOGETHER_URL_FE,I=e.sso.SSO_URL,A=e.statics,M=A.MARRY_BABY_FE,N=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=e.marryBaby.tone,j=e.locale,D=e.siteType,H=e.basePath,z=e.callApiHandler,U=e.activeMenuService,F=e.menuItems,G=e.routerAsPath,Y=ie(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(r),q=W[0],K=W[1],X=n.useState(void 0),$=X[0],J=X[1],ee=n.useState(void 0),ne=ee[0],te=ee[1],ae=n.useState(!1),oe=ae[0],le=ae[1],re=n.useState(null==F?void 0:F.find((function(e){return e.id===U}))),se=re[0],de=re[1],ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=function(){$&&(window.location.href=$.permalink),ke(),f&&f()},ye=function(){$&&(window.location.href="".concat(S,"/").concat($.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),J(e)):(window.location.href="helloSites"===D?C+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),J(n)):(window.location.href="".concat(S,"/").concat(n.communitySlug),ke(),f&&f())},Ee=function(e){window.location.href=e.link.startsWith("http")?e.link:R+e.link,ke(),f&&f()},we=function(e){window.location.href=E+xe({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){J(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=L[j||"en-PH"]||{};return n.useEffect((function(){var e;te("categories"===se.id?(null===(e=null==$?void 0:$.childCates)||void 0===e?void 0:e.length)>0&&w.default.createElement(Pl,{selectedMenuMainItem:$,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:fe}):"together"===se.id&&$&&w.default.createElement(Rl,{selectedMenuMainItem:$,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[$,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&ge(!0)}),[o]),n.useEffect((function(){K(r)}),[r]),a?w.default.createElement(w.default.Fragment,null,w.default.createElement(Qn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},w.default.createElement(Zn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},w.default.createElement(rn,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:E},isMobile:a,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==v?void 0:v("categories")},onSearchChange:function(e){le(""!==e),K(e&&""!==e?r.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):r)},isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,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}),w.default.createElement(qn,null,w.default.createElement(Xn,null,w.default.createElement($n,null,w.default.createElement(Jn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?w.default.createElement(w.default.Fragment,null,w.default.createElement(Mt,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},w.default.createElement(s.PureInput,{className:"fake-search-input",name:"search-input-menu-service"+(pe?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Ce?Ce.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(e){e.preventDefault()},value:"",displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},w.default.createElement(Nt,null))})),w.default.createElement(m.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),w.default.createElement(Kn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return w.default.createElement(Nl,{onClick:_e,key:"service-"+n,specialty:e,id:e.id,isActive:e.id===se.id,isMobile:a,position:0===n?"left":n===F.length-1?"right":"center"})})))):w.default.createElement(Dl,{menuItems:F,activeItem:se,onServiceClicked:_e})),w.default.createElement(Qi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),w.default.createElement(Sl,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:c,healthToolsByCategory:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&w.default.createElement(Ga,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:u,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:E}),w.default.createElement(_o,{isDisplayed:"together"===se.id,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,onClosePopup:f,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y})),b)))),Q&&w.default.createElement(Qn,{"data-sub-level-opened":Q||(he?Q:"undefined")},w.default.createElement(Zn,{"data-type":"sub-category","data-is-sub-category-opened":Q},w.default.createElement(rn,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:E},isMobile:a,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===se.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:ke,onSearchChange:void 0}),ne))):w.default.createElement(w.default.Fragment,null,w.default.createElement(Qi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),w.default.createElement(Sl,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:p,healthTools:c,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),w.default.createElement(_o,{isDisplayed:"communities"===y,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y,onClosePopup:f}),"care"===y&&w.default.createElement(Ga,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:u,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:E,onClosePopup:f}))},zl=k.default.div(vl||(vl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Ul=k.default.div(bl||(bl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return"marryBaby"===e.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 ":""})),Fl=function(t){var a=t.callPostLogOutApi,i=t.openLogoutPopup,o=t.onCloseHandler,s=t.onLogoutHandler,d=t.basePath,c=t.siteType,p=void 0===c?"helloSites":c,u=ie();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return w.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:w.default.createElement("img",{src:X,style:{width:24,height:24},alt:"close-icon"}),onClose:o},w.default.createElement(zl,null,"helloSites"===p&&w.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),w.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),w.default.createElement("p",null,u("logout.popup.ask2")),w.default.createElement(Ul,{siteType:p},w.default.createElement(r.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==s||s(),window.location.reload(),[2]}}))}))}},u("logout.popup.button.logout")),w.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Gl=k.default.div(El||(El=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Yl=k.default.div(wl||(wl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Vl=function(e){var n=e.type,t=void 0===n?"lead":n,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,l=e.onClose,r=e.children,s=e.enableAnimation,d=void 0===s||s,c=e.targetAvatar,p=e.id,u=e.className;return w.default.createElement(w.default.Fragment,null,w.default.createElement(Gl,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},w.default.createElement("div",{className:"popup-content"},!!a&&w.default.createElement("div",{className:"close-button",onClick:l},a),r)),w.default.createElement(Yl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Ql=function(e){var n=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,l=e.targetAvatar,r=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,d=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,c=e.closePopup,p=e.siteType,u=void 0===p?"helloSites":p,m=e.dispatchLogout,h=e.userProfileRouterPush,g=e.isUserProfileNavigatorMenuHidden,f=e.isMyHealthEnabled,y=void 0!==f&&f,v=e.togetherApiDomain,b=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},E=function(e){b(e),c()};return w.default.createElement(Vl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},w.default.createElement(x.TranslationsProvider,{locale:o},w.default.createElement(t.UserProfileNavigation,{SSO_URL:n,UP_BASEPATH:a,themeName:u,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:d,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){m&&(m(),c())},onClickMenuItem:E,onClickNavigationCard:E,onClickMyProfileButton:function(){b("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Zl=k.default.div(kl||(kl=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Wl=k.default.div(_l||(_l=e.__makeTemplateObject([""],[""]))),ql=k.default.div(Cl||(Cl=e.__makeTemplateObject(["\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"]))),Kl=k.default.div(Tl||(Tl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray100})),Xl=k.default.div(Ll||(Ll=e.__makeTemplateObject(["\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"]))),$l=function(e){var t=e.options,a=e.label,i=e.selected,o=e.onChange,l=e.showSelected,r=void 0===l||l,d=e.style,c=void 0===d?{}:d,p=e.showIndicator,u=void 0===p||p,m=n.useState(!1),h=m[0],g=m[1];return w.default.createElement(w.default.Fragment,null,w.default.createElement(Zl,null,w.default.createElement(Wl,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),w.default.createElement(ql,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return w.default.createElement(Kl,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},w.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&w.default.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),h&&w.default.createElement(Xl,{onClick:function(){return g(!1)}}))},Jl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},er=function(a){var i,o=a.siteType,l=a.MetaPageTitle,r=a.MetaPageDescription,s=a.MetaPageImage,d=a.footerInfo,c=a.children,p=a.ssrMenuContent,u=void 0===p?{}:p,m=u.categories,h=void 0===m?[]:m,g=u.healthTools,f=void 0===g?[]:g,x=u.healthToolsByCategory,y=void 0===x?[]:x,v=u.careSpecialties,b=void 0===v?[]:v,E=u.togetherCommunities,k=void 0===E?[]:E,C=u.spotlightsList,S=void 0===C?[]:C,M=a.SEOData,N=void 0===M?{}:M,P=a.UP_BASEPATH,R=void 0===P?I:P,B=a.isStatic,j=void 0!==B&&B,z=a.seoType,U=void 0===z?"website":z,F=a.isMobile,G=a.isMyHealthEnabled,Y=void 0!==G&&G,V=a.logoutHandlers,Q=V.isLogoutPopupOpened,Z=V.callPostLogOutApi,W=V.onClosePopup,K=V.onLogout,X=a.marryBaby,$=void 0===X?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:X,J=$.tone,ee=void 0===J?"white":J,ne=$.marryBabyApiDomain,te=$.socialLinks,ae=void 0===te?{}:te,le=ae.facebookLink,fe=void 0===le?"":le,xe=ae.instagramLink,be=void 0===xe?"":xe,Ee=ae.linkedinLink,we=void 0===Ee?"":Ee,ke=ae.twitterLink,_e=void 0===ke?"":ke,Ce=ae.youtubeLink,Te=void 0===Ce?"":Ce,Le=ae.zaloLink,Oe=void 0===Le?"":Le,Se=a.statics,Ie=void 0===Se?{LOCALE_SPECS:L,STATIC_PAGES:O}:Se,Ae=Ie.DISCOVER_URL_FE,Me=Ie.TOGETHER_URL_FE,Ne=Ie.MARRY_BABY_FE,Pe=Ie.HOME_PAGE_URL,Re=Ie.HEALTH_TOOL_URL_FE,Be=Ie.CARE_URL_FE,je=Ie.LOCALE_SPECS,De=void 0===je?L:je,He=Ie.STATIC_PAGES,ze=void 0===He?O:He,Ue=a.sso,Fe=void 0===Ue?{}:Ue,Ge=Fe.dispatchLogout,Ye=Fe.SSO_URL,Ve=a.together,Qe=void 0===Ve?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ve,Ze=Qe.TOGETHER_MENU_COUNTRIES_ENABLED,We=Qe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,qe=Qe.togetherApiDomain,Ke=a.care,Xe=void 0===Ke?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Ke,$e=Xe.CARE_MENU_COUNTRIES_ENABLED,Je=Xe.ENABLE_CARE_PROFILE_MENU_LOCALES,en=Xe.careApiDomain,nn=a.discover,tn=(void 0===nn?{discoverApiDomain:""}:nn).discoverApiDomain,an=a.activeMenuService,on=void 0===an?"categories":an,ln=a.basePath,sn=a.isAmp,dn=void 0!==sn&&sn,cn=a.nextHead,pn=a.routerPathname,un=a.routerQuery,mn=a.routerAsPath,hn=a.locale,gn=a.userState,fn=a.callApiHandler,xn=a.userProfileRouterPush,yn=a.onTopBarAppears,vn=a.forcedCanonicalUrl,bn=a.isUserProfileNavigatorMenuHidden,En=a.sitewideBanner,wn=a.sitewideBannerShown,kn=void 0===wn||wn,_n=a.sponsorComponent,Cn=a.languageOptions,Tn=a.isSearchBarDisplay,Ln=a.ampSubBar,On=a.isSearchIconDisplayed,Sn=void 0===On||On,In=a.enabledExperimentalCareHeader,An=void 0!==In&&In,Mn=a.onCareHeaderClick,Nn=a.dueDatePopup,Pn=a.welcomePopup,Rn=a.ampNextArticle,Bn=a.usingDefaultHead,jn=void 0===Bn||Bn,Dn=a.acceptCookiePopup,Hn=a.seoCustom,zn=a.hasStickyBottomBar,Un=void 0===zn||zn,Fn="boolean"==typeof Tn?Tn:!F,Gn=ie(),Yn=De[hn||"en-PH"]||{},Vn=n.useMemo((function(){var e;return(null===(e=mn.split("?"))||void 0===e?void 0:e[0])||""}),[mn]),Qn=n.useMemo((function(){return"".concat(ln).concat("/"===Vn.slice(-1)?Vn:"".concat(Vn,"/"))}),[Vn]),Zn=n.useMemo((function(){return(null==Cn?void 0:Cn.find((function(e){return e.value!==Qn})))||null}),[Cn,Qn]),Wn=n.useState(d),qn=Wn[0],Kn=Wn[1],Xn=n.useState(h),$n=Xn[0],Jn=Xn[1],et=n.useState(f),nt=et[0],tt=et[1],at=n.useState(y),it=at[0],ot=at[1],lt=n.useState(b),rt=lt[0],st=lt[1],dt=n.useState(k),ct=dt[0],pt=dt[1],ut=n.useState(S),mt=ut[0],ht=ut[1],gt=Ae||"https://".concat(T[hn])||"",ft="undefined"!=typeof window,xt=ft&&document.querySelector("#categories-menu"),yt=xt&&ft&&window.getComputedStyle(xt),vt=yt&&yt.getPropertyValue("left"),bt=n.useRef("0px"===vt),Et=n.useState(bt.current),wt=Et[0],kt=Et[1],_t=Jl(".top-menu-categories"),Ct=Jl(".top-menu-health-tools"),Tt=Jl(".top-menu-communities"),Lt=Jl(".top-menu-care-specialties"),Ot=n.useState(_t&&"none"!==_t?"categories":Ct&&"none"!==Ct?"tools":Tt&&"none"!==Tt?"communities":Lt&&"none"!==Lt?"care":"none"),St=Ot[0],It=Ot[1],At=n.useMemo((function(){var e,n;return w.default.createElement(Oa,null,null===(n=null===(e=hn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),w.default.createElement("img",{src:"language"===St?"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:Gn("home.navigator.menuItem.language")}))}),[St,hn]),Mt=gn.userInfo,Nt=gn.isLoggedIn,Pt=function(e){St!==e&&(It(e),kt(!0)),St===e&&(It("none"),kt(!1))},Rt=function(){kt(!1),It("none")},jt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Pe,"/search/?s=").concat(n))},Dt=null===(i=null==De?void 0:De[hn])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Ht=[{name:Gn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:t.img$2,isDisplayed:!0},{name:Gn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:t.img$3,isDisplayed:!0}];(null==Ze?void 0:Ze.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloTogether"),id:"together",link:Me+"/",thumbnail:t.img$5,isDisplayed:!0}),(null==$e?void 0:$e.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:t.img$4,isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=wt?"hidden":""}),[wt]);var zt=!!_n;n.useEffect((function(){Nt&&("first_login"===(null==un?void 0:un.source)?(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}),e.__awaiter(void 0,void 0,void 0,(function(){var n,t;return e.__generator(this,(function(a){switch(a.label){case 0:return qn?[3,3]:[4,fetch("helloSites"===o?he(hn,tn):(i=ne,(i||"https://staging.marrybaby.vn/")+"wp-json/api/"+_.default(D,e.__assign({},l))))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!qn&&Kn("helloSites"===o?n.data||{}:n.data.footers||[]),[2]}var i,l}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return h&&0!==(null==h?void 0:h.length)||0!==(null==$n?void 0:$n.length)?[3,3]:(o={},[4,fetch(pe(hn,tn))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(l=t.data)||void 0===l?void 0:l.length)>0&&(i=t.data.map(re),0===$n.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return S&&0!==(null==S?void 0:S.length)||"helloSites"!==o||0!==(null==mt?void 0:mt.length)?[3,3]:(l={},[4,fetch(me(hn,tn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,e.sent().json()];case 2:return l.response=e.sent(),a=l,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,1===(null==(t=void 0===n?{}:n)?void 0:t.status)&&(null===(s=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(i=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(ye).filter(ve).slice(0,4),0===mt.length&&ht(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==f?void 0:f.length)||(null==nt?void 0:nt.length)||(null==y?void 0:y.length)||(null==y?void 0:y.length)?[3,6]:(r={},"helloSites"!==o?[3,2]:[4,fetch(ue(hn,tn))]);case 1:return i=d.sent(),[3,4];case 2:return[4,fetch((c=ne,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+_.default(H,e.__assign({},p))))];case 3:i=d.sent(),d.label=4;case 4:return[4,i.json()];case 5:return r.response=d.sent(),a=r,[3,7];case 6:a={},d.label=7;case 7:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(s=t.data)||void 0===s?void 0:s.length)>0&&("helloSites"===o?(l=t.data.map(de),0===nt.length&&ot(l)):(l=t.data.map(se),0===nt.length&&tt(l))),[2]}var c,p}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l,r;return e.__generator(this,(function(e){switch(e.label){case 0:return b&&0!==(null==b?void 0:b.length)||!$e.includes(hn)||0!==(null==rt?void 0:rt.length)?[3,3]:(o={},[4,fetch(ce(hn,en))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t._status&&(null===(r=null===(l=t._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=t._data.specialties,0===rt.length&&st(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return k&&0!==(null==k?void 0:k.length)||!Ze.includes(hn)||0!==(null==ct?void 0:ct.length)?[3,3]:(l={},[4,fetch("helloSites"===o?ge(hn,qe):(u=qe,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(A,e.__assign(e.__assign({},m),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,p.sent().json()];case 2:return l.response=p.sent(),a=l,[3,4];case 3:a={},p.label=4;case 4:return n=a.response,(null===(s=null===(r=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===r?void 0:r.communities)||void 0===s?void 0:s.length)>0&&(i=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(oe))||[],0===ct.length&&pt(i)),[2]}var u,m}))}))}),[]);var Ut=w.default.createElement(Ql,{locale:hn,UP_BASEPATH:R,SSO_URL:Ye,userProfileRouterPush:xn,dispatchLogout:Ge,isOpen:"profile"===St,isMyHealthEnabled:Y,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,closePopup:Rt,userInfo:Mt,siteType:o,isUserProfileNavigatorMenuHidden:bn,togetherApiDomain:qe}),Ft=dn&&{"next-page-hide":""};return w.default.createElement(q,{SEOData:e.__assign({SEOTitle:l,SEOImage:s,SEODescription:r,siteName:Dt,seoType:U},N),isAmp:dn,locale:hn,routerPathname:pn,routerQuery:un,nextHead:cn,siteType:o,forcedCanonicalUrl:vn,userId:null==Mt?void 0:Mt.id,usingDefaultHead:jn,seoCustom:Hn},w.default.createElement(Fl,{basePath:ln,callPostLogOutApi:Z,openLogoutPopup:Q,onCloseHandler:W,onLogoutHandler:K,siteType:o}),Nn,Pn,Dn,F?w.default.createElement(w.default.Fragment,null,w.default.createElement(Ca,null,w.default.createElement("section",e.__assign({className:dn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ft),w.default.createElement(rn,{siteType:o,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},marryBaby:{tone:ee},menuItems:Ht,menu:dn?void 0:w.default.createElement(Hl,{key:"mobile-menu-popup",menuItems:Ht,siteType:o,isMobileMenuOpened:"categories"===St,categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,onMobileMenuClick:Pt,isMobile:F,closePopup:Rt,footer:w.default.createElement(_a,{locale:hn,isMobile:F,basePath:ln,isAmp:dn,footerInfo:qn,type:"mini",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}}),locale:hn,callApiHandler:fn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe||ne,TOGETHER_URL_FE:Me},care:{CARE_MENU_COUNTRIES_ENABLED:$e,careApiDomain:en,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},activeMenuService:on,statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},marryBaby:{tone:ee},routerAsPath:mn,popupType:"none",sso:{SSO_URL:Ye}}),profileMenu:Ut,type:"home",currentPopupType:St,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Pt,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){yn&&yn(e)},isSearchBarDisplay:Fn,onSearchKeyPress:jt,isStatic:dn||j,sponsorComponent:_n,locale:hn,userInfo:gn.userInfo,basePath:ln,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:mn,title:"",sitewideBanner:En,sitewideBannerShown:kn,isSearchIconDisplayed:Sn,enabledExperimentalCareHeader:An,languageMenu:void 0!==Cn&&Cn.length>1?w.default.createElement(w.default.Fragment,null,2===Cn.length&&Zn?w.default.createElement(Sa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):w.default.createElement($l,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ln&&w.default.createElement(w.default.Fragment,null,Ln)),dn?w.default.createElement(La,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En},c,w.default.createElement(_a,{isAmp:dn,isMobile:F,locale:hn,basePath:ln,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})):w.default.createElement(Ta,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En,hasStickyBottomBar:Un},w.default.createElement(w.default.Fragment,null,c,w.default.createElement(_a,{isAmp:dn,isMobile:F,locale:hn,basePath:ln,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})))),dn&&w.default.createElement(Bt,{locale:hn,categoriesSSR:h,healthToolsSSR:y,spotlightsSSR:S,serviceUrls:{TOGETHER_URL_FE:Me,CARE_URL_FE:Be,DISCOVER_URL_FE:gt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,togetherApiDomain:qe},care:{CARE_MENU_COUNTRIES_ENABLED:$e,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:en},basePath:ln,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"})})):w.default.createElement(w.default.Fragment,null,w.default.createElement(rn,{siteType:o,menuItems:Ht,marryBaby:{tone:ee},locale:hn,currentPopupType:St,onSearchKeyPress:jt,openPopup:function(e){St!==e&&It(e),St===e&&It("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!dn&&Fn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:kn,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},menu:w.default.createElement(Hl,{menuItems:Ht,siteType:o,isMobile:F,popupType:St,closePopup:function(){It("none")},categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,locale:hn,callApiHandler:fn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe,TOGETHER_URL_FE:Me},care:{careApiDomain:en,CARE_MENU_COUNTRIES_ENABLED:$e,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},activeMenuService:on,marryBaby:{tone:ee},routerAsPath:mn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ye},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:gn.userInfo,sponsorComponent:_n,type:"home",basePath:ln,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:mn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:En,languageMenu:void 0!==Cn&&Cn.length>1?w.default.createElement(w.default.Fragment,null,2===Cn.length&&Zn?w.default.createElement(Sa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):w.default.createElement($l,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:An,onCareHeaderClick:Mn}),dn?w.default.createElement(La,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En},c):w.default.createElement(Ta,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En,hasStickyBottomBar:Un},c),w.default.createElement(_a,{type:"main",locale:hn,basePath:ln,isMobile:F,isAmp:dn,footerInfo:qn,siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}})))};exports.Layout=q,exports.NavigationBar=rn,exports.NavigationLayout=function(n){return w.default.createElement(ae.Provider,{value:{translation:n.translation||te}},w.default.createElement(er,e.__assign({},n)))},exports.SiteWide=function(t){var o=t.icon,l=t.content,r=t.isCollapsed,s=t.isMobile,d=t.type,c=t.onClose,p=t.setBannerClosed,u=t.dispatch,m=t.dispatchActionType,h=t.cookieName,g=t._overrideCloseHandler,f=t.isAmp,x=t.siteType,y=t.dataEventCategory,v=void 0===y?"Header Banner":y,b=t.dataEventAction,E=void 0===b?"Close Click":b,k=t.dataEventLabel,_=void 0===k?"":k,C=t.dataTracking,T=void 0===C?"true":C,L=n.useState(!1),O=L[0],S=L[1],I=n.useState(!1),A=I[0],M=I[1],N=l;f&&(N=N.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(v,'"'),'data-vars-event-category="'.concat(v,'" data-vars-tracking="').concat(T,'"')));var P=n.useRef(64);n.useEffect((function(){var e=a.throttle((function(){window.scrollY<P.current?M(!1):window.scrollY>64&&M(!0),P.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var R="marryBaby"===x,B=R?X:"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 n.useEffect((function(){p&&p(O||r||A)}),[p,O,r,A]),w.default.createElement(J,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?w.default.createElement(ee,{"data-is-marrybaby":R},f?w.default.createElement("amp-img",{src:o,width:"76",height:"52"}):w.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?w.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,w.default.createElement(ne,e.__assign({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":R,"data-vars-event-category":v,"data-vars-event-action":E,"data-vars-event-label":_||"","data-vars-tracking":T||"",className:"amp-close-banner",onClick:function(){S(!0),g?g():(c&&c(),h&&i.setCookie(h,"true"),d&&u&&u({type:m,payload:{type:d}}))},"data-is-mobile":s}),f?w.default.createElement("amp-img",{src:B,width:"24",height:"24"}):w.default.createElement("img",{src:B,className:"close-icon"})))},exports.StickySponsoredBy=function(e){var t=e.className,a=e.isMobile,i=e.isCollapsed,o=e.sponsoredType,l=e.sponsoredBy,r=e.isAmp,d=e.locale,c=ie(),p=n.useState(!1),u=p[0],m=p[1];return w.default.createElement(Ln,{className:t,onClick:function(){return m(!0)},"data-show-popup":u&&(!a||!i)&&!r,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":r||void 0},w.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?w.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},w.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?w.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:$}):w.default.createElement("img",{src:$,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?w.default.createElement(w.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",w.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):w.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),w.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?w.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:$,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):w.default.createElement("img",{src:$,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:w.default.createElement(Sn,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=te;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-f3af2c39.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./utils-c05996cf.js"),r=require("./index-e15ec8a9.js"),s=require("./index.styled-343a2168.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./screenSizeContext-6726a3b5.js"),m=require("./index-9b91ee37.js");require("react-range"),require("react-dom"),require("./translationsContext-2d7ea471.js"),require("lodash/debounce"),require("./index-bce6f562.js"),require("date-fns"),require("./Locale-11b51016.js");var h=require("./zalo-e7b9d144.js"),g=require("./index-c21b1491.js"),f=require("react-loading-skeleton"),x=require("./translationsProvider-57deb2ca.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-a5b5c74c.js"),require("./en-PH-7307aee7.js"),require("slugify"),require("vanilla-lazyload");var v,b,E,w=y(n),k=y(o),_=y(p),C=y(f),T={"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"},L={"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"}},O={"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"}},S={"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"}]},I="user",A="community?website_url={websiteUrl}",M="topic?community_id={communityId}&website_url={websiteUrl}",N="spotlights?per_page={perPage}&order_by={orderBy}",P="healthtools?_hasgroup=1",R="categories?type=all",B="footer",j="api/specialties?_ishome=1&site={domain}",D="menu/footer",H="health-tools",z=99,U=300,F=400,G=200,Y=210,V=5,Q=6,Z=300,W={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"}},q=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,b,E,k=n.children,_=n.SEOData,C=void 0===_?{}:_,O=n.isAmp,I=void 0!==O&&O,A=n.locale,M=void 0===A?"vi-VN":A,N=n.routerPathname,P=n.routerQuery,R=n.nextHead,B=n.siteType,j=n.seoCustom,D=n.userId,H=n.forcedCanonicalUrl,z=n.usingDefaultHead,U="production"===process.env.NEXT_PUBLIC_DEPLOY_ENV,F=C.totalPages,G=C.currentPage,Y=C.SEOTitle,V=void 0===Y?"":Y,Q=C.SEODescription,Z=void 0===Q?"":Q,W=C.SEOImage,q=C.seoType,K=C.SEOImageWidth,X=C.SEOImageHeight,$=C.customMetaData,J=void 0===$?[]:$,ee=C.isIndexable,ne=void 0===ee||ee,te=C.hasNoCanonical,ae=void 0!==te&&te,ie=ne&&U?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",oe=process.env.NEXT_PUBLIC_BASE_API_URL,le=C.canonicalUrl||N;Object.keys(P).forEach((function(e){var n=P[e];n&&Array.isArray(n)&&(le=le.replace("[...".concat(e,"]"),n.join("/")))}));var re,se=M||"en-PH",de="helloSites"===B?T[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(C.apiMetaData&&"string"==typeof C.apiMetaData){var pe=null===(a=C.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?C.apiMetaData.replace(pe[0],pe[0].includes("-")?pe[0].replace("-",ue+" - "):"<title>".concat(pe[1].concat(ue),"</title>")).replace('<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,'" />'),'<link rel="canonical" href="https://'.concat(de).concat(le).concat(ce,"?page=").concat(G,'" />')):C.apiMetaData,he=(re=t.htmlReactParser(me,{trim:!0})).find((function(e){var n,t;return"og:image"===(null===(n=e.props)||void 0===n?void 0:n.property)||"og:image:secure_url"===(null===(t=e.props)||void 0===t?void 0:t.property)}));if(!he){var ge="https://".concat(de,"/images/").concat(M,".png");re=e.__spreadArray(e.__spreadArray([],re,!0),[w.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=C.openGraph)||void 0===i?void 0:i.image)||ge||""}),w.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=C.openGraph)||void 0===o?void 0:o.image)||ge}),w.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=C.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=C.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),w.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=C.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=C.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return w.default.createElement(w.default.Fragment,null,R&&z&&w.default.createElement(R,null,w.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&w.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?w.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?w.default.createElement(w.default.Fragment,null):w.default.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"}),w.default.createElement("link",{rel:"preconnect",href:oe}),w.default.createElement("meta",{charSet:"UTF-8"}),!I&&w.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),w.default.createElement("meta",{name:"google",content:"notranslate"}),w.default.createElement("meta",{name:"robots",content:ie}),w.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),J.map((function(n,t){return w.default.createElement("meta",e.__assign({key:t},n))})),w.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),w.default.createElement("meta",{name:"page_type",content:"Home"}),w.default.createElement("meta",{name:"page_platform",content:"WEB"}),w.default.createElement("meta",{name:"page_language",content:se}),w.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&w.default.createElement(w.default.Fragment,null,w.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),w.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&w.default.createElement(w.default.Fragment,null,"helloSites"===B?w.default.createElement("title",null,j?V:V+" - "+(null===(c=L[M])||void 0===c?void 0:c.SITE_NAME)):w.default.createElement("title",null,V),!ae&&w.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),w.default.createElement("meta",{name:"description",content:Z||(null===(p=C.openGraph)||void 0===p?void 0:p.description)}),C.schemaData&&w.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:C.schemaData}}),w.default.createElement("meta",{property:"og:locale",content:M}),w.default.createElement("meta",{property:"og:type",content:q||"website"}),w.default.createElement("meta",{property:"og:title",content:(null===(u=C.openGraph)||void 0===u?void 0:u.title)||V}),w.default.createElement("meta",{property:"og:description",content:(null===(m=C.openGraph)||void 0===m?void 0:m.description)||Z}),w.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),w.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),w.default.createElement("meta",{property:"og:image",content:(null===(h=C.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),w.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=C.openGraph)||void 0===g?void 0:g.image)||W||fe}),w.default.createElement("meta",{property:"og:image:width",content:(null===(f=C.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=C.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),w.default.createElement("meta",{property:"og:image:height",content:(null===(y=C.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=C.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),w.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),w.default.createElement("meta",{name:"twitter:title",content:(null===(b=C.twitter)||void 0===b?void 0:b.title)||V}),w.default.createElement("meta",{name:"twitter:description",content:Z}),w.default.createElement("meta",{name:"twitter:image",content:(null===(E=C.twitter)||void 0===E?void 0:E.image)||W})),("helloSites"===B?S[se]||[]:S.marryBaby).map((function(e,n){return"link"===e.type?w.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?w.default.createElement("meta",{key:n,name:e.name,content:e.content}):null})),Array.isArray(re)&&H?re.filter((function(e){return"canonical"!==e.props.name&&"canonical"!==e.props.rel})):re,H&&w.default.createElement("link",{rel:"canonical",href:H}),!C.hasNoAmp&&"vi-VN"!==M&&w.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?w.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&w.default.createElement(R,null),k)},K="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",X="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",$="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",J=k.default.div(v||(v=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.cobalt})),ee=k.default.div(b||(b=e.__makeTemplateObject(["\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"]))),ne=k.default.div(E||(E=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),te={"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"},ae=n.createContext({}),ie=function(){var e=n.useContext(ae);return function(n,t){var a=(e.translation||{})[n]||te[n];return a?t?_.default(a,t):a:function(){throw Error("missing translation "+n)}()}},oe=function(e){return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:(null==e?void 0:e.slug)||"",communityId:null==e?void 0:e.id,color:null==e?void 0:e.color}:{}},le=function(e){var n;return e?{title:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",communitySlug:"".concat(null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.slug,"/").concat(null==e?void 0:e.slug),communityId:null==e?void 0:e.id}:{}},re=function(e){var n,t,a,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return re(e)})))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},se=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},de=function(e){var n,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(n=null==e?void 0:e.health_tools)||void 0===n?void 0:n.map((function(e){return se(e)})))&&void 0!==t?t:[]}:{}},ce=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+_.default(j,e.__assign(e.__assign({},a),{domain:T[n]}))},pe=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(R,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(P,e.__assign({},a))},me=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(N,e.__assign({},a))},he=function(n,t,a){return(t||"https://wp.".concat(T[n],"/"))+"wp-json/api/"+_.default(B,e.__assign({},a))},ge=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(A,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(T[n])}))},fe=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(M,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(T[n])}))},xe=function(e){var n,t=e.type,a=e.specialtySlug,i=e.locale;return"/".concat(c.LOCALIZED_SLUGS[i].ALL,"/").concat((null===(n=c.LOCALIZED_SLUGS[i])||void 0===n?void 0:n[t])||"doctor","/").concat(null!=a?a:"")},ye=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},ve=function(e){var n=new Date;if(null==e?void 0:e.startDate){var t=new Date(e.startDate);if(n.getTime()<t.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(n.getTime()>a.getTime())return!1}return!0},be=k.default.header(Be||(Be=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),z,U,F),Ee=k.default.header(je||(je=e.__makeTemplateObject(["\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"]))),we=k.default.div(De||(De=e.__makeTemplateObject(["\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"]))),ke=k.default.div(He||(He=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),V,Q,Z),_e=k.default.div(ze||(ze=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightPink})),Ce=k.default.div(Ue||(Ue=e.__makeTemplateObject(["\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"]))),Te=k.default.div(Fe||(Fe=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Le=k.default.div(Ge||(Ge=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Oe=k.default.div(Ye||(Ye=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.mbColors.lightGray}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white})),Se=k.default.div(Ve||(Ve=e.__makeTemplateObject(["\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"]))),Ie=k.default.div(Qe||(Qe=e.__makeTemplateObject(["\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"]))),Ae=k.default.div(Ze||(Ze=e.__makeTemplateObject(["\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"]))),Me=k.default.div(We||(We=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.colors.secondaryDark}),(function(e){return e.theme.mbColors.dark}),(function(e){return e.theme.colors.secondaryDark})),Ne=k.default.div(qe||(qe=e.__makeTemplateObject(["\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(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),Pe=k.default.div(Ke||(Ke=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Re=k.default.div(Xe||(Xe=e.__makeTemplateObject([""],[""])));k.default.div($e||($e=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,$e,Je,en=k.default.div(Je||(Je=e.__makeTemplateObject(["\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(e){return e.theme.colors.secondaryBase}));function nn(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function tn(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function an(e){var n=e.siteType,t=e.type;return"helloSites"===n?w.default.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}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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 on(n){var a,i,o=n.type,l=n.isStatic,d=n.isAmp,c=n.isDisplayed,p=n.siteType,u=n.isCollapsed,h=n.sitewideBannerShown,g=n.sitewideBanner,f=n.sitewideBannerClosed,x=n.setSitewideBannerClosed,y=n.isMobile,v=n.onMenuClick,b=n.menu,E=n.isSearchIconDisplayed,k=n.statics,_=k.DISCOVER_URL_FE,C=k.SSO_URL,T=k.HOME_PAGE_URL,L=k.CARE_URL_FE,O=n.basePath,S=n.languageMenu,I=n.enabledExperimentalCareHeader,A=n.onCareHeaderClick,M=n.logoType,N=n.locale,P=n.isInit,R=n.title,B=n.sponsorComponent,j=n.currentUrl,D=n.userInfo,H=n.currentPopupType,z=n.avatar,U=n.profileMenu,F=n.isLoginButtonDisplayed,G=n.goToLogin,Y=n.isSearchBarDisplay,V=n.searchPlaceholder,Q=n.onSearchValueChanged,Z=n.keyPressed,W=ie(),q=!!B,K=!!(null===(i=null===(a=null==B?void 0:B.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),X=h&&!!g&&!f,$=ln({isSiteWide:!!g&&!f,isShowingSiteWideBanner:X,isSponsored:q,hasSponsoredBanners:K,isMobile:!0}),J=$.headerRef,ee=$.headerHeight;return w.default.createElement(w.default.Fragment,null,w.default.createElement(be,{"data-header-type":o,"data-collapsed":!l&&u,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":c,"data-is-amp":d,"data-sponsored":q,"data-site-type":p,"data-sitewide-banner-shown":X,id:"site-header",ref:J},g?w.default.isValidElement(g)?w.default.cloneElement(g,{isCollapsed:u,setBannerClosed:x,isAmp:d,isMobile:y}):g:null,w.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===p?"center":"flex-start",background:"white"},"marryBaby"===p?{paddingLeft:66}:{}),void 0!==S||I?{paddingLeft:I?48:64,gap:24,justifyContent:"unset"}:{})},w.default.createElement(Ee,null,w.default.createElement(we,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},w.default.createElement("div",{onClick:function(){return null==v?void 0:v("categories")}},"home"===o&&w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},w.default.createElement(an,{siteType:p,type:o})),"popup"===o&&w.default.createElement(tn,null),"popup-sub-level"===o&&w.default.createElement(nn,null)),b),E&&"helloSites"===p&&"home"===o&&w.default.createElement(we,{style:{paddingRight:16}},w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(T,"/search?s=&page=1")},w.default.createElement("img",{src:"".concat(O,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:o}),w.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==o&&w.default.createElement(Ne,{"data-is-profile":!0,className:P?"":"menu-handler-health-tools"},w.default.createElement("div",{className:"menu-handler-item"},E&&"marryBaby"===p&&"home"===o&&w.default.createElement(we,{style:{justifySelf:"flex-end"}},w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(_,"/search?s=&page=1")},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),I&&w.default.createElement(w.default.Fragment,null,A?w.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:j,onClick:function(e){return A(e)}},W("login.booking")):w.default.createElement("a",{href:L,className:"care-button"},w.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:j},W("login.booking")))),(null==D?void 0:D.id)?w.default.createElement(Ie,{style:{position:"relative"}},w.default.createElement("div",{onClick:function(){return v&&v("profile")}},"profile"===H?w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):z),U):d?w.default.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":j,href:"".concat(C,"?returnUrl=").concat(j.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===N?w.default.createElement(en,{onClick:G},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:G},W("navigation.loginJoin"))):F&&w.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":j},I?w.default.createElement(en,{onClick:G},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:G},W("navigation.loginJoin")):w.default.createElement("div",{className:"login-btn-mobile",onClick:G,style:{paddingLeft:16}},w.default.createElement(s.Text,{size:"p3"},W("navigation.loginJoin")))))),("home"===o||"popup"===o)&&w.default.createElement("a",{href:T||""},w.default.createElement(s.Logo,{type:M,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===N?w.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==S&&w.default.createElement(Me,{"data-is-active":!0,className:P?"":"menu-handler-language",onClick:function(){v&&v("language")}},S),R&&w.default.createElement(m.Heading,{className:"top-bar-header",tag:"h5"},R)),B?w.default.isValidElement(B)?w.default.cloneElement(B,{isCollapsed:u,locale:N,isMobile:y,isAmp:d}):B:null),Y?w.default.createElement(ke,{"data-header-type":o,"data-is-displayed":c,"data-sitewide-banner-shown":h&&!!g},w.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+o+(P?"":"-temp"),size:"md",placeholder:V,onChange:Q,onKeyPress:Z,type:"search",displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):w.default.createElement(w.default.Fragment,null,!d&&w.default.createElement("div",{style:{height:ee}})))}var ln=function(e){var t=e.hasSponsoredBanners,i=e.isSiteWide,o=e.isSponsored,l=e.isShowingSiteWideBanner,r=e.isMobile,s=n.useRef(null),d=n.useState(0),c=d[0],p=d[1],u=n.useCallback(a.debounce((function(){var e,n=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||0;window.scrollY<=n+30&&p(n)}),100),[]);n.useEffect((function(){return window.addEventListener("resize",u),window.addEventListener("scroll",u),function(){window.removeEventListener("resize",u),window.removeEventListener("scroll",u)}}),[]),n.useEffect((function(){u()}),[i,l,o,t,s.current]);var m=n.useMemo((function(){var e=r?64:69;return l&&(e+=64),o&&(e+=40),e}),[r,l,o]);return{headerHeight:c||m,headerRef:s}},rn=function(e){var i,o,c,p=e.siteType,u=e.basePath,m=e.statics,h=e.currentPopupType,g=void 0===h?"none":h,f=e.isDisplayed,x=void 0===f||f,y=e.isSearchBarDisplay,v=void 0===y||y,b=e.searchPlaceholder,E=void 0===b?"":b,k=e.openPopup,_=e.onTopBarAppears,C=e.onSearchChange,O=e.onSearchKeyPress,S=e.menu,I=e.isAmp,A=e.profileMenu,M=e.isMobile,N=void 0!==M&&M,P=e.isLoginButtonDisplayed,R=e.title,B=e.type,j=void 0===B?"home":B,D=e.onMenuClick,H=e.isStatic,z=void 0!==H&&H,U=e.routerAsPath,F=e.locale,G=e.userInfo,Y=e.marryBaby,V=(void 0===Y?{tone:"white"}:Y).tone,Q=e.menuItems,Z=void 0===Q?[]:Q,W=e.isInit,q=e.sitewideBanner,K=e.sitewideBannerShown,X=void 0===K||K,$=e.sponsorComponent,J=e.languageMenu,ee=e.isSearchIconDisplayed,ne=void 0!==ee&&ee,te=e.enabledExperimentalCareHeader,ae=e.onCareHeaderClick,oe=m.SSO_URL,le=m.HOME_PAGE_URL,re=m.CARE_URL_FE,se=ie(),de=!!$,ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=n.useState(!1),xe=fe[0],ye=fe[1],ve=n.useState(W||!1),be=ve[0],Ee=ve[1],we=n.useRef(47),ke=n.useRef(!1),Pe=n.useRef(!1),Re="helloSites"===p?"https://".concat(T[F]).concat(U):"https://www.marrybaby.vn".concat(U),Be=n.useMemo((function(){var e=(null==G?void 0:G.name)||(null==G?void 0:G.username);return w.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==G?void 0:G.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===p?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:I})}),[null==G?void 0:G.username,null==G?void 0:G.name,null==G?void 0:G.avatar]),je=function(){var e=window.location.href;window.location.href=oe?"".concat(oe,"?returnUrl=").concat(e):e},De="helloSites"===p?null===(i=L[F])||void 0===i?void 0:i.LOGO_TYPE:p,He="undefined"!=typeof window,ze=function(e){null==C||C(e)},Ue=n.useCallback(a.throttle((function(){var e;if("home"===j){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;He&&n&&(n.scrollY>we.current&&n.scrollY>64&&!ke.current&&(ke.current=!0,ue(!0)),n.scrollY<we.current&&ke.current&&(ke.current=!1,ue(!1),t&&n.scrollY),n.scrollY<we.current&&t&&n.scrollY,v?(n.scrollY<64&&n.scrollY<we.current&&Pe.current&&(Pe.current=!1),n.scrollY>8&&n.scrollY>we.current&&!Pe.current&&(Pe.current=!0)):Pe.current=!0,n.scrollY>=0&&(we.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==_||_(!pe)}),[pe]);var Fe=function(e){var n,t;O&&O(e,null!==(t=null===(n=document.getElementById("search-input-"+j))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){N&&Ue()}),[]),n.useEffect((function(){return window.addEventListener("scroll",Ue,{passive:!0}),function(){window.removeEventListener("scroll",Ue)}}),[]),n.useEffect((function(){Ee(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&ye(Boolean(xe))}),[]);var Ge=w.default.createElement(w.default.Fragment,null,Z.find((function(e){return"categories"===e.id}))&&w.default.createElement(Me,{"data-is-active":"categories"===g,className:be?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==k||k("categories"),setTimeout((function(){var e,n;null===(n=null===(e=document.getElementsByClassName("top-menu-categories"))||void 0===e?void 0:e[0])||void 0===n||n.focus()}),100)}},w.default.createElement("div",{className:"menu-handler-item"},se("home.navigator.menuItem.discover"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"healthTools"===e.id}))&&w.default.createElement(Me,{"data-is-active":"tools"===g,className:be?"":"menu-handler-health-tools",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("tools")}},se("home.navigator.menuItem.healthTools"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"care"===e.id}))&&!te&&w.default.createElement(Me,{"data-is-active":"care"===g,className:be?"":"menu-handler-care-specialties",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("care")}},se("home.navigator.menuItem.helloCare"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===g&&w.default.createElement("div",null,S)),Z.find((function(e){return"together"===e.id}))&&w.default.createElement(Me,{"data-is-active":"communities"===g,className:be?"":"menu-handler-communities",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item",onClick:function(){k&&k("communities")}},se("home.navigator.menuItem.helloTogether"),w.default.createElement(Ae,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===g&&w.default.createElement("div",null,S))),Ye=!!(null===(c=null===(o=null==$?void 0:$.props)||void 0===o?void 0:o.sponsoredBy)||void 0===c?void 0:c.length),Ve=X&&!!q&&!he,Qe=ln({isSiteWide:!!q&&!he,isShowingSiteWideBanner:Ve,isSponsored:de,hasSponsoredBanners:Ye}),Ze=Qe.headerRef,We=Qe.headerHeight;return N?w.default.createElement(on,{type:j,isStatic:z,isAmp:I,isDisplayed:x,siteType:p,isCollapsed:pe,sitewideBannerShown:X,sitewideBanner:q,sitewideBannerClosed:he,setSitewideBannerClosed:ge,isMobile:N,onMenuClick:D,menu:S,isSearchIconDisplayed:ne,statics:m,basePath:u,languageMenu:J,enabledExperimentalCareHeader:te,logoType:De,locale:F,isInit:be,title:R,sponsorComponent:$,currentUrl:Re,userInfo:G,currentPopupType:g,avatar:Be,profileMenu:A,isLoginButtonDisplayed:P,goToLogin:je,isSearchBarDisplay:v,searchPlaceholder:E,onSearchValueChanged:ze,keyPressed:Fe}):w.default.createElement(w.default.Fragment,null,w.default.createElement("div",{style:{height:We}}),w.default.createElement(_e,{ref:Ze,"data-site-type":p,"data-marry-baby-tone":"marryBaby"===p&&V,"data-sponsored":de,"data-sitewide-banner-shown":Ve},q?w.default.isValidElement(q)?w.default.cloneElement(q,{isCollapsed:pe,setBannerClosed:ge}):q:null,w.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:p},w.default.createElement(Ce,null,w.default.createElement(Te,null,w.default.createElement("a",{href:le},w.default.createElement(Le,{"data-is-having-border":"helloSites"===p},w.default.createElement(s.Logo,{style:{display:"flex"},type:De,height:"27px",width:"121px",badge:"id-ID"===F?w.default.createElement("img",{src:t.img$1,style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),v&&"helloSites"===p&&w.default.createElement(Oe,{"data-header-type":j,"data-is-displayed":x,"data-sitewide-banner-shown":X&&!!q},w.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+j+(be?"":"-temp"),size:"sm",placeholder:E,onChange:ze,onKeyPress:Fe,displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===p&&w.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Ge)),w.default.createElement(Se,null,"helloSites"===p&&Ge,v&&"marryBaby"===p&&w.default.createElement(Oe,{"data-header-type":j,"data-is-displayed":x,"data-is-styled-borderless":"marryBaby"===p,"data-marry-baby-theme":V},w.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+j+(be?"":"-temp"),size:"sm",placeholder:E,onChange:ze,onKeyPress:Fe,displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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!==J&&w.default.createElement(Me,{"data-is-active":!0,className:be?"":"menu-handler-language",onClick:function(){k&&k("language")}},J),w.default.createElement(Ne,{"data-is-active":"profile"===g,"data-is-profile":!0,className:be?"":"menu-handler-health-tools",tabIndex:0},w.default.createElement("div",{className:"menu-handler-item"},te&&w.default.createElement(w.default.Fragment,null,ae?w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re,onClick:function(e){return ae(e)}},se("login.booking")):w.default.createElement("a",{href:re,className:"care-button no-replace-click"},w.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Re},se("login.booking")))),(null==G?void 0:G.id)?w.default.createElement(Ie,{style:{position:"relative"}},w.default.createElement("div",{onClick:function(){return k&&k("profile")}},Be),A):P&&w.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Re},te?w.default.createElement(en,{onClick:je},w.default.createElement("img",{src:t.img,className:"avatar",alt:"avatar"})):"helloSites"===p?w.default.createElement(r.Button,{size:"md",color:"secondary",onClick:je},se("navigation.loginJoin")):w.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:je},se("navigation.loginJoin")))))))),$?w.default.isValidElement($)?w.default.cloneElement($,{isCollapsed:pe,locale:F,isMobile:N,isAmp:I}):$:null))};k.default.div(sn||(sn=e.__makeTemplateObject(["\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 sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn,Tn,Ln=k.default.div(dn||(dn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),u.MediaQueries.mbUp),On=k.default.div(cn||(cn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Sn=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=ie();return w.default.createElement(On,{"data-align-left":n&&!!(null==n?void 0:n.logo),"data-is-amp":t||void 0,id:"sponsored-by",className:t?"amp-sponsored-popup":void 0},w.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),w.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},w.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),w.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(O[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(O[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},In=k.default.div(pn||(pn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),An=k.default.div(un||(un=e.__makeTemplateObject(["\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"]))),Mn=k.default.div(mn||(mn=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),Nn=k.default.div(hn||(hn=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Pn=k.default.div(gn||(gn=e.__makeTemplateObject([""],[""]))),Rn=k.default.div(fn||(fn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Bn=k.default.div(xn||(xn=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),jn=k.default.div(yn||(yn=e.__makeTemplateObject(["\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"]))),Dn=k.default.div(vn||(vn=e.__makeTemplateObject(["\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"])),G),Hn=k.default.div(bn||(bn=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),zn=k.default.div(En||(En=e.__makeTemplateObject(["\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"]))),Un=k.default.div(wn||(wn=e.__makeTemplateObject(["\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"]))),Fn=k.default.div(kn||(kn=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Gn=k.default.div(_n||(_n=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Yn=k.default.div(Cn||(Cn=e.__makeTemplateObject(["\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"]))),Vn=k.default.div(Tn||(Tn=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),Qn=k.default.div(tt||(tt=e.__makeTemplateObject(["\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"]))),Zn=k.default.div(at||(at=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Wn=k.default.div(it||(it=e.__makeTemplateObject(["\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"]))),qn=k.default.div(ot||(ot=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.colors.white})),Kn=k.default.div(lt||(lt=e.__makeTemplateObject(["\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"]))),Xn=k.default.div(rt||(rt=e.__makeTemplateObject(["\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"]))),$n=k.default.div(st||(st=e.__makeTemplateObject(["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"],["\n flex: 1;\n padding: 16px;\n background-color: ",";\n"])),(function(e){return e.theme.colors.white}));k.default.div(dt||(dt=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Jn=k.default.div(ct||(ct=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}));k.default.div(pt||(pt=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var et=k.default.div(ut||(ut=e.__makeTemplateObject(["\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"])));k.default.div(mt||(mt=e.__makeTemplateObject(["\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"])),G),k.default.div(ht||(ht=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),k.default.div(gt||(gt=e.__makeTemplateObject(["\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"]))),k.default.div(ft||(ft=e.__makeTemplateObject(["\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"]))),k.default.div(xt||(xt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),k.default.div(yt||(yt=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),k.default.div(vt||(vt=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),k.default.div(bt||(bt=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink}));var nt=k.default.div(Et||(Et=e.__makeTemplateObject(["\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"])));k.default.div(wt||(wt=e.__makeTemplateObject(["\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"]))),k.default.div(kt||(kt=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),k.default.div(_t||(_t=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800}));var tt,at,it,ot,lt,rt,st,dt,ct,pt,ut,mt,ht,gt,ft,xt,yt,vt,bt,Et,wt,kt,_t,Ct,Tt,Lt,Ot,St,It,At=k.default.div(Ct||(Ct=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.pink})),Mt=k.default.div(Tt||(Tt=e.__makeTemplateObject(["\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"]))),Nt=function(){return w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}))},Pt=k.default.div(Lt||(Lt=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800})),Rt=k.default.a(Ot||(Ot=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.white})),Bt=function(e){var n=e.locale,a=e.categoriesSSR,i=e.healthToolsSSR,o=e.spotlightsSSR,l=e.serviceUrls,r=e.together,d=e.care,c=e.basePath,p=e.searchPlaceholder,u=ie();return w.default.createElement(Pt,null,w.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},w.default.createElement("amp-nested-menu",{layout:"fill"},w.default.createElement("ul",{style:{paddingBottom:24}},w.default.createElement("div",{className:"amp__menu-header"},w.default.createElement(Pe,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),w.default.createElement("div",{className:"logo"},w.default.createElement(s.Logo,{height:"32px",width:"121px",type:L.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?w.default.createElement("amp-img",{src:t.img$1,width:"56",height:"23"}):void 0})),w.default.createElement("div",null)),w.default.createElement(Rt,{href:"/search"},w.default.createElement(Nt,null),w.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),w.default.createElement("div",{className:"categories__spotlight"},w.default.createElement(Re,{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},w.default.createElement("amp-img",{src:t.img$2,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.discover"))),w.default.createElement(Re,{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'"},w.default.createElement("amp-img",{src:t.img$3,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.healthTools"))),r.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&w.default.createElement("a",{href:l.TOGETHER_URL_FE},w.default.createElement(Re,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},w.default.createElement("amp-img",{src:t.img$5,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.together")))),d.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&w.default.createElement("a",{href:l.CARE_URL_FE},w.default.createElement(Re,{role:"button",tabIndex:1,className:"nav-card"},w.default.createElement("amp-img",{src:t.img$4,width:"48",height:"48"}),w.default.createElement("span",null,u("home.navigator.menuItem.helloCare"))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},w.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.discover")),a&&a.length>1&&a.map((function(e){return w.default.createElement("li",{key:e.name},w.default.createElement("a",{href:e.permalink},e.displayName))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/categories/")},w.default.createElement(Bn,{key:"all-categories"},u("home.navigator.menuItem.allCategories"),w.default.createElement(nt,null,w.default.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:u("home.navigator.menuItem.allCategories")}))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},w.default.createElement(m.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),o&&o.length>0&&o.map((function(e){return w.default.createElement("li",{key:e.id,className:"spotlight-li"},w.default.createElement("a",{href:e.permalink},e.name))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(l.DISCOVER_URL_FE,"/spotlight/")},w.default.createElement(Bn,{key:"all-spotlight"},u("home.navigator.menuItem.allSpotlight"),w.default.createElement(nt,null,w.default.createElement("amp-img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},height:"16",width:"16",alt:u("home.navigator.menuItem.allSpotlight")}))))),w.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},i&&i.length>1&&i.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&w.default.createElement(w.default.Fragment,{key:n},w.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return w.default.createElement("li",{key:e.title,className:"health-tool"},w.default.createElement("a",{href:e.link},w.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),w.default.createElement("span",null,e.title)))})))})))))))},jt=k.default.footer(St||(St=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp),Dt=k.default.div(It||(It=e.__makeTemplateObject(["\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"]))),Ht=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return w.default.createElement(Dt,{"data-is-mobile":t},w.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},zt=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,b,E,k,_,C,L,O,S,I,A,M,N,P,R,B,j,D,H,z,U=e.className,F=e.type,G=void 0===F?"main":F,Y=e.footerInfo,V=e.isMobile,Q=e.locale,Z=e.isAmp,W=ie(),q=null==Y?void 0:Y.menu;return w.default.createElement(jt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},w.default.createElement(s.Container,null,w.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?w.default.createElement(w.default.Fragment,null,w.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?w.default.createElement("amp-img",{src:null===(a=null==Y?void 0:Y.general)||void 0===a?void 0:a.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:w.default.createElement("img",{className:"footer-logo",src:null===(n=null==Y?void 0:Y.general)||void 0===n?void 0:n.logo,alt:"Logo","data-is-sehat":"id-ID"===Q})),w.default.createElement("div",{className:"columns"},w.default.createElement("div",{className:"newsletter"},w.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),w.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),w.default.createElement("div",{className:"social"},w.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),w.default.createElement("div",{className:"icons"},null===(c=null===(l=null==Y?void 0:Y.social)||void 0===l?void 0:l.socials)||void 0===c?void 0:c.map((function(e,n){return w.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?w.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):w.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),w.default.createElement("hr",{className:"hrMobile"}))),w.default.createElement("div",null,q&&w.default.createElement(w.default.Fragment,null,w.default.createElement("div",{className:"biglinks"},null===(u=null===(p=q[0])||void 0===p?void 0:p.items)||void 0===u?void 0:u.map((function(e,n){return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(m=q[1])||void 0===m?void 0:m.menu_title),null===(g=null===(h=q[1])||void 0===h?void 0:h.items)||void 0===g?void 0:g.map((function(e,n){return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url),className:"link",href:e.url,key:n},w.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(T[Q]).concat(e.url)},e.title))}))),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(f=q[2])||void 0===f?void 0:f.menu_title),null===(y=null===(x=q[2])||void 0===x?void 0:x.items)||void 0===y?void 0:y.map((function(e,n){return e.url&&w.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},w.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&w.default.createElement(w.default.Fragment,null,w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"otherSites"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=null==Y?void 0:Y.branch)||void 0===v?void 0:v.title),w.default.createElement("div",{className:"flags"},null===(E=null===(b=null==Y?void 0:Y.branch)||void 0===b?void 0:b.branch)||void 0===E?void 0:E.map((function(e,n){return w.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},w.default.createElement(Ht,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),w.default.createElement("hr",null),w.default.createElement("div",{className:"copyright","data-is-amp":Z||void 0},(null===(k=null==Y?void 0:Y.general)||void 0===k?void 0:k.verified)&&w.default.createElement("a",{href:null===(C=null===(_=null==Y?void 0:Y.general)||void 0===_?void 0:_.verified[0])||void 0===C?void 0:C.url,className:"copyright-image"},Z?w.default.createElement("amp-img",{src:null===(O=null===(L=null==Y?void 0:Y.general)||void 0===L?void 0:L.verified[0])||void 0===O?void 0:O.image,alt:"DMCA Icon",width:"100",height:"36"}):w.default.createElement("img",{src:null===(I=null===(S=null==Y?void 0:Y.general)||void 0===S?void 0:S.verified[0])||void 0===I?void 0:I.image,alt:"DMCA Icon"})),w.default.createElement(s.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(A=null==Y?void 0:Y.general)||void 0===A?void 0:A.copyright)),"vi-VN"===Q&&w.default.createElement(s.Text,{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")):w.default.createElement(w.default.Fragment,null,(null==Y?void 0:Y.menu)&&w.default.createElement("div",{className:"columns"},w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==Y?void 0:Y.menu[1])||void 0===M?void 0:M.menu_title),null===(P=null===(N=null==Y?void 0:Y.menu[1])||void 0===N?void 0:N.items)||void 0===P?void 0:P.map((function(e){return w.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(T[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(T[Q]).concat(e.url)},w.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(T[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),w.default.createElement("div",{className:"mHalf"},w.default.createElement(s.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(R=null==Y?void 0:Y.menu[2])||void 0===R?void 0:R.menu_title),null===(j=null===(B=null==Y?void 0:Y.menu[2])||void 0===B?void 0:B.items)||void 0===j?void 0:j.map((function(e,n){return w.default.createElement("a",{className:"link",href:e.url,key:n,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},w.default.createElement(s.Text,{size:"sm",type:"regular",style:{color:d.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!Z&&"mini"!==G&&w.default.createElement("hr",{className:"hrMobile"}),w.default.createElement("div",{className:"newsletter"},w.default.createElement("div",{className:"social"},w.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),w.default.createElement("div",{className:"icons"},null===(z=null===(H=null==Y?void 0:Y.social)||void 0===H?void 0:H.socials)||void 0===z?void 0:z.map((function(e,n){return w.default.createElement("a",{key:n,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},Z?w.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):w.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))))))))))};k.default((function(n){var t=n.type,a=e.__rest(n,["type"]);return w.default.createElement(t,a)}))(Ut||(Ut=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark}));var Ut,Ft,Gt=k.default.p(Ft||(Ft=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.dark})),Yt=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return w.default.createElement(Gt,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};k.default.footer(Vt||(Vt=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),u.MediaQueries.mbUp,(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral500}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbUp);var Vt,Qt,Zt,Wt,qt,Kt,Xt,$t,Jt,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha,ga,fa=k.default.div(Qt||(Qt=e.__makeTemplateObject([""],[""]))),xa=k.default.div(Zt||(Zt=e.__makeTemplateObject(["\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"]))),ya=k.default.div(Wt||(Wt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown),va=k.default.div(qt||(qt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown),ba=k.default.div(Kt||(Kt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Ea=k.default.div(Xt||(Xt=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray}),u.MediaQueries.mbDown,u.MediaQueries.mbDown,u.MediaQueries.mbDown,(function(e){return e.theme.mbColors.midGray})),wa=k.default.div($t||($t=e.__makeTemplateObject(["\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"]))),ka=function(e){var n,t=e.socialLinks,a=void 0===t?W.SOCIAL_LINKS:t,i=a.facebookLink,o=a.instagramLink,l=a.zaloLink,r=a.youtubeLink,c=e.copyrightText,p=e.logoType,u=void 0===p?"marryBaby":p,m=e.isMobile,f=e.footerMenu,x=void 0===f?[]:f,y=e.type,v=void 0===y?"main":y,b=ie();return"main"===v?w.default.createElement(fa,{className:"footer-container"},!m&&w.default.createElement("div",{className:"footer-divider"},w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(g.Divider,{style:{padding:"0 16px"},type:"solid"}))),w.default.createElement(ya,null,w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(va,null,w.default.createElement("div",{className:"grid"},null===(n=m?null==x?void 0:x.slice(0,6):x)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return w.default.createElement("a",{"data-event-category":"Footer","data-event-action":t,"data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(n)},w.default.createElement(Yt,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),w.default.createElement("div",{className:"social-wrapper"},w.default.createElement("div",{className:"social"},w.default.createElement(Yt,{type:"subtitle-2"},b("footer.followUsText")),w.default.createElement("div",{className:"icons-links"},i&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},w.default.createElement("img",{src:h.img,alt:"Facebook"})),r&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},w.default.createElement("img",{src:h.img$1,alt:"Youtube"})),o&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},w.default.createElement("img",{src:h.img$2,alt:"Instagram"})),l&&w.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},w.default.createElement("img",{src:h.img$3,alt:"Zalo"}))))))))),w.default.createElement(ba,null,w.default.createElement(s.Container,{type:"marryBaby"},w.default.createElement(Ea,null,w.default.createElement(s.Logo,{className:"logo",type:u,width:"121px"}),w.default.createElement(Yt,{className:"company-name",type:"subtitle-2"},b("footer.info.companyName")),w.default.createElement("div",{className:"text-info"},w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.address")),w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.license")),w.default.createElement(Yt,{type:"bodytext-3"},b("footer.info.email"))),w.default.createElement("div",{className:"img-container"},w.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),w.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},w.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!m&&w.default.createElement(g.Divider,{type:"solid"}),w.default.createElement("div",{className:"language-and-copyright"},w.default.createElement(Yt,{type:"bodytext-3"},c)))))):w.default.createElement(xa,null,w.default.createElement(wa,null),w.default.createElement(Yt,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},b("footer.followUsText")),w.default.createElement("div",{className:"icons-links"},i&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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)"}),w.default.createElement("defs",null,w.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},w.default.createElement("stop",{stopColor:"#4DABF7"}),w.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}))),o&&w.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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)"}),w.default.createElement("defs",null,w.default.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)"},w.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),w.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),w.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),w.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),w.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),w.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),w.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),w.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),w.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),w.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),w.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&w.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},w.default.createElement("div",{style:{height:24,width:24}},w.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},_a=function(n){var t,a,i,o,l,r,s,d,c,p,u,m=n.type,h=n.isMobile,g=void 0===h||h,f=n.locale,x=n.footerInfo,y=n.isAmp,v=n.siteType,b=n.ampNextArticle,E=n.routerQuery;return"helloSites"===v?w.default.createElement(w.default.Fragment,null,y&&(null!==(a=null===(t=null==E?void 0:E.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&w.default.createElement("amp-next-page",null,w.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==b?void 0:b.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==b?void 0:b.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==b?void 0:b.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==b?void 0:b.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==b?void 0:b.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==b?void 0:b.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==b?void 0:b.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==b?void 0:b.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==b?void 0:b.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),w.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),w.default.createElement(zt,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):w.default.createElement(ka,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},Ca=k.default.div(Jt||(Jt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),Ta=k.default.div(ea||(ea=e.__makeTemplateObject(["\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(e){return e.hasStickyBottomBar&&"padding-bottom: 80px;"}),(function(e){return e.theme.colors.white})),La=k.default.div(na||(na=e.__makeTemplateObject(["\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(e){return e.theme.colors.white})),Oa=k.default.div(ta||(ta=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),Sa=k.default.a(aa||(aa=e.__makeTemplateObject(["\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"]))),Ia=k.default.div(ia||(ia=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Aa=k.default.div(oa||(oa=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100})),Ma=k.default.div(la||(la=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Na=k.default.div(ra||(ra=e.__makeTemplateObject([""],[""]))),Pa=k.default.div(sa||(sa=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Ra=k.default.div(da||(da=e.__makeTemplateObject(["\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"])),G),Ba=k.default.div(ca||(ca=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),ja=k.default.div(pa||(pa=e.__makeTemplateObject(["\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"]))),Da=k.default.div(ua||(ua=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Ha=k.default.div(ma||(ma=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),za=k.default.div(ha||(ha=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),Ua=k.default.div(ga||(ga=e.__makeTemplateObject(["\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"]))),Fa=function(){return w.default.createElement(Ia,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},Ga=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,r=e.isLoading,p=e.desktopPopupType,u=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=ie();return f?w.default.createElement(w.default.Fragment,null,r?w.default.createElement(Aa,null,w.default.createElement(Fa,null)):w.default.createElement(Aa,{"data-category-list-type":"main"},w.default.createElement(m.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n},w.default.createElement(Ma,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},w.default.createElement(Pa,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement(Na,null,e.name)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},w.default.createElement(Ha,{key:"all-categories","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(t=c.LOCALIZED_SLUGS[g])||void 0===t?void 0:t.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),w.default.createElement(za,null,"helloSites"===x?w.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))):w.default.createElement(Ra,{className:"top-menu-care-specialties",onClick:u,"data-is-display":"care"===p},w.default.createElement(Ba,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},w.default.createElement(ja,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,o.map((function(e){return w.default.createElement(Da,{key:"care-specialty-".concat(e.id),onClick:u},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(xe({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.name)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},w.default.createElement(Ha,{onClick:u,key:"all-care-specialties","data-theme":x,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y,"/").concat(null===(i=c.LOCALIZED_SLUGS[g])||void 0===i?void 0:i.SPECIALTIES)},v("home.navigator.menuItem.allSpecialties"),w.default.createElement(za,null,"helloSites"===x?w.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),w.default.createElement(Ua,{onClick:u},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Ya=function(){return w.default.createElement(In,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},Va=k.default.div(Xa||(Xa=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Qa=k.default.div($a||($a=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Za=k.default.div(Ja||(Ja=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));k.default.div(ei||(ei=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}));var Wa=k.default.div(ni||(ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold}),u.MediaQueries.mbDown),qa=k.default.div(ti||(ti=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Ka=k.default.div(ai||(ai=e.__makeTemplateObject([""],[""])));k.default.div(ii||(ii=e.__makeTemplateObject([""],[""])));var Xa,$a,Ja,ei,ni,ti,ai,ii,oi,li,ri=k.default.div(oi||(oi=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),si=k.default.div(li||(li=e.__makeTemplateObject(["\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"]))),di=function(){return w.default.createElement(Qa,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},ci=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,r=e.DISCOVER_URL_FE,s=e.basePath,c=e.locale,p=e.siteType,u=ie();return t?w.default.createElement(Va,null,w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),i&&t?w.default.createElement(Za,{className:o},w.default.createElement(di,null)):w.default.createElement(Za,{"data-is-displayed":t,className:o},a.map((function(e,n){return w.default.createElement(qa,{style:{textDecoration:"none"},key:"spotlight-"+n},l?w.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},w.default.createElement(Wa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[c]).concat(e.permalink)},w.default.createElement(Ka,null,e.name))):w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[c]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(r).concat(e.permalink)},e.name))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(r,"/spotlight/")},w.default.createElement(ri,{key:"all-spotlights","data-theme":p,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(r,"/spotlight/")},u("home.navigator.menuItem.allSpotlight"),w.default.createElement(si,null,"helloSites"===p?w.default.createElement("img",{src:"".concat(s,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:u("home.navigator.menuItem.allSpotlight")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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},pi=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,r=e.type,c=e.onSelectCategory,p=e.onClosePopup,u=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=ie();return h?w.default.createElement(w.default.Fragment,null,g&&i?w.default.createElement(An,null,w.default.createElement(Ya,null)):w.default.createElement(An,{"data-is-displayed":i,"data-category-list-type":r},w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),w.default.createElement(Mn,null,o.map((function(e,a){return w.default.createElement("div",{key:r+"-category-"+a},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==r&&n.preventDefault()},href:f+e.permalink},w.default.createElement(Nn,{onClick:function(){null==c||c(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},w.default.createElement(Pn,null,e.displayName),"main"===r&&w.default.createElement(Rn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===r&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return w.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:r+"-2-"+n},w.default.createElement(Nn,{"data-is-heading-category":"sub"===r&&e.childCates&&e.childCates.length>0},w.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},w.default.createElement(Bn,{key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),w.default.createElement(jn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))),w.default.createElement(ci,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):w.default.createElement(Dn,{className:"top-menu-categories",onClick:p,"data-is-display":"categories"===u},w.default.createElement(Hn,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},w.default.createElement(zn,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},w.default.createElement("div",null,w.default.createElement(m.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),w.default.createElement(Un,{"data-disabled-divider":0===l.length},o.map((function(e,t){return w.default.createElement(Fn,{style:{textDecoration:"none"},key:e.categoryName+t},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:p,href:"".concat(f).concat(e.permalink)},e.displayName),w.default.createElement(Gn,null,e.childCates&&e.childCates.map((function(e,t){return w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},w.default.createElement(Bn,{onClick:p,key:"all-categories","data-theme":y,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(f,"/categories/")},v("home.navigator.menuItem.allCategories"),w.default.createElement(jn,null,"helloSites"===y?w.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M6.5 12H17.5M17.5 12L12.9118 8M17.5 12L12.9118 16",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))))),w.default.createElement(ci,{isDisplayed:"main"===r,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),w.default.createElement(Yn,{onClick:p},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ui=k.default.div(bi||(bi=e.__makeTemplateObject([""],[""]))),mi=k.default.div(Ei||(Ei=e.__makeTemplateObject(["\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"]))),hi=k.default.div(wi||(wi=e.__makeTemplateObject(["\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"]))),gi=k.default.div(ki||(ki=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),fi=k.default.div(_i||(_i=e.__makeTemplateObject(["\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"]))),xi=k.default.div(Ci||(Ci=e.__makeTemplateObject(["\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"])),G),yi=k.default.div(Ti||(Ti=e.__makeTemplateObject(["\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"]))),vi=k.default.div(Li||(Li=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(Oi||(Oi=e.__makeTemplateObject(["\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 bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si,Ii,Ai=k.default.div(Si||(Si=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(Ii||(Ii=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi,Yi,Vi=function(e){var t=e.isDisplayed,a=void 0!==t&&t,i=e.categories,o=e.type,l=e.onSelectCategory,r=e.desktopPopupType,s=e.isMobile,c=e.isLoading,p=e.MARRY_BABY_FE,u=n.useState(-1),m=u[0],h=u[1],g=n.useState(!1),f=g[0],x=g[1];return s?w.default.createElement(w.default.Fragment,null,c&&a?w.default.createElement(An,null,w.default.createElement(Ya,null)):w.default.createElement(An,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},w.default.createElement(ui,{className:"marry-bb-menu-categories"},i.map((function(e,n){return w.default.createElement("div",{key:o+"-category-"+n,className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink)},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(p).concat(e.permalink)},w.default.createElement(gi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),onClick:function(){var t;"main"===o||0===(null===(t=e.childCates)||void 0===t?void 0:t.length)?null==l||l(e):m===n?(x(!0),setTimeout((function(){h(-1),setTimeout((function(){x(!1)}),100)}),300)):h(n)},style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"main"===o?w.default.createElement(mi,{style:{backgroundColor:e.imageColor}},w.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),w.default.createElement(Vn,null),"main"===o?w.default.createElement(Rn,null,w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):w.default.createElement(Rn,null,m!==n?w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):w.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#2661AD",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))))),"sub"===o&&e.childCates&&m===n&&e.childCates.length>0&&w.default.createElement(fi,null,w.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none"},href:"".concat(p).concat(n.permalink),key:o+"-2-"+t},w.default.createElement(gi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},w.default.createElement(hi,null,w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"})),w.default.createElement(Yt,{type:"subtitle-2"},n.displayName))))})))),w.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return w.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},w.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},w.default.createElement("p",null,e.displayName)))}))))}))))):w.default.createElement(xi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},w.default.createElement(yi,null),w.default.createElement(vi,{"data-popup-type":r},w.default.createElement(Ai,{className:"marry-bb-menu-categories"},c?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(Ya,null)):i.map((function(e,n){return w.default.createElement("div",{className:"wrapper-menu-category wrapper-menu-category-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),key:o+"-category-"+n,onClick:function(){l(e)}},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.permalink),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(p).concat(e.permalink)},w.default.createElement(gi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},w.default.createElement(mi,{style:{backgroundColor:e.imageColor}},w.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Qi=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.discoverApiDomain,o=e.basePath,l=e.categories,r=e.spotlightsList,s=e.type,d=e.onSelectCategory,c=e.onClosePopup,p=e.desktopPopupType,u=e.isMobile,m=e.isLoading,h=e.callApiHandler,g=e.DISCOVER_URL_FE,f=e.MARRY_BABY_FE,x=e.siteType,y=void 0===x?"helloSites":x;return"helloSites"===y?w.default.createElement(pi,{locale:a,basePath:o,DISCOVER_URL_FE:g,isDisplayed:t,type:s,onSelectCategory:d,categories:l,spotlightsList:r,isLoading:m,isMobile:u,siteType:y,onClosePopup:c,desktopPopupType:p}):w.default.createElement(Vi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Zi=k.default.div(Mi||(Mi=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Wi=k.default.div(Ni||(Ni=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),qi=k.default.div(Pi||(Pi=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Ki=k.default.div(Ri||(Ri=e.__makeTemplateObject([""],[""]))),Xi=k.default.div(Bi||(Bi=e.__makeTemplateObject([""],[""]))),$i=k.default.div(ji||(ji=e.__makeTemplateObject(["\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"]))),Ji=k.default.div(Di||(Di=e.__makeTemplateObject(["\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"])),G),eo=k.default.div(Hi||(Hi=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),no=k.default.div(zi||(zi=e.__makeTemplateObject(["\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"]))),to=k.default.div(Ui||(Ui=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),ao=k.default.div(Fi||(Fi=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),io=k.default.div(Gi||(Gi=e.__makeTemplateObject(["\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"]))),oo=k.default.div(Yi||(Yi=e.__makeTemplateObject(["\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"]))),lo=function(){return w.default.createElement(Zi,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},ro=function(e){var n=e.isDisplayed,t=e.communities,a=e.type,i=e.onSelectCommunity,o=e.onClosePopup,l=e.isLoading,r=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.locale,g=e.desktopPopupType,f=ie();return m?w.default.createElement(w.default.Fragment,null,l&&n?w.default.createElement(Wi,null,w.default.createElement(lo,null)):w.default.createElement(Wi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return w.default.createElement("div",{key:a+"-category-"+n},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement(qi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},w.default.createElement($i,null,w.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),w.default.createElement(Ki,null,e.title)),w.default.createElement(Xi,null,"helloSites"===u?w.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"===a&&t.map((function(e,n){return w.default.createElement("div",{key:a+"-category-"+n},w.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement(qi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},w.default.createElement($i,null,w.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),w.default.createElement(Ki,null,e.title)))))})),w.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},w.default.createElement(ao,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),w.default.createElement(io,null,w.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):w.default.createElement(Ji,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},w.default.createElement(eo,null,w.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},w.default.createElement(no,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,t.map((function(e){return w.default.createElement(to,{key:e.title,onClick:o},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.title)))})),w.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},w.default.createElement(ao,{onClick:o,key:"all-communities","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":c+"/"},f("home.navigator.menuItem.allCommunities"),w.default.createElement(io,null,w.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),w.default.createElement(oo,{onClick:o},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},so=k.default.div(ho||(ho=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),co=k.default.div(go||(go=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),po=k.default.div(fo||(fo=e.__makeTemplateObject(["\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"])),G),uo=k.default.div(xo||(xo=e.__makeTemplateObject(["\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"]))),mo=k.default.div(yo||(yo=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(vo||(vo=e.__makeTemplateObject(["\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 ho,go,fo,xo,yo,vo,bo,Eo,wo=k.default.div(bo||(bo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(Eo||(Eo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var ko=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.communities,i=e.onSelectCommunity,o=e.isLoading,l=e.basePath,r=e.type,s=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.TOGETHER_URL_FE;return s?o&&t?w.default.createElement(Wi,null,w.default.createElement(lo,null)):w.default.createElement(Wi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),key:"community-"+n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug)},w.default.createElement(co,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},w.default.createElement(so,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Ki,null,e.title)))}))):w.default.createElement(po,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},w.default.createElement(uo,null),w.default.createElement(mo,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(wo,null,o?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(lo,null)):a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-community wrapper-menu-community-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn/community/".concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},href:"".concat(u,"/").concat(e.communitySlug),key:e.title},w.default.createElement(co,{onClick:c},w.default.createElement(so,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},w.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},_o=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.locale,i=e.communities,o=e.type,l=e.onSelectCommunity,r=e.onClosePopup,s=e.isLoading,d=e.basePath,c=e.TOGETHER_URL_FE,p=e.siteType,u=void 0===p?"helloSites":p,m=e.isMobile,h=e.desktopPopupType,g=e.togetherApiDomain;return"helloSites"===u?w.default.createElement(ro,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,siteType:u,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r}):w.default.createElement(ko,{isDisplayed:t,locale:a,TOGETHER_URL_FE:c,basePath:d,type:o,onSelectCommunity:l,communities:i,isLoading:s,isMobile:m,togetherApiDomain:g,desktopPopupType:h,onClosePopup:r})},Co=k.default.div(jo||(jo=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),To=k.default.div(Do||(Do=e.__makeTemplateObject(["\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"]))),Lo=k.default.div(Ho||(Ho=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fwBold})),Oo=k.default.div(zo||(zo=e.__makeTemplateObject([""],[""]))),So=k.default.div(Uo||(Uo=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Io=k.default.div(Fo||(Fo=e.__makeTemplateObject(["\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"])),G),Ao=k.default.div(Go||(Go=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Mo=k.default.div(Yo||(Yo=e.__makeTemplateObject(["\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"]))),No=k.default.div(Vo||(Vo=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),Po=k.default.div(Qo||(Qo=e.__makeTemplateObject(["\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(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Ro=k.default.div(Zo||(Zo=e.__makeTemplateObject(["\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"]))),Bo=k.default.div(Wo||(Wo=e.__makeTemplateObject(["\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"])));k.default.div(qo||(qo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko,Xo,$o=k.default.div(Ko||(Ko=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Jo=k.default.div(Xo||(Xo=e.__makeTemplateObject(["\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"]))),el=function(){return w.default.createElement(Co,{style:{marginTop:"16px"}},w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})),w.default.createElement("div",null,w.default.createElement(C.default,{height:46})))},nl=function(e){var n=e.healthTools,t=e.onSelectHealthTool,a=e.basePath,i=e.isDesktop,o=e.onClosePopup,l=e.HEALTH_TOOL_URL_FE,r=e.locale,s=e.isGrouped;return(null==n?void 0:n.length)?i?w.default.createElement(w.default.Fragment,null,n.map((function(e,n){return w.default.createElement(No,{"data-grouped":s,key:e.title,onClick:o},w.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[r]).concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:e.link.startsWith("http")?e.link:"".concat(l).concat(e.link)},w.default.createElement("div",{style:{display:"flex"}},w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),w.default.createElement("p",null,e.title)))}))):w.default.createElement(w.default.Fragment,null,n.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n},w.default.createElement(Lo,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(T[r]).concat(e.link)},w.default.createElement(So,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),w.default.createElement(Oo,null,e.title)))}))):null},tl=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,r=e.healthToolsByCategory,d=e.onSelectHealthTool,c=e.isLoading,p=e.basePath,u=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,b=ie();return h?w.default.createElement(w.default.Fragment,null,c&&o?w.default.createElement(To,null,w.default.createElement(el,null)):w.default.createElement(To,{"data-category-list-type":"main","data-is-displayed":o},(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&w.default.createElement(w.default.Fragment,{key:"category-health-tool-".concat(n)},w.default.createElement(m.Heading,{tag:"h4",fontWeight:"bold",className:"title"},w.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),w.default.createElement(nl,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}))})):w.default.createElement(nl,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u}),w.default.createElement($o,null,w.default.createElement("a",{href:"".concat(x).concat((null===(n=y[u])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},w.default.createElement(Po,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[u])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),w.default.createElement(Ro,null,w.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))))):w.default.createElement(Io,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},w.default.createElement(Ao,null,w.default.createElement(s.Container,{style:{padding:"0 16px"}},w.default.createElement(Mo,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},w.default.createElement(w.default.Fragment,null,(null==r?void 0:r.length)?r.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&w.default.createElement(Jo,{key:"health-tools-categories-".concat(n)},w.default.createElement(m.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},w.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),w.default.createElement(nl,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):w.default.createElement(nl,{healthTools:l,onSelectHealthTool:d,basePath:p,HEALTH_TOOL_URL_FE:x,locale:u,isDesktop:!0,onClosePopup:g}),w.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[u])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},w.default.createElement(Po,{onClick:g,key:"all-health-tools","data-theme":v,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(i=y[u])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},b("home.navigator.menuItem.allHealthTools"),w.default.createElement(Ro,null,w.default.createElement("img",{src:"".concat(p,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:b("home.navigator.menuItem.allHealthTools")}))))),w.default.createElement(Bo,{onClick:g},w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},al=k.default.div(sl||(sl=e.__makeTemplateObject(["\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(e){return e.theme.mbColors.lightGray})),il=k.default.div(dl||(dl=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),(function(e){return e.theme.sizes.fsParagraph4})),ol=k.default.div(cl||(cl=e.__makeTemplateObject(["\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"])),G),ll=k.default.div(pl||(pl=e.__makeTemplateObject(["\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"]))),rl=k.default.div(ul||(ul=e.__makeTemplateObject(["\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"])),Y,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));k.default.div(ml||(ml=e.__makeTemplateObject(["\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 sl,dl,cl,pl,ul,ml,hl,gl,fl=k.default.div(hl||(hl=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));k.default.div(gl||(gl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase}));var xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl,Ll,Ol=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.onSelectHealthTool,o=e.isLoading,l=e.basePath,r=e.isMobile,s=e.onClosePopup,c=e.HEALTH_TOOL_URL_FE,p=e.desktopPopupType;return r?o&&t?w.default.createElement(To,null,w.default.createElement(el,null)):w.default.createElement(To,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return w.default.createElement("a",{key:"tool-"+n,className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://https://marrybaby.vn".concat(e.link)},w.default.createElement(il,{onClick:function(){i(e)}},w.default.createElement(al,null,w.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),w.default.createElement(Oo,null,e.title)))}))):w.default.createElement(ol,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},w.default.createElement(ll,null),w.default.createElement(rl,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},w.default.createElement(fl,null,o?w.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},w.default.createElement(el,null)):a.map((function(e,n){return w.default.createElement("a",{className:"wrapper-menu-health-tool wrapper-menu-health-tool-".concat(n," iconMenu"),"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://marrybaby.vn".concat(e.link),style:{textDecoration:"none",color:d.theme.colors.gray800},href:e.link.startsWith("http")?e.link:"".concat(c).concat(e.link),key:e.title,onClick:function(e){e.stopPropagation()}},w.default.createElement(il,{onClick:s},w.default.createElement(al,null,w.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),w.default.createElement(Yt,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Sl=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.healthTools,i=e.healthToolsByCategory,o=e.onSelectHealthTool,l=e.isLoading,r=e.basePath,s=e.locale,d=e.isMobile,c=e.onClosePopup,p=e.desktopPopupType,u=e.HEALTH_TOOL_URL_FE,m=e.siteType,h=e.discoverApiDomain,g=e.STATIC_PAGES;return"helloSites"===m?w.default.createElement(tl,{isDisplayed:t,locale:s,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a,healthToolsByCategory:i,isLoading:l,isMobile:d,siteType:m,desktopPopupType:p,onClosePopup:c,STATIC_PAGES:g}):w.default.createElement(Ol,{isDisplayed:t,basePath:r,discoverApiDomain:h,HEALTH_TOOL_URL_FE:u,onSelectHealthTool:o,healthTools:a||i.reduce((function(e,n){return e.concat(n.healthTools)}),[]),isLoading:l,isMobile:d,desktopPopupType:p,onClosePopup:c})},Il=k.default.div(xl||(xl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Al=k.default.div(yl||(yl=e.__makeTemplateObject(["\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(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.white})),Ml=function(){return w.default.createElement(w.default.Fragment,null,w.default.createElement(Il,null,w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109})),w.default.createElement("div",null,w.default.createElement(C.default,{height:109}))))},Nl=function(e){var n=e.specialty,t=e.id,a=e.isActive,i=void 0!==a&&a,o=e.position,l=e.className,r=e.onClick;return n.name&&""!==n.name?w.default.createElement(Al,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},w.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),w.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):w.default.createElement(Ml,null)},Pl=function(e){var n=e.selectedMenuMainItem,t=e.spotlightsList,a=e.locale,i=e.basePath,o=e.callApiHandler,l=e.discoverApiDomain,s=e.DISCOVER_URL_FE,d=e.MARRY_BABY_FE,c=e.onSelectCategory,p=e.isMobile,u=e.siteType,m=e.onCategoryClick,h=ie(),g=n.childCates,f=n.categoryName;return w.default.createElement(qn,{"data-type":"sub-level","data-with-search-input":!1},w.default.createElement(Xn,null,w.default.createElement(Qi,{isDisplayed:!0,locale:a,basePath:i,callApiHandler:o,discoverApiDomain:l,DISCOVER_URL_FE:s,MARRY_BABY_FE:d,categories:g||[],spotlightsList:t,type:"sub",onSelectCategory:c,isMobile:p,siteType:u,desktopPopupType:"none",isLoading:!1,onClosePopup:void 0}),w.default.createElement(Wn,{"data-site-type":u},w.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},w.default.createElement(et,null,w.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?w.default.createElement("img",{src:K,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):w.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Rl=function(t){var a=t.selectedMenuMainItem,i=t.onCommunityClick,o=t.onSelectCommunity,l=t.basePath,s=void 0===l?"":l,d=t.callApiHandler,c=t.togetherApiDomain,p=t.locale,u=t.TOGETHER_URL_FE,m=t.siteType,h=t.isMobile,g=ie(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),b=v[0],E=v[1],k=a.communityId,C=a.title;return n.useEffect((function(){E(!0),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o;return e.__generator(this,(function(l){switch(l.label){case 0:return[4,d("helloSites"===m?fe(p,c,{communityId:k}):(r=c,s={communityId:k},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(M,e.__assign(e.__assign({},s),{websiteUrl:"https://marrybaby.vn"}))),"GET")];case 1:return null!==(n=l.sent())&&(null===(o=null===(i=null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||void 0===i?void 0:i.topics)||void 0===o?void 0:o.length)>0&&(t=n.data.data.topics.map(le),y(t)),E(!1),[2]}var r,s}))}))}),[a]),w.default.createElement(qn,{"data-type":"sub-level","data-with-search-input":!1},w.default.createElement(Xn,null,w.default.createElement(_o,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:b,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),w.default.createElement(Wn,null,w.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},w.default.createElement(et,null,w.default.createElement("div",null,g("home.menu.category.view",{category:C})),w.default.createElement("img",{src:K,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Bl={categories:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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:d.theme.mbColors.lightPink},healthTools:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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"}),w.default.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"}),w.default.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:d.theme.mbColors.lightOrange},together:{icon:w.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w.default.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"}),w.default.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:d.theme.mbColors.lightBlue}},jl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return w.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},w.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:56,width:56,marginBottom:8,borderRadius:16},onClick:function(){null==s||s(o.id)}},w.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Bl[o.id])||void 0===t?void 0:t.color)&&void 0!==a?a:"white",borderRadius:16},l?{height:56,width:56,boxShadow:"0px 0px 24px rgba(0, 0, 0, 0.08)",border:"4px solid white"}:{})},null===(i=Bl[o.id])||void 0===i?void 0:i.icon)),w.default.createElement(Yt,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?w.default.createElement(At,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):w.default.createElement(At,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},Dl=function(e){var t=e.menuItems,a=e.activeItem,i=e.onServiceClicked,o=n.useState(0),l=o[0],r=o[1],s=n.useRef(!0);return w.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return w.default.createElement(jl,{onServiceClicked:function(e){s.current=l<n,r(n),null==i||i(e)},key:"item"+n,item:e,isGoingForward:s.current,isActive:a.id===e.id})})))},Hl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,r=e.categories,c=e.healthTools,p=e.healthToolsByCategory,u=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,b=e.footer,E=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,C=k.DISCOVER_URL_FE,T=e.together,O=T.togetherApiDomain,S=T.TOGETHER_URL_FE,I=e.sso.SSO_URL,A=e.statics,M=A.MARRY_BABY_FE,N=A.HOME_PAGE_URL,P=A.STATIC_PAGES,R=A.HEALTH_TOOL_URL_FE,B=e.marryBaby.tone,j=e.locale,D=e.siteType,H=e.basePath,z=e.callApiHandler,U=e.activeMenuService,F=e.menuItems,G=e.routerAsPath,Y=ie(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(r),q=W[0],K=W[1],X=n.useState(void 0),$=X[0],J=X[1],ee=n.useState(void 0),ne=ee[0],te=ee[1],ae=n.useState(!1),oe=ae[0],le=ae[1],re=n.useState(null==F?void 0:F.find((function(e){return e.id===U}))),se=re[0],de=re[1],ce=n.useState(!1),pe=ce[0],ue=ce[1],me=n.useState(!1),he=me[0],ge=me[1],fe=function(){$&&(window.location.href=$.permalink),ke(),f&&f()},ye=function(){$&&(window.location.href="".concat(S,"/").concat($.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),J(e)):(window.location.href="helloSites"===D?C+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),J(n)):(window.location.href="".concat(S,"/").concat(n.communitySlug),ke(),f&&f())},Ee=function(e){window.location.href=e.link.startsWith("http")?e.link:R+e.link,ke(),f&&f()},we=function(e){window.location.href=E+xe({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){J(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=L[j||"en-PH"]||{};return n.useEffect((function(){var e;te("categories"===se.id?(null===(e=null==$?void 0:$.childCates)||void 0===e?void 0:e.length)>0&&w.default.createElement(Pl,{selectedMenuMainItem:$,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:fe}):"together"===se.id&&$&&w.default.createElement(Rl,{selectedMenuMainItem:$,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[$,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&ge(!0)}),[o]),n.useEffect((function(){K(r)}),[r]),a?w.default.createElement(w.default.Fragment,null,w.default.createElement(Qn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},w.default.createElement(Zn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},w.default.createElement(rn,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:E},isMobile:a,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==v?void 0:v("categories")},onSearchChange:function(e){le(""!==e),K(e&&""!==e?r.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):r)},isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,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}),w.default.createElement(qn,null,w.default.createElement(Xn,null,w.default.createElement($n,null,w.default.createElement(Jn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?w.default.createElement(w.default.Fragment,null,w.default.createElement(Mt,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},w.default.createElement(s.PureInput,{className:"fake-search-input",name:"search-input-menu-service"+(pe?"":"-temp"),size:"md",placeholder:Y("home.search",{site:Ce?Ce.SITE_NAME:""}),onChange:function(){},type:"search",onFocus:function(e){e.preventDefault()},value:"",displayIcon:w.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},w.default.createElement(Nt,null))})),w.default.createElement(m.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),w.default.createElement(Kn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return w.default.createElement(Nl,{onClick:_e,key:"service-"+n,specialty:e,id:e.id,isActive:e.id===se.id,isMobile:a,position:0===n?"left":n===F.length-1?"right":"center"})})))):w.default.createElement(Dl,{menuItems:F,activeItem:se,onServiceClicked:_e})),w.default.createElement(Qi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),w.default.createElement(Sl,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:c,healthToolsByCategory:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&w.default.createElement(Ga,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:u,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:E}),w.default.createElement(_o,{isDisplayed:"together"===se.id,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,onClosePopup:f,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y})),b)))),Q&&w.default.createElement(Qn,{"data-sub-level-opened":Q||(he?Q:"undefined")},w.default.createElement(Zn,{"data-type":"sub-category","data-is-sub-category-opened":Q},w.default.createElement(rn,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:C,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:E},isMobile:a,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===se.id?null==$?void 0:$.categoryName:null==$?void 0:$.title,isSearchBarDisplay:!1,basePath:H,isAmp:!1,isInit:!1,isStatic:!1,routerAsPath:G,currentPopupType:"none",marryBaby:{tone:B},menu:void 0,openPopup:void 0,profileMenu:void 0,userInfo:void 0,onSearchKeyPress:void 0,onTopBarAppears:void 0,onMenuClick:ke,onSearchChange:void 0}),ne))):w.default.createElement(w.default.Fragment,null,w.default.createElement(Qi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:C,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),w.default.createElement(Sl,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:p,healthTools:c,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),w.default.createElement(_o,{isDisplayed:"communities"===y,locale:j,TOGETHER_URL_FE:S,basePath:H,type:"main",onSelectCommunity:be,communities:h,isLoading:!1,isMobile:a,siteType:D,togetherApiDomain:O,desktopPopupType:y,onClosePopup:f}),"care"===y&&w.default.createElement(Ga,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:u,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:E,onClosePopup:f}))},zl=k.default.div(vl||(vl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Ul=k.default.div(bl||(bl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return"marryBaby"===e.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 ":""})),Fl=function(t){var a=t.callPostLogOutApi,i=t.openLogoutPopup,o=t.onCloseHandler,s=t.onLogoutHandler,d=t.basePath,c=t.siteType,p=void 0===c?"helloSites":c,u=ie();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return w.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:w.default.createElement("img",{src:X,style:{width:24,height:24},alt:"close-icon"}),onClose:o},w.default.createElement(zl,null,"helloSites"===p&&w.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),w.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),w.default.createElement("p",null,u("logout.popup.ask2")),w.default.createElement(Ul,{siteType:p},w.default.createElement(r.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:function(){e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,null==a?void 0:a()];case 1:return e.sent(),null==s||s(),window.location.reload(),[2]}}))}))}},u("logout.popup.button.logout")),w.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Gl=k.default.div(El||(El=e.__makeTemplateObject(["\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(e){return e.theme.colors.white}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Yl=k.default.div(wl||(wl=e.__makeTemplateObject(["\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"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Vl=function(e){var n=e.type,t=void 0===n?"lead":n,a=e.closeIcon,i=e.isOpen,o=void 0===i||i,l=e.onClose,r=e.children,s=e.enableAnimation,d=void 0===s||s,c=e.targetAvatar,p=e.id,u=e.className;return w.default.createElement(w.default.Fragment,null,w.default.createElement(Gl,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},w.default.createElement("div",{className:"popup-content"},!!a&&w.default.createElement("div",{className:"close-button",onClick:l},a),r)),w.default.createElement(Yl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Ql=function(e){var n=e.SSO_URL,a=e.UP_BASEPATH,i=e.isOpen,o=e.locale,l=e.targetAvatar,r=e.userInfo,s=e.ENABLE_CARE_PROFILE_MENU_LOCALES,d=e.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,c=e.closePopup,p=e.siteType,u=void 0===p?"helloSites":p,m=e.dispatchLogout,h=e.userProfileRouterPush,g=e.isUserProfileNavigatorMenuHidden,f=e.isMyHealthEnabled,y=void 0!==f&&f,v=e.togetherApiDomain,b=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},E=function(e){b(e),c()};return w.default.createElement(Vl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},w.default.createElement(x.TranslationsProvider,{locale:o},w.default.createElement(t.UserProfileNavigation,{SSO_URL:n,UP_BASEPATH:a,themeName:u,userInfo:r,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:d,ENABLE_CARE_PROFILE_MENU_LOCALES:s,onClickLogout:function(){m&&(m(),c())},onClickMenuItem:E,onClickNavigationCard:E,onClickMyProfileButton:function(){b("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Zl=k.default.div(kl||(kl=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Wl=k.default.div(_l||(_l=e.__makeTemplateObject([""],[""]))),ql=k.default.div(Cl||(Cl=e.__makeTemplateObject(["\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"]))),Kl=k.default.div(Tl||(Tl=e.__makeTemplateObject(["\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(e){return e.theme.colors.gray100})),Xl=k.default.div(Ll||(Ll=e.__makeTemplateObject(["\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"]))),$l=function(e){var t=e.options,a=e.label,i=e.selected,o=e.onChange,l=e.showSelected,r=void 0===l||l,d=e.style,c=void 0===d?{}:d,p=e.showIndicator,u=void 0===p||p,m=n.useState(!1),h=m[0],g=m[1];return w.default.createElement(w.default.Fragment,null,w.default.createElement(Zl,null,w.default.createElement(Wl,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),w.default.createElement(ql,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return w.default.createElement(Kl,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},w.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&w.default.createElement("img",{src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3346 4L6.0013 11.3333L2.66797 8' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",alt:"check",className:"check-icon"}))})))),h&&w.default.createElement(Xl,{onClick:function(){return g(!1)}}))},Jl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},er=function(a){var i,o=a.siteType,l=a.MetaPageTitle,r=a.MetaPageDescription,s=a.MetaPageImage,d=a.footerInfo,c=a.children,p=a.ssrMenuContent,u=void 0===p?{}:p,m=u.categories,h=void 0===m?[]:m,g=u.healthTools,f=void 0===g?[]:g,x=u.healthToolsByCategory,y=void 0===x?[]:x,v=u.careSpecialties,b=void 0===v?[]:v,E=u.togetherCommunities,k=void 0===E?[]:E,C=u.spotlightsList,S=void 0===C?[]:C,M=a.SEOData,N=void 0===M?{}:M,P=a.UP_BASEPATH,R=void 0===P?I:P,B=a.isStatic,j=void 0!==B&&B,z=a.seoType,U=void 0===z?"website":z,F=a.isMobile,G=a.isMyHealthEnabled,Y=void 0!==G&&G,V=a.logoutHandlers,Q=V.isLogoutPopupOpened,Z=V.callPostLogOutApi,W=V.onClosePopup,K=V.onLogout,X=a.marryBaby,$=void 0===X?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:X,J=$.tone,ee=void 0===J?"white":J,ne=$.marryBabyApiDomain,te=$.socialLinks,ae=void 0===te?{}:te,le=ae.facebookLink,fe=void 0===le?"":le,xe=ae.instagramLink,be=void 0===xe?"":xe,Ee=ae.linkedinLink,we=void 0===Ee?"":Ee,ke=ae.twitterLink,_e=void 0===ke?"":ke,Ce=ae.youtubeLink,Te=void 0===Ce?"":Ce,Le=ae.zaloLink,Oe=void 0===Le?"":Le,Se=a.statics,Ie=void 0===Se?{LOCALE_SPECS:L,STATIC_PAGES:O}:Se,Ae=Ie.DISCOVER_URL_FE,Me=Ie.TOGETHER_URL_FE,Ne=Ie.MARRY_BABY_FE,Pe=Ie.HOME_PAGE_URL,Re=Ie.HEALTH_TOOL_URL_FE,Be=Ie.CARE_URL_FE,je=Ie.LOCALE_SPECS,De=void 0===je?L:je,He=Ie.STATIC_PAGES,ze=void 0===He?O:He,Ue=a.sso,Fe=void 0===Ue?{}:Ue,Ge=Fe.dispatchLogout,Ye=Fe.SSO_URL,Ve=a.together,Qe=void 0===Ve?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ve,Ze=Qe.TOGETHER_MENU_COUNTRIES_ENABLED,We=Qe.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,qe=Qe.togetherApiDomain,Ke=a.care,Xe=void 0===Ke?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:Ke,$e=Xe.CARE_MENU_COUNTRIES_ENABLED,Je=Xe.ENABLE_CARE_PROFILE_MENU_LOCALES,en=Xe.careApiDomain,nn=a.discover,tn=(void 0===nn?{discoverApiDomain:""}:nn).discoverApiDomain,an=a.activeMenuService,on=void 0===an?"categories":an,ln=a.basePath,sn=a.isAmp,dn=void 0!==sn&&sn,cn=a.nextHead,pn=a.routerPathname,un=a.routerQuery,mn=a.routerAsPath,hn=a.locale,gn=a.userState,fn=a.callApiHandler,xn=a.userProfileRouterPush,yn=a.onTopBarAppears,vn=a.forcedCanonicalUrl,bn=a.isUserProfileNavigatorMenuHidden,En=a.sitewideBanner,wn=a.sitewideBannerShown,kn=void 0===wn||wn,_n=a.sponsorComponent,Cn=a.languageOptions,Tn=a.isSearchBarDisplay,Ln=a.ampSubBar,On=a.isSearchIconDisplayed,Sn=void 0===On||On,In=a.enabledExperimentalCareHeader,An=void 0!==In&&In,Mn=a.onCareHeaderClick,Nn=a.dueDatePopup,Pn=a.welcomePopup,Rn=a.ampNextArticle,Bn=a.usingDefaultHead,jn=void 0===Bn||Bn,Dn=a.acceptCookiePopup,Hn=a.seoCustom,zn=a.hasStickyBottomBar,Un=void 0===zn||zn,Fn="boolean"==typeof Tn?Tn:!F,Gn=ie(),Yn=De[hn||"en-PH"]||{},Vn=n.useMemo((function(){var e;return(null===(e=mn.split("?"))||void 0===e?void 0:e[0])||""}),[mn]),Qn=n.useMemo((function(){return"".concat(ln).concat("/"===Vn.slice(-1)?Vn:"".concat(Vn,"/"))}),[Vn]),Zn=n.useMemo((function(){return(null==Cn?void 0:Cn.find((function(e){return e.value!==Qn})))||null}),[Cn,Qn]),Wn=n.useState(d),qn=Wn[0],Kn=Wn[1],Xn=n.useState(h),$n=Xn[0],Jn=Xn[1],et=n.useState(f),nt=et[0],tt=et[1],at=n.useState(y),it=at[0],ot=at[1],lt=n.useState(b),rt=lt[0],st=lt[1],dt=n.useState(k),ct=dt[0],pt=dt[1],ut=n.useState(S),mt=ut[0],ht=ut[1],gt=Ae||"https://".concat(T[hn])||"",ft="undefined"!=typeof window,xt=ft&&document.querySelector("#categories-menu"),yt=xt&&ft&&window.getComputedStyle(xt),vt=yt&&yt.getPropertyValue("left"),bt=n.useRef("0px"===vt),Et=n.useState(bt.current),wt=Et[0],kt=Et[1],_t=Jl(".top-menu-categories"),Ct=Jl(".top-menu-health-tools"),Tt=Jl(".top-menu-communities"),Lt=Jl(".top-menu-care-specialties"),Ot=n.useState(_t&&"none"!==_t?"categories":Ct&&"none"!==Ct?"tools":Tt&&"none"!==Tt?"communities":Lt&&"none"!==Lt?"care":"none"),St=Ot[0],It=Ot[1],At=n.useMemo((function(){var e,n;return w.default.createElement(Oa,null,null===(n=null===(e=hn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),w.default.createElement("img",{src:"language"===St?"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:Gn("home.navigator.menuItem.language")}))}),[St,hn]),Mt=gn.userInfo,Nt=gn.isLoggedIn,Pt=function(e){St!==e&&(It(e),kt(!0)),St===e&&(It("none"),kt(!1))},Rt=function(){kt(!1),It("none")},jt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Pe,"/search/?s=").concat(n))},Dt=null===(i=null==De?void 0:De[hn])||void 0===i?void 0:i.SITE_NAME_FORMATTED,Ht=[{name:Gn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:t.img$2,isDisplayed:!0},{name:Gn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:t.img$3,isDisplayed:!0}];(null==Ze?void 0:Ze.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloTogether"),id:"together",link:Me+"/",thumbnail:t.img$5,isDisplayed:!0}),(null==$e?void 0:$e.includes(hn))&&Ht.push({name:Gn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:t.img$4,isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=wt?"hidden":""}),[wt]);var zt=!!_n;n.useEffect((function(){Nt&&("first_login"===(null==un?void 0:un.source)?(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,sign_up:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:(null==Mt?void 0:Mt.email)&&""!==(null==Mt?void 0:Mt.email)?window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,email:null==Mt?void 0:Mt.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}:window.insider_object={user:e.__assign({uuid:null==Mt?void 0:Mt.id,log_in:!0},(null==Mt?void 0:Mt.name)?{name:null==Mt?void 0:Mt.name}:{})}),e.__awaiter(void 0,void 0,void 0,(function(){var n,t;return e.__generator(this,(function(a){switch(a.label){case 0:return qn?[3,3]:[4,fetch("helloSites"===o?he(hn,tn):(i=ne,(i||"https://staging.marrybaby.vn/")+"wp-json/api/"+_.default(D,e.__assign({},l))))];case 1:return[4,a.sent().json()];case 2:return t=a.sent(),[3,4];case 3:t=null,a.label=4;case 4:return(n=t)&&1===n.status&&n.data&&!qn&&Kn("helloSites"===o?n.data||{}:n.data.footers||[]),[2]}var i,l}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l;return e.__generator(this,(function(e){switch(e.label){case 0:return h&&0!==(null==h?void 0:h.length)||0!==(null==$n?void 0:$n.length)?[3,3]:(o={},[4,fetch(pe(hn,tn))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(l=t.data)||void 0===l?void 0:l.length)>0&&(i=t.data.map(re),0===$n.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return S&&0!==(null==S?void 0:S.length)||"helloSites"!==o||0!==(null==mt?void 0:mt.length)?[3,3]:(l={},[4,fetch(me(hn,tn,{perPage:100,orderBy:"start_date"}))]);case 1:return[4,e.sent().json()];case 2:return l.response=e.sent(),a=l,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,1===(null==(t=void 0===n?{}:n)?void 0:t.status)&&(null===(s=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.articles)||void 0===s?void 0:s.length)>0&&(i=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(ye).filter(ve).slice(0,4),0===mt.length&&ht(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==f?void 0:f.length)||(null==nt?void 0:nt.length)||(null==y?void 0:y.length)||(null==y?void 0:y.length)?[3,6]:(r={},"helloSites"!==o?[3,2]:[4,fetch(ue(hn,tn))]);case 1:return i=d.sent(),[3,4];case 2:return[4,fetch((c=ne,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+_.default(H,e.__assign({},p))))];case 3:i=d.sent(),d.label=4;case 4:return[4,i.json()];case 5:return r.response=d.sent(),a=r,[3,7];case 6:a={},d.label=7;case 7:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t.status&&(null===(s=t.data)||void 0===s?void 0:s.length)>0&&("helloSites"===o?(l=t.data.map(de),0===nt.length&&ot(l)):(l=t.data.map(se),0===nt.length&&tt(l))),[2]}var c,p}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,o,l,r;return e.__generator(this,(function(e){switch(e.label){case 0:return b&&0!==(null==b?void 0:b.length)||!$e.includes(hn)||0!==(null==rt?void 0:rt.length)?[3,3]:(o={},[4,fetch(ce(hn,en))]);case 1:return[4,e.sent().json()];case 2:return o.response=e.sent(),a=o,[3,4];case 3:a={},e.label=4;case 4:return n=a.response,null!==(t=void 0===n?{}:n)&&1===t._status&&(null===(r=null===(l=t._data)||void 0===l?void 0:l.specialties)||void 0===r?void 0:r.length)>0&&(i=t._data.specialties,0===rt.length&&st(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,i,l,r,s,d,c;return e.__generator(this,(function(p){switch(p.label){case 0:return k&&0!==(null==k?void 0:k.length)||!Ze.includes(hn)||0!==(null==ct?void 0:ct.length)?[3,3]:(l={},[4,fetch("helloSites"===o?ge(hn,qe):(u=qe,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+_.default(A,e.__assign(e.__assign({},m),{websiteUrl:"https://marrybaby.vn"}))))]);case 1:return[4,p.sent().json()];case 2:return l.response=p.sent(),a=l,[3,4];case 3:a={},p.label=4;case 4:return n=a.response,(null===(s=null===(r=null==(t=void 0===n?{}:n)?void 0:t.data)||void 0===r?void 0:r.communities)||void 0===s?void 0:s.length)>0&&(i=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(oe))||[],0===ct.length&&pt(i)),[2]}var u,m}))}))}),[]);var Ut=w.default.createElement(Ql,{locale:hn,UP_BASEPATH:R,SSO_URL:Ye,userProfileRouterPush:xn,dispatchLogout:Ge,isOpen:"profile"===St,isMyHealthEnabled:Y,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,closePopup:Rt,userInfo:Mt,siteType:o,isUserProfileNavigatorMenuHidden:bn,togetherApiDomain:qe}),Ft=dn&&{"next-page-hide":""};return w.default.createElement(q,{SEOData:e.__assign({SEOTitle:l,SEOImage:s,SEODescription:r,siteName:Dt,seoType:U},N),isAmp:dn,locale:hn,routerPathname:pn,routerQuery:un,nextHead:cn,siteType:o,forcedCanonicalUrl:vn,userId:null==Mt?void 0:Mt.id,usingDefaultHead:jn,seoCustom:Hn},w.default.createElement(Fl,{basePath:ln,callPostLogOutApi:Z,openLogoutPopup:Q,onCloseHandler:W,onLogoutHandler:K,siteType:o}),Nn,Pn,Dn,F?w.default.createElement(w.default.Fragment,null,w.default.createElement(Ca,null,w.default.createElement("section",e.__assign({className:dn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ft),w.default.createElement(rn,{siteType:o,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},marryBaby:{tone:ee},menuItems:Ht,menu:dn?void 0:w.default.createElement(Hl,{key:"mobile-menu-popup",menuItems:Ht,siteType:o,isMobileMenuOpened:"categories"===St,categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,onMobileMenuClick:Pt,isMobile:F,closePopup:Rt,footer:w.default.createElement(_a,{locale:hn,isMobile:F,basePath:ln,isAmp:dn,footerInfo:qn,type:"mini",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}}),locale:hn,callApiHandler:fn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe||ne,TOGETHER_URL_FE:Me},care:{CARE_MENU_COUNTRIES_ENABLED:$e,careApiDomain:en,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},activeMenuService:on,statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},marryBaby:{tone:ee},routerAsPath:mn,popupType:"none",sso:{SSO_URL:Ye}}),profileMenu:Ut,type:"home",currentPopupType:St,isMobile:F,isLoginButtonDisplayed:!0,onMenuClick:Pt,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){yn&&yn(e)},isSearchBarDisplay:Fn,onSearchKeyPress:jt,isStatic:dn||j,sponsorComponent:_n,locale:hn,userInfo:gn.userInfo,basePath:ln,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:mn,title:"",sitewideBanner:En,sitewideBannerShown:kn,isSearchIconDisplayed:Sn,enabledExperimentalCareHeader:An,languageMenu:void 0!==Cn&&Cn.length>1?w.default.createElement(w.default.Fragment,null,2===Cn.length&&Zn?w.default.createElement(Sa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):w.default.createElement($l,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Ln&&w.default.createElement(w.default.Fragment,null,Ln)),dn?w.default.createElement(La,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En},c,w.default.createElement(_a,{isAmp:dn,isMobile:F,locale:hn,basePath:ln,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})):w.default.createElement(Ta,{className:"root-container","data-menu-opened":bt.current,"data-sponsored":zt,"data-is-mobile":F,"data-sitewide":!!En,hasStickyBottomBar:Un},w.default.createElement(w.default.Fragment,null,c,w.default.createElement(_a,{isAmp:dn,isMobile:F,locale:hn,basePath:ln,footerInfo:qn,type:"main",siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe},ampNextArticle:Rn,routerQuery:un})))),dn&&w.default.createElement(Bt,{locale:hn,categoriesSSR:h,healthToolsSSR:y,spotlightsSSR:S,serviceUrls:{TOGETHER_URL_FE:Me,CARE_URL_FE:Be,DISCOVER_URL_FE:gt},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:We,togetherApiDomain:qe},care:{CARE_MENU_COUNTRIES_ENABLED:$e,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:en},basePath:ln,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"})})):w.default.createElement(w.default.Fragment,null,w.default.createElement(rn,{siteType:o,menuItems:Ht,marryBaby:{tone:ee},locale:hn,currentPopupType:St,onSearchKeyPress:jt,openPopup:function(e){St!==e&&It(e),St===e&&It("none")},isMobile:F,isLoginButtonDisplayed:!0,isSearchBarDisplay:!dn&&Fn,searchPlaceholder:Gn("home.search",{site:"helloSites"===o?null==Yn?void 0:Yn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:kn,statics:{DISCOVER_URL_FE:gt,SSO_URL:Ye,HOME_PAGE_URL:Pe,MARRY_BABY_FE:Ne,CARE_URL_FE:Be},menu:w.default.createElement(Hl,{menuItems:Ht,siteType:o,isMobile:F,popupType:St,closePopup:function(){It("none")},categories:$n,healthTools:nt,healthToolsByCategory:it,careSpecialties:rt,togetherCommunities:ct,spotlightsList:mt,locale:hn,callApiHandler:fn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Ze,togetherApiDomain:qe,TOGETHER_URL_FE:Me},care:{careApiDomain:en,CARE_MENU_COUNTRIES_ENABLED:$e,CARE_URL_FE:Be},discover:{discoverApiDomain:tn,DISCOVER_URL_FE:gt},statics:{DISCOVER_URL_FE:gt,HOME_PAGE_URL:Pe,HEALTH_TOOL_URL_FE:Re,MARRY_BABY_FE:Ne,TOGETHER_URL_FE:Me,STATIC_PAGES:ze},activeMenuService:on,marryBaby:{tone:ee},routerAsPath:mn,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ye},onMobileMenuClick:void 0}),profileMenu:Ut,userInfo:gn.userInfo,sponsorComponent:_n,type:"home",basePath:ln,isAmp:dn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:mn,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:En,languageMenu:void 0!==Cn&&Cn.length>1?w.default.createElement(w.default.Fragment,null,2===Cn.length&&Zn?w.default.createElement(Sa,{"data-is-active":!0,href:(null==Zn?void 0:Zn.value)||"#"},null==Zn?void 0:Zn.label):w.default.createElement($l,{options:Cn,selected:Qn,label:At,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:An,onCareHeaderClick:Mn}),dn?w.default.createElement(La,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En},c):w.default.createElement(Ta,{className:"root-container","data-menu-opened":wt,"data-is-mobile":F,"data-sponsored":zt,"data-sitewide":!!En,hasStickyBottomBar:Un},c),w.default.createElement(_a,{type:"main",locale:hn,basePath:ln,isMobile:F,isAmp:dn,footerInfo:qn,siteType:o,marryBabySocialLinks:{facebookLink:fe,instagramLink:be,linkedinLink:we,twitterLink:_e,youtubeLink:Te,zaloLink:Oe}})))};exports.Layout=q,exports.NavigationBar=rn,exports.NavigationLayout=function(n){return w.default.createElement(ae.Provider,{value:{translation:n.translation||te}},w.default.createElement(er,e.__assign({},n)))},exports.SiteWide=function(t){var o=t.icon,l=t.content,r=t.isCollapsed,s=t.isMobile,d=t.type,c=t.onClose,p=t.setBannerClosed,u=t.dispatch,m=t.dispatchActionType,h=t.cookieName,g=t._overrideCloseHandler,f=t.isAmp,x=t.siteType,y=t.dataEventCategory,v=void 0===y?"Header Banner":y,b=t.dataEventAction,E=void 0===b?"Close Click":b,k=t.dataEventLabel,_=void 0===k?"":k,C=t.dataTracking,T=void 0===C?"true":C,L=n.useState(!1),O=L[0],S=L[1],I=n.useState(!1),A=I[0],M=I[1],N=l;f&&(N=N.replace("data-event","data-vars-event").replace('data-vars-event-category="'.concat(v,'"'),'data-vars-event-category="'.concat(v,'" data-vars-tracking="').concat(T,'"')));var P=n.useRef(64);n.useEffect((function(){var e=a.throttle((function(){window.scrollY<P.current?M(!1):window.scrollY>64&&M(!0),P.current=window.scrollY}),300);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);var R="marryBaby"===x,B=R?X:"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 n.useEffect((function(){p&&p(O||r||A)}),[p,O,r,A]),w.default.createElement(J,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?w.default.createElement(ee,{"data-is-marrybaby":R},f?w.default.createElement("amp-img",{src:o,width:"76",height:"52"}):w.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?w.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,w.default.createElement(ne,e.__assign({role:"button",tabIndex:0},{on:'tap:sitewide-container.hide(),site-header.toggleClass(class="amp-closed")'},{"data-is-marrybaby":R,"data-vars-event-category":v,"data-vars-event-action":E,"data-vars-event-label":_||"","data-vars-tracking":T||"",className:"amp-close-banner",onClick:function(){S(!0),g?g():(c&&c(),h&&i.setCookie(h,"true"),d&&u&&u({type:m,payload:{type:d}}))},"data-is-mobile":s}),f?w.default.createElement("amp-img",{src:B,width:"24",height:"24"}):w.default.createElement("img",{src:B,className:"close-icon"})))},exports.StickySponsoredBy=function(e){var t=e.className,a=e.isMobile,i=e.isCollapsed,o=e.sponsoredType,l=e.sponsoredBy,r=e.isAmp,d=e.locale,c=ie(),p=n.useState(!1),u=p[0],m=p[1];return w.default.createElement(Ln,{className:t,onClick:function(){return m(!0)},"data-show-popup":u&&(!a||!i)&&!r,"data-align-left":l&&!!(null==l?void 0:l.logo),"data-is-amp":r||void 0},w.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?w.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},w.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?w.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:$}):w.default.createElement("img",{src:$,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?w.default.createElement(w.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",w.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):w.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),w.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?w.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:$,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):w.default.createElement("img",{src:$,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:w.default.createElement(Sn,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=te;