@hhgtech/hhg-components 1.28.12 → 1.28.13

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 (257) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/{constants-feb11e95.js → constants-87844a04.js} +1 -1
  6. package/build/{constants-bab6e4c4.js → constants-ac7b324c.js} +1 -1
  7. package/build/constants.js +1 -1
  8. package/build/{core-ef72668b.js → core-d0ac3081.js} +1 -1
  9. package/build/ecom.js +1 -1
  10. package/build/esm/babyGrowth.js +2 -2
  11. package/build/esm/cache.js +1 -1
  12. package/build/esm/care.js +1 -1
  13. package/build/esm/components.js +1 -1
  14. package/build/esm/{constants-e596ba80.js → constants-51ed637e.js} +1 -1
  15. package/build/esm/{constants-1aafa7de.js → constants-652884dc.js} +1 -1
  16. package/build/esm/constants.js +1 -1
  17. package/build/esm/{core-00b11c0b.js → core-1f02fa3f.js} +1 -1
  18. package/build/esm/ecom.js +1 -1
  19. package/build/esm/footer.js +1 -1
  20. package/build/esm/gAssets.js +1 -1
  21. package/build/esm/{getDynamicHealthTool-75742f77.js → getDynamicHealthTool-60a7a241.js} +1 -1
  22. package/build/esm/{getSocialList-fac89e8e.js → getSocialList-db17f887.js} +1 -1
  23. package/build/esm/hooks.js +1 -1
  24. package/build/esm/i18n.js +1 -1
  25. package/build/esm/i18nV2.js +1 -1
  26. package/build/esm/{index-fa19f6e1.js → index-0637cee6.js} +1 -1
  27. package/build/esm/{index-1798a9c1.js → index-119c41f4.js} +1 -1
  28. package/build/esm/{index-8bf4f853.js → index-15680032.js} +5 -5
  29. package/build/esm/{index-ea006f86.js → index-173d55ad.js} +1 -1
  30. package/build/esm/{index-46e1f0f3.js → index-2705764b.js} +1 -1
  31. package/build/esm/{index-2c766cbb.js → index-356cb691.js} +1 -1
  32. package/build/esm/{index-6007986d.js → index-4a15e888.js} +1 -1
  33. package/build/esm/{index-3b929091.js → index-6930eed6.js} +1 -1
  34. package/build/esm/{index-2b34b8fe.js → index-73c486ff.js} +2 -2
  35. package/build/esm/{index-41103177.js → index-78672f29.js} +1 -1
  36. package/build/esm/index-83b86fb9.js +1 -0
  37. package/build/esm/{index-3aa27dca.js → index-8a6bd3c6.js} +1 -1
  38. package/build/esm/{index-d15670fe.js → index-8f706fe7.js} +2 -2
  39. package/build/esm/index-943ca1cf.js +1 -0
  40. package/build/esm/{index-87d5623a.js → index-cdbe6c4c.js} +1 -1
  41. package/build/esm/{index-eafe5be3.js → index-d109577b.js} +1 -1
  42. package/build/esm/{index-8cb6203d.js → index-d88622d3.js} +3 -3
  43. package/build/esm/{index-41e9b83d.js → index-f1545b5e.js} +1 -1
  44. package/build/esm/index-f6ea512b.js +1 -0
  45. package/build/esm/index.js +1 -1
  46. package/build/esm/{index.styled-729a99c8.js → index.styled-b5668217.js} +1 -1
  47. package/build/esm/{index.styled-53804dba.js → index.styled-e52d30c1.js} +1 -1
  48. package/build/esm/{index.styles-f82a0a4a.js → index.styles-ff1f0cb2.js} +1 -1
  49. package/build/esm/lead.js +1 -1
  50. package/build/esm/mantine.js +1 -1
  51. package/build/esm/misc.js +1 -1
  52. package/build/esm/navigation.js +1 -1
  53. package/build/esm/onboardingV2.js +1 -1
  54. package/build/esm/pwg.js +2 -2
  55. package/build/esm/{routing-4dcd0e9a.js → routing-7e4b79ca.js} +1 -1
  56. package/build/esm/together.js +1 -1
  57. package/build/esm/{types-f3353bf8.js → types-7d91609d.js} +1 -1
  58. package/build/esm/{types-13034ac4.js → types-941a4fce.js} +1 -1
  59. package/build/esm/types.js +1 -1
  60. package/build/esm/{useCategory-311c6010.js → useCategory-d2c9557c.js} +1 -1
  61. package/build/esm/useHealthToolCache-a5011f0b.js +1 -0
  62. package/build/esm/{useRafState-7cdcb3af.js → useRafState-7a846534.js} +1 -1
  63. package/build/esm/{useTranslations-6762dcc2.js → useTranslations-c5b785c2.js} +1 -1
  64. package/build/esm/{utils-048c6e93.js → utils-042aabdd.js} +1 -1
  65. package/build/esm/{utils-7a362e5b.js → utils-b1470773.js} +1 -1
  66. package/build/esm/vaccination.js +1 -1
  67. package/build/footer.js +1 -1
  68. package/build/gAssets.js +1 -1
  69. package/build/{getDynamicHealthTool-8750199e.js → getDynamicHealthTool-f7ed2409.js} +1 -1
  70. package/build/{getSocialList-d4d8304e.js → getSocialList-0cc97bdf.js} +1 -1
  71. package/build/hooks.js +1 -1
  72. package/build/i18n.js +1 -1
  73. package/build/i18nV2.js +1 -1
  74. package/build/{index-16ddc3f0.js → index-002e0e05.js} +1 -1
  75. package/build/{index-de023383.js → index-15fc9646.js} +1 -1
  76. package/build/{index-4fbd5f75.js → index-1917b114.js} +1 -1
  77. package/build/{index-052d758f.js → index-290bea02.js} +1 -1
  78. package/build/{index-c87ad4c6.js → index-4e2010f1.js} +1 -1
  79. package/build/{index-4652e32d.js → index-5164e4de.js} +2 -2
  80. package/build/{index-6e3b9e84.js → index-54b444c0.js} +1 -1
  81. package/build/index-5e043a70.js +1 -0
  82. package/build/{index-61cb36af.js → index-7f01cbc0.js} +1 -1
  83. package/build/index-8027a0a6.js +1 -0
  84. package/build/{index-a7f4fdb7.js → index-88063689.js} +1 -1
  85. package/build/{index-669aeaed.js → index-8dec03ce.js} +1 -1
  86. package/build/{index-176eaed2.js → index-99bff8c2.js} +3 -3
  87. package/build/{index-961097c0.js → index-a1282af2.js} +1 -1
  88. package/build/{index-7b2789ce.js → index-ac45b3ca.js} +1 -1
  89. package/build/{index-e5067b42.js → index-b2d46829.js} +1 -1
  90. package/build/{index-07fa22da.js → index-be7328b1.js} +1 -1
  91. package/build/{index-fc9732b2.js → index-d8b4344c.js} +18 -18
  92. package/build/{index-f2603286.js → index-eb981c1a.js} +1 -1
  93. package/build/index.js +1 -1
  94. package/build/{index.styled-10bc6533.js → index.styled-33d6653c.js} +1 -1
  95. package/build/{index.styled-9dcc1d38.js → index.styled-a535a0cf.js} +1 -1
  96. package/build/{index.styles-f73dac16.js → index.styles-4a40e685.js} +1 -1
  97. package/build/lead.js +1 -1
  98. package/build/mantine.js +1 -1
  99. package/build/misc.js +1 -1
  100. package/build/navigation.js +1 -1
  101. package/build/onboardingV2.js +1 -1
  102. package/build/pwg.js +2 -2
  103. package/build/{routing-aee6cd59.js → routing-a3152618.js} +1 -1
  104. package/build/together.js +1 -1
  105. package/build/{types-d275c36e.js → types-26e7dae0.js} +1 -1
  106. package/build/{types-c2e1f792.js → types-b224bfa9.js} +1 -1
  107. package/build/types.js +1 -1
  108. package/build/{useCategory-9694cab7.js → useCategory-5270d6b5.js} +1 -1
  109. package/build/{useHealthToolCache-b909cfa5.js → useHealthToolCache-04b17115.js} +1 -1
  110. package/build/{useRafState-3c390f00.js → useRafState-806e4e4a.js} +1 -1
  111. package/build/{useTranslations-759f6078.js → useTranslations-787d5e03.js} +1 -1
  112. package/build/{utils-ff5568f0.js → utils-3a823fcb.js} +2 -2
  113. package/build/{utils-7d3982bb.js → utils-f1fc229e.js} +1 -1
  114. package/build/vaccination.js +1 -1
  115. package/package.json +1 -1
  116. package/build/esm/index-18fd852b.js +0 -1
  117. package/build/esm/index-319fe0f3.js +0 -1
  118. package/build/esm/index-e5e9d9b3.js +0 -1
  119. package/build/esm/useHealthToolCache-2a7c0331.js +0 -1
  120. package/build/index-688faf5c.js +0 -1
  121. package/build/index-d0f459df.js +0 -1
  122. /package/build/{BMI_BOYS.percentile.monthly-ec48a93c.js → BMI_BOYS.percentile.monthly-0a78fcba.js} +0 -0
  123. /package/build/{BMI_BOYS.percentile.weekly-9ca2e87c.js → BMI_BOYS.percentile.weekly-4a79d9d9.js} +0 -0
  124. /package/build/{BMI_BOYS.percentile.yearly-34e54cd6.js → BMI_BOYS.percentile.yearly-dbc43776.js} +0 -0
  125. /package/build/{BMI_BOYS.zscore.monthly-4a329007.js → BMI_BOYS.zscore.monthly-a478ce5a.js} +0 -0
  126. /package/build/{BMI_BOYS.zscore.weekly-2c11d031.js → BMI_BOYS.zscore.weekly-50acdfbc.js} +0 -0
  127. /package/build/{BMI_BOYS.zscore.yearly-9e295c8d.js → BMI_BOYS.zscore.yearly-849bd03c.js} +0 -0
  128. /package/build/{BMI_GIRLS.percentile.monthly-1e4bc7ad.js → BMI_GIRLS.percentile.monthly-94f7ae56.js} +0 -0
  129. /package/build/{BMI_GIRLS.percentile.weekly-9cbfd745.js → BMI_GIRLS.percentile.weekly-88adef48.js} +0 -0
  130. /package/build/{BMI_GIRLS.percentile.yearly-76dec6fe.js → BMI_GIRLS.percentile.yearly-3254a12c.js} +0 -0
  131. /package/build/{BMI_GIRLS.zscore.monthly-207d8c0e.js → BMI_GIRLS.zscore.monthly-70933c11.js} +0 -0
  132. /package/build/{BMI_GIRLS.zscore.weekly-28c76d3f.js → BMI_GIRLS.zscore.weekly-de904e6c.js} +0 -0
  133. /package/build/{BMI_GIRLS.zscore.yearly-eab5da73.js → BMI_GIRLS.zscore.yearly-3a86e344.js} +0 -0
  134. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-05ed074e.js → HEAD CIRCUM_BOYS.percentile.monthly-b4369817.js} +0 -0
  135. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-fcb6df77.js → HEAD CIRCUM_BOYS.percentile.weekly-890a4e6c.js} +0 -0
  136. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b500347a.js → HEAD CIRCUM_BOYS.percentile.yearly-e184a8c0.js} +0 -0
  137. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4989a972.js → HEAD CIRCUM_BOYS.zscore.monthly-8a21e7c4.js} +0 -0
  138. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aa56e67a.js → HEAD CIRCUM_BOYS.zscore.weekly-e7659a88.js} +0 -0
  139. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b06f24be.js → HEAD CIRCUM_BOYS.zscore.yearly-7eb1b8a8.js} +0 -0
  140. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-19dd4a3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-bdacc82e.js} +0 -0
  141. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c88bee62.js → HEAD CIRCUM_GIRLS.percentile.weekly-4ed5396c.js} +0 -0
  142. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c6485476.js → HEAD CIRCUM_GIRLS.percentile.yearly-e8dbdba9.js} +0 -0
  143. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-755b2162.js → HEAD CIRCUM_GIRLS.zscore.monthly-892ea368.js} +0 -0
  144. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a7a4860e.js → HEAD CIRCUM_GIRLS.zscore.weekly-ee19f46a.js} +0 -0
  145. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-64d9f715.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e9be0bf.js} +0 -0
  146. /package/build/{HEIGHT_BOYS.percentile.monthly-baaad0db.js → HEIGHT_BOYS.percentile.monthly-9e5712cf.js} +0 -0
  147. /package/build/{HEIGHT_BOYS.percentile.weekly-daf7b024.js → HEIGHT_BOYS.percentile.weekly-6bca911d.js} +0 -0
  148. /package/build/{HEIGHT_BOYS.percentile.yearly-6703e56a.js → HEIGHT_BOYS.percentile.yearly-0d51a725.js} +0 -0
  149. /package/build/{HEIGHT_BOYS.zscore.monthly-f2ccb35b.js → HEIGHT_BOYS.zscore.monthly-9f4bc81f.js} +0 -0
  150. /package/build/{HEIGHT_BOYS.zscore.weekly-21ecddc6.js → HEIGHT_BOYS.zscore.weekly-c1ff2736.js} +0 -0
  151. /package/build/{HEIGHT_BOYS.zscore.yearly-c35068ae.js → HEIGHT_BOYS.zscore.yearly-64fbc7b5.js} +0 -0
  152. /package/build/{HEIGHT_GIRLS.percentile.monthly-f5931ddc.js → HEIGHT_GIRLS.percentile.monthly-4b8724d3.js} +0 -0
  153. /package/build/{HEIGHT_GIRLS.percentile.weekly-026fdfbb.js → HEIGHT_GIRLS.percentile.weekly-78b9e775.js} +0 -0
  154. /package/build/{HEIGHT_GIRLS.percentile.yearly-69d0410b.js → HEIGHT_GIRLS.percentile.yearly-22aba8da.js} +0 -0
  155. /package/build/{HEIGHT_GIRLS.zscore.monthly-7c668d70.js → HEIGHT_GIRLS.zscore.monthly-403ccbf3.js} +0 -0
  156. /package/build/{HEIGHT_GIRLS.zscore.weekly-00fd1038.js → HEIGHT_GIRLS.zscore.weekly-8e95ced7.js} +0 -0
  157. /package/build/{HEIGHT_GIRLS.zscore.yearly-7fc716e8.js → HEIGHT_GIRLS.zscore.yearly-a7a6a169.js} +0 -0
  158. /package/build/{Onboarding-4c3f6890.js → Onboarding-48739c1f.js} +0 -0
  159. /package/build/{Visible-3f23bb65.js → Visible-be5bc36c.js} +0 -0
  160. /package/build/{WEIGHT_BOYS.percentile.monthly-e60ddb94.js → WEIGHT_BOYS.percentile.monthly-3f727fc8.js} +0 -0
  161. /package/build/{WEIGHT_BOYS.percentile.weekly-5fb2336e.js → WEIGHT_BOYS.percentile.weekly-b616fcf1.js} +0 -0
  162. /package/build/{WEIGHT_BOYS.percentile.yearly-d6f09fca.js → WEIGHT_BOYS.percentile.yearly-ad8ce1c9.js} +0 -0
  163. /package/build/{WEIGHT_BOYS.zscore.monthly-487922e5.js → WEIGHT_BOYS.zscore.monthly-eb422b8d.js} +0 -0
  164. /package/build/{WEIGHT_BOYS.zscore.weekly-c5c47187.js → WEIGHT_BOYS.zscore.weekly-9f3aeea7.js} +0 -0
  165. /package/build/{WEIGHT_BOYS.zscore.yearly-3a057ef6.js → WEIGHT_BOYS.zscore.yearly-0d67f576.js} +0 -0
  166. /package/build/{WEIGHT_GIRLS.percentile.monthly-52e2e5e6.js → WEIGHT_GIRLS.percentile.monthly-5fa745b4.js} +0 -0
  167. /package/build/{WEIGHT_GIRLS.percentile.weekly-ef068ffe.js → WEIGHT_GIRLS.percentile.weekly-42594871.js} +0 -0
  168. /package/build/{WEIGHT_GIRLS.percentile.yearly-c04c9dc5.js → WEIGHT_GIRLS.percentile.yearly-8ad0c80a.js} +0 -0
  169. /package/build/{WEIGHT_GIRLS.zscore.monthly-e52ab836.js → WEIGHT_GIRLS.zscore.monthly-81de4699.js} +0 -0
  170. /package/build/{WEIGHT_GIRLS.zscore.weekly-02878d5d.js → WEIGHT_GIRLS.zscore.weekly-f025743e.js} +0 -0
  171. /package/build/{WEIGHT_GIRLS.zscore.yearly-5ebcb7db.js → WEIGHT_GIRLS.zscore.yearly-33b29188.js} +0 -0
  172. /package/build/{cookieHelper-40f0dd24.js → cookieHelper-600a5796.js} +0 -0
  173. /package/build/{dataTransform-2c4363fa.js → dataTransform-0a6bf3e6.js} +0 -0
  174. /package/build/esm/{BMI_BOYS.percentile.monthly-b18341c8.js → BMI_BOYS.percentile.monthly-d0f21e02.js} +0 -0
  175. /package/build/esm/{BMI_BOYS.percentile.weekly-3519ae1f.js → BMI_BOYS.percentile.weekly-1472e9a4.js} +0 -0
  176. /package/build/esm/{BMI_BOYS.percentile.yearly-3c8d4e1e.js → BMI_BOYS.percentile.yearly-6596ce6d.js} +0 -0
  177. /package/build/esm/{BMI_BOYS.zscore.monthly-8157c8d8.js → BMI_BOYS.zscore.monthly-d57199bf.js} +0 -0
  178. /package/build/esm/{BMI_BOYS.zscore.weekly-ad6a8edb.js → BMI_BOYS.zscore.weekly-d1115c53.js} +0 -0
  179. /package/build/esm/{BMI_BOYS.zscore.yearly-95e547ac.js → BMI_BOYS.zscore.yearly-3ff3fde8.js} +0 -0
  180. /package/build/esm/{BMI_GIRLS.percentile.monthly-cf10a192.js → BMI_GIRLS.percentile.monthly-84b072ae.js} +0 -0
  181. /package/build/esm/{BMI_GIRLS.percentile.weekly-beff5943.js → BMI_GIRLS.percentile.weekly-2503fa80.js} +0 -0
  182. /package/build/esm/{BMI_GIRLS.percentile.yearly-edb45f7f.js → BMI_GIRLS.percentile.yearly-b7440889.js} +0 -0
  183. /package/build/esm/{BMI_GIRLS.zscore.monthly-a1136159.js → BMI_GIRLS.zscore.monthly-2e7f477b.js} +0 -0
  184. /package/build/esm/{BMI_GIRLS.zscore.weekly-ef11cafc.js → BMI_GIRLS.zscore.weekly-5b916186.js} +0 -0
  185. /package/build/esm/{BMI_GIRLS.zscore.yearly-ca3cbf0a.js → BMI_GIRLS.zscore.yearly-6565beba.js} +0 -0
  186. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f497582f.js → HEAD CIRCUM_BOYS.percentile.monthly-2565c31a.js} +0 -0
  187. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f065e532.js → HEAD CIRCUM_BOYS.percentile.weekly-dbdd50d4.js} +0 -0
  188. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3f394bd3.js → HEAD CIRCUM_BOYS.percentile.yearly-0542fe16.js} +0 -0
  189. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ba4c0650.js → HEAD CIRCUM_BOYS.zscore.monthly-e242b3bb.js} +0 -0
  190. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f31e7f35.js → HEAD CIRCUM_BOYS.zscore.weekly-03853d35.js} +0 -0
  191. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8dc4cd2d.js → HEAD CIRCUM_BOYS.zscore.yearly-e421aac2.js} +0 -0
  192. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-6fdaa336.js → HEAD CIRCUM_GIRLS.percentile.monthly-3ef7c79c.js} +0 -0
  193. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-75bd4176.js → HEAD CIRCUM_GIRLS.percentile.weekly-5f278110.js} +0 -0
  194. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-22a80cbe.js → HEAD CIRCUM_GIRLS.percentile.yearly-1fad226a.js} +0 -0
  195. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-524a075d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e7a28695.js} +0 -0
  196. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2351d996.js → HEAD CIRCUM_GIRLS.zscore.weekly-eaf76d2f.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-3d4a2b24.js → HEAD CIRCUM_GIRLS.zscore.yearly-998b774f.js} +0 -0
  198. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f95bfd4f.js → HEIGHT_BOYS.percentile.monthly-c0c32190.js} +0 -0
  199. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-89e71020.js → HEIGHT_BOYS.percentile.weekly-69ec680d.js} +0 -0
  200. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a06136c8.js → HEIGHT_BOYS.percentile.yearly-c662b438.js} +0 -0
  201. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-f7e3d2d5.js → HEIGHT_BOYS.zscore.monthly-5aaf33e7.js} +0 -0
  202. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-2d3ac128.js → HEIGHT_BOYS.zscore.weekly-e3b77573.js} +0 -0
  203. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d15c42cf.js → HEIGHT_BOYS.zscore.yearly-f2c44640.js} +0 -0
  204. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1bed5c12.js → HEIGHT_GIRLS.percentile.monthly-8a79a946.js} +0 -0
  205. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7beebe16.js → HEIGHT_GIRLS.percentile.weekly-f1e1d3a2.js} +0 -0
  206. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-a6c3e72e.js → HEIGHT_GIRLS.percentile.yearly-7215d2c6.js} +0 -0
  207. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-46b7062a.js → HEIGHT_GIRLS.zscore.monthly-10f3fa0b.js} +0 -0
  208. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cb911ab3.js → HEIGHT_GIRLS.zscore.weekly-2a15403c.js} +0 -0
  209. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-925e8d4d.js → HEIGHT_GIRLS.zscore.yearly-db10e5af.js} +0 -0
  210. /package/build/esm/{Onboarding-50b42c3f.js → Onboarding-272cd967.js} +0 -0
  211. /package/build/esm/{Visible-d64f1e09.js → Visible-b4ad4384.js} +0 -0
  212. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4301a4ed.js → WEIGHT_BOYS.percentile.monthly-067b8675.js} +0 -0
  213. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-184b1935.js → WEIGHT_BOYS.percentile.weekly-75cf07c4.js} +0 -0
  214. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-100eb9f7.js → WEIGHT_BOYS.percentile.yearly-be8fdba8.js} +0 -0
  215. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2b65e0c3.js → WEIGHT_BOYS.zscore.monthly-0148bb1d.js} +0 -0
  216. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b1f53056.js → WEIGHT_BOYS.zscore.weekly-30380687.js} +0 -0
  217. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-82636533.js → WEIGHT_BOYS.zscore.yearly-7e87a3f7.js} +0 -0
  218. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b45e7c4d.js → WEIGHT_GIRLS.percentile.monthly-d3fb1e52.js} +0 -0
  219. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-69447827.js → WEIGHT_GIRLS.percentile.weekly-f56210cd.js} +0 -0
  220. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5155477f.js → WEIGHT_GIRLS.percentile.yearly-d0dc190c.js} +0 -0
  221. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9099f160.js → WEIGHT_GIRLS.zscore.monthly-9a35231f.js} +0 -0
  222. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0840514f.js → WEIGHT_GIRLS.zscore.weekly-832c735b.js} +0 -0
  223. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9181d374.js → WEIGHT_GIRLS.zscore.yearly-07374dc5.js} +0 -0
  224. /package/build/esm/{cookieHelper-cb7e7a27.js → cookieHelper-164be52d.js} +0 -0
  225. /package/build/esm/{dataTransform-c8857d85.js → dataTransform-2a6ed39e.js} +0 -0
  226. /package/build/esm/{index-f08aca67.js → index-8983fc14.js} +0 -0
  227. /package/build/esm/{index-f6800fc0.js → index-c0619327.js} +0 -0
  228. /package/build/esm/{index-8a06f994.js → index-e87f2fe4.js} +0 -0
  229. /package/build/esm/{isProduction-a9b81671.js → isProduction-eea76777.js} +0 -0
  230. /package/build/esm/{localizeNumberFormat-9b0ca951.js → localizeNumberFormat-ad0a92dd.js} +0 -0
  231. /package/build/esm/{normalizeLink-d08d0737.js → normalizeLink-79d50705.js} +0 -0
  232. /package/build/esm/{number-ceeb05bb.js → number-86553751.js} +0 -0
  233. /package/build/esm/{paths-8cf4a7cd.js → paths-51710b33.js} +0 -0
  234. /package/build/esm/{screenSizeContext-e06a26d8.js → screenSizeContext-f37fe312.js} +0 -0
  235. /package/build/esm/{theme-f4babdda.js → theme-d92be740.js} +0 -0
  236. /package/build/esm/{translationsContext-5501d02e.js → translationsContext-522117bb.js} +0 -0
  237. /package/build/esm/{tslib.es6-1333d52e.js → tslib.es6-8b2c89d4.js} +0 -0
  238. /package/build/esm/{types-7b603704.js → types-457814df.js} +0 -0
  239. /package/build/esm/{useIsInit-df7fb18d.js → useIsInit-571964b2.js} +0 -0
  240. /package/build/esm/{useOutsideClick-66a79507.js → useOutsideClick-0ade7837.js} +0 -0
  241. /package/build/esm/{useScrollbarSize-709842ff.js → useScrollbarSize-0b028825.js} +0 -0
  242. /package/build/{index-8a2a457a.js → index-81280a31.js} +0 -0
  243. /package/build/{index-7432dd42.js → index-c62c9e94.js} +0 -0
  244. /package/build/{index-cad6554c.js → index-fa77075e.js} +0 -0
  245. /package/build/{isProduction-e530c1c3.js → isProduction-f442c956.js} +0 -0
  246. /package/build/{localizeNumberFormat-10bb3fd3.js → localizeNumberFormat-2059a198.js} +0 -0
  247. /package/build/{normalizeLink-64033f85.js → normalizeLink-42bbc5f4.js} +0 -0
  248. /package/build/{number-57430c37.js → number-fdd928b5.js} +0 -0
  249. /package/build/{paths-b1247592.js → paths-6e57680b.js} +0 -0
  250. /package/build/{screenSizeContext-07a7c85e.js → screenSizeContext-868a3c7a.js} +0 -0
  251. /package/build/{theme-3c0e6784.js → theme-aafce547.js} +0 -0
  252. /package/build/{translationsContext-b790c2f0.js → translationsContext-317bc783.js} +0 -0
  253. /package/build/{tslib.es6-025f1228.js → tslib.es6-3737b9d7.js} +0 -0
  254. /package/build/{types-55f68711.js → types-0885e4af.js} +0 -0
  255. /package/build/{useIsInit-fb37181b.js → useIsInit-98d1130f.js} +0 -0
  256. /package/build/{useOutsideClick-f8bce527.js → useOutsideClick-239f0bc2.js} +0 -0
  257. /package/build/{useScrollbarSize-0e62245b.js → useScrollbarSize-ffb8ebb0.js} +0 -0
