@hhgtech/hhg-components 1.26.69 → 1.26.70

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 (274) hide show
  1. package/build/babyGrowth.js +8 -8
  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.js +1 -1
  6. package/build/core-ec66fdd8.js +1 -0
  7. package/build/{dataTransform-8e2a148e.js → dataTransform-bce57401.js} +1 -1
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +6 -6
  10. package/build/esm/cache.js +1 -1
  11. package/build/esm/care.js +1 -1
  12. package/build/esm/components.js +1 -1
  13. package/build/esm/constants.js +1 -1
  14. package/build/esm/{core-b8b7c763.js → core-c4ff9c85.js} +1 -1
  15. package/build/esm/{dataTransform-dbdf5378.js → dataTransform-244879ef.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/{fixedBottomAdBlock-380111dc.js → fixedBottomAdBlock-79cf47b0.js} +1 -1
  18. package/build/esm/footer.js +1 -1
  19. package/build/esm/gAssets.js +1 -1
  20. package/build/esm/getDynamicHealthTool-4bfe57af.js +1 -0
  21. package/build/esm/{getSocialList-2d764e9d.js → getSocialList-771a13f4.js} +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/index-12cf35c8.js +1 -0
  25. package/build/esm/{index-9ade6a6f.js → index-2226a3cb.js} +1 -1
  26. package/build/esm/index-240edc9b.js +1 -0
  27. package/build/esm/{index-de9ffb3c.js → index-2432cedd.js} +1 -1
  28. package/build/esm/{index-5534bd28.js → index-267ffb4d.js} +1 -1
  29. package/build/esm/{index-a4f21c96.js → index-2b12904b.js} +1 -1
  30. package/build/esm/{index-63de5934.js → index-39e4e9f4.js} +1 -1
  31. package/build/esm/{index-40a3968c.js → index-4c63ee9a.js} +1 -1
  32. package/build/esm/{index-79161b73.js → index-54e2cb47.js} +1 -1
  33. package/build/esm/{index-031b3c13.js → index-615c8aef.js} +1 -1
  34. package/build/esm/index-68a54808.js +1 -0
  35. package/build/esm/{index-ad5f8cf7.js → index-79059842.js} +1 -1
  36. package/build/esm/{index-88ba1cc8.js → index-86bdf08c.js} +1 -1
  37. package/build/esm/{index-6fca3db2.js → index-8955a0ab.js} +2 -2
  38. package/build/esm/index-8b6d261b.js +1 -0
  39. package/build/esm/{index-776ae981.js → index-8f3102db.js} +1 -1
  40. package/build/esm/{index-cb5ee295.js → index-a7960f2c.js} +1 -1
  41. package/build/esm/{index-c8759d0b.js → index-b08ff03e.js} +1 -1
  42. package/build/esm/{index-3ab435dd.js → index-b83ca815.js} +1 -1
  43. package/build/esm/index-bf2c156c.js +1 -0
  44. package/build/esm/{index-d460469a.js → index-c3684fcc.js} +1 -1
  45. package/build/esm/{index-4753d2c1.js → index-c69167a8.js} +1 -1
  46. package/build/esm/{index-fae30886.js → index-dbe5f9de.js} +1 -1
  47. package/build/esm/{index-3078a963.js → index-f26cf5c4.js} +1 -1
  48. package/build/esm/index.js +1 -1
  49. package/build/esm/{index.styled-6c866885.js → index.styled-8760a2f3.js} +1 -1
  50. package/build/esm/{index.styled-8677dfef.js → index.styled-a39f28b9.js} +1 -1
  51. package/build/esm/{index.styled-71473051.js → index.styled-c4a89bfa.js} +1 -1
  52. package/build/esm/{index.styled-a0daa76c.js → index.styled-d84cc243.js} +2 -2
  53. package/build/esm/lead.js +1 -1
  54. package/build/esm/mantine.js +1 -1
  55. package/build/esm/misc.js +1 -1
  56. package/build/esm/navigation.js +1 -1
  57. package/build/esm/onboarding.js +1 -1
  58. package/build/esm/pwg.js +2 -2
  59. package/build/esm/{routing-52f9aff7.js → routing-9b8c3ba8.js} +1 -1
  60. package/build/esm/{screenSizeContext-9762da5c.js → screenSizeContext-401f3b93.js} +4 -4
  61. package/build/esm/together.js +1 -1
  62. package/build/esm/{translationsProvider-f057633f.js → translationsProvider-6994d698.js} +1 -1
  63. package/build/esm/{types-d6e195ca.js → types-08fbe615.js} +1 -1
  64. package/build/esm/{types-36fb0c2c.js → types-40c1e12a.js} +28 -28
  65. package/build/esm/types.js +1 -1
  66. package/build/esm/{useHealthToolCache-8ec20d74.js → useHealthToolCache-78e65f0a.js} +1 -1
  67. package/build/esm/{useRafState-a03c4481.js → useRafState-881ddd9f.js} +1 -1
  68. package/build/esm/{useTranslations-9a8caf99.js → useTranslations-11f5ff72.js} +1 -1
  69. package/build/esm/{utils-d0651a4c.js → utils-13507d64.js} +4 -4
  70. package/build/esm/vaccination.js +5 -5
  71. package/build/{fixedBottomAdBlock-ba5d7f35.js → fixedBottomAdBlock-7c4646ea.js} +1 -1
  72. package/build/footer.js +1 -1
  73. package/build/gAssets.js +1 -1
  74. package/build/getDynamicHealthTool-65bb1a22.js +1 -0
  75. package/build/{getSocialList-6763f8cb.js → getSocialList-653a5c02.js} +1 -1
  76. package/build/hooks.js +1 -1
  77. package/build/i18n.js +1 -1
  78. package/build/{index-d0df01f9.js → index-0aaf01b3.js} +1 -1
  79. package/build/{index-1952ae76.js → index-172cffa1.js} +1 -1
  80. package/build/{index-8e5f5086.js → index-17904fb9.js} +1 -1
  81. package/build/{index-be4d9917.js → index-26c1c305.js} +1 -1
  82. package/build/{index-b9ff900c.js → index-2b93492a.js} +1 -1
  83. package/build/{index-f4f0cb28.js → index-36cf7fbc.js} +1 -1
  84. package/build/{index-ce79581e.js → index-47c36ddd.js} +1 -1
  85. package/build/{index-62c9e1cb.js → index-50c3cad2.js} +1 -1
  86. package/build/{index-1cb8c3a7.js → index-65d1d0d6.js} +1 -1
  87. package/build/{index-f58ebdfa.js → index-87312fd7.js} +1 -1
  88. package/build/{index-5ab7229d.js → index-9b439498.js} +2 -2
  89. package/build/{index-e29e6d32.js → index-a731e5aa.js} +1 -1
  90. package/build/{index-d4f4530b.js → index-afdd4bba.js} +1 -1
  91. package/build/{index-93df9df5.js → index-bb6ab5cf.js} +1 -1
  92. package/build/{index-06d16c80.js → index-bdb19c7e.js} +1 -1
  93. package/build/{index-d1ea346f.js → index-c1c4b978.js} +1 -1
  94. package/build/index-c6e14601.js +1 -0
  95. package/build/{index-08b673f7.js → index-de1a331c.js} +1 -1
  96. package/build/{index-d884acf1.js → index-deabd7a5.js} +1 -1
  97. package/build/{index-1d712981.js → index-e477e8da.js} +1 -1
  98. package/build/index-ec73923b.js +1 -0
  99. package/build/{index-d78a8dd2.js → index-f2ffb6b2.js} +1 -1
  100. package/build/index-f6cc294a.js +1 -0
  101. package/build/{index-aab16ecf.js → index-f6d4e562.js} +1 -1
  102. package/build/index.js +1 -1
  103. package/build/{index.styled-a131027c.js → index.styled-4c87f7c0.js} +1 -1
  104. package/build/{index.styled-8a1b1e1e.js → index.styled-6854eb73.js} +1 -1
  105. package/build/{index.styled-d9f2162f.js → index.styled-cf4767f2.js} +1 -1
  106. package/build/{index.styled-1c7d8585.js → index.styled-e4a3990f.js} +2 -2
  107. package/build/lead.js +1 -1
  108. package/build/mantine.js +1 -1
  109. package/build/misc.js +1 -1
  110. package/build/navigation.js +1 -1
  111. package/build/onboarding.js +1 -1
  112. package/build/pwg.js +2 -2
  113. package/build/{routing-784e15ee.js → routing-75693c85.js} +1 -1
  114. package/build/screenSizeContext-bd2db3d3.js +81 -0
  115. package/build/together/components/atoms/tagTopic/index.d.ts +3 -1
  116. package/build/together.js +1 -1
  117. package/build/{translationsProvider-38cc3d0b.js → translationsProvider-14f9e5a8.js} +1 -1
  118. package/build/{types-6cff0a2a.js → types-341800a7.js} +2 -2
  119. package/build/{types-e246d8f1.js → types-b075774c.js} +1 -1
  120. package/build/types.js +1 -1
  121. package/build/{useHealthToolCache-a775ecb7.js → useHealthToolCache-26a8d20c.js} +1 -1
  122. package/build/{useRafState-dfdf235e.js → useRafState-1809e39f.js} +1 -1
  123. package/build/useTranslations-0c773e8d.js +1 -0
  124. package/build/{utils-57b84d5e.js → utils-ee873488.js} +3 -3
  125. package/build/vaccination.js +1 -1
  126. package/package.json +1 -1
  127. package/build/core-c35ee0f7.js +0 -1
  128. package/build/esm/getDynamicHealthTool-d6131be1.js +0 -1
  129. package/build/esm/index-0b9ba27c.js +0 -1
  130. package/build/esm/index-0debfd86.js +0 -1
  131. package/build/esm/index-56c423d2.js +0 -1
  132. package/build/esm/index-8dab19fe.js +0 -1
  133. package/build/esm/index-d68890f3.js +0 -1
  134. package/build/getDynamicHealthTool-1922f4a8.js +0 -1
  135. package/build/index-5006afd1.js +0 -1
  136. package/build/index-57b49e76.js +0 -1
  137. package/build/index-7fdc33a8.js +0 -1
  138. package/build/screenSizeContext-9cee927d.js +0 -81
  139. package/build/together/components/atoms/tagTopic/index.styled.d.ts +0 -1
  140. package/build/useTranslations-bdb5d775.js +0 -1
  141. /package/build/{BMI_BOYS.percentile.monthly-2bf1141b.js → BMI_BOYS.percentile.monthly-8111e70d.js} +0 -0
  142. /package/build/{BMI_BOYS.percentile.weekly-d4a21b80.js → BMI_BOYS.percentile.weekly-88032069.js} +0 -0
  143. /package/build/{BMI_BOYS.percentile.yearly-049593cd.js → BMI_BOYS.percentile.yearly-b276d3eb.js} +0 -0
  144. /package/build/{BMI_BOYS.zscore.monthly-0f56a4d1.js → BMI_BOYS.zscore.monthly-cbbd9d38.js} +0 -0
  145. /package/build/{BMI_BOYS.zscore.weekly-02019c47.js → BMI_BOYS.zscore.weekly-4bb2a856.js} +0 -0
  146. /package/build/{BMI_BOYS.zscore.yearly-ccc4992e.js → BMI_BOYS.zscore.yearly-1a60b0e8.js} +0 -0
  147. /package/build/{BMI_GIRLS.percentile.monthly-ead6307f.js → BMI_GIRLS.percentile.monthly-05f2f2f7.js} +0 -0
  148. /package/build/{BMI_GIRLS.percentile.weekly-611cbd12.js → BMI_GIRLS.percentile.weekly-3fc9bb1e.js} +0 -0
  149. /package/build/{BMI_GIRLS.percentile.yearly-ead27f12.js → BMI_GIRLS.percentile.yearly-f9a9348f.js} +0 -0
  150. /package/build/{BMI_GIRLS.zscore.monthly-630705df.js → BMI_GIRLS.zscore.monthly-8129b75b.js} +0 -0
  151. /package/build/{BMI_GIRLS.zscore.weekly-5ed7e61b.js → BMI_GIRLS.zscore.weekly-954a1ce0.js} +0 -0
  152. /package/build/{BMI_GIRLS.zscore.yearly-0d1fc3af.js → BMI_GIRLS.zscore.yearly-c27e7fc4.js} +0 -0
  153. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7e77e08b.js → HEAD CIRCUM_BOYS.percentile.monthly-0a4289c8.js} +0 -0
  154. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-03586101.js → HEAD CIRCUM_BOYS.percentile.weekly-2d6494ca.js} +0 -0
  155. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-15d81308.js → HEAD CIRCUM_BOYS.percentile.yearly-1c77f344.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-474deda5.js → HEAD CIRCUM_BOYS.zscore.monthly-71aa3da7.js} +0 -0
  157. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5d08d2d7.js → HEAD CIRCUM_BOYS.zscore.weekly-ffa4d071.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bccf4dea.js → HEAD CIRCUM_BOYS.zscore.yearly-1aa905f8.js} +0 -0
  159. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-6a92f530.js → HEAD CIRCUM_GIRLS.percentile.monthly-da96b409.js} +0 -0
  160. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-76f968ea.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e6bc870.js} +0 -0
  161. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a2949e00.js → HEAD CIRCUM_GIRLS.percentile.yearly-be72d003.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9f9773aa.js → HEAD CIRCUM_GIRLS.zscore.monthly-a55ed6b9.js} +0 -0
  163. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3ce3b9e0.js → HEAD CIRCUM_GIRLS.zscore.weekly-9443246c.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e5422d35.js → HEAD CIRCUM_GIRLS.zscore.yearly-a6e7c4aa.js} +0 -0
  165. /package/build/{HEIGHT_BOYS.percentile.monthly-2ab18c84.js → HEIGHT_BOYS.percentile.monthly-9c57b454.js} +0 -0
  166. /package/build/{HEIGHT_BOYS.percentile.weekly-5b83a787.js → HEIGHT_BOYS.percentile.weekly-a09ef40c.js} +0 -0
  167. /package/build/{HEIGHT_BOYS.percentile.yearly-c65c6034.js → HEIGHT_BOYS.percentile.yearly-01a01e3d.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.zscore.monthly-1d7a8956.js → HEIGHT_BOYS.zscore.monthly-9a742139.js} +0 -0
  169. /package/build/{HEIGHT_BOYS.zscore.weekly-cfad7126.js → HEIGHT_BOYS.zscore.weekly-10a626f7.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.zscore.yearly-19db239e.js → HEIGHT_BOYS.zscore.yearly-4010240a.js} +0 -0
  171. /package/build/{HEIGHT_GIRLS.percentile.monthly-00357196.js → HEIGHT_GIRLS.percentile.monthly-ced4d15c.js} +0 -0
  172. /package/build/{HEIGHT_GIRLS.percentile.weekly-793eb724.js → HEIGHT_GIRLS.percentile.weekly-4f2e8fc3.js} +0 -0
  173. /package/build/{HEIGHT_GIRLS.percentile.yearly-807a3569.js → HEIGHT_GIRLS.percentile.yearly-25280630.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.zscore.monthly-52734203.js → HEIGHT_GIRLS.zscore.monthly-34a9a069.js} +0 -0
  175. /package/build/{HEIGHT_GIRLS.zscore.weekly-aee461cf.js → HEIGHT_GIRLS.zscore.weekly-685a6692.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.zscore.yearly-2c46ec74.js → HEIGHT_GIRLS.zscore.yearly-9806d96f.js} +0 -0
  177. /package/build/{Onboarding-9ed4f4de.js → Onboarding-0e0f9e81.js} +0 -0
  178. /package/build/{Visible-9f2b7006.js → Visible-7f44848c.js} +0 -0
  179. /package/build/{WEIGHT_BOYS.percentile.monthly-6f72eb64.js → WEIGHT_BOYS.percentile.monthly-6e885060.js} +0 -0
  180. /package/build/{WEIGHT_BOYS.percentile.weekly-a29b4cfa.js → WEIGHT_BOYS.percentile.weekly-3bd3d100.js} +0 -0
  181. /package/build/{WEIGHT_BOYS.percentile.yearly-106c754c.js → WEIGHT_BOYS.percentile.yearly-c8bd8252.js} +0 -0
  182. /package/build/{WEIGHT_BOYS.zscore.monthly-be3d4a87.js → WEIGHT_BOYS.zscore.monthly-4646610d.js} +0 -0
  183. /package/build/{WEIGHT_BOYS.zscore.weekly-ca125b2d.js → WEIGHT_BOYS.zscore.weekly-ff564774.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.zscore.yearly-b31bada9.js → WEIGHT_BOYS.zscore.yearly-748240d9.js} +0 -0
  185. /package/build/{WEIGHT_GIRLS.percentile.monthly-9963ece8.js → WEIGHT_GIRLS.percentile.monthly-2b2834e4.js} +0 -0
  186. /package/build/{WEIGHT_GIRLS.percentile.weekly-ac44a6a0.js → WEIGHT_GIRLS.percentile.weekly-a8a433ce.js} +0 -0
  187. /package/build/{WEIGHT_GIRLS.percentile.yearly-6444e60d.js → WEIGHT_GIRLS.percentile.yearly-d6145d47.js} +0 -0
  188. /package/build/{WEIGHT_GIRLS.zscore.monthly-542479a2.js → WEIGHT_GIRLS.zscore.monthly-a322fa60.js} +0 -0
  189. /package/build/{WEIGHT_GIRLS.zscore.weekly-35e771ce.js → WEIGHT_GIRLS.zscore.weekly-ab296eda.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.zscore.yearly-36530890.js → WEIGHT_GIRLS.zscore.yearly-f1ff7e2a.js} +0 -0
  191. /package/build/{constants-623f99a0.js → constants-3b60301f.js} +0 -0
  192. /package/build/{cookieHelper-d838d744.js → cookieHelper-474e0c90.js} +0 -0
  193. /package/build/{dataTransform-87e66504.js → dataTransform-a0e0d20f.js} +0 -0
  194. /package/build/esm/{BMI_BOYS.percentile.monthly-e60cdbd9.js → BMI_BOYS.percentile.monthly-5dd84e1b.js} +0 -0
  195. /package/build/esm/{BMI_BOYS.percentile.weekly-e1e82857.js → BMI_BOYS.percentile.weekly-517493d2.js} +0 -0
  196. /package/build/esm/{BMI_BOYS.percentile.yearly-6508d1bc.js → BMI_BOYS.percentile.yearly-57aec79d.js} +0 -0
  197. /package/build/esm/{BMI_BOYS.zscore.monthly-4e0c74a4.js → BMI_BOYS.zscore.monthly-5b3b1220.js} +0 -0
  198. /package/build/esm/{BMI_BOYS.zscore.weekly-596c905d.js → BMI_BOYS.zscore.weekly-60239381.js} +0 -0
  199. /package/build/esm/{BMI_BOYS.zscore.yearly-0f9c4d32.js → BMI_BOYS.zscore.yearly-b7dec8ae.js} +0 -0
  200. /package/build/esm/{BMI_GIRLS.percentile.monthly-f5e374dc.js → BMI_GIRLS.percentile.monthly-26662caf.js} +0 -0
  201. /package/build/esm/{BMI_GIRLS.percentile.weekly-78e6f691.js → BMI_GIRLS.percentile.weekly-0a1ccb91.js} +0 -0
  202. /package/build/esm/{BMI_GIRLS.percentile.yearly-5e5e5ec5.js → BMI_GIRLS.percentile.yearly-f77563b9.js} +0 -0
  203. /package/build/esm/{BMI_GIRLS.zscore.monthly-b1182f10.js → BMI_GIRLS.zscore.monthly-3b3488f1.js} +0 -0
  204. /package/build/esm/{BMI_GIRLS.zscore.weekly-16c966e1.js → BMI_GIRLS.zscore.weekly-72eb78ff.js} +0 -0
  205. /package/build/esm/{BMI_GIRLS.zscore.yearly-32d74029.js → BMI_GIRLS.zscore.yearly-78084dbe.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1b802a4c.js → HEAD CIRCUM_BOYS.percentile.monthly-5ddd5b7f.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a022d642.js → HEAD CIRCUM_BOYS.percentile.weekly-1d6bc040.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0bd4b98f.js → HEAD CIRCUM_BOYS.percentile.yearly-93631bf0.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d1e68e4e.js → HEAD CIRCUM_BOYS.zscore.monthly-234c9769.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-fdbe5be2.js → HEAD CIRCUM_BOYS.zscore.weekly-f0da3c4c.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-48e6fc50.js → HEAD CIRCUM_BOYS.zscore.yearly-25ab8a1d.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e4ff64d1.js → HEAD CIRCUM_GIRLS.percentile.monthly-8d779f18.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7522b023.js → HEAD CIRCUM_GIRLS.percentile.weekly-99b74789.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-29e042c7.js → HEAD CIRCUM_GIRLS.percentile.yearly-d0943d86.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-b7848d66.js → HEAD CIRCUM_GIRLS.zscore.monthly-a2497852.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-55d05108.js → HEAD CIRCUM_GIRLS.zscore.weekly-ca91aeda.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-940756b4.js → HEAD CIRCUM_GIRLS.zscore.yearly-55279d4c.js} +0 -0
  218. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0bf83d15.js → HEIGHT_BOYS.percentile.monthly-9a44a840.js} +0 -0
  219. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-99903aeb.js → HEIGHT_BOYS.percentile.weekly-ab41eb5e.js} +0 -0
  220. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1f664d69.js → HEIGHT_BOYS.percentile.yearly-608716e0.js} +0 -0
  221. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a1aba829.js → HEIGHT_BOYS.zscore.monthly-f3fffd7f.js} +0 -0
  222. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9636ea70.js → HEIGHT_BOYS.zscore.weekly-fa686f83.js} +0 -0
  223. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b27ff503.js → HEIGHT_BOYS.zscore.yearly-e04d28b8.js} +0 -0
  224. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cb93377d.js → HEIGHT_GIRLS.percentile.monthly-02491d8c.js} +0 -0
  225. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8ce7b21c.js → HEIGHT_GIRLS.percentile.weekly-6735f1f1.js} +0 -0
  226. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-e1cac15e.js → HEIGHT_GIRLS.percentile.yearly-e4efdef1.js} +0 -0
  227. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-15230207.js → HEIGHT_GIRLS.zscore.monthly-4c8fe2b3.js} +0 -0
  228. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-65738390.js → HEIGHT_GIRLS.zscore.weekly-ae117dd8.js} +0 -0
  229. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-34cafbc9.js → HEIGHT_GIRLS.zscore.yearly-b4e213e8.js} +0 -0
  230. /package/build/esm/{Onboarding-ecac6102.js → Onboarding-670fe280.js} +0 -0
  231. /package/build/esm/{Visible-1861c6ba.js → Visible-9162283a.js} +0 -0
  232. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4711994b.js → WEIGHT_BOYS.percentile.monthly-dbb539c1.js} +0 -0
  233. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6365757b.js → WEIGHT_BOYS.percentile.weekly-f67fc756.js} +0 -0
  234. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-816cf78b.js → WEIGHT_BOYS.percentile.yearly-cd887651.js} +0 -0
  235. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4b4e1a8d.js → WEIGHT_BOYS.zscore.monthly-6483caad.js} +0 -0
  236. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-16b021b6.js → WEIGHT_BOYS.zscore.weekly-ea093a88.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-10e7a393.js → WEIGHT_BOYS.zscore.yearly-4125bbf7.js} +0 -0
  238. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-15b2c298.js → WEIGHT_GIRLS.percentile.monthly-23ca6fe0.js} +0 -0
  239. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dca5ee72.js → WEIGHT_GIRLS.percentile.weekly-239e01c8.js} +0 -0
  240. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f7b6372e.js → WEIGHT_GIRLS.percentile.yearly-4c122364.js} +0 -0
  241. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-563f9ec4.js → WEIGHT_GIRLS.zscore.monthly-a472c5bd.js} +0 -0
  242. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-683b1b4d.js → WEIGHT_GIRLS.zscore.weekly-529a2e1f.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-586a1f4f.js → WEIGHT_GIRLS.zscore.yearly-8062e861.js} +0 -0
  244. /package/build/esm/{constants-39319f0b.js → constants-a50954ac.js} +0 -0
  245. /package/build/esm/{cookieHelper-2ad13924.js → cookieHelper-fce49320.js} +0 -0
  246. /package/build/esm/{dataTransform-0dbb4c5f.js → dataTransform-097c14c2.js} +0 -0
  247. /package/build/esm/{index-dd085bd1.js → index-f616546e.js} +0 -0
  248. /package/build/esm/{index-8c6d10ce.js → index-fd7c27a0.js} +0 -0
  249. /package/build/esm/{isProduction-e5da1979.js → isProduction-02ad3c23.js} +0 -0
  250. /package/build/esm/{localizeNumberFormat-f5e96f28.js → localizeNumberFormat-f60213e0.js} +0 -0
  251. /package/build/esm/{normalizeLink-638709a4.js → normalizeLink-18845612.js} +0 -0
  252. /package/build/esm/{theme-a866d74b.js → theme-0f2913a2.js} +0 -0
  253. /package/build/esm/{translationsContext-dbe1bacc.js → translationsContext-3fbb3e0a.js} +0 -0
  254. /package/build/esm/{tslib.es6-463998a2.js → tslib.es6-4d5a37fe.js} +0 -0
  255. /package/build/esm/{types-58f5e725.js → types-aa47a365.js} +0 -0
  256. /package/build/esm/{useIsInit-08083995.js → useIsInit-60b1af60.js} +0 -0
  257. /package/build/esm/{useOutsideClick-b9b40369.js → useOutsideClick-ac2a7a0f.js} +0 -0
  258. /package/build/esm/{useScrollbarSize-2d9fd957.js → useScrollbarSize-822fe1a6.js} +0 -0
  259. /package/build/esm/{useUniqueId-6ea7b743.js → useUniqueId-bb89253a.js} +0 -0
  260. /package/build/esm/{utils-ceb9c33f.js → utils-914eae2f.js} +0 -0
  261. /package/build/{index-97b69700.js → index-05639451.js} +0 -0
  262. /package/build/{index-be27270e.js → index-74f7ed69.js} +0 -0
  263. /package/build/{isProduction-f42049d8.js → isProduction-c0bfd8d1.js} +0 -0
  264. /package/build/{localizeNumberFormat-7ee0fdd0.js → localizeNumberFormat-e1cc9bec.js} +0 -0
  265. /package/build/{normalizeLink-bad2cb2e.js → normalizeLink-3d14d4f7.js} +0 -0
  266. /package/build/{theme-200f33e6.js → theme-d87e5be5.js} +0 -0
  267. /package/build/{translationsContext-fd811bcc.js → translationsContext-59fba0bc.js} +0 -0
  268. /package/build/{tslib.es6-55aead0e.js → tslib.es6-9d93f244.js} +0 -0
  269. /package/build/{types-76b77e1e.js → types-8fd0f6bc.js} +0 -0
  270. /package/build/{useIsInit-f306f072.js → useIsInit-b0c62e36.js} +0 -0
  271. /package/build/{useOutsideClick-810074f1.js → useOutsideClick-13a76be7.js} +0 -0
  272. /package/build/{useScrollbarSize-5b5a0e87.js → useScrollbarSize-0ec86273.js} +0 -0
  273. /package/build/{useUniqueId-5c348403.js → useUniqueId-509a9921.js} +0 -0
  274. /package/build/{utils-d187a3b8.js → utils-ce6a3dfb.js} +0 -0
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-93df9df5.js"),a=require("./index-5ab7229d.js"),l=require("./index-be4d9917.js"),n=require("dayjs"),r=require("./index-06d16c80.js"),o=require("./theme-200f33e6.js"),i=require("./useTranslations-bdb5d775.js"),d=require("./index-aab16ecf.js"),c=require("./index-7fdc33a8.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-55aead0e.js"),require("./utils-d187a3b8.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-f42049d8.js"),require("./Onboarding-9ed4f4de.js"),require("./translationsContext-fd811bcc.js"),require("string-format"),require("./index.styled-a131027c.js");var u=s(e),m=s(n),v="Lj0qoTD",f="OO-qFWT";const y=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>u.default.createElement("div",{className:f,"data-is-mobile":t},u.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),g=({className:e,type:n="main",footerInfo:d,isMobile:c,locale:s})=>{var f,g,E,p,b,N,h,k,x,T,F,$,q,z,j,C,L,M,w,B,_,A,H,S,I,G,D,O;const{t:P}=i.useTranslations(),J=null==d?void 0:d.menu,K=(null===(g=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===g?void 0:g.filter(Boolean))||[];return u.default.createElement("footer",{className:`${v} ${e||""}`,style:"mini"===n?{backgroundColor:o.theme.colors.neutral50}:{}},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"inner","data-type":n},"main"===n?u.default.createElement(u.default.Fragment,null,u.default.createElement("a",{href:"/"},u.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"newsletter"},u.default.createElement(l.Text,{size:"p1",type:"bold"},null===(p=null==d?void 0:d.general)||void 0===p?void 0:p.content),u.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},P("footer.signUp")),u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),u.default.createElement("div",{className:"icons"},null===(h=null===(N=null==d?void 0:d.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},u.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),u.default.createElement("hr",{className:"hrMobile"}))),u.default.createElement("div",null,J&&u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"biglinks"},null===(x=null===(k=J[0])||void 0===k?void 0:k.items)||void 0===x?void 0:x.map(((e,t)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===($=null===(F=J[1])||void 0===F?void 0:F.items)||void 0===$?void 0:$.map(((e,t)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`},e.title))))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(q=J[2])||void 0===q?void 0:q.menu_title),null===(j=null===(z=J[2])||void 0===z?void 0:z.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"otherSites"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),u.default.createElement("div",{className:"flags"},null===(M=null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.branch)||void 0===M?void 0:M.map(((e,t)=>u.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},u.default.createElement(y,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),u.default.createElement("hr",null),u.default.createElement("div",{className:"copyright"},u.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>u.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},u.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),u.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==d?void 0:d.general)||void 0===w?void 0:w.copyright.replace(/{currentYear}/gi,m.default().get("year").toString()))),"vi-VN"===s&&u.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):u.default.createElement(u.default.Fragment,null,(null==d?void 0:d.menu)&&u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.menu_title),null===(A=null===(_=null==d?void 0:d.menu[1])||void 0===_?void 0:_.items)||void 0===A?void 0:A.map((e=>u.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${r.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`},u.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.menu_title),null===(I=null===(S=null==d?void 0:d.menu[2])||void 0===S?void 0:S.items)||void 0===I?void 0:I.map(((e,t)=>u.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},u.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==n&&u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"newsletter"},u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),u.default.createElement("div",{className:"icons"},null===(O=null===(D=null==d?void 0:d.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},u.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var E="B6-KmWK",p="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_6JMoel-",k="_8eUT8Jr",x="cjDwoLi";const T=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:i,socials:s}=t;return u.default.createElement("footer",{className:E,style:{backgroundColor:l||"none"}},u.default.createElement("div",{className:x},u.default.createElement(a.Container,null,u.default.createElement("div",{className:p},null==i?void 0:i.map((({menu_title:e,items:t},a)=>u.default.createElement("div",{className:b,key:`mbf${a}`},u.default.createElement(c.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},u.default.createElement("div",{className:N,key:`mbitem${a}`},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),u.default.createElement(a.Container,null,u.default.createElement("div",{className:h},u.default.createElement(d.Logo,{className:"logo",type:e}),u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),u.default.createElement("div",{className:"social-link"},null==s?void 0:s.map((({icon:e,name:t,url:a},l)=>u.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},u.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),u.default.createElement("div",{className:k},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright.replace(/{currentYear}/gi,m.default().get("year").toString())),u.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>u.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?u.default.createElement(g,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):u.default.createElement(T,{footerMenu:l,background:r});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-bb6ab5cf.js"),a=require("./index-9b439498.js"),l=require("./index-26c1c305.js"),n=require("dayjs"),r=require("./index-bdb19c7e.js"),o=require("./theme-d87e5be5.js"),i=require("./useTranslations-0c773e8d.js"),d=require("./index-f6d4e562.js"),c=require("./index-c6e14601.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-9d93f244.js"),require("./utils-ce6a3dfb.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-c0bfd8d1.js"),require("./Onboarding-0e0f9e81.js"),require("./translationsContext-59fba0bc.js"),require("string-format"),require("./index.styled-4c87f7c0.js");var u=s(e),m=s(n),v="Lj0qoTD",f="OO-qFWT";const y=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>u.default.createElement("div",{className:f,"data-is-mobile":t},u.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),g=({className:e,type:n="main",footerInfo:d,isMobile:c,locale:s})=>{var f,g,E,b,p,N,h,k,x,T,F,$,q,z,j,C,L,M,w,B,_,A,H,S,I,G,D,O;const{t:P}=i.useTranslations(),J=null==d?void 0:d.menu,K=(null===(g=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===g?void 0:g.filter(Boolean))||[];return u.default.createElement("footer",{className:`${v} ${e||""}`,style:"mini"===n?{backgroundColor:o.theme.colors.neutral50}:{}},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"inner","data-type":n},"main"===n?u.default.createElement(u.default.Fragment,null,u.default.createElement("a",{href:"/"},u.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"newsletter"},u.default.createElement(l.Text,{size:"p1",type:"bold"},null===(b=null==d?void 0:d.general)||void 0===b?void 0:b.content),u.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},P("footer.signUp")),u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.title),u.default.createElement("div",{className:"icons"},null===(h=null===(N=null==d?void 0:d.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},u.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),u.default.createElement("hr",{className:"hrMobile"}))),u.default.createElement("div",null,J&&u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:"biglinks"},null===(x=null===(k=J[0])||void 0===k?void 0:k.items)||void 0===x?void 0:x.map(((e,t)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===($=null===(F=J[1])||void 0===F?void 0:F.items)||void 0===$?void 0:$.map(((e,t)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`},e.title))))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(q=J[2])||void 0===q?void 0:q.menu_title),null===(j=null===(z=J[2])||void 0===z?void 0:z.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&u.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},u.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"otherSites"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),u.default.createElement("div",{className:"flags"},null===(M=null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.branch)||void 0===M?void 0:M.map(((e,t)=>u.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},u.default.createElement(y,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),u.default.createElement("hr",null),u.default.createElement("div",{className:"copyright"},u.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>u.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},u.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),u.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==d?void 0:d.general)||void 0===w?void 0:w.copyright.replace(/{currentYear}/gi,m.default().get("year").toString()))),"vi-VN"===s&&u.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):u.default.createElement(u.default.Fragment,null,(null==d?void 0:d.menu)&&u.default.createElement("div",{className:"columns"},u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.menu_title),null===(A=null===(_=null==d?void 0:d.menu[1])||void 0===_?void 0:_.items)||void 0===A?void 0:A.map((e=>u.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${r.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`},u.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),u.default.createElement("div",{className:"mHalf"},u.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.menu_title),null===(I=null===(S=null==d?void 0:d.menu[2])||void 0===S?void 0:S.items)||void 0===I?void 0:I.map(((e,t)=>u.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},u.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==n&&u.default.createElement("hr",{className:"hrMobile"}),u.default.createElement("div",{className:"newsletter"},u.default.createElement("div",{className:"social"},u.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),u.default.createElement("div",{className:"icons"},null===(O=null===(D=null==d?void 0:d.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>u.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},u.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var E="B6-KmWK",b="GS-7mbG",p="qc5bEb3",N="CQGVeuT",h="_6JMoel-",k="_8eUT8Jr",x="cjDwoLi";const T=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:i,socials:s}=t;return u.default.createElement("footer",{className:E,style:{backgroundColor:l||"none"}},u.default.createElement("div",{className:x},u.default.createElement(a.Container,null,u.default.createElement("div",{className:b},null==i?void 0:i.map((({menu_title:e,items:t},a)=>u.default.createElement("div",{className:p,key:`mbf${a}`},u.default.createElement(c.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>u.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},u.default.createElement("div",{className:N,key:`mbitem${a}`},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),u.default.createElement(a.Container,null,u.default.createElement("div",{className:h},u.default.createElement(d.Logo,{className:"logo",type:e}),u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),u.default.createElement("div",{className:"social-link"},null==s?void 0:s.map((({icon:e,name:t,url:a},l)=>u.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},u.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),u.default.createElement("div",{className:k},u.default.createElement(a.Container,null,u.default.createElement("div",{className:"content"},u.default.createElement(c.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright.replace(/{currentYear}/gi,m.default().get("year").toString())),u.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>u.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?u.default.createElement(g,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):u.default.createElement(T,{footerMenu:l,background:r});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-06d16c80.js"),s=require("./isProduction-f42049d8.js");require("./Onboarding-9ed4f4de.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-bdb19c7e.js"),s=require("./isProduction-c0bfd8d1.js");require("./Onboarding-0e0f9e81.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./tslib.es6-9d93f244.js"),e=require("./core-ec66fdd8.js"),i=require("./normalizeLink-3d14d4f7.js"),o=require("./routing-75693c85.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const a="tl-PH"===e?"lang=fil":"";let d=[];try{const s=yield r(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));d=(null===(n=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return d}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-9ed4f4de.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-0e0f9e81.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-bdb5d775.js"),s=require("./useScrollbarSize-5b5a0e87.js"),r=require("./useRafState-dfdf235e.js"),i=require("./useHealthToolCache-a775ecb7.js"),u=require("./useIsInit-f306f072.js"),t=require("./useOutsideClick-810074f1.js"),a=require("./useUniqueId-5c348403.js");require("react"),require("./translationsContext-fd811bcc.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-55aead0e.js"),require("./cookieHelper-d838d744.js"),require("./getDynamicHealthTool-1922f4a8.js"),require("./core-c35ee0f7.js"),require("./isProduction-f42049d8.js"),require("./normalizeLink-bad2cb2e.js"),require("./routing-784e15ee.js"),require("./index-06d16c80.js"),require("./Onboarding-9ed4f4de.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-0c773e8d.js"),s=require("./useScrollbarSize-0ec86273.js"),r=require("./useRafState-1809e39f.js"),i=require("./useHealthToolCache-26a8d20c.js"),u=require("./useIsInit-b0c62e36.js"),t=require("./useOutsideClick-13a76be7.js"),a=require("./useUniqueId-509a9921.js");require("react"),require("./translationsContext-59fba0bc.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-9d93f244.js"),require("./cookieHelper-474e0c90.js"),require("./getDynamicHealthTool-65bb1a22.js"),require("./core-ec66fdd8.js"),require("./isProduction-c0bfd8d1.js"),require("./normalizeLink-3d14d4f7.js"),require("./routing-75693c85.js"),require("./index-bdb19c7e.js"),require("./Onboarding-0e0f9e81.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
package/build/i18n.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-38cc3d0b.js"),t=require("./translationsContext-fd811bcc.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-14f9e5a8.js"),t=require("./translationsContext-59fba0bc.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),a=require("@mantine/core"),r=require("./index-b9ff900c.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=i(t);const o={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"};exports.Button=t=>{var{variant:i,size:s,color:l,skipHover:c,className:d,dataEventCategory:u,dataEventAction:v,dataEventLabel:f,children:b}=t,h=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const y="error"===i,{classes:E,cx:g}=r.useStyles({variant:i,size:s,color:l,skipHover:c,isError:y,children:b});return n.default.createElement(a.Button,Object.assign({className:g(E.rootCustom,d),variant:o[i],"data-event-category":u,"data-event-action":v,"data-event-label":f},h),b)};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),a=require("@mantine/core"),r=require("./index-2b93492a.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=i(t);const o={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"};exports.Button=t=>{var{variant:i,size:s,color:l,skipHover:c,className:d,dataEventCategory:u,dataEventAction:v,dataEventLabel:b,children:f}=t,h=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const y="error"===i,{classes:E,cx:g}=r.useStyles({variant:i,size:s,color:l,skipHover:c,isError:y,children:f});return n.default.createElement(a.Button,Object.assign({className:g(E.rootCustom,d),variant:o[i],"data-event-category":u,"data-event-action":v,"data-event-label":b},h),f)};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-d187a3b8.js"),l=require("./index.styled-8a1b1e1e.js"),o=require("./index-be4d9917.js"),r=require("styled-components"),i=require("./useTranslations-bdb5d775.js"),n=require("./Onboarding-9ed4f4de.js"),d=require("./index-d78a8dd2.js"),s=require("./index-7fdc33a8.js"),c=require("./theme-200f33e6.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-ce6a3dfb.js"),l=require("./index.styled-6854eb73.js"),o=require("./index-26c1c305.js"),r=require("styled-components"),i=require("./useTranslations-0c773e8d.js"),n=require("./Onboarding-0e0f9e81.js"),d=require("./index-f2ffb6b2.js"),s=require("./index-c6e14601.js"),c=require("./theme-d87e5be5.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,d=l.createContext({}),c=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,d=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(d/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>c(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===c(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(d.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,c=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(d),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,c),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,d=l.createContext({}),c=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,d=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(d/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>c(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===c(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(d.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,c=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(d),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,c),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(require("react")),s="wIj6fkD";exports.Text=a=>{var{size:r="base",type:c="regular",className:n,style:d,children:o,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:u="p",wordWrap:y,isUppercase:b}=a,g=e.__rest(a,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=u;return t.default.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${s} ${n||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),o)};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(require("react")),s="wIj6fkD";exports.Text=a=>{var{size:r="base",type:c="regular",className:n,style:d,children:o,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:u="p",wordWrap:y,isUppercase:b}=a,f=e.__rest(a,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const g=u;return t.default.createElement(g,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${s} ${n||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},f),o)};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),r=require("dayjs"),a=require("./Onboarding-9ed4f4de.js"),n=require("@mantine/core"),l=require("./utils-d187a3b8.js"),o=require("styled-components"),i=require("@mantine/carousel");require("./screenSizeContext-9cee927d.js");var s=require("./theme-200f33e6.js"),c=require("./index-06d16c80.js");require("./isProduction-f42049d8.js");var d=require("./gAssets.js"),m=require("@mantine/hooks");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var u=h(t),f=p(t),g=h(r),v=h(o);const b={[a.LOCALE.Vietnam]:"vi",[a.LOCALE.Cambodia]:"km",[a.LOCALE.India]:"hi",[a.LOCALE.Indonesia]:"id",[a.LOCALE.Malaysia]:"ms",[a.LOCALE.Thailand]:"th",[a.LOCALE.Taiwan]:"zh-tw",[a.LOCALE.PhilippinesTagalog]:"tl-ph",[a.LOCALE.PhilippinesEnglish]:"en",[a.LOCALE.Myanmar]:"my"},E={[a.LOCALE.Vietnam]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/vi.js"))})),[a.LOCALE.Cambodia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/km.js"))})),[a.LOCALE.India]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/hi.js"))})),[a.LOCALE.Indonesia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/id.js"))})),[a.LOCALE.Malaysia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/ms.js"))})),[a.LOCALE.Thailand]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/th.js"))})),[a.LOCALE.Taiwan]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/zh-tw.js"))})),[a.LOCALE.PhilippinesTagalog]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/tl-ph.js"))})),[a.LOCALE.PhilippinesEnglish]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/en.js"))})),[a.LOCALE.Myanmar]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/my.js"))}))},z=()=>"undefined"!=typeof window&&window.innerWidth<l.Breakpoints.BREAK_POINT_MOBILE,x=()=>"undefined"!=typeof window&&window.innerWidth>=l.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<l.Breakpoints.BREAK_POINT_PC,C=()=>{const[e,r]=t.useState(z()),[a,n]=t.useState(x());return t.useEffect((()=>{const e=()=>{r(z()),n(x())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class w extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||u.default.createElement(u.default.Fragment,null):this.props.children}}const y=t=>{var{slidesToShow:r=1,children:a}=t,n=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?u.default.createElement(w,null,u.default.createElement(i.Carousel,Object.assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},n),a)):null};y.Slide=i.Carousel.Slide;const j=v.default(y)`
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),r=require("dayjs"),a=require("./Onboarding-0e0f9e81.js"),n=require("@mantine/core"),l=require("./utils-ce6a3dfb.js"),o=require("styled-components"),i=require("@mantine/carousel");require("./screenSizeContext-bd2db3d3.js");var s=require("./theme-d87e5be5.js"),c=require("./index-bdb19c7e.js");require("./isProduction-c0bfd8d1.js");var d=require("./gAssets.js"),m=require("@mantine/hooks");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var u=h(t),f=p(t),g=h(r),v=h(o);const b={[a.LOCALE.Vietnam]:"vi",[a.LOCALE.Cambodia]:"km",[a.LOCALE.India]:"hi",[a.LOCALE.Indonesia]:"id",[a.LOCALE.Malaysia]:"ms",[a.LOCALE.Thailand]:"th",[a.LOCALE.Taiwan]:"zh-tw",[a.LOCALE.PhilippinesTagalog]:"tl-ph",[a.LOCALE.PhilippinesEnglish]:"en",[a.LOCALE.Myanmar]:"my"},E={[a.LOCALE.Vietnam]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/vi.js"))})),[a.LOCALE.Cambodia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/km.js"))})),[a.LOCALE.India]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/hi.js"))})),[a.LOCALE.Indonesia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/id.js"))})),[a.LOCALE.Malaysia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/ms.js"))})),[a.LOCALE.Thailand]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/th.js"))})),[a.LOCALE.Taiwan]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/zh-tw.js"))})),[a.LOCALE.PhilippinesTagalog]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/tl-ph.js"))})),[a.LOCALE.PhilippinesEnglish]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/en.js"))})),[a.LOCALE.Myanmar]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/my.js"))}))},z=()=>"undefined"!=typeof window&&window.innerWidth<l.Breakpoints.BREAK_POINT_MOBILE,x=()=>"undefined"!=typeof window&&window.innerWidth>=l.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<l.Breakpoints.BREAK_POINT_PC,C=()=>{const[e,r]=t.useState(z()),[a,n]=t.useState(x());return t.useEffect((()=>{const e=()=>{r(z()),n(x())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class w extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||u.default.createElement(u.default.Fragment,null):this.props.children}}const y=t=>{var{slidesToShow:r=1,children:a}=t,n=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?u.default.createElement(w,null,u.default.createElement(i.Carousel,Object.assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},n),a)):null};y.Slide=i.Carousel.Slide;const j=v.default(y)`
2
2
  cursor: grab;
3
3
  width: 100%;
4
4
  .mantine-Carousel-control {
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-93df9df5.js"),r=require("./index-b9ff900c.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-bb6ab5cf.js"),r=require("./index-2b93492a.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[b]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(b)}),[b]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./index.styled-8a1b1e1e.js"),a=require("./tslib.es6-55aead0e.js"),r=require("./useTranslations-bdb5d775.js"),s=require("@mantine/core");require("./gAssets.js"),require("@mantine/dates"),require("./index-06d16c80.js"),require("./Onboarding-9ed4f4de.js");var n=require("./index-b9ff900c.js"),i=require("./index-d0df01f9.js");require("dayjs"),require("./screenSizeContext-9cee927d.js"),require("styled-components"),require("./theme-200f33e6.js"),require("./utils-d187a3b8.js"),require("./isProduction-f42049d8.js"),require("./translationsContext-fd811bcc.js"),require("string-format"),require("./index-8e5f5086.js"),require("@mantine/hooks");var l=require("./index-62c9e1cb.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=d(e);const c={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:i,styles:l,className:d}=e,u=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),v=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:f,cx:y}=t.useStyles(void 0,{name:"AuthorBadge",styles:l});return v&&c[v]?o.default.createElement("div",Object.assign({className:y(f.root,d),"data-label-type":v,"data-is-marrybaby":"marryBaby"===s},u),i||m(c[v])):null},exports.BtnChoice=({value:t,choices:a,onChange:r})=>{const[s,n]=e.useState(t);return e.useEffect((()=>{n(t)}),[t]),o.default.createElement("div",{className:u},a.map(((e,t)=>o.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===s?"primary":"tertiary",key:t,onClick:()=>{n(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>o.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=t=>{var{fallbackSrc:r}=t,n=a.__rest(t,["fallbackSrc"]);const{other:i}=s.useMantineTheme(),l=e.useRef(null),d=r||i.defaultImage,c=n.src||d||"",u=e.useRef(!1);e.useEffect((()=>{c!==d&&l.current&&(l.current.src=c)}),[]),e.useEffect((()=>{u.current=!1}),[c]);return o.default.createElement("img",Object.assign({ref:l},n,{src:c,onError:e=>{var t;u.current||(e.currentTarget.src=d||"",u.current=!0),null===(t=n.onError)||void 0===t||t.call(n,e)}}))},exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:s,className:i,dataEventCategory:d,dataEventAction:c,dataEventLabel:u,id:m,styles:v})=>{const{classes:f,cx:y,theme:b}=l.useStyles$1(void 0,{name:"Tabs",styles:v}),[E,g]=e.useState(a||0);return e.useEffect((()=>{g(a)}),[a]),o.default.createElement("ul",{style:t,className:y(f.root,i),role:"tablist",id:m},r.map(((e,t)=>o.default.createElement("li",{className:`${f.item} ${E===t?"active":""}`,"aria-selected":E===t,role:"tab",onClick:()=>{g(t),s&&s(t)},onKeyDown:e=>{"Enter"===e.key&&(g(t),s&&s(t))},key:t,"data-event-category":e.dataEventCategory||d,"data-event-action":e.dataEventAction||c,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},o.default.createElement("div",{className:f.itemInner},e.icon&&o.default.createElement("div",{className:f.icon},e.icon),o.default.createElement(n.Text,{className:f.label,size:e.textSize||"sm",weight:e.textType||"bold",color:E===t?b.fn.primaryColor():e.textColor||b.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
1
+ "use strict";var e=require("react"),t=require("./index.styled-6854eb73.js"),a=require("./tslib.es6-9d93f244.js"),r=require("./useTranslations-0c773e8d.js"),s=require("@mantine/core");require("./gAssets.js"),require("@mantine/dates"),require("./index-bdb19c7e.js"),require("./Onboarding-0e0f9e81.js");var n=require("./index-2b93492a.js"),i=require("./index-0aaf01b3.js");require("dayjs"),require("./screenSizeContext-bd2db3d3.js"),require("styled-components"),require("./theme-d87e5be5.js"),require("./utils-ce6a3dfb.js"),require("./isProduction-c0bfd8d1.js"),require("./translationsContext-59fba0bc.js"),require("string-format"),require("./index-17904fb9.js"),require("@mantine/hooks");var l=require("./index-50c3cad2.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=d(e);const c={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:i,styles:l,className:d}=e,u=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),v=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:b,cx:y}=t.useStyles(void 0,{name:"AuthorBadge",styles:l});return v&&c[v]?o.default.createElement("div",Object.assign({className:y(b.root,d),"data-label-type":v,"data-is-marrybaby":"marryBaby"===s},u),i||m(c[v])):null},exports.BtnChoice=({value:t,choices:a,onChange:r})=>{const[s,n]=e.useState(t);return e.useEffect((()=>{n(t)}),[t]),o.default.createElement("div",{className:u},a.map(((e,t)=>o.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===s?"primary":"tertiary",key:t,onClick:()=>{n(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>o.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=t=>{var{fallbackSrc:r}=t,n=a.__rest(t,["fallbackSrc"]);const{other:i}=s.useMantineTheme(),l=e.useRef(null),d=r||i.defaultImage,c=n.src||d||"",u=e.useRef(!1);e.useEffect((()=>{c!==d&&l.current&&(l.current.src=c)}),[]),e.useEffect((()=>{u.current=!1}),[c]);return o.default.createElement("img",Object.assign({ref:l},n,{src:c,onError:e=>{var t;u.current||(e.currentTarget.src=d||"",u.current=!0),null===(t=n.onError)||void 0===t||t.call(n,e)}}))},exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:s,className:i,dataEventCategory:d,dataEventAction:c,dataEventLabel:u,id:m,styles:v})=>{const{classes:b,cx:y,theme:f}=l.useStyles$1(void 0,{name:"Tabs",styles:v}),[E,g]=e.useState(a||0);return e.useEffect((()=>{g(a)}),[a]),o.default.createElement("ul",{style:t,className:y(b.root,i),role:"tablist",id:m},r.map(((e,t)=>o.default.createElement("li",{className:`${b.item} ${E===t?"active":""}`,"aria-selected":E===t,role:"tab",onClick:()=>{g(t),s&&s(t)},onKeyDown:e=>{"Enter"===e.key&&(g(t),s&&s(t))},key:t,"data-event-category":e.dataEventCategory||d,"data-event-action":e.dataEventAction||c,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},o.default.createElement("div",{className:b.itemInner},e.icon&&o.default.createElement("div",{className:b.icon},e.icon),o.default.createElement(n.Text,{className:b.label,size:e.textSize||"sm",weight:e.textType||"bold",color:E===t?f.fn.primaryColor():e.textColor||f.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("styled-components"),a=require("./utils-d187a3b8.js"),i=require("./index-aab16ecf.js"),n=require("./index-be4d9917.js"),r=require("@mantine/core"),o=require("./index-93df9df5.js"),l=require("./index.styled-8a1b1e1e.js"),s=require("./index-d1ea346f.js"),d=require("./tslib.es6-55aead0e.js"),c=require("dayjs");require("./screenSizeContext-9cee927d.js");var p=require("./theme-200f33e6.js");require("./index-06d16c80.js"),require("./isProduction-f42049d8.js");var u=require("./Onboarding-9ed4f4de.js"),h=require("./gAssets.js"),m=require("./index-b9ff900c.js");require("@mantine/dates");var f=require("./index-d0df01f9.js");require("./translationsContext-fd811bcc.js"),require("string-format"),require("./index-8e5f5086.js"),require("@mantine/hooks");var g=require("@hookform/resolvers/yup"),x=require("react-hook-form"),b=require("./index-d78a8dd2.js"),y=require("./index-1952ae76.js"),v=require("./useTranslations-bdb5d775.js"),w=require("./index.styled-d9f2162f.js"),k=require("./index-1d712981.js"),E=require("./index-5ab7229d.js"),C=require("date-fns"),S=require("./index-7fdc33a8.js");require("./index-97b69700.js");var D=require("./index-f4f0cb28.js"),T=require("./types-76b77e1e.js"),$=require("react-day-picker/DayPickerInput");function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("lodash/debounce");var _=I(e),M=I(t),z=I(c),N=I($);const A=({type:e,size:t="small",label:a,name:i,checked:n,value:r,className:o,isDisabled:s=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:u})=>{const h=!!p&&!!c&&!!u?{"data-event-category":c,"data-event-action":p,"data-event-label":u}:{};return _.default.createElement(l.StyledRadio,{"data-disabled":s,className:o,"data-type":e,"data-size":t},_.default.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},h),_.default.createElement("input",Object.assign({type:"radio",checked:n,name:i,value:r,onChange:()=>d(r)},h)),a))},B=e.memo((()=>_.default.createElement("div",{className:"shoppable"},_.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),_.default.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"}))))),P=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>_.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.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"})))),j=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>_.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.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"})))),O=M.default.a`
1
+ "use strict";var e=require("react"),t=require("styled-components"),a=require("./utils-ce6a3dfb.js"),i=require("./index-f6d4e562.js"),n=require("./index-26c1c305.js"),r=require("@mantine/core"),o=require("./index-bb6ab5cf.js"),l=require("./index.styled-6854eb73.js"),s=require("./index-c1c4b978.js"),d=require("./tslib.es6-9d93f244.js"),c=require("dayjs");require("./screenSizeContext-bd2db3d3.js");var p=require("./theme-d87e5be5.js");require("./index-bdb19c7e.js"),require("./isProduction-c0bfd8d1.js");var u=require("./Onboarding-0e0f9e81.js"),h=require("./gAssets.js"),m=require("./index-2b93492a.js");require("@mantine/dates");var f=require("./index-0aaf01b3.js");require("./translationsContext-59fba0bc.js"),require("string-format"),require("./index-17904fb9.js"),require("@mantine/hooks");var g=require("@hookform/resolvers/yup"),x=require("react-hook-form"),b=require("./index-f2ffb6b2.js"),y=require("./index-172cffa1.js"),v=require("./useTranslations-0c773e8d.js"),w=require("./index.styled-cf4767f2.js"),k=require("./index-e477e8da.js"),E=require("./index-9b439498.js"),C=require("date-fns"),S=require("./index-c6e14601.js");require("./index-05639451.js");var D=require("./index-36cf7fbc.js"),T=require("./types-8fd0f6bc.js"),$=require("react-day-picker/DayPickerInput");function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("lodash/debounce");var _=I(e),M=I(t),z=I(c),N=I($);const A=({type:e,size:t="small",label:a,name:i,checked:n,value:r,className:o,isDisabled:s=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:u})=>{const h=!!p&&!!c&&!!u?{"data-event-category":c,"data-event-action":p,"data-event-label":u}:{};return _.default.createElement(l.StyledRadio,{"data-disabled":s,className:o,"data-type":e,"data-size":t},_.default.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},h),_.default.createElement("input",Object.assign({type:"radio",checked:n,name:i,value:r,onChange:()=>d(r)},h)),a))},B=e.memo((()=>_.default.createElement("div",{className:"shoppable"},_.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),_.default.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"}))))),P=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>_.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.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"})))),j=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>_.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_.default.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"})))),O=M.default.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./index-b9ff900c.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.Modal=t=>{var{title:r,styles:i}=t,o=e.__rest(t,["title","styles"]);const{classes:u}=a.useStyles$1(void 0,{name:"Modal",styles:i});return n.default.createElement(n.default.Fragment,null,n.default.createElement(s.Modal,Object.assign({centered:!0,classNames:u},o,{withCloseButton:!1,title:o.withCloseButton&&n.default.createElement(n.default.Fragment,null,n.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},r),n.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=o.onClose)||void 0===e?void 0:e.call(o)}}))})))};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./index-2b93492a.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.Modal=t=>{var{title:r,styles:i}=t,o=e.__rest(t,["title","styles"]);const{classes:u}=a.useStyles$1(void 0,{name:"Modal",styles:i});return n.default.createElement(n.default.Fragment,null,n.default.createElement(s.Modal,Object.assign({centered:!0,classNames:u},o,{withCloseButton:!1,title:o.withCloseButton&&n.default.createElement(n.default.Fragment,null,n.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},r),n.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=o.onClose)||void 0===e?void 0:e.call(o)}}))})))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-06d16c80.js"),a=require("./Onboarding-9ed4f4de.js"),n=require("./gAssets.js"),l=require("./index-b9ff900c.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:d,fullWidth:c=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:c?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:d},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-bdb19c7e.js"),a=require("./Onboarding-0e0f9e81.js"),n=require("./gAssets.js"),l=require("./index-2b93492a.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.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:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./utils-d187a3b8.js"),t=require("styled-components"),o=require("react"),s=require("./gAssets.js"),a=require("./Onboarding-9ed4f4de.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t),l=r(o);const h=n.default.div`
1
+ "use strict";var e=require("./utils-ce6a3dfb.js"),t=require("styled-components"),o=require("react"),s=require("./gAssets.js"),a=require("./Onboarding-0e0f9e81.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t),l=r(o);const h=n.default.div`
2
2
  position: relative;
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -90,4 +90,4 @@
90
90
  width: unset;
91
91
  margin-bottom: 4px;
92
92
  margin-left: -3px;
93
- `,g=o.memo((({type:e,width:t,height:a})=>{const r=o.useMemo((()=>{switch(e){case"hellobacsi":return{width:t||"107px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:t||"127px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:t||"121px",height:a||"27px",src:s.CommonGAssets.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:t||"123px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:t||"150px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:t||"99px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:t||"127px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:t||"101px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:t||"111px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:t||"89px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:t||"123px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:t||"105px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:t||"60px",height:a||"57px",src:s.CommonGAssets.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:t||"145px",height:a||"28px",src:s.CommonGAssets.getAssetPath("logo/marrybaby.png")};default:return null}}),[e,t,a]),{src:n,width:h,height:i}=r||{};return l.default.createElement("img",{className:"main-logo-icon",src:n,style:{width:h,height:i}})})),p={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},m=[a.LOCALE.Vietnam,a.LOCALE.Taiwan,a.LOCALE.Indonesia,a.LOCALE.Malaysia];var d="d76E4SH";exports.Container=({children:e,className:t,style:o,type:s})=>l.default.createElement("div",{className:`${d} ${t||""}`,style:o,"data-type":s},e),exports.LogoIcon=g,exports.LunarNewYearLocale=m,exports.StyledLogo=h,exports.StyledProLogo=i,exports.isChristmas=e=>{const t=e.getDate();return 11===e.getMonth()&&t>=16&&t<=25},exports.isLunarNewYear=e=>{const t=e.getFullYear(),o=p[t];if(!o)return!1;const s=new Date(t,o[1],o[0]),a=new Date(s);a.setDate(s.getDate()-7);const r=new Date(s);return r.setDate(s.getDate()+5),a<=e&&e<=r},exports.isNewYear=e=>{const t=e.getDate(),o=e.getMonth();return 11===o&&t>=26||0===o&&t<=15};
93
+ `,g=o.memo((({type:e,width:t,height:a})=>{const r=o.useMemo((()=>{switch(e){case"hellobacsi":return{width:t||"107px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:t||"127px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:t||"121px",height:a||"27px",src:s.CommonGAssets.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:t||"123px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:t||"150px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:t||"99px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:t||"127px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:t||"101px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:t||"111px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:t||"89px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:t||"123px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:t||"105px",height:a||"24px",src:s.CommonGAssets.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:t||"60px",height:a||"57px",src:s.CommonGAssets.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:t||"145px",height:a||"28px",src:s.CommonGAssets.getAssetPath("logo/marrybaby.png")};default:return null}}),[e,t,a]),{src:n,width:h,height:i}=r||{};return l.default.createElement("img",{className:"main-logo-icon",src:n,style:{width:h,height:i}})})),p={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},m=[a.LOCALE.Vietnam,a.LOCALE.Taiwan,a.LOCALE.Indonesia,a.LOCALE.Malaysia];var c="d76E4SH";exports.Container=({children:e,className:t,style:o,type:s})=>l.default.createElement("div",{className:`${c} ${t||""}`,style:o,"data-type":s},e),exports.LogoIcon=g,exports.LunarNewYearLocale=m,exports.StyledLogo=h,exports.StyledProLogo=i,exports.isChristmas=e=>{const t=e.getDate();return 11===e.getMonth()&&t>=16&&t<=25},exports.isLunarNewYear=e=>{const t=e.getFullYear(),o=p[t];if(!o)return!1;const s=new Date(t,o[1],o[0]),a=new Date(s);a.setDate(s.getDate()-7);const r=new Date(s);return r.setDate(s.getDate()+5),a<=e&&e<=r},exports.isNewYear=e=>{const t=e.getDate(),o=e.getMonth();return 11===o&&t>=26||0===o&&t<=15};
@@ -1 +1 @@
1
- "use strict";var r=require("./Onboarding-9ed4f4de.js"),e=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=e;
1
+ "use strict";var r=require("./Onboarding-0e0f9e81.js"),e=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=e;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./useTranslations-bdb5d775.js"),a=require("./theme-200f33e6.js"),d=require("./index.styled-8a1b1e1e.js"),l=require("./index-d78a8dd2.js"),o=require("./index-d1ea346f.js"),r=require("./index-7fdc33a8.js"),c=require("./index-be4d9917.js"),n=require("./useScrollbarSize-5b5a0e87.js"),s=require("react-dom"),i=require("./index-1952ae76.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e);const h="hhg-modals",y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},f=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:d=!0,onClose:l,children:o,className:r="",animationType:c="slideTop",isStaticBackdrop:u=!1,siteType:p})=>{const[b,v]=e.useState(!1),E=e.useRef(null),{width:g}=n.useScrollbarSize();if(!E.current&&b&&(E.current=document.createElement("div")),e.useEffect((()=>(v(!0),()=>{v(!1),y(),f()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(h);return e||(e=document.createElement("div"),e.setAttribute("id",h),document.body.append(e)),e})();return e.appendChild(E.current),()=>{e.removeChild(E.current)}}}),[b]),e.useEffect((()=>{d?document.body.classList.add("hhc-modal-show"):y()}),[d]),e.useEffect((()=>{d?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):f()}),[d,g]),!b)return null;const q=["hhg-modal__wrapper",r,c].filter((e=>e)).join(" ");return s.createPortal(m.default.createElement(i.StyledModalWrapper,{className:q,"data-open":d,"data-type":t},!u&&m.default.createElement(i.StyledModalMask,{"data-open":d,onClick:l,"data-type":t}),!u&&"video"===t&&!!a&&m.default.createElement("div",{className:"hhg-modal__close",onClick:l},a),m.default.createElement(i.StyledModal,{className:"hhg-modal","data-open":d,"data-site-type":p},m.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&m.default.createElement("div",{className:"hhg-modal__close",onClick:l},a),o))),E.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:n,value:s="",onInputChange:i,siteType:u})=>{const{t:h}=t.useTranslations(),y="marryBaby"===u;return m.default.createElement(d.StyledNewBabyProfileRadio,{onClick:()=>n("new"),"data-is-mb":y,"data-isActive":y&&e},"marryBaby"===u?m.default.createElement("div",{className:"title"},m.default.createElement(r.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"},e&&m.default.createElement(l.Icon.CheckActiveMB,{size:26}))):m.default.createElement("div",{className:"title"},m.default.createElement(c.Text,{size:"p2",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"})),m.default.createElement(o.Input,{name:"name",value:s,size:"md",placeholder:h("chooseBaby.placeholder"),type:"text",onChange:i}))};
1
+ "use strict";var e=require("react"),t=require("./useTranslations-0c773e8d.js"),a=require("./theme-d87e5be5.js"),l=require("./index.styled-6854eb73.js"),d=require("./index-f2ffb6b2.js"),o=require("./index-c1c4b978.js"),r=require("./index-c6e14601.js"),c=require("./index-26c1c305.js"),n=require("./useScrollbarSize-0ec86273.js"),s=require("react-dom"),i=require("./index-172cffa1.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e);const h="hhg-modals",y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},f=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:d,children:o,className:r="",animationType:c="slideTop",isStaticBackdrop:u=!1,siteType:p})=>{const[b,v]=e.useState(!1),E=e.useRef(null),{width:g}=n.useScrollbarSize();if(!E.current&&b&&(E.current=document.createElement("div")),e.useEffect((()=>(v(!0),()=>{v(!1),y(),f()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(h);return e||(e=document.createElement("div"),e.setAttribute("id",h),document.body.append(e)),e})();return e.appendChild(E.current),()=>{e.removeChild(E.current)}}}),[b]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):y()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):f()}),[l,g]),!b)return null;const q=["hhg-modal__wrapper",r,c].filter((e=>e)).join(" ");return s.createPortal(m.default.createElement(i.StyledModalWrapper,{className:q,"data-open":l,"data-type":t},!u&&m.default.createElement(i.StyledModalMask,{"data-open":l,onClick:d,"data-type":t}),!u&&"video"===t&&!!a&&m.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),m.default.createElement(i.StyledModal,{className:"hhg-modal","data-open":l,"data-site-type":p},m.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&m.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),o))),E.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:n,value:s="",onInputChange:i,siteType:u})=>{const{t:h}=t.useTranslations(),y="marryBaby"===u;return m.default.createElement(l.StyledNewBabyProfileRadio,{onClick:()=>n("new"),"data-is-mb":y,"data-isActive":y&&e},"marryBaby"===u?m.default.createElement("div",{className:"title"},m.default.createElement(r.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"},e&&m.default.createElement(d.Icon.CheckActiveMB,{size:26}))):m.default.createElement("div",{className:"title"},m.default.createElement(c.Text,{size:"p2",color:a.theme.colors.gray800},h("chooseBaby.new")),m.default.createElement("div",{className:e?"radio active":"radio"})),m.default.createElement(o.Input,{name:"name",value:s,size:"md",placeholder:h("chooseBaby.placeholder"),type:"text",onChange:i}))};
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-55aead0e.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["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":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.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"})),e.default.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)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&P&&P(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
1
+ "use strict";var t=require("./tslib.es6-9d93f244.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["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":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.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"})),e.default.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)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&P&&P(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
@@ -1 +1 @@
1
- "use strict";var e=require("./Onboarding-9ed4f4de.js"),o=require("./isProduction-f42049d8.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"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"}},s={"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"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN"],I=["vi-VN","id-ID","en-PH","tl-PH"],r=["vi-VN","id-ID"],T={"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 h;exports.QUERY_HEALTH_TOOL=void 0,(h=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",h.gender="gndr",h.age="ge",h.slug="slug",h.resultId="resultId",h.bmr="mr",h.height="gt",h.weight="wght",h.source="surc",h.type="tp",h.startDate="sd",h.additional="tnl",h.week="wk",h.twins="twn",h.weightBefore="wb",h.yourself="yrslf",h.intensity="sy",h.rate="rt",h.method="mthd",h.day="dy",h.pwg="pwg",h.cycle="le",h.period="prd",h.access_token="tkn",h.name="nm",h.id="id";const p={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var A=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,ECOM_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:r,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=_,exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=I,exports.ECOM_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=A,exports.siteHost=l,exports.siteOptions=i;
1
+ "use strict";var e=require("./Onboarding-0e0f9e81.js"),o=require("./isProduction-c0bfd8d1.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"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"}},s={"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"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN"],I=["vi-VN","id-ID","en-PH","tl-PH"],r=["vi-VN","id-ID"],T={"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 h;exports.QUERY_HEALTH_TOOL=void 0,(h=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",h.gender="gndr",h.age="ge",h.slug="slug",h.resultId="resultId",h.bmr="mr",h.height="gt",h.weight="wght",h.source="surc",h.type="tp",h.startDate="sd",h.additional="tnl",h.week="wk",h.twins="twn",h.weightBefore="wb",h.yourself="yrslf",h.intensity="sy",h.rate="rt",h.method="mthd",h.day="dy",h.pwg="pwg",h.cycle="le",h.period="prd",h.access_token="tkn",h.name="nm",h.id="id";const p={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var A=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,ECOM_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:r,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=_,exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=I,exports.ECOM_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=A,exports.siteHost=l,exports.siteOptions=i;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-1d712981.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:g,size:f,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},g||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-e477e8da.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),r=require("./index.styled-4c87f7c0.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},y))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},y))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-55aead0e.js"),t=require("react"),l=require("./Onboarding-9ed4f4de.js"),a=require("./index.styled-1c7d8585.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.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"}));exports.PillCarousel=n=>{var{data:i,isMobile:d,onSlideChange:c,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!d,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(d?2:4),blurLength:g||(d?1:3),onSlideChange:c},[C,f]=t.useState("");return t.useEffect((()=>{f(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
1
+ "use strict";var e=require("./tslib.es6-9d93f244.js"),t=require("react"),l=require("./Onboarding-0e0f9e81.js"),a=require("./index.styled-e4a3990f.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.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"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,f=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[m,C]=t.useState("");return t.useEffect((()=>{C(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},h,f,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:m}),nextControlIcon:r.default.createElement(o,{currentUrl:m,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":m,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};