@hhgtech/hhg-components 1.23.49 → 1.23.51

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 (277) hide show
  1. package/build/FullScreen-918a5593.js +1 -0
  2. package/build/{Vietnam-c9382c7c.js → Vietnam-2d64891d.js} +1 -1
  3. package/build/{Visible-d425720f.js → Visible-2ca1e7b9.js} +1 -1
  4. package/build/babyGrowth.js +1 -1
  5. package/build/cache.js +1 -1
  6. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  7. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  8. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  9. package/build/care.js +1 -1
  10. package/build/components/atoms/avatar/index.d.ts +1 -2
  11. package/build/components/atoms/button/index.d.ts +1 -4
  12. package/build/components/atoms/logo/index.d.ts +0 -1
  13. package/build/components/atoms/text/index.d.ts +2 -2
  14. package/build/components/molecules/bmiForm/index.styled.d.ts +1 -1
  15. package/build/components/molecules/bmrForm/index.styled.d.ts +1 -1
  16. package/build/components/molecules/index.d.ts +0 -2
  17. package/build/components/molecules/seoHead/index.d.ts +1 -2
  18. package/build/components/molecules/thrForm/index.styled.d.ts +1 -1
  19. package/build/components/organisms/footer/discoverFooter/index.d.ts +1 -2
  20. package/build/components/organisms/footer/index.d.ts +1 -2
  21. package/build/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +1 -2
  22. package/build/components/organisms/heroBannerHealthTool/index.d.ts +1 -2
  23. package/build/components/organisms/navigationProfileButton/index.d.ts +1 -2
  24. package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +1 -3
  25. package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +1 -2
  26. package/build/components/organisms/navigationV2/hooks/useHeaderHeight.d.ts +1 -2
  27. package/build/components/organisms/navigationV2/index.d.ts +0 -2
  28. package/build/components/organisms/navigationV2/index.styled.d.ts +1 -3
  29. package/build/components/organisms/onboardingModal/components/formSection/index.styled.d.ts +1 -1
  30. package/build/components/organisms/onboardingModal/index.styled.d.ts +1 -1
  31. package/build/components.js +1 -1
  32. package/build/constants.js +1 -1
  33. package/build/core-f4b28cf9.js +1 -0
  34. package/build/{defaultClassWrapper-fb5a49f7.js → defaultClassWrapper-0e145889.js} +1 -1
  35. package/build/ecom.js +1 -1
  36. package/build/esm/FullScreen-81eac7dd.js +1 -0
  37. package/build/esm/{Vietnam-e2895373.js → Vietnam-f315dd05.js} +1 -1
  38. package/build/esm/{Visible-1c6b6569.js → Visible-d9d5ba29.js} +1 -1
  39. package/build/esm/babyGrowth.js +1 -1
  40. package/build/esm/cache.js +1 -1
  41. package/build/esm/care.js +1 -1
  42. package/build/esm/components.js +1 -1
  43. package/build/esm/constants.js +1 -1
  44. package/build/esm/{core-7db2c53f.js → core-e638e07c.js} +1 -1
  45. package/build/esm/{defaultClassWrapper-8c089235.js → defaultClassWrapper-c5fe623b.js} +1 -1
  46. package/build/esm/ecom.js +1 -1
  47. package/build/esm/footer.js +1 -1
  48. package/build/esm/gAssets.js +1 -1
  49. package/build/esm/{getDynamicHealthTool-918bb057.js → getDynamicHealthTool-8d068125.js} +1 -1
  50. package/build/esm/{getSocialList-61b05a3b.js → getSocialList-ad5390bc.js} +1 -1
  51. package/build/esm/hooks.js +1 -1
  52. package/build/esm/i18n.js +1 -1
  53. package/build/esm/{index-296b318a.js → index-0808e642.js} +1 -1
  54. package/build/esm/index-0a72433d.js +1 -0
  55. package/build/esm/{index-39f5affb.js → index-0ce68630.js} +1 -1
  56. package/build/esm/{index-8aabe43d.js → index-0e83e187.js} +1 -1
  57. package/build/esm/{index-abd2902e.js → index-51c6a5c5.js} +1 -1
  58. package/build/esm/index-5acb2110.js +1 -0
  59. package/build/esm/{index-9a569adb.js → index-6296ef1b.js} +1 -1
  60. package/build/esm/{index-e7e4f2cb.js → index-6681ac29.js} +1 -1
  61. package/build/esm/{index-0fe1fb80.js → index-7d1f4cd4.js} +1 -1
  62. package/build/esm/index-8705d673.js +1 -0
  63. package/build/esm/{index-d6077ab1.js → index-9f56b204.js} +1 -1
  64. package/build/esm/{index-bb9483ba.js → index-a19bc578.js} +1 -1
  65. package/build/esm/{index-d4bc7e50.js → index-bb63afda.js} +1 -1
  66. package/build/esm/index-bb9265c7.js +1 -0
  67. package/build/esm/{index-3b3a40e5.js → index-cc3ba631.js} +1 -1
  68. package/build/esm/index-cc8907ce.js +1 -0
  69. package/build/esm/{index-8a3a5488.js → index-d85376ef.js} +1 -1
  70. package/build/esm/index-da07c736.js +1 -0
  71. package/build/esm/index.css +1 -1
  72. package/build/esm/index.js +1 -1
  73. package/build/esm/{index.styled-1bd3268a.js → index.styled-9f9209e6.js} +1 -1
  74. package/build/esm/{index.styled-f5a2f8d2.js → index.styled-ad55413f.js} +1 -1
  75. package/build/esm/lead.js +1 -1
  76. package/build/esm/mantine.js +1 -1
  77. package/build/esm/misc.js +1 -1
  78. package/build/esm/navigation.js +1 -1
  79. package/build/esm/onboarding.js +1 -1
  80. package/build/esm/pwg.js +1 -1
  81. package/build/esm/routing-0b97af2f.js +1 -0
  82. package/build/esm/{screenSizeContext-88ce799f.js → screenSizeContext-31666f3e.js} +1 -1
  83. package/build/esm/together.js +1 -1
  84. package/build/esm/{translationsProvider-79ad5a95.js → translationsProvider-ba3ced8a.js} +1 -1
  85. package/build/esm/{types-1badcc81.js → types-09be00e2.js} +1 -1
  86. package/build/esm/{types-395ccbce.js → types-693c8842.js} +1 -1
  87. package/build/esm/types.js +1 -1
  88. package/build/esm/useFbDataLayer-5614a0bb.js +1 -0
  89. package/build/esm/useHealthToolCache-3d75ff34.js +1 -0
  90. package/build/esm/{useTranslations-218f7360.js → useTranslations-d1e9d3ec.js} +1 -1
  91. package/build/footer.js +1 -1
  92. package/build/gAssets.js +1 -1
  93. package/build/{getDynamicHealthTool-52886fec.js → getDynamicHealthTool-a110476a.js} +1 -1
  94. package/build/{getSocialList-8cbc9500.js → getSocialList-0e4230c1.js} +1 -1
  95. package/build/hooks.js +1 -1
  96. package/build/i18n.js +1 -1
  97. package/build/{index-aad1c604.js → index-08369369.js} +1 -1
  98. package/build/index-12c37a87.js +1 -0
  99. package/build/{index-31b864de.js → index-1e408479.js} +1 -1
  100. package/build/{index-03233d0c.js → index-26a43a91.js} +1 -1
  101. package/build/{index-cc058142.js → index-2d91223a.js} +1 -1
  102. package/build/{index-6baa0941.js → index-484c72bb.js} +1 -1
  103. package/build/{index-11035074.js → index-507eb62e.js} +1 -1
  104. package/build/{index-2018584f.js → index-54a9c462.js} +1 -1
  105. package/build/{index-2ac42d33.js → index-66471963.js} +1 -1
  106. package/build/{index-5d4a9184.js → index-876dedff.js} +1 -1
  107. package/build/index-8c196eef.js +1 -0
  108. package/build/{index-4174bc68.js → index-9fc94cfa.js} +1 -1
  109. package/build/{index-b2731978.js → index-a8cabcb9.js} +1 -1
  110. package/build/{index-7f75cb0e.js → index-c612d6d9.js} +1 -1
  111. package/build/{index-025c2319.js → index-edd6c488.js} +1 -1
  112. package/build/{index-1c5d5450.js → index-f0b17caa.js} +1 -1
  113. package/build/{index-068f2843.js → index-f58f9651.js} +1 -1
  114. package/build/index-ff87f976.js +1 -0
  115. package/build/index.css +1 -1
  116. package/build/index.js +1 -1
  117. package/build/{index.styled-bb5f6f05.js → index.styled-7f1d4499.js} +1 -1
  118. package/build/{index.styled-b7d7b64d.js → index.styled-c70db499.js} +1 -1
  119. package/build/lead.js +1 -1
  120. package/build/mantine.js +1 -1
  121. package/build/misc.js +1 -1
  122. package/build/navigation.js +1 -1
  123. package/build/onboarding.js +1 -1
  124. package/build/pwg.js +1 -1
  125. package/build/{routing-fc7f466a.js → routing-fc77faa8.js} +1 -1
  126. package/build/{screenSizeContext-ac28b8fb.js → screenSizeContext-f9ec2337.js} +1 -1
  127. package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
  128. package/build/together/components/molecules/socialLinkPreview/index.d.ts +1 -2
  129. package/build/together.js +1 -1
  130. package/build/{translationsProvider-14e7cc67.js → translationsProvider-b05550ae.js} +1 -1
  131. package/build/{types-d6120e4f.js → types-44cc7b14.js} +1 -1
  132. package/build/{types-5b19c16a.js → types-b98ec3f8.js} +1 -1
  133. package/build/types.js +1 -1
  134. package/build/{useFbDataLayer-8582c877.js → useFbDataLayer-eb2c81b5.js} +1 -1
  135. package/build/useHealthToolCache-ae60e83f.js +1 -0
  136. package/build/useTranslations-c35f52b2.js +1 -0
  137. package/package.json +1 -1
  138. package/build/FullScreen-c34b593b.js +0 -1
  139. package/build/components/molecules/ampNextPage/index.d.ts +0 -11
  140. package/build/core-e553b94b.js +0 -1
  141. package/build/esm/FullScreen-6567ac4c.js +0 -1
  142. package/build/esm/index-13cd2b55.js +0 -1
  143. package/build/esm/index-29ce6a82.js +0 -1
  144. package/build/esm/index-82348ee8.js +0 -1
  145. package/build/esm/index-b680a281.js +0 -1
  146. package/build/esm/index-bb4938d8.js +0 -1
  147. package/build/esm/index-edb0ddaa.js +0 -1
  148. package/build/esm/routing-51e656f9.js +0 -1
  149. package/build/esm/useFbDataLayer-a8a8d341.js +0 -1
  150. package/build/esm/useHealthToolCache-55f5e79e.js +0 -1
  151. package/build/index-669c24d7.js +0 -1
  152. package/build/index-bffe12ff.js +0 -1
  153. package/build/index-df669440.js +0 -1
  154. package/build/useHealthToolCache-cf47897d.js +0 -1
  155. package/build/useTranslations-f3776e1d.js +0 -1
  156. /package/build/{BMI_BOYS.percentile.monthly-7c0ea212.js → BMI_BOYS.percentile.monthly-671d1fb2.js} +0 -0
  157. /package/build/{BMI_BOYS.percentile.weekly-35889883.js → BMI_BOYS.percentile.weekly-ce59c0b6.js} +0 -0
  158. /package/build/{BMI_BOYS.percentile.yearly-6865b89a.js → BMI_BOYS.percentile.yearly-595f4b7c.js} +0 -0
  159. /package/build/{BMI_BOYS.zscore.monthly-1a225718.js → BMI_BOYS.zscore.monthly-733b6a61.js} +0 -0
  160. /package/build/{BMI_BOYS.zscore.weekly-5df8439a.js → BMI_BOYS.zscore.weekly-ce961460.js} +0 -0
  161. /package/build/{BMI_BOYS.zscore.yearly-1f08a24f.js → BMI_BOYS.zscore.yearly-621db9ae.js} +0 -0
  162. /package/build/{BMI_GIRLS.percentile.monthly-8c4ddc90.js → BMI_GIRLS.percentile.monthly-ea3d28f8.js} +0 -0
  163. /package/build/{BMI_GIRLS.percentile.weekly-cef8e22b.js → BMI_GIRLS.percentile.weekly-61e13b39.js} +0 -0
  164. /package/build/{BMI_GIRLS.percentile.yearly-af33f266.js → BMI_GIRLS.percentile.yearly-a756fa4a.js} +0 -0
  165. /package/build/{BMI_GIRLS.zscore.monthly-d3cafea3.js → BMI_GIRLS.zscore.monthly-5d90f57b.js} +0 -0
  166. /package/build/{BMI_GIRLS.zscore.weekly-9bae5333.js → BMI_GIRLS.zscore.weekly-444bd492.js} +0 -0
  167. /package/build/{BMI_GIRLS.zscore.yearly-f0e68da0.js → BMI_GIRLS.zscore.yearly-bae60864.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4b30a59a.js → HEAD CIRCUM_BOYS.percentile.monthly-83abf55f.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f8cc1ce4.js → HEAD CIRCUM_BOYS.percentile.weekly-8f70eca0.js} +0 -0
  170. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5da372d0.js → HEAD CIRCUM_BOYS.percentile.yearly-a4fa8172.js} +0 -0
  171. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-48c98033.js → HEAD CIRCUM_BOYS.zscore.monthly-59518f65.js} +0 -0
  172. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-148b6287.js → HEAD CIRCUM_BOYS.zscore.weekly-be3ee7f8.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-84d0fbc5.js → HEAD CIRCUM_BOYS.zscore.yearly-afc2e564.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-1021832f.js → HEAD CIRCUM_GIRLS.percentile.monthly-93159381.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-385d2d62.js → HEAD CIRCUM_GIRLS.percentile.weekly-9abb35f3.js} +0 -0
  176. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0b5018f0.js → HEAD CIRCUM_GIRLS.percentile.yearly-138a5f90.js} +0 -0
  177. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-92457394.js → HEAD CIRCUM_GIRLS.zscore.monthly-6812e411.js} +0 -0
  178. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9acdb5b2.js → HEAD CIRCUM_GIRLS.zscore.weekly-4445bfe3.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6506cf7f.js → HEAD CIRCUM_GIRLS.zscore.yearly-146f4765.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.percentile.monthly-d3810896.js → HEIGHT_BOYS.percentile.monthly-d6b84ee7.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.percentile.weekly-3c2c4d47.js → HEIGHT_BOYS.percentile.weekly-439847dd.js} +0 -0
  182. /package/build/{HEIGHT_BOYS.percentile.yearly-b4ebda0d.js → HEIGHT_BOYS.percentile.yearly-aa431459.js} +0 -0
  183. /package/build/{HEIGHT_BOYS.zscore.monthly-a7b14669.js → HEIGHT_BOYS.zscore.monthly-43d9d23e.js} +0 -0
  184. /package/build/{HEIGHT_BOYS.zscore.weekly-94b3ff11.js → HEIGHT_BOYS.zscore.weekly-11c6ae6d.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.zscore.yearly-28b1df00.js → HEIGHT_BOYS.zscore.yearly-6d520e57.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.percentile.monthly-56c82738.js → HEIGHT_GIRLS.percentile.monthly-9fe502f1.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.percentile.weekly-711c3c57.js → HEIGHT_GIRLS.percentile.weekly-2d6d9d00.js} +0 -0
  188. /package/build/{HEIGHT_GIRLS.percentile.yearly-dea138b6.js → HEIGHT_GIRLS.percentile.yearly-552e0759.js} +0 -0
  189. /package/build/{HEIGHT_GIRLS.zscore.monthly-ae4d10fe.js → HEIGHT_GIRLS.zscore.monthly-2aedd216.js} +0 -0
  190. /package/build/{HEIGHT_GIRLS.zscore.weekly-a91c267f.js → HEIGHT_GIRLS.zscore.weekly-52be387c.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.zscore.yearly-7cd93039.js → HEIGHT_GIRLS.zscore.yearly-1808de7e.js} +0 -0
  192. /package/build/{Locale-3f24ce1f.js → Locale-5df7a79b.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.percentile.monthly-3d1e65a1.js → WEIGHT_BOYS.percentile.monthly-6a44ec82.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.percentile.weekly-61432d29.js → WEIGHT_BOYS.percentile.weekly-77f94a56.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.percentile.yearly-c473b0ea.js → WEIGHT_BOYS.percentile.yearly-17ec4623.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.zscore.monthly-66efd8b7.js → WEIGHT_BOYS.zscore.monthly-80606ddd.js} +0 -0
  197. /package/build/{WEIGHT_BOYS.zscore.weekly-d66527da.js → WEIGHT_BOYS.zscore.weekly-df710cc3.js} +0 -0
  198. /package/build/{WEIGHT_BOYS.zscore.yearly-50594a82.js → WEIGHT_BOYS.zscore.yearly-a2ef582b.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.percentile.monthly-31354e89.js → WEIGHT_GIRLS.percentile.monthly-5c632eb3.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.percentile.weekly-8c6fa46a.js → WEIGHT_GIRLS.percentile.weekly-1adc510a.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.percentile.yearly-f5aa67aa.js → WEIGHT_GIRLS.percentile.yearly-157bc151.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.zscore.monthly-12c13b06.js → WEIGHT_GIRLS.zscore.monthly-1c51f2ef.js} +0 -0
  203. /package/build/{WEIGHT_GIRLS.zscore.weekly-7cd2ae7b.js → WEIGHT_GIRLS.zscore.weekly-68febd53.js} +0 -0
  204. /package/build/{WEIGHT_GIRLS.zscore.yearly-9dadbf30.js → WEIGHT_GIRLS.zscore.yearly-81d45fe4.js} +0 -0
  205. /package/build/{constants-74e57c8d.js → constants-2ec59e33.js} +0 -0
  206. /package/build/{cookieHelper-f02d6a88.js → cookieHelper-3e723e0f.js} +0 -0
  207. /package/build/{dataTransform-fb76da4d.js → dataTransform-7085f3e7.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.percentile.monthly-89a04729.js → BMI_BOYS.percentile.monthly-5bd16229.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.percentile.weekly-3a077996.js → BMI_BOYS.percentile.weekly-7693439a.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.percentile.yearly-e249901f.js → BMI_BOYS.percentile.yearly-c81f049d.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.zscore.monthly-a85f1047.js → BMI_BOYS.zscore.monthly-96f36021.js} +0 -0
  212. /package/build/esm/{BMI_BOYS.zscore.weekly-d3e7baf0.js → BMI_BOYS.zscore.weekly-08bb1bb5.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.zscore.yearly-94b53ec3.js → BMI_BOYS.zscore.yearly-6f82660b.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.percentile.monthly-457e9e45.js → BMI_GIRLS.percentile.monthly-67f12ce1.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.percentile.weekly-ca3166f8.js → BMI_GIRLS.percentile.weekly-db3d7bbd.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.percentile.yearly-ec1e807c.js → BMI_GIRLS.percentile.yearly-2078fc28.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.zscore.monthly-b9a7549f.js → BMI_GIRLS.zscore.monthly-77a096bb.js} +0 -0
  218. /package/build/esm/{BMI_GIRLS.zscore.weekly-12a8c71c.js → BMI_GIRLS.zscore.weekly-2d78ebde.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.zscore.yearly-2896bbe6.js → BMI_GIRLS.zscore.yearly-8153913e.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-421f74e1.js → HEAD CIRCUM_BOYS.percentile.monthly-217fec6b.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4dfe8272.js → HEAD CIRCUM_BOYS.percentile.weekly-2d6ebae0.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-efb8514f.js → HEAD CIRCUM_BOYS.percentile.yearly-880c6e7d.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3cc8d9eb.js → HEAD CIRCUM_BOYS.zscore.monthly-1f5b3b43.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-32c0cf55.js → HEAD CIRCUM_BOYS.zscore.weekly-845f7671.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b342dfd8.js → HEAD CIRCUM_BOYS.zscore.yearly-0ae78daf.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-195d77e7.js → HEAD CIRCUM_GIRLS.percentile.monthly-a405ef73.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bb95ba3e.js → HEAD CIRCUM_GIRLS.percentile.weekly-a9650ea9.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c4ff6746.js → HEAD CIRCUM_GIRLS.percentile.yearly-bafb5719.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7768dca3.js → HEAD CIRCUM_GIRLS.zscore.monthly-5dd09f0a.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c214cf32.js → HEAD CIRCUM_GIRLS.zscore.weekly-925b7ba6.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d6ddf83e.js → HEAD CIRCUM_GIRLS.zscore.yearly-fd56a80a.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-297c6bfd.js → HEIGHT_BOYS.percentile.monthly-f1e295c8.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a418d66c.js → HEIGHT_BOYS.percentile.weekly-e5c9befd.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1ba6f6f9.js → HEIGHT_BOYS.percentile.yearly-2079dd80.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-0ba0ba80.js → HEIGHT_BOYS.zscore.monthly-ea67e411.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-87a1b5cc.js → HEIGHT_BOYS.zscore.weekly-4cc40187.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0016d5e0.js → HEIGHT_BOYS.zscore.yearly-d8e20bb5.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8c2b742.js → HEIGHT_GIRLS.percentile.monthly-084a8685.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-76fcc3ae.js → HEIGHT_GIRLS.percentile.weekly-ed5f8e31.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ac2affd8.js → HEIGHT_GIRLS.percentile.yearly-5f2770aa.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-935eba0e.js → HEIGHT_GIRLS.zscore.monthly-55454f5b.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-16ae4f28.js → HEIGHT_GIRLS.zscore.weekly-44ede9a0.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1979f90e.js → HEIGHT_GIRLS.zscore.yearly-de9b5268.js} +0 -0
  244. /package/build/esm/{Locale-d4f317b5.js → Locale-4369be5c.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-78937398.js → WEIGHT_BOYS.percentile.monthly-76eef138.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-ef2f9d41.js → WEIGHT_BOYS.percentile.weekly-5d80eeb4.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-4d80cf4a.js → WEIGHT_BOYS.percentile.yearly-03c5900c.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-04e837f0.js → WEIGHT_BOYS.zscore.monthly-5f58d04d.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e1733405.js → WEIGHT_BOYS.zscore.weekly-9ec07725.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8ca02e0e.js → WEIGHT_BOYS.zscore.yearly-33ee8ecc.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d5b2c90a.js → WEIGHT_GIRLS.percentile.monthly-f89696f3.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-10c567e9.js → WEIGHT_GIRLS.percentile.weekly-ed97267d.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-59d16904.js → WEIGHT_GIRLS.percentile.yearly-3bcf1dcf.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d4b4b932.js → WEIGHT_GIRLS.zscore.monthly-a71cdd88.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d6a17dbe.js → WEIGHT_GIRLS.zscore.weekly-dc460d79.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c54b43c1.js → WEIGHT_GIRLS.zscore.yearly-fd65cad6.js} +0 -0
  257. /package/build/esm/{constants-3444c492.js → constants-bd4ab0ed.js} +0 -0
  258. /package/build/esm/{cookieHelper-83d542cd.js → cookieHelper-fdc32c85.js} +0 -0
  259. /package/build/esm/{dataTransform-4cb60deb.js → dataTransform-2ac3d452.js} +0 -0
  260. /package/build/esm/{isProduction-423cb8b3.js → isProduction-fbf9530f.js} +0 -0
  261. /package/build/esm/{localizeNumberFormat-9cc22ed9.js → localizeNumberFormat-1e54b9d7.js} +0 -0
  262. /package/build/esm/{theme-46308b49.js → theme-4b3f6a6e.js} +0 -0
  263. /package/build/esm/{translationsContext-b57d6aa4.js → translationsContext-5ae83c29.js} +0 -0
  264. /package/build/esm/{tslib.es6-4a16ba47.js → tslib.es6-d275d637.js} +0 -0
  265. /package/build/esm/{types-f8ab33f1.js → types-49141004.js} +0 -0
  266. /package/build/esm/{useOutsideClick-ce795e69.js → useOutsideClick-2ae706cf.js} +0 -0
  267. /package/build/esm/{useScrollbarSize-8b99d928.js → useScrollbarSize-1488c053.js} +0 -0
  268. /package/build/esm/{utils-99f25ce9.js → utils-f4f05442.js} +0 -0
  269. /package/build/{isProduction-fc7beeb8.js → isProduction-d27f4ac2.js} +0 -0
  270. /package/build/{localizeNumberFormat-1e45e22e.js → localizeNumberFormat-d11be8d9.js} +0 -0
  271. /package/build/{theme-fb3aea64.js → theme-eeb887dd.js} +0 -0
  272. /package/build/{translationsContext-0b03ab08.js → translationsContext-ed521226.js} +0 -0
  273. /package/build/{tslib.es6-3df23032.js → tslib.es6-e648bf20.js} +0 -0
  274. /package/build/{types-01ff9158.js → types-46a3a34e.js} +0 -0
  275. /package/build/{useOutsideClick-2ec434cf.js → useOutsideClick-43a9f173.js} +0 -0
  276. /package/build/{useScrollbarSize-e777f9c3.js → useScrollbarSize-e9623e55.js} +0 -0
  277. /package/build/{utils-4788f2eb.js → utils-75e3b5d6.js} +0 -0
