@hhgtech/hhg-components 1.23.86 → 1.23.87

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 (285) hide show
  1. package/build/{Vietnam-3e8302a5.js → Vietnam-2a406da5.js} +1 -1
  2. package/build/{Visible-95d414d9.js → Visible-33ecfd21.js} +1 -1
  3. package/build/{animation-2c2ae66a.js → animation-049cb56e.js} +1 -1
  4. package/build/babyGrowth.js +1 -1
  5. package/build/cache.js +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components.js +1 -1
  8. package/build/componentsAtoms.js +1 -1
  9. package/build/componentsMolecules.js +1 -1
  10. package/build/componentsOrganisms.js +1 -1
  11. package/build/componentsSlider.js +1 -1
  12. package/build/componentsUi.js +1 -1
  13. package/build/constants.js +1 -1
  14. package/build/core-ac733db4.js +1 -0
  15. package/build/{dataTransform-dd23233a.js → dataTransform-b161ee63.js} +1 -1
  16. package/build/{dataTransform-7759c135.js → dataTransform-d08c294b.js} +1 -1
  17. package/build/{defaultClassWrapper-71dbeac2.js → defaultClassWrapper-2ca98655.js} +1 -1
  18. package/build/ecom.js +1 -1
  19. package/build/esm/{Vietnam-8bb418b7.js → Vietnam-50ea3603.js} +1 -1
  20. package/build/esm/{Visible-7d5c455f.js → Visible-870c1168.js} +1 -1
  21. package/build/esm/{animation-79000a59.js → animation-cf92c0c1.js} +1 -1
  22. package/build/esm/babyGrowth.js +1 -1
  23. package/build/esm/cache.js +1 -1
  24. package/build/esm/care.js +1 -1
  25. package/build/esm/components.js +1 -1
  26. package/build/esm/componentsAtoms.js +1 -1
  27. package/build/esm/componentsMolecules.js +1 -1
  28. package/build/esm/componentsOrganisms.js +1 -1
  29. package/build/esm/componentsSlider.js +1 -1
  30. package/build/esm/componentsUi.js +1 -1
  31. package/build/esm/constants.js +1 -1
  32. package/build/esm/{core-92bfbf18.js → core-33719909.js} +1 -1
  33. package/build/esm/dataTransform-a91fc32b.js +1 -0
  34. package/build/esm/{dataTransform-63490ce1.js → dataTransform-eef8b25b.js} +1 -1
  35. package/build/esm/{defaultClassWrapper-a9f0d373.js → defaultClassWrapper-ac0cfe19.js} +1 -1
  36. package/build/esm/ecom.js +1 -1
  37. package/build/esm/footer.js +1 -1
  38. package/build/esm/gAssets.js +1 -1
  39. package/build/esm/{getDynamicHealthTool-ed700c19.js → getDynamicHealthTool-bd030074.js} +1 -1
  40. package/build/esm/{getSocialList-df9311be.js → getSocialList-d8e1e15c.js} +1 -1
  41. package/build/esm/hooks.js +1 -1
  42. package/build/esm/i18n.js +1 -1
  43. package/build/esm/index-00d7087f.js +1 -0
  44. package/build/esm/{index-340d877b.js → index-05d15024.js} +1 -1
  45. package/build/esm/{index-2c122c13.js → index-21df55e5.js} +1 -1
  46. package/build/esm/{index-eb624b4f.js → index-221ea478.js} +1 -1
  47. package/build/esm/{index-8ad7e2bc.js → index-2c35c29f.js} +1 -1
  48. package/build/esm/{index-0567e5fb.js → index-2d53432e.js} +1 -1
  49. package/build/esm/{index-f95e1673.js → index-2dbc1afc.js} +1 -1
  50. package/build/esm/{index-f427cba5.js → index-336af84a.js} +1 -1
  51. package/build/esm/index-3fbce6ed.js +7 -0
  52. package/build/esm/{index-0b93b858.js → index-4505f43c.js} +1 -1
  53. package/build/esm/{index-0175581a.js → index-48727878.js} +1 -1
  54. package/build/esm/{index-28cf71ef.js → index-559b491e.js} +1 -1
  55. package/build/esm/{index-ec632981.js → index-673844f1.js} +1 -1
  56. package/build/esm/{index-5e4e0965.js → index-6a047e4f.js} +1 -1
  57. package/build/esm/{index-dc551bd2.js → index-6dca5da6.js} +1 -1
  58. package/build/esm/{index-8d538421.js → index-767d92d1.js} +1 -1
  59. package/build/esm/{index-bb01cf1f.js → index-7f3ca6b6.js} +1 -1
  60. package/build/esm/{index-56d383e4.js → index-83c711f0.js} +1 -1
  61. package/build/esm/index-983881c1.js +1 -0
  62. package/build/esm/{index-f92f515c.js → index-9a3656b5.js} +1 -1
  63. package/build/esm/{index-8c625ffb.js → index-9ab1ac36.js} +1 -1
  64. package/build/esm/{index-412ffd4b.js → index-aa8597ed.js} +1 -1
  65. package/build/esm/{index-13d040f6.js → index-b097af3f.js} +1 -1
  66. package/build/esm/{index-06d07509.js → index-ba90d976.js} +1 -1
  67. package/build/esm/index-be64a3dd.js +1 -0
  68. package/build/esm/{index-7c8d072b.js → index-c780a03a.js} +1 -1
  69. package/build/esm/{index-0287d652.js → index-d3eb3f00.js} +1 -1
  70. package/build/esm/{index-38a7d187.js → index-d84dc3dd.js} +1 -1
  71. package/build/esm/{index-30f3989e.js → index-ed4a28d4.js} +1 -1
  72. package/build/esm/{index-cf7bcd46.js → index-f17bf0f6.js} +1 -1
  73. package/build/esm/{index-8162546b.js → index-fcd5ec3c.js} +1 -1
  74. package/build/esm/{index-1b8d14c5.js → index-fd4639dd.js} +1 -1
  75. package/build/esm/index.js +1 -1
  76. package/build/esm/lead.js +1 -1
  77. package/build/esm/mantine.js +1 -1
  78. package/build/esm/misc.js +1 -1
  79. package/build/esm/navigation.js +1 -1
  80. package/build/esm/onboarding.js +1 -1
  81. package/build/esm/pwg.js +1 -1
  82. package/build/esm/routing-7fd011ce.js +1 -0
  83. package/build/esm/together.js +1 -1
  84. package/build/esm/{translationsProvider-89597057.js → translationsProvider-c56e39c2.js} +1 -1
  85. package/build/esm/{types-79a173b1.js → types-39404c04.js} +1 -1
  86. package/build/esm/{types-d5af3c76.js → types-fb11067e.js} +1 -1
  87. package/build/esm/types.js +1 -1
  88. package/build/esm/{useFbDataLayer-a7c6c77a.js → useFbDataLayer-f5c974a0.js} +1 -1
  89. package/build/esm/useHealthToolCache-8d17b63f.js +1 -0
  90. package/build/esm/{useTranslations-8d6045eb.js → useTranslations-a927a379.js} +1 -1
  91. package/build/footer.js +1 -1
  92. package/build/gAssets.js +1 -1
  93. package/build/{getDynamicHealthTool-e2f7af04.js → getDynamicHealthTool-1e31b333.js} +1 -1
  94. package/build/{getSocialList-d7b837fc.js → getSocialList-da05262a.js} +1 -1
  95. package/build/hooks.js +1 -1
  96. package/build/i18n.js +1 -1
  97. package/build/{index-d7483a0f.js → index-01ebfb47.js} +1 -1
  98. package/build/{index-237d1dd2.js → index-0966c21d.js} +1 -1
  99. package/build/{index-0e98678d.js → index-098908e9.js} +1 -1
  100. package/build/{index-9d77d9e7.js → index-0bfec7e5.js} +1 -1
  101. package/build/{index-3d15940b.js → index-0d5437e9.js} +1 -1
  102. package/build/{index-afebf409.js → index-20eaced0.js} +1 -1
  103. package/build/{index-277a7498.js → index-274bc25b.js} +1 -1
  104. package/build/{index-5f8ec952.js → index-2c698b9b.js} +1 -1
  105. package/build/{index-62b099fc.js → index-2c89d05b.js} +1 -1
  106. package/build/index-3c5f03d6.js +1 -0
  107. package/build/{index-c547a281.js → index-41403ca0.js} +1 -1
  108. package/build/{index-b929ac3e.js → index-46ca8366.js} +1 -1
  109. package/build/{index-46e0e7e2.js → index-55166c89.js} +1 -1
  110. package/build/{index-ec22a7b0.js → index-61ecad96.js} +1 -1
  111. package/build/{index-39b585ec.js → index-661a9c14.js} +1 -1
  112. package/build/{index-5d6f2002.js → index-7ab672c3.js} +2 -2
  113. package/build/{index-dc0ab8f3.js → index-7d86ea92.js} +1 -1
  114. package/build/{index-c4fa0dda.js → index-83adab6c.js} +1 -1
  115. package/build/{index-e92d510a.js → index-83cec513.js} +1 -1
  116. package/build/{index-f36bdc65.js → index-95160b22.js} +1 -1
  117. package/build/{index-05a3be08.js → index-a50cdb60.js} +1 -1
  118. package/build/{index-fcb78a86.js → index-bbfb976d.js} +1 -1
  119. package/build/{index-b992c35b.js → index-cbd87024.js} +1 -1
  120. package/build/{index-f4abac2c.js → index-cd46e84c.js} +1 -1
  121. package/build/{index-abde1a9a.js → index-d328ce81.js} +1 -1
  122. package/build/{index-dcc7d016.js → index-d39d52ff.js} +1 -1
  123. package/build/{index-7ee0f790.js → index-de4d4eb3.js} +1 -1
  124. package/build/{index-1247d142.js → index-df9e9f59.js} +1 -1
  125. package/build/{index-488df122.js → index-e34a018a.js} +1 -1
  126. package/build/{index-edc3f7fa.js → index-f07bc0f5.js} +1 -1
  127. package/build/{index-f836c043.js → index-f7102e40.js} +1 -1
  128. package/build/{index-64b65ff0.js → index-f99c7219.js} +1 -1
  129. package/build/index.js +1 -1
  130. package/build/lead.js +1 -1
  131. package/build/mantine.js +1 -1
  132. package/build/misc.js +1 -1
  133. package/build/navigation.js +1 -1
  134. package/build/onboarding.js +1 -1
  135. package/build/pwg.js +1 -1
  136. package/build/routing-56a67a1d.js +1 -0
  137. package/build/together.js +1 -1
  138. package/build/{translationsProvider-32b5745c.js → translationsProvider-e3af2e64.js} +1 -1
  139. package/build/{types-e0e909f4.js → types-0340f120.js} +1 -1
  140. package/build/{types-59a0899e.js → types-0dd54186.js} +1 -1
  141. package/build/types.js +1 -1
  142. package/build/{useFbDataLayer-7ba6392c.js → useFbDataLayer-86a7c053.js} +1 -1
  143. package/build/useHealthToolCache-c936eb98.js +1 -0
  144. package/build/useTranslations-a4a79beb.js +1 -0
  145. package/package.json +5 -2
  146. package/build/core-5d4a87cb.js +0 -1
  147. package/build/esm/dataTransform-2f747c63.js +0 -1
  148. package/build/esm/index-295ef099.js +0 -1
  149. package/build/esm/index-9a4e3d55.js +0 -1
  150. package/build/esm/index-ba133da6.js +0 -7
  151. package/build/esm/index-de66b58f.js +0 -1
  152. package/build/esm/routing-a1441861.js +0 -1
  153. package/build/esm/useHealthToolCache-d4f3b8c3.js +0 -1
  154. package/build/index-5e04811a.js +0 -1
  155. package/build/routing-a254236e.js +0 -1
  156. package/build/useHealthToolCache-bca8156e.js +0 -1
  157. package/build/useTranslations-01d5166e.js +0 -1
  158. /package/build/{BMI_BOYS.percentile.monthly-ac294fbf.js → BMI_BOYS.percentile.monthly-274f36d8.js} +0 -0
  159. /package/build/{BMI_BOYS.percentile.weekly-0991ebe5.js → BMI_BOYS.percentile.weekly-8ed52e92.js} +0 -0
  160. /package/build/{BMI_BOYS.percentile.yearly-fb19a484.js → BMI_BOYS.percentile.yearly-5d6b8c7c.js} +0 -0
  161. /package/build/{BMI_BOYS.zscore.monthly-ea545271.js → BMI_BOYS.zscore.monthly-85efd5b5.js} +0 -0
  162. /package/build/{BMI_BOYS.zscore.weekly-e7d107fe.js → BMI_BOYS.zscore.weekly-1c6fcf8c.js} +0 -0
  163. /package/build/{BMI_BOYS.zscore.yearly-243bad0c.js → BMI_BOYS.zscore.yearly-7f6e8298.js} +0 -0
  164. /package/build/{BMI_GIRLS.percentile.monthly-b1ffefa8.js → BMI_GIRLS.percentile.monthly-785ed4b8.js} +0 -0
  165. /package/build/{BMI_GIRLS.percentile.weekly-6a4509b7.js → BMI_GIRLS.percentile.weekly-23217a25.js} +0 -0
  166. /package/build/{BMI_GIRLS.percentile.yearly-0020ccb0.js → BMI_GIRLS.percentile.yearly-f0d1401a.js} +0 -0
  167. /package/build/{BMI_GIRLS.zscore.monthly-1c7d3a66.js → BMI_GIRLS.zscore.monthly-bc334793.js} +0 -0
  168. /package/build/{BMI_GIRLS.zscore.weekly-a0707be3.js → BMI_GIRLS.zscore.weekly-46d01960.js} +0 -0
  169. /package/build/{BMI_GIRLS.zscore.yearly-51f6718d.js → BMI_GIRLS.zscore.yearly-811cd53a.js} +0 -0
  170. /package/build/{BabyGrowth-82de789a.js → BabyGrowth-922556dd.js} +0 -0
  171. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-a95c50c2.js → HEAD CIRCUM_BOYS.percentile.monthly-682445c3.js} +0 -0
  172. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1e44efaf.js → HEAD CIRCUM_BOYS.percentile.weekly-e4cb7cc8.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e922ba93.js → HEAD CIRCUM_BOYS.percentile.yearly-1c0c1890.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4c4f522b.js → HEAD CIRCUM_BOYS.zscore.monthly-a019d657.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-525d6e21.js → HEAD CIRCUM_BOYS.zscore.weekly-301e045f.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-dce6081b.js → HEAD CIRCUM_BOYS.zscore.yearly-995f3b04.js} +0 -0
  177. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-9c6994f4.js → HEAD CIRCUM_GIRLS.percentile.monthly-61fa4bb7.js} +0 -0
  178. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-62951a18.js → HEAD CIRCUM_GIRLS.percentile.weekly-0232e793.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-fb4e1534.js → HEAD CIRCUM_GIRLS.percentile.yearly-48fa9493.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-8b9a7e00.js → HEAD CIRCUM_GIRLS.zscore.monthly-3ffb8297.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-4cbd20f0.js → HEAD CIRCUM_GIRLS.zscore.weekly-1aa3ecf7.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3e7fdbe7.js → HEAD CIRCUM_GIRLS.zscore.yearly-87fe2057.js} +0 -0
  183. /package/build/{HEIGHT_BOYS.percentile.monthly-b8d63e0e.js → HEIGHT_BOYS.percentile.monthly-d5479365.js} +0 -0
  184. /package/build/{HEIGHT_BOYS.percentile.weekly-8081de90.js → HEIGHT_BOYS.percentile.weekly-c7df4fc7.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.yearly-5dad9fd7.js → HEIGHT_BOYS.percentile.yearly-e197b396.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.zscore.monthly-7eadd744.js → HEIGHT_BOYS.zscore.monthly-a79302e5.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.zscore.weekly-acdafdff.js → HEIGHT_BOYS.zscore.weekly-d7b3b2b0.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.yearly-75ce2228.js → HEIGHT_BOYS.zscore.yearly-4116009b.js} +0 -0
  189. /package/build/{HEIGHT_GIRLS.percentile.monthly-7de7025d.js → HEIGHT_GIRLS.percentile.monthly-51f64b18.js} +0 -0
  190. /package/build/{HEIGHT_GIRLS.percentile.weekly-e94d21c1.js → HEIGHT_GIRLS.percentile.weekly-0438e44e.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.yearly-b8ae9551.js → HEIGHT_GIRLS.percentile.yearly-fc80f292.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.zscore.monthly-1d192a07.js → HEIGHT_GIRLS.zscore.monthly-6766c65f.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.zscore.weekly-1407623f.js → HEIGHT_GIRLS.zscore.weekly-ab02a15e.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.yearly-062ef099.js → HEIGHT_GIRLS.zscore.yearly-351a4ee1.js} +0 -0
  195. /package/build/{Locale-c36ebd32.js → Locale-fa2dbec1.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.percentile.monthly-dd19f017.js → WEIGHT_BOYS.percentile.monthly-caabfd20.js} +0 -0
  197. /package/build/{WEIGHT_BOYS.percentile.weekly-a9a13d50.js → WEIGHT_BOYS.percentile.weekly-5cbd3ca6.js} +0 -0
  198. /package/build/{WEIGHT_BOYS.percentile.yearly-a404cd2a.js → WEIGHT_BOYS.percentile.yearly-c930fb50.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.zscore.monthly-cb3b884e.js → WEIGHT_BOYS.zscore.monthly-52d0aeaa.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.zscore.weekly-78045be1.js → WEIGHT_BOYS.zscore.weekly-e4a1a6e4.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.zscore.yearly-3f66a793.js → WEIGHT_BOYS.zscore.yearly-275fa95d.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.percentile.monthly-9b16618d.js → WEIGHT_GIRLS.percentile.monthly-18211ff3.js} +0 -0
  203. /package/build/{WEIGHT_GIRLS.percentile.weekly-7cbe237b.js → WEIGHT_GIRLS.percentile.weekly-eab05ff6.js} +0 -0
  204. /package/build/{WEIGHT_GIRLS.percentile.yearly-e6c6b4b1.js → WEIGHT_GIRLS.percentile.yearly-9c605f9c.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.zscore.monthly-dc9e37a6.js → WEIGHT_GIRLS.zscore.monthly-5809a0b3.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.zscore.weekly-66dc380a.js → WEIGHT_GIRLS.zscore.weekly-0d2fd8b0.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.zscore.yearly-745fe6b4.js → WEIGHT_GIRLS.zscore.yearly-1ee9d305.js} +0 -0
  208. /package/build/{constants-f7b74908.js → constants-534a0900.js} +0 -0
  209. /package/build/{constants-6fc449f2.js → constants-5e71c2e6.js} +0 -0
  210. /package/build/{cookieHelper-e3dda67e.js → cookieHelper-f58d9f30.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.percentile.monthly-d21dabca.js → BMI_BOYS.percentile.monthly-635deeb5.js} +0 -0
  212. /package/build/esm/{BMI_BOYS.percentile.weekly-0590e023.js → BMI_BOYS.percentile.weekly-f697f2d7.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.percentile.yearly-404be121.js → BMI_BOYS.percentile.yearly-41cb867d.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.zscore.monthly-62d26b3b.js → BMI_BOYS.zscore.monthly-def6f500.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.zscore.weekly-1ffac391.js → BMI_BOYS.zscore.weekly-5c046e33.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.zscore.yearly-fa5a8158.js → BMI_BOYS.zscore.yearly-ea5704ce.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.percentile.monthly-436e3c08.js → BMI_GIRLS.percentile.monthly-f7d92526.js} +0 -0
  218. /package/build/esm/{BMI_GIRLS.percentile.weekly-5b26c251.js → BMI_GIRLS.percentile.weekly-3b0848ee.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.percentile.yearly-1cb739a1.js → BMI_GIRLS.percentile.yearly-296abffa.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.zscore.monthly-cf64df82.js → BMI_GIRLS.zscore.monthly-76523c70.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.zscore.weekly-1a57dda3.js → BMI_GIRLS.zscore.weekly-4d03ced0.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.zscore.yearly-8dc7562b.js → BMI_GIRLS.zscore.yearly-fb0f994a.js} +0 -0
  223. /package/build/esm/{BabyGrowth-bbbffebe.js → BabyGrowth-cc375283.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-39d97032.js → HEAD CIRCUM_BOYS.percentile.monthly-697e212e.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-17358a61.js → HEAD CIRCUM_BOYS.percentile.weekly-2a05c234.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-fe649439.js → HEAD CIRCUM_BOYS.percentile.yearly-74e65fca.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7d04c710.js → HEAD CIRCUM_BOYS.zscore.monthly-b64626e7.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a3aa927c.js → HEAD CIRCUM_BOYS.zscore.weekly-9f80277b.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-df498b86.js → HEAD CIRCUM_BOYS.zscore.yearly-40607cec.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-67dc53ea.js → HEAD CIRCUM_GIRLS.percentile.monthly-80834605.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9cbb20b0.js → HEAD CIRCUM_GIRLS.percentile.weekly-51638089.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-235da9ae.js → HEAD CIRCUM_GIRLS.percentile.yearly-631c62bb.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c7be053b.js → HEAD CIRCUM_GIRLS.zscore.monthly-ff051b30.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9e796f14.js → HEAD CIRCUM_GIRLS.zscore.weekly-b29dbb55.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-509fe659.js → HEAD CIRCUM_GIRLS.zscore.yearly-32ae3374.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8f5650b0.js → HEIGHT_BOYS.percentile.monthly-db226408.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-025502cd.js → HEIGHT_BOYS.percentile.weekly-f638d39e.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-07b97fa8.js → HEIGHT_BOYS.percentile.yearly-c6d10156.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-7c551962.js → HEIGHT_BOYS.zscore.monthly-3a6ce7ec.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f9128c36.js → HEIGHT_BOYS.zscore.weekly-289c267c.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bbcaa587.js → HEIGHT_BOYS.zscore.yearly-72faed80.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c4f3666e.js → HEIGHT_GIRLS.percentile.monthly-a2f12d2c.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4df96f09.js → HEIGHT_GIRLS.percentile.weekly-e0394550.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8f87ac73.js → HEIGHT_GIRLS.percentile.yearly-3c6231c1.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c4f3afcb.js → HEIGHT_GIRLS.zscore.monthly-88bc5521.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b8c6c322.js → HEIGHT_GIRLS.zscore.weekly-372b67cb.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fd9f4817.js → HEIGHT_GIRLS.zscore.yearly-8813168e.js} +0 -0
  248. /package/build/esm/{Locale-6e104047.js → Locale-4247ffa0.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0f33cc55.js → WEIGHT_BOYS.percentile.monthly-2e9855c7.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3e554351.js → WEIGHT_BOYS.percentile.weekly-00c35c7d.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7f0db3de.js → WEIGHT_BOYS.percentile.yearly-31844dbe.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0a9f96e1.js → WEIGHT_BOYS.zscore.monthly-48ddea35.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-277f86df.js → WEIGHT_BOYS.zscore.weekly-783857a4.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-3fcbc8bd.js → WEIGHT_BOYS.zscore.yearly-76cd3d93.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7ab8dba9.js → WEIGHT_GIRLS.percentile.monthly-bff0faa5.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-46a6c481.js → WEIGHT_GIRLS.percentile.weekly-88ebf364.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-6c08bca8.js → WEIGHT_GIRLS.percentile.yearly-71e4286d.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-86bc7041.js → WEIGHT_GIRLS.zscore.monthly-0ec15fb2.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1cb1e605.js → WEIGHT_GIRLS.zscore.weekly-dbe0529f.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f2c1ab27.js → WEIGHT_GIRLS.zscore.yearly-79767f29.js} +0 -0
  261. /package/build/esm/{constants-28447c61.js → constants-9aa00ab6.js} +0 -0
  262. /package/build/esm/{constants-71deba03.js → constants-fcd971bd.js} +0 -0
  263. /package/build/esm/{cookieHelper-b4aebd0b.js → cookieHelper-60faa11b.js} +0 -0
  264. /package/build/esm/{index-ea8dcf61.js → index-d4a5cb41.js} +0 -0
  265. /package/build/esm/{isProduction-1b55d0a6.js → isProduction-1521e74e.js} +0 -0
  266. /package/build/esm/{localizeNumberFormat-7e0aa82c.js → localizeNumberFormat-c3bba20c.js} +0 -0
  267. /package/build/esm/{logoIcon-a7e594ab.js → logoIcon-f5d56e3a.js} +0 -0
  268. /package/build/esm/{theme-ee5d0e66.js → theme-d34fcb72.js} +0 -0
  269. /package/build/esm/{translationsContext-e39a8c01.js → translationsContext-f594de35.js} +0 -0
  270. /package/build/esm/{tslib.es6-bfb95386.js → tslib.es6-60545877.js} +0 -0
  271. /package/build/esm/{types-2b7d979f.js → types-856c5e3e.js} +0 -0
  272. /package/build/esm/{useOutsideClick-db4817fe.js → useOutsideClick-cbafa17c.js} +0 -0
  273. /package/build/esm/{useScrollbarSize-fc234f6d.js → useScrollbarSize-553193f9.js} +0 -0
  274. /package/build/esm/{utils-d6f6da15.js → utils-848ab47e.js} +0 -0
  275. /package/build/{index-617ff6fb.js → index-580fe683.js} +0 -0
  276. /package/build/{isProduction-7e357d28.js → isProduction-ce149335.js} +0 -0
  277. /package/build/{localizeNumberFormat-0169c998.js → localizeNumberFormat-ac1b6934.js} +0 -0
  278. /package/build/{logoIcon-dfc9715e.js → logoIcon-7c780818.js} +0 -0
  279. /package/build/{theme-37595e4f.js → theme-5bf80bf7.js} +0 -0
  280. /package/build/{translationsContext-51c97003.js → translationsContext-9a8382af.js} +0 -0
  281. /package/build/{tslib.es6-edc720a6.js → tslib.es6-31fb94f1.js} +0 -0
  282. /package/build/{types-369fb21e.js → types-97d79c73.js} +0 -0
  283. /package/build/{useOutsideClick-8d68f272.js → useOutsideClick-d250c5d7.js} +0 -0
  284. /package/build/{useScrollbarSize-54ca891c.js → useScrollbarSize-8703d0b4.js} +0 -0
  285. /package/build/{utils-7a17dcfb.js → utils-be155072.js} +0 -0
