@hhgtech/hhg-components 1.21.0-beta-16 → 1.21.0

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 (231) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  3. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  4. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  5. package/build/care.js +1 -1
  6. package/build/components/atoms/heading/index.d.ts +1 -1
  7. package/build/components/atoms/icons/Check.d.ts +4 -0
  8. package/build/components/atoms/icons/Reply.d.ts +4 -0
  9. package/build/components/atoms/icons/UserCheck.d.ts +4 -0
  10. package/build/components/atoms/icons/index.d.ts +3 -0
  11. package/build/{assets/svg → components/atoms/rateStars}/StarEmptyIcon.d.ts +0 -0
  12. package/build/components/atoms/rateStars/StarFullIcon.d.ts +3 -0
  13. package/build/components/atoms/rateStars/StarHalfIcon.d.ts +3 -0
  14. package/build/components/atoms/slider/index.styled.d.ts +1 -1
  15. package/build/components/atoms/text/index.d.ts +2 -1
  16. package/build/components/mantine/carousel/index.d.ts +10 -0
  17. package/build/components/mantine/checkbox/index.d.ts +8 -0
  18. package/build/components/mantine/checkbox/index.styled.d.ts +6 -0
  19. package/build/components/mantine/helpers.d.ts +3 -0
  20. package/build/components/mantine/index.d.ts +14 -0
  21. package/build/components/mantine/input/file.d.ts +5 -0
  22. package/build/components/mantine/input/index.d.ts +19 -0
  23. package/build/components/mantine/input/index.styled.d.ts +7 -0
  24. package/build/components/mantine/input/number.d.ts +8 -0
  25. package/build/components/mantine/input/password.d.ts +8 -0
  26. package/build/components/mantine/loadingOverlay/index.d.ts +5 -0
  27. package/build/components/mantine/radio/index.d.ts +8 -0
  28. package/build/components/mantine/radio/index.styled.d.ts +6 -0
  29. package/build/components/mantine/slider/index.d.ts +8 -0
  30. package/build/components/mantine/slider/index.styled.d.ts +3 -0
  31. package/build/components/mantine/switch/index.d.ts +7 -0
  32. package/build/components/molecules/embeddedHeathToolCards/ovulation.d.ts +16 -0
  33. package/build/components/molecules/index.d.ts +2 -0
  34. package/build/components/molecules/ovulationCalculator/index.d.ts +14 -0
  35. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +12 -0
  36. package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +15 -0
  37. package/build/components/organisms/heroBannerHealthTool/index.d.ts +13 -0
  38. package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +10 -0
  39. package/build/components/organisms/navigationLogoutPopup/index.d.ts +2 -2
  40. package/build/components.js +1 -1
  41. package/build/constants.js +1 -1
  42. package/build/ecom.js +1 -1
  43. package/build/en-PH-7307aee7.js +1 -0
  44. package/build/esm/babyGrowth.js +1 -1
  45. package/build/esm/care.js +1 -1
  46. package/build/esm/components.js +1 -1
  47. package/build/esm/constants.js +1 -1
  48. package/build/esm/ecom.js +1 -1
  49. package/build/esm/en-PH-ca0683d7.js +1 -0
  50. package/build/esm/gAssets.js +1 -1
  51. package/build/esm/getDynamicHealthTool-f43c2db2.js +1 -0
  52. package/build/esm/getSocialList-2f760404.js +1 -0
  53. package/build/esm/hooks.js +1 -1
  54. package/build/esm/i18n.js +1 -1
  55. package/build/esm/index-2cf5cfbc.js +1 -0
  56. package/build/esm/index-3193cb21.js +1 -0
  57. package/build/esm/index-364815d1.js +1 -0
  58. package/build/esm/index-58ae0705.js +1 -0
  59. package/build/esm/{index-b8401631.js → index-642d36c8.js} +1 -1
  60. package/build/esm/index-7a537be1.js +1 -0
  61. package/build/esm/index-93d22d63.js +1 -0
  62. package/build/esm/index-ea02d1db.js +1 -0
  63. package/build/esm/index-f8e043bf.js +1 -0
  64. package/build/esm/index.js +1 -1
  65. package/build/esm/index.styled-d8a819ea.js +1 -0
  66. package/build/esm/index.styled-faeac279.js +1 -0
  67. package/build/esm/mantine.js +1 -1
  68. package/build/esm/misc.js +1 -1
  69. package/build/esm/navigation.js +1 -1
  70. package/build/esm/screenSizeContext-12f741e1.js +1 -0
  71. package/build/esm/together.js +1 -1
  72. package/build/esm/translationsContext-d658f58d.js +1 -0
  73. package/build/esm/translationsProvider-bc47fc67.js +1 -0
  74. package/build/esm/types-39d553b4.js +1 -0
  75. package/build/esm/types-4863c0a8.js +1 -0
  76. package/build/esm/{useHealthToolCache-6668e8c3.js → useHealthToolCache-e4e2778a.js} +1 -1
  77. package/build/esm/useTranslations-ad4d9d26.js +1 -0
  78. package/build/gAssets.js +1 -1
  79. package/build/getDynamicHealthTool-770421bc.js +1 -0
  80. package/build/getSocialList-561c9bda.js +1 -0
  81. package/build/hooks.js +1 -1
  82. package/build/i18n.js +1 -1
  83. package/build/index-06ae8f3a.js +1 -0
  84. package/build/index-14d933b6.js +1 -0
  85. package/build/index-4b470a77.js +1 -0
  86. package/build/index-55767b66.js +1 -0
  87. package/build/{index-af3a78da.js → index-5d420cf1.js} +1 -1
  88. package/build/index-bce6f562.js +1 -0
  89. package/build/index-da0e2c40.js +1 -0
  90. package/build/{index-4888aa12.js → index-eb84390c.js} +1 -1
  91. package/build/index-ef8759f0.js +1 -0
  92. package/build/index.js +1 -1
  93. package/build/index.styled-03c4dedb.js +1 -0
  94. package/build/index.styled-1e5dd97e.js +1 -0
  95. package/build/interfaces/types/index.d.ts +5 -0
  96. package/build/mantine.js +1 -1
  97. package/build/misc.js +1 -1
  98. package/build/navigation.js +1 -1
  99. package/build/{screenSizeContext-6726a3b5.js → screenSizeContext-60cc891b.js} +1 -1
  100. package/build/together/components/atoms/cardReactions/index.d.ts +4 -1
  101. package/build/together/components/atoms/cardReactions/index.styled.d.ts +4 -2
  102. package/build/together/components/molecules/index.d.ts +1 -0
  103. package/build/together/components/molecules/popupFrame/popupShare.d.ts +2 -2
  104. package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +2 -2
  105. package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +2 -2
  106. package/build/together/components/molecules/socialLinkPreview/index.d.ts +2 -1
  107. package/build/together/components/organisms/cardPost/index.d.ts +1 -0
  108. package/build/together.js +1 -1
  109. package/build/translationsContext-2d7ea471.js +1 -0
  110. package/build/translationsProvider-57deb2ca.js +1 -0
  111. package/build/types-422a9b63.js +1 -0
  112. package/build/types-6439cc4a.js +1 -0
  113. package/build/{useHealthToolCache-8a4c6859.js → useHealthToolCache-014adcd3.js} +1 -1
  114. package/build/useTranslations-a5b5c74c.js +1 -0
  115. package/package.json +3 -7
  116. package/build/assets/svg/StarFullIcon.d.ts +0 -3
  117. package/build/assets/svg/StarHalfIcon.d.ts +0 -3
  118. package/build/assets/svg/index.d.ts +0 -21
  119. package/build/components/molecules/embeddedHeathToolCards/image.d.ts +0 -1
  120. package/build/components/organisms/navigationLayout_deprecated/CustomFooter.d.ts +0 -33
  121. package/build/components/organisms/navigationLayout_deprecated/ampSideBar/index.d.ts +0 -28
  122. package/build/components/organisms/navigationLayout_deprecated/ampSideBar/index.styled.d.ts +0 -2
  123. package/build/components/organisms/navigationLayout_deprecated/constants.d.ts +0 -99
  124. package/build/components/organisms/navigationLayout_deprecated/exportLegacy.d.ts +0 -6
  125. package/build/components/organisms/navigationLayout_deprecated/footer/index.d.ts +0 -13
  126. package/build/components/organisms/navigationLayout_deprecated/footer/index.styled.d.ts +0 -2
  127. package/build/components/organisms/navigationLayout_deprecated/index.d.ts +0 -121
  128. package/build/components/organisms/navigationLayout_deprecated/index.styled.d.ts +0 -7
  129. package/build/components/organisms/navigationLayout_deprecated/languageWrapper.d.ts +0 -4
  130. package/build/components/organisms/navigationLayout_deprecated/languages/default.d.ts +0 -4
  131. package/build/components/organisms/navigationLayout_deprecated/layout.d.ts +0 -52
  132. package/build/components/organisms/navigationLayout_deprecated/marryBabyText/index.d.ts +0 -17
  133. package/build/components/organisms/navigationLayout_deprecated/marryBabyText/index.styled.d.ts +0 -8
  134. package/build/components/organisms/navigationLayout_deprecated/maryBabyFooter/index.d.ts +0 -30
  135. package/build/components/organisms/navigationLayout_deprecated/maryBabyFooter/index.styled.d.ts +0 -8
  136. package/build/components/organisms/navigationLayout_deprecated/menuCareList/categorySkeleton.d.ts +0 -3
  137. package/build/components/organisms/navigationLayout_deprecated/menuCareList/index.d.ts +0 -17
  138. package/build/components/organisms/navigationLayout_deprecated/menuCareList/index.styled.d.ts +0 -12
  139. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/categorySkeleton.d.ts +0 -3
  140. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/helloSites.d.ts +0 -20
  141. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/index.d.ts +0 -23
  142. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/index.styled.d.ts +0 -16
  143. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/marryBaby.d.ts +0 -17
  144. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/marryBaby.styled.d.ts +0 -11
  145. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/spotlightsList/index.d.ts +0 -15
  146. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/spotlightsList/index.styled.d.ts +0 -10
  147. package/build/components/organisms/navigationLayout_deprecated/menuCategoriesList/spotlightsList/spotlightSkeleton.d.ts +0 -3
  148. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/categorySkeleton.d.ts +0 -3
  149. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/helloSites.d.ts +0 -23
  150. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/index.d.ts +0 -23
  151. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/index.styled.d.ts +0 -13
  152. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/marryBaby.d.ts +0 -22
  153. package/build/components/organisms/navigationLayout_deprecated/menuCommunitiesList/marryBaby.styled.d.ts +0 -8
  154. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/categorySkeleton.d.ts +0 -3
  155. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/helloSites.d.ts +0 -25
  156. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/index.d.ts +0 -23
  157. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/index.styled.d.ts +0 -15
  158. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/marryBaby.d.ts +0 -16
  159. package/build/components/organisms/navigationLayout_deprecated/menuHealthToolsList/marrybaby.styled.d.ts +0 -8
  160. package/build/components/organisms/navigationLayout_deprecated/menuSectionCard/cardSkeleton.d.ts +0 -3
  161. package/build/components/organisms/navigationLayout_deprecated/menuSectionCard/index.d.ts +0 -13
  162. package/build/components/organisms/navigationLayout_deprecated/menuSectionCard/index.styled.d.ts +0 -2
  163. package/build/components/organisms/navigationLayout_deprecated/menuServiceList/categoriesSubList.d.ts +0 -19
  164. package/build/components/organisms/navigationLayout_deprecated/menuServiceList/communitySubList.d.ts +0 -20
  165. package/build/components/organisms/navigationLayout_deprecated/menuServiceList/index.d.ts +0 -58
  166. package/build/components/organisms/navigationLayout_deprecated/menuServiceList/index.styled.d.ts +0 -28
  167. package/build/components/organisms/navigationLayout_deprecated/menuServiceList/marryBabyMobileMenuSection.d.ts +0 -9
  168. package/build/components/organisms/navigationLayout_deprecated/navigationBar/ArrowLeftPopupIcon.d.ts +0 -2
  169. package/build/components/organisms/navigationLayout_deprecated/navigationBar/ClosePopupIcon.d.ts +0 -2
  170. package/build/components/organisms/navigationLayout_deprecated/navigationBar/HamburgerIcon.d.ts +0 -9
  171. package/build/components/organisms/navigationLayout_deprecated/navigationBar/NavigationBar.types.d.ts +0 -87
  172. package/build/components/organisms/navigationLayout_deprecated/navigationBar/NavigationBarMobile.d.ts +0 -3
  173. package/build/components/organisms/navigationLayout_deprecated/navigationBar/SearchIcon.d.ts +0 -3
  174. package/build/components/organisms/navigationLayout_deprecated/navigationBar/index.d.ts +0 -15
  175. package/build/components/organisms/navigationLayout_deprecated/navigationBar/index.styled.d.ts +0 -26
  176. package/build/components/organisms/navigationLayout_deprecated/navigationLogoutPopup/index.d.ts +0 -11
  177. package/build/components/organisms/navigationLayout_deprecated/navigationLogoutPopup/index.styled.d.ts +0 -6
  178. package/build/components/organisms/navigationLayout_deprecated/profilePopup/index.d.ts +0 -22
  179. package/build/components/organisms/navigationLayout_deprecated/profilePopupWrapper/index.d.ts +0 -14
  180. package/build/components/organisms/navigationLayout_deprecated/profilePopupWrapper/index.styled.d.ts +0 -2
  181. package/build/components/organisms/navigationLayout_deprecated/siteWide/index.d.ts +0 -23
  182. package/build/components/organisms/navigationLayout_deprecated/siteWide/index.styled.d.ts +0 -3
  183. package/build/components/organisms/navigationLayout_deprecated/sponsoredBy/index.d.ts +0 -28
  184. package/build/components/organisms/navigationLayout_deprecated/sponsoredBy/index.styled.d.ts +0 -3
  185. package/build/components/organisms/navigationLayout_deprecated/tooltipSelection/index.d.ts +0 -17
  186. package/build/components/organisms/navigationLayout_deprecated/tooltipSelection/index.styled.d.ts +0 -5
  187. package/build/components/organisms/navigationLayout_deprecated/types.d.ts +0 -263
  188. package/build/components/organisms/navigationLayout_deprecated/utils.d.ts +0 -62
  189. package/build/core.js +0 -1
  190. package/build/core_deprecated.d.ts +0 -4
  191. package/build/esm/core.js +0 -1
  192. package/build/esm/getDynamicHealthTool-86651d3e.js +0 -1
  193. package/build/esm/getSocialList-ff22842b.js +0 -1
  194. package/build/esm/index-1c51d632.js +0 -1
  195. package/build/esm/index-432e9d53.js +0 -1
  196. package/build/esm/index-5de22704.js +0 -1
  197. package/build/esm/index-6157a8d9.js +0 -1
  198. package/build/esm/index-6201a190.js +0 -1
  199. package/build/esm/index-67527752.js +0 -1
  200. package/build/esm/index-6fcace56.js +0 -1
  201. package/build/esm/index-9dd60ba6.js +0 -1
  202. package/build/esm/index.styled-69a7dc58.js +0 -1
  203. package/build/esm/index.styled-86e27baf.js +0 -1
  204. package/build/esm/isProduction-6fc0946c.js +0 -1
  205. package/build/esm/navigationLayout_deprecated.js +0 -1
  206. package/build/esm/screenSizeContext-d6e9a094.js +0 -1
  207. package/build/esm/translationsContext-2a7c9f4a.js +0 -1
  208. package/build/esm/translationsProvider-8d997983.js +0 -1
  209. package/build/esm/types-87287859.js +0 -1
  210. package/build/esm/types-a6eb6de6.js +0 -1
  211. package/build/esm/useTranslations-18bb1454.js +0 -1
  212. package/build/esm/utils-5ed9a485.js +0 -1
  213. package/build/getDynamicHealthTool-3efcfc23.js +0 -1
  214. package/build/getSocialList-2a3b759f.js +0 -1
  215. package/build/index-41f51de4.js +0 -1
  216. package/build/index-4321cd25.js +0 -1
  217. package/build/index-6c15aaed.js +0 -1
  218. package/build/index-6ed7fe6e.js +0 -1
  219. package/build/index-d28c27ca.js +0 -1
  220. package/build/index-d76cf33a.js +0 -1
  221. package/build/index-ee8e90f7.js +0 -1
  222. package/build/index.styled-6358651d.js +0 -1
  223. package/build/index.styled-bdd83972.js +0 -1
  224. package/build/isProduction-32e6a55a.js +0 -1
  225. package/build/navigationLayout_deprecated.js +0 -1
  226. package/build/translationsContext-7030adbb.js +0 -1
  227. package/build/translationsProvider-31ab1b1e.js +0 -1
  228. package/build/types-aa8ffe51.js +0 -1
  229. package/build/types-dc978cd5.js +0 -1
  230. package/build/useTranslations-22cc11a9.js +0 -1
  231. package/build/utils-6fb915bc.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),n=require("react"),t=require("./index-6ed7fe6e.js"),a=require("lodash"),i=require("./cookieHelper-612b90fa.js"),o=require("styled-components"),l=require("./utils-6fb915bc.js"),r=require("./index-ee8e90f7.js"),s=require("./index.styled-bdd83972.js"),d=require("./theme-696d81a9.js"),c=require("./constants-ca5ea110.js"),p=require("string-format"),u=require("./screenSizeContext-6726a3b5.js");require("react-range"),require("react-dom"),require("./translationsContext-7030adbb.js"),require("lodash/debounce"),require("./index-d28c27ca.js"),require("date-fns"),require("./Locale-11b51016.js");var m=require("./index-af3a78da.js"),h=require("react-loading-skeleton"),g=require("./translationsProvider-31ab1b1e.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useTranslations-22cc11a9.js"),require("slugify"),require("vanilla-lazyload"),require("./isProduction-32e6a55a.js");var x,y,v,b=f(n),E=f(o),w=f(p),k=f(h),_={"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"},C={"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"}},T={"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"}},L={"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"}]},O="user",S="community?website_url={websiteUrl}",I="topic?community_id={communityId}&website_url={websiteUrl}",A="spotlights?per_page={perPage}&order_by={orderBy}",M="healthtools?_hasgroup=1",N="categories?type=all",P="footer",R="api/specialties?_ishome=1&site={domain}",B="menu/footer",j="health-tools",D=99,H=300,z=400,U=200,F=210,G=5,Y=6,V=300,Q={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"}},Z=function(n){var a,i,o,l,r,s,d,c,p,u,m,h,g,f,x,y,v,E,w,k=n.children,T=n.SEOData,O=void 0===T?{}:T,S=n.isAmp,I=void 0!==S&&S,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=O.totalPages,G=O.currentPage,Y=O.SEOTitle,V=void 0===Y?"":Y,Q=O.SEODescription,Z=void 0===Q?"":Q,W=O.SEOImage,q=O.seoType,K=O.SEOImageWidth,X=O.SEOImageHeight,J=O.customMetaData,$=void 0===J?[]:J,ee=O.isIndexable,ne=void 0===ee||ee,te=O.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=O.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?_[se]:"www.marrybaby.vn",ce=le.endsWith("/")?"":"/";if(O.apiMetaData&&"string"==typeof O.apiMetaData){var pe=null===(a=O.apiMetaData)||void 0===a?void 0:a.match(/<title.*?>(.*)<\/title>/),ue=" - Page ".concat(G," of ").concat(F),me=G&&1!==G&&pe?O.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,'" />')):O.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),[b.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(i=O.openGraph)||void 0===i?void 0:i.image)||ge||""}),b.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(o=O.openGraph)||void 0===o?void 0:o.image)||ge}),b.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(l=O.openGraph)||void 0===l?void 0:l.imageWidth)&&String(null===(r=O.openGraph)||void 0===r?void 0:r.imageWidth)||"1200"}),b.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=O.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(d=O.openGraph)||void 0===d?void 0:d.imageHeight)||"630"})],!1)}}var fe="https://".concat(de,"/images/").concat(M,".png");return b.default.createElement(b.default.Fragment,null,R&&z&&b.default.createElement(R,null,b.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===B&&b.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===M?b.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===M||"ms-MY"===M?b.default.createElement(b.default.Fragment,null):b.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"}),b.default.createElement("link",{rel:"preconnect",href:oe}),b.default.createElement("meta",{charSet:"UTF-8"}),!I&&b.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),b.default.createElement("meta",{name:"google",content:"notranslate"}),b.default.createElement("meta",{name:"robots",content:ie}),b.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),$.map((function(n,t){return b.default.createElement("meta",e.__assign({key:t},n))})),b.default.createElement("meta",{name:"theme-color",content:"helloSites"===B?"#2c87f3":"#e85388"}),b.default.createElement("meta",{name:"page_type",content:"Home"}),b.default.createElement("meta",{name:"page_platform",content:"WEB"}),b.default.createElement("meta",{name:"page_language",content:se}),b.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),I&&b.default.createElement(b.default.Fragment,null,b.default.createElement("script",{async:!0,"custom-element":"amp-analytics",src:"https://cdn.ampproject.org/v0/amp-analytics-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-fx-collection",src:"https://cdn.ampproject.org/v0/amp-fx-collection-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-ad",src:"https://cdn.ampproject.org/v0/amp-ad-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-next-page",src:"https://cdn.ampproject.org/v0/amp-next-page-1.0.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-sticky-ad",src:"https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-social-share",src:"https://cdn.ampproject.org/v0/amp-social-share-0.1.js"}),b.default.createElement("script",{async:!0,"custom-element":"amp-bind",src:"https://cdn.ampproject.org/v0/amp-bind-0.1.js"})),!re&&b.default.createElement(b.default.Fragment,null,"helloSites"===B?b.default.createElement("title",null,j?V:V+" - "+(null===(c=C[M])||void 0===c?void 0:c.SITE_NAME)):b.default.createElement("title",null,V),!ae&&b.default.createElement("link",{rel:"canonical",href:"https://".concat(de).concat(le)}),b.default.createElement("meta",{name:"description",content:Z||(null===(p=O.openGraph)||void 0===p?void 0:p.description)}),O.schemaData&&b.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:O.schemaData}}),b.default.createElement("meta",{property:"og:locale",content:M}),b.default.createElement("meta",{property:"og:type",content:q||"website"}),b.default.createElement("meta",{property:"og:title",content:(null===(u=O.openGraph)||void 0===u?void 0:u.title)||V}),b.default.createElement("meta",{property:"og:description",content:(null===(m=O.openGraph)||void 0===m?void 0:m.description)||Z}),b.default.createElement("meta",{property:"og:url",content:"https://".concat(de).concat(le)}),b.default.createElement("meta",{property:"og:site_name",content:"https://".concat(de)}),b.default.createElement("meta",{property:"og:image",content:(null===(h=O.openGraph)||void 0===h?void 0:h.image)||W||fe||""}),b.default.createElement("meta",{property:"og:image:secure_url",content:(null===(g=O.openGraph)||void 0===g?void 0:g.image)||W||fe}),b.default.createElement("meta",{property:"og:image:width",content:(null===(f=O.openGraph)||void 0===f?void 0:f.imageWidth)&&String(null===(x=O.openGraph)||void 0===x?void 0:x.imageWidth)||K&&String(K)||"1200"}),b.default.createElement("meta",{property:"og:image:height",content:(null===(y=O.openGraph)||void 0===y?void 0:y.imageHeight)&&String(null===(v=O.openGraph)||void 0===v?void 0:v.imageHeight)||X&&String(X)||"630"}),b.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),b.default.createElement("meta",{name:"twitter:title",content:(null===(E=O.twitter)||void 0===E?void 0:E.title)||V}),b.default.createElement("meta",{name:"twitter:description",content:Z}),b.default.createElement("meta",{name:"twitter:image",content:(null===(w=O.twitter)||void 0===w?void 0:w.image)||W})),("helloSites"===B?L[se]||[]:L.marryBaby).map((function(e,n){return"link"===e.type?b.default.createElement("link",{key:"favicon-".concat(n),rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?b.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&&b.default.createElement("link",{rel:"canonical",href:H}),!O.hasNoAmp&&"vi-VN"!==M&&b.default.createElement("link",{rel:"amphtml",href:"https://".concat(de).concat(le).concat(ce,"?amp=1")}),D&&"undefined"!=typeof window?b.default.createElement("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '".concat(D,"'});")}}):null),R&&!z&&b.default.createElement(R,null),k)},W="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",q="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",K="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",X=E.default.div(x||(x=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})),J=E.default.div(y||(y=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"]))),$=E.default.div(v||(v=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})),ee={"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"},ne=n.createContext({}),te=function(){var e=n.useContext(ne);return function(n,t){var a=(e.translation||{})[n]||ee[n];return a?t?w.default(a,t):a:function(){throw Error("missing translation "+n)}()}},ae=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}:{}},ie=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}:{}},oe=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 oe(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}:{}},le=function(e){return e?{icon:e.icon,link:e.link,subtitle:e.subtitle,title:e.title}:{}},re=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 le(e)})))&&void 0!==t?t:[]}:{}},se=function(n,t,a){return(t||"https://service-health-care.hellohealthgroup.com/")+w.default(R,e.__assign(e.__assign({},a),{domain:_[n]}))},de=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(N,e.__assign({},a))},ce=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(M,e.__assign({},a))},pe=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(A,e.__assign({},a))},ue=function(n,t,a){return(t||"https://wp.".concat(_[n],"/"))+"wp-json/api/"+w.default(P,e.__assign({},a))},me=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(S,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(_[n])}))},he=function(n,t,a){return(t||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(I,e.__assign(e.__assign({},a),{websiteUrl:"https://".concat(_[n])}))},ge=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:"")},fe=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}:{}},xe=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},ye=E.default.header(Pe||(Pe=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}),D,H,z),ve=E.default.header(Re||(Re=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"]))),be=E.default.div(Be||(Be=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"]))),Ee=E.default.div(je||(je=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}),G,Y,V),we=E.default.div(De||(De=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})),ke=E.default.div(He||(He=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"]))),_e=E.default.div(ze||(ze=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),Ce=E.default.div(Ue||(Ue=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})),Te=E.default.div(Fe||(Fe=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})),Le=E.default.div(Ge||(Ge=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"]))),Oe=E.default.div(Ye||(Ye=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"]))),Se=E.default.div(Ve||(Ve=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"]))),Ie=E.default.div(Qe||(Qe=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})),Ae=E.default.div(Ze||(Ze=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),Me=E.default.div(We||(We=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),Ne=E.default.div(qe||(qe=e.__makeTemplateObject([""],[""])));E.default.div(Ke||(Ke=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 Pe,Re,Be,je,De,He,ze,Ue,Fe,Ge,Ye,Ve,Qe,Ze,We,qe,Ke,Xe,Je=E.default.div(Xe||(Xe=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 $e(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M14.5 17L9.5 12L14.5 7",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function en(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))}function nn(e){var n=e.siteType,t=e.type;return"helloSites"===n?b.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}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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 tn(n){var t,a,i=n.type,o=n.isStatic,l=n.isAmp,d=n.isDisplayed,c=n.siteType,p=n.isCollapsed,u=n.sitewideBannerShown,m=n.sitewideBanner,h=n.sitewideBannerClosed,g=n.setSitewideBannerClosed,f=n.isMobile,x=n.onMenuClick,y=n.menu,v=n.isSearchIconDisplayed,E=n.statics,w=E.DISCOVER_URL_FE,k=E.SSO_URL,_=E.HOME_PAGE_URL,C=E.CARE_URL_FE,T=n.basePath,L=n.languageMenu,O=n.enabledExperimentalCareHeader,S=n.onCareHeaderClick,I=n.logoType,A=n.locale,M=n.isInit,N=n.title,P=n.sponsorComponent,R=n.currentUrl,B=n.userInfo,j=n.currentPopupType,D=n.avatar,H=n.profileMenu,z=n.isLoginButtonDisplayed,U=n.goToLogin,F=n.isSearchBarDisplay,G=n.searchPlaceholder,Y=n.onSearchValueChanged,V=n.keyPressed,Q=te(),Z=!!P,W=!!(null===(a=null===(t=null==P?void 0:P.props)||void 0===t?void 0:t.sponsoredBy)||void 0===a?void 0:a.length),q=u&&!!m&&!h,K=an({isSiteWide:!!m&&!h,isShowingSiteWideBanner:q,isSponsored:Z,hasSponsoredBanners:W,isMobile:!0}),X=K.headerRef,J=K.headerHeight;return b.default.createElement(b.default.Fragment,null,b.default.createElement(ye,{"data-header-type":i,"data-collapsed":!o&&p,"data-with-search-input":"popup-sub-level"!==i,"data-is-displayed":d,"data-is-amp":l,"data-sponsored":Z,"data-site-type":c,"data-sitewide-banner-shown":q,id:"site-header",ref:X},m?b.default.isValidElement(m)?b.default.cloneElement(m,{isCollapsed:p,setBannerClosed:g,isAmp:l,isMobile:f}):m:null,b.default.createElement("div",{style:e.__assign(e.__assign({position:"relative",height:64,display:"flex",alignItems:"center",justifyContent:"helloSites"===c?"center":"flex-start",background:"white"},"marryBaby"===c?{paddingLeft:66}:{}),void 0!==L||O?{paddingLeft:O?48:64,gap:24,justifyContent:"unset"}:{})},b.default.createElement(ve,null,b.default.createElement(be,{on:"tap:discover-amp-sidebar",role:"button",className:"menu-handler",tabIndex:0},b.default.createElement("div",{onClick:function(){return null==x?void 0:x("categories")}},"home"===i&&b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},b.default.createElement(nn,{siteType:c,type:i})),"popup"===i&&b.default.createElement(en,null),"popup-sub-level"===i&&b.default.createElement($e,null)),y),v&&"helloSites"===c&&"home"===i&&b.default.createElement(be,{style:{paddingRight:16}},b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{paddingRight:16,paddingTop:8,position:"relative"},href:"".concat(_,"/search?s=&page=1")},b.default.createElement("img",{src:"".concat(T,"/images/search.svg"),style:{width:"24px",height:"24px"},alt:i}),b.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0,zIndex:1e4}})))),"popup"!==i&&b.default.createElement(Ae,{"data-is-profile":!0,className:M?"":"menu-handler-health-tools"},b.default.createElement("div",{className:"menu-handler-item"},v&&"marryBaby"===c&&"home"===i&&b.default.createElement(be,{style:{justifySelf:"flex-end"}},b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{display:"flex"},href:"".concat(w,"/search?s=&page=1")},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement("input",{style:{width:"32px",height:"32px",position:"absolute",left:"-2px",bottom:"0",opacity:0}}))),O&&b.default.createElement(b.default.Fragment,null,S?b.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:R,onClick:function(e){return S(e)}},Q("login.booking")):b.default.createElement("a",{href:C,className:"care-button"},b.default.createElement(r.Button,{size:"sm",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:R},Q("login.booking")))),(null==B?void 0:B.id)?b.default.createElement(Oe,{style:{position:"relative"}},b.default.createElement("div",{onClick:function(){return x&&x("profile")}},"profile"===j?b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})):D),H):l?b.default.createElement("a",{"data-vars-event-category":"Sign Up","data-vars-event-action":"Button Click","data-vars-event-label":R,href:"".concat(k,"?returnUrl=").concat(R.replace("?amp=1","")),style:{textDecoration:"none"}},"vi-VN"===A?b.default.createElement(Je,{onClick:U},b.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:U},Q("navigation.loginJoin"))):z&&b.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":R},O?b.default.createElement(Je,{onClick:U},b.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",onClick:U},Q("navigation.loginJoin")):b.default.createElement("div",{className:"login-btn-mobile",onClick:U,style:{paddingLeft:16}},b.default.createElement(s.Text,{size:"p3"},Q("navigation.loginJoin")))))),("home"===i||"popup"===i)&&b.default.createElement("a",{href:_||""},b.default.createElement(s.Logo,{type:I,height:"27px",width:"121px",style:{display:"flex"},badge:"id-ID"===A?b.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0})),void 0!==L&&b.default.createElement(Ie,{"data-is-active":!0,className:M?"":"menu-handler-language",onClick:function(){x&&x("language")}},L),N&&b.default.createElement(r.Heading,{className:"top-bar-header",tag:"h5"},N)),P?b.default.isValidElement(P)?b.default.cloneElement(P,{isCollapsed:p,locale:A,isMobile:f,isAmp:l}):P:null),F?b.default.createElement(Ee,{"data-header-type":i,"data-is-displayed":d,"data-sitewide-banner-shown":u&&!!m},b.default.createElement(s.PureInput,{style:{minHeight:"auto",minWidth:"100%",padding:"0 16px"},name:"search-input-"+i+(M?"":"-temp"),size:"md",placeholder:G,onChange:Y,onKeyPress:V,type:"search",displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.default.createElement("path",{d:"M20 20L16 16",stroke:"#8C8C8C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))})):b.default.createElement(b.default.Fragment,null,!l&&b.default.createElement("div",{style:{height:J}})))}var an=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}},on=function(e){var t,i,o,c=e.siteType,p=e.basePath,u=e.statics,m=e.currentPopupType,h=void 0===m?"none":m,g=e.isDisplayed,f=void 0===g||g,x=e.isSearchBarDisplay,y=void 0===x||x,v=e.searchPlaceholder,E=void 0===v?"":v,w=e.openPopup,k=e.onTopBarAppears,T=e.onSearchChange,L=e.onSearchKeyPress,O=e.menu,S=e.isAmp,I=e.profileMenu,A=e.isMobile,M=void 0!==A&&A,N=e.isLoginButtonDisplayed,P=e.title,R=e.type,B=void 0===R?"home":R,j=e.onMenuClick,D=e.isStatic,H=void 0!==D&&D,z=e.routerAsPath,U=e.locale,F=e.userInfo,G=e.marryBaby,Y=(void 0===G?{tone:"white"}:G).tone,V=e.menuItems,Q=void 0===V?[]:V,Z=e.isInit,W=e.sitewideBanner,q=e.sitewideBannerShown,K=void 0===q||q,X=e.sponsorComponent,J=e.languageMenu,$=e.isSearchIconDisplayed,ee=void 0!==$&&$,ne=e.enabledExperimentalCareHeader,ae=e.onCareHeaderClick,ie=u.SSO_URL,oe=u.HOME_PAGE_URL,le=u.CARE_URL_FE,re=te(),se=!!X,de=n.useState(!1),ce=de[0],pe=de[1],ue=n.useState(!1),me=ue[0],he=ue[1],ge=n.useState(!1),fe=ge[0],xe=ge[1],ye=n.useState(Z||!1),ve=ye[0],be=ye[1],Ee=n.useRef(47),Me=n.useRef(!1),Ne=n.useRef(!1),Pe="helloSites"===c?"https://".concat(_[U]).concat(z):"https://www.marrybaby.vn".concat(z),Re=n.useMemo((function(){var e=(null==F?void 0:F.name)||(null==F?void 0:F.username);return b.default.createElement(l.Avatar,{type:"rounded",size:"small",avatarUrl:null==F?void 0:F.avatar,firstLetter:e&&e.length?e[0].toUpperCase():"A",backgroundColor:"marryBaby"===c?d.theme.mbColors.pink:d.theme.colors.secondaryBase,isAmp:S})}),[null==F?void 0:F.username,null==F?void 0:F.name,null==F?void 0:F.avatar]),Be=function(){var e=window.location.href;window.location.href=ie?"".concat(ie,"?returnUrl=").concat(e):e},je="helloSites"===c?null===(t=C[U])||void 0===t?void 0:t.LOGO_TYPE:c,De="undefined"!=typeof window,He=function(e){null==T||T(e)},ze=n.useCallback(a.throttle((function(){var e;if("home"===B){var n=window,t=null===(e=document.querySelector(".sticky-container"))||void 0===e?void 0:e.clientHeight;De&&n&&(n.scrollY>Ee.current&&n.scrollY>64&&!Me.current&&(Me.current=!0,pe(!0)),n.scrollY<Ee.current&&Me.current&&(Me.current=!1,pe(!1),t&&n.scrollY),n.scrollY<Ee.current&&t&&n.scrollY,y?(n.scrollY<64&&n.scrollY<Ee.current&&Ne.current&&(Ne.current=!1),n.scrollY>8&&n.scrollY>Ee.current&&!Ne.current&&(Ne.current=!0)):Ne.current=!0,n.scrollY>=0&&(Ee.current=n.scrollY))}}),300),[]);n.useEffect((function(){null==k||k(!ce)}),[ce]);var Ue=function(e){var n,t;L&&L(e,null!==(t=null===(n=document.getElementById("search-input-"+B))||void 0===n?void 0:n.value)&&void 0!==t?t:"")};n.useEffect((function(){M&&ze()}),[]),n.useEffect((function(){return window.addEventListener("scroll",ze,{passive:!0}),function(){window.removeEventListener("scroll",ze)}}),[]),n.useEffect((function(){be(!0)}),[]),n.useEffect((function(){"undefined"!=typeof window&&xe(Boolean(fe))}),[]);var Fe=b.default.createElement(b.default.Fragment,null,Q.find((function(e){return"categories"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"categories"===h,className:ve?"":"menu-handler-categories",tabIndex:0,onClick:function(){null==w||w("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)}},b.default.createElement("div",{className:"menu-handler-item"},re("home.navigator.menuItem.discover"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"categories"===h&&b.default.createElement("div",null,O)),Q.find((function(e){return"healthTools"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"tools"===h,className:ve?"":"menu-handler-health-tools",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("tools")}},re("home.navigator.menuItem.healthTools"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"tools"===h&&b.default.createElement("div",null,O)),Q.find((function(e){return"care"===e.id}))&&!ne&&b.default.createElement(Ie,{"data-is-active":"care"===h,className:ve?"":"menu-handler-care-specialties",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("care")}},re("home.navigator.menuItem.helloCare"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"care"===h&&b.default.createElement("div",null,O)),Q.find((function(e){return"together"===e.id}))&&b.default.createElement(Ie,{"data-is-active":"communities"===h,className:ve?"":"menu-handler-communities",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item",onClick:function(){w&&w("communities")}},re("home.navigator.menuItem.helloTogether"),b.default.createElement(Se,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),"communities"===h&&b.default.createElement("div",null,O))),Ge=!!(null===(o=null===(i=null==X?void 0:X.props)||void 0===i?void 0:i.sponsoredBy)||void 0===o?void 0:o.length),Ye=K&&!!W&&!me,Ve=an({isSiteWide:!!W&&!me,isShowingSiteWideBanner:Ye,isSponsored:se,hasSponsoredBanners:Ge}),Qe=Ve.headerRef,Ze=Ve.headerHeight;return M?b.default.createElement(tn,{type:B,isStatic:H,isAmp:S,isDisplayed:f,siteType:c,isCollapsed:ce,sitewideBannerShown:K,sitewideBanner:W,sitewideBannerClosed:me,setSitewideBannerClosed:he,isMobile:M,onMenuClick:j,menu:O,isSearchIconDisplayed:ee,statics:u,basePath:p,languageMenu:J,enabledExperimentalCareHeader:ne,logoType:je,locale:U,isInit:ve,title:P,sponsorComponent:X,currentUrl:Pe,userInfo:F,currentPopupType:h,avatar:Re,profileMenu:I,isLoginButtonDisplayed:N,goToLogin:Be,isSearchBarDisplay:y,searchPlaceholder:E,onSearchValueChanged:He,keyPressed:Ue}):b.default.createElement(b.default.Fragment,null,b.default.createElement("div",{style:{height:Ze}}),b.default.createElement(we,{ref:Qe,"data-site-type":c,"data-marry-baby-tone":"marryBaby"===c&&Y,"data-sponsored":se,"data-sitewide-banner-shown":Ye},W?b.default.isValidElement(W)?b.default.cloneElement(W,{isCollapsed:ce,setBannerClosed:he}):W:null,b.default.createElement(s.Container,{style:{height:69,padding:"0 16px"},type:c},b.default.createElement(ke,null,b.default.createElement(_e,null,b.default.createElement("a",{href:oe},b.default.createElement(Ce,{"data-is-having-border":"helloSites"===c},b.default.createElement(s.Logo,{style:{display:"flex"},type:je,height:"27px",width:"121px",badge:"id-ID"===U?b.default.createElement("img",{src:"",style:{width:56,height:23,maxWidth:56},width:"56",height:"23"}):void 0}))),y&&"helloSites"===c&&b.default.createElement(Te,{"data-header-type":B,"data-is-displayed":f,"data-sitewide-banner-shown":K&&!!W},b.default.createElement(s.PureInput,{style:{minHeight:"32px",maxHeight:"32px",minWidth:"100%",backgroundColor:d.theme.colors.white},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:E,onChange:He,onKeyPress:Ue,displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px",transform:"scale(0.8)"}},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"===c&&b.default.createElement("div",{style:{marginLeft:28,display:"flex"}},Fe)),b.default.createElement(Le,null,"helloSites"===c&&Fe,y&&"marryBaby"===c&&b.default.createElement(Te,{"data-header-type":B,"data-is-displayed":f,"data-is-styled-borderless":"marryBaby"===c,"data-marry-baby-theme":Y},b.default.createElement(s.PureInput,{style:{minHeight:"40px",maxHeight:"40px",minWidth:"100%",borderRadius:16},name:"search-input-"+B+(ve?"":"-temp"),size:"sm",placeholder:E,onChange:He,onKeyPress:Ue,displayIcon:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click",style:{width:"24px",height:"24px"}},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement(Ie,{"data-is-active":!0,className:ve?"":"menu-handler-language",onClick:function(){w&&w("language")}},J),b.default.createElement(Ae,{"data-is-active":"profile"===h,"data-is-profile":!0,className:ve?"":"menu-handler-health-tools",tabIndex:0},b.default.createElement("div",{className:"menu-handler-item"},ne&&b.default.createElement(b.default.Fragment,null,ae?b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe,onClick:function(e){return ae(e)}},re("login.booking")):b.default.createElement("a",{href:le,className:"care-button no-replace-click"},b.default.createElement(r.Button,{className:"login-btn-mobile",size:"sm",color:"secondary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:Pe},re("login.booking")))),(null==F?void 0:F.id)?b.default.createElement(Oe,{style:{position:"relative"}},b.default.createElement("div",{onClick:function(){return w&&w("profile")}},Re),I):N&&b.default.createElement("a",{"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":Pe},ne?b.default.createElement(Je,{onClick:Be},b.default.createElement("img",{src:"",className:"avatar",alt:"avatar"})):"helloSites"===c?b.default.createElement(r.Button,{size:"md",color:"secondary",onClick:Be},re("navigation.loginJoin")):b.default.createElement(r.Button,{size:"md",color:"secondary",theme:"marryBaby",onClick:Be},re("navigation.loginJoin")))))))),X?b.default.isValidElement(X)?b.default.cloneElement(X,{isCollapsed:ce,locale:U,isMobile:M,isAmp:S}):X:null))};E.default.div(ln||(ln=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 ln,rn,sn,dn,cn,pn,un,mn,hn,gn,fn,xn,yn,vn,bn,En,wn,kn,_n,Cn=E.default.div(rn||(rn=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),Tn=E.default.div(sn||(sn=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),Ln=function(e){var n=e.sponsoredBy,t=e.isAmp,a=e.onClose,i=e.locale||"en-PH",o=te();return b.default.createElement(Tn,{"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},b.default.createElement(s.Text,{size:"p3",style:{marginBottom:"1rem"}},o("articlePage.sponsoredByStickyPopup.content")),b.default.createElement("div",{className:"button-container",onClick:function(e){e.stopPropagation()}},b.default.createElement(r.Button,{size:"md",color:"secondary",onClick:a,isAmp:t,on:"tap:sponsored-by.toggleClass(class='open')"},o("articlePage.sponsoredByStickyPopup.close")),b.default.createElement(r.Button,{size:"md",onClick:function(){window.location.href="/static".concat(T[i].ADVERTISING_SPONSOR_POLICY)},isAmp:t,on:"tap:AMP.navigateTo(url='/static".concat(T[i].ADVERTISING_SPONSOR_POLICY,"')")},o("articlePage.sponsoredByStickyPopup.policies"))))},On=E.default.div(dn||(dn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Sn=E.default.div(cn||(cn=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"]))),In=E.default.div(pn||(pn=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})),An=E.default.div(un||(un=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})),Mn=E.default.div(mn||(mn=e.__makeTemplateObject([""],[""]))),Nn=E.default.div(hn||(hn=e.__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"]))),Pn=E.default.div(gn||(gn=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})),Rn=E.default.div(fn||(fn=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"]))),Bn=E.default.div(xn||(xn=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"])),U),jn=E.default.div(yn||(yn=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Dn=E.default.div(vn||(vn=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"]))),Hn=E.default.div(bn||(bn=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"]))),zn=E.default.div(En||(En=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})),Un=E.default.div(wn||(wn=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),Fn=E.default.div(kn||(kn=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"]))),Gn=E.default.div(_n||(_n=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})),Yn=E.default.div(et||(et=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"]))),Vn=E.default.div(nt||(nt=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})),Qn=E.default.div(tt||(tt=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"]))),Zn=E.default.div(at||(at=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})),Wn=E.default.div(it||(it=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"]))),qn=E.default.div(ot||(ot=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"]))),Kn=E.default.div(lt||(lt=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}));E.default.div(rt||(rt=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"])));var Xn=E.default.div(st||(st=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}));E.default.div(dt||(dt=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"])));var Jn=E.default.div(ct||(ct=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"])));E.default.div(pt||(pt=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"])),U),E.default.div(ut||(ut=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),E.default.div(mt||(mt=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"]))),E.default.div(ht||(ht=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"]))),E.default.div(gt||(gt=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})),E.default.div(ft||(ft=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),E.default.div(xt||(xt=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})),E.default.div(yt||(yt=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 $n=E.default.div(vt||(vt=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"])));E.default.div(bt||(bt=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"]))),E.default.div(Et||(Et=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),E.default.div(wt||(wt=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 et,nt,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=E.default.div(kt||(kt=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})),It=E.default.div(_t||(_t=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"]))),At=function(){return b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))},Mt=E.default.div(Ct||(Ct=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})),Nt=E.default.a(Tt||(Tt=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})),Pt=function(e){var n=e.locale,t=e.categoriesSSR,a=e.healthToolsSSR,i=e.spotlightsSSR,o=e.serviceUrls,l=e.together,d=e.care,c=e.basePath,p=e.searchPlaceholder,u=te();return b.default.createElement(Mt,null,b.default.createElement("amp-sidebar",{id:"discover-amp-sidebar",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"}},b.default.createElement("amp-nested-menu",{layout:"fill"},b.default.createElement("ul",{style:{paddingBottom:24}},b.default.createElement("div",{className:"amp__menu-header"},b.default.createElement(Me,{on:"tap:discover-amp-sidebar.close",role:"button",tabIndex:1},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),b.default.createElement("div",{className:"logo"},b.default.createElement(s.Logo,{height:"32px",width:"121px",type:C.LOGO_TYPE,isAmp:!0,badge:"id-ID"===n?b.default.createElement("amp-img",{src:"",width:"56",height:"23"}):void 0})),b.default.createElement("div",null)),b.default.createElement(Nt,{href:"/search"},b.default.createElement(At,null),b.default.createElement("input",{className:"amp-search-input",type:"text",placeholder:p,readOnly:!0})),b.default.createElement("div",{className:"categories__spotlight"},b.default.createElement(Ne,{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},b.default.createElement("amp-img",{src:"",width:"48",height:"48"}),b.default.createElement("span",null,u("home.navigator.menuItem.discover"))),b.default.createElement(Ne,{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'"},b.default.createElement("amp-img",{src:"",width:"48",height:"48"}),b.default.createElement("span",null,u("home.navigator.menuItem.healthTools"))),l.TOGETHER_MENU_COUNTRIES_ENABLED.includes(n)&&b.default.createElement("a",{href:o.TOGETHER_URL_FE},b.default.createElement(Ne,{role:"button",tabIndex:1,className:"nav-card",on:"tap:AMP.setState({healthToolsActive: false})"},b.default.createElement("amp-img",{src:"",width:"48",height:"48"}),b.default.createElement("span",null,u("home.navigator.menuItem.together")))),d.CARE_MENU_COUNTRIES_ENABLED.includes(n)&&b.default.createElement("a",{href:o.CARE_URL_FE},b.default.createElement(Ne,{role:"button",tabIndex:1,className:"nav-card"},b.default.createElement("amp-img",{src:"",width:"48",height:"48"}),b.default.createElement("span",null,u("home.navigator.menuItem.helloCare"))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive",style:{marginBottom:24}},b.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.discover")),t&&t.length>1&&t.map((function(e){return b.default.createElement("li",{key:e.name},b.default.createElement("a",{href:e.permalink},e.displayName))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/categories/")},b.default.createElement(Pn,{key:"all-categories"},u("home.navigator.menuItem.allCategories"),b.default.createElement($n,null,b.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")}))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"!healthToolsActive"},b.default.createElement(r.Heading,{tag:"h3",fontWeight:"bold",style:{marginBottom:24}},u("home.navigator.menuItem.spotlights")),i&&i.length>0&&i.map((function(e){return b.default.createElement("li",{key:e.id,className:"spotlight-li"},b.default.createElement("a",{href:e.permalink},e.name))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(o.DISCOVER_URL_FE,"/spotlight/")},b.default.createElement(Pn,{key:"all-spotlight"},u("home.navigator.menuItem.allSpotlight"),b.default.createElement($n,null,b.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")}))))),b.default.createElement("ul",{className:"categories","data-amp-bind-hidden":"healthToolsActive",hidden:!0},a&&a.length>1&&a.map((function(e,n){return e.healthTools&&e.healthTools.length>0&&b.default.createElement(b.default.Fragment,{key:n},b.default.createElement(r.Heading,{tag:"h4",fontWeight:"bold"},e.name),e.healthTools.map((function(e){return b.default.createElement("li",{key:e.title,className:"health-tool"},b.default.createElement("a",{href:e.link},b.default.createElement("amp-img",{width:"32",height:"32",src:e.icon}),b.default.createElement("span",null,e.title)))})))})))))))},Rt=E.default.footer(Lt||(Lt=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),Bt=E.default.div(Ot||(Ot=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"]))),jt=function(e){var n=e.url,t=e.isMobile,a=e.dataEventCategory,i=e.dataEventAction,o=e.dataEventLabel;return b.default.createElement(Bt,{"data-is-mobile":t},b.default.createElement("img",{className:"country-flag",src:n,alt:"Country Flag","data-event-category":a,"data-event-action":i,"data-content-label":o}))},Dt=function(e){var n,t,a,i,o,l,c,p,u,m,h,g,f,x,y,v,E,w,k,C,T,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=te(),q=null==Y?void 0:Y.menu;return b.default.createElement(Rt,{as:Z&&"mini"===G?"div":"footer",className:U,style:"mini"===G?{backgroundColor:d.theme.colors.neutral50}:{},"next-page-hide":!0},b.default.createElement(s.Container,null,b.default.createElement("div",{className:"inner","data-type":G,"next-page-hide":""},"main"===G?b.default.createElement(b.default.Fragment,null,b.default.createElement("a",{href:"/"},Z?(null===(t=null==Y?void 0:Y.general)||void 0===t?void 0:t.logo)?b.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:b.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})),b.default.createElement("div",{className:"columns"},b.default.createElement("div",{className:"newsletter"},b.default.createElement(s.Text,{size:"p1",type:"bold"},null===(i=null==Y?void 0:Y.general)||void 0===i?void 0:i.content),b.default.createElement(r.Button,{className:"signupButton",color:"primary",size:"lg"},W("footer.signUp")),b.default.createElement("div",{className:"social"},b.default.createElement(s.Text,{size:"sm",type:"regular"},null===(o=null==Y?void 0:Y.social)||void 0===o?void 0:o.title),b.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 b.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?b.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"}):b.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"}))}))),b.default.createElement("hr",{className:"hrMobile"}))),b.default.createElement("div",null,q&&b.default.createElement(b.default.Fragment,null,b.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 b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url),className:"bigLink",key:n,href:e.url},e.title)}))),b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"mHalf"},b.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 b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url),className:"link",href:e.url,key:n},b.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(_[Q]).concat(e.url)},e.title))}))),b.default.createElement("div",{className:"mHalf"},b.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&&b.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:n},b.default.createElement(s.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!Z&&b.default.createElement(b.default.Fragment,null,b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"otherSites"},b.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),b.default.createElement("div",{className:"flags"},null===(w=null===(E=null==Y?void 0:Y.branch)||void 0===E?void 0:E.branch)||void 0===w?void 0:w.map((function(e,n){return b.default.createElement("a",{className:"link",href:e.url,key:n,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},b.default.createElement(jt,{url:e.flag,isMobile:V,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url}))}))))))),b.default.createElement("hr",null),b.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)&&b.default.createElement("a",{href:null===(T=null===(C=null==Y?void 0:Y.general)||void 0===C?void 0:C.verified[0])||void 0===T?void 0:T.url,className:"copyright-image"},Z?b.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"}):b.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"})),b.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&&b.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")):b.default.createElement(b.default.Fragment,null,(null==Y?void 0:Y.menu)&&b.default.createElement("div",{className:"columns"},b.default.createElement("div",{className:"mHalf"},b.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 b.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(_[Q]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(_[Q]).concat(e.url)},b.default.createElement(s.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(_[Q]).concat(e.url),size:"sm",type:"regular",style:{color:d.theme.colors.gray800}},e.title))}))),b.default.createElement("div",{className:"mHalf"},b.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 b.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},b.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&&b.default.createElement("hr",{className:"hrMobile"}),b.default.createElement("div",{className:"newsletter"},b.default.createElement("div",{className:"social"},b.default.createElement(s.Text,{size:"sm",type:"regular"},null===(D=null==Y?void 0:Y.social)||void 0===D?void 0:D.title),b.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 b.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?b.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"}):b.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"}))}))))))))))};E.default((function(n){var t=n.type,a=e.__rest(n,["type"]);return b.default.createElement(t,a)}))(Ht||(Ht=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 Ht,zt,Ut=E.default.p(zt||(zt=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})),Ft=function(n){var t=n.type,a=n.color,i=n.style,o=e.__rest(n,["type","color","style"]);return b.default.createElement(Ut,e.__assign({"data-type":t,style:e.__assign(e.__assign({},i),a&&{"--text-color":a})},o))};E.default.footer(Gt||(Gt=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 Gt,Yt,Vt,Qt,Zt,Wt,qt,Kt,Xt,Jt,$t,ea,na,ta,aa,ia,oa,la,ra,sa,da,ca,pa,ua,ma,ha=E.default.div(Yt||(Yt=e.__makeTemplateObject([""],[""]))),ga=E.default.div(Vt||(Vt=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"]))),fa=E.default.div(Qt||(Qt=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),xa=E.default.div(Zt||(Zt=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),ya=E.default.div(Wt||(Wt=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),va=E.default.div(qt||(qt=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})),ba=E.default.div(Kt||(Kt=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"]))),Ea=function(e){var n,t=e.socialLinks,a=void 0===t?Q.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,h=e.isMobile,g=e.footerMenu,f=void 0===g?[]:g,x=e.type,y=void 0===x?"main":x,v=te();return"main"===y?b.default.createElement(ha,{className:"footer-container"},!h&&b.default.createElement("div",{className:"footer-divider"},b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(m.Divider,{style:{padding:"0 16px"},type:"solid"}))),b.default.createElement(fa,null,b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(xa,null,b.default.createElement("div",{className:"grid"},null===(n=h?null==f?void 0:f.slice(0,6):f)||void 0===n?void 0:n.map((function(e,n){var t=e.title,a=e.link;return b.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)},b.default.createElement(Ft,{color:d.theme.colors.gray800,type:"subtitle-2"},t))})),b.default.createElement("div",{className:"social-wrapper"},b.default.createElement("div",{className:"social"},b.default.createElement(Ft,{type:"subtitle-2"},v("footer.followUsText")),b.default.createElement("div",{className:"icons-links"},i&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},b.default.createElement("img",{src:"",alt:"Facebook"})),r&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},b.default.createElement("img",{src:"",alt:"Youtube"})),o&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},b.default.createElement("img",{src:"",alt:"Instagram"})),l&&b.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},b.default.createElement("img",{src:"",alt:"Zalo"}))))))))),b.default.createElement(ya,null,b.default.createElement(s.Container,{type:"marryBaby"},b.default.createElement(va,null,b.default.createElement(s.Logo,{className:"logo",type:u,width:"121px"}),b.default.createElement(Ft,{className:"company-name",type:"subtitle-2"},v("footer.info.companyName")),b.default.createElement("div",{className:"text-info"},b.default.createElement(Ft,{type:"bodytext-3"},v("footer.info.address")),b.default.createElement(Ft,{type:"bodytext-3"},v("footer.info.license")),b.default.createElement(Ft,{type:"bodytext-3"},v("footer.info.email"))),b.default.createElement("div",{className:"img-container"},b.default.createElement("img",{src:"/images/dmca_protected.png",alt:"DMCA protected"}),b.default.createElement("a",{href:"http://online.gov.vn/Home/WebDetails/25055?AspxAutoDetectCookieSupport=1",target:"_blank",rel:"noreferrer"},b.default.createElement("img",{src:"/images/mit_registered.png",alt:"MIT registered"}))),!h&&b.default.createElement(m.Divider,{type:"solid"}),b.default.createElement("div",{className:"language-and-copyright"},b.default.createElement(Ft,{type:"bodytext-3"},c)))))):b.default.createElement(ga,null,b.default.createElement(ba,null),b.default.createElement(Ft,{type:"subtitle-3",style:{marginBottom:24,textTransform:"uppercase",fontWeight:d.theme.sizes.fwSemiBold},color:d.theme.mbColors.midGray},v("footer.followUsText")),b.default.createElement("div",{className:"icons-links"},i&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Facebook","data-content-label":i,href:i},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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)"}),b.default.createElement("defs",null,b.default.createElement("linearGradient",{id:"paint0_linear",x1:"12",y1:"3",x2:"12",y2:"21",gradientUnits:"userSpaceOnUse"},b.default.createElement("stop",{stopColor:"#4DABF7"}),b.default.createElement("stop",{offset:"1",stopColor:"#2668DA"}))))),r&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Youtube","data-event-label":r,href:r},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement("a",{target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - Instagram","data-content-label":o,href:o},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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)"}),b.default.createElement("defs",null,b.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)"},b.default.createElement("stop",{offset:"0.073",stopColor:"#EACC7B"}),b.default.createElement("stop",{offset:"0.184",stopColor:"#ECAA59"}),b.default.createElement("stop",{offset:"0.307",stopColor:"#EF802E"}),b.default.createElement("stop",{offset:"0.358",stopColor:"#EF6D3A"}),b.default.createElement("stop",{offset:"0.46",stopColor:"#F04B50"}),b.default.createElement("stop",{offset:"0.516",stopColor:"#F03E58"}),b.default.createElement("stop",{offset:"0.689",stopColor:"#DB359E"}),b.default.createElement("stop",{offset:"0.724",stopColor:"#CE37A4"}),b.default.createElement("stop",{offset:"0.789",stopColor:"#AC3CB4"}),b.default.createElement("stop",{offset:"0.877",stopColor:"#7544CF"}),b.default.createElement("stop",{offset:"0.98",stopColor:"#2B4FF2"}))))),l&&b.default.createElement("a",{target:"_blank",rel:"noreferrer",href:l,"data-event-category":"Footer","data-event-action":"Follow us - Zalo","data-event-label":l},b.default.createElement("div",{style:{height:24,width:24}},b.default.createElement("img",{src:"/icons/zalo.png",alt:"Zalo"})))))},wa=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,E=n.ampNextArticle,w=n.routerQuery;return"helloSites"===v?b.default.createElement(b.default.Fragment,null,y&&(null!==(a=null===(t=null==w?void 0:w.slug)||void 0===t?void 0:t.length)&&void 0!==a?a:"")>1&&b.default.createElement("amp-next-page",null,b.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:'\n [\n {\n "image": "'.concat(null===(i=null==E?void 0:E.articleOne)||void 0===i?void 0:i.image,'",\n "title": ').concat(JSON.stringify(null===(o=null==E?void 0:E.articleOne)||void 0===o?void 0:o.title),',\n "url": "').concat(null===(l=null==E?void 0:E.articleOne)||void 0===l?void 0:l.link,'"\n },\n {\n "image": "').concat(null===(r=null==E?void 0:E.articleTwo)||void 0===r?void 0:r.image,'",\n "title": ').concat(JSON.stringify(null===(s=null==E?void 0:E.articleTwo)||void 0===s?void 0:s.title),',\n "url": "').concat(null===(d=null==E?void 0:E.articleTwo)||void 0===d?void 0:d.link,'"\n },\n {\n "image": "').concat(null===(c=null==E?void 0:E.articleThree)||void 0===c?void 0:c.image,'",\n "title": ').concat(JSON.stringify(null===(p=null==E?void 0:E.articleThree)||void 0===p?void 0:p.title),',\n "url": "').concat(null===(u=null==E?void 0:E.articleThree)||void 0===u?void 0:u.link,'"\n }\n ]\n ')}}),b.default.createElement("div",e.__assign({},{separator:""},{className:"amp-page-seperator",style:{color:"#8C8C8C",textTransform:"uppercase",fontSize:11,fontWeight:700,marginLeft:16}}),"Next article:")),b.default.createElement(Dt,{isAmp:y,isMobile:g,type:m,locale:f,footerInfo:x||{}})):b.default.createElement(Ea,{isMobile:g,locale:f,footerMenu:x||[],copyrightText:"© 2022 MarryBaby.vn",socialLinks:n.marryBabySocialLinks,type:m})},ka=E.default.div(Xt||(Xt=e.__makeTemplateObject(["\n width: 100vw;\n"],["\n width: 100vw;\n"]))),_a=E.default.div(Jt||(Jt=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})),Ca=E.default.div($t||($t=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})),Ta=E.default.div(ea||(ea=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),La=E.default.a(na||(na=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"]))),Oa=E.default.div(ta||(ta=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Sa=E.default.div(aa||(aa=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})),Ia=E.default.div(ia||(ia=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})),Aa=E.default.div(oa||(oa=e.__makeTemplateObject([""],[""]))),Ma=E.default.div(la||(la=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Na=E.default.div(ra||(ra=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"])),U),Pa=E.default.div(sa||(sa=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Ra=E.default.div(da||(da=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"]))),Ba=E.default.div(ca||(ca=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})),ja=E.default.div(pa||(pa=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})),Da=E.default.div(ua||(ua=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"]))),Ha=E.default.div(ma||(ma=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"]))),za=function(){return b.default.createElement(Oa,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},Ua=function(e){var n,t,a,i,o=e.careSpecialties,l=e.onSelectCareSpecialty,p=e.isLoading,u=e.desktopPopupType,m=e.onClosePopup,h=e.basePath,g=e.locale,f=e.isMobile,x=e.siteType,y=e.CARE_URL_FE,v=te();return f?b.default.createElement(b.default.Fragment,null,p?b.default.createElement(Sa,null,b.default.createElement(za,null)):b.default.createElement(Sa,{"data-category-list-type":"main"},b.default.createElement(r.Heading,{style:{marginTop:16},tag:"h5"},v("menu.care.searchBySpecialties")),o.map((function(e,n){return b.default.createElement("a",{key:"tool-"+n},b.default.createElement(Ia,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g})),onClick:function(){l(e)}},b.default.createElement(Ma,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement(Aa,null,e.name)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(n=c.LOCALIZED_SLUGS[g])||void 0===n?void 0:n.SPECIALTIES)},b.default.createElement(ja,{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"),b.default.createElement(Da,null,"helloSites"===x?b.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))))))):b.default.createElement(Na,{className:"top-menu-care-specialties",onClick:m,"data-is-display":"care"===u},b.default.createElement(Pa,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:x},b.default.createElement(Ra,{"data-popup-type":u,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,o.map((function(e){return b.default.createElement(Ba,{key:"care-specialty-".concat(e.id),onClick:m},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g})),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu no-replace-click",href:"".concat(y).concat(ge({type:"DOCTOR",specialtySlug:e.slug,locale:g}))},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"care-specialty-icon",src:e.thumbnail||"".concat(h,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.name)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(y,"/").concat(null===(a=c.LOCALIZED_SLUGS[g])||void 0===a?void 0:a.SPECIALTIES)},b.default.createElement(ja,{onClick:m,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"),b.default.createElement(Da,null,"helloSites"===x?b.default.createElement("img",{src:"".concat(h,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allSpecialties")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})))))),b.default.createElement(Ha,{onClick:m},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},Fa=function(){return b.default.createElement(On,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},Ga=E.default.div(qa||(qa=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),Ya=E.default.div(Ka||(Ka=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Va=E.default.div(Xa||(Xa=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}));E.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 "," {\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 Qa=E.default.div($a||($a=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),Za=E.default.div(ei||(ei=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})),Wa=E.default.div(ni||(ni=e.__makeTemplateObject([""],[""])));E.default.div(ti||(ti=e.__makeTemplateObject([""],[""])));var qa,Ka,Xa,Ja,$a,ei,ni,ti,ai,ii,oi=E.default.div(ai||(ai=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})),li=E.default.div(ii||(ii=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"]))),ri=function(){return b.default.createElement(Ya,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},si=function(e){var n=e.isDisplayed,t=void 0!==n&&n,a=e.spotlights,i=e.isLoading,o=e.className,l=e.isMobile,s=e.DISCOVER_URL_FE,c=e.basePath,p=e.locale,u=e.siteType,m=te();return t?b.default.createElement(Ga,null,b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:24}},m("home.navigator.menuItem.spotlights")),i&&t?b.default.createElement(Va,{className:o},b.default.createElement(ri,null)):b.default.createElement(Va,{"data-is-displayed":t,className:o},a.map((function(e,n){return b.default.createElement(Za,{style:{textDecoration:"none"},key:"spotlight-"+n},l?b.default.createElement("a",{href:e.permalink,style:{textDecoration:"none",color:d.theme.colors.gray800}},b.default.createElement(Qa,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[p]).concat(e.permalink)},b.default.createElement(Wa,null,e.name))):b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[p]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:"".concat(s).concat(e.permalink)},e.name))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(s,"/spotlight/")},b.default.createElement(oi,{key:"all-spotlights","data-theme":u,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(s,"/spotlight/")},m("home.navigator.menuItem.allSpotlight"),b.default.createElement(li,null,"helloSites"===u?b.default.createElement("img",{src:"".concat(c,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:m("home.navigator.menuItem.allSpotlight")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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},di=function(e){var n=e.locale,t=e.basePath,a=e.isDisplayed,i=void 0!==a&&a,o=e.categories,l=e.spotlightsList,c=e.type,p=e.onSelectCategory,u=e.onClosePopup,m=e.desktopPopupType,h=e.isMobile,g=e.isLoading,f=e.DISCOVER_URL_FE,x=e.siteType,y=void 0===x?"helloSites":x,v=te();return h?b.default.createElement(b.default.Fragment,null,g&&i?b.default.createElement(Sn,null,b.default.createElement(Fa,null)):b.default.createElement(Sn,{"data-is-displayed":i,"data-category-list-type":c},b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:8}},v("home.navigator.menuItem.healthCategories")),b.default.createElement(In,null,o.map((function(e,a){return b.default.createElement("div",{key:c+"-category-"+a},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(n){e.childCates&&e.childCates.length>0&&"sub"!==c&&n.preventDefault()},href:f+e.permalink},b.default.createElement(An,{onClick:function(){null==p||p(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),"data-is-heading-category":"sub"===c&&e.childCates&&e.childCates.length>0},b.default.createElement(Mn,null,e.displayName),"main"===c&&b.default.createElement(Nn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.categoryName}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"===c&&e.childCates&&e.childCates.length>0&&e.childCates.map((function(e,n){return b.default.createElement("a",{style:{textDecoration:"none"},href:e.permalink,key:c+"-2-"+n},b.default.createElement(An,{"data-is-heading-category":"sub"===c&&e.childCates&&e.childCates.length>0},b.default.createElement(s.Text,{size:"p3"},e.displayName)))}))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},b.default.createElement(Pn,{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"),b.default.createElement(Rn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})))))),b.default.createElement(si,{isDisplayed:"main"===c,spotlights:l,isLoading:!1,isMobile:h,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}))):b.default.createElement(Bn,{className:"top-menu-categories",onClick:u,"data-is-display":"categories"===m},b.default.createElement(jn,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:y},b.default.createElement(Dn,{"data-popup-type":m,onClick:function(e){e.stopPropagation()}},b.default.createElement("div",null,b.default.createElement(r.Heading,{tag:"h3",style:{marginBottom:24}},v("home.navigator.menuItem.healthCategories")),b.default.createElement(Hn,{"data-disabled-divider":0===l.length},o.map((function(e,t){return b.default.createElement(zn,{style:{textDecoration:"none"},key:e.categoryName+t},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},onClick:u,href:"".concat(f).concat(e.permalink)},e.displayName),b.default.createElement(Un,null,e.childCates&&e.childCates.map((function(e,t){return b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[n]).concat(e.permalink),style:{textDecoration:"none",pointerEvents:"auto"},href:e.permalink,key:t},e.displayName)}))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(f,"/categories/")},b.default.createElement(Pn,{onClick:u,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"),b.default.createElement(Rn,null,"helloSites"===y?b.default.createElement("img",{src:"".concat(t,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:v("home.navigator.menuItem.allCategories")}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))))))),b.default.createElement(si,{isDisplayed:"main"===c,spotlights:l,isLoading:!1,basePath:t,DISCOVER_URL_FE:f,locale:n,siteType:y}),b.default.createElement(Fn,{onClick:u},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},ci=E.default.div(yi||(yi=e.__makeTemplateObject([""],[""]))),pi=E.default.div(vi||(vi=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"]))),ui=E.default.div(bi||(bi=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"]))),mi=E.default.div(Ei||(Ei=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})),hi=E.default.div(wi||(wi=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"]))),gi=E.default.div(ki||(ki=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"])),U),fi=E.default.div(_i||(_i=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"]))),xi=E.default.div(Ci||(Ci=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(Ti||(Ti=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 yi,vi,bi,Ei,wi,ki,_i,Ci,Ti,Li,Oi,Si=E.default.div(Li||(Li=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(Oi||(Oi=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 Ii,Ai,Mi,Ni,Pi,Ri,Bi,ji,Di,Hi,zi,Ui,Fi,Gi=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?b.default.createElement(b.default.Fragment,null,c&&a?b.default.createElement(Sn,null,b.default.createElement(Fa,null)):b.default.createElement(Sn,{"data-is-displayed":a,"data-category-list-type":o,style:{marginTop:24}},b.default.createElement(ci,{className:"marry-bb-menu-categories"},i.map((function(e,n){return b.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)},b.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)},b.default.createElement(mi,{"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?b.default.createElement(pi,{style:{backgroundColor:e.imageColor}},b.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName),b.default.createElement(Gn,null),"main"===o?b.default.createElement(Nn,null,b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))):b.default.createElement(Nn,null,m!==n?b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M8.5 6L11 8.5L8.5 11",stroke:"#9495A0",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})):b.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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&&b.default.createElement(hi,null,b.default.createElement("div",{className:f?"collapsing":"expanding"},e.childCates.map((function(n,t){return b.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},b.default.createElement(mi,{"data-is-heading-category":"sub"===o&&n.childCates&&n.childCates.length>0},b.default.createElement(ui,null,b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"})),b.default.createElement(Ft,{type:"subtitle-2"},n.displayName))))})))),b.default.createElement("div",{style:{display:"none"}},e.childCates&&e.childCates.map((function(e,n){return b.default.createElement("a",{href:"".concat(p).concat(e.permalink),key:n,style:{textDecoration:"none"}},b.default.createElement("div",{"data-is-heading-category":"sub"===o&&e.childCates&&e.childCates.length>0},b.default.createElement("p",null,e.displayName)))}))))}))))):b.default.createElement(gi,{className:"top-menu-categories","data-is-display":"categories"===r,tabIndex:0},b.default.createElement(fi,null),b.default.createElement(xi,{"data-popup-type":r},b.default.createElement(Si,{className:"marry-bb-menu-categories"},c?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement(Fa,null)):i.map((function(e,n){return b.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)}},b.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)},b.default.createElement(mi,{style:{display:"flex",alignItems:"center",justifyContent:"flex-start"}},b.default.createElement(pi,{style:{backgroundColor:e.imageColor}},b.default.createElement("img",{src:e.iconUrl,style:{width:"24px",height:"24px"},alt:e.name})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.displayName))))})))))},Yi=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?b.default.createElement(di,{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}):b.default.createElement(Gi,{basePath:o,callApiHandler:h,discoverApiDomain:i,isDisplayed:t,type:s,onSelectCategory:d,categories:l,isLoading:m,isMobile:u,MARRY_BABY_FE:f,desktopPopupType:p})},Vi=E.default.div(Ii||(Ii=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),Qi=E.default.div(Ai||(Ai=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})),Zi=E.default.div(Mi||(Mi=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})),Wi=E.default.div(Ni||(Ni=e.__makeTemplateObject([""],[""]))),qi=E.default.div(Pi||(Pi=e.__makeTemplateObject([""],[""]))),Ki=E.default.div(Ri||(Ri=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"]))),Xi=E.default.div(Bi||(Bi=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"])),U),Ji=E.default.div(ji||(ji=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),$i=E.default.div(Di||(Di=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"]))),eo=E.default.div(Hi||(Hi=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})),no=E.default.div(zi||(zi=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})),to=E.default.div(Ui||(Ui=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"]))),ao=E.default.div(Fi||(Fi=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"]))),io=function(){return b.default.createElement(Vi,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},oo=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=te();return m?b.default.createElement(b.default.Fragment,null,l&&n?b.default.createElement(Qi,null,b.default.createElement(io,null)):b.default.createElement(Qi,{"data-category-list-type":a,"data-is-displayed":n},"main"===a&&t.map((function(e,n){return b.default.createElement("div",{key:a+"-category-"+n},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!0})},"data-is-heading-category":!1},b.default.createElement(Ki,null,b.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),b.default.createElement(Wi,null,e.title)),b.default.createElement(qi,null,"helloSites"===u?b.default.createElement("img",{src:"".concat(r,"/svg/chevronRight.svg"),style:{width:"16px",height:"16px"},alt:e.title}):b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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 b.default.createElement("div",{key:a+"-category-"+n},b.default.createElement("a",{style:{textDecoration:"none",color:d.theme.colors.gray800},onClick:function(e){e.preventDefault()},href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement(Zi,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),onClick:function(){i({community:e,isSetToSubMenu:!1})},"data-is-heading-category":!1},b.default.createElement(Ki,null,b.default.createElement("img",{src:e.thumbnail,style:{width:"40px",height:"40px"},alt:e.title}),b.default.createElement(Wi,null,e.title)))))})),b.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},b.default.createElement(no,{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"),b.default.createElement(to,null,b.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")})))))):b.default.createElement(Xi,{className:"top-menu-communities",onClick:o,"data-is-display":"communities"===g},b.default.createElement(Ji,null,b.default.createElement(s.Container,{style:{padding:"0 16px"},type:u},b.default.createElement($i,{"data-popup-type":g,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,t.map((function(e){return b.default.createElement(eo,{key:e.title,onClick:o},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[h],"/").concat(e.communitySlug),style:{textDecoration:"none",color:d.theme.colors.gray800},className:"iconMenu",href:"".concat(c,"/").concat(e.communitySlug)},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(r,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.title)))})),b.default.createElement("a",{style:{textDecoration:"none"},href:c+"/"},b.default.createElement(no,{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"),b.default.createElement(to,null,b.default.createElement("img",{src:"".concat(r,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:f("home.navigator.menuItem.allCommunities")}))))),b.default.createElement(ao,{onClick:o},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},lo=E.default.div(uo||(uo=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})),ro=E.default.div(mo||(mo=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})),so=E.default.div(ho||(ho=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"])),U),co=E.default.div(go||(go=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"]))),po=E.default.div(fo||(fo=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(xo||(xo=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 uo,mo,ho,go,fo,xo,yo,vo,bo=E.default.div(yo||(yo=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(vo||(vo=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 Eo=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?b.default.createElement(Qi,null,b.default.createElement(io,null)):b.default.createElement(Qi,{style:{marginTop:24},"data-category-list-type":r,"data-is-displayed":t},a.map((function(e,n){return b.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)},b.default.createElement(ro,{onClick:function(){i({community:e,isSetToSubMenu:!1})}},b.default.createElement(lo,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(Wi,null,e.title)))}))):b.default.createElement(so,{className:"top-menu-communities",onClick:c,"data-is-display":"communities"===p},b.default.createElement(co,null),b.default.createElement(po,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},b.default.createElement(bo,null,o?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement(io,null)):a.map((function(e,n){return b.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},b.default.createElement(ro,{onClick:c},b.default.createElement(lo,{style:{backgroundColor:e.color||d.theme.mbColors.lightGray}},b.default.createElement("img",{alt:e.communitySlug,src:e.thumbnail||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},wo=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?b.default.createElement(oo,{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}):b.default.createElement(Eo,{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})},ko=E.default.div(Ro||(Ro=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"]))),_o=E.default.div(Bo||(Bo=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"]))),Co=E.default.div(jo||(jo=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})),To=E.default.div(Do||(Do=e.__makeTemplateObject([""],[""]))),Lo=E.default.div(Ho||(Ho=e.__makeTemplateObject(["\n padding-right: 16px;\n"],["\n padding-right: 16px;\n"]))),Oo=E.default.div(zo||(zo=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"])),U),So=E.default.div(Uo||(Uo=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),Io=E.default.div(Fo||(Fo=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"]))),Ao=E.default.div(Go||(Go=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})),Mo=E.default.div(Yo||(Yo=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})),No=E.default.div(Vo||(Vo=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"]))),Po=E.default.div(Qo||(Qo=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"])));E.default.div(Zo||(Zo=e.__makeTemplateObject(["\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-is-displayed='false'] {\n display: none;\n }\n"])));var Ro,Bo,jo,Do,Ho,zo,Uo,Fo,Go,Yo,Vo,Qo,Zo,Wo,qo,Ko=E.default.div(Wo||(Wo=e.__makeTemplateObject(["\n margin-bottom: 56px;\n margin-top: 18px;\n"],["\n margin-bottom: 56px;\n margin-top: 18px;\n"]))),Xo=E.default.div(qo||(qo=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"]))),Jo=function(){return b.default.createElement(ko,{style:{marginTop:"16px"}},b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})),b.default.createElement("div",null,b.default.createElement(k.default,{height:46})))},$o=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?b.default.createElement(b.default.Fragment,null,n.map((function(e,n){return b.default.createElement(Ao,{"data-grouped":s,key:e.title,onClick:o},b.default.createElement("a",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[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)},b.default.createElement("div",{style:{display:"flex"}},b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"/images/avatar.jpg",style:{width:"32px",height:"32px"}})),b.default.createElement("p",null,e.title)))}))):b.default.createElement(b.default.Fragment,null,n.map((function(e,n){return b.default.createElement("a",{key:"tool-"+n},b.default.createElement(Co,{onClick:function(){t(e)},"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"https://".concat(_[r]).concat(e.link)},b.default.createElement(Lo,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(a,"/images/avatar.jpg"),style:{width:"32px",height:"32px"}})),b.default.createElement(To,null,e.title)))}))):null},el=function(e){var n,t,a,i,o=e.isDisplayed,l=e.healthTools,d=e.healthToolsByCategory,c=e.onSelectHealthTool,p=e.isLoading,u=e.basePath,m=e.locale,h=e.isMobile,g=e.onClosePopup,f=e.desktopPopupType,x=e.HEALTH_TOOL_URL_FE,y=e.STATIC_PAGES,v=e.siteType,E=te();return h?b.default.createElement(b.default.Fragment,null,p&&o?b.default.createElement(_o,null,b.default.createElement(Jo,null)):b.default.createElement(_o,{"data-category-list-type":"main","data-is-displayed":o},(null==d?void 0:d.length)?d.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&b.default.createElement(b.default.Fragment,{key:"category-health-tool-".concat(n)},b.default.createElement(r.Heading,{tag:"h4",fontWeight:"bold",className:"title"},b.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),b.default.createElement($o,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}))})):b.default.createElement($o,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m}),b.default.createElement(Ko,null,b.default.createElement("a",{href:"".concat(x).concat((null===(n=y[m])||void 0===n?void 0:n.HEALTH_TOOLS)||""),style:{textDecoration:"none"}},b.default.createElement(Mo,{key:"all-health-tools-mobile","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"".concat(x).concat((null===(t=y[m])||void 0===t?void 0:t.HEALTH_TOOLS)||"")},E("home.navigator.menuItem.allHealthTools"),b.default.createElement(No,null,b.default.createElement("img",{src:"".concat(u,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:E("home.navigator.menuItem.allHealthTools")}))))))):b.default.createElement(Oo,{className:"top-menu-health-tools",onClick:g,"data-is-display":"tools"===f},b.default.createElement(So,null,b.default.createElement(s.Container,{style:{padding:"0 16px"}},b.default.createElement(Io,{"data-popup-type":f,onClick:function(e){e.stopPropagation()}},b.default.createElement(b.default.Fragment,null,(null==d?void 0:d.length)?d.map((function(e,n){var t;return!!(null===(t=e.healthTools)||void 0===t?void 0:t.length)&&b.default.createElement(Xo,{key:"health-tools-categories-".concat(n)},b.default.createElement(r.Heading,{tag:"h4",as:"h2",fontWeight:"bold"},b.default.createElement("span",{dangerouslySetInnerHTML:{__html:e.name}})),b.default.createElement($o,{healthTools:e.healthTools.slice(0,4),onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,isGrouped:!0,onClosePopup:g}))})):b.default.createElement($o,{healthTools:l,onSelectHealthTool:c,basePath:u,HEALTH_TOOL_URL_FE:x,locale:m,isDesktop:!0,onClosePopup:g}),b.default.createElement("a",{style:{textDecoration:"none"},href:"".concat(x).concat((null===(a=y[m])||void 0===a?void 0:a.HEALTH_TOOLS)||"")},b.default.createElement(Mo,{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[m])||void 0===i?void 0:i.HEALTH_TOOLS)||"")},E("home.navigator.menuItem.allHealthTools"),b.default.createElement(No,null,b.default.createElement("img",{src:"".concat(u,"/svg/chevronRightActive.svg"),style:{width:"16px",height:"16px"},alt:E("home.navigator.menuItem.allHealthTools")}))))),b.default.createElement(Po,{onClick:g},b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))))))},nl=E.default.div(ll||(ll=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})),tl=E.default.div(rl||(rl=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})),al=E.default.div(sl||(sl=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"])),U),il=E.default.div(dl||(dl=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"]))),ol=E.default.div(cl||(cl=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"])),F,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white}));E.default.div(pl||(pl=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 ll,rl,sl,dl,cl,pl,ul,ml,hl=E.default.div(ul||(ul=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-direction: column;\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n"])));E.default.div(ml||(ml=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 gl,fl,xl,yl,vl,bl,El,wl,kl,_l,Cl,Tl=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?b.default.createElement(_o,null,b.default.createElement(Jo,null)):b.default.createElement(_o,{style:{marginTop:24},"data-category-list-type":"main","data-is-displayed":t},a.map((function(e,n){return b.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)},b.default.createElement(tl,{onClick:function(){i(e)}},b.default.createElement(nl,null,b.default.createElement("img",{alt:"health-tool-icon",src:e.icon||"".concat(l,"/images/avatar.jpg"),style:{width:"24px",height:"24px"}})),b.default.createElement(To,null,e.title)))}))):b.default.createElement(al,{className:"top-menu-health-tools",onClick:s,"data-is-display":"tools"===p},b.default.createElement(il,null),b.default.createElement(ol,{"data-popup-type":p,onClick:function(e){e.stopPropagation()}},b.default.createElement(hl,null,o?b.default.createElement("div",{style:{width:"100%",padding:"0 20px"}},b.default.createElement(Jo,null)):a.map((function(e,n){return b.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()}},b.default.createElement(tl,{onClick:s},b.default.createElement(nl,null,b.default.createElement("img",{alt:e.title,src:e.icon||"/images/avatar.jpg",style:{width:"24px",height:"24px"}})),b.default.createElement(Ft,{style:{fontWeight:d.theme.sizes.fwSemiBold},type:"subtitle-2"},e.title)))})))))},Ll=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?b.default.createElement(el,{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}):b.default.createElement(Tl,{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})},Ol=E.default.div(gl||(gl=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"],["\n & > div {\n width: 100%;\n min-height: 109px;\n }\n"]))),Sl=E.default.div(fl||(fl=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})),Il=function(){return b.default.createElement(b.default.Fragment,null,b.default.createElement(Ol,null,b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109})),b.default.createElement("div",null,b.default.createElement(k.default,{height:109}))))},Al=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?b.default.createElement(Sl,{onClick:function(){r&&r(t)},className:l,"data-is-active":i,"data-card-position":o},b.default.createElement("img",{src:n.thumbnail,style:{objectFit:"contain",height:"55px",width:"55px"},alt:"category-menu-card"}),b.default.createElement(s.Text,{type:"bold",size:"label2"},n.name)):b.default.createElement(Il,null)},Ml=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=te(),g=n.childCates,f=n.categoryName;return b.default.createElement(Zn,{"data-type":"sub-level","data-with-search-input":!1},b.default.createElement(qn,null,b.default.createElement(Yi,{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}),b.default.createElement(Qn,{"data-site-type":u},b.default.createElement(r.Button,{onClick:m,className:"category-button",size:"md",theme:u},b.default.createElement(Jn,null,b.default.createElement("div",null,h("home.menu.category.view",{category:f})),"helloSites"===u?b.default.createElement("img",{src:W,style:{width:"16px",height:"16px"},className:"button-image",alt:h("home.menu.category.view",{category:f})}):b.default.createElement("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M7 12H18M18 12L13.4118 8M18 12L13.4118 16",stroke:"white",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})))))))},Nl=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=te(),f=n.useState([]),x=f[0],y=f[1],v=n.useState(!1),E=v[0],k=v[1],_=a.communityId,C=a.title;return n.useEffect((function(){k(!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?he(p,c,{communityId:_}):(r=c,s={communityId:_},(r||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(I,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(ie),y(t)),k(!1),[2]}var r,s}))}))}),[a]),b.default.createElement(Zn,{"data-type":"sub-level","data-with-search-input":!1},b.default.createElement(qn,null,b.default.createElement(wo,{isDisplayed:!0,locale:p,communities:x,type:"sub",onSelectCommunity:o,isLoading:E,basePath:s,TOGETHER_URL_FE:u,togetherApiDomain:c,siteType:m,isMobile:h,desktopPopupType:"none",onClosePopup:void 0}),b.default.createElement(Qn,null,b.default.createElement(r.Button,{onClick:i,className:"category-button",size:"md"},b.default.createElement(Jn,null,b.default.createElement("div",null,g("home.menu.category.view",{category:C})),b.default.createElement("img",{src:W,style:{width:"16px",height:"16px"},className:"button-image",alt:g("home.menu.category.view",{category:C})}))))))},Pl={categories:{icon:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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"}),b.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"}),b.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:b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}),b.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}},Rl=function(n){var t,a,i,o=n.item,l=n.isActive,r=n.isGoingForward,s=n.onServiceClicked;return b.default.createElement("div",{style:{display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"center"}},b.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)}},b.default.createElement("div",{style:e.__assign({display:"flex",alignItems:"center",justifyContent:"center",height:48,width:48,flexShrink:0,backgroundColor:null!==(a=null===(t=Pl[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=Pl[o.id])||void 0===i?void 0:i.icon)),b.default.createElement(Ft,{type:"subtitle-3",color:l&&d.theme.mbColors.pink,style:{fontWeight:d.theme.sizes.fwSemiBold}},o.name),l&&(r?b.default.createElement(St,{style:{animationDuration:"0.2s",animationName:"menuLeftToRightTrans"}}):b.default.createElement(St,{style:{animationDuration:"0.2s",animationName:"menuRightToLeftTrans"}})))},Bl=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 b.default.createElement("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-evenly"}},t.map((function(e,n){return b.default.createElement(Rl,{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})})))},jl=function(e){var t=e.isMobile,a=void 0!==t&&t,i=e.isMobileMenuOpened,o=void 0===i?void 0:i,c=e.categories,p=e.healthTools,u=e.healthToolsByCategory,m=e.careSpecialties,h=e.togetherCommunities,g=e.spotlightsList,f=e.closePopup,x=e.popupType,y=void 0===x?"none":x,v=e.onMobileMenuClick,E=e.footer,w=e.care.CARE_URL_FE,k=e.discover,_=k.discoverApiDomain,T=k.DISCOVER_URL_FE,L=e.together,O=L.togetherApiDomain,S=L.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=te(),V=n.useState(!1),Q=V[0],Z=V[1],W=n.useState(c),q=W[0],K=W[1],X=n.useState(void 0),J=X[0],$=X[1],ee=n.useState(void 0),ne=ee[0],ae=ee[1],ie=n.useState(!1),oe=ie[0],le=ie[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],fe=me[1],xe=function(){J&&(window.location.href=J.permalink),ke(),f&&f()},ye=function(){J&&(window.location.href="".concat(S,"/").concat(J.communitySlug)),ke(),f&&f()},ve=function(e){e.childCates&&e.childCates.length>0?(Z(!0),$(e)):(window.location.href="helloSites"===D?T+e.permalink:M+e.permalink,ke(),f&&f())},be=function(e){var n=e.community;e.isSetToSubMenu?(Z(!0),$(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=w+ge({type:"DOCTOR",specialtySlug:e.slug,locale:j}),null==f||f()},ke=function(){$(void 0),Z(!1)},_e=function(e){de(F.find((function(n){return n.id===e})))},Ce=C[j||"en-PH"]||{};return n.useEffect((function(){var e;ae("categories"===se.id?(null===(e=null==J?void 0:J.childCates)||void 0===e?void 0:e.length)>0&&b.default.createElement(Ml,{selectedMenuMainItem:J,spotlightsList:[],locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,onSelectCategory:ve,isMobile:a,siteType:D,onCategoryClick:xe}):"together"===se.id&&J&&b.default.createElement(Nl,{selectedMenuMainItem:J,onCommunityClick:ye,onSelectCommunity:be,TOGETHER_URL_FE:S,basePath:H,callApiHandler:z,locale:j,togetherApiDomain:O,siteType:D,isMobile:a}))}),[J,se]),n.useEffect((function(){ue(!0)}),[]),n.useEffect((function(){!he&&o&&fe(!0)}),[o]),n.useEffect((function(){K(c)}),[c]),a?b.default.createElement(b.default.Fragment,null,b.default.createElement(Yn,{id:pe?"":"categories-menu","data-opened":o||(he?o:"undefined"),key:pe?"t":"f"},b.default.createElement(Vn,{"data-opened":o,"data-type":"category","data-is-sub-category-opened":Q},b.default.createElement(on,{siteType:D,locale:j,isDisplayed:!0,searchPlaceholder:"",statics:{DISCOVER_URL_FE:T,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup",onMenuClick:function(){return null==v?void 0:v("categories")},onSearchChange:function(e){le(""!==e),K(e&&""!==e?c.filter((function(n){return n.categoryName.toLowerCase().search(e.toLowerCase())>-1||n.slug.replace("-","").toLowerCase().search(e.replace(" ","").toLowerCase())>-1})):c)},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}),b.default.createElement(Zn,null,b.default.createElement(qn,null,b.default.createElement(Kn,null,b.default.createElement(Xn,{"data-hide-on-search":oe,"data-is-sub-category-opened":Q},"helloSites"===D?b.default.createElement(b.default.Fragment,null,b.default.createElement(It,{onClick:function(){window.location.href="".concat(l.getCurrentBaseUrl(j),"/search")}},b.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:b.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},b.default.createElement(At,null))})),b.default.createElement(r.Heading,{tag:"h5",color:d.theme.colors.gray800},Y("menu.categories.title")),b.default.createElement(Wn,{"data-card-array-no-margin-style":!0},F.map((function(e,n){return b.default.createElement(Al,{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"})})))):b.default.createElement(Bl,{menuItems:F,activeItem:se,onServiceClicked:_e})),b.default.createElement(Yi,{isDisplayed:"categories"===se.id,locale:j,basePath:H,callApiHandler:z,onClosePopup:f,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,type:"main",onSelectCategory:ve,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D,desktopPopupType:y}),b.default.createElement(Ll,{isDisplayed:"healthTools"===se.id,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,onSelectHealthTool:Ee,onClosePopup:f,desktopPopupType:y,healthTools:p,healthToolsByCategory:u,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),"care"===se.id&&b.default.createElement(Ua,{locale:j,basePath:H,onSelectCareSpecialty:we,onClosePopup:f,careSpecialties:m,isLoading:!1,siteType:D,isMobile:a,desktopPopupType:y,CARE_URL_FE:w}),b.default.createElement(wo,{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})),E)))),Q&&b.default.createElement(Yn,{"data-sub-level-opened":Q||(he?Q:"undefined")},b.default.createElement(Vn,{"data-type":"sub-category","data-is-sub-category-opened":Q},b.default.createElement(on,{siteType:D,locale:j,isDisplayed:o&&Q,searchPlaceholder:"",menuItems:void 0,statics:{DISCOVER_URL_FE:T,SSO_URL:I,HOME_PAGE_URL:N,MARRY_BABY_FE:M,CARE_URL_FE:w},isMobile:a,isLoginButtonDisplayed:!1,type:"popup-sub-level",title:"categories"===se.id?null==J?void 0:J.categoryName:null==J?void 0:J.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))):b.default.createElement(b.default.Fragment,null,b.default.createElement(Yi,{isDisplayed:"categories"===y,locale:j,basePath:H,callApiHandler:z,discoverApiDomain:_,DISCOVER_URL_FE:T,MARRY_BABY_FE:M,type:"main",desktopPopupType:y,onSelectCategory:ve,onClosePopup:f,categories:q,spotlightsList:g,isLoading:!1,isMobile:a,siteType:D}),b.default.createElement(Ll,{isDisplayed:"tools"===y,locale:j,basePath:H,discoverApiDomain:_,HEALTH_TOOL_URL_FE:R,desktopPopupType:y,onSelectHealthTool:Ee,onClosePopup:f,healthToolsByCategory:u,healthTools:p,isLoading:!1,isMobile:a,siteType:D,STATIC_PAGES:P}),b.default.createElement(wo,{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&&b.default.createElement(Ua,{locale:j,basePath:H,onSelectCareSpecialty:we,careSpecialties:m,isLoading:!1,desktopPopupType:y,siteType:D,isMobile:a,CARE_URL_FE:w,onClosePopup:f}))},Dl=E.default.div(xl||(xl=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),Hl=E.default.div(yl||(yl=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 ":""})),zl=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=te();n.useEffect((function(){document.body.classList.toggle("noscroll",i)}),[i]);return b.default.createElement(l.Popup,{type:"confirm",isOpen:i,closeIcon:b.default.createElement("img",{src:q,style:{width:24,height:24},alt:"close-icon"}),onClose:o},b.default.createElement(Dl,null,"helloSites"===p&&b.default.createElement("img",{className:"cancle-img",src:"".concat(d,"/images/arrowDoor.svg"),alt:"close-account"}),b.default.createElement("h2",null,u("helloSites"===p?"logout.popup.ask1":"logout.popup.ask.mb")),b.default.createElement("p",null,u("logout.popup.ask2")),b.default.createElement(Hl,{siteType:p},b.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")),b.default.createElement(r.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:o},u("logout.popup.button.cancel")))))},Ul=E.default.div(vl||(vl=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),Fl=E.default.div(bl||(bl=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),Gl=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 b.default.createElement(b.default.Fragment,null,b.default.createElement(Ul,{"data-open":o,"data-type":t,"data-animation":d,"data-target":c,id:p,className:u},b.default.createElement("div",{className:"popup-content"},!!a&&b.default.createElement("div",{className:"close-button",onClick:l},a),r)),b.default.createElement(Fl,{"data-type":t,"data-open":o,onClick:l,id:p?"wrapper-".concat(p):void 0,className:"".concat(u||"","-wrapper")}))},Yl=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,f=e.isUserProfileNavigatorMenuHidden,x=e.isMyHealthEnabled,y=void 0!==x&&x,v=e.togetherApiDomain,E=function(e){h?h("/".concat(e)):n&&(window.location.href="".concat(n).concat(a,"/").concat(e))},w=function(e){E(e),c()};return b.default.createElement(Gl,{isOpen:i,type:"profile",enableAnimation:!1,targetAvatar:l,onClose:c},b.default.createElement(g.TranslationsProvider,{locale:o},b.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:w,onClickNavigationCard:w,onClickMyProfileButton:function(){E("profile"),c()},userProfileRouterPush:h,isUserProfileNavigatorMenuHidden:f,isMyHealthEnabled:y,togetherApiDomain:v,locale:o})))},Vl=E.default.div(El||(El=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Ql=E.default.div(wl||(wl=e.__makeTemplateObject([""],[""]))),Zl=E.default.div(kl||(kl=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"]))),Wl=E.default.div(_l||(_l=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})),ql=E.default.div(Cl||(Cl=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"]))),Kl=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 b.default.createElement(b.default.Fragment,null,b.default.createElement(Vl,null,b.default.createElement(Ql,{onClick:function(){return g((function(e){return!e}))}},!!a&&a),b.default.createElement(Zl,{"data-is-open":h,style:c,"data-show-indicator":u},t.map((function(e,n){return b.default.createElement(Wl,{key:n,"data-selected":r&&i===e.value,onClick:function(n){i!==e.value&&(o(e.value),g((function(e){return!e}))),n.stopPropagation()}},b.default.createElement(s.Text,{size:"p3"},e.label),r&&i===e.value&&b.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&&b.default.createElement(ql,{onClick:function(){return g(!1)}}))},Xl=function(e){var n="undefined"!=typeof window&&document.querySelector(e),t=n&&window.getComputedStyle(n);return t&&t.getPropertyValue("display")},Jl=function(t){var a,i=t.siteType,o=t.MetaPageTitle,l=t.MetaPageDescription,r=t.MetaPageImage,s=t.footerInfo,d=t.children,c=t.ssrMenuContent,p=void 0===c?{}:c,u=p.categories,m=void 0===u?[]:u,h=p.healthTools,g=void 0===h?[]:h,f=p.healthToolsByCategory,x=void 0===f?[]:f,y=p.careSpecialties,v=void 0===y?[]:y,E=p.togetherCommunities,k=void 0===E?[]:E,L=p.spotlightsList,I=void 0===L?[]:L,A=t.SEOData,M=void 0===A?{}:A,N=t.UP_BASEPATH,P=void 0===N?O:N,R=t.isStatic,D=void 0!==R&&R,H=t.seoType,z=void 0===H?"website":H,U=t.isMobile,F=t.isMyHealthEnabled,G=void 0!==F&&F,Y=t.logoutHandlers,V=Y.isLogoutPopupOpened,Q=Y.callPostLogOutApi,W=Y.onClosePopup,q=Y.onLogout,K=t.marryBaby,X=void 0===K?{tone:"white",marryBabyApiDomain:"",socialLinks:{facebookLink:"",instagramLink:"",linkedinLink:"",twitterLink:"",youtubeLink:"",zaloLink:""}}:K,J=X.tone,$=void 0===J?"white":J,ee=X.marryBabyApiDomain,ne=X.socialLinks,ie=void 0===ne?{}:ne,he=ie.facebookLink,ge=void 0===he?"":he,ye=ie.instagramLink,ve=void 0===ye?"":ye,be=ie.linkedinLink,Ee=void 0===be?"":be,we=ie.twitterLink,ke=void 0===we?"":we,_e=ie.youtubeLink,Ce=void 0===_e?"":_e,Te=ie.zaloLink,Le=void 0===Te?"":Te,Oe=t.statics,Se=void 0===Oe?{LOCALE_SPECS:C,STATIC_PAGES:T}:Oe,Ie=Se.DISCOVER_URL_FE,Ae=Se.TOGETHER_URL_FE,Me=Se.MARRY_BABY_FE,Ne=Se.HOME_PAGE_URL,Pe=Se.HEALTH_TOOL_URL_FE,Re=Se.CARE_URL_FE,Be=Se.LOCALE_SPECS,je=void 0===Be?C:Be,De=Se.STATIC_PAGES,He=void 0===De?T:De,ze=t.sso,Ue=void 0===ze?{}:ze,Fe=Ue.dispatchLogout,Ge=Ue.SSO_URL,Ye=t.together,Ve=void 0===Ye?{TOGETHER_MENU_COUNTRIES_ENABLED:["id-ID","vi-VN"],ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:["id-ID","vi-VN"],togetherApiDomain:""}:Ye,Qe=Ve.TOGETHER_MENU_COUNTRIES_ENABLED,Ze=Ve.ENABLE_COMMUNITY_PROFILE_MENU_LOCALES,We=Ve.togetherApiDomain,qe=t.care,Ke=void 0===qe?{CARE_MENU_COUNTRIES_ENABLED:["vi-VN","id-ID","en-PH"],ENABLE_CARE_PROFILE_MENU_LOCALES:[],menuActionType:"redirectOnly",careApiDomain:""}:qe,Xe=Ke.CARE_MENU_COUNTRIES_ENABLED,Je=Ke.ENABLE_CARE_PROFILE_MENU_LOCALES,$e=Ke.careApiDomain,en=t.discover,nn=(void 0===en?{discoverApiDomain:""}:en).discoverApiDomain,tn=t.activeMenuService,an=void 0===tn?"categories":tn,ln=t.basePath,rn=t.isAmp,sn=void 0!==rn&&rn,dn=t.nextHead,cn=t.routerPathname,pn=t.routerQuery,un=t.routerAsPath,mn=t.locale,hn=t.userState,gn=t.callApiHandler,fn=t.userProfileRouterPush,xn=t.onTopBarAppears,yn=t.forcedCanonicalUrl,vn=t.isUserProfileNavigatorMenuHidden,bn=t.sitewideBanner,En=t.sitewideBannerShown,wn=void 0===En||En,kn=t.sponsorComponent,_n=t.languageOptions,Cn=t.isSearchBarDisplay,Tn=t.ampSubBar,Ln=t.isSearchIconDisplayed,On=void 0===Ln||Ln,Sn=t.enabledExperimentalCareHeader,In=void 0!==Sn&&Sn,An=t.onCareHeaderClick,Mn=t.dueDatePopup,Nn=t.welcomePopup,Pn=t.ampNextArticle,Rn=t.usingDefaultHead,Bn=void 0===Rn||Rn,jn=t.acceptCookiePopup,Dn=t.seoCustom,Hn=t.hasStickyBottomBar,zn=void 0===Hn||Hn,Un="boolean"==typeof Cn?Cn:!U,Fn=te(),Gn=je[mn||"en-PH"]||{},Yn=n.useMemo((function(){var e;return(null===(e=un.split("?"))||void 0===e?void 0:e[0])||""}),[un]),Vn=n.useMemo((function(){return"".concat(ln).concat("/"===Yn.slice(-1)?Yn:"".concat(Yn,"/"))}),[Yn]),Qn=n.useMemo((function(){return(null==_n?void 0:_n.find((function(e){return e.value!==Vn})))||null}),[_n,Vn]),Zn=n.useState(s),Wn=Zn[0],qn=Zn[1],Kn=n.useState(m),Xn=Kn[0],Jn=Kn[1],$n=n.useState(g),et=$n[0],nt=$n[1],tt=n.useState(x),at=tt[0],it=tt[1],ot=n.useState(v),lt=ot[0],rt=ot[1],st=n.useState(k),dt=st[0],ct=st[1],pt=n.useState(I),ut=pt[0],mt=pt[1],ht=Ie||"https://".concat(_[mn])||"",gt="undefined"!=typeof window,ft=gt&&document.querySelector("#categories-menu"),xt=ft&&gt&&window.getComputedStyle(ft),yt=xt&&xt.getPropertyValue("left"),vt=n.useRef("0px"===yt),bt=n.useState(vt.current),Et=bt[0],wt=bt[1],kt=Xl(".top-menu-categories"),_t=Xl(".top-menu-health-tools"),Ct=Xl(".top-menu-communities"),Tt=Xl(".top-menu-care-specialties"),Lt=n.useState(kt&&"none"!==kt?"categories":_t&&"none"!==_t?"tools":Ct&&"none"!==Ct?"communities":Tt&&"none"!==Tt?"care":"none"),Ot=Lt[0],St=Lt[1],It=n.useMemo((function(){var e,n;return b.default.createElement(Ta,null,null===(n=null===(e=mn.split("-"))||void 0===e?void 0:e[0])||void 0===n?void 0:n.toUpperCase(),b.default.createElement("img",{src:"language"===Ot?"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 10L8 6L12 10' stroke='%232D87F3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 6L8 10L4 6' stroke='%231B3250' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",style:{width:"16px",height:"16px"},alt:Fn("home.navigator.menuItem.language")}))}),[Ot,mn]),At=hn.userInfo,Mt=hn.isLoggedIn,Nt=function(e){Ot!==e&&(St(e),wt(!0)),Ot===e&&(St("none"),wt(!1))},Rt=function(){wt(!1),St("none")},Bt=function(e,n){"Enter"===e.key&&(window.location.href="".concat(Ne,"/search/?s=").concat(n))},jt=null===(a=null==je?void 0:je[mn])||void 0===a?void 0:a.SITE_NAME_FORMATTED,Dt=[{name:Fn("home.navigator.menuItem.discover"),id:"categories",link:"./posts/abc",niceName:"",thumbnail:"",isDisplayed:!0},{name:Fn("home.navigator.menuItem.healthTools"),id:"healthTools",link:"./en",thumbnail:"",isDisplayed:!0}];(null==Qe?void 0:Qe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloTogether"),id:"together",link:Ae+"/",thumbnail:"",isDisplayed:!0}),(null==Xe?void 0:Xe.includes(mn))&&Dt.push({name:Fn("home.navigator.menuItem.helloCare"),id:"care",link:"/care",thumbnail:"",isDisplayed:!0}),n.useEffect((function(){document.documentElement.style.overflow=Et?"hidden":""}),[Et]);var Ht=!!kn;n.useEffect((function(){Mt&&("first_login"===(null==pn?void 0:pn.source)?(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,sign_up:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:(null==At?void 0:At.email)&&""!==(null==At?void 0:At.email)?window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,email:null==At?void 0:At.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.name}:{})}:window.insider_object={user:e.__assign({uuid:null==At?void 0:At.id,log_in:!0},(null==At?void 0:At.name)?{name:null==At?void 0:At.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 Wn?[3,3]:[4,fetch("helloSites"===i?ue(mn,nn):(o=ee,(o||"https://staging.marrybaby.vn/")+"wp-json/api/"+w.default(B,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&&!Wn&&qn("helloSites"===i?n.data||{}:n.data.footers||[]),[2]}var o,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 m&&0!==(null==m?void 0:m.length)||0!==(null==Xn?void 0:Xn.length)?[3,3]:(o={},[4,fetch(de(mn,nn))]);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(oe),0===Xn.length&&Jn(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s,d,c;return e.__generator(this,(function(e){switch(e.label){case 0:return I&&0!==(null==I?void 0:I.length)||"helloSites"!==i||0!==(null==ut?void 0:ut.length)?[3,3]:(l={},[4,fetch(pe(mn,nn,{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&&(o=null===(c=null===(d=t.data)||void 0===d?void 0:d.articles)||void 0===c?void 0:c.map(fe).filter(xe).slice(0,4),0===ut.length&&mt(o)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,l,r,s;return e.__generator(this,(function(d){switch(d.label){case 0:return(null==g?void 0:g.length)||(null==et?void 0:et.length)||(null==x?void 0:x.length)||(null==x?void 0:x.length)?[3,6]:(r={},"helloSites"!==i?[3,2]:[4,fetch(ce(mn,nn))]);case 1:return o=d.sent(),[3,4];case 2:return[4,fetch((c=ee,(c||"https://staging.marrybaby.vn/")+"wp-json/api/"+w.default(j,e.__assign({},p))))];case 3:o=d.sent(),d.label=4;case 4:return[4,o.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"===i?(l=t.data.map(re),0===et.length&&it(l)):(l=t.data.map(le),0===et.length&&nt(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 v&&0!==(null==v?void 0:v.length)||!Xe.includes(mn)||0!==(null==lt?void 0:lt.length)?[3,3]:(o={},[4,fetch(se(mn,$e))]);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===lt.length&&rt(i)),[2]}}))})),e.__awaiter(void 0,void 0,void 0,(function(){var n,t,a,o,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)||!Qe.includes(mn)||0!==(null==dt?void 0:dt.length)?[3,3]:(l={},[4,fetch("helloSites"===i?me(mn,We):(u=We,(u||"https://together.hellohealthgroup.com/")+"api/v1/"+w.default(S,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&&(o=(null===(c=null===(d=null==t?void 0:t.data)||void 0===d?void 0:d.communities)||void 0===c?void 0:c.map(ae))||[],0===dt.length&&ct(o)),[2]}var u,m}))}))}),[]);var zt=b.default.createElement(Yl,{locale:mn,UP_BASEPATH:P,SSO_URL:Ge,userProfileRouterPush:fn,dispatchLogout:Fe,isOpen:"profile"===Ot,isMyHealthEnabled:G,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,closePopup:Rt,userInfo:At,siteType:i,isUserProfileNavigatorMenuHidden:vn,togetherApiDomain:We}),Ut=sn&&{"next-page-hide":""};return b.default.createElement(Z,{SEOData:e.__assign({SEOTitle:o,SEOImage:r,SEODescription:l,siteName:jt,seoType:z},M),isAmp:sn,locale:mn,routerPathname:cn,routerQuery:pn,nextHead:dn,siteType:i,forcedCanonicalUrl:yn,userId:null==At?void 0:At.id,usingDefaultHead:Bn,seoCustom:Dn},b.default.createElement(zl,{basePath:ln,callPostLogOutApi:Q,openLogoutPopup:V,onCloseHandler:W,onLogoutHandler:q,siteType:i}),Mn,Nn,jn,U?b.default.createElement(b.default.Fragment,null,b.default.createElement(ka,null,b.default.createElement("section",e.__assign({className:sn?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},Ut),b.default.createElement(on,{siteType:i,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},marryBaby:{tone:$},menuItems:Dt,menu:sn?void 0:b.default.createElement(jl,{key:"mobile-menu-popup",menuItems:Dt,siteType:i,isMobileMenuOpened:"categories"===Ot,categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,onMobileMenuClick:Nt,isMobile:U,closePopup:Rt,footer:b.default.createElement(wa,{locale:mn,isMobile:U,basePath:ln,isAmp:sn,footerInfo:Wn,type:"mini",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}}),locale:mn,callApiHandler:gn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We||ee,TOGETHER_URL_FE:Ae},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,careApiDomain:$e,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},activeMenuService:an,statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},marryBaby:{tone:$},routerAsPath:un,popupType:"none",sso:{SSO_URL:Ge}}),profileMenu:zt,type:"home",currentPopupType:Ot,isMobile:U,isLoginButtonDisplayed:!0,onMenuClick:Nt,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),onTopBarAppears:function(e){xn&&xn(e)},isSearchBarDisplay:Un,onSearchKeyPress:Bt,isStatic:sn||D,sponsorComponent:kn,locale:mn,userInfo:hn.userInfo,basePath:ln,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,openPopup:void 0,routerAsPath:un,title:"",sitewideBanner:bn,sitewideBannerShown:wn,isSearchIconDisplayed:On,enabledExperimentalCareHeader:In,languageMenu:void 0!==_n&&_n.length>1?b.default.createElement(b.default.Fragment,null,2===_n.length&&Qn?b.default.createElement(La,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):b.default.createElement(Kl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0}),void 0!==Tn&&b.default.createElement(b.default.Fragment,null,Tn)),sn?b.default.createElement(Ca,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn},d,b.default.createElement(wa,{isAmp:sn,isMobile:U,locale:mn,basePath:ln,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})):b.default.createElement(_a,{className:"root-container","data-menu-opened":vt.current,"data-sponsored":Ht,"data-is-mobile":U,"data-sitewide":!!bn,hasStickyBottomBar:zn},b.default.createElement(b.default.Fragment,null,d,b.default.createElement(wa,{isAmp:sn,isMobile:U,locale:mn,basePath:ln,footerInfo:Wn,type:"main",siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le},ampNextArticle:Pn,routerQuery:pn})))),sn&&b.default.createElement(Pt,{locale:mn,categoriesSSR:m,healthToolsSSR:x,spotlightsSSR:I,serviceUrls:{TOGETHER_URL_FE:Ae,CARE_URL_FE:Re,DISCOVER_URL_FE:ht},together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,ENABLE_COMMUNITY_PROFILE_MENU_LOCALES:Ze,togetherApiDomain:We},care:{CARE_MENU_COUNTRIES_ENABLED:Xe,ENABLE_CARE_PROFILE_MENU_LOCALES:Je,careApiDomain:$e},basePath:ln,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"})})):b.default.createElement(b.default.Fragment,null,b.default.createElement(on,{siteType:i,menuItems:Dt,marryBaby:{tone:$},locale:mn,currentPopupType:Ot,onSearchKeyPress:Bt,openPopup:function(e){Ot!==e&&St(e),Ot===e&&St("none")},isMobile:U,isLoginButtonDisplayed:!0,isSearchBarDisplay:!sn&&Un,searchPlaceholder:Fn("home.search",{site:"helloSites"===i?null==Gn?void 0:Gn.SITE_NAME:"Marry Baby"}),sitewideBannerShown:wn,statics:{DISCOVER_URL_FE:ht,SSO_URL:Ge,HOME_PAGE_URL:Ne,MARRY_BABY_FE:Me,CARE_URL_FE:Re},menu:b.default.createElement(jl,{menuItems:Dt,siteType:i,isMobile:U,popupType:Ot,closePopup:function(){St("none")},categories:Xn,healthTools:et,healthToolsByCategory:at,careSpecialties:lt,togetherCommunities:dt,spotlightsList:ut,locale:mn,callApiHandler:gn,basePath:ln,together:{TOGETHER_MENU_COUNTRIES_ENABLED:Qe,togetherApiDomain:We,TOGETHER_URL_FE:Ae},care:{careApiDomain:$e,CARE_MENU_COUNTRIES_ENABLED:Xe,CARE_URL_FE:Re},discover:{discoverApiDomain:nn,DISCOVER_URL_FE:ht},statics:{DISCOVER_URL_FE:ht,HOME_PAGE_URL:Ne,HEALTH_TOOL_URL_FE:Pe,MARRY_BABY_FE:Me,TOGETHER_URL_FE:Ae,STATIC_PAGES:He},activeMenuService:an,marryBaby:{tone:$},routerAsPath:un,footer:void 0,isMobileMenuOpened:void 0,sso:{SSO_URL:Ge},onMobileMenuClick:void 0}),profileMenu:zt,userInfo:hn.userInfo,sponsorComponent:kn,type:"home",basePath:ln,isAmp:sn,isDisplayed:!0,isInit:!1,onSearchChange:void 0,isStatic:!1,routerAsPath:un,title:"",onMenuClick:void 0,onTopBarAppears:void 0,sitewideBanner:bn,languageMenu:void 0!==_n&&_n.length>1?b.default.createElement(b.default.Fragment,null,2===_n.length&&Qn?b.default.createElement(La,{"data-is-active":!0,href:(null==Qn?void 0:Qn.value)||"#"},null==Qn?void 0:Qn.label):b.default.createElement(Kl,{options:_n,selected:Vn,label:It,onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1})):void 0,enabledExperimentalCareHeader:In,onCareHeaderClick:An}),sn?b.default.createElement(Ca,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn},d):b.default.createElement(_a,{className:"root-container","data-menu-opened":Et,"data-is-mobile":U,"data-sponsored":Ht,"data-sitewide":!!bn,hasStickyBottomBar:zn},d),b.default.createElement(wa,{type:"main",locale:mn,basePath:ln,isMobile:U,isAmp:sn,footerInfo:Wn,siteType:i,marryBabySocialLinks:{facebookLink:ge,instagramLink:ve,linkedinLink:Ee,twitterLink:ke,youtubeLink:Ce,zaloLink:Le}})))};exports.Layout=Z,exports.NavigationBar=on,exports.NavigationLayout=function(n){return b.default.createElement(ne.Provider,{value:{translation:n.translation||ee}},b.default.createElement(Jl,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,E=t.dataEventAction,w=void 0===E?"Close Click":E,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?q:"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]),b.default.createElement(X,{"data-is-mobile":s,"data-is-collapse":O||r||A,"data-is-marrybaby":R},o?b.default.createElement(J,{"data-is-marrybaby":R},f?b.default.createElement("amp-img",{src:o,width:"76",height:"52"}):b.default.createElement("img",{src:o,className:"icon","data-is-mobile":s})):null,l?b.default.createElement("span",{className:"content","data-is-marrybaby":R,"data-is-mobile":s,dangerouslySetInnerHTML:{__html:N}}):null,b.default.createElement($,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":w,"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?b.default.createElement("amp-img",{src:B,width:"24",height:"24"}):b.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=te(),p=n.useState(!1),u=p[0],m=p[1];return b.default.createElement(Cn,{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},b.default.createElement(s.Container,{style:{position:"relative",padding:"0 16px"}},"content"===o?b.default.createElement(s.Text,{size:a?"p4":"p3",color:"#737373"},b.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?b.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:K}):b.default.createElement("img",{src:K,style:{width:20,height:20,verticalAlign:"middle",marginRight:"0.3rem",marginBottom:"0.1rem"}})),l&&(null==l?void 0:l.logo)?b.default.createElement(b.default.Fragment,null," ",c("articlePage.sponsoredContentBy")," ",b.default.createElement("img",{className:"sponsored-logo",src:(null==l?void 0:l.logo)||"",alt:"sponsored-logo"})):c("articlePage.sponsoredContent")):b.default.createElement(s.Text,{size:"p2",color:"#737373"},c("articlePage.sponsoredArticle"),b.default.createElement("div",{className:"sticky-sponsored-info-icon"},r?b.default.createElement("amp-img",{height:"20",width:"20",style:{verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"},src:K,on:"tap:sponsored-by.toggleClass(class='open')",tabIndex:0,role:"button"}):b.default.createElement("img",{src:K,style:{width:20,height:20,verticalAlign:"middle",marginLeft:"0.3rem",marginBottom:"0.1rem"}}))),!u||a&&i||r?null:b.default.createElement(Ln,{sponsoredBy:l,isAmp:r,onClose:function(){return m(!1)},locale:d})))},exports.defaultTranslation=ee;