@@ -1 +1 @@
1
- import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as s,L as l,a as r,b as n,S as o,c as i,d as g}from"./index-b680a281.js";var m=function(m){var c=m.type,h=m.className,d=m.style,u=m.isLightLogo,w=m.customSize,N=m.badge,y=m.locale,f=m.dateForSeasonal,p=m.isPro,E=a((function(){if(!f||isNaN(new Date(f).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(f),a=s(e),t=l.includes(y)&&r(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&n(e)}}),[y,new Date(f).getDate()]);return e.createElement(o,{className:h,style:d,"data-logo-is-light":u||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(i,{type:c,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),p?e.createElement(g,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{m as L};
1
+ import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as s,L as l,a as r,b as n,S as o,c as i,d as g}from"./index-cc8907ce.js";var m=function(m){var c=m.type,h=m.className,d=m.style,u=m.isLightLogo,w=m.customSize,N=m.badge,y=m.locale,f=m.dateForSeasonal,p=m.isPro,E=a((function(){if(!f||isNaN(new Date(f).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(f),a=s(e),t=l.includes(y)&&r(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&n(e)}}),[y,new Date(f).getDate()]);return e.createElement(o,{className:h,style:d,"data-logo-is-light":u||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(i,{type:c,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),p?e.createElement(g,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{m as L};
@@ -0,0 +1 @@
1
+ import{_ as n,c as e,b as t,d as i,e as a}from"./tslib.es6-d275d637.js";import o,{useRef as l,useState as r,useMemo as s,useEffect as c,memo as d,useContext as p,useCallback as m}from"react";import{g as h}from"./core-e638e07c.js";import{CommonGAssets as u}from"./gAssets.js";import g from"styled-components";import{T as f}from"./index-51c6a5c5.js";import{d as x,C as v,a as y,T as b,L as w,S as E,U as k}from"./index-0ce68630.js";import{g as C,a as L,b as P,c as M,d as B}from"./routing-0b97af2f.js";import{P as H,A as N,g as T,U as A,h as z,i as _}from"./index-bb9265c7.js";import{L as U}from"./index-7d1f4cd4.js";import{u as S}from"./useTranslations-d1e9d3ec.js";import R from"lodash/throttle";import{g as D,M as j}from"./utils-f4f05442.js";import{B as Z}from"./index-da07c736.js";import{t as V}from"./theme-4b3f6a6e.js";import{Portal as F}from"@mantine/core";import{g as I}from"./defaultClassWrapper-c5fe623b.js";import{g as O}from"./cookieHelper-fdc32c85.js";import{H as G}from"./FullScreen-81eac7dd.js";import{P as W}from"./index.styled-ad55413f.js";import"./index.styled-9f9209e6.js";import{C as Y}from"./index-cc8907ce.js";import"react-range";import K from"dayjs";import"./screenSizeContext-31666f3e.js";import"./isProduction-fbf9530f.js";import"./Locale-4369be5c.js";import"./index-0808e642.js";import{L as q}from"./constants-bd4ab0ed.js";import Q from"string-format";import J from"dayjs/plugin/relativeTime";import X from"lodash/debounce";var $,nn,en,tn,an,on,ln,rn,sn,cn=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/cambodiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},dn=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/cambodiaSquare.png")},e))},pn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),o.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),o.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),o.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),o.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),o.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),o.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),o.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),o.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),o.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),o.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),o.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),o.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),o.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),o.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),o.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),o.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),o.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),o.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),o.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),o.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),o.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),o.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),o.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),o.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},mn=function(e){return o.createElement("svg",n({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},o.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),o.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),o.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),o.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),o.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),o.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),o.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),o.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),o.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),o.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},hn=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/indiaRound.png"),style:n({borderRadius:"50%"},e.style)},e))},un=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/indiaSquare.png")},e))},gn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),r=l("id-flag-round-mask-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("mask",{id:r.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("g",{mask:"url(#".concat(r.current,")")},o.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),o.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},fn=function(t){var i=t.isTesting,a=e(t,["isTesting"]),r=l("id-flag-clip-"+(i?1:Math.random()));return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),o.createElement("g",{clipPath:"url(#".concat(r.current,")")},o.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),o.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),o.createElement("defs",null,o.createElement("clipPath",{id:r.current},o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},xn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),o.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),o.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},vn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),o.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),o.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),o.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},yn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),o.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),o.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},bn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),o.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),o.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},wn=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/philippineRound.png"),style:n({borderRadius:"50%"},e.style)},e))},En=function(e){return o.createElement("img",n({src:u.getAssetPath("flags/philippineSquare.png")},e))},kn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),o.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),o.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},Cn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),o.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),o.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),o.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),o.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),o.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),o.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),o.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),o.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),o.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),o.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),o.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),o.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),o.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),o.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},Ln=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),o.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},Pn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),o.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},Mn=function(e){return o.createElement("svg",n({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({borderRadius:"50%"},e.style)},e),o.createElement("g",null,o.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},o.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),o.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),o.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},Bn=function(e){return o.createElement("svg",n({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("g",null,o.createElement("clipPath",null,o.createElement("rect",{width:"24",height:"16",fill:"white"})),o.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),o.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},Hn="pfaLGRK",Nn=function(n){var e,t,i=n.country,a=n.language,l=n.rounded,r=n.height,s=n.width,c=n.isTesting;switch(a){case"en":e=o.createElement(mn,null),t=o.createElement(pn,null);break;case"vi":e=o.createElement(Bn,null),t=o.createElement(Mn,null);break;case"id":e=o.createElement(fn,{isTesting:c}),t=o.createElement(gn,{isTesting:c});break;case"th":e=o.createElement(Pn,null),t=o.createElement(Ln,null);break;case"km":e=o.createElement(dn,null),t=o.createElement(cn,null);break;case"ms":e=o.createElement(vn,null),t=o.createElement(xn,null);break;case"my":e=o.createElement(bn,null),t=o.createElement(yn,null);break;case"tl":e=o.createElement(En,null),t=o.createElement(wn,null);break;case"hi":e=o.createElement(un,null),t=o.createElement(hn,null);break;case"zh":e=o.createElement(Cn,null),t=o.createElement(kn,null)}if(!e&&!t)switch(i){case"VN":e=o.createElement(Bn,null),t=o.createElement(Mn,null);break;case"ID":e=o.createElement(fn,{isTesting:c}),t=o.createElement(gn,{isTesting:c});break;case"TH":e=o.createElement(Pn,null),t=o.createElement(Ln,null);break;case"KH":e=o.createElement(dn,null),t=o.createElement(cn,null);break;case"MY":e=o.createElement(vn,null),t=o.createElement(xn,null);break;case"MM":e=o.createElement(bn,null),t=o.createElement(yn,null);break;case"PH":e=o.createElement(En,null),t=o.createElement(wn,null);break;case"IN":e=o.createElement(un,null),t=o.createElement(hn,null);break;case"TW":e=o.createElement(Cn,null),t=o.createElement(kn,null)}return o.createElement("div",{className:Hn,style:{"--width":s||20,"--height":r||20}},l?t:e)},Tn=g.a($||($=t(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray600})),An=g.div(nn||(nn=t(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),zn=g.div(en||(en=t(["\n position: relative;\n"],["\n position: relative;\n"]))),_n=g.div(tn||(tn=t(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),Un=g.div(an||(an=t(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),Sn=g.div(on||(on=t(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),Rn=function(n){var e=n.options,t=n.label,i=n.labelRenderer,a=n.selected,l=n.onChange,s=n.showSelected,c=void 0===s||s,d=n.style,p=void 0===d?{}:d,m=n.showIndicator,h=void 0===m||m,g=r(!1),x=g[0],v=g[1];return o.createElement(o.Fragment,null,o.createElement(An,null,o.createElement(zn,{onClick:function(){return v((function(n){return!n}))}},t||(null==i?void 0:i(x))||null,o.createElement(_n,{"data-is-open":x,style:p,"data-show-indicator":h},e.map((function(n,e){return o.createElement(Un,{key:e,"data-selected":c&&a===n.value,onClick:function(e){a!==n.value&&(l(n.value),v((function(n){return!n}))),e.stopPropagation()}},o.createElement(f,{size:"p3"},n.label),c&&a===n.value&&o.createElement("img",{src:u.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),x&&o.createElement(Sn,{onClick:function(){return v(!1)}}))},Dn=function(n){var e,t,i=n.languageOptions,a=n.locale,l=null==i?void 0:i.find((function(n){return n.locale===a}));return(null==i?void 0:i.length)?o.createElement(Rn,{options:i,selected:l.value,label:o.createElement(jn,{locale:a,label:l.label||(null===(t=null===(e=a.split("-"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.toUpperCase())}),onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1}):null},jn=function(n){var e,t,i,a=n.locale,l=n.label,r=n.href;return o.createElement(Tn,{href:r},o.createElement(Nn,{country:null===(t=null===(e=null==a?void 0:a.split("-"))||void 0===e?void 0:e[1])||void 0===t?void 0:t.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==a?void 0:a.split("-"))||void 0===i?void 0:i[0]}),o.createElement("span",null,l))},Zn=g.div(ln||(ln=t(["\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 ")})),Vn=function(n){var e=n.forceDisplay,t=n.mediaQueryKey,i=n.children,a=n.className,l=n.style,r=s((function(){return D(t)}),[t]),c=r[0],d=r[1];return o.createElement(Zn,{lowerBound:e?0:c,upperBound:e?0:d,className:a,style:l},i)},Fn=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())}}},In=g.div(rn||(rn=t(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),j.mbDown,j.mbUp,(function(n){return n.theme.colors.gray800}),j.mbDown,j.mbUp,(function(n){return n.theme.colors.gray600}),j.mbDown,j.mbUp),On=g.div(sn||(sn=t(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),j.mbDown,j.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 ":""})),Gn=function(n){var e=n.openLogoutPopup,t=n.onCloseHandler,i=n.onLogoutHandler,a=n.siteType,l=void 0===a?"helloSites":a,r=S().t;return c((function(){document.body.classList.toggle("noscroll",e)}),[e]),o.createElement(F,null,o.createElement(H,{type:"confirm",isOpen:e,closeIcon:o.createElement("img",{src:u.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:t},o.createElement(In,null,"helloSites"===l&&o.createElement("img",{src:u.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),o.createElement("h2",null,r("helloSites"===l?"logout.popup.ask1":"logout.popup.ask.mb")),o.createElement("p",null,r("logout.popup.ask2")),o.createElement(On,{siteType:l},o.createElement(Z,{className:"logout-button",color:"tertiary",size:"lg",onClick:i},r("logout.popup.button.logout")),o.createElement(Z,{className:"cancel-button",color:"primary",size:"lg",onClick:t},r("logout.popup.button.cancel"))))))},Wn="hhgcomp-navprofilebutton-popup",Yn=I(g.div(qn||(qn=t(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n 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}),j.mbDown,j.mbUp,j.mbDown,j.mbUp,j.mbDown,j.mbUp,(function(n){return n.theme.colors.gray200}),j.mbDown,V.colors.neutral100,j.mbUp),Wn),Kn="hhgcomp-navprofilebutton-popupwrapper";I(g.div(Qn||(Qn=t(["\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"])),j.mbUp,j.mbDown),Kn);var qn,Qn,Jn,Xn,$n,ne=g.div(Jn||(Jn=t(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),ee=g.a(Xn||(Xn=t(["\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"])),Wn,j.mbDown,Kn),te=g.a($n||($n=t(["\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"])),j.mbUp,j.mbUp),ie="profile/posts?website_url={websiteUrl}",ae=99,oe=300,le=400,re=210,se=function(n){var e,t,i,a;return n?{termId:n.term_id||null,sponsor:n.sponsor?(a=n.sponsor,a?{title:a.title,logo:a.logo,link:a.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 se(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}:{}},ce=function(n){var e,t;if(!n)return{};var i=null===(e=n.link)||void 0===e?void 0:e.includes("/bot/"),a=null===(t=n.link)||void 0===t?void 0:t.startsWith("/fil/"),o=n.link?n.link.startsWith("http")||i?n.link:a?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:o,subtitle:n.subtitle,title:n.title}},de=function(n){return n?{thumbnail:n.thumbnail,link:null==n?void 0:n.slug,subtitle:n.name,name:n.name,slug:n.slug}:{}},pe=function(n){return n?{id:n.id,name:n.name,logo:null==n?void 0:n.logo,description:n.about,slug:n.slug}:{}},me=function(n){var e,t,i=n.type,a=n.specialtySlug,o=n.locale;return"".concat(null===(e=q[o])||void 0===e?void 0:e.ALL,"/").concat((null===(t=q[o])||void 0===t?void 0:t[i])||"doctor","/").concat(null!=a?a:"")},he=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}:{}},ue=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},ge={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},fe={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function xe(n){var e=n.userInfo,t=n.onClickMyProfileButton,i=n.themeName,a=void 0===i?"helloSites":i,l=S().t,r=s((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 o.createElement("div",{className:fe.navHeader,onClick:function(){t&&t()}},o.createElement(N,{className:fe.navAvatar,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:r,backgroundColor:"marryBaby"===a?V.mbColors.pink:V.colors.secondaryBase}),o.createElement("div",{className:fe.navHeaderUserInfos},o.createElement("div",{className:fe.navHeaderUserName},(null==e?void 0:e.name)||(null==e?void 0:e.username)),o.createElement("div",{className:fe.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(u.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(u.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},l("userProfile.nav.header.viewProfile"))))}var ve,ye,be,we,Ee,ke,Ce,Le,Pe,Me,Be,He,Ne,Te,Ae,ze="fVk18fq",_e="v8TCvUb",Ue="mx7T4V3",Se={myHealth:V.mbColors.toneYellow,myCommunity:V.mbColors.toneBlue,mySaved:V.mbColors.toneGreen},Re={helloSites:{myBooking:function(){return u.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return u.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return u.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return u.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return u.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return u.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},De=function(n){var e=n.type,t=n.themeName,i=n.className,a=n.onClick,l=void 0===a?function(){}:a,r=S().t,c=s((function(){var n,i;return(null===(i=null===(n=Re[t])||void 0===n?void 0:n[e])||void 0===i?void 0:i.call(n))||""}),[e,t]),d=s((function(){return"marryBaby"!==t?"transparent":Se[e]}),[e,t]);return o.createElement("div",{onClick:function(){l(e)},className:"".concat(ze," ").concat(i)},o.createElement("div",{className:Ue,style:{backgroundColor:d,backgroundImage:'url("'.concat(c,'")')}}),o.createElement("h3",{className:_e},r("userProfile.nav.card.".concat(e))))},je="gn6HmGG",Ze="FCx8FEM",Ve="zMiRxaE",Fe="lZ2Z9MQ",Ie="rwm-agG",Oe="qMOscoq",Ge=function(n){var e=n.themeName,t=n.locale,i=n.onClickItem,a=r(""),l=a[0],c=a[1],d=s((function(){return"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:u.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:u.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:u.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:u.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[e]);function p(n){n.subMenu?c((function(e){return e?"":n.key})):i&&i(n)}return o.createElement("div",{className:je},d.map((function(n){return o.createElement(We,{key:n.key,item:n,openKey:l,onClickItem:p,locale:t})})))},We=function(n){var e,t=n.item,i=n.openKey,a=n.onClickItem,l=n.locale,r=S().t;return(null===(e=t.disableLocale)||void 0===e?void 0:e.includes(l))?null:o.createElement("div",{className:"".concat(Ze," nav-menu-item"),"data-is-open":i===t.key,key:t.key,"data-has-submenu":!!t.subMenu},o.createElement("div",{className:Ve,onClick:function(){return a(t)}},t.icon&&o.createElement("div",{className:Fe,style:{backgroundImage:'url("'.concat(t.icon,'")')}}),r(t.key),t.subMenu&&o.createElement("div",{className:Ie,style:{"--after-bg":"url(".concat(u.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),t.subMenu&&o.createElement("div",{className:Oe},t.subMenu.map((function(n){return o.createElement(We,{key:n.key,item:n,openKey:i,onClickItem:a,locale:l})}))))},Ye="-AZt1au",Ke="IvSIfCI",qe="eahCJov",Qe="XIyViFs",Je="_4y-O0w3",Xe="kO8iNgD",$e="a1d4E10",nt="Tdguxxf",et="-mOxsaU",tt="yPeDBNZ",it={helloSites:{member:function(){return u.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return u.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return u.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return u.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return u.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return u.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},at=function(n){var e=n.themeName,t=n.rank,i=void 0===t?"member":t,a=n.numberOfPosts,l=void 0===a?0:a,r=S().t,c=s((function(){var n,t;return(null===(t=null===(n=it[e])||void 0===n?void 0:n[i])||void 0===t?void 0:t.call(n))||""}),[i,e]);return o.createElement("div",{className:Je,"data-user-rank":i},o.createElement("div",{className:Xe},o.createElement("div",{className:$e},o.createElement("div",{className:nt,style:{backgroundImage:'url("'.concat(c,'")')}}),o.createElement("h3",{className:et},r("userProfile.userRank.".concat(i))),l>0&&o.createElement("p",{className:tt},l," ",r("userProfile.nav.header.count.posts")))))},ot=function(e){var t=e.SSO_URL,i=e.UP_BASEPATH,a=void 0===i?"user":i,l=e.themeName,d=void 0===l?"helloSites":l,p=e.cardUrls,m=void 0===p?ge:p,h=e.enableCare,g=e.enableTogether,f=e.enableEcom,v=e.userInfo,y=e.togetherApiDomain,b=e.userPostsNumber,w=e.onClickNavigationCard,E=e.onClickMyProfileButton,k=e.onClickMenuItem,C=e.onClickLogout,L=e.isUserProfileNavigatorMenuHidden,P=void 0!==L&&L,M=e.isMyHealthEnabled,B=void 0!==M&&M,H=e.locale,N=S().t,T=r(b||0),A=T[0],z=T[1],_="marryBaby"===d;c((function(){if(v&&void 0===b){var e=O("hhg_user_token");e&&fetch(function(e,t,i,a){return(i||"https://together.hellohealthgroup.com/")+"api/v1/"+Q(ie,n(n({},a),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(x[e])}))}(H,_,y),{headers:{Authorization:"Bearer ".concat(e)}}).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)&&z((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)}))}}),[H,null!==v,b,y,_]);var U=s((function(){return(_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(n){return"myBooking"===n?h:"myCommunity"===n?g:"myHealth"===n?B:"eCom"!==n||f}))}),[_,B]),R=s((function(){return"marryBaby"===d?null:o.createElement(Z,{color:"tertiary",icon:o.createElement("img",{src:u.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:C,className:Qe},N("userProfile.nav.menu.logout"))}),[d]),D=function(n){window.location.href="".concat(t).concat(a,"/").concat(n)},j=function(n){var e=m[n];w?w(e):D(e)};return v?o.createElement("div",{className:Ye,"data-theme":d},o.createElement(xe,{userInfo:v,themeName:d,onClickMyProfileButton:function(){E?E():D("profile")}}),o.createElement(at,{themeName:d,rank:"member",numberOfPosts:A}),o.createElement("div",{className:Ke},U.map((function(n){return o.createElement(De,{className:qe,key:n,themeName:d,type:n,onClick:j})}))),!P&&o.createElement(o.Fragment,null,o.createElement(Ge,{themeName:d,locale:H,onClickItem:function(n){"logout"===n.link&&C?C():n.link&&!n.subMenu&&(k?k(n.link):D(n.link))}}),R)):null},lt=function(n){var e=n.type,t=void 0===e?"lead":e,i=n.closeIcon,a=n.isOpen,l=void 0===a||a,r=n.onClose,s=n.children,c=n.enableAnimation,d=void 0===c||c,p=n.targetAvatar,m=n.id,h=n.className;return o.createElement(Yn,{"data-open":l,"data-type":t,"data-animation":d,"data-target":p,id:m,className:h},o.createElement("div",{className:"popup-content"},!!i&&o.createElement("div",{className:"close-button",onClick:r},i),s))},rt=function(n){var e=n.SSO_URL,t=n.UP_BASEPATH,i=n.isOpen,a=n.targetAvatar,l=n.userInfo,r=n.enableCare,s=n.enableTogether,c=n.enableEcom,d=n.closePopup,p=n.siteType,m=void 0===p?"helloSites":p,h=n.dispatchLogout,u=n.userProfileRouterPush,g=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),d()};return o.createElement(lt,{isOpen:i,type:"profile",enableAnimation:!0,targetAvatar:a,onClose:d},o.createElement(ot,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:l,enableCare:r,enableTogether:s,enableEcom:c,onClickLogout:function(){h&&(h(),d())},onClickMenuItem:w,onClickNavigationCard:w,onClickMyProfileButton:function(){b("profile"),d()},isUserProfileNavigatorMenuHidden:g,isMyHealthEnabled:x,togetherApiDomain:v,locale:y}))},st=function(e){var t=e.userInfo,l=e.siteType,s=e.onLoginClick,d=e.SSO_URL,p=e.currentUrl,m=e.isMinifyLogin,h=e.enableCare,g=e.enableTogether,x=e.enableEcom,v=e.isUserProfileNavigatorMenuHidden,y=e.UP_BASEPATH,b=e.isMyHealthEnabled,w=e.togetherApiDomain,E=e.onLogout,k=e.style,C=e.userProfileRouterPush,L=e.isLoading,P=e.locale,M=S().t,B=r(!1),H=B[0],T=B[1],A=(null==t?void 0:t.name)||(null==t?void 0:t.username),z=r(!1),_=z[0],U=z[1];c((function(){U(!0)}),[]);var R=Fn(),D=R.containerRef,j=R.onContainerFocus,F=R.onContainerBlur,I=R.onButtonMouseDown,O=R.onClose;return L?o.createElement(Z,{size:"sm",color:"transparent",isLoading:!0}):(null==t?void 0:t.id)?o.createElement(o.Fragment,null,o.createElement(ee,{ref:D,style:k,tabIndex:0,onBlur:F,onFocus:j},o.createElement("div",{onMouseDown:I},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),o.createElement(N,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==t?void 0:t.avatar,firstLetter:A&&A.length?A[0].toUpperCase():"A",backgroundColor:"marryBaby"===l?V.mbColors.pink:V.colors.secondaryBase})),o.createElement(rt,{UP_BASEPATH:y,SSO_URL:d,dispatchLogout:function(){O(),T(!0)},isOpen:!1,isMyHealthEnabled:b,enableCare:h,enableTogether:g,enableEcom:x,closePopup:O,userInfo:t,siteType:l,isUserProfileNavigatorMenuHidden:v,togetherApiDomain:w,userProfileRouterPush:C,locale:P})),o.createElement(Gn,{openLogoutPopup:H,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),T(!1)},siteType:l,onLogoutHandler:function(){return i(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return T(!1),document.body.classList.toggle("noscroll",!1),[4,E()];case 1:return n.sent(),[2]}}))}))}})):o.createElement(te,{style:n({textDecoration:"none"},k),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":p,href:_?void 0:"".concat(d,"?returnUrl=").concat(p),"data-site-type":l},m?o.createElement(ne,{onClick:s},o.createElement("img",{src:u.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):o.createElement(o.Fragment,null,"helloSites"===l&&o.createElement("img",{className:"mobile-only",src:u.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===l&&o.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},o.createElement(f,{size:"p3",color:V.mbColors.pink},M("navigation.loginJoin"))),o.createElement(Z,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:o.createElement("img",{src:u.getAssetPath("login.svg"),width:18,height:18}),theme:l},M("navigation.loginJoin"))))},ct=o.createContext({}),dt=function(t){var i=t.children,a=e(t,["children"]),l="undefined"!=typeof window?window.location.href:a.currentUrl||"https://".concat("marryBaby"===a.siteType?T[a.locale||"en-PH"]:x[a.locale||"en-PH"]).concat("together"===a.projectType?"/community":"ecom"===a.projectType?"/ecom":"care"===a.projectType?"/care":"","/"),r=function(n){var e=n.locale,t=n.projectType,i=n.isMobile,a=n.siteType;return s((function(){var n=!(!i&&"profile"===t),o="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===a,l="marryBaby"!==a&&"marryBaby"!==t&&v.includes(e),r="marryBaby"!==t&&"discover"===t&&"marryBaby"!==a&&y.includes(e),s="marryBaby"===t||b.includes(e),c="ecom"===t,d="ecom"===t,p=C(e,"marryBaby"===a),m=L(e,"marryBaby"===a);return{enableProfileNavigatorMenu:n,enableSearchBar:o,enableNavCare:l,enableNavCareBooking:r,enableNavTogether:s,enableNavEcom:c,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:"".concat(p,"/care"),TOGETHER_URL_FE:"".concat(p,"/community"),SSO_URL:m,TOGETHER_API:P(),DISCOVER_API:M(e)}}}),[e,t,i])}({locale:a.locale,projectType:a.projectType,isMobile:a.isMobile,siteType:a.siteType});return o.createElement(ct.Provider,{value:n(n({},a),{configs:r,currentUrl:l})},i)},pt="-XmTq5-",mt="V-oxu20",ht=function(n){var e=n.item,t=n.menu,i=Fn({allowBgScroll:!0}),a=i.containerRef,l=i.onContainerFocus,s=i.onContainerBlur,d=i.onButtonMouseDown,p=i.onClose,m=function(){var n=r(!0),e=n[0],t=n[1];return c((function(){t(!1)}),[]),e}();return!e.popupType&&e.link?o.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},o.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:mt},e.name)):o.createElement("div",{ref:a,className:"hhgcomp-navigation-itemnav-headeritem ".concat(m?"":"menu-handler-".concat(e.id)),tabIndex:0,key:e.id,onBlur:s,onFocus:l,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},o.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:d,className:mt},e.name,e.popupType&&o.createElement("div",{className:pt},o.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),o.isValidElement(t)?o.cloneElement(t,{onClose:p}):null)},ut=d((function(){return o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.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"}))})),gt=function(){var n=p(ct),e=n.locale,t=n.configs.statics,i=n.siteType,a=S().t;return o.createElement(W,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?a("navigation.search.input.placeholder"):a("home.search",{site:w[e||"en-PH"]?w[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:o.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},o.createElement(ut,null))})},ft="eJS8-if",xt="EuQrB-3",vt="_0JtBh8L",yt=function(n){var e=n.onClosePopup;return o.createElement("div",{className:"".concat(vt," close-btn"),onClick:e},o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},bt=function(n){var e=n.onClosePopup,t=n.isDisplay,i=n.children,a=n.isNavMenu,l=n.hideCloseBtn;return o.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!a},o.createElement(Y,null,!l&&o.createElement("div",{className:xt},o.createElement(yt,{onClosePopup:e})),o.createElement(Y,{className:ft},i)))},wt=g.div(ve||(ve=t(["\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"])),j.mbUp),Et=g.a(ye||(ye=t(["\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 width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\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 width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\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})),kt=g.div(be||(be=t(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),j.mbDown),Ct=g.div(we||(we=t(["\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"])),j.mbUp),Lt=g.div(Ee||(Ee=t(["\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})),Pt=g.div(ke||(ke=t(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),Mt=g.a(Ce||(Ce=t(["\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}),j.mbDown),Bt=function(n){var e=n.hrefViewMore,t=n.titleBtnViewMore,i=n.UrlFE,a=n.onClosePopup,l=n.menuItems,r=n.headingTitle,s=p(ct).siteType;return o.createElement(wt,null,o.createElement(kt,null,o.createElement(G,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},r)),null==l?void 0:l.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 o.createElement(Et,{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:a},o.createElement("div",{className:"icon"},o.createElement("img",{loading:"lazy",alt:n.name,src:n.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),o.createElement("p",null,n.name),o.createElement(Ct,null,o.createElement("img",{src:u.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),t&&o.createElement(Mt,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},o.createElement(Lt,{onClick:a,"data-theme":s,"data-is-heading-category":!1},t,o.createElement(Pt,null,o.createElement("img",{className:"svg",src:"marryBaby"===s?u.getAssetPath("chevronRightPink.svg"):u.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Ht=g.div(Le||(Le=t(["\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"])),j.mbDown,j.mbUp),Nt=g.div(Pe||(Pe=t(["\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})),Tt=g.div(Me||(Me=t(["\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"]))),At=g.div(Be||(Be=t(["\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"]))),zt=g.div(He||(He=t(["\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"])),j.mbDown),_t=function(n){var e=n.title,t=n.link,i=n.description,a=n.cta,l=n.icon,r=p(ct).siteType;return o.createElement(Ht,{"data-theme":r},o.createElement(zt,null,o.createElement("img",{src:"marryBaby"===r?u.getAssetPath("navMBSpotlightBgNoData.svg"):u.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),o.createElement(At,null,l&&o.createElement("img",{src:l,width:64,height:64}))),o.createElement("div",null,e&&o.createElement(Tt,null,e),i&&o.createElement(Nt,null,i),a&&o.createElement("div",null,o.createElement("a",{href:t},o.createElement(Z,{theme:r,className:"survey-contact-submit",size:"md"},a)))))},Ut=g.div(Ne||(Ne=t(["\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"])),j.mbDown,(function(n){return n.theme.colors.neutral100})),St=g.div(Te||(Te=t(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),Rt=g.a(Ae||(Ae=t(["\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}),j.mbDown),Dt=function(n){var e=n.title,t=n.viewMore,i=n.children,a=n.link,l=n.dataEventAction,r=void 0===l?"":l,s=p(ct).siteType;return o.createElement(Ut,null,o.createElement(St,null,o.createElement(G,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},e),t&&o.createElement(Rt,{"data-event-category":"Hamburger Navigation","data-event-action":r,"data-event-label":a,href:a,"data-theme":s},t,o.createElement("img",{src:"marryBaby"===s?u.getAssetPath("chevronRightPink.svg"):u.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),i)};g.div(jt||(jt=t(["\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 jt,Zt,Vt,Ft,It,Ot,Gt,Wt,Yt,Kt=g.div(Zt||(Zt=t(["\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"])),j.tdDown),qt=g.div(Vt||(Vt=t(["\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"])),j.tdDown,j.mbDown),Qt=g.div(Ft||(Ft=t(["\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"]))),Jt=g.div(It||(It=t(["\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}),j.tdDown),Xt=g.p(Ot||(Ot=t(["\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}),j.tdDown),$t=g.p(Gt||(Gt=t(["\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}),j.tdDown),ni="hhgcomp-navigation-menucareitem-contentwrapper",ei=I(g.div(Wt||(Wt=t(["\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"])),j.tdDown),ni),ti=g.a(Yt||(Yt=t(["\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"])),V.colors.white,j.tdUp,j.tdDown,ni,j.mbDown,j.tdOnly,V.colors.neutral100),ii=function(n){var e,t=n.item,i=n.index,a=void 0===i?0:i,l=S().t,r=p(ct),s=r.locale,c=r.configs.statics;if(!t)return null;var d="".concat(c.CARE_URL_FE,"/").concat(null===(e=q[s])||void 0===e?void 0:e.HOSPITAL,"/").concat(t.slug,"-").concat(t.id);return o.createElement(ti,{key:t.id,href:d,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(a+1),"data-event-label":d},o.createElement("img",{src:u.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),o.createElement(qt,null,o.createElement(Qt,null,o.createElement("img",{loading:"lazy",alt:t.name,src:t.logo||"/images/avatar.jpg"}))),o.createElement(ei,null,o.createElement(Xt,null,t.name),o.createElement($t,null,t.description),o.createElement(Jt,null,l("home.seeMore"),o.createElement("img",{src:u.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},ai=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=n.hrefViewMore,a=S().t;return o.createElement(Dt,{title:a("home.navigator.menu.spotlightHospitals")},0!==t.length?o.createElement(Kt,null,null==t?void 0:t.slice(0,3).map((function(n,e){return o.createElement(ii,{key:e,index:e,item:n})}))):o.createElement(_t,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:i,cta:a("home.navigator.menu.care.noDatas.cta"),icon:u.getAssetPath("community.svg")}))},oi=function(n){var e,t=n.careSpecialties,i=void 0===t?[]:t,a=n.isOpen,l=n.onClose,r=n.spotlights,s=void 0===r?[]:r,c=S().t,d=p(ct),m=d.locale,h=d.configs.statics,u="".concat(h.CARE_URL_FE,"/").concat(null===(e=q[m])||void 0===e?void 0:e.SPECIALTIES);return o.createElement(bt,{onClosePopup:l,isDisplay:a,isNavMenu:!0},o.createElement(Bt,{headingTitle:c("home.navigator.menuItem.specialties"),hrefViewMore:u,UrlFE:h.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:c("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(n){return n?{name:String(n.name)||"",link:me({type:"DOCTOR",specialtySlug:n.slug,locale:m}),thumbnail:(null==n?void 0:n.thumbnail)||""}:{}})))||[]}),o.createElement(ai,{spotlights:s,hrefViewMore:u}))};g.div(li||(li=t(["\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"]))),g.div(ri||(ri=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var li,ri,si,ci,di,pi,mi=g.div(si||(si=t(["\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"])),j.tdDown),hi=g.a(ci||(ci=t(["\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"]))),ui=g.div(di||(di=t(["\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"])),j.tdDown),gi=g.p(pi||(pi=t(["\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}),j.tdUp),fi=function(n){var e=n.item,t=n.index,i=void 0===t?0:t;return e?o.createElement(hi,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":e.link},o.createElement(ui,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),o.createElement(gi,null,e.title)):null},xi=function(n){var e=n.spotlightsList,t=void 0===e?[]:e,i=n.hrefViewMore,a=S().t,l=p(ct).configs.statics;return o.createElement(Dt,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:i,dataEventAction:"Spotlight See More Click"},0!==t.length?o.createElement(mi,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(fi,{key:e,index:e,item:{id:n.id,link:l.HOME_PAGE_URL+n.permalink,title:n.name,banner:n.image}})}))):o.createElement(_t,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:i,cta:a("home.navigator.menu.category.noDatas.cta"),icon:u.getAssetPath("Spotlight.svg")}))},vi=function(n){var e=n.categories,t=void 0===e?[]:e,i=n.spotlightsList,a=void 0===i?[]:i,l=n.onClose,r=n.isOpen,s=S().t,c=p(ct),d=c.locale,m=c.configs.statics;return o.createElement(bt,{onClosePopup:l,isDisplay:r,isNavMenu:!0},o.createElement(Bt,{hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===d?"/fil":"","/categories/"),UrlFE:m.HOME_PAGE_URL,onClosePopup:l,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")}),o.createElement(xi,{spotlightsList:a,hrefViewMore:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===d?"/fil":"","/spotlight/")}))};g.div(yi||(yi=t(["\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})),g.div(bi||(bi=t(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var yi,bi,wi,Ei,ki,Ci,Li,Pi,Mi,Bi,Hi,Ni,Ti,Ai,zi=g.div(wi||(wi=t(["\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"])),j.tdDown,j.mbDown),_i=g.div(Ei||(Ei=t(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),Ui=g.img(ki||(ki=t(["\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"]))),Si=g.div(Ci||(Ci=t(["\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})),Ri=g.div(Li||(Li=t(["\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})),Di=g.div(Pi||(Pi=t(["\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})),ji=g.div(Mi||(Mi=t(["\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})),Zi=g.a(Bi||(Bi=t(["\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}),j.tdOnly,j.mbDown,j.tdUp),Vi=g.div(Hi||(Hi=t(["\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"]))),Fi=g.div(Ni||(Ni=t(["\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})),Ii=g.div(Ti||(Ti=t(["\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"]))),Oi=g.div(Ai||(Ai=t(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));K.extend(J);var Gi=function(n){var e,t,i,a,l,r,s,c=n.post,d=n.index,m=void 0===d?0:d,h=p(ct),u=h.siteType,g=h.configs.statics;if(!c)return null;var f=[g.TOGETHER_URL_FE,null===(e=c.community)||void 0===e?void 0:e.slug].join("/"),x=[f,c.slug].join("/"),v=c.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,b=y?K(y).toNow(!0):v;return o.createElement(Zi,{href:x,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(m+1),"data-event-label":x},o.createElement(_i,null,o.createElement(Vi,null,o.createElement(A,{avatar:null===(t=c.author)||void 0===t?void 0:t.avatar,username:(null===(i=c.author)||void 0===i?void 0:i.name)||(null===(a=c.author)||void 0===a?void 0:a.username)}),o.createElement(Oi,null,o.createElement(Si,{"data-theme":u},null===(l=c.author)||void 0===l?void 0:l.name),o.createElement(Ii,null,o.createElement(Ri,{"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===(r=c.community)||void 0===r?void 0:r.name),o.createElement(ji,null,"•"),o.createElement(Di,{"data-theme":u},b)))),o.createElement(Fi,null,c.title)),!!(null===(s=c.photos)||void 0===s?void 0:s.length)&&o.createElement(Ui,{loading:"lazy",src:c.photos[0]}))},Wi=function(n){var e=n.spotlights,t=void 0===e?[]:e,i=p(ct).configs.statics,a=S().t;return o.createElement(Dt,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:i.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==t.length?o.createElement(zi,null,null==t?void 0:t.slice(0,4).map((function(n,e){return o.createElement(Gi,{index:e,post:n,key:n.id})}))):o.createElement(_t,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:"".concat(i.HOME_PAGE_URL,"/community/"),cta:a("home.navigator.menu.together.noPosts.cta"),icon:u.getAssetPath("community.svg")}))},Yi=function(n){var e=n.communities,t=void 0===e?[]:e,i=n.onClose,a=n.isOpen,l=n.spotlights,r=void 0===l?[]:l,s=S().t,c=p(ct).configs.statics;return o.createElement(bt,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(Bt,{hrefViewMore:c.TOGETHER_URL_FE+"/",UrlFE:c.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")}),o.createElement(Wi,{spotlights:r}))};g.div(Ki||(Ki=t(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var Ki,qi,Qi,Ji,Xi,$i,na,ea,ta,ia,aa,oa,la,ra,sa,ca,da=g.div(qi||(qi=t(["\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"])),j.tdDown),pa=g.a(Qi||(Qi=t(["\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"])),j.tdDown,j.tdDown),ma=g.div(Ji||(Ji=t(["\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"])),j.tdDown),ha=g.div(Xi||(Xi=t(["\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})),ua=g.p($i||($i=t(["\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})),ga=g.p(na||(na=t(["\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}),j.tdDown),fa=g.div(ea||(ea=t(["\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"])),j.tdUp,j.tdDown),xa=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=S().t,l=p(ct).configs.statics;if(!e)return null;var r=e.link?e.link.startsWith("http")?e.link:"".concat(l.HOME_PAGE_URL).concat(e.link):void 0;return o.createElement(pa,{href:r,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":r},o.createElement("img",{src:u.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),o.createElement(fa,null,o.createElement(ua,null,e.title),o.createElement(ga,null,e.subtitle),o.createElement(ha,null,a("home.seeMore"),o.createElement("img",{src:u.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),o.createElement(ma,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},va=g.a(ta||(ta=t(["\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}),j.tdDown,j.mbDown,j.tdUp,j.tdUp,j.tdDown),ya=g.div(ia||(ia=t(["\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"])),j.tdDown,j.mbDown),ba=g.div(aa||(aa=t(["\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}),j.tdDown,(function(n){return n.theme.mbColors.pink})),wa=g.p(oa||(oa=t(["\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})),Ea=g.p(la||(la=t(["\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}),j.tdDown),ka=g.div(ra||(ra=t(["\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"])),j.tdUp,j.tdDown),Ca=g.div(sa||(sa=t(["\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"])),j.tdUp,j.tdDown),La=g.div(ca||(ca=t(["\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"])),j.tdUp,j.tdDown),Pa=function(n){var e=n.item,t=n.index,i=void 0===t?0:t,a=n.color,l=S().t,r=p(ct).configs.statics;if(!e)return null;var s=e.link?e.link.startsWith("http")?e.link:"".concat(r.HOME_PAGE_URL).concat(e.link):void 0,c=function(){return o.createElement(ya,null,o.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"}))},d=function(){return o.createElement(La,null,o.createElement(Ca,null,o.createElement(wa,null,e.title),o.createElement(Ea,null,e.subtitle)),o.createElement(ba,null,o.createElement("div",{className:"mobile-only"},l("home.seeMore")),o.createElement("img",{src:u.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return o.createElement(va,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(i+1),"data-event-label":s,"data-color":a},o.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.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"})),o.createElement("img",{src:u.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),o.createElement(ka,null,o.createElement("div",{className:"mobile-only"},c()),o.createElement("div",{className:"desktop-only"},d())),o.createElement("div",{className:"mobile-only"},d()),o.createElement("div",{className:"desktop-only"},c()))},Ma=function(n){var e=n.hrefViewMore,t=n.spotlightHealthTools,i=void 0===t?[]:t,a=S().t,l=["pink","orange","green"],r=p(ct).siteType;return o.createElement(Dt,{title:a("home.navigator.menu.spotlightTools")},0!==i.length&&o.createElement(da,null,null==i?void 0:i.slice(0,3).map((function(n,e){return"marryBaby"===r?o.createElement(Pa,{key:e,index:e,item:n,color:l[e]}):o.createElement(xa,{key:e,index:e,item:n})}))),0===i.length&&o.createElement(_t,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:u.getAssetPath("community.svg")}))},Ba=function(n){var e,t=n.locale,i=n.onClose,a=n.isOpen,l=n.spotlightHealthTools,r=void 0===l?[]:l,s=n.healthTools,c=void 0===s?[]:s,d=S().t,m=p(ct).configs.statics,h="".concat(m.HOME_PAGE_URL).concat("tl-PH"===t?"/fil":"").concat((null===(e=E[t])||void 0===e?void 0:e.HEALTH_TOOLS)||"");return o.createElement(bt,{onClosePopup:i,isDisplay:a,isNavMenu:!0},o.createElement(Bt,{hrefViewMore:h,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:d("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:d("home.navigator.menuItem.allHealthTools"),menuItems:c.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}}))}),o.createElement(Ma,{spotlightHealthTools:r,hrefViewMore:h}))},Ha="_6gGCHV-",Na="YDzfyQU",Ta=function(n){var e=n.onCareHeaderClick,t=n.currentUrl,i=n.careUrlFe,a=n.btnName;return e?o.createElement(Z,{className:Ha,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(n){return e(n)}},a):o.createElement("a",{href:i,className:"".concat(Na," care-button no-replace-click")},o.createElement(Z,{className:Ha,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},a))};function Aa(n){var e=n.className;return o.createElement("div",null,o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},o.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function za(n){var e=n.siteType,t=n.type,i=n.enableSearch,a=n.className;return"helloSites"===e?o.createElement("div",null,o.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?u.getAssetPath("hamburgerMenuNewWithSearch.svg"):u.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:a})):o.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a},o.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 _a=g.div(Ua||(Ua=t(["\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"])));g.div(Sa||(Sa=t(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),g.div(Ra||(Ra=t(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),g.div(Da||(Da=t(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),g.div(ja||(ja=t(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),g.div(Za||(Za=t(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),g.div(Va||(Va=t(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),re,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),g.div(Fa||(Fa=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),g.div(Ia||(Ia=t(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),g.div(Oa||(Oa=t(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),g.div(Ga||(Ga=t(["\n display: none;\n"],["\n display: none;\n"]))),g.div(Wa||(Wa=t(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),g.div(Ya||(Ya=t(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),g.div(Ka||(Ka=t(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),g.div(qa||(qa=t(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),g.div(Qa||(Qa=t(["\n display: block;\n"],["\n display: block;\n"]))),g.div(Ja||(Ja=t(["\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})),g.div(Xa||(Xa=t(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var Ua,Sa,Ra,Da,ja,Za,Va,Fa,Ia,Oa,Ga,Wa,Ya,Ka,qa,Qa,Ja,Xa,$a,no,eo=g.div($a||($a=t(["\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})),to=g.div(no||(no=t(["\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"]))),io=function(n){var e,t,i=n.closePopup,a=n.menuItems,l=void 0===a?[]:a,r=p(ct),s=r.siteType,c=r.ssrMenuContent,d=c.categories,m=c.healthTools,h=c.care,u=c.together,g=r.activeMenuService,f=r.configs,x=f.statics,v=f.enableSearchBar,y=r.locale,b=S().t;return o.createElement(_a,{id:"categories-menu"},v?o.createElement(eo,{"data-theme":s,onClick:function(){window.location.href="".concat(x.HOME_PAGE_URL,"/search")}},o.createElement(gt,null)):null,o.createElement(to,null,o.createElement(Bt,{UrlFE:x.HOME_PAGE_URL,titleBtnViewMore:b("home.navigator.menuItem.allCategories"),menuItems:l,headingTitle:b("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===g&&o.createElement(xi,{spotlightsList:(null==d?void 0:d.spotlights)||[],hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"","/spotlight/")}),"tools"===g&&o.createElement(Ma,{spotlightHealthTools:null==m?void 0:m.spotlights,hrefViewMore:"".concat(x.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"").concat((null===(e=E[y])||void 0===e?void 0:e.HEALTH_TOOLS)||"")}),"care"===g&&o.createElement(ai,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(x.CARE_URL_FE,"/").concat(null===(t=q[y])||void 0===t?void 0:t.SPECIALTIES)}),"together"===g&&o.createElement(Wi,{spotlights:null==u?void 0:u.spotlights})))},ao="IQdn7tn",oo="_1jX3mGY",lo="arD755Y",ro=function(n){var e=n.type,t=void 0===e?"home":e,i=n.menuItems,a=p(ct),l=a.siteType,r=a.configs.enableSearchBar,s=Fn(),c=s.containerRef,d=s.onContainerFocus,m=s.onContainerBlur,h=s.onButtonMouseDown,u=s.onClose;return o.createElement(Vn,{mediaQueryKey:"mbDown"},o.createElement("header",{className:ao},o.createElement("div",{className:oo,ref:c,role:"button",tabIndex:0,onBlur:m,onFocus:d},o.createElement("div",{className:lo,onMouseDown:h,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},o.createElement(Aa,{className:"mobile-close-icon"}),o.createElement(za,{siteType:l,type:t,enableSearch:r,className:"mobile-hamburger-icon"})),o.createElement(io,{menuItems:i,closePopup:u}))))},so=g.div(uo||(uo=t(["\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}),j.mbUp,j.mbDown,ae,oe,le,(function(n){return n.theme.mbColors.lightGray})),co=g.div(go||(go=t(["\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"])),j.pcDown,j.mbDown,j.tdUp),po=g.div(fo||(fo=t(["\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"])),j.pcDown),mo=g.div(xo||(xo=t([""],[""]))),ho=g.div(vo||(vo=t(["\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"])),j.pcUp,j.pcDown,j.mbDown);g.div(yo||(yo=t(["\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 uo,go,fo,xo,vo,yo,bo,wo,Eo,ko,Co,Lo=g.div(bo||(bo=t(["\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"])),j.pcDown,j.mbDown),Po=g.div(wo||(wo=t(["\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"]))),Mo=function(n){var e,t=n.onTopBarAppears,i=n.type,a=void 0===i?"home":i,s=n.languageMenu,d=n.menuItems,h=n.setSitewideBannerClosed,g=n.sitewideBannerClosed,f=p(ct),x=f.siteType,v=f.isMobile,y=void 0!==v&&v,b=f.locale,E=f.sitewideBanner,C=f.sitewideBannerShown,L=void 0===C||C,P=f.sponsorComponent,M=f.onBookingClick,B=f.currentUrl,H=f.onLoginClick,N=f.configs,T=N.statics,A=N.enableNavCareBooking,z=N.enableSearchBar,_=N.enableNavCare,D=N.enableProfileMyHealth,j=N.enableNavTogether,Z=N.enableProfileEcom,V=N.enableProfileNavigatorMenu,F=f.userState.userInfo,I=f.onLogout,O=f.userProfileRouterPush,G=f.isUserLoading,W=S().t,Y=T.SSO_URL,K=T.HOME_PAGE_URL,q=!!P,Q=r(!1),J=Q[0],X=Q[1],$=l(47),nn=l(null),en=l(!1),tn="helloSites"===x?null===(e=w[b])||void 0===e?void 0:e.LOGO_TYPE:x,an="undefined"!=typeof window,on=m(R((function(){if("home"===a&&an){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),[]);c((function(){null==t||t(!J)}),[J]),c((function(){return window.addEventListener("scroll",on,{passive:!0}),function(){window.removeEventListener("scroll",on)}}),[]),c((function(){y&&on()}),[y]);var ln=L&&!!E&&!g;return o.createElement(so,{"data-site-type":x,"data-sponsored":q,"data-sitewide-banner-shown":ln,"data-header-type":a,"data-collapsed":J,"data-with-search-input":"popup-sub-level"!==a,"data-is-displayed":!0,id:"site-header",ref:nn},E?o.isValidElement(E)?o.cloneElement(E,{isCollapsed:J,setBannerClosed:h,isMobile:y}):E:null,o.createElement(co,{"data-site-type":x},o.createElement(po,{"data-site-type":x},o.createElement(ro,{menuItems:d,type:a}),o.createElement("a",{href:K},o.createElement(mo,null,o.createElement(U,{style:{display:"flex"},type:tn,badge:"id-ID"===b&&o.createElement("img",{src:u.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:b,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===x?o.createElement(Ho,{menuItems:d}):z&&o.createElement(Bo,{siteType:x})),o.createElement(ho,{"data-site-type":x},"marryBaby"===x?z&&o.createElement(Bo,{siteType:x}):o.createElement(Ho,{menuItems:d}),o.createElement(Lo,null,A&&o.createElement(Vn,{mediaQueryKey:"mbUp"},o.createElement(Ta,{careUrlFe:T.CARE_URL_FE,currentUrl:B,btnName:W("login.booking"),onCareHeaderClick:M})),s,o.createElement(st,{userInfo:F,siteType:x,onLoginClick:H||function(){var n=window.location.href;window.location.href=Y?"".concat(Y,"?returnUrl=").concat(n):n},SSO_URL:T.SSO_URL+"/",currentUrl:B,onLogout:I,UP_BASEPATH:k,isMyHealthEnabled:D,enableCare:_,enableTogether:j,enableEcom:Z,togetherApiDomain:T.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!V,userProfileRouterPush:O,isLoading:G,locale:b})))),P?o.isValidElement(P)?o.cloneElement(P,{isCollapsed:J,locale:b,isMobile:y}):P:null)},Bo=function(n){var e=n.siteType;return o.createElement(Vn,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},o.createElement(gt,null))},Ho=function(n){var e=n.menuItems,t=p(ct),i=t.siteType,a=t.locale,l=t.ssrMenuContent,r=l.categories,s=l.healthTools,c=l.care,d=l.together;return o.createElement(Vn,{mediaQueryKey:"mbUp",style:{height:"100%"}},o.createElement(Po,{"data-site-type":i},null==e?void 0:e.map((function(n,e){return o.createElement(ht,{key:e,item:n,menu:"categories"===n.popupType?o.createElement(vi,{categories:null==r?void 0:r.items,spotlightsList:null==r?void 0:r.spotlights}):"tools"===n.popupType?o.createElement(Ba,{locale:a,healthTools:null==s?void 0:s.items,spotlightHealthTools:null==s?void 0:s.spotlights}):"together"===n.popupType?o.createElement(Yi,{communities:null==d?void 0:d.items,spotlights:null==d?void 0:d.spotlights}):"care"===n.popupType?o.createElement(oi,{careSpecialties:null==c?void 0:c.items,spotlights:null==c?void 0:c.spotlights}):null})}))))},No=g.div(Eo||(Eo=t(["\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"])),j.mbDown);g.div(ko||(ko=t(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),g.a(Co||(Co=t(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var To=function(e){var t,i,a=e.isMobile,d=e.locale,h=e.onTopBarAppears,g=e.languageOptions,f=e.sponsorComponent,x=e.sitewideBanner,v=e.sitewideBannerShown,y=e.className,b=r(!1),w=b[0],k=b[1],C=function(){var n=S().t,e=p(ct),t=e.siteType,i=e.locale,a=e.configs,o=a.enableNavCare,l=a.enableNavTogether,r=a.enableNavEcom,c=a.statics,d="marryBaby"===t,m=s((function(){var e,t=[{name:n("home.navigator.menuItem.discover"),id:"categories",link:"".concat(c.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"","/categories"),niceName:"",thumbnail:d?u.getAssetPath("categories-mb.svg"):u.getAssetPath("discover.png"),popupType:"categories"},{name:n("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(c.HOME_PAGE_URL).concat("tl-PH"===i?"/fil":"").concat((null===(e=E[i])||void 0===e?void 0:e.HEALTH_TOOLS)||""),thumbnail:d?u.getAssetPath("healthtools-mb.svg"):u.getAssetPath("healthTools.png"),popupType:"tools"}];return o&&t.push({name:n("home.navigator.menuItem.helloCare"),id:"care",link:c.HOME_PAGE_URL+"/care",thumbnail:u.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===i?null:"care"}),l&&t.push({name:n("home.navigator.menuItem.helloTogether"),id:"together",link:c.TOGETHER_URL_FE+"/",thumbnail:d?u.getAssetPath("community-mb.svg"):u.getAssetPath("together.png"),popupType:"together"}),r&&t.push({name:n("home.navigator.menuItem.helloEcom"),id:"ecom",link:c.HOME_PAGE_URL+"/ecom",thumbnail:u.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[i,o,l,r]);return m}();!function(){var e=p(ct),t=e.isFirstLogin,i=e.userState.userInfo;c((function(){(null==i?void 0:i.id)&&(t?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:n({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:n({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:n({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:n({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var L=function(n){var e=n.hasSponsoredBanners,t=n.isSiteWide,i=n.isSponsored,a=n.isShowingSiteWideBanner,o=n.isMobile,d=l(null),p=r(0),h=p[0],u=p[1],g=r(64),f=g[0],x=g[1],v=m(X((function(){var n,e,t,i,a=(null===(n=d.current)||void 0===n?void 0:n.clientHeight)||(null===(t=null===(e=d.current)||void 0===e?void 0:e.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=a+200&&(u(a),x((null===(i=d.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||h))}),200),[]);c((function(){return window.addEventListener("resize",v),window.addEventListener("scroll",v),v(),function(){window.removeEventListener("resize",v),window.removeEventListener("scroll",v)}}),[]),c((function(){v()}),[o,t,a,i,e,d.current]);var y=s((function(){var n=o?64:69;return a&&(n+=64),i&&(n+=40,e&&(n+=57)),n}),[o,a,e,i]);return{defaultHeaderHeight:y,headerHeight:h||y,headerBottom:f,headerRef:d}}({isSiteWide:!!x&&!w,isShowingSiteWideBanner:v&&!!x&&!w,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:a}),P=L.headerRef,M=L.defaultHeaderHeight,B=L.headerHeight,H=L.headerBottom;return o.createElement(No,{id:"navigation-v2",style:{"--default-header-height":M+"px","--header-height":"calc(".concat(B,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":H+"px"},className:y},o.createElement("section",{ref:P},o.createElement(Mo,{menuItems:C,type:"home",onTopBarAppears:a?function(n){h&&h(n)}:void 0,languageMenu:o.createElement(Dn,{languageOptions:g,locale:d}),setSitewideBannerClosed:k,sitewideBannerClosed:w})))},Ao=function(e){var t=n({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return o.createElement(dt,n({},t),o.createElement(To,n({},t)))},zo=function(n){return i(void 0,void 0,void 0,(function(){var e,t,i,o,l,r,s,c,d,p,m,h,u,g,f,y,w,E,k,C,L,H,N,T,A,U,S,R,D,j,Z,V,F,I,O,G;return a(this,(function(a){switch(a.label){case 0:e={},t="vi-VN_MB"===n,a.label=1;case 1:a.trys.push([1,14,,15]),i="tl-PH"===n?"lang=fil":"",a.label=2;case 2:return a.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(M(n),"/wp-json/api/categories").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(M(n),"/wp-json/api/spotlights?per_page=10").concat(i?"&"+i:"")).then((function(n){return n.json()})),fetch("".concat(M(n),"/wp-json/api/").concat(t?"health-tools":"healthtools").concat(i?"?"+i:"")).then((function(n){return n.json()})),fetch("".concat(M(n),"/wp-json/api/").concat(t?"health-tools":"healthtools","/favorites").concat(i?"?"+i:"")).then((function(n){return n.json()}))])];case 3:return o=a.sent(),l=o[0],r=o[1],s=o[2],c=o[3],e.categories={items:(null===(w=null===(y=null==l?void 0:l.data)||void 0===y?void 0:y.map)||void 0===w?void 0:w.call(y,se))||[],spotlights:(null===(L=null===(C=null===(k=null===(E=null==r?void 0:r.data)||void 0===E?void 0:E.articles)||void 0===k?void 0:k.map)||void 0===C?void 0:C.call(k,he))||void 0===L?void 0:L.filter(ue))||[]},e.healthTools={items:(null===(N=null===(H=null==s?void 0:s.data)||void 0===H?void 0:H.map)||void 0===N?void 0:N.call(H,ce))||[],spotlights:(null===(A=null===(T=null==c?void 0:c.data)||void 0===T?void 0:T.map)||void 0===A?void 0:A.call(T,ce))||[]},[3,5];case 4:return a.sent(),[3,5];case 5:if(!t&&!b.includes(n))return[3,9];a.label=6;case 6:return a.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(P(),"/api/v1/community?website_url=https://").concat(x[n])).then((function(n){return n.json()})),fetch("".concat(P(),"/api/v1/options?website_url=https://").concat(x[n],"&meta_key=popular_post")).then((function(n){return n.json()}))])];case 7:return d=a.sent(),p=d[0],m=d[1],e.together={items:(null===(R=null===(S=null===(U=null==p?void 0:p.data)||void 0===U?void 0:U.communities)||void 0===S?void 0:S.map)||void 0===R?void 0:R.call(S,z))||[],spotlights:(null===(Z=null===(j=null===(D=null==m?void 0:m.data)||void 0===D?void 0:D.posts)||void 0===j?void 0:j.map)||void 0===Z?void 0:Z.call(j,_))||[]},[3,9];case 8:return a.sent(),[3,9];case 9:if(!v.includes(n))return[3,13];a.label=10;case 10:return a.trys.push([10,12,,13]),[4,Promise.all([fetch(B()+"/api/specialties?_ishome=1&site=".concat(x[n])).then((function(n){return n.json()})),fetch(B()+"/api/search/?site=".concat(x[n],"&type=hospital&order_by=total_doctor")).then((function(n){return n.json()}))])];case 11:return h=a.sent(),u=h[0],g=h[1],e.care={items:(null===(I=null===(F=null===(V=null==u?void 0:u._data)||void 0===V?void 0:V.specialties)||void 0===F?void 0:F.map)||void 0===I?void 0:I.call(F,de))||[],spotlights:(null===(G=null===(O=null==g?void 0:g._data.searches)||void 0===O?void 0:O.map)||void 0===G?void 0:G.call(O,pe))||[]},[3,13];case 12:return a.sent(),[3,13];case 13:return[3,15];case 14:return f=a.sent(),console.error(f),[3,15];case 15:return[2,e]}}))}))},_o=function(n){return i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,h("nav-menu-content",(function(){return zo(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{Nn as F,Dn as L,Ao as N,rt as P,ot as U,_o as a,xe as b,at as c,Gn as d,st as e,zo as g};
@@ -1 +1 @@
1
- import{_ as e,c as n}from"./tslib.es6-4a16ba47.js";import t,{useState as a,useEffect as o,forwardRef as i}from"react";import{createEmotionCache as r,FileInput as s,NumberInput as l,PasswordInput as u,Input as c,TextInput as m}from"@mantine/core";import{useDebouncedValue as f}from"@mantine/hooks";import{CommonGAssets as p}from"./gAssets.js";var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e){var n={exports:{}};return e(n,n.exports),n.exports}var v=300,h=r({key:"mantine",prepend:!1}),y=p.getAssetPath("EyeVisible.svg"),b=p.getAssetPath("EyeHidden.svg"),w=i((function(a,o){var i=a.size,r=void 0===i?"md":i,s=a.visibilityToggleIcon,l=a.styles,c=n(a,["size","visibilityToggleIcon","styles"]),m=s||function(e){var n=e.reveal,a=e.size;return n?t.createElement("img",{src:y,width:a}):t.createElement("img",{src:b,width:a})};return t.createElement(u,e({ref:o,size:r,visibilityToggleIcon:m,styles:e({rightSection:{pointerEvents:"initial"}},l)},c,{className:"input-control ".concat((null==c?void 0:c.className)||"")}))})),C=function(i){var r=i.value,s=i.onChange,l=i.onChangeRaw,u=n(i,["value","onChange","onChangeRaw"]),c=a(r||""),p=c[0],g=c[1],d=f(p,300)[0];return o((function(){null==s||s(d)}),[d]),o((function(){g(r)}),[r]),t.createElement(m,e({size:"md",onChange:function(e){null==l||l(e),g(e.currentTarget.value)},value:p},u,{className:"input-control ".concat((null==u?void 0:u.className)||"")}))};C.File=function(n){return t.createElement(s,e({size:"md"},n))},C.Password=w,C.Number=function(i){var r=i.value,s=i.onChange,u=n(i,["value","onChange"]),c=a(r),m=c[0],p=c[1],g=f(m,300)[0];return o((function(){null==s||s(g)}),[g]),o((function(){p(r)}),[r]),t.createElement(l,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:p,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:m},u))},C.Wrapper=c.Wrapper;export{v as D,C as I,w as P,g as a,d as c,h as e};
1
+ import{_ as e,c as n}from"./tslib.es6-d275d637.js";import t,{useState as a,useEffect as o,forwardRef as i}from"react";import{createEmotionCache as r,FileInput as s,NumberInput as l,PasswordInput as u,Input as c,TextInput as m}from"@mantine/core";import{useDebouncedValue as f}from"@mantine/hooks";import{CommonGAssets as d}from"./gAssets.js";var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e){var n={exports:{}};return e(n,n.exports),n.exports}var v=300,h=r({key:"mantine",prepend:!1}),y=d.getAssetPath("EyeVisible.svg"),b=d.getAssetPath("EyeHidden.svg"),w=i((function(a,o){var i=a.size,r=void 0===i?"md":i,s=a.visibilityToggleIcon,l=a.styles,c=n(a,["size","visibilityToggleIcon","styles"]),m=s||function(e){var n=e.reveal,a=e.size;return n?t.createElement("img",{src:y,width:a}):t.createElement("img",{src:b,width:a})};return t.createElement(u,e({ref:o,size:r,visibilityToggleIcon:m,styles:e({rightSection:{pointerEvents:"initial"}},l)},c,{className:"input-control ".concat((null==c?void 0:c.className)||"")}))})),C=function(i){var r=i.value,s=i.onChange,l=i.onChangeRaw,u=n(i,["value","onChange","onChangeRaw"]),c=a(r||""),d=c[0],p=c[1],g=f(d,300)[0];return o((function(){null==s||s(g)}),[g]),o((function(){p(r)}),[r]),t.createElement(m,e({size:"md",onChange:function(e){null==l||l(e),p(e.currentTarget.value)},value:d},u,{className:"input-control ".concat((null==u?void 0:u.className)||"")}))};C.File=function(n){return t.createElement(s,e({size:"md"},n))},C.Password=w,C.Number=function(i){var r=i.value,s=i.onChange,u=n(i,["value","onChange"]),c=a(r),m=c[0],d=c[1],p=f(m,300)[0];return o((function(){null==s||s(p)}),[p]),o((function(){d(r)}),[r]),t.createElement(l,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:d,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:m},u))},C.Wrapper=c.Wrapper;export{v as D,C as I,w as P,p as a,g as c,h as e};
@@ -1 +1 @@
1
- import{c as e,_ as a}from"./tslib.es6-4a16ba47.js";import t,{useMemo as n}from"react";import{S as s,L as i,a as o,b as l,c as r}from"./index.styled-1bd3268a.js";var c=function(c){var m=c.name,d=c.value,u=c.errorMessage,p=c.isNumerousKeyboard,b=void 0!==p&&p,v=c.actionIcon,y=c.displayIcon,C=c.onActionClick,g=c.label,N=c.className,E=c.onChange,h=c.isDisabled,I=c.CustomInput,f=c.size,k=c.style,A=c.autoComplete,K=void 0===A?"off":A,z=c.type,L=void 0===z?"text":z,x=c.inputClassName,H=c.trackingAttributes,M=c.enterKeyHint,j=e(c,["name","value","errorMessage","isNumerousKeyboard","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]),D=n((function(){return H?{"data-event-category":H.dataEventCategory,"data-event-action":H.dataEventAction,"data-event-label":H.dataEventLabel}:{}}),[H]);return t.createElement(s,{"data-size":f,className:N,"data-has-action-icon":!!v||void 0,"data-has-display-icon":!!y||void 0,"data-has-error":u&&u.length>0||void 0,style:k},g&&t.createElement(i,{size:"label2",htmlFor:m,className:"inputLabel"},g),t.createElement("div",{style:{position:"relative"}},I||t.createElement("input",a({id:m,name:m,onChange:function(e){return E&&E(e.target.value)},type:L,"aria-label":L,value:d,disabled:h,autoComplete:K,inputMode:b||"number"===L?"numeric":L,pattern:b?"[0-9]*":".*",className:x,enterKeyHint:M},D,j)),y&&t.createElement(o,{className:"displayIcon"},y),v&&t.createElement(l,{className:"actionIcon",onClick:C},v)),u&&u.length>0&&t.createElement(r,{className:"errorLabel"},u))};export{c as I};
1
+ import{c as e,_ as a}from"./tslib.es6-d275d637.js";import t,{useMemo as n}from"react";import{S as s,L as i,a as o,b as l,c as r}from"./index.styled-9f9209e6.js";var c=function(c){var m=c.name,d=c.value,u=c.errorMessage,p=c.isNumerousKeyboard,v=void 0!==p&&p,y=c.actionIcon,b=c.displayIcon,C=c.onActionClick,g=c.label,N=c.className,E=c.onChange,f=c.isDisabled,h=c.CustomInput,I=c.size,k=c.style,A=c.autoComplete,K=void 0===A?"off":A,z=c.type,L=void 0===z?"text":z,x=c.inputClassName,H=c.trackingAttributes,M=c.enterKeyHint,j=e(c,["name","value","errorMessage","isNumerousKeyboard","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]),D=n((function(){return H?{"data-event-category":H.dataEventCategory,"data-event-action":H.dataEventAction,"data-event-label":H.dataEventLabel}:{}}),[H]);return t.createElement(s,{"data-size":I,className:N,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!b||void 0,"data-has-error":u&&u.length>0||void 0,style:k},g&&t.createElement(i,{size:"label2",htmlFor:m,className:"inputLabel"},g),t.createElement("div",{style:{position:"relative"}},h||t.createElement("input",a({id:m,name:m,onChange:function(e){return E&&E(e.target.value)},type:L,"aria-label":L,value:d,disabled:f,autoComplete:K,inputMode:v||"number"===L?"numeric":L,pattern:v?"[0-9]*":".*",className:x,enterKeyHint:M},D,j)),b&&t.createElement(o,{className:"displayIcon"},b),y&&t.createElement(l,{className:"actionIcon",onClick:C},y)),u&&u.length>0&&t.createElement(r,{className:"errorLabel"},u))};export{c as I};
@@ -1 +1 @@
1
- import{c as e,_ as n}from"./tslib.es6-4a16ba47.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as a}from"@mantine/hooks";var u=d.Slide,s=l({}),p=function(e,n){return e>=n?e-n:e},f=function(l){var i=l.children,u=l.blurFromCenter,f=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=a(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=u?f+h-1:c,a=l+d,s=a===t?0:a>t?a-t:a,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return p(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===p(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};f.Slide=function(l){var d=l.children,a=l.onClick,p=e(l,["children","onClick"]),f=i(s),v=f.slider,h=f.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(u,n({},y,p),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==a||a(g)}},d))};export{f as C};
1
+ import{c as e,_ as n}from"./tslib.es6-d275d637.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";var a=d.Slide,s=l({}),p=function(e,n){return e>=n?e-n:e},f=function(l){var i=l.children,a=l.blurFromCenter,f=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,g=l.selectSlideWhenClick,b=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?f+h-1:c,u=l+d,s=u===t?0:u>t?u-t:u,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return p(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===p(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:g}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,b,{loop:!0}),"function"==typeof i?i(F):i))};f.Slide=function(l){var d=l.children,u=l.onClick,p=e(l,["children","onClick"]),f=i(s),v=f.slider,h=f.selectSlideWhenClick,m=t(),x=t(""),S=o(0),g=S[0],b=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];b(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":g,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(a,n({},y,p),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(g)),null==u||u(g)}},d))};export{f as C};
@@ -0,0 +1 @@
1
+ import{_ as e,b as t,d as i,e as o}from"./tslib.es6-d275d637.js";import n,{useState as r,useEffect as a,createContext as l,useContext as s}from"react";import{S as u}from"./FullScreen-81eac7dd.js";import{M as d}from"./utils-f4f05442.js";import c from"styled-components";import{g as m}from"./cookieHelper-fdc32c85.js";import p from"slugify";import _ from"string-format";var v,g,h={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},E=function(t){var i=t.type,o=void 0===i?"square":i,l=t.size,s=t.avatarImg,d=t.avatarUrl,c=t.firstLetter,m=t.backgroundColor,p=t.onClick,_=t.style,v=t.className,g=t.width,E=t.height,T=l?h[l]:void 0,f=r(!1),b=f[0],y=f[1];a((function(){if(d){var e=document.createElement("img");e.setAttribute("src",d),e.addEventListener("error",(function(){y(!0)}))}}),[d,y]);var A=(!d&&!s||b)&&c;return n.createElement(u,{style:e(e({},_),{"--size":T?T+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":E?E+"px":void 0,"--background-color":m}),"data-has-max":!(!g||!E),"data-avatar-type":o,onClick:p,className:v,avatarUrl:d,"data-custom-size":!!l},s,d&&!b&&n.createElement("img",{src:d}),A&&c)},T=c.div(v||(v=t(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\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='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\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='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),d.mbDown,d.mbDown,d.mbUp),f=c.div(g||(g=t(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),b=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,r=e.isOpen,a=void 0===r||r,l=e.onClose,s=e.children,u=e.className,d=void 0===u?"":u,c=e.enableAnimation,m=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(T,{"data-open":a,"data-type":i,"data-animation":m},n.createElement("div",{className:"".concat(d||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),s)),n.createElement(f,{"data-open":a,onClick:l}))},y="DD/MM/YYYY",A="/images/avatar.jpg",w="/images/default-image.jpg",O={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},I={"id-ID":{"kalkulator-bmi":O.BMI,"kebutuhan-kalori":O.BMR,"kalkulator-hari-perkiraan-lahir":O.DUE_DATE,"kalkulator-masa-subur-2":O.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":O.PWG,"kalkulator-detak-jantung-saat-olahraga":O.THR},"ms-MY":{"kalkulator-bmi":O.BMI,"kalkulator-bmr":O.BMR,"kalkulator-tarikh-bersalin":O.DUE_DATE,"kalkulator-kesuburan":O.OVULATION,"kalkulator-tambah-berat-badan-hamil":O.PWG,"target-heart-rate-calculator":O.THR},"vi-VN":{"cach-tinh-chi-so-bmi":O.BMI,"tinh-chi-so-bmr":O.BMR,"cong-cu-tinh-ngay-du-sinh":O.DUE_DATE,"tinh-ngay-rung-trung":O.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":O.PWG,"cong-cu-do-nhip-tim":O.THR},"zh-TW":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"en-PH":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":O.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":O.BMR,"เครื่องมือคำนวณกำหนดคลอด":O.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":O.OVULATION,"เครื่องคำนวณน้ำหนักตัว":O.PWG,"เครื่องวัดอัตราการเต้น":O.THR},"hi-IN":{"bmi-calculator-en":O.BMI,"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"delivery-date-calculator":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnancy-weight-gain-calculator":O.PWG,"target-heart-rate-calculator":O.THR},"km-KH":{"គណនា-bmi":O.BMI,"គណនា-bmr":O.BMR,"គណនាថ្ងៃសម្រាលកូន":O.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":O.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":O.PWG,"គណនារកចង្វាក់បេះដូងល្អ":O.THR},"my-MM":{"bmi-calculator":O.BMI,"bmr-calculator":O.BMR,"due-date-calendar":O.DUE_DATE,"ovulation-calculator":O.OVULATION,"pregnaancy-weight-calculator":O.PWG,"target-heartrate":O.THR,"pregnancy-weight-calculator":O.PWG,"target-heart-rate":O.THR}},L="hhg_user_token",S="together_admin_token",R={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},k={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},P=20,C={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},D=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:y,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:w,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:O,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:S,Z_INDEX:R,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:k,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:C}),x=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},N=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},G=function(t){var i,o,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?U(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:x(t.author),reviewer:t.reviewed_by&&x(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e(e({},null==t?void 0:t.reviewed),{author:M(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.author),editor:M(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.editor),expert:M(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:M(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:H(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(H),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:N(t.expert),metaTag:t.meta_tag||null}:{}},M=function(t){return void 0!==t&&t?e(e({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},U=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},B=function(e){return{postTitle:e.post_title,permalink:e.permalink}},H=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?U(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return H(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?B(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return F(e)})):null}:{}},F=function(e){return{title:e.title,content:e.content}},V=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},K=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},Y=function(e){var t,i,o,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},j=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(_=e.user)||void 0===_?void 0:_.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(T=e.user)||void 0===T?void 0:T.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0}:{}},W=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},z=function(e){var t,i,o,n,r,a,l,s,u,d,c,m,p,_,v,g,h,E,T,f,b,y,A,w,O,I,L,S,R,k,P,C;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(z):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(_=e.user)||void 0===_?void 0:_.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(T=e.mentioned)||void 0===T?void 0:T.name)||"",role:(null===(f=e.mentioned)||void 0===f?void 0:f.role)?null===(y=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===y?void 0:y.toLowerCase():"",avatar:(null===(A=e.mentioned)||void 0===A?void 0:A.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id):"",title:(null===(C=e.mentioned)||void 0===C?void 0:C.title)||""}:null,mentions:e.mentions||[]}:{}},X=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},q=Object.freeze({__proto__:null,formatAuthor:x,formatArticleExpert:N,formatArticle:G,formatUserProfile:M,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:U,formatReviewedCategory:B,formatCategory:H,formatCategoryApi:function(e){return e?{categoryInfo:H(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(G),subCategories:(e.data.sub_categories||[]).map(H)}:{}},formatFaqsCategory:F,formatHealthTool:V,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return V(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:K,formatTopic:Y,formatPost:j,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:W,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:z,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?M(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:X,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?M(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:X(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),$=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ee,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=ie(s,o)}n=a+1}return i},Z=function(e,t,i){var o=i||{},n=o.encode||te;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!Q.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!Q.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!Q.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!Q.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===J.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},J=Object.prototype.toString,Q=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ee(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function te(e){return encodeURIComponent(e)}function ie(e,t){try{return t(e)}catch(t){return e}}var oe={parse:$,serialize:Z},ne={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},re={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},le={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},se={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ue=l({data:se,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),de=se,ce=function(e){var t=e.locale,i=void 0===t?"vi-VN":t,o=e.children,l=e.userInfo,s=e.router,u=e.env,d=void 0===u?{isMarryBaby:!1,togetherBasePath:"/community"}:u,c=e.sanitizeFunction,m=void 0===c?function(e){return e}:c,p=e.pushNotifications,_=void 0===p?function(){return!1}:p,v=r(),g=v[0],h=v[1];return de={userInfo:l,locale:i,togetherUserId:g,router:s,env:d},a((function(){(null==l?void 0:l.id)&&we(Ee(ne.PROFILE,{_locale:i}),"GET").then((function(e){var t;h(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),n.createElement(ue.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:g,router:s,env:d},action:{pushNotifications:_,sanitizeFunction:m}}},o)},me={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},pe={"vi-VN":"marrybaby.vn"},_e=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",ve=function(e){var t=de.env.isMarryBaby;return"https://".concat(t?pe[e]:me[e])},ge=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},he=function(e){var t=de.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(me[e])},Ee=function(t,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null==de?void 0:de.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=_(t,e(e({},(null==i?void 0:i._locale)?{website_url:ve(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ge(l)},Te=function(t,i){var o=((null==de?void 0:de.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+ge(_(t,e({},i)))},fe=function(t,i){var o=((null==de?void 0:de.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+ge(_(t,e({},i)))},be=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},ye=function(t,n,r,a){return void 0===a&&(a=!1),i(void 0,void 0,void 0,(function(){var i,l,s,u,d;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,fetch(a?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e(e({method:n},be(r)),{headers:e({},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 1:return(i=o.sent())?[2,i]:[3,3];case 2:return l=o.sent(),console.log(l),console.log({url:t,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.statusText}),[2,(null===(d=null==l?void 0:l.response)||void 0===d?void 0:d.data)||null];case 3:return[2,null]}var c}))}))},Ae=function(t,n,r,a){return void 0===n&&(n="GET"),i(void 0,void 0,void 0,(function(){var i,l,s,u,d,c,p,_,v,g,h,E,T,f;return o(this,(function(o){switch(o.label){case 0:if(o.trys.push([0,7,,8]),i="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=oe.parse(a||""),u=s[L],!(d=u||m(L))||!d.length)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch(i,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+d},null==r?void 0:r.headers)})).then((function(e){return e.json()}))];case 2:return c=o.sent(),(null===(v=null==c?void 0:c.messages)||void 0===v?void 0:v.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,ye(l||i,n,r)]:c?[2,c]:[3,4];case 3:return p=o.sent(),console.log({status:null===(g=null==p?void 0:p.response)||void 0===g?void 0:g.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,ye(l||i,n,r)];case 4:return[3,6];case 5:return[2,ye(l||i,n,r)];case 6:return[3,8];case 7:return _=o.sent(),console.log({status:null===(E=null==_?void 0:_.response)||void 0===E?void 0:E.status,statusText:null===(T=null==_?void 0:_.response)||void 0===T?void 0:T.statusText}),[2,(null===(f=null==_?void 0:_.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},we=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=oe.parse(a||""),l=i[L],(s=l||m(L))&&s.length?[4,fetch(t,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))},Oe=function(t,n,r,a){return i(void 0,void 0,void 0,(function(){var i,l,s,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),i=oe.parse(a||""),l=i[S],(s=l||m(S))&&s.length?[4,fetch(t,e(e({method:n},be(r)),{headers:e({Authorization:"Bearer "+s},null==r?void 0:r.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=o.sent())return[2,u];o.label=2;case 2:return[3,4];case 3:return o.sent(),[2,null];case 4:return[2,null]}}))}))};function Ie(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var Le,Se=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=de.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){Ie(o,e,t[e])})),Ie(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},Re=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(p(e||"",{lower:!0,locale:o||_e}),"-").concat(t)},ke=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=C[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(Re(i,o))},Pe=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=C[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(Re(i,o,n))},Ce=c.div(Le||(Le=t(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\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: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\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: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink})),De=function(e){var t=e.className,i=e.isMarryBaby,o=e.style,l=e.avatar,u=e.username,d=s(ue).data.env.isMarryBaby,c="boolean"==typeof i?i:d,m=r(!1),p=m[0],_=m[1];return a((function(){var e=new Image;e.onerror=function(){_(!0)},e.src=l}),[]),n.createElement(Ce,{"data-is-marrybaby":c,className:t,style:o},l&&!p?n.createElement("img",{loading:"lazy",src:l,className:"avatar",alt:"avatar",onError:function(){_(!0)}}):n.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{E as A,L as B,re as C,se as D,z as E,Ae as F,de as G,O as H,P as M,b as P,k as R,ue as T,De as U,R as Z,ce as a,y as b,D as c,q as d,W as e,X as f,pe as g,K as h,j as i,Se as j,w as k,ye as l,Ee as m,ne as n,he as o,fe as p,me as q,Pe as r,ke as s,Te as t,ae as u,A as v,le as w,Oe as x,we as y,Y as z};