@@ -1 +1 @@
1
- import{a as n,_ as e,b as t,c as i,d as o}from"./tslib.es6-bfb95386.js";import a,{useMemo as r,useRef as l,useEffect as s,useState as d,memo as p,useContext as c,useCallback as m}from"react";import{L as g}from"./index-ec632981.js";import{d as u,C as h,a as f,T as x,L as v,S as y,U as b}from"./index-dc551bd2.js";import{g as w,a as E,b as k,c as C,d as P}from"./routing-a1441861.js";import{P as B,c as N,a as _}from"./dataTransform-63490ce1.js";import{C as z,L as A}from"./index-8162546b.js";import{u as T}from"./useTranslations-8d6045eb.js";import M from"lodash/throttle";import{g as H,M as L}from"./utils-d6f6da15.js";import S from"styled-components";import{A as U}from"./index-38a7d187.js";import{B as D}from"./index-0175581a.js";import{T as j}from"./index-f95e1673.js";import{CommonGAssets as R}from"./gAssets.js";import{t as I}from"./theme-ee5d0e66.js";import{Portal as O}from"@mantine/core";import{g as F}from"./defaultClassWrapper-a9f0d373.js";import{g as G}from"./cookieHelper-b4aebd0b.js";import{L as V}from"./constants-28447c61.js";import W from"string-format";import{o as Y,U as Z}from"./index-13d040f6.js";import{P as Q}from"./index-412ffd4b.js";import{H as K}from"./index-295ef099.js";import q from"dayjs";import J from"dayjs/plugin/relativeTime";import X from"lodash/debounce";import{g as $}from"./core-92bfbf18.js";var nn,en,tn,on=S.div(nn||(nn=n(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),an=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,o=n.className,l=n.style,s=r((function(){return H(t)}),[t]),d=s[0],p=s[1];return a.createElement(on,{lowerBound:e?0:d,upperBound:e?0:p,className:o,style:l},i)},rn=function(n){var e=(n||{}).allowBgScroll,t=l();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},ln=S.div(en||(en=n(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n 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"])),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray800}),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray600}),L.mbDown,L.mbUp),sn=S.div(tn||(tn=n(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n 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"])),L.mbDown,L.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),dn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,o=n.siteType,r=void 0===o?"helloSites":o,l=T().t;return s((function(){document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(O,null,a.createElement(B,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:R.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},a.createElement(ln,null,"helloSites"===r&&a.createElement("img",{src:R.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,l("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement(sn,{siteType:r},a.createElement(D,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},l("logout.popup.button.logout")),a.createElement(D,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},pn="hhgcomp-navprofilebutton-popup",cn=F(S.div(gn||(gn=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 max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\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 max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),L.mbDown,L.mbUp,L.mbDown,L.mbUp,L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray200}),L.mbDown,I.colors.neutral100,L.mbUp),pn),mn="hhgcomp-navprofilebutton-popupwrapper";F(S.div(un||(un=n(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 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: var(--header-bottom, 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"])),L.mbUp,L.mbDown),mn);var gn,un,hn,fn,xn,vn=S.div(hn||(hn=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"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),yn=S.a(fn||(fn=n(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),pn,L.mbDown,mn),bn=S.a(xn||(xn=n(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),L.mbUp,L.mbUp),wn="profile/posts?website_url={websiteUrl}",En=99,kn=300,Cn=400,Pn=210,Bn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Bn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},Nn=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),o=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),a=n.link?n.link.startsWith("http")||i?n.link:o?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:a,subtitle:n.subtitle,title:n.title}},_n=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},zn=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},An=function(n){var e,t,i=n.type,o=n.specialtySlug,a=n.locale;return"".concat(null===(e=V[a])||void 0===e?void 0:e.ALL,"/").concat((null===(t=V[a])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=o?o:"")},Tn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Mn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Hn={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Ln={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function Sn(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,o=void 0===i?"helloSites":i,l=T().t,s=r((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Ln.navHeader,onClick:function(){t&&t()}},a.createElement(U,{className:Ln.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?I.mbColors.pink:I.colors.secondaryBase}),a.createElement("div",{className:Ln.navHeaderUserInfos},a.createElement("div",{className:Ln.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ln.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(R.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var Un,Dn,jn,Rn,In,On,Fn,Gn,Vn,Wn,Yn,Zn,Qn,Kn,qn,Jn="fVk18fq",Xn="v8TCvUb",$n="mx7T4V3",ne={myHealth:I.mbColors.toneYellow,myCommunity:I.mbColors.toneBlue,mySaved:I.mbColors.toneGreen},ee={helloSites:{myBooking:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return R.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return R.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},te=function(n){var e=n.type,t=n.themeName,i=n.className,o=n.onClick,l=void 0===o?function(){}:o,s=T().t,d=r((function(){var n,i;return(null===(i=null===(n=ee[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),p=r((function(){return"marryBaby"!==t?"transparent":ne[e]}),[e,t]);return a.createElement("div",{onClick:function(){l(e)},className:"".concat(Jn," ").concat(i)},a.createElement("div",{className:$n,style:{backgroundColor:p,backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:Xn},s("userProfile.nav.card.".concat(e))))},ie="gn6HmGG",oe="FCx8FEM",ae="zMiRxaE",re="lZ2Z9MQ",le="rwm-agG",se="qMOscoq",de=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,o=d(""),l=o[0],s=o[1],p=r((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:R.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:R.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:R.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:R.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function c(n){n.subMenu?s((function(e){return e?"":n.key})):i&&i(n)}return a.createElement("div",{className:ie},p.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:l,onClickItem:c,locale:t})})))},pe=function(n){var e,t=n.item,i=n.openKey,o=n.onClickItem,r=n.locale,l=T().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(r))?null:a.createElement("div",{className:"".concat(oe," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},a.createElement("div",{className:ae,onClick:function(){return o(t)}},t.icon&&a.createElement("div",{className:re,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),l(t.key),t.subMenu&&a.createElement("div",{className:le,style:{"--after-bg":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&a.createElement("div",{className:se},t.subMenu.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:i,onClickItem:o,locale:r})}))))},ce="-AZt1au",me="IvSIfCI",ge="eahCJov",ue="XIyViFs",he="_4y-O0w3",fe="kO8iNgD",xe="a1d4E10",ve="Tdguxxf",ye="-mOxsaU",be="yPeDBNZ",we={helloSites:{member:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},Ee=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,o=n.numberOfPosts,l=void 0===o?0:o,s=T().t,d=r((function(){var n,t;return(null===(t=null===(n=we[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return a.createElement("div",{className:he,"data-user-rank":i},a.createElement("div",{className:fe},a.createElement("div",{className:xe},a.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:ye},s("userProfile.userRank.".concat(i))),l>0&&a.createElement("p",{className:be},l," ",s("userProfile.nav.header.count.posts")))))},ke=function(n){var t=n.SSO_URL,i=n.UP_BASEPATH,o=void 0===i?"user":i,l=n.themeName,p=void 0===l?"helloSites":l,c=n.cardUrls,m=void 0===c?Hn:c,g=n.enableCare,h=n.enableTogether,f=n.enableEcom,x=n.userInfo,v=n.togetherApiDomain,y=n.userPostsNumber,b=n.onClickNavigationCard,w=n.onClickMyProfileButton,E=n.onClickMenuItem,k=n.onClickLogout,C=n.isUserProfileNavigatorMenuHidden,P=void 0!==C&&C,B=n.isMyHealthEnabled,N=void 0!==B&&B,_=n.locale,z=T().t,A=d(y||0),M=A[0],H=A[1],L="marryBaby"===p;s((function(){if(x&&void 0===y){var n=G("hhg_user_token");n&&fetch(function(n,t,i,o){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+W(wn,e(e({},o),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(u[n])}))}(_,L,v),{headers:{Authorization:"Bearer ".concat(n)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&H((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[_,null!==x,y,v,L]);var S=r((function(){return(L?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?g:"myCommunity"===n?h:"myHealth"===n?N:"eCom"!==n||f}))}),[L,N]),U=r((function(){return"marryBaby"===p?null:a.createElement(D,{color:"tertiary",icon:a.createElement("img",{src:R.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:k,className:ue},z("userProfile.nav.menu.logout"))}),[p]),j=function(n){window.location.href="".concat(t).concat(o,"/").concat(n)},I=function(n){var e=m[n];b?b(e):j(e)};return x?a.createElement("div",{className:ce,"data-theme":p},a.createElement(Sn,{userInfo:x,themeName:p,onClickMyProfileButton:function(){w?w():j("profile")}}),a.createElement(Ee,{themeName:p,rank:"member",numberOfPosts:M}),a.createElement("div",{className:me},S.map((function(n){return a.createElement(te,{className:ge,key:n,themeName:p,type:n,onClick:I})}))),!P&&a.createElement(a.Fragment,null,a.createElement(de,{themeName:p,locale:_,onClickItem:function(n){"logout"===n.link&&k?k():n.link&&!n.subMenu&&(E?E(n.link):j(n.link))}}),U)):null},Ce=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,r=void 0===o||o,l=n.onClose,s=n.children,d=n.enableAnimation,p=void 0===d||d,c=n.targetAvatar,m=n.id,g=n.className;return a.createElement(cn,{"data-open":r,"data-type":t,"data-animation":p,"data-target":c,id:m,className:g},a.createElement("div",{className:"popup-content"},!!i&&a.createElement("div",{className:"close-button",onClick:l},i),s))},Pe=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.targetAvatar,r=n.userInfo,l=n.enableCare,s=n.enableTogether,d=n.enableEcom,p=n.closePopup,c=n.siteType,m=void 0===c?"helloSites":c,g=n.dispatchLogout,u=n.userProfileRouterPush,h=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,y=n.locale,b=function(n){u?u("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){b(n),p()};return a.createElement(Ce,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:o,onClose:p},a.createElement(ke,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,enableCare:l,enableTogether:s,enableEcom:d,onClickLogout:function(){g&&(g(),p())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),p()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},Be=function(n){var o=n.userInfo,r=n.siteType,l=n.onLoginClick,p=n.SSO_URL,c=n.currentUrl,m=n.isMinifyLogin,g=n.enableCare,u=n.enableTogether,h=n.enableEcom,f=n.isUserProfileNavigatorMenuHidden,x=n.UP_BASEPATH,v=n.isMyHealthEnabled,y=n.togetherApiDomain,b=n.onLogout,w=n.style,E=n.userProfileRouterPush,k=n.isLoading,C=n.locale,P=T().t,B=d(!1),N=B[0],_=B[1],z=(null==o?void 0:o.name)||(null==o?void 0:o.username),A=d(!1),M=A[0],H=A[1];s((function(){H(!0)}),[]);var L=rn(),S=L.containerRef,O=L.onContainerFocus,F=L.onContainerBlur,G=L.onButtonMouseDown,V=L.onClose;return k?a.createElement(D,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(yn,{ref:S,style:w,tabIndex:0,onBlur:F,onFocus:O},a.createElement("div",{onMouseDown:G},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(U,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:z&&z.length?z[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?I.mbColors.pink:I.colors.secondaryBase})),a.createElement(Pe,{UP_BASEPATH:x,SSO_URL:p,dispatchLogout:function(){V(),_(!0)},isOpen:!1,isMyHealthEnabled:v,enableCare:g,enableTogether:u,enableEcom:h,closePopup:V,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:f,togetherApiDomain:y,userProfileRouterPush:E,locale:C})),a.createElement(dn,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),_(!1)},siteType:r,onLogoutHandler:function(){return t(void 0,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return _(!1),document.body.classList.toggle("noscroll",!1),[4,b()];case 1:return n.sent(),[2]}}))}))}})):a.createElement(bn,{style:e({textDecoration:"none"},w),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":c,href:M?void 0:"".concat(p,"?returnUrl=").concat(c),"data-site-type":r},m?a.createElement(vn,{onClick:l},a.createElement("img",{src:R.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===r&&a.createElement("img",{className:"mobile-only",src:R.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}),"marryBaby"===r&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(j,{size:"p3",color:I.mbColors.pink},P("navigation.loginJoin"))),a.createElement(D,{className:"login-btn",size:"md",color:"tertiary",onClick:l,icon:a.createElement("img",{src:R.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ne=a.createContext({}),_e=function(n){var t=n.children,i=o(n,["children"]),l=a.useState((function(){return i.currentUrl||"https://".concat("marryBaby"===i.siteType?Y[i.locale||"en-PH"]:u[i.locale||"en-PH"]).concat("together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":"","/")})),d=l[0],p=l[1];s((function(){var n=function(){p(window.location.href)};return window.addEventListener("popstate",n),n(),function(){window.removeEventListener("popstate",n)}}),[]);var c=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,o=n.siteType;return r((function(){var n=!(!i&&"profile"===t),a="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&h.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&f.includes(e),s="marryBaby"===t||x.includes(e),d="ecom"===t,p="ecom"===t,c=w(e,"marryBaby"===o),m=E(e,"marryBaby"===o);return{enableProfileNavigatorMenu:n,enableSearchBar:a,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:m,TOGETHER_API:k(),DISCOVER_API:C(e)}}}),[e,t,i])}({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Ne.Provider,{value:e(e({},i),{configs:c,currentUrl:i.currentUrl||d})},t)},ze="-XmTq5-",Ae="V-oxu20",Te=function(n){var e=n.item,t=n.menu,i=rn({allowBgScroll:!0}),o=i.containerRef,r=i.onContainerFocus,l=i.onContainerBlur,p=i.onButtonMouseDown,c=i.onClose,m=function(){var n=d(!0),e=n[0],t=n[1];return s((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Ae},e.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:l,onFocus:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:p,className:Ae},e.name,e.popupType&&a.createElement("div",{className:ze},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:c}):null)},Me=p((function(){return a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.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"}))})),He=function(){var n=c(Ne),e=n.locale,t=n.configs.statics,i=n.siteType,o=T().t;return a.createElement(Q,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?o("navigation.search.input.placeholder"):o("home.search",{site:v[e||"en-PH"]?v[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Me,null))})},Le="eJS8-if",Se="EuQrB-3",Ue="_0JtBh8L",De=function(n){var e=n.onClosePopup;return a.createElement("div",{className:"".concat(Ue," close-btn"),onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},je=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,o=n.isNavMenu,r=n.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!o},a.createElement(z,null,!r&&a.createElement("div",{className:Se},a.createElement(De,{onClosePopup:e})),a.createElement(z,{className:Le},i)))},Re=S.div(Un||(Un=n(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),L.mbUp),Ie=S.a(Dn||(Dn=n(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Oe=S.div(jn||(jn=n(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),L.mbDown),Fe=S.div(Rn||(Rn=n(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),L.mbUp),Ge=S.div(In||(In=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Ve=S.div(On||(On=n(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),We=S.a(Fn||(Fn=n(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),L.mbDown),Ye=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,o=n.onClosePopup,r=n.menuItems,l=n.headingTitle,s=c(Ne).siteType;return a.createElement(Re,null,a.createElement(Oe,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},l)),null==r?void 0:r.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(Ie,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":s,key:e,onClick:o},a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),a.createElement("p",null,n.name),a.createElement(Fe,null,a.createElement("img",{src:R.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&a.createElement(We,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Ge,{onClick:o,"data-theme":s,"data-is-heading-category":!1},t,a.createElement(Ve,null,a.createElement("img",{className:"svg",src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ze=S.div(Gn||(Gn=n(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),L.mbDown,L.mbUp),Qe=S.div(Vn||(Vn=n(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),Ke=S.div(Wn||(Wn=n(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),qe=S.div(Yn||(Yn=n(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),Je=S.div(Zn||(Zn=n(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),L.mbDown),Xe=function(n){var e=n.title,t=n.link,i=n.description,o=n.cta,r=n.icon,l=c(Ne).siteType;return a.createElement(Ze,{"data-theme":l},a.createElement(Je,null,a.createElement("img",{src:"marryBaby"===l?R.getAssetPath("navMBSpotlightBgNoData.svg"):R.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(qe,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,e&&a.createElement(Ke,null,e),i&&a.createElement(Qe,null,i),o&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(D,{theme:l,className:"survey-contact-submit",size:"md"},o)))))},$e=S.div(Qn||(Qn=n(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),L.mbDown,(function(n){return n.theme.colors.neutral100})),nt=S.div(Kn||(Kn=n(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),et=S.a(qn||(qn=n(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),L.mbDown),tt=function(n){var e=n.title,t=n.viewMore,i=n.children,o=n.link,r=n.dataEventAction,l=void 0===r?"":r,s=c(Ne).siteType;return a.createElement($e,null,a.createElement(nt,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&a.createElement(et,{"data-event-category":"Hamburger Navigation","data-event-action":l,"data-event-label":o,href:o,"data-theme":s},t,a.createElement("img",{src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};S.div(it||(it=n(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\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 &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var it,ot,at,rt,lt,st,dt,pt,ct,mt=S.div(ot||(ot=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),L.tdDown),gt=S.div(at||(at=n(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),L.tdDown,L.mbDown),ut=S.div(rt||(rt=n(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),ht=S.div(lt||(lt=n(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),L.tdDown),ft=S.p(st||(st=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdDown),xt=S.p(dt||(dt=n(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),vt="hhgcomp-navigation-menucareitem-contentwrapper",yt=F(S.div(pt||(pt=n(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),L.tdDown),vt),bt=S.a(ct||(ct=n(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),I.colors.white,L.tdUp,L.tdDown,vt,L.mbDown,L.tdOnly,I.colors.neutral100),wt=function(n){var e,t=n.item,i=n.index,o=void 0===i?0:i,r=T().t,l=c(Ne),s=l.locale,d=l.configs.statics;if(!t)return null;var p="".concat(d.CARE_URL_FE,"/").concat(null===(e=V[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return a.createElement(bt,{key:t.id,href:p,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(o+1),"data-event-label":p},a.createElement("img",{src:R.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(gt,null,a.createElement(ut,null,a.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),a.createElement(yt,null,a.createElement(ft,null,t.name),a.createElement(xt,null,t.description),a.createElement(ht,null,r("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Et=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.spotlightHospitals")},0!==t.length?a.createElement(mt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return a.createElement(wt,{key:e,index:e,item:n})}))):a.createElement(Xe,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},kt=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,o=n.isOpen,r=n.onClose,l=n.spotlights,s=void 0===l?[]:l,d=T().t,p=c(Ne),m=p.locale,g=p.configs.statics,u="".concat(g.CARE_URL_FE,"/").concat(null===(e=V[m])||void 0===e?void 0:e.SPECIALTIES);return a.createElement(je,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:u,UrlFE:g.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:An({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),a.createElement(Et,{spotlights:s,hrefViewMore:u}))};S.div(Ct||(Ct=n(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),S.div(Pt||(Pt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Ct,Pt,Bt,Nt,_t,zt,At=S.div(Bt||(Bt=n(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),L.tdDown),Tt=S.a(Nt||(Nt=n(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Mt=S.div(_t||(_t=n(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),L.tdDown),Ht=S.p(zt||(zt=n(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdUp),Lt=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?a.createElement(Tt,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},a.createElement(Mt,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Ht,null,e.title)):null},St=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t,r=c(Ne).configs.statics;return a.createElement(tt,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?a.createElement(At,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(Lt,{key:e,index:e,item:{id:n.id,link:r.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):a.createElement(Xe,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:i,cta:o("home.navigator.menu.category.noDatas.cta"),icon:R.getAssetPath("Spotlight.svg")}))},Ut=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,o=void 0===i?[]:i,r=n.onClose,l=n.isOpen,s=T().t,d=c(Ne),p=d.locale,m=d.configs.statics;return a.createElement(je,{onClosePopup:r,isDisplay:l,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),a.createElement(St,{spotlightsList:o,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/spotlight/")}))};S.div(Dt||(Dt=n(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\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 & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),S.div(jt||(jt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Dt,jt,Rt,It,Ot,Ft,Gt,Vt,Wt,Yt,Zt,Qt,Kt,qt,Jt=S.div(Rt||(Rt=n(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),L.tdDown,L.mbDown),Xt=S.div(It||(It=n(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),$t=S.img(Ot||(Ot=n(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),ni=S.div(Ft||(Ft=n(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ei=S.div(Gt||(Gt=n(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),ti=S.div(Vt||(Vt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ii=S.div(Wt||(Wt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),oi=S.a(Yt||(Yt=n(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),L.tdOnly,L.mbDown,L.tdUp),ai=S.div(Zt||(Zt=n(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ri=S.div(Qt||(Qt=n(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),li=S.div(Kt||(Kt=n(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),si=S.div(qt||(qt=n(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));q.extend(J);var di=function(n){var e,t,i,o,r,l,s,d=n.post,p=n.index,m=void 0===p?0:p,g=c(Ne),u=g.siteType,h=g.configs.statics;if(!d)return null;var f=[h.TOGETHER_URL_FE,null===(e=d.community)||void 0===e?void 0:e.slug].join("/"),x=[f,d.slug].join("/"),v=d.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?q(y).toNow(!0):v;return a.createElement(oi,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},a.createElement(Xt,null,a.createElement(ai,null,a.createElement(Z,{avatar:null===(t=d.author)||void 0===t?void 0:t.avatar,username:(null===(i=d.author)||void 0===i?void 0:i.name)||(null===(o=d.author)||void 0===o?void 0:o.username)}),a.createElement(si,null,a.createElement(ni,{"data-theme":u},null===(r=d.author)||void 0===r?void 0:r.name),a.createElement(li,null,a.createElement(ei,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":f,onClick:function(n){n.preventDefault(),location.href=f},"data-theme":u},null===(l=d.community)||void 0===l?void 0:l.name),a.createElement(ii,null,"•"),a.createElement(ti,{"data-theme":u},b)))),a.createElement(ri,null,d.title)),!!(null===(s=d.photos)||void 0===s?void 0:s.length)&&a.createElement($t,{loading:"lazy",src:d.photos[0]}))},pi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=c(Ne).configs.statics,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==t.length?a.createElement(Jt,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(di,{index:e,post:n,key:n.id})}))):a.createElement(Xe,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:o("home.navigator.menu.together.noPosts.cta"),icon:R.getAssetPath("community.svg")}))},ci=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,o=n.isOpen,r=n.spotlights,l=void 0===r?[]:r,s=T().t,d=c(Ne).configs.statics;return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:d.TOGETHER_URL_FE+"/",UrlFE:d.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(pi,{spotlights:l}))};S.div(mi||(mi=n(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var mi,gi,ui,hi,fi,xi,vi,yi,bi,wi,Ei,ki,Ci,Pi,Bi,Ni,_i=S.div(gi||(gi=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),L.tdDown),zi=S.a(ui||(ui=n(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),L.tdDown,L.tdDown),Ai=S.div(hi||(hi=n(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),L.tdDown),Ti=S.div(fi||(fi=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Mi=S.p(xi||(xi=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Hi=S.p(vi||(vi=n(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Li=S.div(yi||(yi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),L.tdUp,L.tdDown),Si=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=T().t,r=c(Ne).configs.statics;if(!e)return null;var l=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0;return a.createElement(zi,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":l},a.createElement("img",{src:R.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Li,null,a.createElement(Mi,null,e.title),a.createElement(Hi,null,e.subtitle),a.createElement(Ti,null,o("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(Ai,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ui=S.a(bi||(bi=n(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),L.tdDown,L.mbDown,L.tdUp,L.tdUp,L.tdDown),Di=S.div(wi||(wi=n(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),L.tdDown,L.mbDown),ji=S.div(Ei||(Ei=n(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),L.tdDown,(function(n){return n.theme.mbColors.pink})),Ri=S.p(ki||(ki=n(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Ii=S.p(Ci||(Ci=n(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Oi=S.div(Pi||(Pi=n(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),L.tdUp,L.tdDown),Fi=S.div(Bi||(Bi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),L.tdUp,L.tdDown),Gi=S.div(Ni||(Ni=n(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),L.tdUp,L.tdDown),Vi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=n.color,r=T().t,l=c(Ne).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0,d=function(){return a.createElement(Di,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},p=function(){return a.createElement(Gi,null,a.createElement(Fi,null,a.createElement(Ri,null,e.title),a.createElement(Ii,null,e.subtitle)),a.createElement(ji,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:R.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(Ui,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:R.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(Oi,null,a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},p())),a.createElement("div",{className:"mobile-only"},p()),a.createElement("div",{className:"desktop-only"},d()))},Wi=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,o=T().t,r=["pink","orange","green"],l=c(Ne).siteType;return a.createElement(tt,{title:o("home.navigator.menu.spotlightTools")},0!==i.length&&a.createElement(_i,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===l?a.createElement(Vi,{key:e,index:e,item:n,color:r[e]}):a.createElement(Si,{key:e,index:e,item:n})}))),0===i.length&&a.createElement(Xe,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},Yi=function(n){var e,t=n.locale,i=n.onClose,o=n.isOpen,r=n.spotlightHealthTools,l=void 0===r?[]:r,s=n.healthTools,d=void 0===s?[]:s,p=T().t,m=c(Ne).configs.statics,g="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=y[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:g,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:p("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:p("home.navigator.menuItem.allHealthTools"),menuItems:d.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),a.createElement(Wi,{spotlightHealthTools:l,hrefViewMore:g}))},Zi="_6gGCHV-",Qi="YDzfyQU",Ki=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,o=n.btnName;return e?a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},o):a.createElement("a",{href:i,className:"".concat(Qi," care-button no-replace-click")},a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},o))};function qi(n){var e=n.className;return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Ji(n){var e=n.siteType,t=n.type,i=n.enableSearch,o=n.className;return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?R.getAssetPath("hamburgerMenuNewWithSearch.svg"):R.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:o})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o},a.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"}))}var Xi=S.div($i||($i=n(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));S.div(no||(no=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"],["\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"]))),S.div(eo||(eo=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"],["\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"]))),S.div(to||(to=n(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),S.div(io||(io=n(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),S.div(oo||(oo=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"],["\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"]))),S.div(ao||(ao=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"],["\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"])),Pn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),S.div(ro||(ro=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 position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),S.div(lo||(lo=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"],["\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"]))),S.div(so||(so=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"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(po||(po=n(["\n display: none;\n"],["\n display: none;\n"]))),S.div(co||(co=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 width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(mo||(mo=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"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),S.div(go||(go=n(["\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"]))),S.div(uo||(uo=n(["\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"]))),S.div(ho||(ho=n(["\n display: block;\n"],["\n display: block;\n"]))),S.div(fo||(fo=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 .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),S.div(xo||(xo=n(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var $i,no,eo,to,io,oo,ao,ro,lo,so,po,co,mo,go,uo,ho,fo,xo,vo,yo,bo=S.div(vo||(vo=n(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),wo=S.div(yo||(yo=n(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Eo=function(n){var e,t,i=n.closePopup,o=n.menuItems,r=void 0===o?[]:o,l=c(Ne),s=l.siteType,d=l.ssrMenuContent,p=d.categories,m=d.healthTools,g=d.care,u=d.together,h=l.activeMenuService,f=l.configs,x=f.statics,v=f.enableSearchBar,b=l.locale,w=T().t;return a.createElement(Xi,{id:"categories-menu"},v?a.createElement(bo,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},a.createElement(He,null)):null,a.createElement(wo,null,a.createElement(Ye,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===h&&a.createElement(St,{spotlightsList:(null==p?void 0:p.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"","/spotlight/")}),"tools"===h&&a.createElement(Wi,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"").concat((null===(e=y[b])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===h&&a.createElement(Et,{spotlights:null==g?void 0:g.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=V[b])||void 0===t?void 0:t.SPECIALTIES)}),"together"===h&&a.createElement(pi,{spotlights:null==u?void 0:u.spotlights})))},ko="IQdn7tn",Co="_1jX3mGY",Po="arD755Y",Bo=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,o=c(Ne),r=o.siteType,l=o.configs.enableSearchBar,s=rn(),d=s.containerRef,p=s.onContainerFocus,m=s.onContainerBlur,g=s.onButtonMouseDown,u=s.onClose;return a.createElement(an,{mediaQueryKey:"mbDown"},a.createElement("header",{className:ko},a.createElement("div",{className:Co,ref:d,role:"button",tabIndex:0,onBlur:m,onFocus:p},a.createElement("div",{className:Po,onMouseDown:g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(qi,{className:"mobile-close-icon"}),a.createElement(Ji,{siteType:r,type:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Eo,{menuItems:i,closePopup:u}))))},No=S.div(Mo||(Mo=n(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),L.mbUp,L.mbDown,En,kn,Cn,(function(n){return n.theme.mbColors.lightGray})),_o=S.div(Ho||(Ho=n(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),L.pcDown,L.mbDown,L.tdUp),zo=S.div(Lo||(Lo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcDown),Ao=S.div(So||(So=n([""],[""]))),To=S.div(Uo||(Uo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcUp,L.pcDown,L.mbDown);S.div(Do||(Do=n(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Mo,Ho,Lo,So,Uo,Do,jo,Ro,Io,Oo,Fo,Go=S.div(jo||(jo=n(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),L.pcDown,L.mbDown),Vo=S.div(Ro||(Ro=n(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Wo=function(n){var e,t=n.onTopBarAppears,i=n.type,o=void 0===i?"home":i,r=n.languageMenu,p=n.menuItems,g=n.setSitewideBannerClosed,u=n.sitewideBannerClosed,h=c(Ne),f=h.siteType,x=h.isMobile,y=void 0!==x&&x,w=h.locale,E=h.sitewideBanner,k=h.sitewideBannerShown,C=void 0===k||k,P=h.sponsorComponent,B=h.onBookingClick,N=h.currentUrl,_=h.onLoginClick,z=h.configs,H=z.statics,L=z.enableNavCareBooking,S=z.enableSearchBar,U=z.enableNavCare,D=z.enableProfileMyHealth,j=z.enableNavTogether,I=z.enableProfileEcom,O=z.enableProfileNavigatorMenu,F=h.userState.userInfo,G=h.onLogout,V=h.userProfileRouterPush,W=h.isUserLoading,Y=T().t,Z=H.SSO_URL,Q=H.HOME_PAGE_URL,K=!!P,q=d(!1),J=q[0],X=q[1],$=l(47),nn=l(null),en=l(!1),tn="helloSites"===f?null===(e=v[w])||void 0===e?void 0:e.LOGO_TYPE:f,on="undefined"!=typeof window,rn=m(M((function(){if("home"===o&&on){if(!nn.current)return;var n=nn.current.getBoundingClientRect();n.top<=0&&window.scrollY>$.current&&window.scrollY>n.height+20&&!en.current&&(en.current=!0,X(!0)),window.scrollY<$.current&&en.current&&(en.current=!1,X(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);s((function(){null==t||t(!J)}),[J]),s((function(){return window.addEventListener("scroll",rn,{passive:!0}),function(){window.removeEventListener("scroll",rn)}}),[]),s((function(){y&&rn()}),[y]);var ln=C&&!!E&&!u;return a.createElement(No,{"data-site-type":f,"data-sponsored":K,"data-sitewide-banner-shown":ln,"data-header-type":o,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":!0,id:"site-header",ref:nn},E?a.isValidElement(E)?a.cloneElement(E,{isCollapsed:J,setBannerClosed:g,isMobile:y}):E:null,a.createElement(_o,{"data-site-type":f},a.createElement(zo,{"data-site-type":f},a.createElement(Bo,{menuItems:p,type:o}),a.createElement("a",{href:Q},a.createElement(Ao,null,a.createElement(A,{style:{display:"flex"},type:tn,badge:"id-ID"===w&&a.createElement("img",{src:R.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===f?a.createElement(Zo,{menuItems:p}):S&&a.createElement(Yo,{siteType:f})),a.createElement(To,{"data-site-type":f},"marryBaby"===f?S&&a.createElement(Yo,{siteType:f}):a.createElement(Zo,{menuItems:p}),a.createElement(Go,null,L&&a.createElement(an,{mediaQueryKey:"mbUp"},a.createElement(Ki,{careUrlFe:H.CARE_URL_FE,currentUrl:N,btnName:Y("login.booking"),onCareHeaderClick:B})),r,a.createElement(Be,{userInfo:F,siteType:f,onLoginClick:_||function(){var n=window.location.href;window.location.href=Z?"".concat(Z,"?returnUrl=").concat(n):n},SSO_URL:H.SSO_URL+"/",currentUrl:N,onLogout:G,UP_BASEPATH:b,isMyHealthEnabled:D,enableCare:U,enableTogether:j,enableEcom:I,togetherApiDomain:H.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!O,userProfileRouterPush:V,isLoading:W,locale:w})))),P?a.isValidElement(P)?a.cloneElement(P,{isCollapsed:J,locale:w,isMobile:y}):P:null)},Yo=function(n){var e=n.siteType;return a.createElement(an,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(He,null))},Zo=function(n){var e=n.menuItems,t=c(Ne),i=t.siteType,o=t.locale,r=t.ssrMenuContent,l=r.categories,s=r.healthTools,d=r.care,p=r.together;return a.createElement(an,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Vo,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return a.createElement(Te,{key:e,item:n,menu:"categories"===n.popupType?a.createElement(Ut,{categories:null==l?void 0:l.items,spotlightsList:null==l?void 0:l.spotlights}):"tools"===n.popupType?a.createElement(Yi,{locale:o,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?a.createElement(ci,{communities:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):"care"===n.popupType?a.createElement(kt,{careSpecialties:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):null})}))))},Qo=S.div(Io||(Io=n(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),L.mbDown);S.div(Oo||(Oo=n(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),S.a(Fo||(Fo=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"],["\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"])));var Ko=function(n){var t,i,o=n.isMobile,p=n.locale,u=n.onTopBarAppears,h=n.languageOptions,f=n.sponsorComponent,x=n.sitewideBanner,v=n.sitewideBannerShown,b=n.className,w=d(!1),E=w[0],k=w[1],C=function(){var n=T().t,e=c(Ne),t=e.siteType,i=e.locale,o=e.configs,a=o.enableNavCare,l=o.enableNavTogether,s=o.enableNavEcom,d=o.statics,p="marryBaby"===t,m=r((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:p?R.getAssetPath("categories-mb.svg"):R.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=y[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:p?R.getAssetPath("healthtools-mb.svg"):R.getAssetPath("healthTools.png"),popupType:"tools"}];return a&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:d.HOME_PAGE_URL+"/care",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:d.TOGETHER_URL_FE+"/",thumbnail:p?R.getAssetPath("community-mb.svg"):R.getAssetPath("together.png"),popupType:"together"}),s&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:d.HOME_PAGE_URL+"/ecom",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,a,l,s]);return m}();!function(){var n=c(Ne),t=n.isFirstLogin,i=n.userState.userInfo;s((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var P=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,p=l(null),c=d(0),g=c[0],u=c[1],h=d(64),f=h[0],x=h[1],v=m(X((function(){var n,e,t,i,o=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=p.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=o+200&&(u(o),x((null===(i=p.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||g))}),200),[]);s((function(){return window.addEventListener("resize",v,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),s((function(){v()}),[a,t,o,i,e,p.current]);var y=r((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[a,o,e,i]);return{defaultHeaderHeight:y,headerHeight:g||y,headerBottom:f,headerRef:p}}({isSiteWide:!!x&&!E,isShowingSiteWideBanner:v&&!!x&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(i=null===(t=null==f?void 0:f.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:o}),B=P.headerRef,N=P.defaultHeaderHeight,_=P.headerHeight,z=P.headerBottom;return a.createElement(Qo,{id:"navigation-v2",style:{"--default-header-height":N+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":z+"px"},className:b},a.createElement("section",{ref:B},a.createElement(Wo,{menuItems:C,type:"home",onTopBarAppears:o?function(n){u&&u(n)}:void 0,languageMenu:a.createElement(g,{languageOptions:h,locale:p}),setSitewideBannerClosed:k,sitewideBannerClosed:E})))},qo=function(n){var t=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},n);return a.createElement(_e,e({},t),a.createElement(Ko,e({},t)))},Jo=function(n){return t(void 0,void 0,void 0,(function(){var e,t,o,a,r,l,s,d,p,c,m,g,f,v,y,b,w,E,B,z,A,T,M,H,L,S,U,D,j,R,I,O,F,G,V,W;return i(this,(function(i){switch(i.label){case 0:e={},t="vi-VN_MB"===n,i.label=1;case 1:i.trys.push([1,14,,15]),o="tl-PH"===n?"lang=fil":"",i.label=2;case 2:return i.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(C(n),"/wp-json/api/categories").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/spotlights?per_page=10").concat(o?"&"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(o?"?"+o:"")).then((function(n){return n.json()}))])];case 3:return a=i.sent(),r=a[0],l=a[1],s=a[2],d=a[3],e.categories={items:(null===(w=null===(b=null==r?void 0:r.data)||void 0===b?void 0:b.map)||void 0===w?void 0:w.call(b,Bn))||[],spotlights:(null===(A=null===(z=null===(B=null===(E=null==l?void 0:l.data)||void 0===E?void 0:E.articles)||void 0===B?void 0:B.map)||void 0===z?void 0:z.call(B,Tn))||void 0===A?void 0:A.filter(Mn))||[]},e.healthTools={items:(null===(M=null===(T=null==s?void 0:s.data)||void 0===T?void 0:T.map)||void 0===M?void 0:M.call(T,Nn))||[],spotlights:(null===(L=null===(H=null==d?void 0:d.data)||void 0===H?void 0:H.map)||void 0===L?void 0:L.call(H,Nn))||[]},[3,5];case 4:return i.sent(),[3,5];case 5:if(!t&&!x.includes(n))return[3,9];i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(k(),"/api/v1/community?website_url=https://").concat(u[n])).then((function(n){return n.json()})),fetch("".concat(k(),"/api/v1/options?website_url=https://").concat(u[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return p=i.sent(),c=p[0],m=p[1],e.together={items:(null===(D=null===(U=null===(S=null==c?void 0:c.data)||void 0===S?void 0:S.communities)||void 0===U?void 0:U.map)||void 0===D?void 0:D.call(U,N))||[],spotlights:(null===(I=null===(R=null===(j=null==m?void 0:m.data)||void 0===j?void 0:j.posts)||void 0===R?void 0:R.map)||void 0===I?void 0:I.call(R,_))||[]},[3,9];case 8:return i.sent(),[3,9];case 9:if(!h.includes(n))return[3,13];i.label=10;case 10:return i.trys.push([10,12,,13]),[4,Promise.all([fetch(P()+"/api/specialties?_ishome=1&site=".concat(u[n])).then((function(n){return n.json()})),fetch(P()+"/api/search/?site=".concat(u[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return g=i.sent(),f=g[0],v=g[1],e.care={items:(null===(G=null===(F=null===(O=null==f?void 0:f._data)||void 0===O?void 0:O.specialties)||void 0===F?void 0:F.map)||void 0===G?void 0:G.call(F,_n))||[],spotlights:(null===(W=null===(V=null==v?void 0:v._data.searches)||void 0===V?void 0:V.map)||void 0===W?void 0:W.call(V,zn))||[]},[3,13];case 12:return i.sent(),[3,13];case 13:return[3,15];case 14:return y=i.sent(),console.error(y),[3,15];case 15:return[2,e]}}))}))},Xo=function(n){return t(void 0,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,$("nav-menu-content",(function(){return Jo(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{qo as N,Pe as P,ke as U,Xo as a,Sn as b,Ee as c,dn as d,Be as e,Jo as g};
1
+ import{a as n,_ as e,b as t,c as i,d as o}from"./tslib.es6-60545877.js";import a,{useMemo as r,useRef as l,useEffect as s,useState as d,memo as p,useContext as c,useCallback as m}from"react";import{L as g}from"./index-673844f1.js";import{d as u,C as h,a as f,T as x,L as v,S as y,U as b}from"./index-6dca5da6.js";import{g as w,a as E,b as k,c as C,d as P}from"./routing-7fd011ce.js";import{P as B,c as N,a as _}from"./dataTransform-eef8b25b.js";import{C as z,L as A}from"./index-fcd5ec3c.js";import{u as T}from"./useTranslations-a927a379.js";import M from"lodash/throttle";import{g as H,M as L}from"./utils-848ab47e.js";import S from"styled-components";import{A as U}from"./index-d84dc3dd.js";import{B as D}from"./index-48727878.js";import{T as j}from"./index-2dbc1afc.js";import{CommonGAssets as R}from"./gAssets.js";import{t as I}from"./theme-d34fcb72.js";import{Portal as O}from"@mantine/core";import{g as F}from"./defaultClassWrapper-ac0cfe19.js";import{g as G}from"./cookieHelper-60faa11b.js";import{L as V}from"./constants-9aa00ab6.js";import W from"string-format";import{o as Y,U as Z}from"./index-b097af3f.js";import{P as Q}from"./index-aa8597ed.js";import{H as K}from"./index-983881c1.js";import q from"dayjs";import J from"dayjs/plugin/relativeTime";import X from"lodash/debounce";import{g as $}from"./core-33719909.js";var nn,en,tn,on=S.div(nn||(nn=n(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),an=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,o=n.className,l=n.style,s=r((function(){return H(t)}),[t]),d=s[0],p=s[1];return a.createElement(on,{lowerBound:e?0:d,upperBound:e?0:p,className:o,style:l},i)},rn=function(n){var e=(n||{}).allowBgScroll,t=l();return{containerRef:t,onContainerFocus:function(){e||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){e||(document.documentElement.style.overflow="")},onButtonMouseDown:function(n){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur(),n.preventDefault())},onClose:function(){t.current&&(document.activeElement===t.current||t.current.contains(document.activeElement))&&(t.current.blur(),document.activeElement.blur())}}},ln=S.div(en||(en=n(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n 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"])),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray800}),L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray600}),L.mbDown,L.mbUp),sn=S.div(tn||(tn=n(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n 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"])),L.mbDown,L.mbUp,(function(n){return"marryBaby"===n.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""})),dn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,o=n.siteType,r=void 0===o?"helloSites":o,l=T().t;return s((function(){document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(O,null,a.createElement(B,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:R.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},a.createElement(ln,null,"helloSites"===r&&a.createElement("img",{src:R.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,l("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement(sn,{siteType:r},a.createElement(D,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},l("logout.popup.button.logout")),a.createElement(D,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},pn="hhgcomp-navprofilebutton-popup",cn=F(S.div(gn||(gn=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 max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\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 max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\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 &: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 width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),L.mbDown,L.mbUp,L.mbDown,L.mbUp,L.mbDown,L.mbUp,(function(n){return n.theme.colors.gray200}),L.mbDown,I.colors.neutral100,L.mbUp),pn),mn="hhgcomp-navprofilebutton-popupwrapper";F(S.div(un||(un=n(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 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: var(--header-bottom, 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"])),L.mbUp,L.mbDown),mn);var gn,un,hn,fn,xn,vn=S.div(hn||(hn=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"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),yn=S.a(fn||(fn=n(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),pn,L.mbDown,mn),bn=S.a(xn||(xn=n(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),L.mbUp,L.mbUp),wn="profile/posts?website_url={websiteUrl}",En=99,kn=300,Cn=400,Pn=210,Bn=function(n){var e,t,i,o;return n?{termId:n.term_id||null,sponsor:n.sponsor?(o=n.sponsor,o?{title:o.title,logo:o.logo,link:o.link}:{}):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||n.name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.thumbnail||n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return Bn(n)})))||[],thumnailColor:n.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?(i=n.reviewed_by,{postTitle:i.post_title,permalink:i.permalink}):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return function(n){return{title:n.title,content:n.content}}(n)})):null}:{}},Nn=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),o=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),a=n.link?n.link.startsWith("http")||i?n.link:o?n.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(n.link.replace("/health-tools/","/")):void 0;return{icon:n.icon,link:a,subtitle:n.subtitle,title:n.title}},_n=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},zn=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},An=function(n){var e,t,i=n.type,o=n.specialtySlug,a=n.locale;return"".concat(null===(e=V[a])||void 0===e?void 0:e.ALL,"/").concat((null===(t=V[a])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=o?o:"")},Tn=function(n){return n?{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image)||"",imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}:{}},Mn=function(n){var e=new Date;if(null==n?void 0:n.startDate){var t=new Date(n.startDate);if(e.getTime()<t.getTime())return!1}if(null==n?void 0:n.endDate){var i=new Date(n.endDate);if(e.getTime()>i.getTime())return!1}return!0},Hn={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Ln={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function Sn(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,o=void 0===i?"helloSites":i,l=T().t,s=r((function(){var n=(null==e?void 0:e.name)||(null==e?void 0:e.username);return n&&n.length?n[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Ln.navHeader,onClick:function(){t&&t()}},a.createElement(U,{className:Ln.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:s,backgroundColor:"marryBaby"===o?I.mbColors.pink:I.colors.secondaryBase}),a.createElement("div",{className:Ln.navHeaderUserInfos},a.createElement("div",{className:Ln.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ln.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(R.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var Un,Dn,jn,Rn,In,On,Fn,Gn,Vn,Wn,Yn,Zn,Qn,Kn,qn,Jn="fVk18fq",Xn="v8TCvUb",$n="mx7T4V3",ne={myHealth:I.mbColors.toneYellow,myCommunity:I.mbColors.toneBlue,mySaved:I.mbColors.toneGreen},ee={helloSites:{myBooking:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return R.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return R.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},te=function(n){var e=n.type,t=n.themeName,i=n.className,o=n.onClick,l=void 0===o?function(){}:o,s=T().t,d=r((function(){var n,i;return(null===(i=null===(n=ee[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),p=r((function(){return"marryBaby"!==t?"transparent":ne[e]}),[e,t]);return a.createElement("div",{onClick:function(){l(e)},className:"".concat(Jn," ").concat(i)},a.createElement("div",{className:$n,style:{backgroundColor:p,backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:Xn},s("userProfile.nav.card.".concat(e))))},ie="gn6HmGG",oe="FCx8FEM",ae="zMiRxaE",re="lZ2Z9MQ",le="rwm-agG",se="qMOscoq",de=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,o=d(""),l=o[0],s=o[1],p=r((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:R.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:R.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:R.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:R.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function c(n){n.subMenu?s((function(e){return e?"":n.key})):i&&i(n)}return a.createElement("div",{className:ie},p.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:l,onClickItem:c,locale:t})})))},pe=function(n){var e,t=n.item,i=n.openKey,o=n.onClickItem,r=n.locale,l=T().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(r))?null:a.createElement("div",{className:"".concat(oe," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},a.createElement("div",{className:ae,onClick:function(){return o(t)}},t.icon&&a.createElement("div",{className:re,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),l(t.key),t.subMenu&&a.createElement("div",{className:le,style:{"--after-bg":"url(".concat(R.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&a.createElement("div",{className:se},t.subMenu.map((function(n){return a.createElement(pe,{key:n.key,item:n,openKey:i,onClickItem:o,locale:r})}))))},ce="-AZt1au",me="IvSIfCI",ge="eahCJov",ue="XIyViFs",he="_4y-O0w3",fe="kO8iNgD",xe="a1d4E10",ve="Tdguxxf",ye="-mOxsaU",be="yPeDBNZ",we={helloSites:{member:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return R.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},Ee=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,o=n.numberOfPosts,l=void 0===o?0:o,s=T().t,d=r((function(){var n,t;return(null===(t=null===(n=we[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return a.createElement("div",{className:he,"data-user-rank":i},a.createElement("div",{className:fe},a.createElement("div",{className:xe},a.createElement("div",{className:ve,style:{backgroundImage:'url("'.concat(d,'")')}}),a.createElement("h3",{className:ye},s("userProfile.userRank.".concat(i))),l>0&&a.createElement("p",{className:be},l," ",s("userProfile.nav.header.count.posts")))))},ke=function(n){var t=n.SSO_URL,i=n.UP_BASEPATH,o=void 0===i?"user":i,l=n.themeName,p=void 0===l?"helloSites":l,c=n.cardUrls,m=void 0===c?Hn:c,g=n.enableCare,h=n.enableTogether,f=n.enableEcom,x=n.userInfo,v=n.togetherApiDomain,y=n.userPostsNumber,b=n.onClickNavigationCard,w=n.onClickMyProfileButton,E=n.onClickMenuItem,k=n.onClickLogout,C=n.isUserProfileNavigatorMenuHidden,P=void 0!==C&&C,B=n.isMyHealthEnabled,N=void 0!==B&&B,_=n.locale,z=T().t,A=d(y||0),M=A[0],H=A[1],L="marryBaby"===p;s((function(){if(x&&void 0===y){var n=G("hhg_user_token");n&&fetch(function(n,t,i,o){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+W(wn,e(e({},o),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(u[n])}))}(_,L,v),{headers:{Authorization:"Bearer ".concat(n)}}).then((function(n){return n.json()})).then((function(n){var e,t,i;1===(null==n?void 0:n.status)&&(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.pagination)&&H((null===(i=null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.pagination)||void 0===i?void 0:i.total_items)||0)})).catch((function(n){return console.error("Error fetching post number",n)}))}}),[_,null!==x,y,v,L]);var S=r((function(){return(L?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?g:"myCommunity"===n?h:"myHealth"===n?N:"eCom"!==n||f}))}),[L,N]),U=r((function(){return"marryBaby"===p?null:a.createElement(D,{color:"tertiary",icon:a.createElement("img",{src:R.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:k,className:ue},z("userProfile.nav.menu.logout"))}),[p]),j=function(n){window.location.href="".concat(t).concat(o,"/").concat(n)},I=function(n){var e=m[n];b?b(e):j(e)};return x?a.createElement("div",{className:ce,"data-theme":p},a.createElement(Sn,{userInfo:x,themeName:p,onClickMyProfileButton:function(){w?w():j("profile")}}),a.createElement(Ee,{themeName:p,rank:"member",numberOfPosts:M}),a.createElement("div",{className:me},S.map((function(n){return a.createElement(te,{className:ge,key:n,themeName:p,type:n,onClick:I})}))),!P&&a.createElement(a.Fragment,null,a.createElement(de,{themeName:p,locale:_,onClickItem:function(n){"logout"===n.link&&k?k():n.link&&!n.subMenu&&(E?E(n.link):j(n.link))}}),U)):null},Ce=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,o=n.isOpen,r=void 0===o||o,l=n.onClose,s=n.children,d=n.enableAnimation,p=void 0===d||d,c=n.targetAvatar,m=n.id,g=n.className;return a.createElement(cn,{"data-open":r,"data-type":t,"data-animation":p,"data-target":c,id:m,className:g},a.createElement("div",{className:"popup-content"},!!i&&a.createElement("div",{className:"close-button",onClick:l},i),s))},Pe=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,o=n.targetAvatar,r=n.userInfo,l=n.enableCare,s=n.enableTogether,d=n.enableEcom,p=n.closePopup,c=n.siteType,m=void 0===c?"helloSites":c,g=n.dispatchLogout,u=n.userProfileRouterPush,h=n.isUserProfileNavigatorMenuHidden,f=n.isMyHealthEnabled,x=void 0!==f&&f,v=n.togetherApiDomain,y=n.locale,b=function(n){u?u("/".concat(n)):e&&(window.location.href="".concat(e).concat(t,"/").concat(n))},w=function(n){b(n),p()};return a.createElement(Ce,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:o,onClose:p},a.createElement(ke,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:r,enableCare:l,enableTogether:s,enableEcom:d,onClickLogout:function(){g&&(g(),p())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),p()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},Be=function(n){var o=n.userInfo,r=n.siteType,l=n.onLoginClick,p=n.SSO_URL,c=n.currentUrl,m=n.isMinifyLogin,g=n.enableCare,u=n.enableTogether,h=n.enableEcom,f=n.isUserProfileNavigatorMenuHidden,x=n.UP_BASEPATH,v=n.isMyHealthEnabled,y=n.togetherApiDomain,b=n.onLogout,w=n.style,E=n.userProfileRouterPush,k=n.isLoading,C=n.locale,P=T().t,B=d(!1),N=B[0],_=B[1],z=(null==o?void 0:o.name)||(null==o?void 0:o.username),A=d(!1),M=A[0],H=A[1];s((function(){H(!0)}),[]);var L=rn(),S=L.containerRef,O=L.onContainerFocus,F=L.onContainerBlur,G=L.onButtonMouseDown,V=L.onClose;return k?a.createElement(D,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(yn,{ref:S,style:w,tabIndex:0,onBlur:F,onFocus:O},a.createElement("div",{onMouseDown:G},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(U,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:z&&z.length?z[0].toUpperCase():"A",backgroundColor:"marryBaby"===r?I.mbColors.pink:I.colors.secondaryBase})),a.createElement(Pe,{UP_BASEPATH:x,SSO_URL:p,dispatchLogout:function(){V(),_(!0)},isOpen:!1,isMyHealthEnabled:v,enableCare:g,enableTogether:u,enableEcom:h,closePopup:V,userInfo:o,siteType:r,isUserProfileNavigatorMenuHidden:f,togetherApiDomain:y,userProfileRouterPush:E,locale:C})),a.createElement(dn,{openLogoutPopup:N,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),_(!1)},siteType:r,onLogoutHandler:function(){return t(void 0,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return _(!1),document.body.classList.toggle("noscroll",!1),[4,b()];case 1:return n.sent(),[2]}}))}))}})):a.createElement(bn,{style:e({textDecoration:"none"},w),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":c,href:M?void 0:"".concat(p,"?returnUrl=").concat(c),"data-site-type":r},m?a.createElement(vn,{onClick:l},a.createElement("img",{src:R.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===r&&a.createElement("img",{className:"mobile-only",src:R.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}),"marryBaby"===r&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(j,{size:"p3",color:I.mbColors.pink},P("navigation.loginJoin"))),a.createElement(D,{className:"login-btn",size:"md",color:"tertiary",onClick:l,icon:a.createElement("img",{src:R.getAssetPath("login.svg"),width:18,height:18}),theme:r},P("navigation.loginJoin"))))},Ne=a.createContext({}),_e=function(n){var t=n.children,i=o(n,["children"]),l=a.useState((function(){return i.currentUrl||"https://".concat("marryBaby"===i.siteType?Y[i.locale||"en-PH"]:u[i.locale||"en-PH"]).concat("together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":"","/")})),d=l[0],p=l[1];s((function(){var n=function(){p(window.location.href)};return window.addEventListener("popstate",n),n(),function(){window.removeEventListener("popstate",n)}}),[]);var c=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,o=n.siteType;return r((function(){var n=!(!i&&"profile"===t),a="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&h.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&f.includes(e),s="marryBaby"===t||x.includes(e),d="ecom"===t,p="ecom"===t,c=w(e,"marryBaby"===o),m=E(e,"marryBaby"===o);return{enableProfileNavigatorMenu:n,enableSearchBar:a,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:m,TOGETHER_API:k(),DISCOVER_API:C(e)}}}),[e,t,i])}({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Ne.Provider,{value:e(e({},i),{configs:c,currentUrl:i.currentUrl||d})},t)},ze="-XmTq5-",Ae="V-oxu20",Te=function(n){var e=n.item,t=n.menu,i=rn({allowBgScroll:!0}),o=i.containerRef,r=i.onContainerFocus,l=i.onContainerBlur,p=i.onButtonMouseDown,c=i.onClose,m=function(){var n=d(!0),e=n[0],t=n[1];return s((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Ae},e.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:l,onFocus:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:p,className:Ae},e.name,e.popupType&&a.createElement("div",{className:ze},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:c}):null)},Me=p((function(){return a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.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"}))})),He=function(){var n=c(Ne),e=n.locale,t=n.configs.statics,i=n.siteType,o=T().t;return a.createElement(Q,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?o("navigation.search.input.placeholder"):o("home.search",{site:v[e||"en-PH"]?v[e||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(n){return"Enter"===n.key&&(window.location.href="".concat(t.HOME_PAGE_URL,"/search/?s=").concat(n.target.value))},type:"search",onFocus:function(n){n.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Me,null))})},Le="eJS8-if",Se="EuQrB-3",Ue="_0JtBh8L",De=function(n){var e=n.onClosePopup;return a.createElement("div",{className:"".concat(Ue," close-btn"),onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},je=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,o=n.isNavMenu,r=n.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!o},a.createElement(z,null,!r&&a.createElement("div",{className:Se},a.createElement(De,{onClosePopup:e})),a.createElement(z,{className:Le},i)))},Re=S.div(Un||(Un=n(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),L.mbUp),Ie=S.a(Dn||(Dn=n(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Oe=S.div(jn||(jn=n(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),L.mbDown),Fe=S.div(Rn||(Rn=n(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),L.mbUp),Ge=S.div(In||(In=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),Ve=S.div(On||(On=n(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),We=S.a(Fn||(Fn=n(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),L.mbDown),Ye=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,o=n.onClosePopup,r=n.menuItems,l=n.headingTitle,s=c(Ne).siteType;return a.createElement(Re,null,a.createElement(Oe,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},l)),null==r?void 0:r.slice(0,6).map((function(n,e){var t=(null==n?void 0:n.link)?(null==n?void 0:n.link.startsWith("http"))?null==n?void 0:n.link:"".concat(i,"/").concat(null==n?void 0:n.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(Ie,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":s,key:e,onClick:o},a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),a.createElement("p",null,n.name),a.createElement(Fe,null,a.createElement("img",{src:R.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&a.createElement(We,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Ge,{onClick:o,"data-theme":s,"data-is-heading-category":!1},t,a.createElement(Ve,null,a.createElement("img",{className:"svg",src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ze=S.div(Gn||(Gn=n(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),L.mbDown,L.mbUp),Qe=S.div(Vn||(Vn=n(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),Ke=S.div(Wn||(Wn=n(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),qe=S.div(Yn||(Yn=n(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),Je=S.div(Zn||(Zn=n(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),L.mbDown),Xe=function(n){var e=n.title,t=n.link,i=n.description,o=n.cta,r=n.icon,l=c(Ne).siteType;return a.createElement(Ze,{"data-theme":l},a.createElement(Je,null,a.createElement("img",{src:"marryBaby"===l?R.getAssetPath("navMBSpotlightBgNoData.svg"):R.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(qe,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,e&&a.createElement(Ke,null,e),i&&a.createElement(Qe,null,i),o&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(D,{theme:l,className:"survey-contact-submit",size:"md"},o)))))},$e=S.div(Qn||(Qn=n(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),L.mbDown,(function(n){return n.theme.colors.neutral100})),nt=S.div(Kn||(Kn=n(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),et=S.a(qn||(qn=n(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),L.mbDown),tt=function(n){var e=n.title,t=n.viewMore,i=n.children,o=n.link,r=n.dataEventAction,l=void 0===r?"":r,s=c(Ne).siteType;return a.createElement($e,null,a.createElement(nt,null,a.createElement(K,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&a.createElement(et,{"data-event-category":"Hamburger Navigation","data-event-action":l,"data-event-label":o,href:o,"data-theme":s},t,a.createElement("img",{src:"marryBaby"===s?R.getAssetPath("chevronRightPink.svg"):R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};S.div(it||(it=n(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\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 &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var it,ot,at,rt,lt,st,dt,pt,ct,mt=S.div(ot||(ot=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),L.tdDown),gt=S.div(at||(at=n(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),L.tdDown,L.mbDown),ut=S.div(rt||(rt=n(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),ht=S.div(lt||(lt=n(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),L.tdDown),ft=S.p(st||(st=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdDown),xt=S.p(dt||(dt=n(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),vt="hhgcomp-navigation-menucareitem-contentwrapper",yt=F(S.div(pt||(pt=n(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),L.tdDown),vt),bt=S.a(ct||(ct=n(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),I.colors.white,L.tdUp,L.tdDown,vt,L.mbDown,L.tdOnly,I.colors.neutral100),wt=function(n){var e,t=n.item,i=n.index,o=void 0===i?0:i,r=T().t,l=c(Ne),s=l.locale,d=l.configs.statics;if(!t)return null;var p="".concat(d.CARE_URL_FE,"/").concat(null===(e=V[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return a.createElement(bt,{key:t.id,href:p,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(o+1),"data-event-label":p},a.createElement("img",{src:R.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(gt,null,a.createElement(ut,null,a.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),a.createElement(yt,null,a.createElement(ft,null,t.name),a.createElement(xt,null,t.description),a.createElement(ht,null,r("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Et=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.spotlightHospitals")},0!==t.length?a.createElement(mt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return a.createElement(wt,{key:e,index:e,item:n})}))):a.createElement(Xe,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:i,cta:o("home.navigator.menu.care.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},kt=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,o=n.isOpen,r=n.onClose,l=n.spotlights,s=void 0===l?[]:l,d=T().t,p=c(Ne),m=p.locale,g=p.configs.statics,u="".concat(g.CARE_URL_FE,"/").concat(null===(e=V[m])||void 0===e?void 0:e.SPECIALTIES);return a.createElement(je,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{headingTitle:d("home.navigator.menuItem.specialties"),hrefViewMore:u,UrlFE:g.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:d("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:An({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),a.createElement(Et,{spotlights:s,hrefViewMore:u}))};S.div(Ct||(Ct=n(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),S.div(Pt||(Pt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Ct,Pt,Bt,Nt,_t,zt,At=S.div(Bt||(Bt=n(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),L.tdDown),Tt=S.a(Nt||(Nt=n(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Mt=S.div(_t||(_t=n(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),L.tdDown),Ht=S.p(zt||(zt=n(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),L.tdUp),Lt=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?a.createElement(Tt,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},a.createElement(Mt,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Ht,null,e.title)):null},St=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,o=T().t,r=c(Ne).configs.statics;return a.createElement(tt,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?a.createElement(At,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(Lt,{key:e,index:e,item:{id:n.id,link:r.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):a.createElement(Xe,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:i,cta:o("home.navigator.menu.category.noDatas.cta"),icon:R.getAssetPath("Spotlight.svg")}))},Ut=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,o=void 0===i?[]:i,r=n.onClose,l=n.isOpen,s=T().t,d=c(Ne),p=d.locale,m=d.configs.statics;return a.createElement(je,{onClosePopup:r,isDisplay:l,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:s("home.navigator.menuItem.allCategories"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.displayName||null,link:(null==n?void 0:n.permalink)||"/",thumbnail:n.iconUrl||null}:{}})))||[],headingTitle:s("home.navigator.menuItem.healthCategories")}),a.createElement(St,{spotlightsList:o,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===p?"/fil":"","/spotlight/")}))};S.div(Dt||(Dt=n(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\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 & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),S.div(jt||(jt=n(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Dt,jt,Rt,It,Ot,Ft,Gt,Vt,Wt,Yt,Zt,Qt,Kt,qt,Jt=S.div(Rt||(Rt=n(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),L.tdDown,L.mbDown),Xt=S.div(It||(It=n(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),$t=S.img(Ot||(Ot=n(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),ni=S.div(Ft||(Ft=n(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),ei=S.div(Gt||(Gt=n(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),ti=S.div(Vt||(Vt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),ii=S.div(Wt||(Wt=n(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),oi=S.a(Yt||(Yt=n(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),L.tdOnly,L.mbDown,L.tdUp),ai=S.div(Zt||(Zt=n(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ri=S.div(Qt||(Qt=n(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),li=S.div(Kt||(Kt=n(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),si=S.div(qt||(qt=n(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));q.extend(J);var di=function(n){var e,t,i,o,r,l,s,d=n.post,p=n.index,m=void 0===p?0:p,g=c(Ne),u=g.siteType,h=g.configs.statics;if(!d)return null;var f=[h.TOGETHER_URL_FE,null===(e=d.community)||void 0===e?void 0:e.slug].join("/"),x=[f,d.slug].join("/"),v=d.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?q(y).toNow(!0):v;return a.createElement(oi,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},a.createElement(Xt,null,a.createElement(ai,null,a.createElement(Z,{avatar:null===(t=d.author)||void 0===t?void 0:t.avatar,username:(null===(i=d.author)||void 0===i?void 0:i.name)||(null===(o=d.author)||void 0===o?void 0:o.username)}),a.createElement(si,null,a.createElement(ni,{"data-theme":u},null===(r=d.author)||void 0===r?void 0:r.name),a.createElement(li,null,a.createElement(ei,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(m+1),"data-event-label":f,onClick:function(n){n.preventDefault(),location.href=f},"data-theme":u},null===(l=d.community)||void 0===l?void 0:l.name),a.createElement(ii,null,"•"),a.createElement(ti,{"data-theme":u},b)))),a.createElement(ri,null,d.title)),!!(null===(s=d.photos)||void 0===s?void 0:s.length)&&a.createElement($t,{loading:"lazy",src:d.photos[0]}))},pi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=c(Ne).configs.statics,o=T().t;return a.createElement(tt,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==t.length?a.createElement(Jt,null,null==t?void 0:t.slice(0,4).map((function(n,e){return a.createElement(di,{index:e,post:n,key:n.id})}))):a.createElement(Xe,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:o("home.navigator.menu.together.noPosts.cta"),icon:R.getAssetPath("community.svg")}))},ci=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,o=n.isOpen,r=n.spotlights,l=void 0===r?[]:r,s=T().t,d=c(Ne).configs.statics;return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:d.TOGETHER_URL_FE+"/",UrlFE:d.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:s("home.navigator.menuItem.allCommunities"),menuItems:(null==t?void 0:t.map((function(n){return n?{name:n.name||"",link:n.slug||"/",thumbnail:n.thumbnail||""}:{}})))||[],headingTitle:s("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(pi,{spotlights:l}))};S.div(mi||(mi=n(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var mi,gi,ui,hi,fi,xi,vi,yi,bi,wi,Ei,ki,Ci,Pi,Bi,Ni,_i=S.div(gi||(gi=n(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),L.tdDown),zi=S.a(ui||(ui=n(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),L.tdDown,L.tdDown),Ai=S.div(hi||(hi=n(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),L.tdDown),Ti=S.div(fi||(fi=n(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Mi=S.p(xi||(xi=n(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Hi=S.p(vi||(vi=n(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Li=S.div(yi||(yi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),L.tdUp,L.tdDown),Si=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=T().t,r=c(Ne).configs.statics;if(!e)return null;var l=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0;return a.createElement(zi,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":l},a.createElement("img",{src:R.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Li,null,a.createElement(Mi,null,e.title),a.createElement(Hi,null,e.subtitle),a.createElement(Ti,null,o("home.seeMore"),a.createElement("img",{src:R.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(Ai,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ui=S.a(bi||(bi=n(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),L.tdDown,L.mbDown,L.tdUp,L.tdUp,L.tdDown),Di=S.div(wi||(wi=n(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),L.tdDown,L.mbDown),ji=S.div(Ei||(Ei=n(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),L.tdDown,(function(n){return n.theme.mbColors.pink})),Ri=S.p(ki||(ki=n(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Ii=S.p(Ci||(Ci=n(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),L.tdDown),Oi=S.div(Pi||(Pi=n(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),L.tdUp,L.tdDown),Fi=S.div(Bi||(Bi=n(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),L.tdUp,L.tdDown),Gi=S.div(Ni||(Ni=n(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),L.tdUp,L.tdDown),Vi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,o=n.color,r=T().t,l=c(Ne).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0,d=function(){return a.createElement(Di,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},p=function(){return a.createElement(Gi,null,a.createElement(Fi,null,a.createElement(Ri,null,e.title),a.createElement(Ii,null,e.subtitle)),a.createElement(ji,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:R.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(Ui,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:R.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(Oi,null,a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},p())),a.createElement("div",{className:"mobile-only"},p()),a.createElement("div",{className:"desktop-only"},d()))},Wi=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,o=T().t,r=["pink","orange","green"],l=c(Ne).siteType;return a.createElement(tt,{title:o("home.navigator.menu.spotlightTools")},0!==i.length&&a.createElement(_i,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===l?a.createElement(Vi,{key:e,index:e,item:n,color:r[e]}):a.createElement(Si,{key:e,index:e,item:n})}))),0===i.length&&a.createElement(Xe,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:R.getAssetPath("community.svg")}))},Yi=function(n){var e,t=n.locale,i=n.onClose,o=n.isOpen,r=n.spotlightHealthTools,l=void 0===r?[]:r,s=n.healthTools,d=void 0===s?[]:s,p=T().t,m=c(Ne).configs.statics,g="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=y[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return a.createElement(je,{onClosePopup:i,isDisplay:o,isNavMenu:!0},a.createElement(Ye,{hrefViewMore:g,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:p("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:p("home.navigator.menuItem.allHealthTools"),menuItems:d.map((function(n){return{name:n.title,link:n.link?n.link.startsWith("http")?n.link:"".concat(m.HOME_PAGE_URL).concat(n.link):void 0,thumbnail:n.icon}}))}),a.createElement(Wi,{spotlightHealthTools:l,hrefViewMore:g}))},Zi="_6gGCHV-",Qi="YDzfyQU",Ki=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,o=n.btnName;return e?a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},o):a.createElement("a",{href:i,className:"".concat(Qi," care-button no-replace-click")},a.createElement(D,{className:Zi,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},o))};function qi(n){var e=n.className;return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Ji(n){var e=n.siteType,t=n.type,i=n.enableSearch,o=n.className;return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?R.getAssetPath("hamburgerMenuNewWithSearch.svg"):R.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:o})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o},a.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"}))}var Xi=S.div($i||($i=n(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));S.div(no||(no=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"],["\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"]))),S.div(eo||(eo=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"],["\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"]))),S.div(to||(to=n(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),S.div(io||(io=n(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),S.div(oo||(oo=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"],["\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"]))),S.div(ao||(ao=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"],["\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"])),Pn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),S.div(ro||(ro=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 position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),S.div(lo||(lo=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"],["\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"]))),S.div(so||(so=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"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(po||(po=n(["\n display: none;\n"],["\n display: none;\n"]))),S.div(co||(co=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 width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),S.div(mo||(mo=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"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),S.div(go||(go=n(["\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"]))),S.div(uo||(uo=n(["\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"]))),S.div(ho||(ho=n(["\n display: block;\n"],["\n display: block;\n"]))),S.div(fo||(fo=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 .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),S.div(xo||(xo=n(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var $i,no,eo,to,io,oo,ao,ro,lo,so,po,co,mo,go,uo,ho,fo,xo,vo,yo,bo=S.div(vo||(vo=n(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),wo=S.div(yo||(yo=n(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Eo=function(n){var e,t,i=n.closePopup,o=n.menuItems,r=void 0===o?[]:o,l=c(Ne),s=l.siteType,d=l.ssrMenuContent,p=d.categories,m=d.healthTools,g=d.care,u=d.together,h=l.activeMenuService,f=l.configs,x=f.statics,v=f.enableSearchBar,b=l.locale,w=T().t;return a.createElement(Xi,{id:"categories-menu"},v?a.createElement(bo,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},a.createElement(He,null)):null,a.createElement(wo,null,a.createElement(Ye,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===h&&a.createElement(St,{spotlightsList:(null==p?void 0:p.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"","/spotlight/")}),"tools"===h&&a.createElement(Wi,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===b?"/fil":"").concat((null===(e=y[b])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===h&&a.createElement(Et,{spotlights:null==g?void 0:g.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=V[b])||void 0===t?void 0:t.SPECIALTIES)}),"together"===h&&a.createElement(pi,{spotlights:null==u?void 0:u.spotlights})))},ko="IQdn7tn",Co="_1jX3mGY",Po="arD755Y",Bo=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,o=c(Ne),r=o.siteType,l=o.configs.enableSearchBar,s=rn(),d=s.containerRef,p=s.onContainerFocus,m=s.onContainerBlur,g=s.onButtonMouseDown,u=s.onClose;return a.createElement(an,{mediaQueryKey:"mbDown"},a.createElement("header",{className:ko},a.createElement("div",{className:Co,ref:d,role:"button",tabIndex:0,onBlur:m,onFocus:p},a.createElement("div",{className:Po,onMouseDown:g,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(qi,{className:"mobile-close-icon"}),a.createElement(Ji,{siteType:r,type:t,enableSearch:l,className:"mobile-hamburger-icon"})),a.createElement(Eo,{menuItems:i,closePopup:u}))))},No=S.div(Mo||(Mo=n(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\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 "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\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\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),L.mbUp,L.mbDown,En,kn,Cn,(function(n){return n.theme.mbColors.lightGray})),_o=S.div(Ho||(Ho=n(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),L.pcDown,L.mbDown,L.tdUp),zo=S.div(Lo||(Lo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcDown),Ao=S.div(So||(So=n([""],[""]))),To=S.div(Uo||(Uo=n(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),L.pcUp,L.pcDown,L.mbDown);S.div(Do||(Do=n(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Mo,Ho,Lo,So,Uo,Do,jo,Ro,Io,Oo,Fo,Go=S.div(jo||(jo=n(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),L.pcDown,L.mbDown),Vo=S.div(Ro||(Ro=n(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Wo=function(n){var e,t=n.onTopBarAppears,i=n.type,o=void 0===i?"home":i,r=n.languageMenu,p=n.menuItems,g=n.setSitewideBannerClosed,u=n.sitewideBannerClosed,h=c(Ne),f=h.siteType,x=h.isMobile,y=void 0!==x&&x,w=h.locale,E=h.sitewideBanner,k=h.sitewideBannerShown,C=void 0===k||k,P=h.sponsorComponent,B=h.onBookingClick,N=h.currentUrl,_=h.onLoginClick,z=h.configs,H=z.statics,L=z.enableNavCareBooking,S=z.enableSearchBar,U=z.enableNavCare,D=z.enableProfileMyHealth,j=z.enableNavTogether,I=z.enableProfileEcom,O=z.enableProfileNavigatorMenu,F=h.userState.userInfo,G=h.onLogout,V=h.userProfileRouterPush,W=h.isUserLoading,Y=T().t,Z=H.SSO_URL,Q=H.HOME_PAGE_URL,K=!!P,q=d(!1),J=q[0],X=q[1],$=l(47),nn=l(null),en=l(!1),tn="helloSites"===f?null===(e=v[w])||void 0===e?void 0:e.LOGO_TYPE:f,on="undefined"!=typeof window,rn=m(M((function(){if("home"===o&&on){if(!nn.current)return;var n=nn.current.getBoundingClientRect();n.top<=0&&window.scrollY>$.current&&window.scrollY>n.height+20&&!en.current&&(en.current=!0,X(!0)),window.scrollY<$.current&&en.current&&(en.current=!1,X(!1)),window.scrollY>=0&&($.current=window.scrollY)}}),200),[]);s((function(){null==t||t(!J)}),[J]),s((function(){return window.addEventListener("scroll",rn,{passive:!0}),function(){window.removeEventListener("scroll",rn)}}),[]),s((function(){y&&rn()}),[y]);var ln=C&&!!E&&!u;return a.createElement(No,{"data-site-type":f,"data-sponsored":K,"data-sitewide-banner-shown":ln,"data-header-type":o,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==o,"data-is-displayed":!0,id:"site-header",ref:nn},E?a.isValidElement(E)?a.cloneElement(E,{isCollapsed:J,setBannerClosed:g,isMobile:y}):E:null,a.createElement(_o,{"data-site-type":f},a.createElement(zo,{"data-site-type":f},a.createElement(Bo,{menuItems:p,type:o}),a.createElement("a",{href:Q},a.createElement(Ao,null,a.createElement(A,{style:{display:"flex"},type:tn,badge:"id-ID"===w&&a.createElement("img",{src:R.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===f?a.createElement(Zo,{menuItems:p}):S&&a.createElement(Yo,{siteType:f})),a.createElement(To,{"data-site-type":f},"marryBaby"===f?S&&a.createElement(Yo,{siteType:f}):a.createElement(Zo,{menuItems:p}),a.createElement(Go,null,L&&a.createElement(an,{mediaQueryKey:"mbUp"},a.createElement(Ki,{careUrlFe:H.CARE_URL_FE,currentUrl:N,btnName:Y("login.booking"),onCareHeaderClick:B})),r,a.createElement(Be,{userInfo:F,siteType:f,onLoginClick:_||function(){var n=window.location.href;window.location.href=Z?"".concat(Z,"?returnUrl=").concat(n):n},SSO_URL:H.SSO_URL+"/",currentUrl:N,onLogout:G,UP_BASEPATH:b,isMyHealthEnabled:D,enableCare:U,enableTogether:j,enableEcom:I,togetherApiDomain:H.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!O,userProfileRouterPush:V,isLoading:W,locale:w})))),P?a.isValidElement(P)?a.cloneElement(P,{isCollapsed:J,locale:w,isMobile:y}):P:null)},Yo=function(n){var e=n.siteType;return a.createElement(an,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(He,null))},Zo=function(n){var e=n.menuItems,t=c(Ne),i=t.siteType,o=t.locale,r=t.ssrMenuContent,l=r.categories,s=r.healthTools,d=r.care,p=r.together;return a.createElement(an,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Vo,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return a.createElement(Te,{key:e,item:n,menu:"categories"===n.popupType?a.createElement(Ut,{categories:null==l?void 0:l.items,spotlightsList:null==l?void 0:l.spotlights}):"tools"===n.popupType?a.createElement(Yi,{locale:o,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?a.createElement(ci,{communities:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):"care"===n.popupType?a.createElement(kt,{careSpecialties:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):null})}))))},Qo=S.div(Io||(Io=n(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),L.mbDown);S.div(Oo||(Oo=n(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),S.a(Fo||(Fo=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"],["\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"])));var Ko=function(n){var t,i,o=n.isMobile,p=n.locale,u=n.onTopBarAppears,h=n.languageOptions,f=n.sponsorComponent,x=n.sitewideBanner,v=n.sitewideBannerShown,b=n.className,w=d(!1),E=w[0],k=w[1],C=function(){var n=T().t,e=c(Ne),t=e.siteType,i=e.locale,o=e.configs,a=o.enableNavCare,l=o.enableNavTogether,s=o.enableNavEcom,d=o.statics,p="marryBaby"===t,m=r((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:p?R.getAssetPath("categories-mb.svg"):R.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=y[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:p?R.getAssetPath("healthtools-mb.svg"):R.getAssetPath("healthTools.png"),popupType:"tools"}];return a&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:d.HOME_PAGE_URL+"/care",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:d.TOGETHER_URL_FE+"/",thumbnail:p?R.getAssetPath("community-mb.svg"):R.getAssetPath("together.png"),popupType:"together"}),s&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:d.HOME_PAGE_URL+"/ecom",thumbnail:R.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,a,l,s]);return m}();!function(){var n=c(Ne),t=n.isFirstLogin,i=n.userState.userInfo;s((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var P=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,o=n.isShowingSiteWideBanner,a=n.isMobile,p=l(null),c=d(0),g=c[0],u=c[1],h=d(64),f=h[0],x=h[1],v=m(X((function(){var n,e,t,i,o=(null===(n=p.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=p.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=o+200&&(u(o),x((null===(i=p.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||g))}),200),[]);s((function(){return window.addEventListener("resize",v,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),s((function(){v()}),[a,t,o,i,e,p.current]);var y=r((function(){var n=a?64:69;return o&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[a,o,e,i]);return{defaultHeaderHeight:y,headerHeight:g||y,headerBottom:f,headerRef:p}}({isSiteWide:!!x&&!E,isShowingSiteWideBanner:v&&!!x&&!E,isSponsored:!!f,hasSponsoredBanners:!!(null===(i=null===(t=null==f?void 0:f.props)||void 0===t?void 0:t.sponsoredBy)||void 0===i?void 0:i.length),isMobile:o}),B=P.headerRef,N=P.defaultHeaderHeight,_=P.headerHeight,z=P.headerBottom;return a.createElement(Qo,{id:"navigation-v2",style:{"--default-header-height":N+"px","--header-height":"calc(".concat(_,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":z+"px"},className:b},a.createElement("section",{ref:B},a.createElement(Wo,{menuItems:C,type:"home",onTopBarAppears:o?function(n){u&&u(n)}:void 0,languageMenu:a.createElement(g,{languageOptions:h,locale:p}),setSitewideBannerClosed:k,sitewideBannerClosed:E})))},qo=function(n){var t=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},n);return a.createElement(_e,e({},t),a.createElement(Ko,e({},t)))},Jo=function(n){return t(void 0,void 0,void 0,(function(){var e,t,o,a,r,l,s,d,p,c,m,g,f,v,y,b,w,E,B,z,A,T,M,H,L,S,U,D,j,R,I,O,F,G,V,W;return i(this,(function(i){switch(i.label){case 0:e={},t="vi-VN_MB"===n,i.label=1;case 1:i.trys.push([1,14,,15]),o="tl-PH"===n?"lang=fil":"",i.label=2;case 2:return i.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(C(n),"/wp-json/api/categories").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/spotlights?per_page=10").concat(o?"&"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(o?"?"+o:"")).then((function(n){return n.json()})),fetch("".concat(C(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(o?"?"+o:"")).then((function(n){return n.json()}))])];case 3:return a=i.sent(),r=a[0],l=a[1],s=a[2],d=a[3],e.categories={items:(null===(w=null===(b=null==r?void 0:r.data)||void 0===b?void 0:b.map)||void 0===w?void 0:w.call(b,Bn))||[],spotlights:(null===(A=null===(z=null===(B=null===(E=null==l?void 0:l.data)||void 0===E?void 0:E.articles)||void 0===B?void 0:B.map)||void 0===z?void 0:z.call(B,Tn))||void 0===A?void 0:A.filter(Mn))||[]},e.healthTools={items:(null===(M=null===(T=null==s?void 0:s.data)||void 0===T?void 0:T.map)||void 0===M?void 0:M.call(T,Nn))||[],spotlights:(null===(L=null===(H=null==d?void 0:d.data)||void 0===H?void 0:H.map)||void 0===L?void 0:L.call(H,Nn))||[]},[3,5];case 4:return i.sent(),[3,5];case 5:if(!t&&!x.includes(n))return[3,9];i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(k(),"/api/v1/community?website_url=https://").concat(u[n])).then((function(n){return n.json()})),fetch("".concat(k(),"/api/v1/options?website_url=https://").concat(u[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return p=i.sent(),c=p[0],m=p[1],e.together={items:(null===(D=null===(U=null===(S=null==c?void 0:c.data)||void 0===S?void 0:S.communities)||void 0===U?void 0:U.map)||void 0===D?void 0:D.call(U,N))||[],spotlights:(null===(I=null===(R=null===(j=null==m?void 0:m.data)||void 0===j?void 0:j.posts)||void 0===R?void 0:R.map)||void 0===I?void 0:I.call(R,_))||[]},[3,9];case 8:return i.sent(),[3,9];case 9:if(!h.includes(n))return[3,13];i.label=10;case 10:return i.trys.push([10,12,,13]),[4,Promise.all([fetch(P()+"/api/specialties?_ishome=1&site=".concat(u[n])).then((function(n){return n.json()})),fetch(P()+"/api/search/?site=".concat(u[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return g=i.sent(),f=g[0],v=g[1],e.care={items:(null===(G=null===(F=null===(O=null==f?void 0:f._data)||void 0===O?void 0:O.specialties)||void 0===F?void 0:F.map)||void 0===G?void 0:G.call(F,_n))||[],spotlights:(null===(W=null===(V=null==v?void 0:v._data.searches)||void 0===V?void 0:V.map)||void 0===W?void 0:W.call(V,zn))||[]},[3,13];case 12:return i.sent(),[3,13];case 13:return[3,15];case 14:return y=i.sent(),console.error(y),[3,15];case 15:return[2,e]}}))}))},Xo=function(n){return t(void 0,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,$("nav-menu-content",(function(){return Jo(n||"en-PH")}),(function(n){var e,t;return!!(null===(t=null===(e=null==n?void 0:n.categories)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};export{qo as N,Pe as P,ke as U,Xo as a,Sn as b,Ee as c,dn as d,Be as e,Jo as g};