@hhgtech/hhg-components 1.27.62 → 1.27.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/build/babyGrowth.js +122 -17
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/flag/index.d.ts +2 -1
  5. package/build/components/atoms/index.d.ts +0 -4
  6. package/build/components/{atoms → babyGrowth/babyGrowthChooseProfileDrawer}/newBabyProfileRadio/index.d.ts +1 -1
  7. package/build/components/mantine/phone/index.helpers.d.ts +0 -2
  8. package/build/components.js +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/{core-ed57d5b7.js → core-36b70a72.js} +1 -1
  11. package/build/{dataTransform-3239bfec.js → dataTransform-fb9d2eaa.js} +1 -1
  12. package/build/ecom.js +1 -1
  13. package/build/esm/babyGrowth.js +122 -17
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care.js +1 -1
  16. package/build/esm/components/atoms/flag/index.d.ts +2 -1
  17. package/build/esm/components/atoms/index.d.ts +0 -4
  18. package/build/esm/components/{atoms → babyGrowth/babyGrowthChooseProfileDrawer}/newBabyProfileRadio/index.d.ts +1 -1
  19. package/build/esm/components/mantine/phone/index.helpers.d.ts +0 -2
  20. package/build/esm/components.js +1 -1
  21. package/build/esm/constants.js +1 -1
  22. package/build/esm/{core-68a9d98a.js → core-26252874.js} +1 -1
  23. package/build/esm/{dataTransform-97e4d293.js → dataTransform-584a8942.js} +1 -1
  24. package/build/esm/ecom.js +1 -1
  25. package/build/esm/fixedBottomAdBlock-60979769.js +1 -0
  26. package/build/esm/footer.js +1 -1
  27. package/build/esm/gAssets.js +1 -1
  28. package/build/esm/getDynamicHealthTool-5a5304d0.js +1 -0
  29. package/build/esm/{getSocialList-c8298308.js → getSocialList-964f1d26.js} +1 -1
  30. package/build/esm/hooks.js +1 -1
  31. package/build/esm/i18n.js +1 -1
  32. package/build/esm/i18nV2.js +1 -1
  33. package/build/esm/{index-ba4bde77.js → index-03812bdc.js} +1 -1
  34. package/build/esm/{index-f93a4f7a.js → index-0c9bddd5.js} +1 -1
  35. package/build/esm/{index-684133d2.js → index-0da327c2.js} +1 -1
  36. package/build/esm/index-0f134243.js +1 -0
  37. package/build/esm/index-1d68ad86.js +1 -0
  38. package/build/esm/{index-8ff39caf.js → index-1edc629f.js} +1 -1
  39. package/build/esm/index-2c89ccd4.js +1 -0
  40. package/build/esm/{index-08f0cf74.js → index-33b4eeca.js} +1 -1
  41. package/build/esm/index-3cd612ba.js +1 -0
  42. package/build/esm/{index-2ff653b5.js → index-5568265c.js} +1 -1
  43. package/build/esm/index-5b595e94.js +53 -0
  44. package/build/esm/{index-f9fb7108.js → index-7b18af53.js} +1 -1
  45. package/build/esm/{index-5cfdaa22.js → index-7c07fc3f.js} +1 -1
  46. package/build/esm/index-85277962.js +1 -0
  47. package/build/esm/{index-72a93e65.js → index-a4cd52e2.js} +1 -1
  48. package/build/esm/{index-9702a35f.js → index-a965ea18.js} +1 -1
  49. package/build/esm/{index-22d6fc10.js → index-b54d6ed4.js} +1 -1
  50. package/build/esm/{index-809f539e.js → index-b8de3b3e.js} +1 -1
  51. package/build/esm/{index-30e03a57.js → index-c048cc84.js} +1 -1
  52. package/build/esm/index-c6368912.js +1 -0
  53. package/build/esm/{index-2222b966.js → index-ddcb3128.js} +6 -6
  54. package/build/esm/index-fab041f7.js +1 -0
  55. package/build/esm/index.css +1 -1
  56. package/build/esm/index.js +1 -1
  57. package/build/esm/{index.styled-bb0e8f22.js → index.styled-3ecad288.js} +5 -5
  58. package/build/esm/{index.styled-4cfbee8b.js → index.styled-80ad3b8e.js} +5 -5
  59. package/build/esm/{index.styled-351754ba.js → index.styled-e5feba36.js} +1 -1
  60. package/build/esm/lead.js +1 -1
  61. package/build/esm/mantine.js +1 -1
  62. package/build/esm/misc.js +1 -1
  63. package/build/esm/navigation.js +1 -1
  64. package/build/esm/onboarding.js +1 -1
  65. package/build/esm/onboardingV2.js +15 -15
  66. package/build/esm/pwg.js +1 -1
  67. package/build/esm/{routing-a5352b40.js → routing-eb8a078e.js} +1 -1
  68. package/build/esm/{screenSizeContext-491c78ad.js → screenSizeContext-3337bf90.js} +3 -3
  69. package/build/esm/together.js +1 -1
  70. package/build/esm/{types-13eef9c1.js → types-30d034e9.js} +38 -38
  71. package/build/esm/{types-3618dc5f.js → types-89cc0ffb.js} +13 -13
  72. package/build/esm/types.js +1 -1
  73. package/build/esm/useHealthToolCache-c4e915e2.js +1 -0
  74. package/build/esm/{useRafState-60354a42.js → useRafState-a399c00f.js} +1 -1
  75. package/build/esm/useTranslations-16eca5b5.js +1 -0
  76. package/build/esm/{utils-3b0f0e5d.js → utils-588386e1.js} +1 -1
  77. package/build/esm/{utils-a9bb3a5c.js → utils-e90f7b7a.js} +86 -191
  78. package/build/esm/vaccination.js +4 -4
  79. package/build/{fixedBottomAdBlock-2466257c.js → fixedBottomAdBlock-5d31f76e.js} +1 -1
  80. package/build/footer.js +1 -1
  81. package/build/gAssets.js +1 -1
  82. package/build/{getDynamicHealthTool-a5d0b199.js → getDynamicHealthTool-6034f06a.js} +1 -1
  83. package/build/{getSocialList-11d11fc4.js → getSocialList-378966a9.js} +1 -1
  84. package/build/hooks.js +1 -1
  85. package/build/i18n.js +1 -1
  86. package/build/i18nV2.js +1 -1
  87. package/build/{index-17912d82.js → index-27b37035.js} +1 -1
  88. package/build/{index-f45e018d.js → index-2a4ce365.js} +1 -1
  89. package/build/{index-e67aa8cc.js → index-33b0c279.js} +1 -1
  90. package/build/{index-91ea9353.js → index-38402874.js} +1 -1
  91. package/build/index-3daba579.js +1 -0
  92. package/build/{index-67b07569.js → index-4ab65948.js} +1 -1
  93. package/build/{index-21266c39.js → index-509a0b0a.js} +1 -1
  94. package/build/index-53e8f11c.js +1 -0
  95. package/build/{index-88888ef8.js → index-5ca35179.js} +1 -1
  96. package/build/{index-535692c1.js → index-5ee72b9c.js} +1 -1
  97. package/build/{index-aade58db.js → index-63b91e27.js} +1 -1
  98. package/build/index-70171072.js +1 -0
  99. package/build/{index-a42c1126.js → index-75eccc5e.js} +1 -1
  100. package/build/index-7c68db10.js +1 -0
  101. package/build/{index-450e3bcc.js → index-7de88c1c.js} +1 -1
  102. package/build/{index-a122a222.js → index-973817ad.js} +1 -1
  103. package/build/{index-c33e5fa0.js → index-9a15f4f9.js} +1 -1
  104. package/build/{index-c2be3c89.js → index-9c887f7f.js} +1 -1
  105. package/build/{index-8e2cf832.js → index-a28a6d36.js} +1 -1
  106. package/build/{index-c53111fa.js → index-a44d34cc.js} +2 -2
  107. package/build/{index-7cae7cfb.js → index-ad80e678.js} +1 -1
  108. package/build/{index-486e1255.js → index-ecfef562.js} +1 -1
  109. package/build/index.css +1 -1
  110. package/build/index.js +1 -1
  111. package/build/{index.styled-87d5668d.js → index.styled-2f40cf9b.js} +1 -1
  112. package/build/{index.styled-546da2a3.js → index.styled-4dba8b73.js} +3 -3
  113. package/build/{index.styled-e21a03f7.js → index.styled-69804a49.js} +5 -5
  114. package/build/lead.js +1 -1
  115. package/build/mantine.js +1 -1
  116. package/build/misc.js +1 -1
  117. package/build/navigation.js +1 -1
  118. package/build/onboarding.js +1 -1
  119. package/build/onboardingV2.js +1 -1
  120. package/build/pwg.js +2 -2
  121. package/build/{routing-e1293a44.js → routing-02efe154.js} +1 -1
  122. package/build/{screenSizeContext-b12b1126.js → screenSizeContext-6187e101.js} +3 -3
  123. package/build/together.js +1 -1
  124. package/build/{types-fcc3b33c.js → types-1c50147e.js} +1 -1
  125. package/build/{types-e739b7e5.js → types-9313bf01.js} +1 -1
  126. package/build/types.js +1 -1
  127. package/build/{useHealthToolCache-5df64ef0.js → useHealthToolCache-a6b67a0b.js} +1 -1
  128. package/build/{useRafState-6c740aa4.js → useRafState-2d31dfc5.js} +1 -1
  129. package/build/{useTranslations-3a12f7f4.js → useTranslations-5cc61c9f.js} +1 -1
  130. package/build/{utils-f24f30a2.js → utils-26319b1a.js} +70 -175
  131. package/build/{utils-03bb818c.js → utils-bcdb95ca.js} +1 -1
  132. package/build/vaccination.js +1 -1
  133. package/package.json +1 -1
  134. package/build/esm/fixedBottomAdBlock-f18e85d4.js +0 -1
  135. package/build/esm/getDynamicHealthTool-8974c573.js +0 -1
  136. package/build/esm/index-4d5ae1fa.js +0 -53
  137. package/build/esm/index-5c0bcbff.js +0 -1
  138. package/build/esm/index-6d5d9daa.js +0 -1
  139. package/build/esm/index-7d937042.js +0 -1
  140. package/build/esm/index-9428763e.js +0 -1
  141. package/build/esm/index-b26629ef.js +0 -1
  142. package/build/esm/index-c5489dc0.js +0 -1
  143. package/build/esm/index-cf0b326d.js +0 -1
  144. package/build/esm/useHealthToolCache-f4e0e409.js +0 -1
  145. package/build/esm/useTranslations-fa0feb0e.js +0 -1
  146. package/build/index-3dce5c4d.js +0 -1
  147. package/build/index-70c4567f.js +0 -1
  148. package/build/index-ed4f3133.js +0 -1
  149. package/build/index-f819dbd6.js +0 -1
  150. /package/build/{BMI_BOYS.percentile.monthly-68c42a4b.js → BMI_BOYS.percentile.monthly-883a7d5d.js} +0 -0
  151. /package/build/{BMI_BOYS.percentile.weekly-f606d0bd.js → BMI_BOYS.percentile.weekly-3431cbf3.js} +0 -0
  152. /package/build/{BMI_BOYS.percentile.yearly-833b27ca.js → BMI_BOYS.percentile.yearly-d18e4941.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.monthly-f8f30b8c.js → BMI_BOYS.zscore.monthly-7b6a101a.js} +0 -0
  154. /package/build/{BMI_BOYS.zscore.weekly-ddd56d75.js → BMI_BOYS.zscore.weekly-a5217019.js} +0 -0
  155. /package/build/{BMI_BOYS.zscore.yearly-61c548df.js → BMI_BOYS.zscore.yearly-11ef12f2.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.monthly-6715ad32.js → BMI_GIRLS.percentile.monthly-f5e716c3.js} +0 -0
  157. /package/build/{BMI_GIRLS.percentile.weekly-90cebd21.js → BMI_GIRLS.percentile.weekly-398b5137.js} +0 -0
  158. /package/build/{BMI_GIRLS.percentile.yearly-ad487b48.js → BMI_GIRLS.percentile.yearly-180759a7.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.monthly-31e92c9c.js → BMI_GIRLS.zscore.monthly-b10cdadc.js} +0 -0
  160. /package/build/{BMI_GIRLS.zscore.weekly-7a2e8766.js → BMI_GIRLS.zscore.weekly-1d938a35.js} +0 -0
  161. /package/build/{BMI_GIRLS.zscore.yearly-0e36f06e.js → BMI_GIRLS.zscore.yearly-bae676a9.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bc5bcde9.js → HEAD CIRCUM_BOYS.percentile.monthly-eaf2fb40.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8656f36b.js → HEAD CIRCUM_BOYS.percentile.weekly-61326f41.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d9b77124.js → HEAD CIRCUM_BOYS.percentile.yearly-babe5336.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-9ff50353.js → HEAD CIRCUM_BOYS.zscore.monthly-103f72d4.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-a611f88c.js → HEAD CIRCUM_BOYS.zscore.weekly-aa255ea6.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2984e847.js → HEAD CIRCUM_BOYS.zscore.yearly-49964835.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d4ee16ca.js → HEAD CIRCUM_GIRLS.percentile.monthly-0f804779.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-66086383.js → HEAD CIRCUM_GIRLS.percentile.weekly-42269a91.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ca066739.js → HEAD CIRCUM_GIRLS.percentile.yearly-477b46d4.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-56e9e4c6.js → HEAD CIRCUM_GIRLS.zscore.monthly-c8349198.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-361272fe.js → HEAD CIRCUM_GIRLS.zscore.weekly-effd5b38.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e2af913b.js → HEAD CIRCUM_GIRLS.zscore.yearly-ff63ab65.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.percentile.monthly-d1b3481d.js → HEIGHT_BOYS.percentile.monthly-100312ef.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.percentile.weekly-9baa4346.js → HEIGHT_BOYS.percentile.weekly-25804e10.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.yearly-83e29938.js → HEIGHT_BOYS.percentile.yearly-790abaab.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.zscore.monthly-41266898.js → HEIGHT_BOYS.zscore.monthly-1937cd05.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.zscore.weekly-bbea8902.js → HEIGHT_BOYS.zscore.weekly-b30e141c.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.yearly-120013b0.js → HEIGHT_BOYS.zscore.yearly-b206a8f2.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.percentile.monthly-07fa7800.js → HEIGHT_GIRLS.percentile.monthly-2e0489e9.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.percentile.weekly-e070c484.js → HEIGHT_GIRLS.percentile.weekly-4d76b68d.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.yearly-e67ad19e.js → HEIGHT_GIRLS.percentile.yearly-2bd725ca.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.zscore.monthly-f7802ad1.js → HEIGHT_GIRLS.zscore.monthly-e3a97b8c.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.zscore.weekly-ce6f6d34.js → HEIGHT_GIRLS.zscore.weekly-26aa77b5.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.yearly-251d9d2b.js → HEIGHT_GIRLS.zscore.yearly-25699d17.js} +0 -0
  186. /package/build/{Onboarding-20c7c4cf.js → Onboarding-5e479463.js} +0 -0
  187. /package/build/{Visible-c1a5f7fc.js → Visible-963cc805.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.percentile.monthly-cda6d708.js → WEIGHT_BOYS.percentile.monthly-f5ec350e.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.percentile.weekly-b7297501.js → WEIGHT_BOYS.percentile.weekly-d3225a3e.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.percentile.yearly-6b0d1320.js → WEIGHT_BOYS.percentile.yearly-90a29085.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.zscore.monthly-5de18c77.js → WEIGHT_BOYS.zscore.monthly-57ac1f4c.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.zscore.weekly-9e48f3c9.js → WEIGHT_BOYS.zscore.weekly-efc0c806.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.zscore.yearly-05899c32.js → WEIGHT_BOYS.zscore.yearly-cf3d5e7f.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.percentile.monthly-62e802cc.js → WEIGHT_GIRLS.percentile.monthly-58c7aa25.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.percentile.weekly-a2e1ad51.js → WEIGHT_GIRLS.percentile.weekly-117867ba.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.percentile.yearly-6ed8a188.js → WEIGHT_GIRLS.percentile.yearly-e52005a0.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.zscore.monthly-6bb76633.js → WEIGHT_GIRLS.zscore.monthly-cb0632b8.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.zscore.weekly-decaf9be.js → WEIGHT_GIRLS.zscore.weekly-e4a924c1.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.zscore.yearly-98507cd4.js → WEIGHT_GIRLS.zscore.yearly-c4a4bb3e.js} +0 -0
  200. /package/build/components/{atoms → babyGrowth/babyGrowthChooseProfileDrawer}/newBabyProfileRadio/index.styled.d.ts +0 -0
  201. /package/build/{constants-b2fec243.js → constants-e6dfdef6.js} +0 -0
  202. /package/build/{cookieHelper-9b926906.js → cookieHelper-254d109b.js} +0 -0
  203. /package/build/{dataTransform-8b68513b.js → dataTransform-8faadee4.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.percentile.monthly-5940b71e.js → BMI_BOYS.percentile.monthly-325f5ebe.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.weekly-7392f46c.js → BMI_BOYS.percentile.weekly-56ac91ef.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.percentile.yearly-f67aafc8.js → BMI_BOYS.percentile.yearly-3b7b04ab.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.zscore.monthly-c91f8221.js → BMI_BOYS.zscore.monthly-90ff64f1.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.weekly-2cb07179.js → BMI_BOYS.zscore.weekly-4f6a6684.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.zscore.yearly-574788b4.js → BMI_BOYS.zscore.yearly-528465ad.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.percentile.monthly-6e88cf70.js → BMI_GIRLS.percentile.monthly-fc8dbf70.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.weekly-90718608.js → BMI_GIRLS.percentile.weekly-25c529f5.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.percentile.yearly-82616228.js → BMI_GIRLS.percentile.yearly-f8e41e97.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.zscore.monthly-27ac5264.js → BMI_GIRLS.zscore.monthly-4a2056f8.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.weekly-d50044d3.js → BMI_GIRLS.zscore.weekly-cef72585.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.zscore.yearly-f6ee504f.js → BMI_GIRLS.zscore.yearly-ed430c3d.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c0a6a6df.js → HEAD CIRCUM_BOYS.percentile.monthly-07bca9f8.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1f592b9c.js → HEAD CIRCUM_BOYS.percentile.weekly-51ed6bd7.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-64b65e8d.js → HEAD CIRCUM_BOYS.percentile.yearly-2312ef41.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0994eda2.js → HEAD CIRCUM_BOYS.zscore.monthly-ea118459.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3451b651.js → HEAD CIRCUM_BOYS.zscore.weekly-35d84ac7.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4f597730.js → HEAD CIRCUM_BOYS.zscore.yearly-827dbe4a.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5709bb6d.js → HEAD CIRCUM_GIRLS.percentile.monthly-9653cba0.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c2ec1731.js → HEAD CIRCUM_GIRLS.percentile.weekly-55417ee8.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e6b300ea.js → HEAD CIRCUM_GIRLS.percentile.yearly-aae78d36.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-2617f925.js → HEAD CIRCUM_GIRLS.zscore.monthly-1fabf8df.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d5037792.js → HEAD CIRCUM_GIRLS.zscore.weekly-be584760.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5b1c6662.js → HEAD CIRCUM_GIRLS.zscore.yearly-fb88c238.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-edc1f841.js → HEIGHT_BOYS.percentile.monthly-ef9a1b5b.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c94273cd.js → HEIGHT_BOYS.percentile.weekly-b5648877.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b1a571c7.js → HEIGHT_BOYS.percentile.yearly-d90d3425.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9013fe1e.js → HEIGHT_BOYS.zscore.monthly-a3438cd2.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e7b0a905.js → HEIGHT_BOYS.zscore.weekly-e7901014.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a0a63aa7.js → HEIGHT_BOYS.zscore.yearly-2c5b855b.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e5263708.js → HEIGHT_GIRLS.percentile.monthly-0a6208b7.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8937ef44.js → HEIGHT_GIRLS.percentile.weekly-9a054278.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1f95cba4.js → HEIGHT_GIRLS.percentile.yearly-0cae0852.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ea71c3b4.js → HEIGHT_GIRLS.zscore.monthly-86ec4817.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-90d075f8.js → HEIGHT_GIRLS.zscore.weekly-cc2e6824.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-bcf4689d.js → HEIGHT_GIRLS.zscore.yearly-88a5cc2e.js} +0 -0
  240. /package/build/esm/{Onboarding-d141e0b5.js → Onboarding-815a1838.js} +0 -0
  241. /package/build/esm/{Visible-186cf596.js → Visible-8c624f0f.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-60b9e3a5.js → WEIGHT_BOYS.percentile.monthly-1b81ebeb.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-1e3190c1.js → WEIGHT_BOYS.percentile.weekly-7b54b1ff.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b89d6f19.js → WEIGHT_BOYS.percentile.yearly-96c126da.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b229b3ed.js → WEIGHT_BOYS.zscore.monthly-c02237fe.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6cef3a05.js → WEIGHT_BOYS.zscore.weekly-7523460f.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b83a2c14.js → WEIGHT_BOYS.zscore.yearly-19567e91.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f6459c34.js → WEIGHT_GIRLS.percentile.monthly-37d959fb.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9a44163b.js → WEIGHT_GIRLS.percentile.weekly-7371a10b.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-22605780.js → WEIGHT_GIRLS.percentile.yearly-15f75ac8.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-31c34a1f.js → WEIGHT_GIRLS.zscore.monthly-a0bbc77f.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-acfd060a.js → WEIGHT_GIRLS.zscore.weekly-bb87503f.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-05fde4ca.js → WEIGHT_GIRLS.zscore.yearly-547a1fbc.js} +0 -0
  254. /package/build/esm/components/{atoms → babyGrowth/babyGrowthChooseProfileDrawer}/newBabyProfileRadio/index.styled.d.ts +0 -0
  255. /package/build/esm/{constants-36caa50f.js → constants-36505bfb.js} +0 -0
  256. /package/build/esm/{cookieHelper-d2f45634.js → cookieHelper-c0937aad.js} +0 -0
  257. /package/build/esm/{dataTransform-53c70c90.js → dataTransform-0646d6c4.js} +0 -0
  258. /package/build/esm/{index-f50e4b07.js → index-6aded33a.js} +0 -0
  259. /package/build/esm/{isProduction-ac82d29d.js → isProduction-f91b95cd.js} +0 -0
  260. /package/build/esm/{localizeNumberFormat-3f4b0b91.js → localizeNumberFormat-0da4e43f.js} +0 -0
  261. /package/build/esm/{normalizeLink-27470307.js → normalizeLink-083ce503.js} +0 -0
  262. /package/build/esm/{paths-519731fc.js → paths-5e16c4a6.js} +0 -0
  263. /package/build/esm/{theme-484b917f.js → theme-c780a012.js} +0 -0
  264. /package/build/esm/{translationsContext-1959ec3c.js → translationsContext-b1bd96cb.js} +0 -0
  265. /package/build/esm/{tslib.es6-ca4c7924.js → tslib.es6-9c1790be.js} +0 -0
  266. /package/build/esm/{types-8a77a66e.js → types-1f213f81.js} +0 -0
  267. /package/build/esm/{useIsInit-1a3c0a8f.js → useIsInit-fb358274.js} +0 -0
  268. /package/build/esm/{useOutsideClick-47395bcc.js → useOutsideClick-086d4bef.js} +0 -0
  269. /package/build/esm/{useScrollbarSize-893c05d4.js → useScrollbarSize-2b796e8b.js} +0 -0
  270. /package/build/esm/{useUniqueId-7ea33e1d.js → useUniqueId-eef5d661.js} +0 -0
  271. /package/build/esm/{utils-10c2f620.js → utils-35a508ae.js} +0 -0
  272. /package/build/{index-b62e5d17.js → index-1d2d6c71.js} +0 -0
  273. /package/build/{isProduction-cd92fd15.js → isProduction-517872ce.js} +0 -0
  274. /package/build/{localizeNumberFormat-5838788e.js → localizeNumberFormat-6a3526e0.js} +0 -0
  275. /package/build/{normalizeLink-561b9daf.js → normalizeLink-ef31244a.js} +0 -0
  276. /package/build/{paths-7ca57787.js → paths-597a9110.js} +0 -0
  277. /package/build/{theme-b788c923.js → theme-791de2a4.js} +0 -0
  278. /package/build/{translationsContext-1d56460b.js → translationsContext-84598533.js} +0 -0
  279. /package/build/{tslib.es6-8c3251be.js → tslib.es6-5cc34723.js} +0 -0
  280. /package/build/{types-f0731b29.js → types-f385e06e.js} +0 -0
  281. /package/build/{useIsInit-7b651ad5.js → useIsInit-c4d6088c.js} +0 -0
  282. /package/build/{useOutsideClick-c0223d3b.js → useOutsideClick-5185a271.js} +0 -0
  283. /package/build/{useScrollbarSize-e98e05b5.js → useScrollbarSize-2cfc3ebb.js} +0 -0
  284. /package/build/{useUniqueId-7327a422.js → useUniqueId-9b2409a5.js} +0 -0
  285. /package/build/{utils-1ac83567.js → utils-1d3a9504.js} +0 -0
