@hhgtech/hhg-components 1.28.43 → 1.28.44

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 (326) hide show
  1. package/build/babyGrowth.d.ts +1 -0
  2. package/build/babyGrowth.js +2 -2
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +3 -3
  6. package/build/components.js +1 -1
  7. package/build/{constants-9ff7fa1b.js → constants-1b55e92a.js} +1 -1
  8. package/build/{constants-f6da7136.js → constants-53ed67a1.js} +1 -1
  9. package/build/constants.d.ts +1 -0
  10. package/build/constants.js +1 -1
  11. package/build/{core-f2d7c99e.js → core-7ce3a7ec.js} +1 -1
  12. package/build/ecom.js +1 -1
  13. package/build/esm/babyGrowth.d.ts +1 -0
  14. package/build/esm/babyGrowth.js +4 -4
  15. package/build/esm/cache.js +1 -1
  16. package/build/esm/care.js +1 -1
  17. package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +3 -3
  18. package/build/esm/components.js +1 -1
  19. package/build/esm/{constants-85abf596.js → constants-3923407c.js} +1 -1
  20. package/build/esm/{constants-5d98e4d5.js → constants-63c68cb5.js} +1 -1
  21. package/build/esm/constants.d.ts +1 -0
  22. package/build/esm/constants.js +1 -1
  23. package/build/esm/{core-38e093fd.js → core-9bf4e218.js} +1 -1
  24. package/build/esm/ecom.js +1 -1
  25. package/build/esm/footer.d.ts +1 -0
  26. package/build/esm/footer.js +1 -1
  27. package/build/esm/gAssets.d.ts +1 -0
  28. package/build/esm/gAssets.js +1 -1
  29. package/build/esm/getDynamicHealthTool-bf5ae45e.js +1 -0
  30. package/build/esm/getSocialList-4cd36db5.js +1 -0
  31. package/build/esm/hooks.js +1 -1
  32. package/build/esm/i18n.js +1 -1
  33. package/build/esm/i18nV2.d.ts +1 -0
  34. package/build/esm/i18nV2.js +1 -1
  35. package/build/esm/{index-b7259742.js → index-063cc1f8.js} +1 -1
  36. package/build/esm/index-13896a1f.js +1 -0
  37. package/build/esm/{index-9a2fec7d.js → index-1d02f620.js} +1 -1
  38. package/build/esm/index-219d0267.js +1 -0
  39. package/build/esm/index-43771efb.js +1 -0
  40. package/build/esm/index-48f2acf5.js +1 -0
  41. package/build/esm/{index-07cfe51c.js → index-49f5f7fe.js} +1 -1
  42. package/build/esm/index-4bcf944f.js +1 -0
  43. package/build/esm/{index-e013bfee.js → index-5beb9325.js} +1 -1
  44. package/build/esm/index-67cf9fd6.js +177 -0
  45. package/build/esm/{index-238133cc.js → index-6dd55943.js} +11 -11
  46. package/build/esm/index-7b051fad.js +1 -0
  47. package/build/esm/index-8d0e1fc9.js +1 -0
  48. package/build/esm/index-b4e3cda1.js +1 -0
  49. package/build/esm/{index-9c8f36d7.js → index-bc7b446c.js} +5 -5
  50. package/build/esm/index-c011f60e.js +1 -0
  51. package/build/esm/{index-687c2d3e.js → index-c55d9a53.js} +1 -1
  52. package/build/esm/index-cd27c1f3.js +1 -0
  53. package/build/esm/{index-79c5e9e2.js → index-cf5e3a41.js} +9 -9
  54. package/build/esm/{index-0ed64ffc.js → index-d2d4296b.js} +1 -1
  55. package/build/esm/index-d2fd18b2.js +1 -0
  56. package/build/esm/index-e9845176.js +1 -0
  57. package/build/esm/{index-84ef6920.js → index-edff5128.js} +1 -1
  58. package/build/esm/index.js +1 -1
  59. package/build/esm/{index.styled-9ba7adb1.js → index.styled-6f2497bf.js} +1 -1
  60. package/build/esm/{index.styled-2cb37273.js → index.styled-93aedd4f.js} +1 -1
  61. package/build/esm/{index.styled-31401937.js → index.styled-a1372cbc.js} +1 -1
  62. package/build/esm/{index.styled-23636d0c.js → index.styled-aa903af8.js} +6 -6
  63. package/build/esm/{index.styles-1daf0862.js → index.styles-968498ec.js} +1 -1
  64. package/build/esm/lead.js +1 -1
  65. package/build/esm/mantine.d.ts +1 -0
  66. package/build/esm/mantine.js +1 -1
  67. package/build/esm/misc.js +1 -1
  68. package/build/esm/navigation.d.ts +1 -0
  69. package/build/esm/navigation.js +1 -1
  70. package/build/esm/onboardingV2.d.ts +1 -0
  71. package/build/esm/onboardingV2.js +34 -34
  72. package/build/esm/pwg.d.ts +1 -0
  73. package/build/esm/pwg.js +3 -3
  74. package/build/esm/{routing-f971bd88.js → routing-eb0f44e6.js} +1 -1
  75. package/build/esm/subot.js +1 -1
  76. package/build/esm/together.js +1 -1
  77. package/build/esm/{types-f381c6b6.js → types-432589c8.js} +1 -1
  78. package/build/esm/types-a2185681.js +1 -0
  79. package/build/esm/types.d.ts +1 -0
  80. package/build/esm/types.js +1 -1
  81. package/build/esm/unifyEnv.d.ts +1 -0
  82. package/build/esm/{useCategory-f42bda24.js → useCategory-89c67c7a.js} +1 -1
  83. package/build/esm/useHealthToolCache-b4214f5b.js +1 -0
  84. package/build/esm/{usePlacesAutocomplete-fa51f662.js → usePlacesAutocomplete-db537374.js} +1 -1
  85. package/build/esm/{useRafState-7b769992.js → useRafState-60be12a5.js} +1 -1
  86. package/build/esm/{useTranslations-116d7e1c.js → useTranslations-154c6e71.js} +1 -1
  87. package/build/esm/{utils-7cbce686.js → utils-283a240e.js} +1 -1
  88. package/build/esm/{utils-c45d0c03.js → utils-e247d963.js} +1 -1
  89. package/build/esm/vaccination.d.ts +1 -0
  90. package/build/esm/vaccination.js +1 -1
  91. package/build/footer.d.ts +1 -0
  92. package/build/footer.js +1 -1
  93. package/build/gAssets.d.ts +1 -0
  94. package/build/gAssets.js +1 -1
  95. package/build/getDynamicHealthTool-88abb9f6.js +1 -0
  96. package/build/getSocialList-2ef855cd.js +1 -0
  97. package/build/hooks.js +1 -1
  98. package/build/i18n.js +1 -1
  99. package/build/i18nV2.d.ts +1 -0
  100. package/build/i18nV2.js +1 -1
  101. package/build/index-08fdac64.js +1 -0
  102. package/build/{index-4836150c.js → index-15ae0fb6.js} +1 -1
  103. package/build/index-1cce3d61.js +1 -0
  104. package/build/index-22b73910.js +1 -0
  105. package/build/index-2a9e9db0.js +1 -0
  106. package/build/{index-bde6d592.js → index-4ec0c769.js} +1 -1
  107. package/build/{index-1cec8336.js → index-6cbdbb0f.js} +1 -1
  108. package/build/index-895087de.js +1 -0
  109. package/build/index-90651331.js +1 -0
  110. package/build/index-90bb6947.js +1 -0
  111. package/build/{index-5974dfa0.js → index-9bec53cb.js} +11 -11
  112. package/build/{index-05474ea8.js → index-a1855a8c.js} +1 -1
  113. package/build/index-a4fbcb10.js +1 -0
  114. package/build/{index-12d029f5.js → index-aa35fe57.js} +1 -1
  115. package/build/{index-08dc9287.js → index-b30908be.js} +1 -1
  116. package/build/index-c45fd3c9.js +1 -0
  117. package/build/{index-1f435207.js → index-c68ec57c.js} +3 -3
  118. package/build/index-c97e51b3.js +1 -0
  119. package/build/{index-fb1b5177.js → index-cc5c10b5.js} +1 -1
  120. package/build/{index-279bc498.js → index-cff12c7f.js} +1 -1
  121. package/build/index-d75cc027.js +1 -0
  122. package/build/index-f3d26f67.js +1 -0
  123. package/build/{index-2f52dff0.js → index-f97ad29a.js} +1 -1
  124. package/build/index.js +1 -1
  125. package/build/{index.styled-d477af69.js → index.styled-49e95638.js} +1 -1
  126. package/build/{index.styled-e7790b5f.js → index.styled-7556937e.js} +1 -1
  127. package/build/{index.styled-06f12a63.js → index.styled-a3496699.js} +5 -5
  128. package/build/{index.styled-704638b7.js → index.styled-a3cec606.js} +5 -5
  129. package/build/{index.styles-6cd2c3c7.js → index.styles-8637f663.js} +5 -5
  130. package/build/lead.js +1 -1
  131. package/build/mantine.d.ts +1 -0
  132. package/build/mantine.js +1 -1
  133. package/build/misc.js +1 -1
  134. package/build/navigation.d.ts +1 -0
  135. package/build/navigation.js +1 -1
  136. package/build/onboardingV2.d.ts +1 -0
  137. package/build/onboardingV2.js +7 -7
  138. package/build/pwg.d.ts +1 -0
  139. package/build/pwg.js +2 -2
  140. package/build/{routing-331f4a5b.js → routing-b6fbe4e9.js} +1 -1
  141. package/build/subot.js +1 -1
  142. package/build/together.js +1 -1
  143. package/build/{types-357e5b0b.js → types-2b75bb53.js} +1 -1
  144. package/build/types-ff669f4e.js +1 -0
  145. package/build/types.d.ts +1 -0
  146. package/build/types.js +1 -1
  147. package/build/unifyEnv.d.ts +1 -0
  148. package/build/{useCategory-1c956018.js → useCategory-99b3ce3f.js} +1 -1
  149. package/build/{useHealthToolCache-6e0e2e30.js → useHealthToolCache-194e52e1.js} +1 -1
  150. package/build/{usePlacesAutocomplete-703b88a8.js → usePlacesAutocomplete-f182b9d8.js} +1 -1
  151. package/build/{useRafState-6d8e461b.js → useRafState-eb46223d.js} +1 -1
  152. package/build/{useTranslations-cab885cb.js → useTranslations-f081b85d.js} +1 -1
  153. package/build/utils-9a23430c.js +1 -0
  154. package/build/{utils-2fcd1a59.js → utils-bdaf775c.js} +1 -1
  155. package/build/vaccination.d.ts +1 -0
  156. package/build/vaccination.js +1 -1
  157. package/package.json +5 -39
  158. package/build/esm/getDynamicHealthTool-7628cda2.js +0 -1
  159. package/build/esm/getSocialList-d04d33a6.js +0 -1
  160. package/build/esm/index-030b74b1.js +0 -1
  161. package/build/esm/index-11326696.js +0 -1
  162. package/build/esm/index-21588c20.js +0 -1
  163. package/build/esm/index-3005a9b8.js +0 -1
  164. package/build/esm/index-628f0a1f.js +0 -1
  165. package/build/esm/index-63d19692.js +0 -1
  166. package/build/esm/index-64c30542.js +0 -1
  167. package/build/esm/index-8ffed668.js +0 -1
  168. package/build/esm/index-9748526f.js +0 -1
  169. package/build/esm/index-a83990c1.js +0 -1
  170. package/build/esm/index-b7930374.js +0 -1
  171. package/build/esm/index-b8f3b490.js +0 -177
  172. package/build/esm/types-0bd1fb11.js +0 -1
  173. package/build/esm/useHealthToolCache-016329de.js +0 -1
  174. package/build/getDynamicHealthTool-a33d2fb8.js +0 -1
  175. package/build/getSocialList-67170fee.js +0 -1
  176. package/build/index-0a3025ff.js +0 -1
  177. package/build/index-132b26af.js +0 -1
  178. package/build/index-5595d0c7.js +0 -1
  179. package/build/index-600a65a9.js +0 -1
  180. package/build/index-84d90e92.js +0 -1
  181. package/build/index-8c4de975.js +0 -1
  182. package/build/index-8d286f70.js +0 -1
  183. package/build/index-9f4abb05.js +0 -1
  184. package/build/index-ecb42d5e.js +0 -1
  185. package/build/index-f3a583eb.js +0 -1
  186. package/build/index-f87d2fbc.js +0 -1
  187. package/build/types-77c27b51.js +0 -1
  188. package/build/utils-27b57bb7.js +0 -1
  189. /package/build/{BMI_BOYS.percentile.monthly-9cc2510c.js → BMI_BOYS.percentile.monthly-4bdcde00.js} +0 -0
  190. /package/build/{BMI_BOYS.percentile.weekly-692710e9.js → BMI_BOYS.percentile.weekly-1155ea68.js} +0 -0
  191. /package/build/{BMI_BOYS.percentile.yearly-5aebed74.js → BMI_BOYS.percentile.yearly-7c76df92.js} +0 -0
  192. /package/build/{BMI_BOYS.zscore.monthly-e6ac579f.js → BMI_BOYS.zscore.monthly-181d5ae3.js} +0 -0
  193. /package/build/{BMI_BOYS.zscore.weekly-f95663f1.js → BMI_BOYS.zscore.weekly-0cf8df2f.js} +0 -0
  194. /package/build/{BMI_BOYS.zscore.yearly-4e9a7298.js → BMI_BOYS.zscore.yearly-102965ca.js} +0 -0
  195. /package/build/{BMI_GIRLS.percentile.monthly-8fa5e4ec.js → BMI_GIRLS.percentile.monthly-2cf6d311.js} +0 -0
  196. /package/build/{BMI_GIRLS.percentile.weekly-f647c1c9.js → BMI_GIRLS.percentile.weekly-5b6d4586.js} +0 -0
  197. /package/build/{BMI_GIRLS.percentile.yearly-858e6e45.js → BMI_GIRLS.percentile.yearly-3509e0f0.js} +0 -0
  198. /package/build/{BMI_GIRLS.zscore.monthly-4d8e13c7.js → BMI_GIRLS.zscore.monthly-dbe09d64.js} +0 -0
  199. /package/build/{BMI_GIRLS.zscore.weekly-71f34d34.js → BMI_GIRLS.zscore.weekly-727a462b.js} +0 -0
  200. /package/build/{BMI_GIRLS.zscore.yearly-a03a4d31.js → BMI_GIRLS.zscore.yearly-9aa1baa4.js} +0 -0
  201. /package/build/{ChevronDown-1e276d28.js → ChevronDown-09646e34.js} +0 -0
  202. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-1a7a0681.js → HEAD CIRCUM_BOYS.percentile.monthly-67f49877.js} +0 -0
  203. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-15b9bcec.js → HEAD CIRCUM_BOYS.percentile.weekly-b7cdc6c2.js} +0 -0
  204. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e78fce40.js → HEAD CIRCUM_BOYS.percentile.yearly-679ce89e.js} +0 -0
  205. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3e0c7ce4.js → HEAD CIRCUM_BOYS.zscore.monthly-ac11764c.js} +0 -0
  206. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-46c367b6.js → HEAD CIRCUM_BOYS.zscore.weekly-6794e1f8.js} +0 -0
  207. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-6018c6e7.js → HEAD CIRCUM_BOYS.zscore.yearly-abd78ce6.js} +0 -0
  208. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e2ae302a.js → HEAD CIRCUM_GIRLS.percentile.monthly-770aee60.js} +0 -0
  209. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-36366a49.js → HEAD CIRCUM_GIRLS.percentile.weekly-7b02ba8f.js} +0 -0
  210. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6e68722b.js → HEAD CIRCUM_GIRLS.percentile.yearly-7271e0f4.js} +0 -0
  211. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-55f96e4e.js → HEAD CIRCUM_GIRLS.zscore.monthly-d849260b.js} +0 -0
  212. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7dcc2ac4.js → HEAD CIRCUM_GIRLS.zscore.weekly-b1e4bdb4.js} +0 -0
  213. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-baa8f67b.js → HEAD CIRCUM_GIRLS.zscore.yearly-fe67e62b.js} +0 -0
  214. /package/build/{HEIGHT_BOYS.percentile.monthly-0a42692d.js → HEIGHT_BOYS.percentile.monthly-a9b28e03.js} +0 -0
  215. /package/build/{HEIGHT_BOYS.percentile.weekly-2154d02b.js → HEIGHT_BOYS.percentile.weekly-d256f904.js} +0 -0
  216. /package/build/{HEIGHT_BOYS.percentile.yearly-2c025a71.js → HEIGHT_BOYS.percentile.yearly-d0d7870c.js} +0 -0
  217. /package/build/{HEIGHT_BOYS.zscore.monthly-abee47ca.js → HEIGHT_BOYS.zscore.monthly-1f6d8b3b.js} +0 -0
  218. /package/build/{HEIGHT_BOYS.zscore.weekly-b7f41f17.js → HEIGHT_BOYS.zscore.weekly-ca971d85.js} +0 -0
  219. /package/build/{HEIGHT_BOYS.zscore.yearly-72abe158.js → HEIGHT_BOYS.zscore.yearly-0f6350a9.js} +0 -0
  220. /package/build/{HEIGHT_GIRLS.percentile.monthly-72697b74.js → HEIGHT_GIRLS.percentile.monthly-515bf89a.js} +0 -0
  221. /package/build/{HEIGHT_GIRLS.percentile.weekly-2b306227.js → HEIGHT_GIRLS.percentile.weekly-c9e09302.js} +0 -0
  222. /package/build/{HEIGHT_GIRLS.percentile.yearly-9a448ec4.js → HEIGHT_GIRLS.percentile.yearly-aeba297a.js} +0 -0
  223. /package/build/{HEIGHT_GIRLS.zscore.monthly-36f3290a.js → HEIGHT_GIRLS.zscore.monthly-b580279d.js} +0 -0
  224. /package/build/{HEIGHT_GIRLS.zscore.weekly-21bab2ed.js → HEIGHT_GIRLS.zscore.weekly-a957ddaf.js} +0 -0
  225. /package/build/{HEIGHT_GIRLS.zscore.yearly-7ef5ecbd.js → HEIGHT_GIRLS.zscore.yearly-5931c772.js} +0 -0
  226. /package/build/{Subot-a5b86b08.js → Subot-f5c59f1e.js} +0 -0
  227. /package/build/{Visible-184a596d.js → Visible-b951d667.js} +0 -0
  228. /package/build/{WEIGHT_BOYS.percentile.monthly-a6d875ec.js → WEIGHT_BOYS.percentile.monthly-03059aba.js} +0 -0
  229. /package/build/{WEIGHT_BOYS.percentile.weekly-5fe17517.js → WEIGHT_BOYS.percentile.weekly-003a1949.js} +0 -0
  230. /package/build/{WEIGHT_BOYS.percentile.yearly-d1fb5b72.js → WEIGHT_BOYS.percentile.yearly-edb57cf2.js} +0 -0
  231. /package/build/{WEIGHT_BOYS.zscore.monthly-35be61f3.js → WEIGHT_BOYS.zscore.monthly-7bdf338c.js} +0 -0
  232. /package/build/{WEIGHT_BOYS.zscore.weekly-5bd8b8e1.js → WEIGHT_BOYS.zscore.weekly-e5476fd1.js} +0 -0
  233. /package/build/{WEIGHT_BOYS.zscore.yearly-1cb85d26.js → WEIGHT_BOYS.zscore.yearly-c7fa6d7e.js} +0 -0
  234. /package/build/{WEIGHT_GIRLS.percentile.monthly-f1e12499.js → WEIGHT_GIRLS.percentile.monthly-06c20697.js} +0 -0
  235. /package/build/{WEIGHT_GIRLS.percentile.weekly-c03e8ce3.js → WEIGHT_GIRLS.percentile.weekly-a7169e9c.js} +0 -0
  236. /package/build/{WEIGHT_GIRLS.percentile.yearly-0ac4286a.js → WEIGHT_GIRLS.percentile.yearly-51c606c5.js} +0 -0
  237. /package/build/{WEIGHT_GIRLS.zscore.monthly-4e12ef66.js → WEIGHT_GIRLS.zscore.monthly-f2ffff35.js} +0 -0
  238. /package/build/{WEIGHT_GIRLS.zscore.weekly-e4592090.js → WEIGHT_GIRLS.zscore.weekly-dab69627.js} +0 -0
  239. /package/build/{WEIGHT_GIRLS.zscore.yearly-4f6fb733.js → WEIGHT_GIRLS.zscore.yearly-f10ce018.js} +0 -0
  240. /package/build/{cookieHelper-163362fb.js → cookieHelper-16601856.js} +0 -0
  241. /package/build/{dataTransform-daeb4525.js → dataTransform-777dc7c3.js} +0 -0
  242. /package/build/esm/{BMI_BOYS.percentile.monthly-c75a3762.js → BMI_BOYS.percentile.monthly-f262473c.js} +0 -0
  243. /package/build/esm/{BMI_BOYS.percentile.weekly-2ef13411.js → BMI_BOYS.percentile.weekly-f5b94d14.js} +0 -0
  244. /package/build/esm/{BMI_BOYS.percentile.yearly-2bba5948.js → BMI_BOYS.percentile.yearly-7ec74edd.js} +0 -0
  245. /package/build/esm/{BMI_BOYS.zscore.monthly-a4b4ecbb.js → BMI_BOYS.zscore.monthly-a4ac044c.js} +0 -0
  246. /package/build/esm/{BMI_BOYS.zscore.weekly-ba01e65b.js → BMI_BOYS.zscore.weekly-b7953339.js} +0 -0
  247. /package/build/esm/{BMI_BOYS.zscore.yearly-274dfd59.js → BMI_BOYS.zscore.yearly-8d5a5f2d.js} +0 -0
  248. /package/build/esm/{BMI_GIRLS.percentile.monthly-c6b5574d.js → BMI_GIRLS.percentile.monthly-3b21e9f6.js} +0 -0
  249. /package/build/esm/{BMI_GIRLS.percentile.weekly-11d8b777.js → BMI_GIRLS.percentile.weekly-8a72ee76.js} +0 -0
  250. /package/build/esm/{BMI_GIRLS.percentile.yearly-df341bf9.js → BMI_GIRLS.percentile.yearly-629770c3.js} +0 -0
  251. /package/build/esm/{BMI_GIRLS.zscore.monthly-7c820da5.js → BMI_GIRLS.zscore.monthly-565f420c.js} +0 -0
  252. /package/build/esm/{BMI_GIRLS.zscore.weekly-80e50845.js → BMI_GIRLS.zscore.weekly-e4afc98b.js} +0 -0
  253. /package/build/esm/{BMI_GIRLS.zscore.yearly-c021f327.js → BMI_GIRLS.zscore.yearly-b35d87f5.js} +0 -0
  254. /package/build/esm/{ChevronDown-24b51a09.js → ChevronDown-a01c53f7.js} +0 -0
  255. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-68c70b39.js → HEAD CIRCUM_BOYS.percentile.monthly-6a8bb7ee.js} +0 -0
  256. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bc0d4d64.js → HEAD CIRCUM_BOYS.percentile.weekly-82951ccd.js} +0 -0
  257. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d8cb1776.js → HEAD CIRCUM_BOYS.percentile.yearly-9eef9698.js} +0 -0
  258. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4753bd6f.js → HEAD CIRCUM_BOYS.zscore.monthly-a3391bc3.js} +0 -0
  259. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8883e4ad.js → HEAD CIRCUM_BOYS.zscore.weekly-f733d920.js} +0 -0
  260. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-221b6e44.js → HEAD CIRCUM_BOYS.zscore.yearly-2146715a.js} +0 -0
  261. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-dc898f27.js → HEAD CIRCUM_GIRLS.percentile.monthly-9952f63b.js} +0 -0
  262. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d4d97499.js → HEAD CIRCUM_GIRLS.percentile.weekly-a79e4cb3.js} +0 -0
  263. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-abc1f5c2.js → HEAD CIRCUM_GIRLS.percentile.yearly-5793bddc.js} +0 -0
  264. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a0948f58.js → HEAD CIRCUM_GIRLS.zscore.monthly-9cf0d7e7.js} +0 -0
  265. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-25912862.js → HEAD CIRCUM_GIRLS.zscore.weekly-554b1c54.js} +0 -0
  266. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-83b7d679.js → HEAD CIRCUM_GIRLS.zscore.yearly-92513492.js} +0 -0
  267. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3edbb959.js → HEIGHT_BOYS.percentile.monthly-dde47a57.js} +0 -0
  268. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-4092f997.js → HEIGHT_BOYS.percentile.weekly-26a48f0b.js} +0 -0
  269. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c38b0a8c.js → HEIGHT_BOYS.percentile.yearly-7f453bec.js} +0 -0
  270. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b8c64f37.js → HEIGHT_BOYS.zscore.monthly-ef1cb387.js} +0 -0
  271. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-529eb078.js → HEIGHT_BOYS.zscore.weekly-97fa211a.js} +0 -0
  272. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-7a22a422.js → HEIGHT_BOYS.zscore.yearly-3e3bde63.js} +0 -0
  273. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f6cfed4c.js → HEIGHT_GIRLS.percentile.monthly-30be483f.js} +0 -0
  274. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-93a3052c.js → HEIGHT_GIRLS.percentile.weekly-7379a593.js} +0 -0
  275. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-dc3e31b5.js → HEIGHT_GIRLS.percentile.yearly-478368ef.js} +0 -0
  276. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5e2e4282.js → HEIGHT_GIRLS.zscore.monthly-3a72a7a6.js} +0 -0
  277. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fc7e15c7.js → HEIGHT_GIRLS.zscore.weekly-b6c34b3a.js} +0 -0
  278. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-be667f08.js → HEIGHT_GIRLS.zscore.yearly-76e796e8.js} +0 -0
  279. /package/build/esm/{Subot-e2d168f6.js → Subot-dac02b43.js} +0 -0
  280. /package/build/esm/{Visible-9487b5ec.js → Visible-47f22dfd.js} +0 -0
  281. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-18ce8db0.js → WEIGHT_BOYS.percentile.monthly-687b7b12.js} +0 -0
  282. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4b0b6966.js → WEIGHT_BOYS.percentile.weekly-8af24869.js} +0 -0
  283. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1041251f.js → WEIGHT_BOYS.percentile.yearly-284c0509.js} +0 -0
  284. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a0857214.js → WEIGHT_BOYS.zscore.monthly-3e998d39.js} +0 -0
  285. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8abaf07f.js → WEIGHT_BOYS.zscore.weekly-e6a34c52.js} +0 -0
  286. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-137e552e.js → WEIGHT_BOYS.zscore.yearly-78b9aee1.js} +0 -0
  287. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d2524b72.js → WEIGHT_GIRLS.percentile.monthly-a09b44e8.js} +0 -0
  288. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5876ebb5.js → WEIGHT_GIRLS.percentile.weekly-feee61f9.js} +0 -0
  289. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2c1fd942.js → WEIGHT_GIRLS.percentile.yearly-63bc5a30.js} +0 -0
  290. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-827db6c4.js → WEIGHT_GIRLS.zscore.monthly-eb53f818.js} +0 -0
  291. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-5de05683.js → WEIGHT_GIRLS.zscore.weekly-d393998a.js} +0 -0
  292. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-f59d61c9.js → WEIGHT_GIRLS.zscore.yearly-7a32a9cc.js} +0 -0
  293. /package/build/esm/{cookieHelper-33d23c92.js → cookieHelper-55e30d0f.js} +0 -0
  294. /package/build/esm/{dataTransform-5f4d0e1d.js → dataTransform-0f753a8d.js} +0 -0
  295. /package/build/esm/{index-367d6b96.js → index-07063e55.js} +0 -0
  296. /package/build/esm/{index-df32f94b.js → index-3d838a6b.js} +0 -0
  297. /package/build/esm/{index-1bb8c935.js → index-f30ca662.js} +0 -0
  298. /package/build/esm/{isProduction-7160e35b.js → isProduction-d1491481.js} +0 -0
  299. /package/build/esm/{localizeNumberFormat-5b9a1c0d.js → localizeNumberFormat-6df9f051.js} +0 -0
  300. /package/build/esm/{normalizeLink-1b4f867b.js → normalizeLink-38377186.js} +0 -0
  301. /package/build/esm/{number-87de0452.js → number-161e80f5.js} +0 -0
  302. /package/build/esm/{paths-ebbc0cab.js → paths-25ba6851.js} +0 -0
  303. /package/build/esm/{screenSizeContext-e682ed0e.js → screenSizeContext-96560239.js} +0 -0
  304. /package/build/esm/{theme-02c77f4e.js → theme-0bf733e5.js} +0 -0
  305. /package/build/esm/{translationsContext-44f1a91d.js → translationsContext-2928d817.js} +0 -0
  306. /package/build/esm/{tslib.es6-dea2bd5b.js → tslib.es6-ed0fd94c.js} +0 -0
  307. /package/build/esm/{types-f9e7a90c.js → types-b8a4b227.js} +0 -0
  308. /package/build/esm/{useIsInit-f9f018fa.js → useIsInit-cb7d2978.js} +0 -0
  309. /package/build/esm/{useOutsideClick-c0e17277.js → useOutsideClick-f603145b.js} +0 -0
  310. /package/build/esm/{useScrollbarSize-172187ad.js → useScrollbarSize-258e8689.js} +0 -0
  311. /package/build/{index-df49c16e.js → index-8f6f3262.js} +0 -0
  312. /package/build/{index-0e9897a9.js → index-aa2246a9.js} +0 -0
  313. /package/build/{index-07ea09ec.js → index-c11ba2de.js} +0 -0
  314. /package/build/{isProduction-5d1cbb0a.js → isProduction-60ee72ee.js} +0 -0
  315. /package/build/{localizeNumberFormat-abfce92a.js → localizeNumberFormat-3a99a4d3.js} +0 -0
  316. /package/build/{normalizeLink-839d696d.js → normalizeLink-e9909bca.js} +0 -0
  317. /package/build/{number-eb00f939.js → number-991a82e8.js} +0 -0
  318. /package/build/{paths-586177a4.js → paths-090390a0.js} +0 -0
  319. /package/build/{screenSizeContext-7e9237ac.js → screenSizeContext-0242fe70.js} +0 -0
  320. /package/build/{theme-79d3f26f.js → theme-1a96d62c.js} +0 -0
  321. /package/build/{translationsContext-ff61a492.js → translationsContext-d6a9ac72.js} +0 -0
  322. /package/build/{tslib.es6-bc58e7e5.js → tslib.es6-5195a8c8.js} +0 -0
  323. /package/build/{types-f4a7d6cb.js → types-e5a9bebd.js} +0 -0
  324. /package/build/{useIsInit-ac436fbe.js → useIsInit-ff0abff5.js} +0 -0
  325. /package/build/{useOutsideClick-97046196.js → useOutsideClick-357f47d1.js} +0 -0
  326. /package/build/{useScrollbarSize-7efd8901.js → useScrollbarSize-560f763b.js} +0 -0
