@hhgtech/hhg-components 1.27.80 → 1.27.81

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 (298) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care/api/paths.d.ts +1 -0
  4. package/build/care/components/organisms/bookingSearchBarV2/reducer.d.ts +7 -2
  5. package/build/care/components/organisms/bookingSearchBarV2/searchTag/index.d.ts +16 -2
  6. package/build/care/components/organisms/bookingSearchBarV2/searchTag/index.styled.d.ts +1 -0
  7. package/build/care/components/organisms/bookingSearchBarV2/types.d.ts +5 -0
  8. package/build/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -0
  9. package/build/care/interfaces/types.d.ts +14 -0
  10. package/build/care.js +1 -1
  11. package/build/components.js +1 -1
  12. package/build/constants.js +1 -1
  13. package/build/{core-ed3c3eae.js → core-4dfcaba2.js} +1 -1
  14. package/build/{dataTransform-2507d7ba.js → dataTransform-f09d04a1.js} +1 -1
  15. package/build/ecom.js +1 -1
  16. package/build/esm/babyGrowth.js +4 -4
  17. package/build/esm/cache.js +1 -1
  18. package/build/esm/care/api/paths.d.ts +1 -0
  19. package/build/esm/care/components/organisms/bookingSearchBarV2/reducer.d.ts +7 -2
  20. package/build/esm/care/components/organisms/bookingSearchBarV2/searchTag/index.d.ts +16 -2
  21. package/build/esm/care/components/organisms/bookingSearchBarV2/searchTag/index.styled.d.ts +1 -0
  22. package/build/esm/care/components/organisms/bookingSearchBarV2/types.d.ts +5 -0
  23. package/build/esm/care/components/organisms/bookingSearchBarV2/useSearchBarApi.d.ts +1 -0
  24. package/build/esm/care/interfaces/types.d.ts +14 -0
  25. package/build/esm/care.js +1 -1
  26. package/build/esm/components.js +1 -1
  27. package/build/esm/constants.js +1 -1
  28. package/build/esm/{core-ebbc89fe.js → core-1e91316f.js} +1 -1
  29. package/build/esm/{dataTransform-245daba3.js → dataTransform-b78e8561.js} +1 -1
  30. package/build/esm/ecom.js +1 -1
  31. package/build/esm/{fixedBottomAdBlock-0fe4f3db.js → fixedBottomAdBlock-f5f40015.js} +1 -1
  32. package/build/esm/footer.js +1 -1
  33. package/build/esm/gAssets.js +1 -1
  34. package/build/esm/getDynamicHealthTool-e3f9f9ad.js +1 -0
  35. package/build/esm/{getSocialList-f9f7ff33.js → getSocialList-bc2779bc.js} +1 -1
  36. package/build/esm/hooks.js +1 -1
  37. package/build/esm/i18n/translationKeys.d.ts +1 -1
  38. package/build/esm/i18n-values/en-PH.js +1 -1
  39. package/build/esm/i18n-values/hi-IN.js +1 -1
  40. package/build/esm/i18n-values/id-ID.js +1 -1
  41. package/build/esm/i18n-values/km-KH.js +1 -1
  42. package/build/esm/i18n-values/ms-MY.js +1 -1
  43. package/build/esm/i18n-values/my-MM.js +1 -1
  44. package/build/esm/i18n-values/th-TH.js +1 -1
  45. package/build/esm/i18n-values/tl-PH.js +1 -1
  46. package/build/esm/i18n-values/vi-VN.js +1 -1
  47. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  48. package/build/esm/i18n-values/zh-TW.js +1 -1
  49. package/build/esm/i18n.js +1 -1
  50. package/build/esm/i18nV2.js +1 -1
  51. package/build/esm/{index-2622672d.js → index-0a52bf51.js} +1 -1
  52. package/build/esm/{index-d671ac3c.js → index-126310ad.js} +1 -1
  53. package/build/esm/{index-c126b1e9.js → index-17fa2676.js} +1 -1
  54. package/build/esm/{index-548b9603.js → index-1a0776b8.js} +1 -1
  55. package/build/esm/index-20ace6ea.js +1 -0
  56. package/build/esm/{index-971b6660.js → index-40734088.js} +1 -1
  57. package/build/esm/{index-c7064d04.js → index-46d948d8.js} +1 -1
  58. package/build/esm/{index-abfa12bd.js → index-4dcafc59.js} +1 -1
  59. package/build/esm/{index-e7a3d796.js → index-4fd357f7.js} +1 -1
  60. package/build/esm/{index-0619ee9f.js → index-61fa790d.js} +1 -1
  61. package/build/esm/{index-b5d87c62.js → index-6379799f.js} +2 -2
  62. package/build/esm/{index-bd6a4ca0.js → index-982bf4b1.js} +1 -1
  63. package/build/esm/index-a881921b.js +1 -0
  64. package/build/esm/{index-635f7e1e.js → index-a8e48a82.js} +4 -4
  65. package/build/esm/{index-af288c07.js → index-ab9cd3fe.js} +2 -2
  66. package/build/esm/{index-f935423b.js → index-bf878f26.js} +1 -1
  67. package/build/esm/{index-c1a317b2.js → index-d4cb12b8.js} +1 -1
  68. package/build/esm/{index-820ae7d8.js → index-e44a679a.js} +1 -1
  69. package/build/esm/index-e6065f28.js +1 -0
  70. package/build/esm/{index-ee126b98.js → index-ec367f8f.js} +1 -1
  71. package/build/esm/{index-3424374c.js → index-f713598c.js} +2 -2
  72. package/build/esm/index.js +1 -1
  73. package/build/esm/{index.styled-1a30c95e.js → index.styled-0ed8ed9c.js} +4 -4
  74. package/build/esm/{index.styled-069c7b3e.js → index.styled-93e3a705.js} +2 -2
  75. package/build/esm/{index.styled-2b748a10.js → index.styled-957d60bc.js} +9 -9
  76. package/build/esm/lead.js +1 -1
  77. package/build/esm/mantine.js +1 -1
  78. package/build/esm/misc.js +1 -1
  79. package/build/esm/navigation.js +1 -1
  80. package/build/esm/onboarding.js +1 -1
  81. package/build/esm/onboardingV2.js +1 -1
  82. package/build/esm/{paths-d31c2d36.js → paths-eeb39298.js} +1 -1
  83. package/build/esm/pwg.js +5 -5
  84. package/build/esm/{routing-64398360.js → routing-6a04122b.js} +1 -1
  85. package/build/esm/together.js +1 -1
  86. package/build/esm/{types-736a9d35.js → types-e40f5053.js} +36 -29
  87. package/build/esm/{types-0fb719e4.js → types-f2c9883a.js} +1 -1
  88. package/build/esm/types.js +1 -1
  89. package/build/esm/useHealthToolCache-628f1882.js +1 -0
  90. package/build/esm/{useRafState-8571953c.js → useRafState-698aee2e.js} +1 -1
  91. package/build/esm/{useTranslations-e20dad0f.js → useTranslations-066a0f88.js} +1 -1
  92. package/build/esm/{utils-413e1d43.js → utils-1bfcfe96.js} +1 -1
  93. package/build/esm/{utils-11d4f935.js → utils-c1b716a1.js} +1 -1
  94. package/build/esm/vaccination.js +5 -5
  95. package/build/{fixedBottomAdBlock-d3de008e.js → fixedBottomAdBlock-d4a1e001.js} +1 -1
  96. package/build/footer.js +1 -1
  97. package/build/gAssets.js +1 -1
  98. package/build/{getDynamicHealthTool-25528444.js → getDynamicHealthTool-1f78dcfa.js} +1 -1
  99. package/build/{getSocialList-b0869130.js → getSocialList-45e84715.js} +1 -1
  100. package/build/hooks.js +1 -1
  101. package/build/i18n/translationKeys.d.ts +1 -1
  102. package/build/i18n-values/en-PH.js +1 -1
  103. package/build/i18n-values/hi-IN.js +1 -1
  104. package/build/i18n-values/id-ID.js +1 -1
  105. package/build/i18n-values/km-KH.js +1 -1
  106. package/build/i18n-values/ms-MY.js +1 -1
  107. package/build/i18n-values/my-MM.js +1 -1
  108. package/build/i18n-values/th-TH.js +1 -1
  109. package/build/i18n-values/tl-PH.js +1 -1
  110. package/build/i18n-values/vi-VN.js +1 -1
  111. package/build/i18n-values/vi-VN_MB.js +1 -1
  112. package/build/i18n-values/zh-TW.js +1 -1
  113. package/build/i18n.js +1 -1
  114. package/build/i18nV2.js +1 -1
  115. package/build/{index-c5630579.js → index-091f1584.js} +1 -1
  116. package/build/{index-3aac21b3.js → index-106a878a.js} +1 -1
  117. package/build/{index-f9ca5746.js → index-18071c0f.js} +1 -1
  118. package/build/{index-5d64a675.js → index-1f883f80.js} +1 -1
  119. package/build/{index-0d13aa46.js → index-20448f00.js} +1 -1
  120. package/build/{index-16c96a09.js → index-2e3b19ad.js} +1 -1
  121. package/build/{index-3e54d932.js → index-36448a05.js} +1 -1
  122. package/build/{index-074e70aa.js → index-373fa759.js} +1 -1
  123. package/build/{index-4f42d12d.js → index-4322bbe3.js} +1 -1
  124. package/build/{index-6ff50451.js → index-474968d0.js} +1 -1
  125. package/build/{index-f8b90552.js → index-5249f720.js} +1 -1
  126. package/build/{index-730aeb54.js → index-57461bf1.js} +1 -1
  127. package/build/{index-0f9e194c.js → index-86f1b0cb.js} +1 -1
  128. package/build/{index-3e109b04.js → index-8a3699a1.js} +1 -1
  129. package/build/{index-97d638d0.js → index-9710f8f5.js} +1 -1
  130. package/build/{index-cf16038c.js → index-aaf65645.js} +1 -1
  131. package/build/index-bbbd4335.js +1 -0
  132. package/build/{index-46f96643.js → index-c44297c4.js} +1 -1
  133. package/build/{index-bdffb183.js → index-e11b4a6e.js} +1 -1
  134. package/build/index-ee7c5e79.js +1 -0
  135. package/build/{index-03aa06b2.js → index-ef6bf086.js} +11 -11
  136. package/build/index.js +1 -1
  137. package/build/{index.styled-344cd3a8.js → index.styled-0d824dba.js} +1 -1
  138. package/build/{index.styled-587204e5.js → index.styled-164da4b3.js} +5 -5
  139. package/build/{index.styled-a831a91c.js → index.styled-c454c03d.js} +1 -1
  140. package/build/lead.js +1 -1
  141. package/build/mantine.js +1 -1
  142. package/build/misc.js +1 -1
  143. package/build/navigation.js +1 -1
  144. package/build/onboarding.js +1 -1
  145. package/build/onboardingV2.js +1 -1
  146. package/build/{paths-eaaffadc.js → paths-98041f14.js} +1 -1
  147. package/build/pwg.js +1 -1
  148. package/build/{routing-b3839414.js → routing-4cb17746.js} +1 -1
  149. package/build/together.js +1 -1
  150. package/build/{types-0d6c8d14.js → types-59f4cf30.js} +1 -1
  151. package/build/{types-2b02bbc6.js → types-a1dd6e7b.js} +19 -12
  152. package/build/types.js +1 -1
  153. package/build/{useHealthToolCache-19ce509d.js → useHealthToolCache-e9e39abb.js} +1 -1
  154. package/build/{useRafState-ffdfc3d6.js → useRafState-4973fd36.js} +1 -1
  155. package/build/{useTranslations-d039f955.js → useTranslations-4b98992e.js} +1 -1
  156. package/build/{utils-88cf5b1a.js → utils-8f5e4234.js} +1 -1
  157. package/build/{utils-665e255f.js → utils-95f15c1f.js} +1 -1
  158. package/build/vaccination.js +1 -1
  159. package/package.json +1 -1
  160. package/build/esm/getDynamicHealthTool-f974ef80.js +0 -1
  161. package/build/esm/index-0ca7274b.js +0 -1
  162. package/build/esm/index-6776c88d.js +0 -1
  163. package/build/esm/index-6d6b668d.js +0 -1
  164. package/build/esm/useHealthToolCache-cdf0a7fc.js +0 -1
  165. package/build/index-3865fa65.js +0 -1
  166. package/build/index-50af89b5.js +0 -1
  167. /package/build/{BMI_BOYS.percentile.monthly-d1bedd10.js → BMI_BOYS.percentile.monthly-e5028e59.js} +0 -0
  168. /package/build/{BMI_BOYS.percentile.weekly-bdde16c1.js → BMI_BOYS.percentile.weekly-9f9cba82.js} +0 -0
  169. /package/build/{BMI_BOYS.percentile.yearly-0928a0ac.js → BMI_BOYS.percentile.yearly-6293b5a4.js} +0 -0
  170. /package/build/{BMI_BOYS.zscore.monthly-976ca2f8.js → BMI_BOYS.zscore.monthly-50e01f2f.js} +0 -0
  171. /package/build/{BMI_BOYS.zscore.weekly-0b769177.js → BMI_BOYS.zscore.weekly-b348f655.js} +0 -0
  172. /package/build/{BMI_BOYS.zscore.yearly-c4945e50.js → BMI_BOYS.zscore.yearly-9407703a.js} +0 -0
  173. /package/build/{BMI_GIRLS.percentile.monthly-702d07e8.js → BMI_GIRLS.percentile.monthly-a721cca3.js} +0 -0
  174. /package/build/{BMI_GIRLS.percentile.weekly-caaf31eb.js → BMI_GIRLS.percentile.weekly-e14dd90a.js} +0 -0
  175. /package/build/{BMI_GIRLS.percentile.yearly-a2126557.js → BMI_GIRLS.percentile.yearly-55634d7e.js} +0 -0
  176. /package/build/{BMI_GIRLS.zscore.monthly-dba690c5.js → BMI_GIRLS.zscore.monthly-386ea09a.js} +0 -0
  177. /package/build/{BMI_GIRLS.zscore.weekly-62a96ad2.js → BMI_GIRLS.zscore.weekly-f1c2a599.js} +0 -0
  178. /package/build/{BMI_GIRLS.zscore.yearly-d0ea743b.js → BMI_GIRLS.zscore.yearly-1aff2de2.js} +0 -0
  179. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-52bd4838.js → HEAD CIRCUM_BOYS.percentile.monthly-6936932a.js} +0 -0
  180. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f9bf1df4.js → HEAD CIRCUM_BOYS.percentile.weekly-848d261c.js} +0 -0
  181. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-033fc3af.js → HEAD CIRCUM_BOYS.percentile.yearly-6dcc5575.js} +0 -0
  182. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9485cf42.js → HEAD CIRCUM_BOYS.zscore.monthly-36fb634c.js} +0 -0
  183. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c931e51f.js → HEAD CIRCUM_BOYS.zscore.weekly-752ed2dd.js} +0 -0
  184. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-592e506b.js → HEAD CIRCUM_BOYS.zscore.yearly-b05c4e2a.js} +0 -0
  185. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e36d57a8.js → HEAD CIRCUM_GIRLS.percentile.monthly-2d4ebf1a.js} +0 -0
  186. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-aafab66b.js → HEAD CIRCUM_GIRLS.percentile.weekly-86cfd088.js} +0 -0
  187. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0d36928a.js → HEAD CIRCUM_GIRLS.percentile.yearly-630b2e2e.js} +0 -0
  188. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-09d0c63b.js → HEAD CIRCUM_GIRLS.zscore.monthly-555b6e42.js} +0 -0
  189. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-206a4f2c.js → HEAD CIRCUM_GIRLS.zscore.weekly-76b9f7f4.js} +0 -0
  190. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-72ac9cfd.js → HEAD CIRCUM_GIRLS.zscore.yearly-d9d99869.js} +0 -0
  191. /package/build/{HEIGHT_BOYS.percentile.monthly-40176be1.js → HEIGHT_BOYS.percentile.monthly-109bc310.js} +0 -0
  192. /package/build/{HEIGHT_BOYS.percentile.weekly-4d3c5437.js → HEIGHT_BOYS.percentile.weekly-0eb6ca8e.js} +0 -0
  193. /package/build/{HEIGHT_BOYS.percentile.yearly-67a384bf.js → HEIGHT_BOYS.percentile.yearly-74eceae2.js} +0 -0
  194. /package/build/{HEIGHT_BOYS.zscore.monthly-d416002d.js → HEIGHT_BOYS.zscore.monthly-f5f1a4e9.js} +0 -0
  195. /package/build/{HEIGHT_BOYS.zscore.weekly-c8489b92.js → HEIGHT_BOYS.zscore.weekly-50069e1b.js} +0 -0
  196. /package/build/{HEIGHT_BOYS.zscore.yearly-8cde23cd.js → HEIGHT_BOYS.zscore.yearly-7d3970b5.js} +0 -0
  197. /package/build/{HEIGHT_GIRLS.percentile.monthly-a17307af.js → HEIGHT_GIRLS.percentile.monthly-cb87fd57.js} +0 -0
  198. /package/build/{HEIGHT_GIRLS.percentile.weekly-34f63d89.js → HEIGHT_GIRLS.percentile.weekly-d5b2dfdf.js} +0 -0
  199. /package/build/{HEIGHT_GIRLS.percentile.yearly-2ea4fd18.js → HEIGHT_GIRLS.percentile.yearly-99bad217.js} +0 -0
  200. /package/build/{HEIGHT_GIRLS.zscore.monthly-550b9ca7.js → HEIGHT_GIRLS.zscore.monthly-e05528a3.js} +0 -0
  201. /package/build/{HEIGHT_GIRLS.zscore.weekly-4fb13aaf.js → HEIGHT_GIRLS.zscore.weekly-c365628f.js} +0 -0
  202. /package/build/{HEIGHT_GIRLS.zscore.yearly-9dfa0858.js → HEIGHT_GIRLS.zscore.yearly-db577642.js} +0 -0
  203. /package/build/{Onboarding-98e23f45.js → Onboarding-34f35fb5.js} +0 -0
  204. /package/build/{Visible-17145c25.js → Visible-c6c14a38.js} +0 -0
  205. /package/build/{WEIGHT_BOYS.percentile.monthly-530164bc.js → WEIGHT_BOYS.percentile.monthly-44a75371.js} +0 -0
  206. /package/build/{WEIGHT_BOYS.percentile.weekly-a525c536.js → WEIGHT_BOYS.percentile.weekly-b390247a.js} +0 -0
  207. /package/build/{WEIGHT_BOYS.percentile.yearly-3e362585.js → WEIGHT_BOYS.percentile.yearly-356aaf15.js} +0 -0
  208. /package/build/{WEIGHT_BOYS.zscore.monthly-e3ec9f42.js → WEIGHT_BOYS.zscore.monthly-e7d7f318.js} +0 -0
  209. /package/build/{WEIGHT_BOYS.zscore.weekly-ec9929ba.js → WEIGHT_BOYS.zscore.weekly-8430f4c9.js} +0 -0
  210. /package/build/{WEIGHT_BOYS.zscore.yearly-970dc3e1.js → WEIGHT_BOYS.zscore.yearly-ba47b23e.js} +0 -0
  211. /package/build/{WEIGHT_GIRLS.percentile.monthly-b6c8e519.js → WEIGHT_GIRLS.percentile.monthly-c7017a33.js} +0 -0
  212. /package/build/{WEIGHT_GIRLS.percentile.weekly-764d49bd.js → WEIGHT_GIRLS.percentile.weekly-80fec971.js} +0 -0
  213. /package/build/{WEIGHT_GIRLS.percentile.yearly-6bf1706d.js → WEIGHT_GIRLS.percentile.yearly-c2513ed7.js} +0 -0
  214. /package/build/{WEIGHT_GIRLS.zscore.monthly-c5616c28.js → WEIGHT_GIRLS.zscore.monthly-b7fa83a6.js} +0 -0
  215. /package/build/{WEIGHT_GIRLS.zscore.weekly-12cd9391.js → WEIGHT_GIRLS.zscore.weekly-56228c5e.js} +0 -0
  216. /package/build/{WEIGHT_GIRLS.zscore.yearly-500d5026.js → WEIGHT_GIRLS.zscore.yearly-0c3aea5a.js} +0 -0
  217. /package/build/{constants-474a8a4b.js → constants-3984d612.js} +0 -0
  218. /package/build/{cookieHelper-3ecc8b3a.js → cookieHelper-f295d483.js} +0 -0
  219. /package/build/{dataTransform-533e4a54.js → dataTransform-400cca46.js} +0 -0
  220. /package/build/esm/{BMI_BOYS.percentile.monthly-b8419a20.js → BMI_BOYS.percentile.monthly-b7d48322.js} +0 -0
  221. /package/build/esm/{BMI_BOYS.percentile.weekly-20166a43.js → BMI_BOYS.percentile.weekly-d2503b88.js} +0 -0
  222. /package/build/esm/{BMI_BOYS.percentile.yearly-3a7bcda7.js → BMI_BOYS.percentile.yearly-3813d181.js} +0 -0
  223. /package/build/esm/{BMI_BOYS.zscore.monthly-9b18d024.js → BMI_BOYS.zscore.monthly-5a70ab35.js} +0 -0
  224. /package/build/esm/{BMI_BOYS.zscore.weekly-674ea595.js → BMI_BOYS.zscore.weekly-abe03493.js} +0 -0
  225. /package/build/esm/{BMI_BOYS.zscore.yearly-771a2d31.js → BMI_BOYS.zscore.yearly-829e776e.js} +0 -0
  226. /package/build/esm/{BMI_GIRLS.percentile.monthly-92090c19.js → BMI_GIRLS.percentile.monthly-cdd6ecd0.js} +0 -0
  227. /package/build/esm/{BMI_GIRLS.percentile.weekly-c7b8a867.js → BMI_GIRLS.percentile.weekly-30c6a4e0.js} +0 -0
  228. /package/build/esm/{BMI_GIRLS.percentile.yearly-a647fee0.js → BMI_GIRLS.percentile.yearly-5e41747c.js} +0 -0
  229. /package/build/esm/{BMI_GIRLS.zscore.monthly-f10b828a.js → BMI_GIRLS.zscore.monthly-d5626db9.js} +0 -0
  230. /package/build/esm/{BMI_GIRLS.zscore.weekly-cd8c06b1.js → BMI_GIRLS.zscore.weekly-9cef0577.js} +0 -0
  231. /package/build/esm/{BMI_GIRLS.zscore.yearly-0b170ba8.js → BMI_GIRLS.zscore.yearly-b855e85f.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0fcf957a.js → HEAD CIRCUM_BOYS.percentile.monthly-6e4a05c8.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ec26b0a8.js → HEAD CIRCUM_BOYS.percentile.weekly-69e8eec4.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9a8375af.js → HEAD CIRCUM_BOYS.percentile.yearly-cfe768ac.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-77cc35ee.js → HEAD CIRCUM_BOYS.zscore.monthly-1e95bfe1.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6eb08daf.js → HEAD CIRCUM_BOYS.zscore.weekly-947a59af.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-79fcbaad.js → HEAD CIRCUM_BOYS.zscore.yearly-8352b238.js} +0 -0
  238. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-7a31971a.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c8902ad.js} +0 -0
  239. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8228b20d.js → HEAD CIRCUM_GIRLS.percentile.weekly-da0531c3.js} +0 -0
  240. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0a238df6.js → HEAD CIRCUM_GIRLS.percentile.yearly-bdd9635f.js} +0 -0
  241. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-85494b20.js → HEAD CIRCUM_GIRLS.zscore.monthly-3a5b6c13.js} +0 -0
  242. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-dc7917dd.js → HEAD CIRCUM_GIRLS.zscore.weekly-cd42c7c3.js} +0 -0
  243. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-dfe7730a.js → HEAD CIRCUM_GIRLS.zscore.yearly-08b7e4e0.js} +0 -0
  244. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c11a0840.js → HEIGHT_BOYS.percentile.monthly-97eb6ccb.js} +0 -0
  245. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-2802944a.js → HEIGHT_BOYS.percentile.weekly-5ed96e13.js} +0 -0
  246. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-32715691.js → HEIGHT_BOYS.percentile.yearly-57b2c4c3.js} +0 -0
  247. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-0a9c9856.js → HEIGHT_BOYS.zscore.monthly-7ae1c45c.js} +0 -0
  248. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-c7cac5c5.js → HEIGHT_BOYS.zscore.weekly-d7edd0b8.js} +0 -0
  249. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-24126e2d.js → HEIGHT_BOYS.zscore.yearly-0d77d7e5.js} +0 -0
  250. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-880560f2.js → HEIGHT_GIRLS.percentile.monthly-c3a12059.js} +0 -0
  251. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-eeebac2a.js → HEIGHT_GIRLS.percentile.weekly-cbfaa2b3.js} +0 -0
  252. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-30dfd3ae.js → HEIGHT_GIRLS.percentile.yearly-f21054d0.js} +0 -0
  253. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8b3a3860.js → HEIGHT_GIRLS.zscore.monthly-f841388d.js} +0 -0
  254. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9e032970.js → HEIGHT_GIRLS.zscore.weekly-f00caa57.js} +0 -0
  255. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-44744e81.js → HEIGHT_GIRLS.zscore.yearly-7d416444.js} +0 -0
  256. /package/build/esm/{Onboarding-d35e67b9.js → Onboarding-ee515ace.js} +0 -0
  257. /package/build/esm/{Visible-b12c90ed.js → Visible-94c3cf0b.js} +0 -0
  258. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8a6d24a5.js → WEIGHT_BOYS.percentile.monthly-269777aa.js} +0 -0
  259. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-890c9d86.js → WEIGHT_BOYS.percentile.weekly-fce722af.js} +0 -0
  260. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5e526089.js → WEIGHT_BOYS.percentile.yearly-5e0974c2.js} +0 -0
  261. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-86612229.js → WEIGHT_BOYS.zscore.monthly-9029629f.js} +0 -0
  262. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6857d017.js → WEIGHT_BOYS.zscore.weekly-08ac0c7c.js} +0 -0
  263. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-01b97547.js → WEIGHT_BOYS.zscore.yearly-0768d157.js} +0 -0
  264. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9c91d896.js → WEIGHT_GIRLS.percentile.monthly-64853dfd.js} +0 -0
  265. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-3468f33b.js → WEIGHT_GIRLS.percentile.weekly-14a0cfc9.js} +0 -0
  266. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-55ae2ca5.js → WEIGHT_GIRLS.percentile.yearly-92b032a0.js} +0 -0
  267. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-158b668e.js → WEIGHT_GIRLS.zscore.monthly-a3639e72.js} +0 -0
  268. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2f89c226.js → WEIGHT_GIRLS.zscore.weekly-030e7d3b.js} +0 -0
  269. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-1cc94164.js → WEIGHT_GIRLS.zscore.yearly-f20d2d53.js} +0 -0
  270. /package/build/esm/{constants-96faaa9b.js → constants-a3b3abcd.js} +0 -0
  271. /package/build/esm/{cookieHelper-cfe90368.js → cookieHelper-39d259c6.js} +0 -0
  272. /package/build/esm/{dataTransform-b1495139.js → dataTransform-9c31d067.js} +0 -0
  273. /package/build/esm/{index-dd47dfb7.js → index-472d1e31.js} +0 -0
  274. /package/build/esm/{isProduction-34a6c6ba.js → isProduction-467296eb.js} +0 -0
  275. /package/build/esm/{localizeNumberFormat-72a222c3.js → localizeNumberFormat-0c9a10de.js} +0 -0
  276. /package/build/esm/{normalizeLink-5f52c22e.js → normalizeLink-ccb18bcd.js} +0 -0
  277. /package/build/esm/{screenSizeContext-89147b3b.js → screenSizeContext-11b9f601.js} +0 -0
  278. /package/build/esm/{theme-93696046.js → theme-e8bef3f3.js} +0 -0
  279. /package/build/esm/{translationsContext-0b30bdbf.js → translationsContext-9cc0272d.js} +0 -0
  280. /package/build/esm/{tslib.es6-1a8e085c.js → tslib.es6-555d79f5.js} +0 -0
  281. /package/build/esm/{types-0d0edd0c.js → types-dd79175e.js} +0 -0
  282. /package/build/esm/{useIsInit-18ed59e7.js → useIsInit-0a8cd31e.js} +0 -0
  283. /package/build/esm/{useOutsideClick-0217b2d7.js → useOutsideClick-029ac6a7.js} +0 -0
  284. /package/build/esm/{useScrollbarSize-368da711.js → useScrollbarSize-b1d91fe0.js} +0 -0
  285. /package/build/esm/{useUniqueId-a2316bec.js → useUniqueId-a5c4fc3f.js} +0 -0
  286. /package/build/{index-d238a0a2.js → index-013e2df7.js} +0 -0
  287. /package/build/{isProduction-c1784ce4.js → isProduction-db520833.js} +0 -0
  288. /package/build/{localizeNumberFormat-8314b3e6.js → localizeNumberFormat-a7c37a52.js} +0 -0
  289. /package/build/{normalizeLink-d1313dfb.js → normalizeLink-01f8fb47.js} +0 -0
  290. /package/build/{screenSizeContext-e28bdb06.js → screenSizeContext-ba4400db.js} +0 -0
  291. /package/build/{theme-6f278bf1.js → theme-7b9eadbd.js} +0 -0
  292. /package/build/{translationsContext-8cd532eb.js → translationsContext-f65343d9.js} +0 -0
  293. /package/build/{tslib.es6-d541ada1.js → tslib.es6-a445271a.js} +0 -0
  294. /package/build/{types-6b71fb0a.js → types-9f151dc6.js} +0 -0
  295. /package/build/{useIsInit-7f0f843f.js → useIsInit-85bd7596.js} +0 -0
  296. /package/build/{useOutsideClick-b8a515bb.js → useOutsideClick-4f9a1881.js} +0 -0
  297. /package/build/{useScrollbarSize-dcd10bd4.js → useScrollbarSize-1684fe85.js} +0 -0
  298. /package/build/{useUniqueId-751fe654.js → useUniqueId-95cb1220.js} +0 -0