@@ -1,4 +1,4 @@
1
- import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-ea006f86.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-f82a0a4a.js";import{i as G,M as Z}from"./screenSizeContext-e06a26d8.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-8bf4f853.js";import{T as le}from"./index-18fd852b.js";import{b as re,u as oe}from"./useTranslations-6762dcc2.js";import"lodash/debounce";import{i as se}from"./isProduction-a9b81671.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-3b929091.js";import"./useCategory-311c6010.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-f4babdda.js";import{_ as ye,a as fe}from"./tslib.es6-1333d52e.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-50b42c3f.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-5501d02e.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-2b34b8fe.js";import Ze from"lodash/throttle";import{L as qe}from"./index-2c766cbb.js";import{B as Ye}from"./index-87d5623a.js";import{I as Xe}from"./index-fa19f6e1.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-048c6e93.js";import"./index.styled-729a99c8.js";import"./index-f6800fc0.js";import{L as dt}from"./constants-e596ba80.js";import{D as mt}from"./types-7b603704.js";import{S as pt}from"./index-319fe0f3.js";import{M as gt}from"./index-3aa27dca.js";import{b as ht}from"./index.styled-53804dba.js";import{C as ut}from"./index-f08aca67.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-2a7c0331.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-d15670fe.js";import{f as Et}from"./index-41103177.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-66a79507.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-fac89e8e.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-4dcd0e9a.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-1798a9c1.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Zt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),qt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?e.createElement(Zt,null):e.createElement(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ia=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),la=t=>{const a=re();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>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"}))))),va=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,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"})))),ya=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
1
+ import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-173d55ad.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-ff1f0cb2.js";import{i as G,M as Z}from"./screenSizeContext-f37fe312.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-15680032.js";import{T as le}from"./index-83b86fb9.js";import{b as re,u as oe}from"./useTranslations-c5b785c2.js";import"lodash/debounce";import{i as se}from"./isProduction-eea76777.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-6930eed6.js";import"./useCategory-d2c9557c.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-d92be740.js";import{_ as ye,a as fe}from"./tslib.es6-8b2c89d4.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-272cd967.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-522117bb.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-73c486ff.js";import Ze from"lodash/throttle";import{L as qe}from"./index-356cb691.js";import{B as Ye}from"./index-cdbe6c4c.js";import{I as Xe}from"./index-0637cee6.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-042aabdd.js";import"./index.styled-b5668217.js";import"./index-c0619327.js";import{L as dt}from"./constants-51ed637e.js";import{D as mt}from"./types-457814df.js";import{S as pt}from"./index-943ca1cf.js";import{M as gt}from"./index-8a6bd3c6.js";import{b as ht}from"./index.styled-e52d30c1.js";import{C as ut}from"./index-8983fc14.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-a5011f0b.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-8f706fe7.js";import{f as Et}from"./index-78672f29.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-0ade7837.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-db17f887.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-7e4b79ca.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-119c41f4.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Zt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),qt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?e.createElement(Zt,null):e.createElement(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ia=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),la=t=>{const a=re();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>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"}))))),va=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,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"})))),ya=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -1 +1 @@
1
- import a,{useMemo as e}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as l,a as s,b as o,c as n,d as r,S as g,L as m,e as i}from"./utils-048c6e93.js";import{I as c}from"./index-8bf4f853.js";const h=({type:h,className:d,style:u,isLightLogo:f,customSize:w,badge:N,locale:y,dateForSeasonal:p,isPro:E})=>{const A=e((()=>{if(!p||isNaN(new Date(p).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1};const a=new Date(p),e=l(a),t=s.includes(y)&&o(a);return{isChristmas:e,isLunarNewYear:t,isNewYear:!t&&n(a),isRamadan:r(a)}}),[y,new Date(p).getDate()]);return a.createElement(g,{className:d,style:u,"data-logo-is-light":f||void 0,"data-has-badge":!!N,"data-seasonal":A.isRamadan?"ramadan":A.isChristmas?"christmas":A.isLunarNewYear?"lunar-new-year":A.isNewYear?"new-year":void 0,"data-type":h},A.isChristmas?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left xmas logo",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right xmas logo",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):A.isNewYear?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left new year logo",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right new year logo",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):A.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):A.isRamadan&&"hellosehat"===h?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):A.isRamadan&&"hellodoktor"===h?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):null,a.createElement(m,{type:h,width:null==w?void 0:w.width,height:null==w?void 0:w.height}),E?a.createElement(i,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{h as L};
1
+ import a,{useMemo as e}from"react";import{CommonGAssets as t}from"./gAssets.js";import{i as l,a as s,b as o,c as n,d as r,S as g,L as m,e as i}from"./utils-042aabdd.js";import{I as c}from"./index-15680032.js";const h=({type:h,className:d,style:u,isLightLogo:w,customSize:f,badge:N,locale:y,dateForSeasonal:p,isPro:E})=>{const A=e((()=>{if(!p||isNaN(new Date(p).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1};const a=new Date(p),e=l(a),t=s.includes(y)&&o(a);return{isChristmas:e,isLunarNewYear:t,isNewYear:!t&&n(a),isRamadan:r(a)}}),[y,new Date(p).getDate()]);return a.createElement(g,{className:d,style:u,"data-logo-is-light":w||void 0,"data-has-badge":!!N,"data-seasonal":A.isRamadan?"ramadan":A.isChristmas?"christmas":A.isLunarNewYear?"lunar-new-year":A.isNewYear?"new-year":void 0,"data-type":h},A.isChristmas?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left xmas logo",src:t.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right xmas logo",src:t.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):A.isNewYear?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left new year logo",src:t.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right new year logo",src:t.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):A.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right lunar new year logo",loading:"lazy",src:t.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):A.isRamadan&&"hellosehat"===h?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):A.isRamadan&&"hellodoktor"===h?a.createElement(a.Fragment,null,a.createElement(c,{alt:"left ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(c,{alt:"right ramadan logo",loading:"lazy",src:t.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):null,a.createElement(m,{type:h,width:null==f?void 0:f.width,height:null==f?void 0:f.height}),E?a.createElement(i,{src:t.getAssetPath("logo/pro-suffix.svg")}):null,N)};export{h as L};
@@ -1 +1 @@
1
- import{a as e,_ as t}from"./tslib.es6-1333d52e.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as o,Input as n}from"@mantine/core";import{c,S as d}from"./index-8bf4f853.js";import"@mantine/dates";import{c as l}from"./index-3b929091.js";import{L as p}from"./Onboarding-50b42c3f.js";import"./gAssets.js";import"./index-ea006f86.js";import"dayjs";import"./screenSizeContext-e06a26d8.js";import"styled-components";import"./theme-f4babdda.js";import"./isProduction-a9b81671.js";import{u as m}from"./useTranslations-6762dcc2.js";import"@mantine/hooks";import"lodash/debounce";import"./useCategory-311c6010.js";import{M as v}from"./utils-7a362e5b.js";const b={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,o]=a(u,b),{provinceByName:n,provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g}=s,[j,E]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${v[r]}.json`)).then((e=>e.json()));E(i);const{list:n}=i,c=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,n):n,d=Object.keys(c),m=Object.keys((null===(e=n[d[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(a=null===(s=n[d[0]])||void 0===s?void 0:s[m[0]])||void 0===a?void 0:a.list)||{});o({type:"SET_DATA",payload:{provinceByName:c,provinces:d,districts:m,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=n[e])||void 0===t?void 0:t.list)||{});o({type:"SET_DISTRICTS",payload:s}),o({type:"SET_WARDS",payload:[]}),o({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=n[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});o({type:"SET_WARDS",payload:a}),o({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{o({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,v=t(e,["error","provinces","placeholder"]);const{t:b}=m(),{provinces:u,districts:y,wards:g,selectedProvince:j,selectedDistrict:E,selectedWard:C,handleProvinceChange:O,handleDistrictChange:S,handleWardChange:T}=h({provinces:l}),[f,D]=r("");return i((()=>{j&&E&&C&&f?v.onChange({selectedProvince:j,selectedDistrict:E,selectedWard:C,extraInfo:f}):v.onChange(null)}),[j,E,C,f]),s.createElement(c.Wrapper,Object.assign({withAsterisk:!0},v),s.createElement(o,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||b("onboarding.similac.input.city"),data:l?u:u.sort(),searchable:!0,onChange:O,value:j}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||b("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:S,value:E,disabled:!j}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||b("onboarding.similac.input.ward"),searchable:!0,data:g.sort(),value:C,onChange:T,disabled:!j||!E}),s.createElement(c,{placeholder:(null==p?void 0:p.address)||b("onboarding.similac.input.no"),disabled:!j||!E||!C,value:f,onChange:D,style:{marginBottom:0}})),s.createElement(n.Error,{size:"md"},a))};export{y as A};
1
+ import{a as e,_ as t}from"./tslib.es6-8b2c89d4.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as o,Input as n}from"@mantine/core";import{c,S as d}from"./index-15680032.js";import"@mantine/dates";import{c as l}from"./index-6930eed6.js";import{L as p}from"./Onboarding-272cd967.js";import"./gAssets.js";import"./index-173d55ad.js";import"dayjs";import"./screenSizeContext-f37fe312.js";import"styled-components";import"./theme-d92be740.js";import"./isProduction-eea76777.js";import{u as m}from"./useTranslations-c5b785c2.js";import"@mantine/hooks";import"lodash/debounce";import"./useCategory-d2c9557c.js";import{M as v}from"./utils-b1470773.js";const u={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},b=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,o]=a(b,u),{provinceByName:n,provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g}=s,[j,E]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${v[r]}.json`)).then((e=>e.json()));E(i);const{list:n}=i,c=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,n):n,d=Object.keys(c),m=Object.keys((null===(e=n[d[0]])||void 0===e?void 0:e.list)||{}),u=Object.keys((null===(a=null===(s=n[d[0]])||void 0===s?void 0:s[m[0]])||void 0===a?void 0:a.list)||{});o({type:"SET_DATA",payload:{provinceByName:c,provinces:d,districts:m,wards:u}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=n[e])||void 0===t?void 0:t.list)||{});o({type:"SET_DISTRICTS",payload:s}),o({type:"SET_WARDS",payload:[]}),o({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=n[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});o({type:"SET_WARDS",payload:a}),o({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{o({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,v=t(e,["error","provinces","placeholder"]);const{t:u}=m(),{provinces:b,districts:y,wards:g,selectedProvince:j,selectedDistrict:E,selectedWard:C,handleProvinceChange:O,handleDistrictChange:S,handleWardChange:T}=h({provinces:l}),[D,f]=r("");return i((()=>{j&&E&&C&&D?v.onChange({selectedProvince:j,selectedDistrict:E,selectedWard:C,extraInfo:D}):v.onChange(null)}),[j,E,C,D]),s.createElement(c.Wrapper,Object.assign({withAsterisk:!0},v),s.createElement(o,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||u("onboarding.similac.input.city"),data:l?b:b.sort(),searchable:!0,onChange:O,value:j}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||u("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:S,value:E,disabled:!j}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:g.sort(),value:C,onChange:T,disabled:!j||!E}),s.createElement(c,{placeholder:(null==p?void 0:p.address)||u("onboarding.similac.input.no"),disabled:!j||!E||!C,value:D,onChange:f,style:{marginBottom:0}})),s.createElement(n.Error,{size:"md"},a))};export{y as A};
@@ -1 +1 @@
1
- import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-50b42c3f.js";import{i as c}from"./isProduction-a9b81671.js";const I={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"},h={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 r;!function(o){o.HPV="hpv"}(r||(r={}));const T={[E.Vietnam]:{[r.HPV]:"hpv-vaccine"},[E.Indonesia]:{[r.HPV]:"deteksi-dini-hpv"}},O="userGeoLocationCoordinates",p={"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"},_={"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"}},m={"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"}},A="user",u=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],N=["vi-VN"],y=["vi-VN","id-ID"],S=["vi-VN","id-ID"],C={"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 g;!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"}(g||(g={}));const R={[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:","}},L="hhg_user_token",P={[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},M="https://cdn.hellohealthgroup.com/countries",d="_ga";var H=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:O,domainLocales:p,LOCALE_SPECS:_,STATIC_PAGES:m,UP_BASEPATH:A,TOGETHER_LOCALES:u,ECOM_LOCALES:N,CARE_LOCALES:y,CARE_BOOKING_LOCALES:S,FAVICONS:C,get QUERY_HEALTH_TOOL(){return g},ISO_FORMAT:R,BEARER_TOKEN_COOKIE:L,DATE_FNS_LOCALE:P,CDN_ADDRESS:M,GA_TOKEN_COOKIE:"_ga",siteHost:I,siteOptions:h,get RISK_SCREENER_NAME(){return r},RISK_SCREENER_SLUG:T,isProduction:c});export{L as B,y as C,P as D,N as E,C as F,d as G,R as I,_ as L,g as Q,r as R,m as S,u as T,A as U,T as a,S as b,M as c,p as d,O as e,I as f,H as i,h as s};
1
+ import{enUS as e,vi as o,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-272cd967.js";import{i as c}from"./isProduction-eea76777.js";const I={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"},h={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 r;!function(e){e.HPV="hpv"}(r||(r={}));const T={[E.Vietnam]:{[r.HPV]:"hpv-vaccine"},[E.Indonesia]:{[r.HPV]:"deteksi-dini-hpv"}},O="userGeoLocationCoordinates",p={"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"},_={"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"}},m={"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"}},A="user",u=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],N=["vi-VN"],y=["vi-VN","id-ID"],S=["vi-VN","id-ID"],C={"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 g;!function(e){e.bmi="mi",e.gender="gndr",e.age="ge",e.slug="slug",e.resultId="resultId",e.bmr="mr",e.height="gt",e.weight="wght",e.source="surc",e.type="tp",e.startDate="sd",e.additional="tnl",e.week="wk",e.twins="twn",e.weightBefore="wb",e.yourself="yrslf",e.intensity="sy",e.rate="rt",e.method="mthd",e.day="dy",e.pwg="pwg",e.cycle="le",e.period="prd",e.access_token="tkn",e.name="nm",e.id="id"}(g||(g={}));const R={[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:","}},L="hhg_user_token",P={[E.PhilippinesEnglish]:e,[E.Vietnam]:o,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:e,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},M="https://cdn.hellohealthgroup.com/countries",d="_ga";var H=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:O,domainLocales:p,LOCALE_SPECS:_,STATIC_PAGES:m,UP_BASEPATH:A,TOGETHER_LOCALES:u,ECOM_LOCALES:N,CARE_LOCALES:y,CARE_BOOKING_LOCALES:S,FAVICONS:C,get QUERY_HEALTH_TOOL(){return g},ISO_FORMAT:R,BEARER_TOKEN_COOKIE:L,DATE_FNS_LOCALE:P,CDN_ADDRESS:M,GA_TOKEN_COOKIE:"_ga",siteHost:I,siteOptions:h,get RISK_SCREENER_NAME(){return r},RISK_SCREENER_SLUG:T,isProduction:c});export{L as B,y as C,P as D,N as E,C as F,d as G,R as I,_ as L,g as Q,r as R,m as S,u as T,A as U,T as a,S as b,M as c,p as d,O as e,I as f,H as i,h as s};
@@ -1,4 +1,4 @@
1
- import{a as e,_ as t}from"./tslib.es6-1333d52e.js";import a,{useState as o,useEffect as i,useMemo as n,useRef as l,memo as r,useContext as s,useCallback as d}from"react";import{g as c}from"./core-00b11c0b.js";import{I as m,F as p,B as g,a as h}from"./index-8bf4f853.js";import u from"styled-components";import{T as v,U as y}from"./index-ea006f86.js";import{CommonGAssets as b}from"./gAssets.js";import{d as f,C as x,b as w,T as E,E as C,L as k,S as $,U as P}from"./index-3b929091.js";import{n as N,a as B}from"./normalizeLink-d08d0737.js";import{g as _,a as M,b as A,c as T,d as H}from"./routing-4dcd0e9a.js";import{P as S,U as L,a as U,b as z}from"./index-41103177.js";import{L as D}from"./index-2c766cbb.js";import{u as j,b as R}from"./useTranslations-6762dcc2.js";import O from"lodash/throttle";import{j as I,M as F}from"./screenSizeContext-e06a26d8.js";import{L as V}from"./Onboarding-50b42c3f.js";import{t as G}from"./theme-f4babdda.js";import{I as W,w as Y,J as Z,P as q,H as K}from"./index.styles-f82a0a4a.js";import{D as Q}from"./constants-1aafa7de.js";import{g as J}from"./cookieHelper-cb7e7a27.js";import{Portal as X}from"@mantine/core";import{B as ee}from"./index-87d5623a.js";import{a as te}from"./constants-e596ba80.js";import"./utils-048c6e93.js";import"@mantine/dates";import ae from"dayjs";import"./isProduction-a9b81671.js";import"@mantine/hooks";import"./index.styled-729a99c8.js";import"./index-f6800fc0.js";import oe from"lodash/debounce";import"./useCategory-311c6010.js";import ie from"string-format";import{I as ne}from"./index-e5e9d9b3.js";import{u as le}from"./useIsInit-df7fb18d.js";import re from"dayjs/plugin/relativeTime";import{C as se}from"./index-f08aca67.js";const de={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ce=({type:e="square",size:t,avatarImg:n,avatarUrl:l,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:p,width:g,height:h,alt:u})=>{const v=t?de[t]:void 0,[y,b]=o(!1);i((()=>{if(l){const e=document.createElement("img");e.setAttribute("src",l),e.addEventListener("error",(()=>{b(!0)}))}}),[l,b]);const f=(!l&&!n||y)&&r;return a.createElement(W,{style:Object.assign(Object.assign({},c),{"--size":v?v+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":s}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:d,className:p,avatarUrl:l,"data-custom-size":!!t},n,l&&!y&&a.createElement(m,{src:l,alt:u||"avatar"}),f&&r)},me=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],pe=(e="")=>me.some((t=>new URL(e).origin.endsWith(t))),ge=u.a`
1
+ import{a as e,_ as t}from"./tslib.es6-8b2c89d4.js";import a,{useState as o,useEffect as i,useMemo as n,useRef as l,memo as r,useContext as s,useCallback as d}from"react";import{g as c}from"./core-1f02fa3f.js";import{I as m,F as p,B as g,a as h}from"./index-15680032.js";import u from"styled-components";import{T as v,U as y}from"./index-173d55ad.js";import{CommonGAssets as b}from"./gAssets.js";import{d as f,C as x,b as w,T as E,E as C,L as k,S as $,U as P}from"./index-6930eed6.js";import{n as N,a as B}from"./normalizeLink-79d50705.js";import{g as _,a as M,b as A,c as T,d as H}from"./routing-7e4b79ca.js";import{P as S,U as L,a as U,b as z}from"./index-78672f29.js";import{L as D}from"./index-356cb691.js";import{u as j,b as R}from"./useTranslations-c5b785c2.js";import O from"lodash/throttle";import{j as I,M as F}from"./screenSizeContext-f37fe312.js";import{L as V}from"./Onboarding-272cd967.js";import{t as G}from"./theme-d92be740.js";import{I as W,w as Y,J as Z,P as q,H as K}from"./index.styles-ff1f0cb2.js";import{D as Q}from"./constants-652884dc.js";import{g as J}from"./cookieHelper-164be52d.js";import{Portal as X}from"@mantine/core";import{B as ee}from"./index-cdbe6c4c.js";import{a as te}from"./constants-51ed637e.js";import"./utils-042aabdd.js";import"@mantine/dates";import ae from"dayjs";import"./isProduction-eea76777.js";import"@mantine/hooks";import"./index.styled-b5668217.js";import"./index-c0619327.js";import oe from"lodash/debounce";import"./useCategory-d2c9557c.js";import ie from"string-format";import{I as ne}from"./index-f6ea512b.js";import{u as le}from"./useIsInit-571964b2.js";import re from"dayjs/plugin/relativeTime";import{C as se}from"./index-8983fc14.js";const de={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ce=({type:e="square",size:t,avatarImg:n,avatarUrl:l,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:p,width:g,height:h,alt:u})=>{const v=t?de[t]:void 0,[y,b]=o(!1);i((()=>{if(l){const e=document.createElement("img");e.setAttribute("src",l),e.addEventListener("error",(()=>{b(!0)}))}}),[l,b]);const f=(!l&&!n||y)&&r;return a.createElement(W,{style:Object.assign(Object.assign({},c),{"--size":v?v+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":s}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:d,className:p,avatarUrl:l,"data-custom-size":!!t},n,l&&!y&&a.createElement(m,{src:l,alt:u||"avatar"}),f&&r)},me=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],pe=(e="")=>me.some((t=>new URL(e).origin.endsWith(t))),ge=u.a`
2
2
  display: inline-flex;
3
3
  position: relative;
4
4
  flex-direction: row;
@@ -1750,4 +1750,4 @@ import{a as e,_ as t}from"./tslib.es6-1333d52e.js";import a,{useState as o,useEf
1750
1750
  font-weight: 700;
1751
1751
  line-height: 22px;
1752
1752
  text-decoration: none;
1753
- `;const Ao=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,f=(()=>{const{t:e}=j(),{siteType:t,locale:a,configs:{enableNavDiscover:o,enableNavHealthTools:i,enableNavCare:l,enableNavTogether:r,enableNavEcom:d,statics:c}}=s(Lt),m="marryBaby"===t;return n((()=>{var t;const n=[];return o&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:m?b.getAssetPath("categories-mb.svg"):b.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=$[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?b.getAssetPath("healthtools-mb.svg"):b.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:N(c.TOGETHER_URL_FE+"/"),thumbnail:m?b.getAssetPath("community-mb.svg"):b.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:N(c.HOME_PAGE_URL+"/shop"),thumbnail:b.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:N("ms-MY"===a?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:b.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,l,r,d])})();(()=>{const{isFirstLogin:e,userState:t}=s(Lt),{userInfo:a}=t;i((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const x=v&&!!u,w=!!h,E=!!(null===(r=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===r?void 0:r.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:P,headerBottom:B}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:r})=>{const s=l(null),[c,m]=o(0),[p,g]=o(64),h=d(oe((()=>{var e,t,a,o;const i=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(m(i),g((null===(o=s.current)||void 0===o?void 0:o.getBoundingClientRect().bottom)||c))}),200),[]);i((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),i((()=>{h()}),[r,a,t,e,s.current]);const u=n((()=>{let o=56;return a&&(o+=64),t&&(o+=40,e&&(o+=57)),o}),[r,a,e,t]);return{defaultHeaderHeight:u,headerHeight:c||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:x,isSponsored:w,hasSponsoredBanners:E,isMobile:c});return a.createElement(Mo,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":B+"px"},className:y},a.createElement("section",{ref:C},a.createElement(No,{menuItems:f,type:"home",onTopBarAppears:p,languageMenu:a.createElement(xe,{languageOptions:g,locale:m})})))},To=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(Ut,Object.assign({},t),a.createElement(Ao,Object.assign({},t)))},Ho=t=>e(void 0,void 0,void 0,(function*(){var e,a,o,i,n,l,r,s,d,c,m,p,g,h,u,v,y,b,w,C,k,$,P;const B={},_="vi-VN_MB"===t;try{const M="tl-PH"===t?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(N(`${T(t)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);B.categories={items:(null===(a=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,vt))||[],spotlights:(null===(l=null===(n=null===(i=null===(o=null==p?void 0:p.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,wt))||void 0===l?void 0:l.filter(Et))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,yt))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,yt))||[]}}catch(e){}if(_||E.includes(t))try{const[e,a]=yield Promise.all([fetch(N(`${A()}/api/v1/community?website_url=https://${f[t]}`)).then((e=>e.json())),fetch(N(`${A()}/api/v1/options?website_url=https://${f[t]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==e?void 0:e.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,U))||[],spotlights:(null===(v=null===(u=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,z))||[]}}catch(e){}if(x.includes(t))try{const[e,a]=yield Promise.all([fetch(N(H()+`/api/options/setting_menu?site=${f[t]}&type=0`)).then((e=>e.json())),fetch(N(H()+`/api/options/setting_menu?site=${f[t]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(C=null===(w=null===(b=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===w?void 0:w.map)||void 0===C?void 0:C.call(w,bt))||[],spotlights:(null===(P=null===($=null===(k=null==a?void 0:a._data.setting_menu)||void 0===k?void 0:k.menu_hospital)||void 0===$?void 0:$.map)||void 0===P?void 0:P.call($,ft))||[]}}catch(e){}}catch(e){console.error(e)}return B})),So=t=>e(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>Ho(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{ce as A,xe as L,To as N,kt as P,Ct as U,So as a,De as b,ct as c,Nt as d,Bt as e,Ho as g,pe as i};
1753
+ `;const Ao=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,f=(()=>{const{t:e}=j(),{siteType:t,locale:a,configs:{enableNavDiscover:o,enableNavHealthTools:i,enableNavCare:l,enableNavTogether:r,enableNavEcom:d,statics:c}}=s(Lt),m="marryBaby"===t;return n((()=>{var t;const n=[];return o&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:m?b.getAssetPath("categories-mb.svg"):b.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=$[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?b.getAssetPath("healthtools-mb.svg"):b.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:N(c.TOGETHER_URL_FE+"/"),thumbnail:m?b.getAssetPath("community-mb.svg"):b.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:N(c.HOME_PAGE_URL+"/shop"),thumbnail:b.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:N("ms-MY"===a?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:b.getAssetPath("nav-icons/care.svg"),popupType:null}),n}),[a,l,r,d])})();(()=>{const{isFirstLogin:e,userState:t}=s(Lt),{userInfo:a}=t;i((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const x=v&&!!u,w=!!h,E=!!(null===(r=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===r?void 0:r.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:P,headerBottom:B}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:r})=>{const s=l(null),[c,m]=o(0),[p,g]=o(64),h=d(oe((()=>{var e,t,a,o;const i=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(m(i),g((null===(o=s.current)||void 0===o?void 0:o.getBoundingClientRect().bottom)||c))}),200),[]);i((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),i((()=>{h()}),[r,a,t,e,s.current]);const u=n((()=>{let o=56;return a&&(o+=64),t&&(o+=40,e&&(o+=57)),o}),[r,a,e,t]);return{defaultHeaderHeight:u,headerHeight:c||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:x,isSponsored:w,hasSponsoredBanners:E,isMobile:c});return a.createElement(Mo,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":B+"px"},className:y},a.createElement("section",{ref:C},a.createElement(No,{menuItems:f,type:"home",onTopBarAppears:p,languageMenu:a.createElement(xe,{languageOptions:g,locale:m})})))},To=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(Ut,Object.assign({},t),a.createElement(Ao,Object.assign({},t)))},Ho=t=>e(void 0,void 0,void 0,(function*(){var e,a,o,i,n,l,r,s,d,c,m,p,g,h,u,v,y,b,w,C,k,$,P;const B={},_="vi-VN_MB"===t;try{const M="tl-PH"===t?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(N(`${T(t)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);B.categories={items:(null===(a=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,vt))||[],spotlights:(null===(l=null===(n=null===(i=null===(o=null==p?void 0:p.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,wt))||void 0===l?void 0:l.filter(Et))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,yt))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,yt))||[]}}catch(e){}if(_||E.includes(t))try{const[e,a]=yield Promise.all([fetch(N(`${A()}/api/v1/community?website_url=https://${f[t]}`)).then((e=>e.json())),fetch(N(`${A()}/api/v1/options?website_url=https://${f[t]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==e?void 0:e.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,U))||[],spotlights:(null===(v=null===(u=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,z))||[]}}catch(e){}if(x.includes(t))try{const[e,a]=yield Promise.all([fetch(N(H()+`/api/options/setting_menu?site=${f[t]}&type=0`)).then((e=>e.json())),fetch(N(H()+`/api/options/setting_menu?site=${f[t]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(C=null===(w=null===(b=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===w?void 0:w.map)||void 0===C?void 0:C.call(w,bt))||[],spotlights:(null===(P=null===($=null===(k=null==a?void 0:a._data.setting_menu)||void 0===k?void 0:k.menu_hospital)||void 0===$?void 0:$.map)||void 0===P?void 0:P.call($,ft))||[]}}catch(e){}}catch(e){console.error(e)}return B})),So=t=>e(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>Ho(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{ce as A,xe as L,To as N,kt as P,Ct as U,So as a,De as b,ct as c,Nt as d,Bt as e,Ho as g,pe as i};
@@ -1,4 +1,4 @@
1
- import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-e06a26d8.js";import l from"styled-components";import{_ as a}from"./tslib.es6-1333d52e.js";import{b as r}from"./index.styles-f82a0a4a.js";const d=l.div`
1
+ import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-f37fe312.js";import l from"styled-components";import{_ as a}from"./tslib.es6-8b2c89d4.js";import{b as r}from"./index.styles-ff1f0cb2.js";const d=l.div`
2
2
  position: fixed;
3
3
  left: 50%;
4
4
 
@@ -0,0 +1 @@
1
+ import{_ as t}from"./tslib.es6-8b2c89d4.js";import e from"react";import"./index-15680032.js";import"@mantine/core";import"@mantine/dates";import"./index-6930eed6.js";import"./Onboarding-272cd967.js";import"./gAssets.js";import{T as i}from"./index-173d55ad.js";import"dayjs";import"./screenSizeContext-f37fe312.js";import"styled-components";import"./theme-d92be740.js";import"./isProduction-eea76777.js";import"./translationsContext-522117bb.js";import"string-format";import"@mantine/hooks";const o=o=>{var{size:r="base",type:s="regular"}=o,m=t(o,["size","type"]);return e.createElement(i,Object.assign({size:r,weight:"caption"===s?"bold":s},m))};export{o as T};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-1333d52e.js";import t from"react";import{S as s,a}from"./index.styled-729a99c8.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
1
+ import{_ as e}from"./tslib.es6-8b2c89d4.js";import t from"react";import{S as s,a}from"./index.styled-b5668217.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
@@ -1,4 +1,4 @@
1
- import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as l}from"@mantine/core";import{t as n,M as i}from"./screenSizeContext-e06a26d8.js";import{a2 as r,a3 as d,a4 as s,a5 as c,a6 as m,a7 as h,w as p}from"./index.styles-f82a0a4a.js";import{T as u,I as g}from"./index-ea006f86.js";import{u as y}from"./useScrollbarSize-709842ff.js";import{createPortal as b}from"react-dom";import f from"styled-components";import{u as v}from"./useTranslations-6762dcc2.js";import{G as x}from"./Onboarding-50b42c3f.js";import{M as C,a as w}from"./index-3aa27dca.js";import{t as E}from"./theme-f4babdda.js";import{T as k}from"./index-18fd852b.js";const B=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),_=({children:o,title:i,onClose:r,open:m=!1,placement:h="left",destroyOnClose:p=!1,isPropagationEvent:g=!0,className:y})=>{const b=t();a((()=>(n(m),()=>n(!1))),[m]);const f=()=>{b.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&p?null:e.createElement(l,null,e.createElement(d,{className:y,open:m},e.createElement(B,{open:m,onClickOutside:f}),e.createElement(s,{open:m,placement:h,ref:b,hasTitle:Boolean(i)},e.createElement("div",{className:"title"},i&&e.createElement(u,{size:"s2",weight:"semiBold"},i),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{g&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},$=({value:t,options:a,className:l,direction:n="horizontal",onChange:i,isDisabled:r,siteType:d})=>{const[s,c]=o(t),p="marryBaby"===d;return e.createElement(m,{className:l,"data-direction":n},a.map(((a,o)=>e.createElement(h,{"data-selected":(t||s)===a.value,"data-is-mb":p,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),i&&i(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,p?e.createElement(C,{type:"subtitle-2",color:(t||s)===a.value?E.mbColors.dark:E.mbColors.midGray},a.label):e.createElement(k,{type:"bold",color:(t||s)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},j="hhgcomp-modal-modal",N=p(f.div`
1
+ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as l}from"@mantine/core";import{t as n,M as i}from"./screenSizeContext-f37fe312.js";import{a2 as r,a3 as d,a4 as s,a5 as c,a6 as m,a7 as h,w as p}from"./index.styles-ff1f0cb2.js";import{T as u,I as g}from"./index-173d55ad.js";import{u as b}from"./useScrollbarSize-0b028825.js";import{createPortal as y}from"react-dom";import f from"styled-components";import{u as v}from"./useTranslations-c5b785c2.js";import{G as x}from"./Onboarding-272cd967.js";import{M as C,a as w}from"./index-8a6bd3c6.js";import{t as E}from"./theme-d92be740.js";import{T as k}from"./index-83b86fb9.js";const B=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),_=({children:o,title:i,onClose:r,open:m=!1,placement:h="left",destroyOnClose:p=!1,isPropagationEvent:g=!0,className:b})=>{const y=t();a((()=>(n(m),()=>n(!1))),[m]);const f=()=>{y.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&p?null:e.createElement(l,null,e.createElement(d,{className:b,open:m},e.createElement(B,{open:m,onClickOutside:f}),e.createElement(s,{open:m,placement:h,ref:y,hasTitle:Boolean(i)},e.createElement("div",{className:"title"},i&&e.createElement(u,{size:"s2",weight:"semiBold"},i),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{g&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:f}):null)))))},$=({value:t,options:a,className:l,direction:n="horizontal",onChange:i,isDisabled:r,siteType:d})=>{const[s,c]=o(t),p="marryBaby"===d;return e.createElement(m,{className:l,"data-direction":n},a.map(((a,o)=>e.createElement(h,{"data-selected":(t||s)===a.value,"data-is-mb":p,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),i&&i(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,p?e.createElement(C,{type:"subtitle-2",color:(t||s)===a.value?E.mbColors.dark:E.mbColors.midGray},a.label):e.createElement(k,{type:"bold",color:(t||s)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},j="hhgcomp-modal-modal",N=p(f.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -144,7 +144,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
144
144
  &[data-type='video'] {
145
145
  background-color: ${e=>e.theme.colors.secondaryDark};
146
146
  }
147
- `,T="hhg-modals",G=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},D=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},M=({type:l="lead",closeIcon:n,isOpen:i=!0,onClose:r,children:d,className:s="",animationType:c="slideTop",isStaticBackdrop:m=!1,siteType:h})=>{const[p,u]=o(!1),g=t(null),{width:f}=y();if(!g.current&&p&&(g.current=document.createElement("div")),a((()=>(u(!0),()=>{u(!1),G(),D()})),[]),a((()=>{if(p){const e=(()=>{let e=document.getElementById(T);return e||(e=document.createElement("div"),e.setAttribute("id",T),document.body.append(e)),e})();return e.appendChild(g.current),()=>{e.removeChild(g.current)}}}),[p]),a((()=>{i?document.body.classList.add("hhc-modal-show"):G()}),[i]),a((()=>{i?(document.body.style.overflow="hidden",document.body.style.paddingRight=f+"px",document.body.classList.add("hhc-disabled-scroll")):D()}),[i,f]),!p)return null;const v=["hhg-modal__wrapper",s,c].filter((e=>e)).join(" ");return b(e.createElement(L,{className:v,"data-open":i,"data-type":l},!m&&e.createElement(z,{"data-open":i,onClick:r,"data-type":l}),!m&&"video"===l&&!!n&&e.createElement("div",{className:"hhg-modal__close",onClick:r},n),e.createElement(N,{className:"hhg-modal","data-open":i,"data-site-type":h},e.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!n&&"video"!==l&&e.createElement("div",{className:"hhg-modal__close",onClick:r},n),d))),g.current)},O=f.div`
147
+ `,T="hhg-modals",G=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},D=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},M=({type:l="lead",closeIcon:n,isOpen:i=!0,onClose:r,children:d,className:s="",animationType:c="slideTop",isStaticBackdrop:m=!1,siteType:h})=>{const[p,u]=o(!1),g=t(null),{width:f}=b();if(!g.current&&p&&(g.current=document.createElement("div")),a((()=>(u(!0),()=>{u(!1),G(),D()})),[]),a((()=>{if(p){const e=(()=>{let e=document.getElementById(T);return e||(e=document.createElement("div"),e.setAttribute("id",T),document.body.append(e)),e})();return e.appendChild(g.current),()=>{e.removeChild(g.current)}}}),[p]),a((()=>{i?document.body.classList.add("hhc-modal-show"):G()}),[i]),a((()=>{i?(document.body.style.overflow="hidden",document.body.style.paddingRight=f+"px",document.body.classList.add("hhc-disabled-scroll")):D()}),[i,f]),!p)return null;const v=["hhg-modal__wrapper",s,c].filter((e=>e)).join(" ");return y(e.createElement(L,{className:v,"data-open":i,"data-type":l},!m&&e.createElement(z,{"data-open":i,onClick:r,"data-type":l}),!m&&"video"===l&&!!n&&e.createElement("div",{className:"hhg-modal__close",onClick:r},n),e.createElement(N,{className:"hhg-modal","data-open":i,"data-site-type":h},e.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!n&&"video"!==l&&e.createElement("div",{className:"hhg-modal__close",onClick:r},n),d))),g.current)},O=f.div`
148
148
  & > :not(:last-child) {
149
149
  margin-bottom: 8px;
150
150
  }
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-8b2c89d4.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as i}from"./index-cdbe6c4c.js";import{D as r,h as s,i as l}from"./index-15680032.js";const c=c=>{var{color:m,withControl:h,onChange:d,value:u,min:p,max:g,isStatic:k,containerClassName:v,containerStyle:x}=c,C=e(c,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,E]=o(u||p||0),[f]=a(b,r);return n((()=>{null==d||d(f)}),[f]),n((()=>{E(u)}),[u]),t.createElement(s,{className:v,style:x},h&&t.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>p&&e===p?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:E,min:p,max:g},C,{className:"hhg-mantine-slider "+(C.className||"")})),h&&t.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>g&&e===g?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};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-1333d52e.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":f,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:P,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:o},N&&b||y),"right"===E&&W))};export{l as B};
1
+ import{_ as a}from"./tslib.es6-8b2c89d4.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:b,isLoading:y=!1,loadingText:N,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":f,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||y)&&t.createElement("span",{className:r},y?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!y&&!h&&k&&k(a)},title:P,"data-is-loading":y,type:j},F),t.createElement("span",{className:c},"left"===E&&W,b&&t.createElement("span",{className:o},y&&N||b),"right"===E&&W))};export{l as B};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-1333d52e.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-3b929091.js";import{L as i}from"./Onboarding-50b42c3f.js";import{CommonGAssets as a}from"./gAssets.js";import{M as n}from"./index-8bf4f853.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
1
+ import{_ as e}from"./tslib.es6-8b2c89d4.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-6930eed6.js";import{L as i}from"./Onboarding-272cd967.js";import{CommonGAssets as a}from"./gAssets.js";import{M as n}from"./index-15680032.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./tslib.es6-1333d52e.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Onboarding-50b42c3f.js";import{CommonGAssets as r}from"./gAssets.js";import{t as i}from"./theme-f4babdda.js";import c from"styled-components";import{I as s,g as d}from"./index-8bf4f853.js";import{T as p}from"./index-18fd852b.js";const m=c.div`
1
+ import{_ as e}from"./tslib.es6-8b2c89d4.js";import t,{useMemo as n,useState as o,useEffect as a}from"react";import{L as l}from"./Onboarding-272cd967.js";import{CommonGAssets as r}from"./gAssets.js";import{t as i}from"./theme-d92be740.js";import c from"styled-components";import{I as s,g as d}from"./index-15680032.js";import{T as p}from"./index-83b86fb9.js";const m=c.div`
2
2
  display: inline-flex;
3
3
  overflow: hidden;
4
4
  width: ${e=>e.size}px;
@@ -36,7 +36,7 @@ import{_ as e}from"./tslib.es6-1333d52e.js";import t,{useMemo as n,useState as a
36
36
  & > * {
37
37
  pointer-events: none;
38
38
  }
39
- `,b=[l.Myanmar,l.Taiwan],h=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=a,f=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const k=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},f),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),k?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
39
+ `,b=[l.Myanmar,l.Taiwan],h=c((o=>{var{icon:a,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=o,k=e(o,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const C=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:a||r.getAssetPath("week_default.png"),alt:`week ${l}`})),C?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
40
40
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
41
41
  `,v=c(d.Slide)`
42
42
  cursor: pointer;
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-1333d52e.js";import t,{useMemo as n,useState as a
47
47
  .centerred-pill-wrapper {
48
48
  padding: 16px 0;
49
49
  }
50
- `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,k]=a("");return o((()=>{k(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(f,{currentUrl:x}),nextControlIcon:t.createElement(f,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(v,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},f=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
50
+ `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,C]=o("");return a((()=>{C(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,o)=>t.createElement(v,Object.assign({key:o,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:o===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
@@ -1 +1 @@
1
- import{G as r,B as t,a as e,b as a,L as n,O as o}from"./Onboarding-50b42c3f.js";var b=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return t},get BabyGrowthChartDuration(){return e},get BabyGrowthResultTab(){return a},get LOCALE(){return n},get OnboardingStep(){return o}});export{b as i};
1
+ import{G as r,B as t,a as e,b as a,L as n,O as o}from"./Onboarding-272cd967.js";var s=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return t},get BabyGrowthChartDuration(){return e},get BabyGrowthResultTab(){return a},get LOCALE(){return n},get OnboardingStep(){return o}});export{s as i};
@@ -0,0 +1 @@
1
+ import{_ as o}from"./tslib.es6-8b2c89d4.js";import t from"react";import{Indicator as e}from"@mantine/core";import"dayjs";import"./screenSizeContext-f37fe312.js";import"styled-components";import{t as s}from"./theme-d92be740.js";import"./index-6930eed6.js";import"./isProduction-eea76777.js";import"./Onboarding-272cd967.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=s.colors.red700}=r,m=o(r,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},m))};export{r as I};