@@ -1 +1 @@
1
- import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-e2d168f6.js";import{i as c}from"./isProduction-7160e35b.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}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"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"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"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"}},y={"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"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!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"}(M||(M={}));const P={[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:","}},d="hhg_user_token",H={[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},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,Y as b,R as c,m as d,O as e,b as f,p as g,N as h,k as i,h as j,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"./Subot-dac02b43.js";import{i as c}from"./isProduction-d1491481.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}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"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"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"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"}},y={"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"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!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"}(M||(M={}));const P={[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:","}},d="hhg_user_token",H={[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},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,Y as b,R as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
@@ -0,0 +1 @@
1
+ import a,{useState as e,useEffect as t}from"react";import{L as s}from"./Subot-dac02b43.js";import{C as l}from"./index-c011f60e.js";import{i as o,a as n,b as r,c as g,d as m,e as i,f as c,g as h,S as d,L as u,h as N}from"./utils-283a240e.js";import{I as y}from"./index-bc7b446c.js";const f=({type:f,className:w,style:p,isLightLogo:E,customSize:b,badge:P,locale:A,dateForSeasonal:L,isPro:V})=>{const[x,z]=e({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1});return t((()=>{if(!L||isNaN(new Date(L).getTime()))return;const a=new Date(L),e=o(a),t=n.includes(A)&&r(a),l=!t&&g(a),d=m(a),u=A===s.Vietnam&&i(a),N=A===s.Vietnam&&c(a),y=A===s.Vietnam&&h(a);z({isChristmas:e,isLunarNewYear:t,isNewYear:l,isRamadan:d,isVNHungKing:u,isVN3004:N,isLabourDay:y})}),[A,new Date(L).getDate()]),a.createElement(d,{className:w,style:p,"data-logo-is-light":E||void 0,"data-has-badge":!!P,"data-seasonal":x.isRamadan?"ramadan":x.isChristmas?"christmas":x.isLunarNewYear?"lunar-new-year":x.isNewYear?"new-year":x.isVNHungKing?"hung-king":x.isVN3004?"30-04":x.isLabourDay?"labour-day":void 0,"data-type":f},x.isChristmas?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left xmas logo",src:l.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right xmas logo",src:l.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):x.isNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left new year logo",src:l.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right new year logo",src:l.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):x.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellosehat"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellodoktor"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):!x.isVNHungKing||"hellobacsi"!==f&&"marryBaby"!==f?null:a.createElement(a.Fragment,null,a.createElement(y,{alt:"Hung King logo",loading:"lazy",src:l.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})),a.createElement(u,{type:f,width:null==b?void 0:b.width,height:null==b?void 0:b.height}),V?a.createElement(N,{src:l.getAssetPath("logo/pro-suffix.svg")}):null,P)};export{f as L};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-dea2bd5b.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as r}from"./index-687c2d3e.js";import{D as s,g as i,h as l}from"./index-9c8f36d7.js";const m=m=>{var{color:c,withControl:h,onChange:d,value:u,min:g,max:p,isStatic:k,containerClassName:v,containerStyle:x}=m,C=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,f]=o(u||g||0),[E]=a(b,s);return n((()=>{null==d||d(E)}),[E]),n((()=>{f(u)}),[u]),t.createElement(i,{className:v,style:x},h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>g&&e===g?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",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:k?()=>null:f,min:g,max:p},C,{className:"hhg-mantine-slider "+(C.className||"")})),h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",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-ed0fd94c.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as r}from"./index-c55d9a53.js";import{D as s,g as i,h as l}from"./index-bc7b446c.js";const c=c=>{var{color:m,withControl:h,onChange:d,value:u,min:g,max:p,isStatic:k,containerClassName:v,containerStyle:x}=c,C=e(c,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,f]=o(u||g||0),[E]=a(b,s);return n((()=>{null==d||d(E)}),[E]),n((()=>{f(u)}),[u]),t.createElement(i,{className:v,style:x},h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>g&&e===g?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:m,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:m,value:b,onChange:k?()=>null:f,min:g,max:p},C,{className:"hhg-mantine-slider "+(C.className||"")})),h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{f((e=>p&&e===p?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:m,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{c as S};
@@ -0,0 +1,177 @@
1
+ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as n,M as l}from"./screenSizeContext-96560239.js";import{J as r,K as s,L as d,M as c,N as m,O as p,Q as h}from"./index.styles-968498ec.js";import{T as u,I as g}from"./index-48f2acf5.js";import"dayjs";import b from"styled-components";import{t as f}from"./theme-0bf733e5.js";import"./index-49f5f7fe.js";import"./isProduction-d1491481.js";import{G as x}from"./Subot-dac02b43.js";import"./index-c011f60e.js";import{u as y}from"./useTranslations-154c6e71.js";import{M as C,a as v}from"./index-edff5128.js";import{T as w}from"./index-13896a1f.js";const E=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),B=({children:o,title:l,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:g=!0,className:b})=>{const f=t();a((()=>(n(m),()=>n(!1))),[m]);const x=()=>{f.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:b,open:m},e.createElement(E,{open:m,onClickOutside:x}),e.createElement(d,{open:m,placement:p,ref:f,hasTitle:Boolean(l)},e.createElement("div",{className:"title"},l&&e.createElement(u,{size:"s2",weight:"semiBold"},l),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",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=>{g&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:x}):null)))))},$=({value:t,options:a,className:i,direction:n="horizontal",onChange:l,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),l&&l(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(C,{type:"subtitle-2",color:(t||d)===a.value?f.mbColors.dark:f.mbColors.midGray},a.label):e.createElement(w,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},j="hhgcomp-modal-modal",k=h(b.div`
2
+ position: relative;
3
+ z-index: 200;
4
+ background-color: ${f.colors.white};
5
+ border-radius: ${f.borderRadius};
6
+ box-shadow: 0px 4px 8px ${f.colors.gray200};
7
+ &[data-site-type='marryBaby'] {
8
+ border-radius: 16px;
9
+ .hhg-modal__content {
10
+ position: relative;
11
+ z-index: 111;
12
+ height: 100%;
13
+
14
+ padding: 24px;
15
+ }
16
+ }
17
+ .hhg-modal__content {
18
+ position: relative;
19
+ z-index: 111;
20
+ height: 100%;
21
+ padding: 16px;
22
+ }
23
+ .hhg-modal__video {
24
+ position: relative;
25
+ z-index: 111;
26
+ height: 100%;
27
+ background-color: none;
28
+ box-shadow: none;
29
+ }
30
+ `,j),z=b.div`
31
+ position: fixed;
32
+ top: 0;
33
+ left: 0;
34
+ z-index: 201;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ width: 100%;
39
+ height: 100%;
40
+ overflow-x: hidden;
41
+ overflow-y: auto;
42
+ outline: 0;
43
+ visibility: hidden;
44
+ background-color: rgba(38, 38, 38, 0.3);
45
+
46
+ .hhg-modal__close {
47
+ position: absolute;
48
+ top: 16px;
49
+ right: 16px;
50
+ cursor: pointer;
51
+ img {
52
+ width: 100%;
53
+ height: 100%;
54
+ border-radius: 50%;
55
+ }
56
+ }
57
+ &[data-type='video'] {
58
+ z-index: 1001;
59
+ }
60
+ &[data-open='true'] {
61
+ visibility: visible;
62
+ }
63
+
64
+ &.slideTop {
65
+ .${j} {
66
+ transform: translate(0, -100vh);
67
+ transition: all 0.5s ease;
68
+ }
69
+
70
+ &[data-open='true'] {
71
+ .${j} {
72
+ transform: translate(0);
73
+ }
74
+ }
75
+ }
76
+
77
+ &.scaleUp {
78
+ .${j} {
79
+ transform: scale(0.9);
80
+ }
81
+
82
+ &[data-open='true'] {
83
+ .${j} {
84
+ transition: all 0.3s ease-out;
85
+ transform: scale(1);
86
+ }
87
+ }
88
+ }
89
+
90
+ &[data-type='tail'] {
91
+ justify-content: flex-end;
92
+ .${j} {
93
+ width: 420px;
94
+ height: 100%;
95
+ border-radius: 0;
96
+ overflow: hidden auto;
97
+ }
98
+ }
99
+ &[data-type='form'] {
100
+ .${j} {
101
+ width: 496px;
102
+ height: 548px;
103
+ max-height: 100%;
104
+ overflow-y: auto;
105
+ ${l.mbDown} {
106
+ width: 340px;
107
+ }
108
+ }
109
+ }
110
+ &[data-type='video'] {
111
+ .${j} {
112
+ height: 100%;
113
+ max-height: 539px;
114
+ ${l.mbDown} {
115
+ height: 192px;
116
+ width: 100%;
117
+ height: 100%;
118
+ border-radius: ${f.borderRadius};
119
+ max-height: 192px;
120
+ }
121
+ }
122
+ }
123
+ &[data-type='confirm'] {
124
+ .${j} {
125
+ width: 100%;
126
+ max-width: 407px;
127
+ ${l.mbDown} {
128
+ width: calc(100% - 32px);
129
+ max-width: calc(100% - 32px);
130
+ }
131
+ }
132
+ }
133
+ `,L=b.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 0;
137
+ width: 100vw;
138
+ height: 100vh;
139
+ align-items: center;
140
+
141
+ &[data-open='false'] {
142
+ display: none;
143
+ }
144
+ &[data-type='video'] {
145
+ background-color: ${f.colors.secondaryDark};
146
+ }
147
+ `,G=b.div`
148
+ & > :not(:last-child) {
149
+ margin-bottom: 8px;
150
+ }
151
+
152
+ .gender-selector {
153
+ & > :not(:last-child) {
154
+ margin-right: 16px;
155
+ }
156
+
157
+ & > div {
158
+ width: calc(50% - 8px);
159
+
160
+ ${l.mbUp} {
161
+ justify-self: left;
162
+ }
163
+ }
164
+ }
165
+ `,N=b($)`
166
+ & > div > div {
167
+ display: flex;
168
+ flex-direction: row;
169
+ justify-content: center;
170
+ align-content: center;
171
+ gap: 8px;
172
+ padding-block: 5px;
173
+ }
174
+ .radio-group-item-heading {
175
+ margin-top: 0;
176
+ }
177
+ `,T=({value:t,onChange:a,siteType:o})=>{const{t:i}=y(),n="marryBaby"==o;return e.createElement(G,{"data-is-marryBaby":n},n?e.createElement(v,{type:"h4",color:f.mbColors.dark},i("tools.selectBabyGender")):e.createElement(u,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},i("tools.selectBabyGender")),e.createElement(N,{siteType:o,options:[{value:x.Boy,label:i("gender.male"),content:n?e.createElement(g.BabyBoyMB,null):e.createElement(g.GenderChooseBoy,null)},{value:x.Girl,label:i("gender.female"),content:n?e.createElement(g.BabyGirlMB,null):e.createElement(g.GenderChooseGirl,null)}],value:t,onChange:a,className:"gender-selector"}))};export{T as B,B as D,$ as R,z as S,L as a,k as b};
@@ -1,4 +1,4 @@
1
- import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as c}from"./index-11326696.js";import{u as p}from"./useTranslations-116d7e1c.js";import"lodash/debounce";import"./isProduction-7160e35b.js";import"./index-07cfe51c.js";import"./useCategory-f42bda24.js";import{createStyles as m,Stack as g,Group as h,getStylesRef as u,useMantineTheme as b,Flex as x,rem as f,Box as y}from"@mantine/core";import v from"dayjs";import{M as w}from"./screenSizeContext-e682ed0e.js";import k,{keyframes as E,css as $}from"styled-components";import{t as D}from"./theme-02c77f4e.js";import{G as C,L as z}from"./Subot-e2d168f6.js";import{CommonGAssets as B}from"./gAssets.js";import{L as P}from"./index-628f0a1f.js";import{B as N}from"./index-687c2d3e.js";import{H as j,T as S,Q as I,a6 as T,P as M,x as A}from"./index.styles-1daf0862.js";import{I as O}from"./index-0ed64ffc.js";import{_}from"./tslib.es6-dea2bd5b.js";import{R as L,B as U}from"./index-9c8f36d7.js";import"@mantine/dates";import"./translationsContext-44f1a91d.js";import"string-format";import"@mantine/hooks";import{yupResolver as F}from"@hookform/resolvers/yup";import{useForm as H,Controller as R}from"react-hook-form";import{B as G,D as W}from"./index-b8f3b490.js";import{L as V}from"./constants-85abf596.js";import{D as q}from"./index.styled-31401937.js";import{format as Y,addDays as Z}from"date-fns";import"./utils-7cbce686.js";import{S as X}from"./index-e013bfee.js";import{M as J}from"./index-84ef6920.js";import"./index-367d6b96.js";import{D as K}from"./types-f9e7a90c.js";import Q from"react-day-picker/DayPickerInput";var ee="tliWyii";const te=({className:t,theme:a,hideText:i})=>{const{t:o}=p();return e.createElement("div",{className:`${ee} ${t}`},e.createElement(d.Spinner,{isMarryBaby:"marryBaby"===a}),!i&&o("loading"))},ae=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},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"}))))),ie=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},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"})))),oe=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},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 re=m(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ne=k.a`
1
+ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as c}from"./index-48f2acf5.js";import{u as p}from"./useTranslations-154c6e71.js";import"lodash/debounce";import"./isProduction-d1491481.js";import"./index-49f5f7fe.js";import"./useCategory-89c67c7a.js";import{createStyles as m,Stack as g,Group as h,getStylesRef as u,useMantineTheme as b,Flex as x,rem as f,Box as y}from"@mantine/core";import v from"dayjs";import{M as w}from"./screenSizeContext-96560239.js";import k,{keyframes as E,css as $}from"styled-components";import{t as D}from"./theme-0bf733e5.js";import{G as C,L as z}from"./Subot-dac02b43.js";import{C as B}from"./index-c011f60e.js";import{L as P}from"./index-4bcf944f.js";import{B as N}from"./index-c55d9a53.js";import{H as j,T as S,Q as I,a6 as T,P as M,x as O}from"./index.styles-968498ec.js";import{I as A}from"./index-d2d4296b.js";import{_}from"./tslib.es6-ed0fd94c.js";import{R as L,B as U}from"./index-bc7b446c.js";import"@mantine/dates";import"./translationsContext-2928d817.js";import"string-format";import"@mantine/hooks";import{yupResolver as F}from"@hookform/resolvers/yup";import{useForm as H,Controller as R}from"react-hook-form";import{B as G,D as W}from"./index-67cf9fd6.js";import{L as V}from"./constants-3923407c.js";import{D as q}from"./index.styled-a1372cbc.js";import{format as Y,addDays as Z}from"date-fns";import"./utils-283a240e.js";import{S as X}from"./index-5beb9325.js";import{M as J}from"./index-edff5128.js";import"./index-07063e55.js";import{D as K}from"./types-b8a4b227.js";import Q from"react-day-picker/DayPickerInput";var ee="tliWyii";const te=({className:t,theme:a,hideText:i})=>{const{t:o}=p();return e.createElement("div",{className:`${ee} ${t}`},e.createElement(d.Spinner,{isMarryBaby:"marryBaby"===a}),!i&&o("loading"))},ae=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},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"}))))),ie=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},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"})))),oe=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},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 re=m(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ne=k.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -713,7 +713,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
713
713
  margin-right: -14px;
714
714
  margin-left: -14px;
715
715
  }
716
- `,Ae=({icon:t,isActive:a,children:i,isCollapsed:o,activeIcon:r,onLinkClick:n,textSize:l="base",textType:s="bold",textColorActive:d="#fff",textColor:p="#595959"})=>e.createElement(Me,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":o||void 0},a&&r?r:t,!o&&e.createElement(c,{size:l,weight:s,color:a?d:p},i)),Oe=k.div`
716
+ `,Oe=({icon:t,isActive:a,children:i,isCollapsed:o,activeIcon:r,onLinkClick:n,textSize:l="base",textType:s="bold",textColorActive:d="#fff",textColor:p="#595959"})=>e.createElement(Me,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":o||void 0},a&&r?r:t,!o&&e.createElement(c,{size:l,weight:s,color:a?d:p},i)),Ae=k.div`
717
717
  position: relative;
718
718
  width: 100%;
719
719
  > .container {
@@ -1202,7 +1202,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
1202
1202
  }
1203
1203
  }
1204
1204
  }