@@ -0,0 +1 @@
1
+ import{a as e}from"./tslib.es6-9c1790be.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-26252874.js";import{N as c,F as m,J as u,z as d,U as g,y as h,P as v,H as p,C as E}from"./utils-e90f7b7a.js";import{S as y,a as b,b as f,c as C,d as k,e as w,f as P,g as N,T as M,N as _,h as A,i as T,j as L,k as S,l as H,m as B,n as x,o as U,p as $,q as R,r as I,s as O,t as j,u as F,v as D,w as z,x as V,y as G,z as W,A as K,B as q,C as Q,D as Y,E as Z,F as J,G as X,H as ee,I as te,J as ae,K as le,L as ne,M as oe,O as ie,P as se,Q as re,R as ce,V as me,W as ue,X as de,Y as ge,Z as he,_ as ve,$ as pe,a0 as Ee,a1 as ye,a2 as be,a3 as fe,a4 as Ce,a5 as ke,a6 as we,a7 as Pe,a8 as Ne,a9 as Me,aa as _e,ab as Ae,ac as Te,ad as Le,ae as Se,af as He,ag as Be,ah as xe,ai as Ue,aj as $e}from"./index.styled-80ad3b8e.js";import{T as Re}from"./index-c048cc84.js";import{CommonGAssets as Ie}from"./gAssets.js";import{d as Oe,L as je,S as Fe,U as De,T as ze,C as Ve}from"./index-a4cd52e2.js";import{n as Ge,a as We}from"./normalizeLink-083ce503.js";import{c as Ke,b as qe,d as Qe}from"./routing-eb8a078e.js";import{P as Ye,b as Ze,c as Je}from"./dataTransform-584a8942.js";import{L as Xe}from"./index-fab041f7.js";import{u as et}from"./useTranslations-16eca5b5.js";import tt from"lodash/throttle";import{g as at}from"./utils-35a508ae.js";import{t as lt}from"./theme-c780a012.js";import{g as nt}from"./cookieHelper-c0937aad.js";import{I as ot}from"./index-7c07fc3f.js";import{B as it}from"./index-7b18af53.js";import{Portal as st}from"@mantine/core";import"./index-33b4eeca.js";import"@mantine/hooks";import"@mantine/dates";import"./Onboarding-815a1838.js";import"dayjs";import"./screenSizeContext-3337bf90.js";import"styled-components";import"./isProduction-f91b95cd.js";import rt from"lodash/debounce";import{L as ct}from"./constants-36505bfb.js";import mt from"string-format";import{I as ut}from"./index-0f134243.js";import{u as dt}from"./useIsInit-fb358274.js";const gt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ht=({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?gt[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(ot,{src:i,alt:v||"avatar"}),b&&s)},vt=["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"],pt=(e="")=>vt.some((t=>new URL(e).origin.endsWith(t))),Et=({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(y,null,t.createElement(b,{onClick:()=>u((e=>!e))},l||(null==n?void 0:n(m))||null,t.createElement(f,{"data-is-open":m,style:r,"data-show-indicator":c},e.map(((e,a)=>t.createElement(C,{key:a,"data-selected":s&&o===e.value,onClick:t=>{o!==e.value&&(i(e.value),u((e=>!e))),t.stopPropagation()}},t.createElement(Re,{size:"p3"},e.label),s&&o===e.value&&t.createElement("img",{src:Ie.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),m&&t.createElement(k,{onClick:()=>u(!1)}))},yt=({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(Et,{options:e,selected:o.value,label:t.createElement(bt,{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},bt=({locale:e,label:a,href:l})=>{var n,o,i;return t.createElement(w,{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))},ft=({forceDisplay:e,mediaQueryKey:a,children:l,className:o,style:i})=>{const[s,r]=n((()=>at(a)),[a]);return t.createElement(P,{lowerBound:e?0:s,upperBound:e?0:r,className:o,style:i},l)},Ct=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())}}},kt=({type:e="lead",closeIcon:a,isOpen:l=!0,onClose:n,children:o,enableAnimation:i=!0,targetAvatar:s,id:r,className:c})=>t.createElement(N,{"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)),wt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"};var Pt="uJQBNNg",Nt="TfG3dM5",Mt="aMtjFNf",_t="cSz2RR-",At="GyFm00F";function Tt({userInfo:e,onClickMyProfileButton:a,themeName:l="helloSites"}){const{t:o}=et(),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:Pt,onClick:()=>{a&&a()}},t.createElement(ht,{className:Nt,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:i,backgroundColor:"marryBaby"===l?lt.mbColors.pink:lt.colors.secondaryBase}),t.createElement("div",{className:Mt},t.createElement("div",{className:_t},(null==e?void 0:e.name)||(null==e?void 0:e.username)),t.createElement("div",{className:At,style:{"--bg-hellosites":`url(${Ie.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${Ie.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},o("userProfile.nav.header.viewProfile"))))}var Lt="gn6HmGG",St="FCx8FEM",Ht="zMiRxaE",Bt="lZ2Z9MQ",xt="rwm-agG",Ut="qMOscoq";const $t=({themeName:e,locale:l,onClickItem:o})=>{const[i,s]=a(""),r=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:Ie.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:Ie.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:Ie.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:Ie.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:Lt},r.map((e=>t.createElement(Rt,{key:e.key,item:e,openKey:i,onClickItem:c,locale:l}))))},Rt=({item:e,openKey:a,onClickItem:l,locale:n})=>{var o;const{t:i}=et();return(null===(o=e.disableLocale)||void 0===o?void 0:o.includes(n))?null:t.createElement("div",{className:`${St} nav-menu-item`,"data-is-open":a===e.key,key:e.key,"data-has-submenu":!!e.subMenu},t.createElement("div",{className:Ht,onClick:()=>l(e)},e.icon&&t.createElement("div",{className:Bt,style:{backgroundImage:`url("${e.icon}")`}}),i(e.key),e.subMenu&&t.createElement("div",{className:xt,style:{"--after-bg":`url(${Ie.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&t.createElement("div",{className:Ut},e.subMenu.map((e=>t.createElement(Rt,{key:e.key,item:e,openKey:a,onClickItem:l,locale:n})))))};var It="-AZt1au",Ot="IvSIfCI",jt="eahCJov",Ft="XIyViFs",Dt="_4y-O0w3",zt="kO8iNgD",Vt="a1d4E10",Gt="Tdguxxf",Wt="-mOxsaU",Kt="yPeDBNZ";const qt={helloSites:{member:()=>Ie.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>Ie.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>Ie.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>Ie.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>Ie.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>Ie.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>Ie.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>Ie.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>Ie.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>Ie.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Qt=({themeName:e,rank:a="member",numberOfPosts:l=0})=>{const{t:o}=et(),i=n((()=>{var t,l;return(null===(l=null===(t=qt[e])||void 0===t?void 0:t[a])||void 0===l?void 0:l.call(t))||""}),[a,e]);return t.createElement("div",{className:Dt,"data-user-rank":a},t.createElement("div",{className:zt},t.createElement("div",{className:Vt},t.createElement("div",{className:Gt,style:{backgroundImage:`url("${i}")`}}),t.createElement("h3",{className:Wt},o(`userProfile.userRank.${a}`)),l>0&&t.createElement("p",{className:Kt},l," ",o("userProfile.nav.header.count.posts")))))},Yt=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=>Yt(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}:{}},Zt=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}},Jt=e=>e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{},Xt=e=>e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{},ea=({type:e,specialtySlug:t,locale:a})=>{var l,n;return`${null===(l=ct[a])||void 0===l?void 0:l.ALL}/${(null===(n=ct[a])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},ta=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}:{},aa=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},la=({SSO_URL:e,UP_BASEPATH:o="user",themeName:i="helloSites",cardUrls:s=wt,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:f=!1,locale:C})=>{const{t:k}=et(),[w,P]=a(h||0),N="marryBaby"===i;l((()=>{if(d&&void 0===h){const e=nt("hhg_user_token");e&&fetch(Ge(((e,t,a,l)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+mt(M.GET_USER_POSTS,Object.assign(Object.assign({},l),{websiteUrl:t?"https://marrybaby.vn":`https://${Oe[e]}`})))(C,N,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)&&P((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)))}}),[C,null!==d,h,g,N]);const A=n((()=>{let e;return e=N?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?r:"myCommunity"===e?c:"myHealth"===e?f:"eCom"===e?m:"mySaved"!==e||u))}),[N,f]),T=n((()=>"marryBaby"===i?null:t.createElement(it,{color:"tertiary",icon:t.createElement("img",{src:Ie.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:y,className:Ft},k("userProfile.nav.menu.logout"))),[i]),L=t=>{window.location.href=Ge(`${e}${o}/${t}`)},S=e=>{const t=s[e];v?v(t):L(t)};return d?t.createElement("div",{className:It,"data-theme":i},t.createElement(Tt,{userInfo:d,themeName:i,onClickMyProfileButton:()=>{p?p():L("profile")}}),t.createElement(Qt,{themeName:i,rank:"member",numberOfPosts:w}),t.createElement("div",{className:Ot},A.map((e=>t.createElement(_,{className:jt,key:e,themeName:i,type:e,onClick:S})))),!b&&t.createElement(t.Fragment,null,t.createElement($t,{themeName:i,locale:C,onClickItem:e=>{"logout"===e.link&&y?y():e.link&&!e.subMenu&&(E?E(e.link):L(e.link))}}),T)):null},na=({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=Ge(`${e}${a}/${t}`))},b=e=>{y(e),m()};return t.createElement(kt,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:n,onClose:m},t.createElement(la,{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}))},oa=({openLogoutPopup:e,onCloseHandler:a,onLogoutHandler:n,siteType:o="helloSites"})=>{const{t:i}=et();return l((()=>{document.body.classList.toggle("noscroll",e)}),[e]),t.createElement(st,null,t.createElement(Ye,{type:"confirm",isOpen:e,closeIcon:t.createElement("img",{src:Ie.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:a},t.createElement(A,null,"helloSites"===o&&t.createElement("img",{src:Ie.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(T,{siteType:o},t.createElement(it,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},i("logout.popup.button.logout")),t.createElement(it,{className:"cancel-button",color:"primary",size:"lg",onClick:a},i("logout.popup.button.cancel"))))))},ia=({userInfo:n,siteType:o,onLoginClick:i,SSO_URL:s,currentUrl:r,isMinifyLogin:c,enableCare:m,enableTogether:v,enableEcom:p,isUserProfileNavigatorMenuHidden:E,UP_BASEPATH:y,isMyHealthEnabled:b,togetherApiDomain:f,onLogout:C,style:k,userProfileRouterPush:w,isLoading:P,locale:N,enableMySaved:M})=>{const{t:_}=et(),[A,T]=a(!1),B=(null==n?void 0:n.name)||(null==n?void 0:n.username),[x,U]=a(!1);l((()=>{U(!0)}),[]);const{containerRef:$,onContainerFocus:R,onContainerBlur:I,onButtonMouseDown:O,onClose:j}=Ct();return P?t.createElement(u,{size:"sm",color:"transparent",loading:P}):(null==n?void 0:n.id)?t.createElement(t.Fragment,null,t.createElement(L,{ref:$,style:k,tabIndex:0,onBlur:I,onFocus:R},t.createElement("div",{onMouseDown:O},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?lt.mbColors.pink:lt.colors.secondaryBase,placeholderText:B&&B.length?B[0].toUpperCase():"A"})),t.createElement(na,{UP_BASEPATH:y,SSO_URL:s,dispatchLogout:()=>{j(),T(!0)},isOpen:!1,isMyHealthEnabled:b,enableCare:m,enableTogether:v,enableEcom:p,enableMySaved:M,closePopup:j,userInfo:n,siteType:o,isUserProfileNavigatorMenuHidden:E,togetherApiDomain:f,userProfileRouterPush:w,locale:N})),t.createElement(oa,{openLogoutPopup:A,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),T(!1)},siteType:o,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){T(!1),document.body.classList.toggle("noscroll",!1),yield C()}))})):t.createElement(S,{style:Object.assign({textDecoration:"none"},k),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":r,href:x?void 0:Ge(`${s}?returnUrl=${r}`),"data-site-type":o},c?t.createElement(H,{onClick:i},t.createElement("img",{src:Ie.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):t.createElement(t.Fragment,null,"helloSites"===o&&t.createElement(u,{className:"mobile-only",size:"sm",onClick:i,leftIcon:t.createElement(g,{useCurrentColor:!0,isSolid:!0,size:22}),styles:{root:{paddingLeft:"5px",paddingRight:"8px"},leftIcon:{marginRight:"5px"}}},_("navigation.loginJoin")),"marryBaby"===o&&t.createElement("div",{className:"mobile-only",onClick:i,style:{paddingLeft:16}},t.createElement(h,{size:"p3",color:lt.mbColors.pink},_("navigation.loginJoin"))),t.createElement(u,{className:"login-btn",size:"md",onClick:i,leftIcon:t.createElement(g,{useCurrentColor:!0,isSolid:!0,size:22})},_("navigation.loginJoin"))))};var sa="spdlGfq",ra="vgS16jX";const ca=({onCareHeaderClick:e,currentUrl:a,careUrlFe:l,btnName:n})=>e?t.createElement(it,{className:sa,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:`${ra} care-button no-replace-click`},t.createElement(it,{className:sa,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:a},n));var ma="y5VJdvw",ua="oVhOSCy",da="pX8OXTM";function ga({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 ha({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?Ie.getAssetPath("hamburgerMenuNewWithSearch.svg"):Ie.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 va=()=>{const{locale:e,configs:{statics:a},siteType:l}=i(B),{t:n}=et();return t.createElement(v,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===l?n("navigation.search.input.placeholder"):n("home.search",{site:je[e||"en-PH"]?je[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(x,null))})};var pa="wnUb-dV",Ea="cjbOxWe",ya="gB4rp89";const ba=({item:e,menu:a})=>{const{containerRef:l,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:i,onClose:s}=Ct({allowBgScroll:!0}),r=dt();return!e.popupType&&e.link?t.createElement(fa,{isNew:e.isNew},t.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem "+(r?"":`menu-handler-${e.id}`),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:Ea},e.name))):t.createElement(fa,{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:Ea},"care"===e.id&&t.createElement("a",{className:ya,href:Ge(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:pa},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))},fa=({isNew:e,children:a})=>{const{t:l}=et();return e?t.createElement(ut,{color:"green",label:l("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},a):t.createElement(t.Fragment,null,a)},Ca=({hrefViewMore:e,titleBtnViewMore:a,UrlFE:l,onClosePopup:n,menuItems:o,headingTitle:s})=>{const{siteType:r}=i(B);return t.createElement(U,null,t.createElement($,null,t.createElement(p,{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(R,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,href:o},!pt(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(fa,{isNew:e.isNew},t.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),t.createElement(I,null,t.createElement("img",{src:Ie.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),a&&t.createElement(O,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},t.createElement(j,{onClick:n,"data-theme":r,"data-is-heading-category":!1},a,t.createElement(F,null,t.createElement("img",{className:"svg",src:"marryBaby"===r?Ie.getAssetPath("chevronRightPink.svg"):Ie.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))},ka=({item:e,index:a=0})=>{var l;const{t:n}=et(),{locale:o,configs:{statics:s}}=i(B);if(!e)return null;const r=`${s.CARE_URL_FE}/${null===(l=ct[o])||void 0===l?void 0:l.HOSPITAL}/${e.slug}-${e.id}`;return t.createElement(D,{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:Ie.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),t.createElement(z,null,t.createElement(V,null,t.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),t.createElement(G,null,t.createElement(W,null,e.name),t.createElement(K,null,e.description),t.createElement(q,null,n("home.seeMore"),t.createElement("img",{src:Ie.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},wa=({title:e,link:a,description:l,cta:n,icon:o})=>{const{siteType:s}=i(B);return t.createElement(Q,{"data-theme":s},t.createElement(Y,null,t.createElement("img",{src:"marryBaby"===s?Ie.getAssetPath("navMBSpotlightBgNoData.svg"):Ie.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(Z,null,o&&t.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),t.createElement("div",null,e&&t.createElement(J,null,e),l&&t.createElement(X,null,l),n&&t.createElement("div",null,t.createElement("a",{href:a},t.createElement(it,{theme:s,className:"survey-contact-submit",size:"md"},n)))))},Pa=({title:e,viewMore:a,children:l,link:n,dataEventAction:o=""})=>{const{siteType:s}=i(B);return t.createElement(ee,null,t.createElement(te,null,t.createElement(p,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},e),a&&t.createElement(ae,{"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?Ie.getAssetPath("chevronRightPink.svg"):Ie.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),l)},Na=({spotlights:e=[],hrefViewMore:a})=>{const{t:l}=et(),{siteType:n}=i(B);return t.createElement(Pa,{title:l("home.navigator.menu.spotlightHospitals")},0!==e.length?t.createElement(t.Fragment,null,t.createElement(le,null,null==e?void 0:e.slice(0,3).map(((e,a)=>t.createElement(ka,{key:a,index:a,item:e})))),t.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},t.createElement("a",{href:a},t.createElement(it,{theme:n,className:"survey-contact-submit",size:"md"},l("home.navigator.menu.care.homeButton"))))):t.createElement(wa,{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:Ie.getAssetPath("community.svg")}))},Ma=({item:e,index:a=0})=>e?t.createElement(ne,{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(oe,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),t.createElement(ie,null,e.title)):null,_a=({spotlightsList:e=[],hrefViewMore:a})=>{const{t:l}=et(),{configs:{statics:n}}=i(B);return t.createElement(Pa,{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(se,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(Ma,{key:a,index:a,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):t.createElement(wa,{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:Ie.getAssetPath("Spotlight.svg")}))},Aa=({spotlights:e=[]})=>{const{configs:{statics:a}}=i(B),{t:l}=et();return t.createElement(Pa,{title:l("home.navigator.menu.trendingPosts"),viewMore:l("home.navigator.menu.trendingPosts.seeMore"),link:We(a.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?t.createElement(re,null,null==e?void 0:e.slice(0,4).map(((e,a)=>t.createElement(ce,{index:a,post:e,key:e.id})))):t.createElement(wa,{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:Ie.getAssetPath("community.svg")}))},Ta=({item:e,index:a=0})=>{const{t:l}=et(),{configs:{statics:n}}=i(B);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(me,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${a+1}`,"data-event-label":o},t.createElement("img",{src:Ie.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),t.createElement(ue,null,t.createElement(de,null,e.title),t.createElement(ge,null,e.subtitle),t.createElement(he,null,l("home.seeMore"),t.createElement("img",{src:Ie.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),t.createElement(ve,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},La=({item:e,index:a=0,color:l})=>{const{t:n}=et(),{configs:{statics:o}}=i(B);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(ye,null,t.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),c=()=>t.createElement(be,null,t.createElement(fe,null,t.createElement(Ce,null,e.title),t.createElement(ke,null,e.subtitle)),t.createElement(we,null,t.createElement("div",{className:"mobile-only"},n("home.seeMore")),t.createElement("img",{src:Ie.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return t.createElement(pe,{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:Ie.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),t.createElement(Ee,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()))},Sa=({hrefViewMore:e,spotlightHealthTools:a=[]})=>{const{t:l}=et(),n=["pink","orange","green"],{siteType:o}=i(B);return t.createElement(Pa,{title:l("home.navigator.menu.spotlightTools")},0!==a.length&&t.createElement(Pe,null,null==a?void 0:a.slice(0,3).map(((e,a)=>"marryBaby"===o?t.createElement(La,{key:a,index:a,item:e,color:n[a]}):t.createElement(Ta,{key:a,index:a,item:e})))),0===a.length&&t.createElement(wa,{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:Ie.getAssetPath("community.svg")}))},Ha=({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(B),{t:v}=et();return t.createElement(Ne,{id:"categories-menu"},g?t.createElement(Me,{"data-theme":o,onClick:()=>{window.location.href=`${d.HOME_PAGE_URL}/search`}},t.createElement(va,null)):null,t.createElement(_e,null,t.createElement(Ca,{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(_a,{spotlightsList:(null==s?void 0:s.spotlights)||[],hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===u&&t.createElement(Sa,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${d.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(l=Fe[h])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`}),"care"===u&&t.createElement(Na,{spotlights:null==c?void 0:c.spotlights,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=ct[h])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===u&&t.createElement(Aa,{spotlights:null==m?void 0:m.spotlights})))},Ba=({type:e="home",menuItems:a})=>{const{siteType:l,configs:{enableSearchBar:n}}=i(B),{containerRef:o,onContainerFocus:s,onContainerBlur:r,onButtonMouseDown:c,onClose:m}=Ct();return t.createElement(ft,{mediaQueryKey:"mbDown"},t.createElement("header",{className:ma},t.createElement("div",{className:ua,ref:o,role:"button",tabIndex:0,onBlur:r,onFocus:s},t.createElement("div",{className:da,onMouseDown:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},t.createElement(ga,{className:"mobile-close-icon"}),t.createElement(ha,{siteType:l,type:e,enableSearch:n,className:"mobile-hamburger-icon"})),t.createElement(Ha,{menuItems:a,closePopup:m}))))};var xa="q3nL5cp",Ua="_2DNf80G",$a="Q-glX-n";const Ra=({onClosePopup:e})=>t.createElement("div",{className:`${$a} 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"}))),Ia=({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(E,null,!o&&t.createElement("div",{className:Ua},t.createElement(Ra,{onClosePopup:e})),t.createElement(E,{className:xa},l))),Oa=({careSpecialties:e=[],isOpen:a,onClose:l,spotlights:n=[]})=>{var o;const{t:s}=et(),{locale:r,configs:{statics:c}}=i(B);return t.createElement(Ia,{onClosePopup:l,isDisplay:a,isNavMenu:!0},t.createElement(Ca,{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:ea({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),t.createElement(Na,{spotlights:n,hrefViewMore:`${c.CARE_URL_FE}/${null===(o=ct[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},ja=({categories:e=[],spotlightsList:a=[],onClose:l,isOpen:n})=>{const{t:o}=et(),{locale:s,configs:{statics:r}}=i(B);return t.createElement(Ia,{onClosePopup:l,isDisplay:n,isNavMenu:!0},t.createElement(Ca,{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(_a,{spotlightsList:a,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===s?"/fil":""}/spotlight/`}))},Fa=({communities:e=[],onClose:a,isOpen:l,spotlights:n=[]})=>{const{t:o}=et(),{configs:{statics:s}}=i(B);return t.createElement(Ia,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(Ca,{hrefViewMore:We(s.TOGETHER_URL_FE),UrlFE:Ge(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(Aa,{spotlights:n}))},Da=({locale:e,onClose:a,isOpen:l,spotlightHealthTools:n=[],healthTools:o=[]})=>{var s;const{t:r}=et(),{configs:{statics:c}}=i(B),m=`${c.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(s=Fe[e])||void 0===s?void 0:s.HEALTH_TOOLS)||""}`;return t.createElement(Ia,{onClosePopup:a,isDisplay:l,isNavMenu:!0},t.createElement(Ca,{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(Sa,{spotlightHealthTools:n,hrefViewMore:m}))},za=({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:f,enableNavCareBooking:C,enableSearchBar:k,enableNavCare:w,enableProfileMyHealth:P,enableProfileMySaved:N,enableNavTogether:M,enableProfileEcom:_,enableProfileNavigatorMenu:A},userState:{userInfo:T},onLogout:L,userProfileRouterPush:S,isUserLoading:H}=i(B),{t:x}=et(),{SSO_URL:U,HOME_PAGE_URL:$}=f,R=!!p,[I,O]=a(!1),j=o(47),F=o(null),D=o(!1),z="helloSites"===u?null===(m=je[g])||void 0===m?void 0:m.LOGO_TYPE:u,V="undefined"!=typeof window,G=s(tt((()=>{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(Ae,{"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(Te,{"data-site-type":u},t.createElement(Le,{"data-site-type":u},t.createElement(Ba,{menuItems:c,type:n}),t.createElement("a",{style:{flexShrink:0},href:$},t.createElement(Se,null,t.createElement(Xe,{style:{display:"flex"},type:z,badge:"id-ID"===g&&t.createElement("img",{src:Ie.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(Ga,{menuItems:c}):k&&t.createElement(Va,{siteType:u})),t.createElement(He,{"data-site-type":u},"marryBaby"===u?k&&t.createElement(Va,{siteType:u}):t.createElement(Ga,{menuItems:c}),t.createElement(Be,null,C&&t.createElement(ft,{mediaQueryKey:"mbUp"},t.createElement(ca,{careUrlFe:f.CARE_URL_FE,currentUrl:y,btnName:x("login.booking"),onCareHeaderClick:E})),r,t.createElement(ia,{userInfo:T,siteType:u,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=U?Ge(`${U}?returnUrl=${e}`):e}),SSO_URL:We(f.SSO_URL),currentUrl:y,onLogout:L,UP_BASEPATH:De,isMyHealthEnabled:P,enableCare:w,enableTogether:M,enableEcom:_,enableMySaved:N,togetherApiDomain:We(f.TOGETHER_API),isUserProfileNavigatorMenuHidden:!A,userProfileRouterPush:S,isLoading:H,locale:g})))),p?t.isValidElement(p)?t.cloneElement(p,{isCollapsed:I,locale:g,isMobile:d}):p:null)},Va=({siteType:e})=>t.createElement(ft,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},t.createElement(va,null)),Ga=({menuItems:e})=>{const{siteType:a,locale:l,ssrMenuContent:{categories:n,healthTools:o,care:s,together:r}}=i(B);return t.createElement(ft,{mediaQueryKey:"mbUp",style:{height:"100%"}},t.createElement(xe,{"data-site-type":a},null==e?void 0:e.map(((e,a)=>t.createElement(ba,{key:a,item:e,menu:"categories"===e.popupType?t.createElement(ja,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?t.createElement(Da,{locale:l,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?t.createElement(Fa,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?t.createElement(Oa,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})))))},Wa=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}=et(),{siteType:t,locale:a,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:s,enableNavTogether:r,enableNavEcom:c,statics:m}}=i(B),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?Ie.getAssetPath("categories-mb.svg"):Ie.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=Fe[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:u?Ie.getAssetPath("healthtools-mb.svg"):Ie.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:Ge(m.TOGETHER_URL_FE+"/"),thumbnail:u?Ie.getAssetPath("community-mb.svg"):Ie.getAssetPath("nav-icons/community.svg"),popupType:"together"}),c&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:Ge(m.HOME_PAGE_URL+"/shop"),thumbnail:Ie.getAssetPath("nav-icons/shop.svg"),popupType:null}),s&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:Ge(m.HOME_PAGE_URL+"/care"),thumbnail:Ie.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a?null:"care"}),n}),[a,s,r,c])})();(()=>{const{isFirstLogin:e,userState:t}=i(B),{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,f=!!h,C=!!(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(rt((()=>{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:f,hasSponsoredBanners:C,isMobile:m});return t.createElement($e,{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(za,{menuItems:y,type:"home",onTopBarAppears:d,languageMenu:t.createElement(yt,{languageOptions:g,locale:u})})))},Ka=e=>{const a=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return t.createElement(Ue,Object.assign({},a),t.createElement(Wa,Object.assign({},a)))},qa=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,f,C;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(Ge(`${Ke(t)}/wp-json/api/categories${P?"?"+P:""}`)).then((e=>e.json())),fetch(Ge(`${Ke(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${P?"&"+P:""}`)).then((e=>e.json())),fetch(Ge(`${Ke(t)}/wp-json/api/${w?"health-tools":"healthtools"}${P?"?"+P:""}`)).then((e=>e.json())),fetch(Ge(`${Ke(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,Yt))||[],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,ta))||void 0===i?void 0:i.filter(aa))||[]},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,Zt))||[],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,Zt))||[]}}catch(e){}if(w||ze.includes(t))try{const[e,a]=yield Promise.all([fetch(Ge(`${qe()}/api/v1/community?website_url=https://${Oe[t]}`)).then((e=>e.json())),fetch(Ge(`${qe()}/api/v1/options?website_url=https://${Oe[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,Ze))||[],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,Je))||[]}}catch(e){}if(Ve.includes(t))try{const[e,a]=yield Promise.all([fetch(Ge(Qe()+`/api/specialties?_ishome=1&site=${Oe[t]}`)).then((e=>e.json())),fetch(Ge(Qe()+`/api/search/?site=${Oe[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,Jt))||[],spotlights:(null===(C=null===(f=null==a?void 0:a._data.searches)||void 0===f?void 0:f.map)||void 0===C?void 0:C.call(f,Xt))||[]}}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",(()=>qa(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{ht as A,yt as L,Ka as N,na as P,la as U,Qa as a,Tt as b,Qt as c,oa as d,ia as e,qa as g,pt as i};
@@ -1,4 +1,4 @@
1
- import{M as e}from"./utils-10c2f620.js";import t from"styled-components";import o from"react";const i=t.div`
1
+ import{M as e}from"./utils-35a508ae.js";import t from"styled-components";import o from"react";const i=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
 
@@ -0,0 +1 @@
1
+ import e,{useState as t,useRef as o,useEffect as d}from"react";import{u as a}from"./useScrollbarSize-2b796e8b.js";import{createPortal as l}from"react-dom";import{S as c,a as n,b as r}from"./index-ddcb3128.js";const s="hhg-modals",m=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},i=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},h=({type:h="lead",closeIcon:u,isOpen:p=!0,onClose:y,children:b,className:g="",animationType:v="slideTop",isStaticBackdrop:_=!1,siteType:f})=>{const[E,w]=t(!1),C=o(null),{width:N}=a();if(!C.current&&E&&(C.current=document.createElement("div")),d((()=>(w(!0),()=>{w(!1),m(),i()})),[]),d((()=>{if(E){const e=(()=>{let e=document.getElementById(s);return e||(e=document.createElement("div"),e.setAttribute("id",s),document.body.append(e)),e})();return e.appendChild(C.current),()=>{e.removeChild(C.current)}}}),[E]),d((()=>{p?document.body.classList.add("hhc-modal-show"):m()}),[p]),d((()=>{p?(document.body.style.overflow="hidden",document.body.style.paddingRight=N+"px",document.body.classList.add("hhc-disabled-scroll")):i()}),[p,N]),!E)return null;const S=["hhg-modal__wrapper",g,v].filter((e=>e)).join(" ");return l(e.createElement(c,{className:S,"data-open":p,"data-type":h},!_&&e.createElement(n,{"data-open":p,onClick:y,"data-type":h}),!_&&"video"===h&&!!u&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),e.createElement(r,{className:"hhg-modal","data-open":p,"data-site-type":f},e.createElement("div",{className:"video"===h?"hhg-modal__video":"hhg-modal__content"},!!u&&"video"!==h&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),b))),C.current)};export{h as M};
@@ -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"./utils-10c2f620.js";import{L as b}from"./index-7d937042.js";import{T as x}from"./index-30e03a57.js";import{B as y}from"./index-f9fb7108.js";import{a9 as v,H as w,T as k,aa as E,ab as C,ac as S,C as $,ad as D,P as _,W as T,U as I,I as z}from"./utils-a9bb3a5c.js";import{I as N}from"./index-f93a4f7a.js";import{_ as P}from"./tslib.es6-ca4c7924.js";import A from"dayjs";import"./screenSizeContext-491c78ad.js";import{t as B}from"./theme-484b917f.js";import"./index-72a93e65.js";import"./isProduction-ac82d29d.js";import{G as j,L as O}from"./Onboarding-d141e0b5.js";import{CommonGAssets as M}from"./gAssets.js";import"@mantine/hooks";import"@mantine/dates";import"./translationsContext-1959ec3c.js";import"string-format";import"./index-5cfdaa22.js";import{yupResolver as L}from"@hookform/resolvers/yup";import{useForm as F,Controller as U}from"react-hook-form";import{B as R,D as q}from"./index-2222b966.js";import{u as H}from"./useTranslations-fa0feb0e.js";import{L as V}from"./index-08f0cf74.js";import{format as W,addDays as G}from"date-fns";import{M as Y}from"./index-b26629ef.js";import{S as Z}from"./index-809f539e.js";import"lodash/debounce";import{D as X}from"./types-8a77a66e.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"./utils-35a508ae.js";import{L as b}from"./index-fab041f7.js";import{T as x}from"./index-c048cc84.js";import{B as y}from"./index-7b18af53.js";import{a0 as v,H as w,T as k,a1 as E,a2 as C,a3 as S,C as $,a4 as D,P as _,J as T,E as I,I as z}from"./utils-e90f7b7a.js";import{I as N}from"./index-0c9bddd5.js";import{_ as P}from"./tslib.es6-9c1790be.js";import A from"dayjs";import"./screenSizeContext-3337bf90.js";import{t as B}from"./theme-c780a012.js";import"./index-a4cd52e2.js";import"./isProduction-f91b95cd.js";import{G as j,L as O}from"./Onboarding-815a1838.js";import{CommonGAssets as M}from"./gAssets.js";import"@mantine/hooks";import"@mantine/dates";import"./translationsContext-b1bd96cb.js";import"string-format";import"./index-7c07fc3f.js";import{yupResolver as L}from"@hookform/resolvers/yup";import{useForm as F,Controller as U}from"react-hook-form";import{B as R,D as q}from"./index-ddcb3128.js";import{u as H}from"./useTranslations-16eca5b5.js";import{L as V}from"./index-33b4eeca.js";import{format as W,addDays as G}from"date-fns";import{M as Y}from"./index-c6368912.js";import{S as Z}from"./index-b8de3b3e.js";import"lodash/debounce";import{D as X}from"./types-1f213f81.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
 
@@ -0,0 +1,53 @@
1
+ import{_ as e}from"./tslib.es6-9c1790be.js";import t,{createContext as o,useContext as i}from"react";import{Container as r,Title as n}from"@mantine/core";import{L as a,y as m}from"./utils-e90f7b7a.js";import"@mantine/hooks";import"./gAssets.js";import"@mantine/dates";import{L as s}from"./index-a4cd52e2.js";import"./Onboarding-815a1838.js";import"dayjs";import"./screenSizeContext-3337bf90.js";import c from"styled-components";import{t as p}from"./theme-c780a012.js";import{M as l}from"./utils-35a508ae.js";import"./isProduction-f91b95cd.js";import"./translationsContext-b1bd96cb.js";import"string-format";import"./index-7c07fc3f.js";import{createFormContext as d}from"@mantine/form";const g=o({}),[f,h,b]=d(),x=c.div`
2
+ margin-top: 70px;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ &.similac {
8
+ margin-top: 16px;
9
+ }
10
+ `,j=c(r)`
11
+ &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ height: 100%;
16
+ width: 100%;
17
+ max-width: 520px;
18
+ }
19
+ .header {
20
+ margin-bottom: 32px;
21
+ text-align: center;
22
+ ${l.mbDown} {
23
+ margin-bottom: 16px;
24
+ }
25
+ }
26
+
27
+ .input-control {
28
+ width: 100%;
29
+ }
30
+ .radio-group,
31
+ .input-control {
32
+ margin-bottom: 16px;
33
+ }
34
+ .form {
35
+ width: 100%;
36
+ }
37
+
38
+ /* .form-error {
39
+ margin-top: 32px;
40
+ font-size: 14px;
41
+ }
42
+
43
+ .field-error {
44
+ margin-top: 10px;
45
+ font-size: 14px;
46
+ } */
47
+
48
+ .form-button {
49
+ width: 100%;
50
+ }
51
+ `,u=c.img`
52
+ margin-bottom: 38px;
53
+ `,y=o=>{var r,{heading:c,description:l,children:d,className:f,imgSrc:h,hiddenLogo:b=!1}=o,y=e(o,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:E,siteType:L}=i(g);return t.createElement(j,Object.assign({},y,{className:`hhg-comp-onboarding-container ${f}`,size:"sm"}),!b&&t.createElement(a,{type:E?L:(null===(r=s[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),t.createElement(x,{className:b?"similac":""},h&&t.createElement(u,{src:h,loading:"lazy"}),(c||l)&&t.createElement("div",{className:"header"},c&&t.createElement(n,{order:3},c),l&&t.createElement(m,{size:"p3",mt:8,color:p.colors.gray600},l)),d))};export{f as F,g as O,b as a,y as b,h as u};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-ca4c7924.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-9c1790be.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:b,isLoading:y=!1,loadingText:N,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||y)&&t.createElement("span",{className:r},y?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=>{!y&&!h&&k&&k(a)},title:g,"data-is-loading":y,type:j},F),t.createElement("span",{className:c},"left"===E&&W,b&&t.createElement("span",{className:d},y&&N||b),"right"===E&&W))};export{l as B};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./tslib.es6-ca4c7924.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-9c1790be.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;
@@ -0,0 +1 @@
1
+ import o,{useState as a,useEffect as e,useMemo as t,useCallback as i}from"react";import{O as l,Q as d,J as s,R as n,V as r}from"./utils-e90f7b7a.js";import{_ as c,a as u}from"./tslib.es6-9c1790be.js";import{u as v}from"./useTranslations-16eca5b5.js";import{P as m}from"./paths-5e16c4a6.js";import{L as p}from"./constants-36505bfb.js";import"@mantine/core";import"@mantine/hooks";import"./gAssets.js";import"@mantine/dates";import{d as b}from"./index-a4cd52e2.js";import"./Onboarding-815a1838.js";import"dayjs";import"./screenSizeContext-3337bf90.js";import"styled-components";import"./theme-c780a012.js";import"./utils-35a508ae.js";import"./isProduction-f91b95cd.js";import"./index-7c07fc3f.js";import"lodash/debounce";const g=({type:a="solid",className:e,style:t})=>o.createElement(l,{style:t,className:e,"data-diver-type":a,dividerType:a}),y={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},E=a=>{var{siteType:e,role:t,title:i,styles:l,className:s}=a,n=c(a,["siteType","role","title","styles","className"]);const{t:r}=v(),u=t?(o=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===o)))(t):"",{classes:m,cx:p}=d(void 0,{name:"AuthorBadge",styles:l});return u&&y[u]?o.createElement("div",Object.assign({className:p(m.root,s),"data-label-type":u,"data-is-marrybaby":"marryBaby"===e},n),i||r(y[u])):null};var f="Dudns9-";const h=({value:t,choices:i,onChange:l})=>{const[d,n]=a(t);return e((()=>{n(t)}),[t]),o.createElement("div",{className:f},i.map(((a,e)=>o.createElement(s,{dataEventCategory:a.dataEventCategory,dataEventAction:a.dataEventAction,dataEventLabel:a.dataEventLabel,size:"sm",variant:a.value===d?"primary":"tertiary",key:e,onClick:()=>{n(a.value),null==l||l(a.value)}},a.label||""))))},A=e=>{var{label:l,bookingId:d,bookingType:g="doctor",locale:y="vi-VN"}=e,E=c(e,["label","bookingId","bookingType","locale"]);const{t:f}=v(),[h,A]=a(!1),j=t((()=>"undefined"!=typeof window?window.location.href:""),[]),T=i((()=>u(void 0,void 0,void 0,(function*(){var o,a,e,t,i,l,s,c,u,v,E,f,h,j,T;const _="doctor"===g?m.GET_DOCTOR_DETAIL:"hospital"===g?m.GET_HOSPITAL_DETAIL:"service"===g?m.GET_SERVICE_DETAIL:"";try{A(!0);const m=yield n(r(_,{id:d,site:b[y]}),"get");if(1===(null==m?void 0:m._status)){const d="doctor"===g?{id:null===(a=null===(o=null==m?void 0:m._data)||void 0===o?void 0:o.doctor)||void 0===a?void 0:a.id,slug:null===(t=null===(e=null==m?void 0:m._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.slug,localSlug:null===(i=p[y])||void 0===i?void 0:i.DOCTOR}:"hospital"===g?{id:null===(s=null===(l=null==m?void 0:m._data)||void 0===l?void 0:l.branch)||void 0===s?void 0:s.id,slug:null===(u=null===(c=null==m?void 0:m._data)||void 0===c?void 0:c.branch)||void 0===u?void 0:u.slug,localSlug:null===(v=p[y])||void 0===v?void 0:v.HOSPITAL}:{id:null===(f=null===(E=null==m?void 0:m._data)||void 0===E?void 0:E.service)||void 0===f?void 0:f.id,slug:null===(j=null===(h=null==m?void 0:m._data)||void 0===h?void 0:h.service)||void 0===j?void 0:j.slug,localSlug:null===(T=p[y])||void 0===T?void 0:T.SERVICE};window.location.href=`/care/${d.localSlug}/${d.slug}-${d.id}/`}else A(!1)}catch(o){console.log(o),A(!1)}}))),[]);return d&&g?o.createElement(s,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:j,onClick:T,loading:h},E),l||f("careBooking.bookAnAppointment")):null};export{E as A,h as B,g as D,A as a};
@@ -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-d141e0b5.js";import{i as c}from"./isProduction-ac82d29d.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"],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 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-815a1838.js";import{i as c}from"./isProduction-f91b95cd.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"],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 +1 @@
1
- import{_ as e}from"./tslib.es6-ca4c7924.js";import t,{useState as a,useEffect as n}from"react";import{L as l}from"./Onboarding-d141e0b5.js";import{S as r,a as o,b as i}from"./index.styled-bb0e8f22.js";const c=c=>{var{data:s,isMobile:m,onSlideChange:g,pillProps:h,locale:p=l.Vietnam,blurFromIndex:v,blurLength:b}=c,C=e(c,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const u={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(m?2:4),blurLength:b||(m?1:3),onSlideChange:g},[k,w]=a("");return n((()=>{w(window.location.href)}),[]),t.createElement(r,Object.assign({},u,C,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(d,{currentUrl:k}),nextControlIcon:t.createElement(d,{currentUrl:k,isRight:!0})}),(e=>s.map(((a,n)=>t.createElement(o,Object.assign({key:n,onClick:g,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k}},h),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(i,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":k,locale:p,name:a.name,icon:a.icon,className:n===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},d=({isRight:e,currentUrl:a})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":a,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{c as P};
1
+ import{_ as e}from"./tslib.es6-9c1790be.js";import t,{useState as a,useEffect as n}from"react";import{L as l}from"./Onboarding-815a1838.js";import{S as r,a as o,b as i}from"./index.styled-3ecad288.js";const c=c=>{var{data:s,isMobile:m,onSlideChange:g,pillProps:h,locale:p=l.Vietnam,blurFromIndex:v,blurLength:b}=c,C=e(c,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const u={withControls:!m,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(m?2:4),blurLength:b||(m?1:3),onSlideChange:g},[k,w]=a("");return n((()=>{w(window.location.href)}),[]),t.createElement(r,Object.assign({},u,C,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(d,{currentUrl:k}),nextControlIcon:t.createElement(d,{currentUrl:k,isRight:!0})}),(e=>s.map(((a,n)=>t.createElement(o,Object.assign({key:n,onClick:g,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":k}},h),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(i,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":k,locale:p,name:a.name,icon:a.icon,className:n===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},d=({isRight:e,currentUrl:a})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":a,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{c as P};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-ca4c7924.js";import t from"react";import{Autocomplete as n,Image as a,ActionIcon as l,Select as r}from"@mantine/core";import{useUncontrolled as o}from"@mantine/hooks";import{CommonGAssets as c}from"./gAssets.js";const i=n=>{var{keepSearch:a=!1}=n,l=e(n,["keepSearch"]);return a?t.createElement(s,Object.assign({},l)):t.createElement(C,Object.assign({},l))},s=r=>{var{value:i,defaultValue:s,onChange:C,clearable:h}=r,g=e(r,["value","defaultValue","onChange","clearable"]);const[m,u]=o({value:i,defaultValue:s,onChange:C});return t.createElement(n,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>u(e),value:m},g,h&&(null==m?void 0:m.length)>0?{rightSection:t.createElement(l,{onClick:()=>{u("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},C=n=>{var{searchValue:i,onSearchChange:s}=n,C=e(n,["searchValue","onSearchChange"]);const[h,g]=o({defaultValue:"",value:i,onChange:s});return t.createElement(r,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>g(e),searchValue:h},C,C.clearable&&(null==h?void 0:h.length)>0?{rightSection:t.createElement(l,{onClick:()=>{g("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};export{i as S};
1
+ import{_ as e}from"./tslib.es6-9c1790be.js";import t from"react";import{Autocomplete as n,Image as a,ActionIcon as l,Select as r}from"@mantine/core";import{useUncontrolled as o}from"@mantine/hooks";import{CommonGAssets as c}from"./gAssets.js";const i=n=>{var{keepSearch:a=!1}=n,l=e(n,["keepSearch"]);return a?t.createElement(s,Object.assign({},l)):t.createElement(C,Object.assign({},l))},s=r=>{var{value:i,defaultValue:s,onChange:C,clearable:h}=r,g=e(r,["value","defaultValue","onChange","clearable"]);const[m,u]=o({value:i,defaultValue:s,onChange:C});return t.createElement(n,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>u(e),value:m},g,h&&(null==m?void 0:m.length)>0?{rightSection:t.createElement(l,{onClick:()=>{u("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},C=n=>{var{searchValue:i,onSearchChange:s}=n,C=e(n,["searchValue","onSearchChange"]);const[h,g]=o({defaultValue:"",value:i,onChange:s});return t.createElement(r,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>g(e),searchValue:h},C,C.clearable&&(null==h?void 0:h.length)>0?{rightSection:t.createElement(l,{onClick:()=>{g("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};export{i as S};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-ca4c7924.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-f9fb7108.js";import{aN as r,aO as i,aP as l}from"./utils-a9bb3a5c.js";const m=m=>{var{color:c,withControl:h,onChange:g,value:u,min:w,max:p,isStatic:d,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,f]=o(u||w||0),[C]=a(b,r);return n((()=>{null==g||g(C)}),[C]),n((()=>{f(u)}),[u]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>w&&e===w?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:b,onChange:d?()=>null:f,min:w,max:p},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
1
+ import{_ as e}from"./tslib.es6-9c1790be.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-7b18af53.js";import{aD as r,aE as i,aF as l}from"./utils-e90f7b7a.js";const m=m=>{var{color:c,withControl:h,onChange:g,value:u,min:w,max:p,isStatic:d,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,f]=o(u||w||0),[C]=a(b,r);return n((()=>{null==g||g(C)}),[C]),n((()=>{f(u)}),[u]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>w&&e===w?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:b,onChange:d?()=>null:f,min:w,max:p},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-ca4c7924.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-9c1790be.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:b="p",wordWrap:m,isUppercase:y}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=b;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":m,"data-is-uppercase":y},g),d)};export{s as T};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-9c1790be.js";import t from"react";import{S as s,a}from"./index-7c07fc3f.js";const r=a=>{var{type:r,color:o,style:c}=a,l=e(a,["type","color","style"]);return t.createElement(s,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}),c)},l))},o=s=>{var{type:r,color:o,style:c}=s,l=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},c),o&&{"--text-color":o})},l))};export{o as M,r as a};
@@ -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 l,M as n}from"./utils-10c2f620.js";import{ae as r,af as s,ag as d,ah as c,ai as m,aj as p,ac as h,I as b}from"./utils-a9bb3a5c.js";import{T as u}from"./index-30e03a57.js";import g from"styled-components";import{u as y}from"./useTranslations-fa0feb0e.js";import{G as f}from"./Onboarding-d141e0b5.js";import{M as x,a as C}from"./index-b26629ef.js";import{t as v}from"./theme-484b917f.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:n,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:b=!0,className:g})=>{const y=t();a((()=>(l(m),()=>l(!1))),[m]);const f=()=>{y.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:y,hasTitle:Boolean(n)},e.createElement("div",{className:"title"},n&&e.createElement(u,{size:"s2",type:"semiBold"},n),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=>{b&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},$=({value:t,options:a,className:i,direction:l="horizontal",onChange:n,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":l},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),n&&n(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(x,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(u,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(g.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 l,M as n}from"./utils-35a508ae.js";import{a5 as r,a6 as s,a7 as d,a8 as c,a9 as m,aa as p,a3 as h,I as u}from"./utils-e90f7b7a.js";import{T as g}from"./index-c048cc84.js";import b from"styled-components";import{u as y}from"./useTranslations-16eca5b5.js";import{G as x}from"./Onboarding-815a1838.js";import{M as C,a as f}from"./index-c6368912.js";import{t as v}from"./theme-c780a012.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:n,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:u=!0,className:b})=>{const y=t();a((()=>(l(m),()=>l(!1))),[m]);const x=()=>{y.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:b,open:m},e.createElement(w,{open:m,onClickOutside:x}),e.createElement(d,{open:m,placement:p,ref:y,hasTitle:Boolean(n)},e.createElement("div",{className:"title"},n&&e.createElement(g,{size:"s2",type:"semiBold"},n),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:x},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:x}):null)))))},$=({value:t,options:a,className:i,direction:l="horizontal",onChange:n,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":l},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),n&&n(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(C,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(g,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(b.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -27,7 +27,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
27
27
  background-color: none;
28
28
  box-shadow: none;
29
29
  }
30
- `,k),j=g.div`
30
+ `,k),j=b.div`
31
31
  position: fixed;
32
32
  top: 0;
33
33
  left: 0;
@@ -130,7 +130,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
130
130
  }
131
131
  }
132
132
  }
133
- `,z=g.div`
133
+ `,z=b.div`
134
134
  position: fixed;
135
135
  top: 0;
136
136
  left: 0;
@@ -144,7 +144,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
144
144
  &[data-type='video'] {
145
145
  background-color: ${e=>e.theme.colors.secondaryDark};
146
146
  }
147
- `,T=g.div`
147
+ `,T=b.div`
148
148
  & > :not(:last-child) {
149
149
  margin-bottom: 8px;
150
150
  }
@@ -162,7 +162,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
162
162
  }
163
163
  }
164
164
  }
165
- `,G=g($)`
165
+ `,G=b($)`
166
166
  & > div > div {
167
167
  display: flex;
168
168
  flex-direction: row;
@@ -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}=y(),l="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":l},l?e.createElement(C,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(u,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},i("babyVaccineTool.selectGender")),e.createElement(G,{siteType:o,options:[{value:f.Boy,label:i("gender.male"),content:l?e.createElement(b.BabyBoyMB,null):e.createElement(b.GenderChooseBoy,null)},{value:f.Girl,label:i("gender.female"),content:l?e.createElement(b.BabyGirlMB,null):e.createElement(b.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}=y(),l="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":l},l?e.createElement(f,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(g,{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:l?e.createElement(u.BabyBoyMB,null):e.createElement(u.GenderChooseBoy,null)},{value:x.Girl,label:i("gender.female"),content:l?e.createElement(u.BabyGirlMB,null):e.createElement(u.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};
@@ -0,0 +1 @@
1
+ import e,{useMemo as a}from"react";import{CommonGAssets as t}from"./gAssets.js";import{W as s,X as l,Y as o,Z as r,_ as n,L as g,$ as m}from"./utils-e90f7b7a.js";import{I as i}from"./index-7c07fc3f.js";const c=({type:c,className:h,style:u,isLightLogo:w,customSize:f,badge:N,locale:d,dateForSeasonal:y,isPro:p})=>{const E=a((()=>{if(!y||isNaN(new Date(y).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(y),a=s(e),t=l.includes(d)&&o(e);return{isChristmas:a,isLunarNewYear:t,isNewYear:!t&&r(e)}}),[d,new Date(y).getDate()]);return e.createElement(n,{className:h,style:u,"data-logo-is-light":w||void 0,"data-has-badge":!!N,"data-christmas":E.isChristmas,"data-new-year":E.isNewYear,"data-lunar-new-year":E.isLunarNewYear},E.isChristmas?e.createElement(e.Fragment,null,e.createElement(i,{alt:"left xmas logo",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement(i,{alt:"right xmas logo",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):E.isNewYear?e.createElement(e.Fragment,null,e.createElement(i,{alt:"left new year logo",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement(i,{alt:"right new year logo",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):E.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement(i,{alt:"left lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement(i,{alt:"right lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(g,{type:c,width:null==f?void 0:f.width,height:null==f?void 0:f.height}),p?e.createElement(m,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{c as L};