@@ -1 +1 @@
1
- import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-d35e67b9.js";import{i as c}from"./isProduction-34a6c6ba.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH","ms-MY"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
1
+ import{enUS as e,vi as o,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-ee515ace.js";import{i as c}from"./isProduction-467296eb.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH","ms-MY"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(e){e.bmi="mi",e.gender="gndr",e.age="ge",e.slug="slug",e.resultId="resultId",e.bmr="mr",e.height="gt",e.weight="wght",e.source="surc",e.type="tp",e.startDate="sd",e.additional="tnl",e.week="wk",e.twins="twn",e.weightBefore="wb",e.yourself="yrslf",e.intensity="sy",e.rate="rt",e.method="mthd",e.day="dy",e.pwg="pwg",e.cycle="le",e.period="prd",e.access_token="tkn",e.name="nm",e.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:e,[E.Vietnam]:o,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:e,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
@@ -0,0 +1 @@
1
+ import{_ as o}from"./tslib.es6-555d79f5.js";import t from"react";import{Indicator as e}from"@mantine/core";import"dayjs";import"./screenSizeContext-11b9f601.js";import"styled-components";import{t as s}from"./theme-e8bef3f3.js";import"./index-982bf4b1.js";import"./isProduction-467296eb.js";import"./Onboarding-ee515ace.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=s.colors.red700}=r,m=o(r,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},m))};export{r as I};
@@ -1,10 +1,10 @@
1
- import{_ as e}from"./tslib.es6-1a8e085c.js";import t,{useState as n,forwardRef as l,createContext as i,useContext as r,useRef as o,useEffect as a}from"react";import s from"styled-components";import{Carousel as c}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as p,useResizeObserver as h}from"@mantine/hooks";const u=l=>{var{alt:i,backupSrc:r,src:o,placeholderSrc:a,style:s,ref:c}=l,d=e(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=n(!1);return t.createElement(g,Object.assign({loading:"lazy",alt:i,onError:()=>!p&&h(!0),src:p?r||o:o||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},d))},g=s.img`
1
+ import{_ as e}from"./tslib.es6-555d79f5.js";import t,{useState as n,forwardRef as l,createContext as i,useContext as r,useRef as o,useEffect as a}from"react";import s from"styled-components";import{Carousel as c}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as p,useResizeObserver as h}from"@mantine/hooks";const u=l=>{var{alt:i,backupSrc:r,src:o,placeholderSrc:a,style:s,ref:c}=l,d=e(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=n(!1);return t.createElement(g,Object.assign({loading:"lazy",alt:i,onError:()=>!p&&h(!0),src:p?r||o:o||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},d))},g=s.img`
2
2
  &[data-has-placeholder='true'] {
3
3
  background-position: center;
4
4
  background-repeat: no-repeat;
5
5
  background-size: cover;
6
6
  }
7
- `,m=s((n=>{var{type:l}=n,i=e(n,["type"]);return t.createElement(l,i)}))`
7
+ `,f=s((n=>{var{type:l}=n,i=e(n,["type"]);return t.createElement(l,i)}))`
8
8
  color: var(--text-color, ${e=>e.theme.mbColors.dark});
9
9
  font-family: Krub;
10
10
  font-weight: 600;
@@ -26,7 +26,7 @@ import{_ as e}from"./tslib.es6-1a8e085c.js";import t,{useState as n,forwardRef a
26
26
  font-size: 18px;
27
27
  line-height: 32px;
28
28
  }
29
- `,f=s.p`
29
+ `,m=s.p`
30
30
  color: var(--text-color, ${e=>e.theme.mbColors.dark});
31
31
  letter-spacing: -0.2px;
32
32
 
@@ -72,4 +72,4 @@ import{_ as e}from"./tslib.es6-1a8e085c.js";import t,{useState as n,forwardRef a
72
72
  letter-spacing: -0.1px;
73
73
  line-height: 14px;
74
74
  }
75
- `,x=l((function(e,n){return t.createElement("circle",Object.assign({},e,{ref:n}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),v=c.Slide,y=i({}),b=(e,t)=>e>=t?e-t:e,S=l=>{var{children:i,blurFromCenter:r,blurFromIndex:s,blurLength:u=3,maxBlurOpacity:g=.5,onSlideChange:m,selectSlideWhenClick:f}=l,x=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=p(),[S]=h(),k=o(null),[C,z]=n(0),w=()=>{var e,t,n,l,i;const o=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==k?void 0:k.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return o.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const a=null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.selectedScrollSnap();z(a);const c=o.length,d=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,p=Math.floor(d/2),h=r?s+u-1:p,m=a+h,f=m===c?0:m>c?m-c:m,x=a-h,v=x<0?c+x:x>0?a-h:0,y=[...new Set(Array(2*h+1).fill("").map(((e,t)=>b(v+t,c))))];o.map(((e,t)=>{if(t===a?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==y.indexOf(t)){const i=g/u;for(let r=0;r<u;r++){if(t===b(v+r,c)||t===(l=c,(n=f-r)<0?l+n:n)){e.style.opacity=String((r+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,l}))},O={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{w(),null==m||m(e)}};a((()=>{(null==k?void 0:k.current)&&w()}),[v]);const E=d((()=>{var e,t;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==k?void 0:k.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:j}=E();return t.createElement(y.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:C,selectSlideWhenClick:f}},t.createElement(c,Object.assign({classNames:{control:j.control},ref:S,slideSize:"auto",containScroll:"trimSnaps"},O,x,{loop:!0}),"function"==typeof i?i(C):i))};S.Slide=l=>{var{children:i,onClick:s,innerSlideProps:c}=l,d=e(l,["children","onClick","innerSlideProps"]);const{slider:p,selectSlideWhenClick:h}=r(y),u=o(),g=o(""),[m,f]=n(0);a((()=>{g.current=String(Math.round(1e4*Math.random()))}),[]),a((()=>{const e=(null==p?void 0:p.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===g.current)))}),[p]);const x={ref:u,"data-key":g.current,"data-index":m};return t.createElement(v,Object.assign({},x,d),t.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==p||p.scrollTo(m)),null==s||s(m)}},c),i))};export{x as C,u as I,m as S,f as a,S as b};
75
+ `,x=l((function(e,n){return t.createElement("circle",Object.assign({},e,{ref:n}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),v=c.Slide,y=i({}),b=(e,t)=>e>=t?e-t:e,S=l=>{var{children:i,blurFromCenter:r,blurFromIndex:s,blurLength:u=3,maxBlurOpacity:g=.5,onSlideChange:f,selectSlideWhenClick:m}=l,x=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=p(),[S]=h(),k=o(null),[C,z]=n(0),w=()=>{var e,t,n,l,i;const o=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==k?void 0:k.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return o.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const a=null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.selectedScrollSnap();z(a);const c=o.length,d=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,p=Math.floor(d/2),h=r?s+u-1:p,f=a+h,m=f===c?0:f>c?f-c:f,x=a-h,v=x<0?c+x:x>0?a-h:0,y=[...new Set(Array(2*h+1).fill("").map(((e,t)=>b(v+t,c))))];o.map(((e,t)=>{if(t===a?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==y.indexOf(t)){const i=g/u;for(let r=0;r<u;r++){if(t===b(v+r,c)||t===(l=c,(n=m-r)<0?l+n:n)){e.style.opacity=String((r+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,l}))},O={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{w(),null==f||f(e)}};a((()=>{(null==k?void 0:k.current)&&w()}),[v]);const E=d((()=>{var e,t;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==k?void 0:k.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:j}=E();return t.createElement(y.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:C,selectSlideWhenClick:m}},t.createElement(c,Object.assign({classNames:{control:j.control},ref:S,slideSize:"auto",containScroll:"trimSnaps"},O,x,{loop:!0}),"function"==typeof i?i(C):i))};S.Slide=l=>{var{children:i,onClick:s,innerSlideProps:c}=l,d=e(l,["children","onClick","innerSlideProps"]);const{slider:p,selectSlideWhenClick:h}=r(y),u=o(),g=o(""),[f,m]=n(0);a((()=>{g.current=String(Math.round(1e4*Math.random()))}),[]),a((()=>{const e=(null==p?void 0:p.slideNodes())||[];m(e.findIndex((e=>e.dataset.key===g.current)))}),[p]);const x={ref:u,"data-key":g.current,"data-index":f};return t.createElement(v,Object.assign({},x,d),t.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==p||p.scrollTo(f)),null==s||s(f)}},c),i))};export{x as C,u as I,f as S,m as a,S as b};
@@ -1,4 +1,4 @@
1
- import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as n,M as l}from"./screenSizeContext-89147b3b.js";import{a2 as r,a3 as s,a4 as d,a5 as c,a6 as m,a7 as p,a0 as h}from"./utils-11d4f935.js";import{T as b}from"./index-c1a317b2.js";import u from"styled-components";import{u as g}from"./useTranslations-e20dad0f.js";import{G as x}from"./Onboarding-d35e67b9.js";import{I as y}from"./index-3424374c.js";import{M as f,a as C}from"./index-0ca7274b.js";import{t as v}from"./theme-93696046.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:l,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:u=!0,className:g})=>{const x=t();a((()=>(n(m),()=>n(!1))),[m]);const y=()=>{x.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:g,open:m},e.createElement(w,{open:m,onClickOutside:y}),e.createElement(d,{open:m,placement:p,ref:x,hasTitle:Boolean(l)},e.createElement("div",{className:"title"},l&&e.createElement(b,{size:"s2",type:"semiBold"},l),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:y},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{u&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:y}):null)))))},$=({value:t,options:a,className:i,direction:n="horizontal",onChange:l,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),l&&l(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(f,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(b,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(u.div`
1
+ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as n,M as l}from"./screenSizeContext-11b9f601.js";import{a2 as r,a3 as s,a4 as d,a5 as c,a6 as m,a7 as p,a0 as h}from"./utils-c1b716a1.js";import{T as b}from"./index-d4cb12b8.js";import u from"styled-components";import{u as g}from"./useTranslations-066a0f88.js";import{G as x}from"./Onboarding-ee515ace.js";import{I as f}from"./index-f713598c.js";import{M as y,a as C}from"./index-e6065f28.js";import{t as v}from"./theme-e8bef3f3.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:l,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:u=!0,className:g})=>{const x=t();a((()=>(n(m),()=>n(!1))),[m]);const f=()=>{x.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:g,open:m},e.createElement(w,{open:m,onClickOutside:f}),e.createElement(d,{open:m,placement:p,ref:x,hasTitle:Boolean(l)},e.createElement("div",{className:"title"},l&&e.createElement(b,{size:"s2",type:"semiBold"},l),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:f},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{u&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},$=({value:t,options:a,className:i,direction:n="horizontal",onChange:l,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),l&&l(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(y,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(b,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(u.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -174,4 +174,4 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
174
174
  .radio-group-item-heading {
175
175
  margin-top: 0;
176
176
  }
177
- `,L=({value:t,onChange:a,siteType:o})=>{const{t:i}=g(),n="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":n},n?e.createElement(C,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(b,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},i("babyVaccineTool.selectGender")),e.createElement(G,{siteType:o,options:[{value:x.Boy,label:i("gender.male"),content:n?e.createElement(y.BabyBoyMB,null):e.createElement(y.GenderChooseBoy,null)},{value:x.Girl,label:i("gender.female"),content:n?e.createElement(y.BabyGirlMB,null):e.createElement(y.GenderChooseGirl,null)}],value:t,onChange:a,className:"gender-selector"}))};export{L as B,E as D,$ as R,j as S,z as a,B as b};
177
+ `,L=({value:t,onChange:a,siteType:o})=>{const{t:i}=g(),n="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":n},n?e.createElement(C,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(b,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},i("babyVaccineTool.selectGender")),e.createElement(G,{siteType:o,options:[{value:x.Boy,label:i("gender.male"),content:n?e.createElement(f.BabyBoyMB,null):e.createElement(f.GenderChooseBoy,null)},{value:x.Girl,label:i("gender.female"),content:n?e.createElement(f.BabyGirlMB,null):e.createElement(f.GenderChooseGirl,null)}],value:t,onChange:a,className:"gender-selector"}))};export{L as B,E as D,$ as R,j as S,z as a,B as b};
@@ -1 +1 @@
1
- import{a as e}from"./tslib.es6-1a8e085c.js";import t,{useState as a,useEffect as l,useMemo as n,useRef as o,useContext as i,useCallback as s}from"react";import{g as r}from"./core-ebbc89fe.js";import{K as c,F as m,E as u,y as d,x as g,P as h,H as v}from"./utils-11d4f935.js";import{S as p,a as E,b as y,c as b,d as C,e as f,f as k,g as w,T as P,N,h as M,i as _,j as A,k as T,l as L,m as H,n as S,o as B,p as x,q as U,r as $,s as R,t as I,u as O,v as j,w as F,x as D,y as z,z as V,A as G,B as W,C as K,D as Y,E as q,F as Z,G as Q,H as J,I as X,J as ee,K as te,L as ae,M as le,O as ne,P as oe,Q as ie,R as se,V as re,W as ce,X as me,Y as ue,Z as de,_ as ge,$ as he,a0 as ve,a1 as pe,a2 as Ee,a3 as ye,a4 as be,a5 as Ce,a6 as fe,a7 as ke,a8 as we,a9 as Pe,aa as Ne,ab as Me,ac as _e,ad as Ae,ae as Te,af as Le,ag as He,ah as Se,ai as Be,aj as xe}from"./index.styled-2b748a10.js";import{T as Ue}from"./index-c1a317b2.js";import{CommonGAssets as $e}from"./gAssets.js";import{d as Re,L as Ie,S as Oe,U as je,T as Fe,C as De}from"./index-bd6a4ca0.js";import{n as ze,a as Ve}from"./normalizeLink-5f52c22e.js";import{c as Ge,b as We,d as Ke}from"./routing-64398360.js";import{P as Ye,b as qe,c as Ze}from"./dataTransform-245daba3.js";import{L as Qe}from"./index-d671ac3c.js";import{u as Je}from"./useTranslations-e20dad0f.js";import Xe from"lodash/throttle";import{j as et}from"./screenSizeContext-89147b3b.js";import{U as tt,C as at}from"./index-3424374c.js";import{L as lt}from"./Onboarding-d35e67b9.js";import{t as nt}from"./theme-93696046.js";import{g as ot}from"./cookieHelper-cfe90368.js";import{I as it}from"./index-635f7e1e.js";import{B as st}from"./index-820ae7d8.js";import{Portal as rt}from"@mantine/core";import"@mantine/dates";import"dayjs";import"styled-components";import"./isProduction-34a6c6ba.js";import"@mantine/hooks";import ct from"lodash/debounce";import{L as mt}from"./constants-96faaa9b.js";import ut from"string-format";import{a as dt}from"./useUniqueId-a2316bec.js";import{I as gt}from"./index-6d6b668d.js";import{u as ht}from"./useIsInit-18ed59e7.js";const vt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},pt=({type:e="square",size:n,avatarImg:o,avatarUrl:i,firstLetter:s,backgroundColor:r,onClick:m,style:u,className:d,width:g,height:h,alt:v})=>{const p=n?vt[n]:void 0,[E,y]=a(!1);l((()=>{if(i){const e=document.createElement("img");e.setAttribute("src",i),e.addEventListener("error",(()=>{y(!0)}))}}),[i,y]);const b=(!i&&!o||E)&&s;return t.createElement(c,{style:Object.assign(Object.assign({},u),{"--size":p?p+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":r}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:m,className:d,avatarUrl:i,"data-custom-size":!!n},o,i&&!E&&t.createElement(it,{src:i,alt:v||"avatar"}),b&&s)},Et=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],yt=(e="")=>Et.some((t=>new URL(e).origin.endsWith(t))),bt=({options:e,label:l,labelRenderer:n,selected:o,onChange:i,showSelected:s=!0,style:r={},showIndicator:c=!0})=>{const[m,u]=a(!1);return t.createElement(t.Fragment,null,t.createElement(p,null,t.createElement(E,{onClick:()=>u((e=>!e))},l||(null==n?void 0:n(m))||null,t.createElement(y,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,a)=>t.createElement(b,{key:a,"data-selected":s&&o===e.value,onClick:t=>{o!==e.value&&(i(e.value),u((e=>!e))),t.stopPropagation()}},t.createElement(Ue,{size:"p3"},e.label),s&&o===e.value&&t.createElement("img",{src:$e.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&t.createElement(C,{onClick:()=>u(!1)}))},Ct=({languageOptions:e,locale:a})=>{var l,n;const o=null==e?void 0:e.find((e=>e.locale===a));return(null==e?void 0:e.length)?t.createElement(bt,{options:e,selected:o.value,label:t.createElement(ft,{locale:a,label:o.label||(null===(n=null===(l=a.split("-"))||void 0===l?void 0:l[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},ft=({locale:e,label:a,href:l})=>{var n,o,i;return t.createElement(f,{href:l},t.createElement(m,{country:null===(o=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===o?void 0:o.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[0]}),t.createElement("span",null,a))},kt=({forceDisplay:e,mediaQueryKey:a,children:l,className:o,style:i})=>{const[s,r]=n((()=>et(a)),[a]);return t.createElement(k,{lowerBound:e?0:s,upperBound:e?0:r,className:o,style:i},l)},wt=e=>{const{allowBgScroll:t}=e||{},a=o();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},Pt=({type:e="lead",closeIcon:a,isOpen:l=!0,onClose:n,children:o,enableAnimation:i=!0,targetAvatar:s,id:r,className:c})=>t.createElement(w,{"data-open":l,"data-type":e,"data-animation":i,"data-target":s,id:r,className:c},t.createElement("div",{className:"popup-content"},!!a&&t.createElement("div",{className:"close-button",onClick:n},a),o)),Nt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Mt="uJQBNNg",_t="TfG3dM5",At="aMtjFNf",Tt="cSz2RR-",Lt="GyFm00F";function Ht({userInfo:e,onClickMyProfileButton:a,themeName:l="helloSites"}){const{t:o}=Je(),i=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return t.createElement("div",{className:Mt,onClick:()=>{a&&a()}},t.createElement(pt,{className:_t,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:i,backgroundColor:"marryBaby"===l?nt.mbColors.pink:nt.colors.secondaryBase}),t.createElement("div",{className:At},t.createElement("div",{className:Tt},(null==e?void 0:e.name)||(null==e?void 0:e.username)),t.createElement("div",{className:Lt,style:{"--bg-hellosites":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${$e.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},o("userProfile.nav.header.viewProfile"))))}var St="gn6HmGG",Bt="FCx8FEM",xt="zMiRxaE",Ut="lZ2Z9MQ",$t="rwm-agG",Rt="qMOscoq";const It=({themeName:e,locale:l,onClickItem:o})=>{const[i,s]=a(""),r=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:$e.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:$e.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function c(e){e.subMenu?s((t=>t?"":e.key)):o&&o(e)}return t.createElement("div",{className:St},r.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:i,onClickItem:c,locale:l}))))},Ot=({item:e,openKey:a,onClickItem:l,locale:n})=>{var o;const{t:i}=Je();return(null===(o=e.disableLocale)||void 0===o?void 0:o.includes(n))?null:t.createElement("div",{className:`${Bt} nav-menu-item`,"data-is-open":a===e.key,key:e.key,"data-has-submenu":!!e.subMenu},t.createElement("div",{className:xt,onClick:()=>l(e)},e.icon&&t.createElement("div",{className:Ut,style:{backgroundImage:`url("${e.icon}")`}}),i(e.key),e.subMenu&&t.createElement("div",{className:$t,style:{"--after-bg":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&t.createElement("div",{className:Rt},e.subMenu.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:a,onClickItem:l,locale:n})))))};var jt="-AZt1au",Ft="IvSIfCI",Dt="eahCJov",zt="XIyViFs",Vt="_4y-O0w3",Gt="kO8iNgD",Wt="a1d4E10",Kt="Tdguxxf",Yt="-mOxsaU",qt="yPeDBNZ";const Zt={helloSites:{member:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Qt=({themeName:e,rank:a="member",numberOfPosts:l=0})=>{const{t:o}=Je(),i=n((()=>{var t,l;return(null===(l=null===(t=Zt[e])||void 0===t?void 0:t[a])||void 0===l?void 0:l.call(t))||""}),[a,e]);return t.createElement("div",{className:Vt,"data-user-rank":a},t.createElement("div",{className:Gt},t.createElement("div",{className:Wt},t.createElement("div",{className:Kt,style:{backgroundImage:`url("${i}")`}}),t.createElement("h3",{className:Yt},o(`userProfile.userRank.${a}`)),l>0&&t.createElement("p",{className:qt},l," ",o("userProfile.nav.header.count.posts")))))},Jt=e=>{var t,a,l,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>Jt(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Xt=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||l?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title}},ea=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},ta=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},aa=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=mt[a])||void 0===l?void 0:l.ALL}/${(null===(n=mt[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},la=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},na=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},oa=({SSO_URL:e,UP_BASEPATH:o="user",themeName:i="helloSites",cardUrls:s=Nt,enableCare:r,enableTogether:c,enableEcom:m,enableMySaved:u,userInfo:d,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:v,onClickMyProfileButton:p,onClickMenuItem:E,onClickLogout:y,isUserProfileNavigatorMenuHidden:b=!1,isMyHealthEnabled:C=!1,locale:f})=>{const{t:k}=Je(),[w,M]=a(h||0),_="marryBaby"===i;l((()=>{if(d&&void 0===h){const e=ot("hhg_user_token");e&&fetch(ze(((e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ut(P.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Re[e]}`})))(f,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&M((null===(l=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[f,null!==d,h,g,_]);const A=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?r:"myCommunity"===e?c:"myHealth"===e?C:"eCom"===e?m:"mySaved"!==e||u))}),[_,C]),T=n((()=>"marryBaby"===i?null:t.createElement(st,{color:"tertiary",icon:t.createElement("img",{src:$e.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:y,className:zt},k("userProfile.nav.menu.logout"))),[i]),L=t=>{window.location.href=ze(`${e}${o}/${t}`)},H=e=>{const t=s[e];v?v(t):L(t)};return d?t.createElement("div",{className:jt,"data-theme":i},t.createElement(Ht,{userInfo:d,themeName:i,onClickMyProfileButton:()=>{p?p():L("profile")}}),t.createElement(Qt,{themeName:i,rank:"member",numberOfPosts:w}),t.createElement("div",{className:Ft},A.map((e=>t.createElement(N,{className:Dt,key:e,themeName:i,type:e,onClick:H})))),!b&&t.createElement(t.Fragment,null,t.createElement(It,{themeName:i,locale:f,onClickItem:e=>{"logout"===e.link&&y?y():e.link&&!e.subMenu&&(E?E(e.link):L(e.link))}}),T)):null},ia=({SSO_URL:e,UP_BASEPATH:a,isOpen:l,targetAvatar:n,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,closePopup:m,siteType:u="helloSites",dispatchLogout:d,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v=!1,togetherApiDomain:p,locale:E})=>{const y=t=>{g?g(`/${t}`):e&&(window.location.href=ze(`${e}${a}/${t}`))},b=e=>{y(e),m()};return t.createElement(Pt,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:m},t.createElement(oa,{SSO_URL:e,UP_BASEPATH:a,themeName:u,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,onClickLogout:()=>{d&&(d(),m())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:()=>{y("profile"),m()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},sa=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:n,siteType:o="helloSites"})=>{const{t:i}=Je();return l((()=>{document.body.classList.toggle("noscroll",e)}),[e]),t.createElement(rt,null,t.createElement(Ye,{type:"confirm",isOpen:e,closeIcon:t.createElement("img",{src:$e.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},t.createElement(M,null,"helloSites"===o&&t.createElement("img",{src:$e.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),t.createElement("h2",null,i("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),t.createElement("p",null,i("logout.popup.ask2")),t.createElement(_,{siteType:o},t.createElement(st,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},i("logout.popup.button.logout")),t.createElement(st,{className:"cancel-button",color:"primary",size:"lg",onClick:a},i("logout.popup.button.cancel"))))))},ra=({userInfo:n,siteType:o,onLoginClick:i,SSO_URL:s,currentUrl:r,isMinifyLogin:c,enableCare:m,enableTogether:h,enableEcom:v,isUserProfileNavigatorMenuHidden:p,UP_BASEPATH:E,isMyHealthEnabled:y,togetherApiDomain:b,onLogout:C,style:f,userProfileRouterPush:k,isLoading:w,locale:P,enableMySaved:N})=>{const{t:M}=Je(),[_,H]=a(!1),S=(null==n?void 0:n.name)||(null==n?void 0:n.username),[B,x]=a(!1);l((()=>{x(!0)}),[]);const{containerRef:U,onContainerFocus:$,onContainerBlur:R,onButtonMouseDown:I,onClose:O}=wt();return w?t.createElement(u,{size:"sm",color:"transparent",loading:w}):(null==n?void 0:n.id)?t.createElement(t.Fragment,null,t.createElement(A,{ref:U,style:f,tabIndex:0,onBlur:R,onFocus:$},t.createElement("div",{onMouseDown:I},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),t.createElement(d,{size:40,className:"user-avatar",src:null==n?void 0:n.avatar,color:"marryBaby"===o?nt.mbColors.pink:nt.colors.secondaryBase,placeholderText:S&&S.length?S[0].toUpperCase():"A"})),t.createElement(ia,{UP_BASEPATH:E,SSO_URL:s,dispatchLogout:()=>{O(),H(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:m,enableTogether:h,enableEcom:v,enableMySaved:N,closePopup:O,userInfo:n,siteType:o,isUserProfileNavigatorMenuHidden:p,togetherApiDomain:b,userProfileRouterPush:k,locale:P})),t.createElement(sa,{openLogoutPopup:_,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),H(!1)},siteType:o,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){H(!1),document.body.classList.toggle("noscroll",!1),yield C()}))})):t.createElement(T,{style:Object.assign({textDecoration:"none"},f),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:B?void 0:ze(`${s}?returnUrl=${r}`),"data-site-type":o},c?t.createElement(L,{onClick:i},t.createElement("img",{src:$e.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):t.createElement(t.Fragment,null,"helloSites"===o&&(P===lt.Indonesia?t.createElement("img",{className:"mobile-only",src:$e.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:i}):t.createElement(u,{className:"mobile-only",size:"sm",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22}),styles:{root:{paddingLeft:"5px",paddingRight:"8px"},leftIcon:{marginRight:"5px"}}},M("navigation.loginJoin"))),"marryBaby"===o&&t.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},t.createElement(g,{size:"p3",color:nt.mbColors.pink},M("navigation.loginJoin"))),t.createElement(u,{className:"login-btn",size:"md",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22})},M("navigation.loginJoin"))))};var ca="spdlGfq",ma="vgS16jX";const ua=({onCareHeaderClick:e,currentUrl:a,careUrlFe:l,btnName:n})=>e?t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):t.createElement("a",{href:l,className:`${ma} care-button no-replace-click`},t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a},n));var da="y5VJdvw",ga="oVhOSCy",ha="pX8OXTM";function va({className:e}){return t.createElement("div",null,t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function pa({siteType:e,type:a,enableSearch:l,className:n}){return"helloSites"===e?t.createElement("div",null,t.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?$e.getAssetPath("hamburgerMenuNewWithSearch.svg"):$e.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:a,className:n,loading:"lazy"})):t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},t.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"}))}const Ea=()=>{const{locale:e,configs:{statics:a},siteType:l}=i(H),n=dt(),{t:o}=Je();return t.createElement(h,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?o("navigation.search.input.placeholder"):o("home.search",{site:Ie[e||"en-PH"]?Ie[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${a.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:t.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},t.createElement(S,null))})};var ya="wnUb-dV",ba="cjbOxWe",Ca="gB4rp89";const fa=({item:e,menu:a})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:i,onClose:s}=wt({allowBgScroll:!0}),r=ht();return!e.popupType&&e.link?t.createElement(ka,{isNew:e.isNew},t.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ba},"care"===e.id&&t.createElement("a",{className:Ca,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):t.createElement(ka,{isNew:e.isNew},t.createElement("div",{ref:l,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:o,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:i,className:ba},"care"===e.id&&t.createElement("a",{className:Ca,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&t.createElement("div",{className:ya},t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),t.isValidElement(a)?t.cloneElement(a,{onClose:s}):null))},ka=({isNew:e,children:a})=>{const{t:l}=Je();return e?t.createElement(gt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},a):t.createElement(t.Fragment,null,a)},wa=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:n,menuItems:o,headingTitle:s})=>{const{siteType:r}=i(H);return t.createElement(B,null,t.createElement(x,null,t.createElement(v,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},s)),null==o?void 0:o.slice(0,6).map(((e,a)=>{const o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return t.createElement(U,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,href:o},!yt(o)&&{target:"_blank"},{"data-theme":r,key:a,onClick:n}),t.createElement("div",{className:"icon"},t.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),t.createElement(ka,{isNew:e.isNew},t.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),t.createElement($,null,t.createElement("img",{src:$e.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&t.createElement(R,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},t.createElement(I,{onClick:n,"data-theme":r,"data-is-heading-category":!1},a,t.createElement(O,null,t.createElement("img",{className:"svg",src:"marryBaby"===r?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},Pa=({item:e,index:a=0})=>{var l;const{t:n}=Je(),{locale:o,configs:{statics:s}}=i(H);if(!e)return null;const r=`${s.CARE_URL_FE}/${null===(l=mt[o])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return t.createElement(j,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${a+1}`,"data-event-label":r},t.createElement("img",{src:$e.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),t.createElement(F,null,t.createElement(D,null,t.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),t.createElement(z,null,t.createElement(V,null,e.name),t.createElement(G,null,e.description),t.createElement(W,null,n("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Na=({title:e,link:a,description:l,cta:n,icon:o})=>{const{siteType:s}=i(H);return t.createElement(K,{"data-theme":s},t.createElement(Y,null,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("navMBSpotlightBgNoData.svg"):$e.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(q,null,o&&t.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),t.createElement("div",null,e&&t.createElement(Z,null,e),l&&t.createElement(Q,null,l),n&&t.createElement("div",null,t.createElement("a",{href:a},t.createElement(st,{theme:s,className:"survey-contact-submit",size:"md"},n)))))},Ma=({title:e,viewMore:a,children:l,link:n,dataEventAction:o=""})=>{const{siteType:s}=i(H);return t.createElement(J,null,t.createElement(X,null,t.createElement(v,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&t.createElement(ee,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":n,href:n,"data-theme":s},a,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},_a=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{siteType:n}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?t.createElement(t.Fragment,null,t.createElement(te,null,null==e?void 0:e.slice(0,3).map(((e,a)=>t.createElement(Pa,{key:a,index:a,item:e})))),t.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},t.createElement("a",{href:a},t.createElement(st,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):t.createElement(Na,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:a,cta:l("home.navigator.menu.care.homeButton"),icon:$e.getAssetPath("community.svg")}))},Aa=({item:e,index:a=0})=>e?t.createElement(ae,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${a+1}`,"data-event-label":e.link},t.createElement(le,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),t.createElement(ne,null,e.title)):null,Ta=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{configs:{statics:n}}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:a,dataEventAction:"Spotlight See More Click"},0!==e.length?t.createElement(oe,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(Aa,{key:a,index:a,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):t.createElement(Na,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:a,cta:l("home.navigator.menu.category.noDatas.cta"),icon:$e.getAssetPath("Spotlight.svg")}))},La=({spotlights:e=[]})=>{const{configs:{statics:a}}=i(H),{t:l}=Je();return t.createElement(Ma,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Ve(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?t.createElement(ie,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(se,{index:a,post:e,key:e.id})))):t.createElement(Na,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${a.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:$e.getAssetPath("community.svg")}))},Ha=({item:e,index:a=0})=>{const{t:l}=Je(),{configs:{statics:n}}=i(H);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return t.createElement(re,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":o},t.createElement("img",{src:$e.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(ce,null,t.createElement(me,null,e.title),t.createElement(ue,null,e.subtitle),t.createElement(de,null,l("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),t.createElement(ge,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Sa=({item:e,index:a=0,color:l})=>{const{t:n}=Je(),{configs:{statics:o}}=i(H);if(!e)return null;const s=e.link?e.link.startsWith("http")?e.link:`${o.HOME_PAGE_URL}${e.link}`:void 0,r=()=>t.createElement(pe,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>t.createElement(Ee,null,t.createElement(ye,null,t.createElement(be,null,e.title),t.createElement(Ce,null,e.subtitle)),t.createElement(fe,null,t.createElement("div",{className:"mobile-only"},n("home.seeMore")),t.createElement("img",{src:$e.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return t.createElement(he,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":s,"data-color":l},t.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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"})),t.createElement("img",{src:$e.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),t.createElement(ve,null,t.createElement("div",{className:"mobile-only"},r()),t.createElement("div",{className:"desktop-only"},c())),t.createElement("div",{className:"mobile-only"},c()),t.createElement("div",{className:"desktop-only"},r()))},Ba=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=Je(),n=["pink","orange","green"],{siteType:o}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&t.createElement(ke,null,null==a?void 0:a.slice(0,3).map(((e,a)=>"marryBaby"===o?t.createElement(Sa,{key:a,index:a,item:e,color:n[a]}):t.createElement(Ha,{key:a,index:a,item:e})))),0===a.length&&t.createElement(Na,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:$e.getAssetPath("community.svg")}))},xa=({closePopup:e,menuItems:a=[]})=>{var l,n;const{siteType:o,ssrMenuContent:{categories:s,healthTools:r,care:c,together:m},activeMenuService:u,configs:{statics:d,enableSearchBar:g},locale:h}=i(H),{t:v}=Je();return t.createElement(we,{id:"categories-menu"},g?t.createElement(Pe,{"data-theme":o,onClick:()=>{window.location.href=`${d.HOME_PAGE_URL}/search`}},t.createElement(Ea,null)):null,t.createElement(Ne,null,t.createElement(wa,{UrlFE:d.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:a,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===u&&t.createElement(Ta,{spotlightsList:(null==s?void 0:s.spotlights)||[],hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===u&&t.createElement(Ba,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(l=Oe[h])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&t.createElement(_a,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=mt[h])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&t.createElement(La,{spotlights:null==m?void 0:m.spotlights})))},Ua=({type:e="home",menuItems:a})=>{const{siteType:l,configs:{enableSearchBar:n}}=i(H),{containerRef:o,onContainerFocus:s,onContainerBlur:r,onButtonMouseDown:c,onClose:m}=wt();return t.createElement(kt,{mediaQueryKey:"mbDown"},t.createElement("header",{className:da},t.createElement("div",{className:ga,ref:o,role:"button",tabIndex:0,onBlur:r,onFocus:s},t.createElement("div",{className:ha,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},t.createElement(va,{className:"mobile-close-icon"}),t.createElement(pa,{siteType:l,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),t.createElement(xa,{menuItems:a,closePopup:m}))))};var $a="q3nL5cp",Ra="_2DNf80G",Ia="Q-glX-n";const Oa=({onClosePopup:e})=>t.createElement("div",{className:`${Ia} close-btn`,onClick:e},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),ja=({onClosePopup:e,isDisplay:a,children:l,isNavMenu:n,hideCloseBtn:o})=>t.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!a,"data-is-nav-menu":!!n},t.createElement(at,null,!o&&t.createElement("div",{className:Ra},t.createElement(Oa,{onClosePopup:e})),t.createElement(at,{className:$a},l))),Fa=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:n=[]})=>{var o;const{t:s}=Je(),{locale:r,configs:{statics:c}}=i(H);return t.createElement(ja,{onClosePopup:l,isDisplay:a,isNavMenu:!0},t.createElement(wa,{headingTitle:s("home.navigator.menuItem.specialties"),hrefViewMore:`${c.CARE_URL_FE}/`,UrlFE:c.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:s("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:aa({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),t.createElement(_a,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(o=mt[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},Da=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:n})=>{const{t:o}=Je(),{locale:s,configs:{statics:r}}=i(H);return t.createElement(ja,{onClosePopup:l,isDisplay:n,isNavMenu:!0},t.createElement(wa,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:o("home.navigator.menuItem.healthCategories")}),t.createElement(Ta,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/spotlight/`}))},za=({communities:e=[],onClose:a,isOpen:l,spotlights:n=[]})=>{const{t:o}=Je(),{configs:{statics:s}}=i(H);return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:Ve(s.TOGETHER_URL_FE),UrlFE:ze(s.TOGETHER_URL_FE),onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:o("home.navigator.menuItem.allCommunitiesheadingTitle")}),t.createElement(La,{spotlights:n}))},Va=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:n=[],healthTools:o=[]})=>{var s;const{t:r}=Je(),{configs:{statics:c}}=i(H),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(s=Oe[e])||void 0===s?void 0:s.HEALTH_TOOLS)||""}`;return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:a,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:o.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),t.createElement(Ba,{spotlightHealthTools:n,hrefViewMore:m}))},Ga=({onTopBarAppears:e,type:n="home",languageMenu:r,menuItems:c})=>{var m;const{siteType:u,isMobile:d=!1,locale:g,sitewideBanner:h,sitewideBannerShown:v=!0,sponsorComponent:p,onBookingClick:E,currentUrl:y,onLoginClick:b,configs:{statics:C,enableNavCareBooking:f,enableSearchBar:k,enableNavCare:w,enableProfileMyHealth:P,enableProfileMySaved:N,enableNavTogether:M,enableProfileEcom:_,enableProfileNavigatorMenu:A},userState:{userInfo:T},onLogout:L,userProfileRouterPush:S,isUserLoading:B}=i(H),{t:x}=Je(),{SSO_URL:U,HOME_PAGE_URL:$}=C,R=!!p,[I,O]=a(!1),j=o(47),F=o(null),D=o(!1),z="helloSites"===u?null===(m=Ie[g])||void 0===m?void 0:m.LOGO_TYPE:u,V="undefined"!=typeof window,G=s(Xe((()=>{if("home"===n&&V){if(!F.current)return;const e=F.current.getBoundingClientRect();e.top<=0&&window.scrollY>j.current&&window.scrollY>e.height+20&&!D.current&&(D.current=!0,O(!0)),window.scrollY<j.current&&D.current&&(D.current=!1,O(!1)),window.scrollY>=0&&(j.current=window.scrollY)}}),200),[]);l((()=>{null==e||e(!I)}),[I]),l((()=>(window.addEventListener("scroll",G,{passive:!0}),()=>{window.removeEventListener("scroll",G)})),[]),l((()=>{d&&G()}),[d]);const W=v&&!!h;return t.createElement(Me,{"data-site-type":u,"data-sponsored":R,"data-sitewide-banner-shown":W,"data-header-type":n,"data-collapsed":I,"data-with-search-input":"popup-sub-level"!==n,"data-is-displayed":!0,id:"site-header",ref:F},h,t.createElement(_e,{"data-site-type":u},t.createElement(Ae,{"data-site-type":u},t.createElement(Ua,{menuItems:c,type:n}),t.createElement("a",{style:{flexShrink:0},href:$},t.createElement(Te,null,t.createElement(Qe,{style:{display:"flex"},type:z,badge:"id-ID"===g&&t.createElement("img",{src:$e.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===u?t.createElement(Ka,{menuItems:c}):k&&t.createElement(Wa,{siteType:u})),t.createElement(Le,{"data-site-type":u},"marryBaby"===u?k&&t.createElement(Wa,{siteType:u}):t.createElement(Ka,{menuItems:c}),t.createElement(He,null,f&&t.createElement(kt,{mediaQueryKey:"mbUp"},t.createElement(ua,{careUrlFe:C.CARE_URL_FE,currentUrl:y,btnName:x("login.booking"),onCareHeaderClick:E})),r,t.createElement(ra,{userInfo:T,siteType:u,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=U?ze(`${U}?returnUrl=${e}`):e}),SSO_URL:Ve(C.SSO_URL),currentUrl:y,onLogout:L,UP_BASEPATH:je,isMyHealthEnabled:P,enableCare:w,enableTogether:M,enableEcom:_,enableMySaved:N,togetherApiDomain:Ve(C.TOGETHER_API),isUserProfileNavigatorMenuHidden:!A,userProfileRouterPush:S,isLoading:B,locale:g})))),p?t.isValidElement(p)?t.cloneElement(p,{isCollapsed:I,locale:g,isMobile:d}):p:null)},Wa=({siteType:e})=>t.createElement(kt,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},t.createElement(Ea,null)),Ka=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:n,healthTools:o,care:s,together:r}}=i(H);return t.createElement(kt,{mediaQueryKey:"mbUp",style:{height:"100%"}},t.createElement(Se,{"data-site-type":a},null==e?void 0:e.map(((e,a)=>t.createElement(fa,{key:a,item:e,menu:"categories"===e.popupType?t.createElement(Da,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?t.createElement(Va,{locale:l,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?t.createElement(za,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?t.createElement(Fa,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})))))},Ya=e=>{var r,c;const{isMobile:m,locale:u,onTopBarAppears:d,languageOptions:g,sponsorComponent:h,sitewideBanner:v,sitewideBannerShown:p,className:E}=e,y=(()=>{const{t:e}=Je(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:s,enableNavTogether:r,enableNavEcom:c,statics:m}}=i(H),u="marryBaby"===t;return n((()=>{var t;const n=[];return l&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:u?$e.getAssetPath("categories-mb.svg"):$e.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=Oe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:u?$e.getAssetPath("healthtools-mb.svg"):$e.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:ze(m.TOGETHER_URL_FE+"/"),thumbnail:u?$e.getAssetPath("community-mb.svg"):$e.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:ze(m.HOME_PAGE_URL+"/shop"),thumbnail:$e.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&n.push({name:"ms-MY"===a?"📍 Temui Klinik Terdekat":e("home.navigator.menuItem.helloCare"),id:"care",link:ze("ms-MY"===a?m.HOME_PAGE_URL+"/care/current-location/hospital/":m.HOME_PAGE_URL+"/care"),thumbnail:$e.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,s,r,c])})();(()=>{const{isFirstLogin:e,userState:t}=i(H),{userInfo:a}=t;l((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const b=p&&!!v,C=!!h,f=!!(null===(c=null===(r=null==h?void 0:h.props)||void 0===r?void 0:r.sponsoredBy)||void 0===c?void 0:c.length),{headerRef:k,defaultHeaderHeight:w,headerHeight:P,headerBottom:N}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:i,isMobile:r})=>{const c=o(null),[m,u]=a(0),[d,g]=a(64),h=s(ct((()=>{var e,t,a,l;const n=(null===(e=c.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=c.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=n+200&&(u(n),g((null===(l=c.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||m))}),200),[]);l((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),l((()=>{h()}),[r,i,t,e,c.current]);const v=n((()=>{let a=r?64:69;return i&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[r,i,e,t]);return{defaultHeaderHeight:v,headerHeight:m||v,headerBottom:d,headerRef:c}})({isShowingSiteWideBanner:b,isSponsored:C,hasSponsoredBanners:f,isMobile:m});return t.createElement(xe,{id:"navigation-v2",style:{"--default-header-height":w+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":N+"px"},className:E},t.createElement("section",{ref:k},t.createElement(Ga,{menuItems:y,type:"home",onTopBarAppears:d,languageMenu:t.createElement(Ct,{languageOptions:g,locale:u})})))},qa=e=>{const a=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return t.createElement(Be,Object.assign({},a),t.createElement(Ya,Object.assign({},a)))},Za=t=>e(void 0,void 0,void 0,(function*(){var e,a,l,n,o,i,s,r,c,m,u,d,g,h,v,p,E,y,b,C,f;const k={},w="vi-VN_MB"===t;try{const P="tl-PH"===t?"lang=fil":"";try{const[u,d,g,h]=yield Promise.all([fetch(ze(`${Ge(t)}/wp-json/api/categories${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${P?"&"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}/favorites${P?"?"+P:""}`)).then((e=>e.json()))]);k.categories={items:(null===(a=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,Jt))||[],spotlights:(null===(i=null===(o=null===(n=null===(l=null==d?void 0:d.data)||void 0===l?void 0:l.articles)||void 0===n?void 0:n.map)||void 0===o?void 0:o.call(n,la))||void 0===i?void 0:i.filter(na))||[]},k.healthTools={items:(null===(r=null===(s=null==g?void 0:g.data)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,Xt))||[],spotlights:(null===(m=null===(c=null==h?void 0:h.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Xt))||[]}}catch(e){}if(w||Fe.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(`${We()}/api/v1/community?website_url=https://${Re[t]}`)).then((e=>e.json())),fetch(ze(`${We()}/api/v1/options?website_url=https://${Re[t]}&meta_key=popular_post`)).then((e=>e.json()))]);k.together={items:(null===(g=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.communities)||void 0===d?void 0:d.map)||void 0===g?void 0:g.call(d,qe))||[],spotlights:(null===(p=null===(v=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===v?void 0:v.map)||void 0===p?void 0:p.call(v,Ze))||[]}}catch(e){}if(De.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(Ke()+`/api/specialties?_ishome=1&site=${Re[t]}`)).then((e=>e.json())),fetch(ze(Ke()+`/api/search/?site=${Re[t]}&type=hospital&order_by=total_doctor`)).then((e=>e.json()))]);k.care={items:(null===(b=null===(y=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.specialties)||void 0===y?void 0:y.map)||void 0===b?void 0:b.call(y,ea))||[],spotlights:(null===(f=null===(C=null==a?void 0:a._data.searches)||void 0===C?void 0:C.map)||void 0===f?void 0:f.call(C,ta))||[]}}catch(e){}}catch(e){console.error(e)}return k})),Qa=t=>e(void 0,void 0,void 0,(function*(){return(yield r("nav-menu-content",(()=>Za(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{pt as A,Ct as L,qa as N,ia as P,oa as U,Qa as a,Ht as b,Qt as c,sa as d,ra as e,Za as g,yt as i};
1
+ import{a as e}from"./tslib.es6-555d79f5.js";import t,{useState as a,useEffect as l,useMemo as n,useRef as o,useContext as i,useCallback as s}from"react";import{g as r}from"./core-1e91316f.js";import{K as c,F as m,E as u,y as d,x as g,P as h,H as v}from"./utils-c1b716a1.js";import{S as p,a as E,b as y,c as b,d as C,e as f,f as k,g as w,T as P,N,h as M,i as _,j as A,k as T,l as L,m as H,n as S,o as B,p as x,q as U,r as $,s as R,t as I,u as O,v as j,w as F,x as D,y as z,z as V,A as G,B as W,C as K,D as Y,E as q,F as Z,G as Q,H as J,I as X,J as ee,K as te,L as ae,M as le,O as ne,P as oe,Q as ie,R as se,V as re,W as ce,X as me,Y as ue,Z as de,_ as ge,$ as he,a0 as ve,a1 as pe,a2 as Ee,a3 as ye,a4 as be,a5 as Ce,a6 as fe,a7 as ke,a8 as we,a9 as Pe,aa as Ne,ab as Me,ac as _e,ad as Ae,ae as Te,af as Le,ag as He,ah as Se,ai as Be,aj as xe}from"./index.styled-957d60bc.js";import{T as Ue}from"./index-d4cb12b8.js";import{CommonGAssets as $e}from"./gAssets.js";import{d as Re,L as Ie,S as Oe,U as je,T as Fe,C as De}from"./index-982bf4b1.js";import{n as ze,a as Ve}from"./normalizeLink-ccb18bcd.js";import{c as Ge,b as We,d as Ke}from"./routing-6a04122b.js";import{P as Ye,b as qe,c as Ze}from"./dataTransform-b78e8561.js";import{L as Qe}from"./index-126310ad.js";import{u as Je}from"./useTranslations-066a0f88.js";import Xe from"lodash/throttle";import{j as et}from"./screenSizeContext-11b9f601.js";import{U as tt,C as at}from"./index-f713598c.js";import{L as lt}from"./Onboarding-ee515ace.js";import{t as nt}from"./theme-e8bef3f3.js";import{g as ot}from"./cookieHelper-39d259c6.js";import{I as it}from"./index-a8e48a82.js";import{B as st}from"./index-e44a679a.js";import{Portal as rt}from"@mantine/core";import"@mantine/dates";import"dayjs";import"styled-components";import"./isProduction-467296eb.js";import"@mantine/hooks";import ct from"lodash/debounce";import{L as mt}from"./constants-a3b3abcd.js";import ut from"string-format";import{a as dt}from"./useUniqueId-a5c4fc3f.js";import{I as gt}from"./index-a881921b.js";import{u as ht}from"./useIsInit-0a8cd31e.js";const vt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},pt=({type:e="square",size:n,avatarImg:o,avatarUrl:i,firstLetter:s,backgroundColor:r,onClick:m,style:u,className:d,width:g,height:h,alt:v})=>{const p=n?vt[n]:void 0,[E,y]=a(!1);l((()=>{if(i){const e=document.createElement("img");e.setAttribute("src",i),e.addEventListener("error",(()=>{y(!0)}))}}),[i,y]);const b=(!i&&!o||E)&&s;return t.createElement(c,{style:Object.assign(Object.assign({},u),{"--size":p?p+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":r}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:m,className:d,avatarUrl:i,"data-custom-size":!!n},o,i&&!E&&t.createElement(it,{src:i,alt:v||"avatar"}),b&&s)},Et=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],yt=(e="")=>Et.some((t=>new URL(e).origin.endsWith(t))),bt=({options:e,label:l,labelRenderer:n,selected:o,onChange:i,showSelected:s=!0,style:r={},showIndicator:c=!0})=>{const[m,u]=a(!1);return t.createElement(t.Fragment,null,t.createElement(p,null,t.createElement(E,{onClick:()=>u((e=>!e))},l||(null==n?void 0:n(m))||null,t.createElement(y,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,a)=>t.createElement(b,{key:a,"data-selected":s&&o===e.value,onClick:t=>{o!==e.value&&(i(e.value),u((e=>!e))),t.stopPropagation()}},t.createElement(Ue,{size:"p3"},e.label),s&&o===e.value&&t.createElement("img",{src:$e.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&t.createElement(C,{onClick:()=>u(!1)}))},Ct=({languageOptions:e,locale:a})=>{var l,n;const o=null==e?void 0:e.find((e=>e.locale===a));return(null==e?void 0:e.length)?t.createElement(bt,{options:e,selected:o.value,label:t.createElement(ft,{locale:a,label:o.label||(null===(n=null===(l=a.split("-"))||void 0===l?void 0:l[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},ft=({locale:e,label:a,href:l})=>{var n,o,i;return t.createElement(f,{href:l},t.createElement(m,{country:null===(o=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===o?void 0:o.toUpperCase(),width:16,height:16,rounded:!0,language:null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[0]}),t.createElement("span",null,a))},kt=({forceDisplay:e,mediaQueryKey:a,children:l,className:o,style:i})=>{const[s,r]=n((()=>et(a)),[a]);return t.createElement(k,{lowerBound:e?0:s,upperBound:e?0:r,className:o,style:i},l)},wt=e=>{const{allowBgScroll:t}=e||{},a=o();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},Pt=({type:e="lead",closeIcon:a,isOpen:l=!0,onClose:n,children:o,enableAnimation:i=!0,targetAvatar:s,id:r,className:c})=>t.createElement(w,{"data-open":l,"data-type":e,"data-animation":i,"data-target":s,id:r,className:c},t.createElement("div",{className:"popup-content"},!!a&&t.createElement("div",{className:"close-button",onClick:n},a),o)),Nt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Mt="uJQBNNg",_t="TfG3dM5",At="aMtjFNf",Tt="cSz2RR-",Lt="GyFm00F";function Ht({userInfo:e,onClickMyProfileButton:a,themeName:l="helloSites"}){const{t:o}=Je(),i=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return t.createElement("div",{className:Mt,onClick:()=>{a&&a()}},t.createElement(pt,{className:_t,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:i,backgroundColor:"marryBaby"===l?nt.mbColors.pink:nt.colors.secondaryBase}),t.createElement("div",{className:At},t.createElement("div",{className:Tt},(null==e?void 0:e.name)||(null==e?void 0:e.username)),t.createElement("div",{className:Lt,style:{"--bg-hellosites":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${$e.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},o("userProfile.nav.header.viewProfile"))))}var St="gn6HmGG",Bt="FCx8FEM",xt="zMiRxaE",Ut="lZ2Z9MQ",$t="rwm-agG",Rt="qMOscoq";const It=({themeName:e,locale:l,onClickItem:o})=>{const[i,s]=a(""),r=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:$e.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:$e.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:$e.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function c(e){e.subMenu?s((t=>t?"":e.key)):o&&o(e)}return t.createElement("div",{className:St},r.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:i,onClickItem:c,locale:l}))))},Ot=({item:e,openKey:a,onClickItem:l,locale:n})=>{var o;const{t:i}=Je();return(null===(o=e.disableLocale)||void 0===o?void 0:o.includes(n))?null:t.createElement("div",{className:`${Bt} nav-menu-item`,"data-is-open":a===e.key,key:e.key,"data-has-submenu":!!e.subMenu},t.createElement("div",{className:xt,onClick:()=>l(e)},e.icon&&t.createElement("div",{className:Ut,style:{backgroundImage:`url("${e.icon}")`}}),i(e.key),e.subMenu&&t.createElement("div",{className:$t,style:{"--after-bg":`url(${$e.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&t.createElement("div",{className:Rt},e.subMenu.map((e=>t.createElement(Ot,{key:e.key,item:e,openKey:a,onClickItem:l,locale:n})))))};var jt="-AZt1au",Ft="IvSIfCI",Dt="eahCJov",zt="XIyViFs",Vt="_4y-O0w3",Gt="kO8iNgD",Wt="a1d4E10",Kt="Tdguxxf",Yt="-mOxsaU",qt="yPeDBNZ";const Zt={helloSites:{member:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>$e.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Qt=({themeName:e,rank:a="member",numberOfPosts:l=0})=>{const{t:o}=Je(),i=n((()=>{var t,l;return(null===(l=null===(t=Zt[e])||void 0===t?void 0:t[a])||void 0===l?void 0:l.call(t))||""}),[a,e]);return t.createElement("div",{className:Vt,"data-user-rank":a},t.createElement("div",{className:Gt},t.createElement("div",{className:Wt},t.createElement("div",{className:Kt,style:{backgroundImage:`url("${i}")`}}),t.createElement("h3",{className:Yt},o(`userProfile.userRank.${a}`)),l>0&&t.createElement("p",{className:qt},l," ",o("userProfile.nav.header.count.posts")))))},Jt=e=>{var t,a,l,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>Jt(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},Xt=e=>{var t,a;if(!e)return{};const l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||l?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title}},ea=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},ta=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},aa=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=mt[a])||void 0===l?void 0:l.ALL}/${(null===(n=mt[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},la=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},na=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},oa=({SSO_URL:e,UP_BASEPATH:o="user",themeName:i="helloSites",cardUrls:s=Nt,enableCare:r,enableTogether:c,enableEcom:m,enableMySaved:u,userInfo:d,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:v,onClickMyProfileButton:p,onClickMenuItem:E,onClickLogout:y,isUserProfileNavigatorMenuHidden:b=!1,isMyHealthEnabled:C=!1,locale:f})=>{const{t:k}=Je(),[w,M]=a(h||0),_="marryBaby"===i;l((()=>{if(d&&void 0===h){const e=ot("hhg_user_token");e&&fetch(ze(((e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ut(P.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Re[e]}`})))(f,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&M((null===(l=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[f,null!==d,h,g,_]);const A=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?r:"myCommunity"===e?c:"myHealth"===e?C:"eCom"===e?m:"mySaved"!==e||u))}),[_,C]),T=n((()=>"marryBaby"===i?null:t.createElement(st,{color:"tertiary",icon:t.createElement("img",{src:$e.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:y,className:zt},k("userProfile.nav.menu.logout"))),[i]),L=t=>{window.location.href=ze(`${e}${o}/${t}`)},H=e=>{const t=s[e];v?v(t):L(t)};return d?t.createElement("div",{className:jt,"data-theme":i},t.createElement(Ht,{userInfo:d,themeName:i,onClickMyProfileButton:()=>{p?p():L("profile")}}),t.createElement(Qt,{themeName:i,rank:"member",numberOfPosts:w}),t.createElement("div",{className:Ft},A.map((e=>t.createElement(N,{className:Dt,key:e,themeName:i,type:e,onClick:H})))),!b&&t.createElement(t.Fragment,null,t.createElement(It,{themeName:i,locale:f,onClickItem:e=>{"logout"===e.link&&y?y():e.link&&!e.subMenu&&(E?E(e.link):L(e.link))}}),T)):null},ia=({SSO_URL:e,UP_BASEPATH:a,isOpen:l,targetAvatar:n,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,closePopup:m,siteType:u="helloSites",dispatchLogout:d,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v=!1,togetherApiDomain:p,locale:E})=>{const y=t=>{g?g(`/${t}`):e&&(window.location.href=ze(`${e}${a}/${t}`))},b=e=>{y(e),m()};return t.createElement(Pt,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:m},t.createElement(oa,{SSO_URL:e,UP_BASEPATH:a,themeName:u,userInfo:o,enableCare:i,enableTogether:s,enableEcom:r,enableMySaved:c,onClickLogout:()=>{d&&(d(),m())},onClickMenuItem:b,onClickNavigationCard:b,onClickMyProfileButton:()=>{y("profile"),m()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:v,togetherApiDomain:p,locale:E}))},sa=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:n,siteType:o="helloSites"})=>{const{t:i}=Je();return l((()=>{document.body.classList.toggle("noscroll",e)}),[e]),t.createElement(rt,null,t.createElement(Ye,{type:"confirm",isOpen:e,closeIcon:t.createElement("img",{src:$e.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},t.createElement(M,null,"helloSites"===o&&t.createElement("img",{src:$e.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),t.createElement("h2",null,i("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),t.createElement("p",null,i("logout.popup.ask2")),t.createElement(_,{siteType:o},t.createElement(st,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},i("logout.popup.button.logout")),t.createElement(st,{className:"cancel-button",color:"primary",size:"lg",onClick:a},i("logout.popup.button.cancel"))))))},ra=({userInfo:n,siteType:o,onLoginClick:i,SSO_URL:s,currentUrl:r,isMinifyLogin:c,enableCare:m,enableTogether:h,enableEcom:v,isUserProfileNavigatorMenuHidden:p,UP_BASEPATH:E,isMyHealthEnabled:y,togetherApiDomain:b,onLogout:C,style:f,userProfileRouterPush:k,isLoading:w,locale:P,enableMySaved:N})=>{const{t:M}=Je(),[_,H]=a(!1),S=(null==n?void 0:n.name)||(null==n?void 0:n.username),[B,x]=a(!1);l((()=>{x(!0)}),[]);const{containerRef:U,onContainerFocus:$,onContainerBlur:R,onButtonMouseDown:I,onClose:O}=wt();return w?t.createElement(u,{size:"sm",color:"transparent",loading:w}):(null==n?void 0:n.id)?t.createElement(t.Fragment,null,t.createElement(A,{ref:U,style:f,tabIndex:0,onBlur:R,onFocus:$},t.createElement("div",{onMouseDown:I},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),t.createElement(d,{size:40,className:"user-avatar",src:null==n?void 0:n.avatar,color:"marryBaby"===o?nt.mbColors.pink:nt.colors.secondaryBase,placeholderText:S&&S.length?S[0].toUpperCase():"A"})),t.createElement(ia,{UP_BASEPATH:E,SSO_URL:s,dispatchLogout:()=>{O(),H(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:m,enableTogether:h,enableEcom:v,enableMySaved:N,closePopup:O,userInfo:n,siteType:o,isUserProfileNavigatorMenuHidden:p,togetherApiDomain:b,userProfileRouterPush:k,locale:P})),t.createElement(sa,{openLogoutPopup:_,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),H(!1)},siteType:o,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){H(!1),document.body.classList.toggle("noscroll",!1),yield C()}))})):t.createElement(T,{style:Object.assign({textDecoration:"none"},f),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:B?void 0:ze(`${s}?returnUrl=${r}`),"data-site-type":o},c?t.createElement(L,{onClick:i},t.createElement("img",{src:$e.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):t.createElement(t.Fragment,null,"helloSites"===o&&(P===lt.Indonesia?t.createElement("img",{className:"mobile-only",src:$e.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:i}):t.createElement(u,{className:"mobile-only",size:"sm",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22}),styles:{root:{paddingLeft:"5px",paddingRight:"8px"},leftIcon:{marginRight:"5px"}}},M("navigation.loginJoin"))),"marryBaby"===o&&t.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},t.createElement(g,{size:"p3",color:nt.mbColors.pink},M("navigation.loginJoin"))),t.createElement(u,{className:"login-btn",size:"md",onClick:i,leftIcon:t.createElement(tt,{useCurrentColor:!0,isSolid:!0,size:22})},M("navigation.loginJoin"))))};var ca="spdlGfq",ma="vgS16jX";const ua=({onCareHeaderClick:e,currentUrl:a,careUrlFe:l,btnName:n})=>e?t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):t.createElement("a",{href:l,className:`${ma} care-button no-replace-click`},t.createElement(st,{className:ca,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a},n));var da="y5VJdvw",ga="oVhOSCy",ha="pX8OXTM";function va({className:e}){return t.createElement("div",null,t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function pa({siteType:e,type:a,enableSearch:l,className:n}){return"helloSites"===e?t.createElement("div",null,t.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?$e.getAssetPath("hamburgerMenuNewWithSearch.svg"):$e.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:a,className:n,loading:"lazy"})):t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},t.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"}))}const Ea=()=>{const{locale:e,configs:{statics:a},siteType:l}=i(H),n=dt(),{t:o}=Je();return t.createElement(h,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===l?o("navigation.search.input.placeholder"):o("home.search",{site:Ie[e||"en-PH"]?Ie[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${a.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:t.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},t.createElement(S,null))})};var ya="wnUb-dV",ba="cjbOxWe",Ca="gB4rp89";const fa=({item:e,menu:a})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:i,onClose:s}=wt({allowBgScroll:!0}),r=ht();return!e.popupType&&e.link?t.createElement(ka,{isNew:e.isNew},t.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:ba},"care"===e.id&&t.createElement("a",{className:Ca,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):t.createElement(ka,{isNew:e.isNew},t.createElement("div",{ref:l,className:`hhgcomp-navigation-itemnav-headeritem ${r?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:o,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},t.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:i,className:ba},"care"===e.id&&t.createElement("a",{className:Ca,href:ze(e.link+"/")},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&t.createElement("div",{className:ya},t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),t.isValidElement(a)?t.cloneElement(a,{onClose:s}):null))},ka=({isNew:e,children:a})=>{const{t:l}=Je();return e?t.createElement(gt,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},a):t.createElement(t.Fragment,null,a)},wa=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:n,menuItems:o,headingTitle:s})=>{const{siteType:r}=i(H);return t.createElement(B,null,t.createElement(x,null,t.createElement(v,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},s)),null==o?void 0:o.slice(0,6).map(((e,a)=>{const o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${l}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return t.createElement(U,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,href:o},!yt(o)&&{target:"_blank"},{"data-theme":r,key:a,onClick:n}),t.createElement("div",{className:"icon"},t.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),t.createElement(ka,{isNew:e.isNew},t.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),t.createElement($,null,t.createElement("img",{src:$e.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&t.createElement(R,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},t.createElement(I,{onClick:n,"data-theme":r,"data-is-heading-category":!1},a,t.createElement(O,null,t.createElement("img",{className:"svg",src:"marryBaby"===r?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},Pa=({item:e,index:a=0})=>{var l;const{t:n}=Je(),{locale:o,configs:{statics:s}}=i(H);if(!e)return null;const r=`${s.CARE_URL_FE}/${null===(l=mt[o])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return t.createElement(j,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${a+1}`,"data-event-label":r},t.createElement("img",{src:$e.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),t.createElement(F,null,t.createElement(D,null,t.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),t.createElement(z,null,t.createElement(V,null,e.name),t.createElement(G,null,e.description),t.createElement(W,null,n("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Na=({title:e,link:a,description:l,cta:n,icon:o})=>{const{siteType:s}=i(H);return t.createElement(K,{"data-theme":s},t.createElement(Y,null,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("navMBSpotlightBgNoData.svg"):$e.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(q,null,o&&t.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),t.createElement("div",null,e&&t.createElement(Z,null,e),l&&t.createElement(Q,null,l),n&&t.createElement("div",null,t.createElement("a",{href:a},t.createElement(st,{theme:s,className:"survey-contact-submit",size:"md"},n)))))},Ma=({title:e,viewMore:a,children:l,link:n,dataEventAction:o=""})=>{const{siteType:s}=i(H);return t.createElement(J,null,t.createElement(X,null,t.createElement(v,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&t.createElement(ee,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":n,href:n,"data-theme":s},a,t.createElement("img",{src:"marryBaby"===s?$e.getAssetPath("chevronRightPink.svg"):$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},_a=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{siteType:n}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?t.createElement(t.Fragment,null,t.createElement(te,null,null==e?void 0:e.slice(0,3).map(((e,a)=>t.createElement(Pa,{key:a,index:a,item:e})))),t.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},t.createElement("a",{href:a},t.createElement(st,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):t.createElement(Na,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:a,cta:l("home.navigator.menu.care.homeButton"),icon:$e.getAssetPath("community.svg")}))},Aa=({item:e,index:a=0})=>e?t.createElement(ae,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${a+1}`,"data-event-label":e.link},t.createElement(le,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),t.createElement(ne,null,e.title)):null,Ta=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=Je(),{configs:{statics:n}}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlights"),viewMore:l("home.navigator.menu.spotlights.seeAll"),link:a,dataEventAction:"Spotlight See More Click"},0!==e.length?t.createElement(oe,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(Aa,{key:a,index:a,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):t.createElement(Na,{title:l("home.navigator.menu.category.noDatas.title"),description:l("home.navigator.menu.category.noDatas.description"),link:a,cta:l("home.navigator.menu.category.noDatas.cta"),icon:$e.getAssetPath("Spotlight.svg")}))},La=({spotlights:e=[]})=>{const{configs:{statics:a}}=i(H),{t:l}=Je();return t.createElement(Ma,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:Ve(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?t.createElement(ie,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(se,{index:a,post:e,key:e.id})))):t.createElement(Na,{title:l("home.navigator.menu.together.noPosts.title"),description:l("home.navigator.menu.together.noPosts.description"),link:`${a.HOME_PAGE_URL}/community/`,cta:l("home.navigator.menu.together.noPosts.cta"),icon:$e.getAssetPath("community.svg")}))},Ha=({item:e,index:a=0})=>{const{t:l}=Je(),{configs:{statics:n}}=i(H);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return t.createElement(re,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":o},t.createElement("img",{src:$e.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(ce,null,t.createElement(me,null,e.title),t.createElement(ue,null,e.subtitle),t.createElement(de,null,l("home.seeMore"),t.createElement("img",{src:$e.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),t.createElement(ge,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Sa=({item:e,index:a=0,color:l})=>{const{t:n}=Je(),{configs:{statics:o}}=i(H);if(!e)return null;const s=e.link?e.link.startsWith("http")?e.link:`${o.HOME_PAGE_URL}${e.link}`:void 0,r=()=>t.createElement(pe,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>t.createElement(Ee,null,t.createElement(ye,null,t.createElement(be,null,e.title),t.createElement(Ce,null,e.subtitle)),t.createElement(fe,null,t.createElement("div",{className:"mobile-only"},n("home.seeMore")),t.createElement("img",{src:$e.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return t.createElement(he,{href:s,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":s,"data-color":l},t.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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"})),t.createElement("img",{src:$e.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),t.createElement(ve,null,t.createElement("div",{className:"mobile-only"},r()),t.createElement("div",{className:"desktop-only"},c())),t.createElement("div",{className:"mobile-only"},c()),t.createElement("div",{className:"desktop-only"},r()))},Ba=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=Je(),n=["pink","orange","green"],{siteType:o}=i(H);return t.createElement(Ma,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&t.createElement(ke,null,null==a?void 0:a.slice(0,3).map(((e,a)=>"marryBaby"===o?t.createElement(Sa,{key:a,index:a,item:e,color:n[a]}):t.createElement(Ha,{key:a,index:a,item:e})))),0===a.length&&t.createElement(Na,{title:l("home.navigator.menu.healthTools.noDatas.title"),description:l("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:l("home.navigator.menu.healthTools.noDatas.cta"),icon:$e.getAssetPath("community.svg")}))},xa=({closePopup:e,menuItems:a=[]})=>{var l,n;const{siteType:o,ssrMenuContent:{categories:s,healthTools:r,care:c,together:m},activeMenuService:u,configs:{statics:d,enableSearchBar:g},locale:h}=i(H),{t:v}=Je();return t.createElement(we,{id:"categories-menu"},g?t.createElement(Pe,{"data-theme":o,onClick:()=>{window.location.href=`${d.HOME_PAGE_URL}/search`}},t.createElement(Ea,null)):null,t.createElement(Ne,null,t.createElement(wa,{UrlFE:d.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:a,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===u&&t.createElement(Ta,{spotlightsList:(null==s?void 0:s.spotlights)||[],hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===u&&t.createElement(Ba,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(l=Oe[h])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&t.createElement(_a,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=mt[h])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&t.createElement(La,{spotlights:null==m?void 0:m.spotlights})))},Ua=({type:e="home",menuItems:a})=>{const{siteType:l,configs:{enableSearchBar:n}}=i(H),{containerRef:o,onContainerFocus:s,onContainerBlur:r,onButtonMouseDown:c,onClose:m}=wt();return t.createElement(kt,{mediaQueryKey:"mbDown"},t.createElement("header",{className:da},t.createElement("div",{className:ga,ref:o,role:"button",tabIndex:0,onBlur:r,onFocus:s},t.createElement("div",{className:ha,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},t.createElement(va,{className:"mobile-close-icon"}),t.createElement(pa,{siteType:l,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),t.createElement(xa,{menuItems:a,closePopup:m}))))};var $a="q3nL5cp",Ra="_2DNf80G",Ia="Q-glX-n";const Oa=({onClosePopup:e})=>t.createElement("div",{className:`${Ia} close-btn`,onClick:e},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),ja=({onClosePopup:e,isDisplay:a,children:l,isNavMenu:n,hideCloseBtn:o})=>t.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!a,"data-is-nav-menu":!!n},t.createElement(at,null,!o&&t.createElement("div",{className:Ra},t.createElement(Oa,{onClosePopup:e})),t.createElement(at,{className:$a},l))),Fa=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:n=[]})=>{var o;const{t:s}=Je(),{locale:r,configs:{statics:c}}=i(H);return t.createElement(ja,{onClosePopup:l,isDisplay:a,isNavMenu:!0},t.createElement(wa,{headingTitle:s("home.navigator.menuItem.specialties"),hrefViewMore:`${c.CARE_URL_FE}/`,UrlFE:c.CARE_URL_FE,onClosePopup:l,titleBtnViewMore:s("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:aa({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),t.createElement(_a,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(o=mt[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},Da=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:n})=>{const{t:o}=Je(),{locale:s,configs:{statics:r}}=i(H);return t.createElement(ja,{onClosePopup:l,isDisplay:n,isNavMenu:!0},t.createElement(wa,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:l,titleBtnViewMore:o("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:o("home.navigator.menuItem.healthCategories")}),t.createElement(Ta,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/spotlight/`}))},za=({communities:e=[],onClose:a,isOpen:l,spotlights:n=[]})=>{const{t:o}=Je(),{configs:{statics:s}}=i(H);return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:Ve(s.TOGETHER_URL_FE),UrlFE:ze(s.TOGETHER_URL_FE),onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:o("home.navigator.menuItem.allCommunitiesheadingTitle")}),t.createElement(La,{spotlights:n}))},Va=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:n=[],healthTools:o=[]})=>{var s;const{t:r}=Je(),{configs:{statics:c}}=i(H),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(s=Oe[e])||void 0===s?void 0:s.HEALTH_TOOLS)||""}`;return t.createElement(ja,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(wa,{hrefViewMore:m,UrlFE:c.HOME_PAGE_URL,onClosePopup:a,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:o.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${c.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),t.createElement(Ba,{spotlightHealthTools:n,hrefViewMore:m}))},Ga=({onTopBarAppears:e,type:n="home",languageMenu:r,menuItems:c})=>{var m;const{siteType:u,isMobile:d=!1,locale:g,sitewideBanner:h,sitewideBannerShown:v=!0,sponsorComponent:p,onBookingClick:E,currentUrl:y,onLoginClick:b,configs:{statics:C,enableNavCareBooking:f,enableSearchBar:k,enableNavCare:w,enableProfileMyHealth:P,enableProfileMySaved:N,enableNavTogether:M,enableProfileEcom:_,enableProfileNavigatorMenu:A},userState:{userInfo:T},onLogout:L,userProfileRouterPush:S,isUserLoading:B}=i(H),{t:x}=Je(),{SSO_URL:U,HOME_PAGE_URL:$}=C,R=!!p,[I,O]=a(!1),j=o(47),F=o(null),D=o(!1),z="helloSites"===u?null===(m=Ie[g])||void 0===m?void 0:m.LOGO_TYPE:u,V="undefined"!=typeof window,G=s(Xe((()=>{if("home"===n&&V){if(!F.current)return;const e=F.current.getBoundingClientRect();e.top<=0&&window.scrollY>j.current&&window.scrollY>e.height+20&&!D.current&&(D.current=!0,O(!0)),window.scrollY<j.current&&D.current&&(D.current=!1,O(!1)),window.scrollY>=0&&(j.current=window.scrollY)}}),200),[]);l((()=>{null==e||e(!I)}),[I]),l((()=>(window.addEventListener("scroll",G,{passive:!0}),()=>{window.removeEventListener("scroll",G)})),[]),l((()=>{d&&G()}),[d]);const W=v&&!!h;return t.createElement(Me,{"data-site-type":u,"data-sponsored":R,"data-sitewide-banner-shown":W,"data-header-type":n,"data-collapsed":I,"data-with-search-input":"popup-sub-level"!==n,"data-is-displayed":!0,id:"site-header",ref:F},h,t.createElement(_e,{"data-site-type":u},t.createElement(Ae,{"data-site-type":u},t.createElement(Ua,{menuItems:c,type:n}),t.createElement("a",{style:{flexShrink:0},href:$},t.createElement(Te,null,t.createElement(Qe,{style:{display:"flex"},type:z,badge:"id-ID"===g&&t.createElement("img",{src:$e.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===u?t.createElement(Ka,{menuItems:c}):k&&t.createElement(Wa,{siteType:u})),t.createElement(Le,{"data-site-type":u},"marryBaby"===u?k&&t.createElement(Wa,{siteType:u}):t.createElement(Ka,{menuItems:c}),t.createElement(He,null,f&&t.createElement(kt,{mediaQueryKey:"mbUp"},t.createElement(ua,{careUrlFe:C.CARE_URL_FE,currentUrl:y,btnName:x("login.booking"),onCareHeaderClick:E})),r,t.createElement(ra,{userInfo:T,siteType:u,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=U?ze(`${U}?returnUrl=${e}`):e}),SSO_URL:Ve(C.SSO_URL),currentUrl:y,onLogout:L,UP_BASEPATH:je,isMyHealthEnabled:P,enableCare:w,enableTogether:M,enableEcom:_,enableMySaved:N,togetherApiDomain:Ve(C.TOGETHER_API),isUserProfileNavigatorMenuHidden:!A,userProfileRouterPush:S,isLoading:B,locale:g})))),p?t.isValidElement(p)?t.cloneElement(p,{isCollapsed:I,locale:g,isMobile:d}):p:null)},Wa=({siteType:e})=>t.createElement(kt,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},t.createElement(Ea,null)),Ka=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:n,healthTools:o,care:s,together:r}}=i(H);return t.createElement(kt,{mediaQueryKey:"mbUp",style:{height:"100%"}},t.createElement(Se,{"data-site-type":a},null==e?void 0:e.map(((e,a)=>t.createElement(fa,{key:a,item:e,menu:"categories"===e.popupType?t.createElement(Da,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?t.createElement(Va,{locale:l,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?t.createElement(za,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?t.createElement(Fa,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})))))},Ya=e=>{var r,c;const{isMobile:m,locale:u,onTopBarAppears:d,languageOptions:g,sponsorComponent:h,sitewideBanner:v,sitewideBannerShown:p,className:E}=e,y=(()=>{const{t:e}=Je(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:s,enableNavTogether:r,enableNavEcom:c,statics:m}}=i(H),u="marryBaby"===t;return n((()=>{var t;const n=[];return l&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:u?$e.getAssetPath("categories-mb.svg"):$e.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${m.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=Oe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:u?$e.getAssetPath("healthtools-mb.svg"):$e.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:ze(m.TOGETHER_URL_FE+"/"),thumbnail:u?$e.getAssetPath("community-mb.svg"):$e.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:ze(m.HOME_PAGE_URL+"/shop"),thumbnail:$e.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&n.push({name:"ms-MY"===a?"📍 Temui Klinik Terdekat":e("home.navigator.menuItem.helloCare"),id:"care",link:ze("ms-MY"===a?m.HOME_PAGE_URL+"/care/current-location/hospital/":m.HOME_PAGE_URL+"/care"),thumbnail:$e.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,s,r,c])})();(()=>{const{isFirstLogin:e,userState:t}=i(H),{userInfo:a}=t;l((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const b=p&&!!v,C=!!h,f=!!(null===(c=null===(r=null==h?void 0:h.props)||void 0===r?void 0:r.sponsoredBy)||void 0===c?void 0:c.length),{headerRef:k,defaultHeaderHeight:w,headerHeight:P,headerBottom:N}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:i,isMobile:r})=>{const c=o(null),[m,u]=a(0),[d,g]=a(64),h=s(ct((()=>{var e,t,a,l;const n=(null===(e=c.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=c.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=n+200&&(u(n),g((null===(l=c.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||m))}),200),[]);l((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),l((()=>{h()}),[r,i,t,e,c.current]);const v=n((()=>{let a=r?64:69;return i&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[r,i,e,t]);return{defaultHeaderHeight:v,headerHeight:m||v,headerBottom:d,headerRef:c}})({isShowingSiteWideBanner:b,isSponsored:C,hasSponsoredBanners:f,isMobile:m});return t.createElement(xe,{id:"navigation-v2",style:{"--default-header-height":w+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":N+"px"},className:E},t.createElement("section",{ref:k},t.createElement(Ga,{menuItems:y,type:"home",onTopBarAppears:d,languageMenu:t.createElement(Ct,{languageOptions:g,locale:u})})))},qa=e=>{const a=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return t.createElement(Be,Object.assign({},a),t.createElement(Ya,Object.assign({},a)))},Za=t=>e(void 0,void 0,void 0,(function*(){var e,a,l,n,o,i,s,r,c,m,u,d,g,h,v,p,E,y,b,C,f;const k={},w="vi-VN_MB"===t;try{const P="tl-PH"===t?"lang=fil":"";try{const[u,d,g,h]=yield Promise.all([fetch(ze(`${Ge(t)}/wp-json/api/categories${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${P?"&"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}${P?"?"+P:""}`)).then((e=>e.json())),fetch(ze(`${Ge(t)}/wp-json/api/${w?"health-tools":"healthtools"}/favorites${P?"?"+P:""}`)).then((e=>e.json()))]);k.categories={items:(null===(a=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,Jt))||[],spotlights:(null===(i=null===(o=null===(n=null===(l=null==d?void 0:d.data)||void 0===l?void 0:l.articles)||void 0===n?void 0:n.map)||void 0===o?void 0:o.call(n,la))||void 0===i?void 0:i.filter(na))||[]},k.healthTools={items:(null===(r=null===(s=null==g?void 0:g.data)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,Xt))||[],spotlights:(null===(m=null===(c=null==h?void 0:h.data)||void 0===c?void 0:c.map)||void 0===m?void 0:m.call(c,Xt))||[]}}catch(e){}if(w||Fe.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(`${We()}/api/v1/community?website_url=https://${Re[t]}`)).then((e=>e.json())),fetch(ze(`${We()}/api/v1/options?website_url=https://${Re[t]}&meta_key=popular_post`)).then((e=>e.json()))]);k.together={items:(null===(g=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.communities)||void 0===d?void 0:d.map)||void 0===g?void 0:g.call(d,qe))||[],spotlights:(null===(p=null===(v=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===v?void 0:v.map)||void 0===p?void 0:p.call(v,Ze))||[]}}catch(e){}if(De.includes(t))try{const[e,a]=yield Promise.all([fetch(ze(Ke()+`/api/specialties?_ishome=1&site=${Re[t]}`)).then((e=>e.json())),fetch(ze(Ke()+`/api/search/?site=${Re[t]}&type=hospital&order_by=total_doctor`)).then((e=>e.json()))]);k.care={items:(null===(b=null===(y=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.specialties)||void 0===y?void 0:y.map)||void 0===b?void 0:b.call(y,ea))||[],spotlights:(null===(f=null===(C=null==a?void 0:a._data.searches)||void 0===C?void 0:C.map)||void 0===f?void 0:f.call(C,ta))||[]}}catch(e){}}catch(e){console.error(e)}return k})),Qa=t=>e(void 0,void 0,void 0,(function*(){return(yield r("nav-menu-content",(()=>Za(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{pt as A,Ct as L,qa as N,ia as P,oa as U,Qa as a,Ht as b,Qt as c,sa as d,ra as e,Za as g,yt as i};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-1a8e085c.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:c="regular",className:o,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${o||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),d)};export{s as T};
1
+ import{_ as a}from"./tslib.es6-555d79f5.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),d)};export{s as T};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-1a8e085c.js";import t from"react";var e="P03rcnV",o="LsvykAk",d="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:g,className:P,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:w,dataEventAction:f,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":w,"data-event-action":f,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:o},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${P||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:g,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:d},N&&b||y),"right"===E&&W))};export{l as B};
1
+ import{_ as a}from"./tslib.es6-555d79f5.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:g,className:P,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:w,dataEventAction:f,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":w,"data-event-action":f,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${P||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:g,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:o},N&&b||y),"right"===E&&W))};export{l as B};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-555d79f5.js";import t from"react";import{S as a,a as s}from"./index-a8e48a82.js";const r=s=>{var{type:r,color:o,style:l}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},o&&{"--text-color":o}),l)},c))},o=a=>{var{type:r,color:o,style:l}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({"data-type":r,style:Object.assign(Object.assign({},l),o&&{"--text-color":o})},c))};export{o as M,r as a};
@@ -1,4 +1,4 @@
1
- import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s,forwardRef as l}from"react";import{createStyles as d,useMantineTheme as c,getStylesRef as p,Box as h}from"@mantine/core";import m,{keyframes as u,css as g}from"styled-components";import{M as f}from"./screenSizeContext-89147b3b.js";import{L as b}from"./index-d671ac3c.js";import{T as x}from"./index-c1a317b2.js";import{B as y}from"./index-820ae7d8.js";import{Z as v,H as w,T as k,_ as E,$ as C,a0 as S,a1 as $,P as D,E as _,B as T}from"./utils-11d4f935.js";import{I}from"./index-0619ee9f.js";import{_ as z}from"./tslib.es6-1a8e085c.js";import N from"dayjs";import{t as P}from"./theme-93696046.js";import"./index-bd6a4ca0.js";import"./isProduction-34a6c6ba.js";import{G as A,L as B}from"./Onboarding-d35e67b9.js";import{CommonGAssets as j}from"./gAssets.js";import"@mantine/dates";import"./translationsContext-0b30bdbf.js";import"string-format";import"./index-635f7e1e.js";import"@mantine/hooks";import{yupResolver as O}from"@hookform/resolvers/yup";import{useForm as M,Controller as L}from"react-hook-form";import{C as F,L as U,I as R}from"./index-3424374c.js";import{B as q,D as H}from"./index-af288c07.js";import{u as V}from"./useTranslations-e20dad0f.js";import{format as W,addDays as G}from"date-fns";import{M as Z}from"./index-0ca7274b.js";import{S as Y}from"./index-2622672d.js";import"lodash/debounce";import{D as X}from"./types-0d0edd0c.js";import J from"react-day-picker/DayPickerInput";const K=({type:t,size:i="small",label:a,name:n,checked:o,value:r,className:s,isDisabled:l=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h})=>{const m=!!p&&!!c&&!!h?{"data-event-category":c,"data-event-action":p,"data-event-label":h}:{};return e.createElement(v,{"data-disabled":l,className:s,"data-type":t,"data-size":i},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),e.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},m)),a))},Q=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ee=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),te=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var ie=d(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ae=m.a`
1
+ import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s,forwardRef as l}from"react";import{createStyles as d,useMantineTheme as c,getStylesRef as p,Box as h}from"@mantine/core";import m,{keyframes as u,css as g}from"styled-components";import{M as f}from"./screenSizeContext-11b9f601.js";import{L as b}from"./index-126310ad.js";import{T as x}from"./index-d4cb12b8.js";import{B as y}from"./index-e44a679a.js";import{Z as v,H as w,T as k,_ as E,$ as C,a0 as S,a1 as $,P as D,E as _,B as T}from"./utils-c1b716a1.js";import{I}from"./index-61fa790d.js";import{_ as z}from"./tslib.es6-555d79f5.js";import N from"dayjs";import{t as P}from"./theme-e8bef3f3.js";import"./index-982bf4b1.js";import"./isProduction-467296eb.js";import{G as A,L as B}from"./Onboarding-ee515ace.js";import{CommonGAssets as j}from"./gAssets.js";import"@mantine/dates";import"./translationsContext-9cc0272d.js";import"string-format";import"./index-a8e48a82.js";import"@mantine/hooks";import{yupResolver as O}from"@hookform/resolvers/yup";import{useForm as M,Controller as L}from"react-hook-form";import{C as F,L as U,I as R}from"./index-f713598c.js";import{B as q,D as H}from"./index-ab9cd3fe.js";import{u as V}from"./useTranslations-066a0f88.js";import{format as W,addDays as G}from"date-fns";import{M as Z}from"./index-e6065f28.js";import{S as Y}from"./index-0a52bf51.js";import"lodash/debounce";import{D as X}from"./types-dd79175e.js";import J from"react-day-picker/DayPickerInput";const K=({type:t,size:i="small",label:a,name:n,checked:o,value:r,className:s,isDisabled:l=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h})=>{const m=!!p&&!!c&&!!h?{"data-event-category":c,"data-event-action":p,"data-event-label":h}:{};return e.createElement(v,{"data-disabled":l,className:s,"data-type":t,"data-size":i},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),e.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},m)),a))},Q=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ee=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),te=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var ie=d(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ae=m.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4