1205
- `,it=({size:t="small",label:a,name:i,checked:o,value:r,className:n,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>e.createElement(et,{"data-disabled":l,className:n,"data-size":t,"data-checked":o,onClick:()=>{s(r)},"data-has-image":d},d&&e.createElement("div",{className:"choice-image-wrapper"},p&&e.createElement("img",{src:p,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${i}-${r}`},a),e.createElement("input",{type:c,checked:o,name:i,id:`${i}-${r}`,value:r,readOnly:!0})),ot=({question:t,description:a,onOptionsChange:r,onTextOptionsChange:n,style:l,className:s})=>{const{type:d,title:p,subtitle:m,image:g,textOptions:h,options:u,name:b,is_multi_select:x}=t,f=!!(null==u?void 0:u.some((e=>e.image))),[y,v]=i([]),[w,k]=i((()=>(null==h?void 0:h.slice())||[]));return o((()=>{r&&r(y.slice())}),[!!r,y]),o((()=>{n&&n(w)}),[!!n,w]),e.createElement(at,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},p&&e.createElement(j,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},p),m&&e.createElement(c,{className:"survey-question-subtitle",size:"p2"},m),a&&e.createElement(c,{className:"survey-question-description",size:"p2"},a)),g&&e.createElement("img",{src:g,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>{var a;return e.createElement(it,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{v([u.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:f})}))),"checkbox"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>e.createElement(it,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));v(e>=0?t=>(t.splice(e,1),t.slice()):x?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:f})))),"textbox"===d&&w.map(((t,a)=>t.isTextArea?e.createElement(S,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>k((t=>(t[a].value=e,t.slice())))}):e.createElement(O,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{k((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var rt;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(rt||(rt={}));const nt=({className:t,headerText:o,style:r,question:n,termAndPolicyText:l,prevText:s,nextText:d,isContactForm:p,isDisableNext:m,isDisablePrev:g,onPrevClick:h,onNextClick:u,isSubmitButton:b,isButtonCenter:x,progress:f,descriptionText:y})=>{var v,w,k;const[E,$]=i([]),{is_multi_select:D,multi_select_option:C,from:z,to:B}=n,P=null==n?void 0:n.type,j="checkbox"===P&&(null===(v=n.options)||void 0===v?void 0:v.length)&&(!E||0===E.length||D&&C===rt.RANGE&&(E.length<z||E.length>B)||D&&C===rt.EXACT_NUMBER&&E.length!==z)||"radio"===P&&(null===(w=n.options)||void 0===w?void 0:w.length)&&(!E||0===E.length)||"textbox"===P&&(null===(k=n.textOptions)||void 0===k?void 0:k.length)&&(E.length<n.textOptions.length||E.some((e=>!e.value))),S="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,I=a(null),T=()=>"textbox"!==P||I.current.reportValidity();return e.createElement(Qe,{className:t,style:r},e.createElement("div",{className:"survey-inner-wrapper"},o&&e.createElement("div",{className:"survey-header"},e.createElement(c,{className:"survey-header-text",size:"c2"},o)),e.createElement("form",{ref:I,onSubmit:e=>e.preventDefault()},e.createElement(ot,{question:n,description:y,onOptionsChange:e=>{$(e)},onTextOptionsChange:e=>{$(e)}})),p&&d&&e.createElement(N,{className:"survey-contact-submit",size:"lg",isDisabled:m||j,onClick:()=>T()&&u&&u(E)},d),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof f&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${S})`}})),(s||d)&&e.createElement("div",{"data-center":x,className:"survey-button-wrapper"},s&&e.createElement(N,{className:"survey-prev-button",size:"lg",color:g?"primary":"secondary",isDisabled:g,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:g?"#fff":"#2D87F3"})),onClick:h},s),!p&&d&&e.createElement(N,{onClick:()=>T()&&u&&u(E),className:"survey-next-button",size:"lg",isDisabled:m||j},d," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},lt=200,st=k.div``,dt=k.div`
1205
+ `,it=({size:t="small",label:a,name:i,checked:o,value:r,className:n,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>e.createElement(et,{"data-disabled":l,className:n,"data-size":t,"data-checked":o,onClick:()=>{s(r)},"data-has-image":d},d&&e.createElement("div",{className:"choice-image-wrapper"},p&&e.createElement("img",{src:p,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${i}-${r}`},a),e.createElement("input",{type:c,checked:o,name:i,id:`${i}-${r}`,value:r,readOnly:!0})),ot=({question:t,description:a,onOptionsChange:r,onTextOptionsChange:n,style:l,className:s})=>{const{type:d,title:p,subtitle:m,image:g,textOptions:h,options:u,name:b,is_multi_select:x}=t,f=!!(null==u?void 0:u.some((e=>e.image))),[y,v]=i([]),[w,k]=i((()=>(null==h?void 0:h.slice())||[]));return o((()=>{r&&r(y.slice())}),[!!r,y]),o((()=>{n&&n(w)}),[!!n,w]),e.createElement(at,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},p&&e.createElement(j,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},p),m&&e.createElement(c,{className:"survey-question-subtitle",size:"p2"},m),a&&e.createElement(c,{className:"survey-question-description",size:"p2"},a)),g&&e.createElement("img",{src:g,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>{var a;return e.createElement(it,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{v([u.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:f})}))),"checkbox"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>e.createElement(it,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));v(e>=0?t=>(t.splice(e,1),t.slice()):x?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:f})))),"textbox"===d&&w.map(((t,a)=>t.isTextArea?e.createElement(S,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>k((t=>(t[a].value=e,t.slice())))}):e.createElement(A,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{k((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var rt;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(rt||(rt={}));const nt=({className:t,headerText:o,style:r,question:n,termAndPolicyText:l,prevText:s,nextText:d,isContactForm:p,isDisableNext:m,isDisablePrev:g,onPrevClick:h,onNextClick:u,isSubmitButton:b,isButtonCenter:x,progress:f,descriptionText:y})=>{var v,w,k;const[E,$]=i([]),{is_multi_select:D,multi_select_option:C,from:z,to:B}=n,P=null==n?void 0:n.type,j="checkbox"===P&&(null===(v=n.options)||void 0===v?void 0:v.length)&&(!E||0===E.length||D&&C===rt.RANGE&&(E.length<z||E.length>B)||D&&C===rt.EXACT_NUMBER&&E.length!==z)||"radio"===P&&(null===(w=n.options)||void 0===w?void 0:w.length)&&(!E||0===E.length)||"textbox"===P&&(null===(k=n.textOptions)||void 0===k?void 0:k.length)&&(E.length<n.textOptions.length||E.some((e=>!e.value))),S="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,I=a(null),T=()=>"textbox"!==P||I.current.reportValidity();return e.createElement(Qe,{className:t,style:r},e.createElement("div",{className:"survey-inner-wrapper"},o&&e.createElement("div",{className:"survey-header"},e.createElement(c,{className:"survey-header-text",size:"c2"},o)),e.createElement("form",{ref:I,onSubmit:e=>e.preventDefault()},e.createElement(ot,{question:n,description:y,onOptionsChange:e=>{$(e)},onTextOptionsChange:e=>{$(e)}})),p&&d&&e.createElement(N,{className:"survey-contact-submit",size:"lg",isDisabled:m||j,onClick:()=>T()&&u&&u(E)},d),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof f&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${S})`}})),(s||d)&&e.createElement("div",{"data-center":x,className:"survey-button-wrapper"},s&&e.createElement(N,{className:"survey-prev-button",size:"lg",color:g?"primary":"secondary",isDisabled:g,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:g?"#fff":"#2D87F3"})),onClick:h},s),!p&&d&&e.createElement(N,{onClick:()=>T()&&u&&u(E),className:"survey-next-button",size:"lg",isDisabled:m||j},d," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},lt=200,st=k.div``,dt=k.div`
1206
1206
  width: 100vw;
1207
1207
  height: 100vh;
1208
1208
  position: fixed;
@@ -1848,7 +1848,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
1848
1848
  height: 14px;
1849
1849
  }
1850
1850
  }
1851
- `,At=({className:t,heading:a,color:i="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:n,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:m,siteType:g,isEmbeded:h})=>{var u,v;const{t:w}=p(),k=b(),E=o?r:n||r,$={pink:[8,6]},D=k.colors[i]||k.colors.blue,C=(null==s?void 0:s.reviewer)?e.createElement(c,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:w("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(jt,{"data-is-mobile":o,style:m,"data-site":g},e.createElement(Nt,{className:t,"data-banner-url":E,"data-is-mobile":o,"data-site":g,"data-banner-color":l,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==D?void 0:D[(null===(u=$[i])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==D?void 0:D[(null===(v=$[i])||void 0===v?void 0:v[1])||4]} 90.13%)}`},"marryBaby"===g&&h?e.createElement(St,null,e.createElement(It,null,d),e.createElement(Tt,null,e.createElement(j,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Mt,{"data-is-mobile":o},C))):e.createElement(x,{gap:f(24),align:"center",justify:"space-between",sx:{padding:`${f(13)} ${f(20)}`,gap:f(24)}},e.createElement(y,null,e.createElement(j,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(c,{size:"n1",as:"div"},C)),e.createElement(x,{justify:"center",align:"center",sx:e=>{var t,a;return{width:f(64),height:f(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[i])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:f(48),maxHeight:f(48)},[e.fn.smallerThan("sm")]:{width:f(56),height:f(56),img:{maxWidth:f(40),maxHeight:f(40)}}}}},d))))},Ot=k(q)`
1851
+ `,Ot=({className:t,heading:a,color:i="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:n,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:m,siteType:g,isEmbeded:h})=>{var u,v;const{t:w}=p(),k=b(),E=o?r:n||r,$={pink:[8,6]},D=k.colors[i]||k.colors.blue,C=(null==s?void 0:s.reviewer)?e.createElement(c,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:w("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(jt,{"data-is-mobile":o,style:m,"data-site":g},e.createElement(Nt,{className:t,"data-banner-url":E,"data-is-mobile":o,"data-site":g,"data-banner-color":l,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==D?void 0:D[(null===(u=$[i])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==D?void 0:D[(null===(v=$[i])||void 0===v?void 0:v[1])||4]} 90.13%)}`},"marryBaby"===g&&h?e.createElement(St,null,e.createElement(It,null,d),e.createElement(Tt,null,e.createElement(j,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Mt,{"data-is-mobile":o},C))):e.createElement(x,{gap:f(24),align:"center",justify:"space-between",sx:{padding:`${f(13)} ${f(20)}`,gap:f(24)}},e.createElement(y,null,e.createElement(j,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(c,{size:"n1",as:"div"},C)),e.createElement(x,{justify:"center",align:"center",sx:e=>{var t,a;return{width:f(64),height:f(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[i])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:f(48),maxHeight:f(48)},[e.fn.smallerThan("sm")]:{width:f(56),height:f(56),img:{maxWidth:f(40),maxHeight:f(40)}}}}},d))))},At=k(q)`
1852
1852
  border-color: ${D.mbColors.lightGray};
1853
1853
  background-color: ${D.colors.white};
1854
1854
  border-radius: 16px;
@@ -1890,7 +1890,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
1890
1890
  & .displayIcon {
1891
1891
  pointer-events: none;
1892
1892
  }
1893
- `;const _t=k(O)`
1893
+ `;const _t=k(A)`
1894
1894
  & label {
1895
1895
  position: absolute;
1896
1896
  z-index: 1;
@@ -2612,9 +2612,9 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
2612
2612
  padding: 16px;
2613
2613
  }
2614
2614
  }
2615
- `,ba=k((({onSubmit:t,onError:a,schema:i,siteType:r})=>{const{t:l}=p(),s="mb"===b().other.template,{control:m,setValue:g,watch:h,handleSubmit:u,formState:{isSubmitted:x}}=H({resolver:F(i),mode:"onSubmit",defaultValues:{name:"",gender:C.Boy,measurementDate:new Date}}),f=h("weight"),y=h("height"),w=h("head"),k=n((()=>x&&!f&&!y&&!w),[x,f,y,w]);o((()=>{const e=ha(y,f);g("bmi",String(e)||"0")}),[f,y]);const E=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(da,{"data-theme":r},e.createElement(ca,{onSubmit:u(t,a)},e.createElement(R,{control:m,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(G,{onChange:t,value:a,siteType:r})}),"marryBaby"===r?e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(O,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md"},o,{value:a&&v(a).format(A)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(O,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:qt(a),CustomInput:e.createElement(pe,{placeholder:a&&v(a).format(A),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(O,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(A),onChange:t},o,{value:a&&v(a).format(A)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"birthday"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(O,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(A)}))}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"height"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"weight"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg"))),e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"head"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(O,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"bmi"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(O,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"measurementDate"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(pe,{placeholder:a&&v(a).format(A),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(O,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(A),onChange:t,actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(A)}))}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))))))}))`
2615
+ `,ba=k((({onSubmit:t,onError:a,schema:i,siteType:r})=>{const{t:l}=p(),s="mb"===b().other.template,{control:m,setValue:g,watch:h,handleSubmit:u,formState:{isSubmitted:x}}=H({resolver:F(i),mode:"onSubmit",defaultValues:{name:"",gender:C.Boy,measurementDate:new Date}}),f=h("weight"),y=h("height"),w=h("head"),k=n((()=>x&&!f&&!y&&!w),[x,f,y,w]);o((()=>{const e=ha(y,f);g("bmi",String(e)||"0")}),[f,y]);const E=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(da,{"data-theme":r},e.createElement(ca,{onSubmit:u(t,a)},e.createElement(R,{control:m,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(G,{onChange:t,value:a,siteType:r})}),"marryBaby"===r?e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md"},o,{value:a&&v(a).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(A,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:qt(a),CustomInput:e.createElement(pe,{placeholder:a&&v(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(O),onChange:t},o,{value:a&&v(a).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"birthday"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(O)}))}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"height"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"weight"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"head"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"bmi"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(A,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"measurementDate"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(pe,{placeholder:a&&v(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(O),onChange:t,actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(O)}))}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))))))}))`
2616
2616
  padding-block: 0;
2617
- `;k(At)`
2617
+ `;k(Ot)`
2618
2618
  padding-inline: 20px;
2619
2619
 
2620
2620
  img.embedded-icon {
@@ -2803,7 +2803,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
2803
2803
  flex-direction: column;
2804
2804
  gap: 0px;
2805
2805
  }
2806
- `,Ba=({locale:t,onSubmit:a,isSide:o,siteType:r})=>{const{t:l}=p(),[s,m]=i(new Date),[g,h]=i(28),[u,b]=i(7),x={cycle:g,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(Ft,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(_t,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:qt(s),CustomInput:e.createElement(pe,{onChange:e=>{m(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:Z(new Date,-45),after:new Date},customInput:t=>e.createElement(O,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&v(s).format(A)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}):e.createElement(O,{label:e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:qt(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(pe,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:qt(s)})),locale:t,pickedDate:s,displayDateFormat:K,onChange:e=>{m(e)},disabledDays:{before:Z(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement("span",{style:{minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},g),e.createElement(X,{containerStyle:{flex:1},min:21,max:45,step:1,value:g,onChange:h,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},u),e.createElement(X,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:b,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(U,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(x)),a&&a({startDate:s,cycle:g,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Pa;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Pa||(Pa={}));const Na=({locale:t,onSubmitOvulation:a,isSide:o,siteType:r})=>{const{t:n}=p(),[l,s]=i(Pa.trackPeriod),d=[{label:n("ovulationPage.trackPeriod"),value:Pa.trackPeriod},{label:n("ovulationPage.conceive"),value:Pa.conceive},{label:n("ovulationPage.avoidPregnancy"),value:Pa.avoidPregnancy}];return e.createElement(Jt,null,e.createElement(Lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(Ot,{groupedWithLabel:n("dueDatePage.calculationMethod"),options:d,placeholder:n("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},n("ovulationPage.objectives")),e.createElement(Ut,{"data-is-side":o},e.createElement(q,{options:d,placeholder:n("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),e.createElement(Ba,{siteType:r,locale:t,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:o}))},ja=k.div`
2806
+ `,Ba=({locale:t,onSubmit:a,isSide:o,siteType:r})=>{const{t:l}=p(),[s,m]=i(new Date),[g,h]=i(28),[u,b]=i(7),x={cycle:g,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(Ft,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(_t,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:qt(s),CustomInput:e.createElement(pe,{onChange:e=>{m(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:Z(new Date,-45),after:new Date},customInput:t=>e.createElement(A,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&v(s).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}):e.createElement(A,{label:e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:qt(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(pe,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:qt(s)})),locale:t,pickedDate:s,displayDateFormat:K,onChange:e=>{m(e)},disabledDays:{before:Z(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement("span",{style:{minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},g),e.createElement(X,{containerStyle:{flex:1},min:21,max:45,step:1,value:g,onChange:h,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},u),e.createElement(X,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:b,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(U,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(x)),a&&a({startDate:s,cycle:g,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Pa;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Pa||(Pa={}));const Na=({locale:t,onSubmitOvulation:a,isSide:o,siteType:r})=>{const{t:n}=p(),[l,s]=i(Pa.trackPeriod),d=[{label:n("ovulationPage.trackPeriod"),value:Pa.trackPeriod},{label:n("ovulationPage.conceive"),value:Pa.conceive},{label:n("ovulationPage.avoidPregnancy"),value:Pa.avoidPregnancy}];return e.createElement(Jt,null,e.createElement(Lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(At,{groupedWithLabel:n("dueDatePage.calculationMethod"),options:d,placeholder:n("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},n("ovulationPage.objectives")),e.createElement(Ut,{"data-is-side":o},e.createElement(q,{options:d,placeholder:n("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),e.createElement(Ba,{siteType:r,locale:t,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:o}))},ja=k.div`
2807
2807
  flex: 1;
2808
2808
  `,Sa=k.div`
2809
2809
  padding: 0 10px;
@@ -2834,14 +2834,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
2834
2834
  display: flex;
2835
2835
  align-items: center;
2836
2836
  justify-content: center;
2837
- `;const Aa=k.div`
2837
+ `;const Oa=k.div`
2838
2838
  font-size: 14px;
2839
2839
  display: flex;
2840
2840
  justify-content: center;
2841
2841
  align-items: center;
2842
2842
  color: 1px solid ${D.colors.gray800};
2843
2843
  font-weight: 300;
2844
- `,Oa=k.div`
2844
+ `,Aa=k.div`
2845
2845
  width: 18px;
2846
2846
  position: relative;
2847
2847
  &::before {
@@ -3119,4 +3119,4 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
3119
3119
  top: 1px;
3120
3120
  right: 1px;
3121
3121
  cursor: pointer;
3122
- `,Ja={},Ka=e=>{if(Ja[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Ja[e]]),delete Ja[e]}))}},Qa=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],ei=t(l((function({className:t,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,contentId:c,isHidden:m,hideIfHasSubot:g,isSticky:h,refreshInterval:u,customTargetings:b,style:x,adDefaultSize:f,noWrapper:v,showCloseBtn:w,onCloseAd:k,headerBottom:E,wrapperProps:$,locale:D,isMarryBaby:C},P){const N=u||(D===z.Vietnam&&s.some((e=>Qa.includes(e)))?30:void 0),{t:j}=p(),S=a(null),I=a(null),T=a(N);T.current=N;const[M,A]=i(!1),O=()=>{T.current&&(null!==I.current&&clearInterval(I.current),I.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Ja[l]&&e.pubads().refresh([Ja[l]])}))}),1e3*T.current))};if(o((()=>()=>{Ka(l),I.current&&clearInterval(I.current)}),[]),o((()=>{O()}),[N]),o((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:o,sizeMapping:r,hideIfHasSubot:n,customTargetings:l,onSuccess:s})=>{if(!i||!document.getElementById(i))return console.error("divId is required");Ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:d}=window;d.cmd.push((function(){const c=document.querySelector('meta[name="content_id"]'),p="string"==typeof e?e:null==c?void 0:c.content,m=d.defineSlot(t,a,i);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}Ja[i]=m,m.setTargeting("Pos",o),m.addService(d.pubads()),p&&m.setTargeting("Content_ID",p),r&&m.defineSizeMapping(r),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),d.display(i),null==s||s()}}))})({contentId:c,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,hideIfHasSubot:g,customTargetings:b,onSuccess:O})}),[m]),M)return null;const _=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:P,id:l}),w&&e.createElement(Xa,{onClick:()=>{null==k||k(),A(!0)}}));if(h)return _;const L=f?f[0]:n?Array.isArray(n[0])?n[0][0]:n[0]:void 0,U=f?f[1]:n?Array.isArray(n[0])?n[0][1]:n[1]:void 0;return e.createElement(y,Object.assign({},$,{className:t}),e.createElement(Ya,{ref:S,className:t,style:x,"data-no-wrapper":!!v,"data-header-bottom":!!E},v?_:e.createElement(e.Fragment,null,e.createElement(Za,{"data-header-bottom":!!E},e.createElement("img",{src:C?B.getAssetPath("adsIcon-mb.svg"):B.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,j("adBanner.title"))),e.createElement("div",{style:{minWidth:L||"100%",minHeight:U||"100%",position:"relative"}},_))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ti=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var ai;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(ai||(ai={}));const ii={DUE_DATE:ai.DUE_DATE,BMI:ai.BMI,BMR:ai.BMR,OVULATION:ai.OVULATION,IFRAME:ai.IFRAME,PWG:ai.PWG,THR:ai.THR,BABY_VACCINE:ai.BABY_VACCINE,BABY_GROWTH:ai.BABY_GROWTH,BABY_POOP:ai.BABY_POOP},oi={[ii.DUE_DATE]:B.getAssetPath("health-tools/due-date-icon.svg")};var ri,ni,li,si;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(ri||(ri={})),function(e){e.Option="option"}(ni||(ni={})),function(e){e.Button="button",e.Checkbox="checkbox"}(li||(li={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(si||(si={}));const di={pregnancy:ri.Pregnant,parenting:ri.Parenting},ci={[ri.Pregnant]:"pregnant",[ri.Parenting]:"parent"},pi=s({});var mi=m((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:f(32),padding:`${f(6)} ${f(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const gi=s({}),hi=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(h,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),e.createElement(c,{size:"p3"},i)))})),ui=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(c,{size:"p3"},i))}));var bi="fVk18fq",xi="v8TCvUb",fi="mx7T4V3";const yi={myHealth:D.mbColors.toneYellow,myCommunity:D.mbColors.toneBlue,mySaved:D.mbColors.toneGreen},vi={helloSites:{myBooking:()=>B.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>B.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>B.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>B.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>B.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>B.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},wi=({type:t,themeName:a,className:i,onClick:o=(()=>{})})=>{const{t:r}=p(),l=n((()=>{var e,i;return(null===(i=null===(e=vi[a])||void 0===e?void 0:e[t])||void 0===i?void 0:i.call(e))||""}),[t,a]),s=n((()=>"marryBaby"!==a?"transparent":yi[t]),[t,a]);return e.createElement("div",{onClick:function(){o(t)},className:`${bi} ${i}`},e.createElement("div",{className:fi,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),e.createElement("h3",{className:xi},r(`userProfile.nav.card.${t}`)))};export{ht as $,ei as A,ie as B,_e as C,pe as D,Ue as E,Le as F,Fe as G,Re as H,We as I,Ze as J,qe as K,te as L,Bt as M,Je as N,Ke as O,Qe as P,tt as Q,De as R,nt as S,At as T,oe as U,st as V,dt as W,ct as X,pt as Y,gt as Z,lt as _,Se as a,ri as a$,ut as a0,mt as a1,bt as a2,xt as a3,ft as a4,yt as a5,vt as a6,wt as a7,Ft as a8,_t as a9,va as aA,Da as aB,Ca as aC,za as aD,$a as aE,Zt as aF,Na as aG,Yt as aH,ia as aI,Kt as aJ,Xt as aK,Oa as aL,ja as aM,Ia as aN,Sa as aO,Ma as aP,Aa as aQ,La as aR,_a as aS,Ua as aT,Fa as aU,Ha as aV,Ra as aW,Ga as aX,Wa as aY,Va as aZ,qa as a_,qt as aa,Wt as ab,Rt as ac,Vt as ad,Gt as ae,Ht as af,Jt as ag,Lt as ah,Ot as ai,Ut as aj,aa as ak,ta as al,na as am,la as an,sa as ao,ra as ap,oa as aq,ua as ar,ba as as,xa as at,fa as au,ya as av,wa as aw,Ea as ax,ka as ay,Qt as az,zt as b,si as b0,li as b1,ii as b2,pi as b3,mi as b4,oi as b5,gi as b6,hi as b7,ui as b8,ti as b9,wi as ba,di as c,ci as d,ae as e,ne as f,le as g,me as h,ge as i,fe as j,ye as k,ue as l,be as m,he as n,xe as o,ve as p,ke as q,we as r,Ee as s,$e as t,re as u,ze as v,Ne as w,Te as x,Ae as y,Oe as z};
3122
+ `,Ja={},Ka=e=>{if(Ja[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Ja[e]]),delete Ja[e]}))}},Qa=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],ei=t(l((function({className:t,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,contentId:c,isHidden:m,hideIfHasSubot:g,isSticky:h,refreshInterval:u,customTargetings:b,style:x,adDefaultSize:f,noWrapper:v,showCloseBtn:w,onCloseAd:k,headerBottom:E,wrapperProps:$,locale:D,isMarryBaby:C},P){const N=u||(D===z.Vietnam&&s.some((e=>Qa.includes(e)))?30:void 0),{t:j}=p(),S=a(null),I=a(null),T=a(N);T.current=N;const[M,O]=i(!1),A=()=>{T.current&&(null!==I.current&&clearInterval(I.current),I.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Ja[l]&&e.pubads().refresh([Ja[l]])}))}),1e3*T.current))};if(o((()=>()=>{Ka(l),I.current&&clearInterval(I.current)}),[]),o((()=>{A()}),[N]),o((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:o,sizeMapping:r,hideIfHasSubot:n,customTargetings:l,onSuccess:s})=>{if(!i||!document.getElementById(i))return console.error("divId is required");Ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:d}=window;d.cmd.push((function(){const c=document.querySelector('meta[name="content_id"]'),p="string"==typeof e?e:null==c?void 0:c.content,m=d.defineSlot(t,a,i);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}Ja[i]=m,m.setTargeting("Pos",o),m.addService(d.pubads()),p&&m.setTargeting("Content_ID",p),r&&m.defineSizeMapping(r),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),d.display(i),null==s||s()}}))})({contentId:c,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,hideIfHasSubot:g,customTargetings:b,onSuccess:A})}),[m]),M)return null;const _=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:P,id:l}),w&&e.createElement(Xa,{onClick:()=>{null==k||k(),O(!0)}}));if(h)return _;const L=f?f[0]:n?Array.isArray(n[0])?n[0][0]:n[0]:void 0,U=f?f[1]:n?Array.isArray(n[0])?n[0][1]:n[1]:void 0;return e.createElement(y,Object.assign({},$,{className:t}),e.createElement(Ya,{ref:S,className:t,style:x,"data-no-wrapper":!!v,"data-header-bottom":!!E},v?_:e.createElement(e.Fragment,null,e.createElement(Za,{"data-header-bottom":!!E},e.createElement("img",{src:C?B.getAssetPath("adsIcon-mb.svg"):B.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,j("adBanner.title"))),e.createElement("div",{style:{minWidth:L||"100%",minHeight:U||"100%",position:"relative"}},_))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ti=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var ai;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(ai||(ai={}));const ii={DUE_DATE:ai.DUE_DATE,BMI:ai.BMI,BMR:ai.BMR,OVULATION:ai.OVULATION,IFRAME:ai.IFRAME,PWG:ai.PWG,THR:ai.THR,BABY_VACCINE:ai.BABY_VACCINE,BABY_GROWTH:ai.BABY_GROWTH,BABY_POOP:ai.BABY_POOP},oi={[ii.DUE_DATE]:B.getAssetPath("health-tools/due-date-icon.svg")};var ri,ni,li,si;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(ri||(ri={})),function(e){e.Option="option"}(ni||(ni={})),function(e){e.Button="button",e.Checkbox="checkbox"}(li||(li={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(si||(si={}));const di={pregnancy:ri.Pregnant,parenting:ri.Parenting},ci={[ri.Pregnant]:"pregnant",[ri.Parenting]:"parent"},pi=s({});var mi=m((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:f(32),padding:`${f(6)} ${f(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const gi=s({}),hi=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(h,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),e.createElement(c,{size:"p3"},i)))})),ui=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(c,{size:"p3"},i))}));var bi="fVk18fq",xi="v8TCvUb",fi="mx7T4V3";const yi={myHealth:D.mbColors.toneYellow,myCommunity:D.mbColors.toneBlue,mySaved:D.mbColors.toneGreen},vi={helloSites:{myBooking:()=>B.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>B.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>B.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>B.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>B.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>B.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},wi=({type:t,themeName:a,className:i,onClick:o=(()=>{})})=>{const{t:r}=p(),l=n((()=>{var e,i;return(null===(i=null===(e=vi[a])||void 0===e?void 0:e[t])||void 0===i?void 0:i.call(e))||""}),[t,a]),s=n((()=>"marryBaby"!==a?"transparent":yi[t]),[t,a]);return e.createElement("div",{onClick:function(){o(t)},className:`${bi} ${i}`},e.createElement("div",{className:fi,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),e.createElement("h3",{className:xi},r(`userProfile.nav.card.${t}`)))};export{ht as $,ei as A,ie as B,_e as C,pe as D,Ue as E,Le as F,Fe as G,Re as H,We as I,Ze as J,qe as K,te as L,Bt as M,Je as N,Ke as O,Qe as P,tt as Q,De as R,nt as S,Ot as T,oe as U,st as V,dt as W,ct as X,pt as Y,gt as Z,lt as _,Se as a,ri as a$,ut as a0,mt as a1,bt as a2,xt as a3,ft as a4,yt as a5,vt as a6,wt as a7,Ft as a8,_t as a9,va as aA,Da as aB,Ca as aC,za as aD,$a as aE,Zt as aF,Na as aG,Yt as aH,ia as aI,Kt as aJ,Xt as aK,Aa as aL,ja as aM,Ia as aN,Sa as aO,Ma as aP,Oa as aQ,La as aR,_a as aS,Ua as aT,Fa as aU,Ha as aV,Ra as aW,Ga as aX,Wa as aY,Va as aZ,qa as a_,qt as aa,Wt as ab,Rt as ac,Vt as ad,Gt as ae,Ht as af,Jt as ag,Lt as ah,At as ai,Ut as aj,aa as ak,ta as al,na as am,la as an,sa as ao,ra as ap,oa as aq,ua as ar,ba as as,xa as at,fa as au,ya as av,wa as aw,Ea as ax,ka as ay,Qt as az,zt as b,si as b0,li as b1,ii as b2,pi as b3,mi as b4,oi as b5,gi as b6,hi as b7,ui as b8,ti as b9,wi as ba,di as c,ci as d,ae as e,ne as f,le as g,me as h,ge as i,fe as j,ye as k,ue as l,be as m,he as n,xe as o,ve as p,ke as q,we as r,Ee as s,$e as t,re as u,ze as v,Ne as w,Te as x,Oe as y,Ae as z};