@hhgtech/hhg-components 1.24.21 → 1.24.23

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 (301) hide show
  1. package/build/Onboarding-0595c711.js +1 -0
  2. package/build/babyGrowth.js +17 -17
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components/mantine/theme/input.d.ts +2 -0
  6. package/build/components/onboarding.d.ts +4 -3
  7. package/build/components/organisms/onboardingModal/components/dynamicForm/index.d.ts +18 -0
  8. package/build/components/organisms/onboardingModal/components/dynamicForm/index.styled.d.ts +1 -0
  9. package/build/components/organisms/onboardingModal/components/onboardingForm/index.styled.d.ts +1 -1
  10. package/build/components/organisms/onboardingModal/components/otpForm/index.styled.d.ts +1 -1
  11. package/build/components/organisms/onboardingModal/components/personalInfoForm/index.d.ts +1 -1
  12. package/build/components/organisms/onboardingModal/components/updatePassword/index.d.ts +1 -1
  13. package/build/components/organisms/onboardingModal/context.d.ts +1 -0
  14. package/build/components/organisms/onboardingModal/index.d.ts +17 -36
  15. package/build/components/organisms/onboardingModal/index.styled.d.ts +0 -4
  16. package/build/components/ui/onboarding/index.d.ts +8 -0
  17. package/build/components/ui/onboarding/index.styled.d.ts +4 -0
  18. package/build/components.js +1 -1
  19. package/build/constants.js +1 -1
  20. package/build/{core-1ddff0e2.js → core-ec9605a8.js} +1 -1
  21. package/build/{dataTransform-f19c1617.js → dataTransform-deee6834.js} +1 -1
  22. package/build/esm/Onboarding-6fd5031f.js +1 -0
  23. package/build/esm/babyGrowth.js +9 -9
  24. package/build/esm/cache.js +1 -1
  25. package/build/esm/care.js +1 -1
  26. package/build/esm/components.js +1 -1
  27. package/build/esm/constants.js +1 -1
  28. package/build/esm/{core-01abe7a1.js → core-6fe4e8ce.js} +1 -1
  29. package/build/esm/{dataTransform-b6ffa89e.js → dataTransform-6e4781a5.js} +1 -1
  30. package/build/esm/footer.js +1 -1
  31. package/build/esm/gAssets.js +1 -1
  32. package/build/esm/getDynamicHealthTool-df16d55b.js +1 -0
  33. package/build/esm/getSocialList-c9305206.js +1 -0
  34. package/build/esm/hooks.js +1 -1
  35. package/build/esm/i18n.js +1 -1
  36. package/build/esm/{index-43d2bffe.js → index-0037f41d.js} +1 -1
  37. package/build/esm/index-10ec152e.js +1 -0
  38. package/build/esm/index-285eb8ae.js +1 -0
  39. package/build/esm/{index-4b19571c.js → index-36e295d5.js} +1 -1
  40. package/build/esm/index-4399ff92.js +1 -0
  41. package/build/esm/{index-8f7ffa4b.js → index-452dfbb0.js} +1 -1
  42. package/build/esm/index-5c20c2fc.js +1 -0
  43. package/build/esm/{index-e1e88ca8.js → index-5cd7d80c.js} +1 -1
  44. package/build/esm/index-6000e136.js +75 -0
  45. package/build/esm/{index-881e5990.js → index-610819d0.js} +2 -2
  46. package/build/esm/{index-6f78a19c.js → index-66477285.js} +1 -1
  47. package/build/esm/index-6a63dfa7.js +1 -0
  48. package/build/esm/index-95216e47.js +1 -0
  49. package/build/esm/{index-65b95e24.js → index-9ded4228.js} +1 -1
  50. package/build/esm/{index-10233643.js → index-add5a812.js} +1 -1
  51. package/build/esm/{index-c2de5d7b.js → index-b6f468f8.js} +1 -1
  52. package/build/esm/{index-6b049c9f.js → index-c0e5a532.js} +1 -1
  53. package/build/esm/index-e7db8409.js +177 -0
  54. package/build/esm/{index-6d8a955b.js → index-f07b5f82.js} +1 -1
  55. package/build/esm/index-f2e8f850.js +1 -0
  56. package/build/esm/index-fe212f88.js +1 -0
  57. package/build/esm/index.css +1 -1
  58. package/build/esm/index.js +1 -1
  59. package/build/esm/{index.styled-981e6c04.js → index.styled-21b83974.js} +1 -1
  60. package/build/esm/{index.styled-8aca10eb.js → index.styled-4cfb3fa1.js} +2 -2
  61. package/build/esm/index.styled-57df4961.js +166 -0
  62. package/build/esm/{index.styled-89252990.js → index.styled-7eed71ac.js} +12 -12
  63. package/build/esm/{index.styled-38864315.js → index.styled-98887888.js} +54 -54
  64. package/build/esm/{index.styled-243d7f64.js → index.styled-de60f2a9.js} +1 -1
  65. package/build/esm/{index.styled-839052ac.js → index.styled-e11efdb1.js} +1 -1
  66. package/build/esm/{index.styled-c3d5eff6.js → index.styled-e70922b1.js} +1 -1
  67. package/build/esm/lead.js +1 -1
  68. package/build/esm/mantine.js +1 -1
  69. package/build/esm/misc.js +1 -1
  70. package/build/esm/navigation.js +1 -1
  71. package/build/esm/onboarding.js +1 -1
  72. package/build/esm/pwg.js +5 -5
  73. package/build/esm/{routing-6d3d5706.js → routing-b133a308.js} +1 -1
  74. package/build/esm/{screenSizeContext-796cb6e5.js → screenSizeContext-e145dc42.js} +1 -1
  75. package/build/esm/together.js +1 -1
  76. package/build/esm/{translationsContext-d4d12e4a.js → translationsContext-7392d1d3.js} +1 -1
  77. package/build/esm/translationsProvider-6d701407.js +1 -0
  78. package/build/esm/{types-e46ef606.js → types-65a55bd1.js} +27 -27
  79. package/build/esm/{types-31c78444.js → types-6b50ae0d.js} +1 -1
  80. package/build/esm/types.js +1 -1
  81. package/build/esm/useHealthToolCache-aa72d73b.js +1 -0
  82. package/build/esm/{useRafState-1e0d71f3.js → useRafState-4733fa2b.js} +1 -1
  83. package/build/esm/useTranslations-13f8b391.js +1 -0
  84. package/build/footer.js +1 -1
  85. package/build/gAssets.js +1 -1
  86. package/build/{getDynamicHealthTool-407de63f.js → getDynamicHealthTool-e7cd7152.js} +1 -1
  87. package/build/getSocialList-174c063f.js +1 -0
  88. package/build/hooks.js +1 -1
  89. package/build/i18n.js +1 -1
  90. package/build/index-00476731.js +1 -0
  91. package/build/index-0110b2c8.js +1 -0
  92. package/build/{index-178a694b.js → index-1cc61d04.js} +1 -1
  93. package/build/{index-92ea35de.js → index-1ea4819b.js} +2 -2
  94. package/build/{index-03b58356.js → index-32c872bc.js} +1 -1
  95. package/build/{index-fb65c87a.js → index-3b4bd136.js} +1 -1
  96. package/build/index-3d53c538.js +1 -0
  97. package/build/{index-50f5a6cd.js → index-4c91d9bd.js} +3 -3
  98. package/build/index-4de5e24d.js +177 -0
  99. package/build/{index-aca89b3b.js → index-50efc11a.js} +1 -1
  100. package/build/{index-aeea420e.js → index-56e80a19.js} +1 -1
  101. package/build/{index-c2ef36dd.js → index-688ca03f.js} +1 -1
  102. package/build/index-7b15d22e.js +1 -0
  103. package/build/index-8fbfa1cf.js +1 -0
  104. package/build/{index-1ecd880c.js → index-a19cca5e.js} +1 -1
  105. package/build/index-b447a041.js +1 -0
  106. package/build/index-bd504644.js +1 -0
  107. package/build/index-e00d457a.js +75 -0
  108. package/build/index-e516e922.js +1 -0
  109. package/build/{index-6419e3dc.js → index-eceeda14.js} +1 -1
  110. package/build/{index-857fa6cb.js → index-f9ebabec.js} +1 -1
  111. package/build/index.js +1 -1
  112. package/build/{index.styled-8fe3cbb8.js → index.styled-0bd6cd62.js} +1 -1
  113. package/build/index.styled-0db2365d.js +1249 -0
  114. package/build/{index.styled-431f1caa.js → index.styled-184051e8.js} +1 -1
  115. package/build/{index.styled-66045dd3.js → index.styled-19ac7360.js} +1 -1
  116. package/build/index.styled-2d62acdc.js +166 -0
  117. package/build/{index.styled-38bd8957.js → index.styled-6680534f.js} +1 -1
  118. package/build/{index.styled-77b969ab.js → index.styled-99c3377f.js} +263 -263
  119. package/build/index.styled-bc09f2d8.js +45 -0
  120. package/build/interfaces/types/Onboarding.d.ts +21 -0
  121. package/build/interfaces/types/index.d.ts +1 -0
  122. package/build/lead.js +1 -1
  123. package/build/mantine.js +1 -1
  124. package/build/misc.js +1 -1
  125. package/build/navigation.js +1 -1
  126. package/build/onboarding.js +1 -1
  127. package/build/pwg.js +1 -1
  128. package/build/{routing-c02011e8.js → routing-cd4fdd8a.js} +1 -1
  129. package/build/{screenSizeContext-4f7042b6.js → screenSizeContext-db21a568.js} +1 -1
  130. package/build/together.js +1 -1
  131. package/build/{translationsContext-0e066585.js → translationsContext-e85fb488.js} +1 -1
  132. package/build/translationsProvider-1e5ccef9.js +1 -0
  133. package/build/{types-d10baf2e.js → types-199f435f.js} +1 -1
  134. package/build/{types-5df2a81a.js → types-665d22b9.js} +120 -120
  135. package/build/types.js +1 -1
  136. package/build/{useHealthToolCache-3f4dc66a.js → useHealthToolCache-c06baa95.js} +1 -1
  137. package/build/{useRafState-9cd628f0.js → useRafState-a516f51c.js} +1 -1
  138. package/build/{useTranslations-7bb84bd7.js → useTranslations-dc92b2cd.js} +1 -1
  139. package/package.json +1 -1
  140. package/build/Locale-a4f9d8f6.js +0 -1
  141. package/build/components/mantine/radio/index.styled.d.ts +0 -6
  142. package/build/components/organisms/onboardingModal/components/formSection/index.d.ts +0 -8
  143. package/build/components/organisms/onboardingModal/components/formSection/index.styled.d.ts +0 -6
  144. package/build/esm/Locale-2a1e1450.js +0 -1
  145. package/build/esm/getDynamicHealthTool-0aab98fc.js +0 -1
  146. package/build/esm/getSocialList-03e2a2b1.js +0 -1
  147. package/build/esm/index-1a820ef8.js +0 -1
  148. package/build/esm/index-28b8dab6.js +0 -177
  149. package/build/esm/index-505a781d.js +0 -1
  150. package/build/esm/index-879836ec.js +0 -1
  151. package/build/esm/index-8eec058f.js +0 -1
  152. package/build/esm/index-c9290e7f.js +0 -1
  153. package/build/esm/index-e2b7ef68.js +0 -1
  154. package/build/esm/index-f3de7ff9.js +0 -170
  155. package/build/esm/index-f49aeb82.js +0 -1
  156. package/build/esm/index-fcef2054.js +0 -78
  157. package/build/esm/translationsProvider-8152b937.js +0 -1
  158. package/build/esm/useHealthToolCache-3488ead9.js +0 -1
  159. package/build/esm/useTranslations-86f7e107.js +0 -1
  160. package/build/getSocialList-5d162a85.js +0 -1
  161. package/build/index-085adf8a.js +0 -170
  162. package/build/index-19064ad7.js +0 -1
  163. package/build/index-4d6932de.js +0 -177
  164. package/build/index-5afdfa27.js +0 -1
  165. package/build/index-62cac9a6.js +0 -1
  166. package/build/index-702d2f27.js +0 -1
  167. package/build/index-727332bb.js +0 -73
  168. package/build/index-8fddd03f.js +0 -1
  169. package/build/index-980141e9.js +0 -1
  170. package/build/index-fc40c9d0.js +0 -1
  171. package/build/index.styled-1f82603f.js +0 -45
  172. package/build/index.styled-da26abe1.js +0 -1249
  173. package/build/translationsProvider-d0f24f1c.js +0 -1
  174. /package/build/{BMI_BOYS.percentile.monthly-9061bffa.js → BMI_BOYS.percentile.monthly-ca59cc9e.js} +0 -0
  175. /package/build/{BMI_BOYS.percentile.weekly-6963805b.js → BMI_BOYS.percentile.weekly-6e51fa71.js} +0 -0
  176. /package/build/{BMI_BOYS.percentile.yearly-479e90a6.js → BMI_BOYS.percentile.yearly-d7ddc77b.js} +0 -0
  177. /package/build/{BMI_BOYS.zscore.monthly-1174fe4a.js → BMI_BOYS.zscore.monthly-4f4ad018.js} +0 -0
  178. /package/build/{BMI_BOYS.zscore.weekly-fca159e9.js → BMI_BOYS.zscore.weekly-efa375bd.js} +0 -0
  179. /package/build/{BMI_BOYS.zscore.yearly-c7cbffa6.js → BMI_BOYS.zscore.yearly-266157b9.js} +0 -0
  180. /package/build/{BMI_GIRLS.percentile.monthly-925f454e.js → BMI_GIRLS.percentile.monthly-43e6dcb4.js} +0 -0
  181. /package/build/{BMI_GIRLS.percentile.weekly-3ee3b6cb.js → BMI_GIRLS.percentile.weekly-fbeadf14.js} +0 -0
  182. /package/build/{BMI_GIRLS.percentile.yearly-a8a64247.js → BMI_GIRLS.percentile.yearly-13a2832b.js} +0 -0
  183. /package/build/{BMI_GIRLS.zscore.monthly-818e735c.js → BMI_GIRLS.zscore.monthly-104fc091.js} +0 -0
  184. /package/build/{BMI_GIRLS.zscore.weekly-f69dc139.js → BMI_GIRLS.zscore.weekly-812be06f.js} +0 -0
  185. /package/build/{BMI_GIRLS.zscore.yearly-01c99405.js → BMI_GIRLS.zscore.yearly-59d8d3bc.js} +0 -0
  186. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c23614a4.js → HEAD CIRCUM_BOYS.percentile.monthly-27389c56.js} +0 -0
  187. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a84f9182.js → HEAD CIRCUM_BOYS.percentile.weekly-088a0d45.js} +0 -0
  188. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b1784f74.js → HEAD CIRCUM_BOYS.percentile.yearly-0f725427.js} +0 -0
  189. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6fa109d5.js → HEAD CIRCUM_BOYS.zscore.monthly-e51a245c.js} +0 -0
  190. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0f128294.js → HEAD CIRCUM_BOYS.zscore.weekly-01b69ade.js} +0 -0
  191. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b0ae2aa5.js → HEAD CIRCUM_BOYS.zscore.yearly-6cde612a.js} +0 -0
  192. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d8a849f5.js → HEAD CIRCUM_GIRLS.percentile.monthly-4cf9b6f5.js} +0 -0
  193. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e585c948.js → HEAD CIRCUM_GIRLS.percentile.weekly-ccf552c5.js} +0 -0
  194. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f312b25f.js → HEAD CIRCUM_GIRLS.percentile.yearly-cc0cae3d.js} +0 -0
  195. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a79f2c22.js → HEAD CIRCUM_GIRLS.zscore.monthly-446719e8.js} +0 -0
  196. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3905832d.js → HEAD CIRCUM_GIRLS.zscore.weekly-86c0b05c.js} +0 -0
  197. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-76817288.js → HEAD CIRCUM_GIRLS.zscore.yearly-148d9e87.js} +0 -0
  198. /package/build/{HEIGHT_BOYS.percentile.monthly-058b22b8.js → HEIGHT_BOYS.percentile.monthly-64494da0.js} +0 -0
  199. /package/build/{HEIGHT_BOYS.percentile.weekly-225abac0.js → HEIGHT_BOYS.percentile.weekly-5d9ff7e2.js} +0 -0
  200. /package/build/{HEIGHT_BOYS.percentile.yearly-c8f6fbc5.js → HEIGHT_BOYS.percentile.yearly-2e21c953.js} +0 -0
  201. /package/build/{HEIGHT_BOYS.zscore.monthly-f2d62779.js → HEIGHT_BOYS.zscore.monthly-0d8a4136.js} +0 -0
  202. /package/build/{HEIGHT_BOYS.zscore.weekly-2132aa31.js → HEIGHT_BOYS.zscore.weekly-9af99995.js} +0 -0
  203. /package/build/{HEIGHT_BOYS.zscore.yearly-7bd73d3a.js → HEIGHT_BOYS.zscore.yearly-055e86c2.js} +0 -0
  204. /package/build/{HEIGHT_GIRLS.percentile.monthly-524307c0.js → HEIGHT_GIRLS.percentile.monthly-eb5a63bf.js} +0 -0
  205. /package/build/{HEIGHT_GIRLS.percentile.weekly-f323e7e3.js → HEIGHT_GIRLS.percentile.weekly-234640e2.js} +0 -0
  206. /package/build/{HEIGHT_GIRLS.percentile.yearly-1f2f77ee.js → HEIGHT_GIRLS.percentile.yearly-a3ab3b30.js} +0 -0
  207. /package/build/{HEIGHT_GIRLS.zscore.monthly-a58cd90f.js → HEIGHT_GIRLS.zscore.monthly-d0a7a8f7.js} +0 -0
  208. /package/build/{HEIGHT_GIRLS.zscore.weekly-24d8a6ac.js → HEIGHT_GIRLS.zscore.weekly-a3f5428a.js} +0 -0
  209. /package/build/{HEIGHT_GIRLS.zscore.yearly-d233bce8.js → HEIGHT_GIRLS.zscore.yearly-e47165b3.js} +0 -0
  210. /package/build/{Vietnam-48e12311.js → Vietnam-c9f09288.js} +0 -0
  211. /package/build/{Visible-f3415620.js → Visible-ac5a90d6.js} +0 -0
  212. /package/build/{WEIGHT_BOYS.percentile.monthly-111c4d25.js → WEIGHT_BOYS.percentile.monthly-cd6b806d.js} +0 -0
  213. /package/build/{WEIGHT_BOYS.percentile.weekly-478bf0e4.js → WEIGHT_BOYS.percentile.weekly-dfb51552.js} +0 -0
  214. /package/build/{WEIGHT_BOYS.percentile.yearly-a35cc113.js → WEIGHT_BOYS.percentile.yearly-6fb33c9f.js} +0 -0
  215. /package/build/{WEIGHT_BOYS.zscore.monthly-33586e3f.js → WEIGHT_BOYS.zscore.monthly-3704b95b.js} +0 -0
  216. /package/build/{WEIGHT_BOYS.zscore.weekly-0299912e.js → WEIGHT_BOYS.zscore.weekly-2e0c210e.js} +0 -0
  217. /package/build/{WEIGHT_BOYS.zscore.yearly-0e683e93.js → WEIGHT_BOYS.zscore.yearly-3ea871b0.js} +0 -0
  218. /package/build/{WEIGHT_GIRLS.percentile.monthly-ab188feb.js → WEIGHT_GIRLS.percentile.monthly-10d37827.js} +0 -0
  219. /package/build/{WEIGHT_GIRLS.percentile.weekly-876c7d98.js → WEIGHT_GIRLS.percentile.weekly-11e03996.js} +0 -0
  220. /package/build/{WEIGHT_GIRLS.percentile.yearly-49975396.js → WEIGHT_GIRLS.percentile.yearly-448b68b7.js} +0 -0
  221. /package/build/{WEIGHT_GIRLS.zscore.monthly-1370faec.js → WEIGHT_GIRLS.zscore.monthly-83688f68.js} +0 -0
  222. /package/build/{WEIGHT_GIRLS.zscore.weekly-01f8c266.js → WEIGHT_GIRLS.zscore.weekly-db9729f2.js} +0 -0
  223. /package/build/{WEIGHT_GIRLS.zscore.yearly-f65a2231.js → WEIGHT_GIRLS.zscore.yearly-df1ff286.js} +0 -0
  224. /package/build/{constants-81475620.js → constants-da8a6d09.js} +0 -0
  225. /package/build/{cookieHelper-c871b460.js → cookieHelper-9994022c.js} +0 -0
  226. /package/build/{dataTransform-68517294.js → dataTransform-9d8bb60e.js} +0 -0
  227. /package/build/esm/{BMI_BOYS.percentile.monthly-4223c4eb.js → BMI_BOYS.percentile.monthly-6ca5d6d3.js} +0 -0
  228. /package/build/esm/{BMI_BOYS.percentile.weekly-c9f3efaa.js → BMI_BOYS.percentile.weekly-9bd9c620.js} +0 -0
  229. /package/build/esm/{BMI_BOYS.percentile.yearly-f0b4b014.js → BMI_BOYS.percentile.yearly-3ff0b00c.js} +0 -0
  230. /package/build/esm/{BMI_BOYS.zscore.monthly-e16193f5.js → BMI_BOYS.zscore.monthly-2bb7455d.js} +0 -0
  231. /package/build/esm/{BMI_BOYS.zscore.weekly-d2b2b292.js → BMI_BOYS.zscore.weekly-45189824.js} +0 -0
  232. /package/build/esm/{BMI_BOYS.zscore.yearly-817ec82e.js → BMI_BOYS.zscore.yearly-ff21d231.js} +0 -0
  233. /package/build/esm/{BMI_GIRLS.percentile.monthly-494bc828.js → BMI_GIRLS.percentile.monthly-71cc4d68.js} +0 -0
  234. /package/build/esm/{BMI_GIRLS.percentile.weekly-042426ae.js → BMI_GIRLS.percentile.weekly-bd68c3ed.js} +0 -0
  235. /package/build/esm/{BMI_GIRLS.percentile.yearly-247c7391.js → BMI_GIRLS.percentile.yearly-169a05d0.js} +0 -0
  236. /package/build/esm/{BMI_GIRLS.zscore.monthly-371459b5.js → BMI_GIRLS.zscore.monthly-69c1cc83.js} +0 -0
  237. /package/build/esm/{BMI_GIRLS.zscore.weekly-ecf23bd6.js → BMI_GIRLS.zscore.weekly-590bbb4a.js} +0 -0
  238. /package/build/esm/{BMI_GIRLS.zscore.yearly-8020be10.js → BMI_GIRLS.zscore.yearly-021ce99b.js} +0 -0
  239. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-854959a5.js → HEAD CIRCUM_BOYS.percentile.monthly-9eca309c.js} +0 -0
  240. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c39075dc.js → HEAD CIRCUM_BOYS.percentile.weekly-42c8011d.js} +0 -0
  241. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e387af13.js → HEAD CIRCUM_BOYS.percentile.yearly-d5a455c6.js} +0 -0
  242. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b7a84ef5.js → HEAD CIRCUM_BOYS.zscore.monthly-3837c283.js} +0 -0
  243. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b9a6fd79.js → HEAD CIRCUM_BOYS.zscore.weekly-b9e7731a.js} +0 -0
  244. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-28d7fb71.js → HEAD CIRCUM_BOYS.zscore.yearly-d9de6d2f.js} +0 -0
  245. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cebb3bd4.js → HEAD CIRCUM_GIRLS.percentile.monthly-0f38856d.js} +0 -0
  246. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e30f8aee.js → HEAD CIRCUM_GIRLS.percentile.weekly-a3bf6f20.js} +0 -0
  247. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a517c188.js → HEAD CIRCUM_GIRLS.percentile.yearly-29949671.js} +0 -0
  248. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6ec149f3.js → HEAD CIRCUM_GIRLS.zscore.monthly-b379afd3.js} +0 -0
  249. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e7a5b23f.js → HEAD CIRCUM_GIRLS.zscore.weekly-d3c054fa.js} +0 -0
  250. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-2935ab55.js → HEAD CIRCUM_GIRLS.zscore.yearly-73c06c0d.js} +0 -0
  251. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f69e7c07.js → HEIGHT_BOYS.percentile.monthly-c761ce9a.js} +0 -0
  252. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9a4b487d.js → HEIGHT_BOYS.percentile.weekly-5cb2f674.js} +0 -0
  253. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-cb58cecc.js → HEIGHT_BOYS.percentile.yearly-d20f874d.js} +0 -0
  254. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5f7e0a28.js → HEIGHT_BOYS.zscore.monthly-9ee96444.js} +0 -0
  255. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3c7bd88b.js → HEIGHT_BOYS.zscore.weekly-b162b4fd.js} +0 -0
  256. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-66c2098e.js → HEIGHT_BOYS.zscore.yearly-c1279cbb.js} +0 -0
  257. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-484e0602.js → HEIGHT_GIRLS.percentile.monthly-50816747.js} +0 -0
  258. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3c492d07.js → HEIGHT_GIRLS.percentile.weekly-5ded9fbc.js} +0 -0
  259. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8ce15a6f.js → HEIGHT_GIRLS.percentile.yearly-543e89aa.js} +0 -0
  260. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-204b1e6d.js → HEIGHT_GIRLS.zscore.monthly-8250426a.js} +0 -0
  261. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ccb615d2.js → HEIGHT_GIRLS.zscore.weekly-56d59427.js} +0 -0
  262. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9479f3c0.js → HEIGHT_GIRLS.zscore.yearly-f8c8a880.js} +0 -0
  263. /package/build/esm/{Vietnam-dc72e656.js → Vietnam-165b570d.js} +0 -0
  264. /package/build/esm/{Visible-18cf87ba.js → Visible-e95764b9.js} +0 -0
  265. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8dd91b1d.js → WEIGHT_BOYS.percentile.monthly-b96eb9b0.js} +0 -0
  266. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3a959642.js → WEIGHT_BOYS.percentile.weekly-e12ea91f.js} +0 -0
  267. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-cc8eb0ef.js → WEIGHT_BOYS.percentile.yearly-f33fa593.js} +0 -0
  268. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2e131dd1.js → WEIGHT_BOYS.zscore.monthly-397c49ac.js} +0 -0
  269. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cabcd1af.js → WEIGHT_BOYS.zscore.weekly-849beb60.js} +0 -0
  270. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f1f7e94e.js → WEIGHT_BOYS.zscore.yearly-91658521.js} +0 -0
  271. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4de3f67c.js → WEIGHT_GIRLS.percentile.monthly-277e613c.js} +0 -0
  272. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2ed25b2a.js → WEIGHT_GIRLS.percentile.weekly-8f4b8097.js} +0 -0
  273. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f0f76a88.js → WEIGHT_GIRLS.percentile.yearly-f8748b10.js} +0 -0
  274. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b841255d.js → WEIGHT_GIRLS.zscore.monthly-71973a14.js} +0 -0
  275. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d6eb177b.js → WEIGHT_GIRLS.zscore.weekly-56b65157.js} +0 -0
  276. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-58a53745.js → WEIGHT_GIRLS.zscore.yearly-199badfd.js} +0 -0
  277. /package/build/esm/{constants-fb47e65c.js → constants-f6b43fba.js} +0 -0
  278. /package/build/esm/{cookieHelper-b88c2be8.js → cookieHelper-7da51ac0.js} +0 -0
  279. /package/build/esm/{dataTransform-75f1271b.js → dataTransform-48af5b49.js} +0 -0
  280. /package/build/esm/{index-77a5c7ce.js → index-c01daef4.js} +0 -0
  281. /package/build/esm/{isProduction-e00482ad.js → isProduction-89cc7103.js} +0 -0
  282. /package/build/esm/{localizeNumberFormat-65181040.js → localizeNumberFormat-d8bb5d28.js} +0 -0
  283. /package/build/esm/{normalizeLink-1d2dc701.js → normalizeLink-cfcb9686.js} +0 -0
  284. /package/build/esm/{theme-6dca57c7.js → theme-ef20ab19.js} +0 -0
  285. /package/build/esm/{tslib.es6-f1b9d31e.js → tslib.es6-c6630b6b.js} +0 -0
  286. /package/build/esm/{useIsInit-e900b10b.js → useIsInit-cdf782a2.js} +0 -0
  287. /package/build/esm/{useOutsideClick-305b5046.js → useOutsideClick-2fb9ed32.js} +0 -0
  288. /package/build/esm/{useScrollbarSize-057c4f10.js → useScrollbarSize-1b5268ef.js} +0 -0
  289. /package/build/esm/{useUniqueId-679a497e.js → useUniqueId-dcd06237.js} +0 -0
  290. /package/build/esm/{utils-049d75fa.js → utils-401f4bfa.js} +0 -0
  291. /package/build/{index-444eee4a.js → index-3029d2ac.js} +0 -0
  292. /package/build/{isProduction-2a4d042f.js → isProduction-1b43f978.js} +0 -0
  293. /package/build/{localizeNumberFormat-3d8dd0e3.js → localizeNumberFormat-e972aa4e.js} +0 -0
  294. /package/build/{normalizeLink-f5ed8bd7.js → normalizeLink-dff23d97.js} +0 -0
  295. /package/build/{theme-c812af69.js → theme-553c5d9a.js} +0 -0
  296. /package/build/{tslib.es6-09b9cf36.js → tslib.es6-970e0d55.js} +0 -0
  297. /package/build/{useIsInit-b290676c.js → useIsInit-f660ceb4.js} +0 -0
  298. /package/build/{useOutsideClick-e4b4783f.js → useOutsideClick-9fbc9f37.js} +0 -0
  299. /package/build/{useScrollbarSize-220a2ce3.js → useScrollbarSize-095283aa.js} +0 -0
  300. /package/build/{useUniqueId-f2e50bd6.js → useUniqueId-7ab38a7b.js} +0 -0
  301. /package/build/{utils-daf19904.js → utils-20107015.js} +0 -0
@@ -1 +1 @@
1
- import e from"react";import{as as i,at as o}from"./index.styled-981e6c04.js";const t=({type:t="lead",closeIcon:l,isOpen:n=!0,onClose:a,children:r,className:d="",enableAnimation:s=!0})=>e.createElement(e.Fragment,null,e.createElement(i,{"data-open":n,"data-type":t,"data-animation":s},e.createElement("div",{className:`${d||""} popup-content`},!!l&&e.createElement("div",{className:"close-button",onClick:a},l),r)),e.createElement(o,{"data-open":n,onClick:a})),l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},a=e=>{var i,o,t,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:r(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:r(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:r(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:r(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:u(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(u),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},r=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},s=e=>({postTitle:e.post_title,permalink:e.permalink}),u=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>u(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?s(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,w,h,b,k,I,C,S,T,x,A,B,P,D,q,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:a,formatUserProfile:r,formatBMIResult:e=>{var i,o,t,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:d,formatReviewedCategory:s,formatCategory:u,formatCategoryApi:e=>e?{categoryInfo:u(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(a),subCategories:(e.data.sub_categories||[]).map(u)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});export{t as P,y as a,c as b,g as c,h as d,p as e,w as f,f as g,a as h,u as i};
1
+ import e from"react";import{as as i,at as o}from"./index.styled-21b83974.js";const t=({type:t="lead",closeIcon:l,isOpen:n=!0,onClose:a,children:r,className:d="",enableAnimation:s=!0})=>e.createElement(e.Fragment,null,e.createElement(i,{"data-open":n,"data-type":t,"data-animation":s},e.createElement("div",{className:`${d||""} popup-content`},!!l&&e.createElement("div",{className:"close-button",onClick:a},l),r)),e.createElement(o,{"data-open":n,onClick:a})),l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},a=e=>{var i,o,t,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:r(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:r(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:r(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:r(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:u(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(u),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},r=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},s=e=>({postTitle:e.post_title,permalink:e.permalink}),u=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>u(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?s(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,w,h,b,k,I,C,S,T,x,A,B,P,D,q,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:a,formatUserProfile:r,formatBMIResult:e=>{var i,o,t,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:d,formatReviewedCategory:s,formatCategory:u,formatCategoryApi:e=>e?{categoryInfo:u(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(a),subCategories:(e.data.sub_categories||[]).map(u)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});export{t as P,y as a,c as b,g as c,h as d,p as e,w as f,f as g,a as h,u as i};
@@ -1 +1 @@
1
- import e from"react";import{B as t}from"./index-10233643.js";import{C as a}from"./index-e1e88ca8.js";import{T as l}from"./index-6b049c9f.js";import{d as n}from"./index-c9290e7f.js";import{t as o}from"./theme-6dca57c7.js";import{u as i}from"./useTranslations-86f7e107.js";import{L as r}from"./index-65b95e24.js";import{M as c}from"./index-c2de5d7b.js";import"./tslib.es6-f1b9d31e.js";import"./utils-049d75fa.js";import"styled-components";import"./gAssets.js";import"./isProduction-e00482ad.js";import"./Locale-2a1e1450.js";import"./translationsContext-d4d12e4a.js";import"string-format";import"./index.styled-c3d5eff6.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,N,b,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:J}=i(),K=null==m?void 0:m.menu,O=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.title),e.createElement("div",{className:"icons"},null===(f=null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=K[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=K[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=K[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=K[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=K[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{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")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",b="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
1
+ import e from"react";import{B as t}from"./index-add5a812.js";import{C as a}from"./index-5cd7d80c.js";import{T as l}from"./index-c0e5a532.js";import{d as n}from"./index-285eb8ae.js";import{t as o}from"./theme-ef20ab19.js";import{u as i}from"./useTranslations-13f8b391.js";import{L as r}from"./index-9ded4228.js";import{M as c}from"./index-b6f468f8.js";import"./tslib.es6-c6630b6b.js";import"./utils-401f4bfa.js";import"styled-components";import"./gAssets.js";import"./isProduction-89cc7103.js";import"./Onboarding-6fd5031f.js";import"./translationsContext-7392d1d3.js";import"string-format";import"./index.styled-e70922b1.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,b,N,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:O}=i(),J=null==m?void 0:m.menu,K=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(f=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,J&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=J[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=J[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=J[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=J[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=J[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{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")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",b="_8eUT8Jr",N="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
@@ -1 +1 @@
1
- import{d as e}from"./index-c9290e7f.js";import{i as s}from"./isProduction-e00482ad.js";import"./Locale-2a1e1450.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,e].join("/");return s||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,o=s.split("."),i=e[Object.keys(e).find((t=>s.includes(e[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
1
+ import{d as s}from"./index-285eb8ae.js";import{i as e}from"./isProduction-89cc7103.js";import"./Onboarding-6fd5031f.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||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:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
@@ -0,0 +1 @@
1
+ import{a as t}from"./tslib.es6-c6630b6b.js";import{g as i}from"./core-6fe4e8ce.js";import{n as o}from"./normalizeLink-cfcb9686.js";import{c as l}from"./routing-b133a308.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const s="tl-PH"===i?"lang=fil":"";let a=[];try{const d=yield r(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${s?"&"+s:""}`)).then((t=>t.json()));a=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return a}catch(t){console.error(t)}})),r=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{r as a,e as f,n as g};
@@ -0,0 +1 @@
1
+ import e from"react";import{L as t}from"./Onboarding-6fd5031f.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.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=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.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=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.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)"}),e.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"}),e.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"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.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=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
@@ -1 +1 @@
1
- export{u as useTranslations}from"./useTranslations-86f7e107.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-057c4f10.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-1e0d71f3.js";export{u as useHealthToolsCache}from"./useHealthToolCache-3488ead9.js";export{u as useIsInit}from"./useIsInit-e900b10b.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-305b5046.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-679a497e.js";import"react";import"./translationsContext-d4d12e4a.js";import"string-format";import"lodash/debounce";import"./tslib.es6-f1b9d31e.js";import"./cookieHelper-b88c2be8.js";import"./getDynamicHealthTool-0aab98fc.js";import"./core-01abe7a1.js";import"./isProduction-e00482ad.js";import"./normalizeLink-1d2dc701.js";import"./routing-6d3d5706.js";import"./index-c9290e7f.js";import"./Locale-2a1e1450.js";
1
+ export{u as useTranslations}from"./useTranslations-13f8b391.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-1b5268ef.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-4733fa2b.js";export{u as useHealthToolsCache}from"./useHealthToolCache-aa72d73b.js";export{u as useIsInit}from"./useIsInit-cdf782a2.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-2fb9ed32.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-dcd06237.js";import"react";import"./translationsContext-7392d1d3.js";import"string-format";import"lodash/debounce";import"./tslib.es6-c6630b6b.js";import"./cookieHelper-7da51ac0.js";import"./getDynamicHealthTool-df16d55b.js";import"./core-6fe4e8ce.js";import"./isProduction-89cc7103.js";import"./normalizeLink-cfcb9686.js";import"./routing-b133a308.js";import"./index-285eb8ae.js";import"./Onboarding-6fd5031f.js";
package/build/esm/i18n.js CHANGED
@@ -1 +1 @@
1
- export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-8152b937.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-d4d12e4a.js";import"react";
1
+ export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-6d701407.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-7392d1d3.js";import"react";
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-f1b9d31e.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const a=c.Slide,s=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:a,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,g=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[b,S]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,s=n+d,x=s===i?0:s>i?s-i:s,v=n-d,g=v<0?i+v:v>0?n-d:0,b=Array(2*d+1).fill("").map(((e,l)=>u(g+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(g+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},w={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[S]),l.createElement(s.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:b,slideSize:"auto",containScroll:"trimSnaps"},w,g,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d}=r,u=e(r,["children","onClick"]);const{slider:p,selectSlideWhenClick:h}=n(s),m=t(),x=t(""),[v,g]=i(0);o((()=>{x.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===x.current)))}),[p]);const b={ref:m,"data-key":x.current,"data-index":v,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(a,Object.assign({},b,u),l.createElement("div",{onClick:()=>{h&&(null==p||p.scrollTo(v)),null==d||d(v)}},c))};export{p as C};
1
+ import{_ as e}from"./tslib.es6-c6630b6b.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const a=c.Slide,s=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:a,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,b=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[g,S]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,s=n+d,x=s===i?0:s>i?s-i:s,v=n-d,b=v<0?i+v:v>0?n-d:0,g=Array(2*d+1).fill("").map(((e,l)=>u(b+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==g.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(b+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},w={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[S]),l.createElement(s.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:g,slideSize:"auto",containScroll:"trimSnaps"},w,b,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d}=r,u=e(r,["children","onClick"]);const{slider:p,selectSlideWhenClick:h}=n(s),m=t(),x=t(""),[v,b]=i(0);o((()=>{x.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==p?void 0:p.slideNodes())||[];b(e.findIndex((e=>e.dataset.key===x.current)))}),[p]);const g={ref:m,"data-key":x.current,"data-index":v,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(a,Object.assign({},g,u),l.createElement("div",{onClick:()=>{h&&(null==p||p.scrollTo(v)),null==d||d(v)}},c))};export{p as C};
@@ -0,0 +1 @@
1
+ import{_ as t}from"./tslib.es6-c6630b6b.js";import a from"react";var e="xzO2I0N";const n=n=>{var{as:o,tag:s,className:c,children:i,title:l,color:r,style:d,fontWeight:g,dataEventCategory:v,dataEventAction:b,dataEventLabel:m}=n,E=t(n,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const h=o||s;return a.createElement(h,Object.assign({title:l,style:Object.assign(Object.assign({},r?{"--custom-heading-color":r}:void 0),d),"data-tag":s,"data-font-weight":g||void 0,"data-event-category":v,"data-event-action":b,"data-event-label":m,className:`${e} ${c||""}`},E),i)};export{n as H};
@@ -0,0 +1 @@
1
+ import{L as o}from"./Onboarding-6fd5031f.js";import{i as e}from"./isProduction-89cc7103.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:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",a={"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"},t={"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",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],h=["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 r;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(r||(r={}));const O={[o.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:a,LOCALE_SPECS:t,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return r},ISO_FORMAT:O,siteHost:l,siteOptions:i,isProduction:e});export{I as C,T as F,O as I,t as L,r as Q,s as S,c as T,E as U,h as a,n as b,l as c,a as d,p as i,i as s};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-f1b9d31e.js";import a,{useMemo as t}from"react";import{S as s,L as n,a as o,b as l,c as i}from"./index.styled-839052ac.js";const r=r=>{var{name:c,value:m,errorMessage:d,isNumerousKeyboard:u=!1,showErrorMessage:p=!0,actionIcon:b,displayIcon:y,onActionClick:v,label:g,className:C,onChange:E,isDisabled:N,CustomInput:h,size:I,style:f,autoComplete:k="off",type:A="text",inputClassName:K,trackingAttributes:M,enterKeyHint:z}=r,L=e(r,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const j=t((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return a.createElement(s,{"data-size":I,className:C,"data-has-action-icon":!!b||void 0,"data-has-display-icon":!!y||void 0,"data-has-error":d&&d.length>0||void 0,style:f},g&&a.createElement(n,{size:"label2",htmlFor:c,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},h||a.createElement("input",Object.assign({id:c,name:c,onChange:e=>E&&E(e.target.value),type:A,"aria-label":A,value:m,disabled:N,autoComplete:k,inputMode:u||"number"===A?"numeric":A,pattern:u?"[0-9]*":".*",className:K,enterKeyHint:z},j,L)),y&&a.createElement(o,{className:"displayIcon"},y),b&&a.createElement(l,{className:"actionIcon",onClick:v},b)),d&&d.length>0&&p&&a.createElement(i,{className:"errorLabel"},d))};export{r as I};
1
+ import{_ as e}from"./tslib.es6-c6630b6b.js";import a,{useMemo as t}from"react";import{S as s,L as n,a as o,b as l,c as i}from"./index.styled-e11efdb1.js";const r=r=>{var{name:c,value:m,errorMessage:d,isNumerousKeyboard:u=!1,showErrorMessage:p=!0,actionIcon:b,displayIcon:y,onActionClick:v,label:g,className:C,onChange:E,isDisabled:N,CustomInput:h,size:I,style:f,autoComplete:k="off",type:A="text",inputClassName:K,trackingAttributes:M,enterKeyHint:z}=r,L=e(r,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const j=t((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return a.createElement(s,{"data-size":I,className:C,"data-has-action-icon":!!b||void 0,"data-has-display-icon":!!y||void 0,"data-has-error":d&&d.length>0||void 0,style:f},g&&a.createElement(n,{size:"label2",htmlFor:c,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},h||a.createElement("input",Object.assign({id:c,name:c,onChange:e=>E&&E(e.target.value),type:A,"aria-label":A,value:m,disabled:N,autoComplete:k,inputMode:u||"number"===A?"numeric":A,pattern:u?"[0-9]*":".*",className:K,enterKeyHint:z},j,L)),y&&a.createElement(o,{className:"displayIcon"},y),b&&a.createElement(l,{className:"actionIcon",onClick:v},b)),d&&d.length>0&&p&&a.createElement(i,{className:"errorLabel"},d))};export{r as I};
@@ -0,0 +1 @@
1
+ import{G as r,B as t,a as e,b as a,L as n,O as o}from"./Onboarding-6fd5031f.js";var s=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return t},get BabyGrowthChartDuration(){return e},get BabyGrowthResultTab(){return a},get LOCALE(){return n},get OnboardingStep(){return o}});export{s as i};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-f1b9d31e.js";import t from"react";import{CommonGAssets as s}from"./gAssets.js";import{S as l}from"./index.styled-243d7f64.js";const r=r=>{var{title:o}=r,n=e(r,["title"]);return t.createElement(t.Fragment,null,t.createElement(l,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},n,{withCloseButton:!1,title:n.withCloseButton&&t.createElement(t.Fragment,null,o,t.createElement("img",{className:"mantine-Modal-close",src:s.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};export{r as M};
1
+ import{_ as e}from"./tslib.es6-c6630b6b.js";import t from"react";import{CommonGAssets as s}from"./gAssets.js";import{S as l}from"./index.styled-de60f2a9.js";const r=r=>{var{title:o}=r,n=e(r,["title"]);return t.createElement(t.Fragment,null,t.createElement(l,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},n,{withCloseButton:!1,title:n.withCloseButton&&t.createElement(t.Fragment,null,o,t.createElement("img",{className:"mantine-Modal-close",src:s.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};export{r as M};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-c6630b6b.js";import l from"react";import{L as a}from"./Onboarding-6fd5031f.js";import{S as r,a as n,b as t}from"./index.styled-4cfb3fa1.js";const o=o=>{var{data:s,isMobile:i,onSlideChange:m,pillProps:c,locale:b=a.Vietnam,blurFromIndex:d,blurLength:p}=o,g=e(o,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const f={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:d||(i?2:4),blurLength:p||(i?1:3),onSlideChange:m};return l.createElement(r,Object.assign({},f,g),(e=>s.map(((a,r)=>l.createElement(n,Object.assign({key:r,onClick:m},c),l.createElement("div",{className:"centerred-pill-wrapper"},l.createElement(t,{locale:b,name:a.name,icon:a.icon,className:r===e?"selected-week-pill":""})))))))};export{o as P};
@@ -1,4 +1,4 @@
1
- import{M as t}from"./utils-049d75fa.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Locale-2a1e1450.js";const r=e.div`
1
+ import{M as t}from"./utils-401f4bfa.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-6fd5031f.js";const r=e.div`
2
2
  position: relative;
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -0,0 +1,75 @@
1
+ import e,{Component as t,useState as n,useEffect as a,forwardRef as r,useRef as i,useCallback as o,useImperativeHandle as s}from"react";import{Image as l,Text as c,Textarea as p,Accordion as d,Indicator as u,Avatar as g,Checkbox as m,Radio as h,useMantineTheme as f,Flex as b}from"@mantine/core";import{CommonGAssets as y}from"./gAssets.js";import{DatePicker as v,DateRangePicker as j}from"@mantine/dates";import x,{css as C}from"styled-components";import{_ as S,a as z}from"./tslib.es6-c6630b6b.js";import E from"dayjs";import"./screenSizeContext-e145dc42.js";import{t as w}from"./theme-ef20ab19.js";import{s as k}from"./index-285eb8ae.js";import{M as O}from"./utils-401f4bfa.js";import"./isProduction-89cc7103.js";import{L as P}from"./Onboarding-6fd5031f.js";import{Carousel as A}from"@mantine/carousel";import{c as I}from"./index-610819d0.js";import{P as D,a as H,I as $,b as N,c as T,M,d as R,T as W,V,C as B}from"./Vietnam-165b570d.js";const L=x(v)`
2
+ position: relative;
3
+ ${e=>e.fullWidth&&C`
4
+ .mantine-DatePicker-dropdown {
5
+ min-width: 100%;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ }
10
+ `}
11
+ `,G=x(j)`
12
+ position: relative;
13
+ ${e=>e.fullWidth&&C`
14
+ .mantine-DateRangePicker-dropdown {
15
+ min-width: 100%;
16
+ display: flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ }
20
+ `}
21
+ `,F=t=>e.createElement(L,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:e.createElement(l,{src:y.getAssetPath(t.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16})},t,{className:`input-control ${(null==t?void 0:t.className)||""}`}));F.Range=t=>e.createElement(G,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:e.createElement(l,{src:y.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},t));const U=Object.assign({},{fontSize:{base:[16,16],lg:[18,16],md:[18,16],sm:[16,14],xs:[14,12],s1:[22,18],s2:[18,16],s3:[16,14],s4:[14,12],s5:[12,12],p1:[18,16],p2:[16,16],p3:[16,14],p4:[14,12],c1:[16,14],c2:[14,12],n1:[12,12],label1:[14,14],label2:[12,12]},lineHeight:{base:[24,24],lg:[32,28],md:[32,28],sm:[24,22],xs:[24,18],s1:[32,26],s2:[28,24],s3:[24,24],s4:[22,18],s5:[18,18],p1:[32,28],p2:[24,24],p3:[24,22],p4:[22,18],c1:[24,22],c2:[22,18],n1:[18,18],label1:[22,22],label2:[18,18]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}}),Y=x(c)`
22
+ font-weight: ${e=>U.fontWeight[e["data-weight"]]};
23
+ font-size: ${e=>U.fontSize[e["data-size"]][0]}px;
24
+ line-height: ${e=>U.lineHeight[e["data-size"]][0]}px;
25
+ letter-spacing: ${e=>{var t,n,a;return null!==(a=null===(n=null===(t=U.letterSpacing)||void 0===t?void 0:t[e["data-size"]])||void 0===n?void 0:n[0])&&void 0!==a?a:0}}px;
26
+
27
+ ${O.mbDown} {
28
+ font-size: ${e=>U.fontSize[e["data-size"]][1]}px;
29
+ line-height: ${e=>U.lineHeight[e["data-size"]][1]}px;
30
+ letter-spacing: ${e=>{var t,n,a;return null!==(a=null===(n=null===(t=U.letterSpacing)||void 0===t?void 0:t[e["data-size"]])||void 0===n?void 0:n[1])&&void 0!==a?a:0}}px;
31
+ }
32
+ `,K=t=>{var{size:n,color:a=w.colors.gray800,weight:r="regular",as:i="p"}=t,o=S(t,["size","color","weight","as"]);return e.createElement(Y,Object.assign({component:i,"data-weight":r,"data-size":n,color:a},o))},_=x(p)`
33
+ .mantine-Textarea-input {
34
+ padding: 12px 16px;
35
+ background: #ffffff;
36
+ border: 1px solid ${w.colors.gray200};
37
+ border-radius: 4px;
38
+ }
39
+ `,Q=x(d)`
40
+ .mantine-Accordion-control {
41
+ &:hover {
42
+ background-color: transparent;
43
+ }
44
+ }
45
+ .mantine-Accordion-item {
46
+ .mantine-Accordion-chevron {
47
+ > div {
48
+ background-repeat: no-repeat;
49
+ width: 16px;
50
+ height: 16px;
51
+ background-position: center;
52
+ background-image: url(${e=>e.closeChevron||y.getAssetPath("plus-icon.svg")});
53
+ }
54
+ }
55
+ &[data-active='true'] {
56
+ .mantine-Accordion-chevron {
57
+ > div {
58
+ background-image: url(${e=>e.openChevron||y.getAssetPath("minus-icon.svg")});
59
+ }
60
+ }
61
+ }
62
+ }
63
+ .mantine-Accordion-panel {
64
+ border-radius: ${e=>e.theme.borderRadius};
65
+ }
66
+ .mantine-Accordion-content {
67
+ white-space: pre-wrap;
68
+ }
69
+ `,q=t=>{var{children:n}=t,a=S(t,["children"]);return e.createElement(Q,Object.assign({chevron:e.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},a),n)};q.Control=d.Control,q.Item=d.Item,q.Panel=d.Panel;const J=y.getAssetPath("avatar.jpg"),X=t=>{var{withIndicator:n=!1,indicatorConfig:a=null,size:r=56,children:i,styles:o}=t,s=S(t,["withIndicator","indicatorConfig","size","children","styles"]);const l=()=>e.createElement(g,Object.assign({size:r,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps)}),i||e.createElement("img",{loading:"lazy",src:J,width:r}));return n?e.createElement(u,Object.assign({inline:!0,position:"bottom-end",offset:9},a,{styles:Object.assign({indicator:{backgroundColor:e.isValidElement(a.label)&&"transparent",zIndex:1}},o)}),l()):l()};class Z extends t{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||e.createElement(e.Fragment,null):this.props.children}}const ee=t=>{var{slidesToShow:n=1,children:a}=t,r=S(t,["slidesToShow","children"]);return(Array.isArray(a)?a.length:1)?e.createElement(Z,null,e.createElement(A,Object.assign({slideSize:String(Math.floor(1/n*100))+"%",containScroll:"trimSnaps"},r),a)):null};ee.Slide=A.Slide;const te=t=>e.createElement(m,Object.assign({},t));te.Group=m.Group;const ne=t=>{const n=f();return e.createElement(ne,Object.assign({size:"sm"},t,{styles:Object.assign(Object.assign({},t.styles),{icon:{color:t.color||n.primaryColor}})}))};ne.Group=h.Group;const ae={[P.Vietnam]:"vi",[P.Cambodia]:"km",[P.India]:"hi",[P.Indonesia]:"id",[P.Malaysia]:"ms",[P.Thailand]:"th",[P.Taiwan]:"zh-tw",[P.PhilippinesTagalog]:"tl-ph",[P.PhilippinesEnglish]:"en",[P.Myanmar]:"my"},re={[P.Vietnam]:()=>import("dayjs/locale/vi.js"),[P.Cambodia]:()=>import("dayjs/locale/km.js"),[P.India]:()=>import("dayjs/locale/hi.js"),[P.Indonesia]:()=>import("dayjs/locale/id.js"),[P.Malaysia]:()=>import("dayjs/locale/ms.js"),[P.Thailand]:()=>import("dayjs/locale/th.js"),[P.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[P.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[P.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[P.Myanmar]:()=>import("dayjs/locale/my.js")},ie=e=>{const[t,r]=n(!1);return a((()=>{z(void 0,void 0,void 0,(function*(){var t;r(!1),yield null===(t=re[e])||void 0===t?void 0:t.call(re),E.locale(ae[e]),r(!0)}))}),[e]),{isLoaded:t}},oe="100ms",se={"&:hover":{border:`1px solid ${w.colors.primaryBase}`}},le=[{size:40,lineHeight:"52px",letterSpacing:"-1.2px"},{size:32,lineHeight:"42px",letterSpacing:"-1px"},{size:26,lineHeight:"36px",letterSpacing:"-0.8px"},{size:22,lineHeight:"32px",letterSpacing:"-0.6px"},{size:18,lineHeight:"28px",letterSpacing:"-0.2px"},{size:16,lineHeight:"24px",letterSpacing:0}],ce=[{size:26,lineHeight:"534px",letterSpacing:"-0.9px"},{size:24,lineHeight:"32px",letterSpacing:"-0.8px"},{size:20,lineHeight:"26px",letterSpacing:"-0.7px"},{size:18,lineHeight:"26px",letterSpacing:"-0.6px"},{size:16,lineHeight:"24px",letterSpacing:"-0.2px"},{size:14,lineHeight:"22px",letterSpacing:"-0.2px"}],pe=(e=!1)=>Object.fromEntries((e?ce:le).map(((e,t)=>[`&:is(h${t+1})`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),de={Title:{styles:{root:Object.assign(Object.assign({fontWeight:U.fontWeight.bold},pe()),{[`&${O.mbDown}`]:Object.assign({},pe(!0))})}}},ue={Radio:{styles:{radio:Object.assign(Object.assign({backgroundColor:"#ffffff"},se),{"&:checked":{backgroundColor:"#ffffff"}})}}};
70
+ /*!
71
+ Copyright (c) 2018 Jed Watson.
72
+ Licensed under the MIT License (MIT), see
73
+ http://jedwatson.github.io/classnames
74
+ */
75
+ var ge=I((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)t.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));function me(e,t=6){const n=new Array(t).fill("");if(e){const t=e.toString().split("");n.map(((e,a)=>{t[a]&&(n[a]=t[a]||"")}))}return n}function he(e){return e.join("")}var fe="_2iQs0sk",be="Ia6IojY";const ye=r(((t,n)=>{const{maxLength:a=1,placeholder:r,className:i}=t,o=S(t,["maxLength","placeholder","className"]);return e.createElement("input",Object.assign({maxLength:a,className:ge(be,"otpInput",i),placeholder:r,type:"number"},o,{ref:n}))})),ve=r(((t,r)=>{const{valueLength:l=6,type:c="number",value:p,defaultValue:d,onChange:u,onBlur:g}=t,m=i(new Array(l).fill(null)),[h,f]=n(d||p),[y,v]=n(-1),[j,x]=n((()=>me(h,l))),C=o((()=>{if(-1===y)return;const e=m.current[y];if(e){e.value="";const t=j;t[y]="",x(t),f((()=>he(t))),null==u||u(he(t))}}),[y,u,j]),S=o((()=>{if(0===y)return;const e=m.current[y];e&&e.blur();const t=m.current[y-1];t&&t.focus()}),[y]),z=o((()=>{if(y===l-1)return;const e=m.current[y];e&&e.blur();const t=m.current[y+1];t&&t.focus()}),[y,l]),E=o((e=>{const t=e.target,n=t.value.toString().slice(0,1),a=m.current.findIndex((e=>e===t));if(-1!==a){const e=j;e[a]=n,x(e),f((()=>he(e))),null==u||u(he(e))}z()}),[z,u,j]),w=o((e=>{const t=e.target,n=m.current.findIndex((e=>e===t));"number"===c?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==n&&v(n)}),[]),k=o((e=>{const t=me(e.clipboardData.getData("text/plain"),l),n=he(t);x(t),f(n),null==u||u(n)}),[u,c,l]),O=o((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),S()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),S()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),z()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,z,S]);return s(r,(()=>m.current[0]),[]),a((()=>{x((()=>me(p,l))),f(p)}),[l,p]),e.createElement(b,{justify:"center",columnGap:8,className:ge(fe,"otpContainer")},j.map(((t,n)=>e.createElement(ye,{ref:e=>{m.current[n]=e},key:""+n,value:t,type:c,onChange:E,onFocus:w,onKeyDown:O,onPaste:k,onBlur:g}))))})),je=Object.values(k).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),xe={PH:D,KH:H,ID:$,IN:N,MM:T,MY:M,TH:R,TW:W,VN:V};var Ce={phoneInput:"i-9Ibox",error:"YDWHh9b"};const Se=r(((t,r)=>{const{isError:i,defaultCountry:o,countries:s=je,countryCallingCodeEditable:l=!1,defaultValue:c,value:p,onChange:d,className:u}=t,g=S(t,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[m,h]=n(c||p),[f,b]=n(null);return a((()=>{h(p)}),[p]),a((()=>{z(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");b(e)}))}),[]),f?e.createElement(f.default,Object.assign({ref:r,value:m,onChange:e=>{h(e),null==d||d(e)},countries:s,defaultCountry:o,countryCallingCodeEditable:l,className:ge(Ce.phoneInput,{isError:i,[Ce.error]:i},u),flagUrl:void 0,flagComponent:t=>{const{country:n,countryName:a,flagUrl:r}=t,i=S(t,["country","countryName","flagUrl"]),o=xe[n],s=n?`(+${f.getCountryCallingCode(n)})`:"";return o?e.createElement(e.Fragment,null,e.createElement(o,Object.assign({title:a},i)),e.createElement("span",{className:ge(Ce.callingCode,"PhoneInputCountryIconCallingCode")},s)):e.createElement(e.Fragment,null)},countrySelectProps:{arrowComponent:()=>e.createElement("div",{className:ge(Ce.arrowSelect,"PhoneInputArrowContainer")},e.createElement(B,null))}},g)):null}));export{oe as A,ee as C,F as D,ue as G,ae as M,ve as O,Se as P,ne as R,_ as S,K as T,se as a,de as b,q as c,X as d,te as e,U as f,ie as u};
@@ -1,4 +1,4 @@
1
- import{createEmotionCache as e,Slider as n,FileInput as t,NumberInput as o,PasswordInput as r,TextInput as a,Input as s}from"@mantine/core";import l from"styled-components";import{_ as i}from"./tslib.es6-f1b9d31e.js";import m,{useState as c,useEffect as d,forwardRef as u}from"react";import{useDebouncedValue as p}from"@mantine/hooks";import{CommonGAssets as g}from"./gAssets.js";var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(e){var n={exports:{}};return e(n,n.exports),n.exports}const f=300,v=e({key:"mantine",prepend:!1}),y=l(n)`
1
+ import{createEmotionCache as e,Slider as n,FileInput as t,NumberInput as o,PasswordInput as r,TextInput as a,Input as s}from"@mantine/core";import l from"styled-components";import{_ as i}from"./tslib.es6-c6630b6b.js";import m,{useState as c,useEffect as d,forwardRef as u}from"react";import{useDebouncedValue as p}from"@mantine/hooks";import{CommonGAssets as g}from"./gAssets.js";var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(e){var n={exports:{}};return e(n,n.exports),n.exports}const f=300,v=e({key:"mantine",prepend:!1}),y=l(n)`
2
2
  ${e=>{const n=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${n};\n }\n .mantine-Slider-thumb {\n border-color: ${n};\n color: ${n};\n }\n `}}
3
3
  [data-theme='marryBaby'] & {
4
4
  ${e=>{const n=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${n};\n }\n .mantine-Slider-thumb {\n border-color: ${n};\n color: ${n};\n }\n `}}
@@ -28,4 +28,4 @@ import{createEmotionCache as e,Slider as n,FileInput as t,NumberInput as o,Passw
28
28
  }
29
29
  }
30
30
  }
31
- `,$=e=>{var{value:n,onChange:t}=e,r=i(e,["value","onChange"]);const[a,s]=c(n),[l]=p(a,300);return d((()=>{null==t||t(l)}),[l]),d((()=>{s(n)}),[n]),m.createElement(o,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:s,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:a},r))},k=g.getAssetPath("EyeVisible.svg"),C=g.getAssetPath("EyeHidden.svg"),I=u(((e,n)=>{const{size:t="md",visibilityToggleIcon:o}=e,a=i(e,["size","visibilityToggleIcon"]),s=o||(({reveal:e,size:n})=>e?m.createElement("img",{src:k,width:n}):m.createElement("img",{src:C,width:n}));return m.createElement(r,Object.assign({ref:n,size:t,visibilityToggleIcon:s},a,{className:`input-control ${(null==a?void 0:a.className)||""}`}))})),x=u(((e,n)=>{var{value:t,onChange:o,onChangeRaw:r}=e,s=i(e,["value","onChange","onChangeRaw"]);const[l,u]=c(t||""),[g]=p(l,300);return d((()=>{null==o||o(g)}),[g]),d((()=>{u(t)}),[t]),m.createElement(a,Object.assign({ref:n,size:"md",onChange:e=>{null==r||r(e),u(e.currentTarget.value)},value:l},s,{className:`input-control ${(null==s?void 0:s.className)||""}`}))}));x.File=e=>m.createElement(t,Object.assign({size:"md"},e)),x.Password=I,x.Number=$,x.Wrapper=s.Wrapper;export{f as D,x as I,$ as N,I as P,w as S,b as a,y as b,h as c,v as e};
31
+ `,$=e=>{var{value:n,onChange:t}=e,r=i(e,["value","onChange"]);const[a,s]=c(n),[l]=p(a,300);return d((()=>{null==t||t(l)}),[l]),d((()=>{s(n)}),[n]),m.createElement(o,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:s,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:a},r))},k=g.getAssetPath("EyeVisible.svg"),C=g.getAssetPath("EyeHidden.svg"),I=u(((e,n)=>{const{size:t="md",visibilityToggleIcon:o}=e,a=i(e,["size","visibilityToggleIcon"]),s=o||(({reveal:e,size:n})=>e?m.createElement("img",{src:k,width:n}):m.createElement("img",{src:C,width:n}));return m.createElement(r,Object.assign({ref:n,size:t,visibilityToggleIcon:s},a,{className:`input-control ${(null==a?void 0:a.className)||""}`}))})),x=u(((e,n)=>{var{value:t,onChange:o,onChangeRaw:r}=e,s=i(e,["value","onChange","onChangeRaw"]);const[l,u]=c(t||""),[g]=p(l,300);return d((()=>{null==o||o(g)}),[g]),d((()=>{u(t)}),[t]),m.createElement(a,Object.assign({ref:n,size:"md",onChange:e=>{null==r||r(e),u(e.currentTarget.value)},value:l},s,{className:`input-control ${(null==s?void 0:s.className)||""}`}))}));x.File=e=>m.createElement(t,Object.assign({size:"md"},e)),x.Password=I,x.Number=$,x.Wrapper=s.Wrapper;export{f as D,x as I,$ as N,w as S,b as a,y as b,h as c,v as e};
@@ -1 +1 @@
1
- import e,{useState as a,useEffect as t}from"react";import{z as r}from"./index.styled-38864315.js";import{_ as s}from"./tslib.es6-f1b9d31e.js";import{u as o}from"./useTranslations-86f7e107.js";import{B as n}from"./index-10233643.js";import{T as l}from"./index-6b049c9f.js";import{bp as i,bq as d,br as c,bs as m}from"./index.styled-89252990.js";import{t as y}from"./theme-6dca57c7.js";const b=({type:a="solid",className:t,style:s})=>e.createElement(r,{style:s,className:t,"data-diver-type":a,dividerType:a});var v="U9NRDG6";const p={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},u=a=>{var{siteType:t,role:r,title:n}=a,l=s(a,["siteType","role","title"]);const{t:i}=o(),d=r?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(r):"";return d&&p[d]?e.createElement("div",Object.assign({className:v,"data-label-type":d,"data-is-marrybaby":"marryBaby"===t},l),n||i(p[d])):null};var E="Dudns9-";const f=({value:r,choices:s,onChange:o,isMarryBaby:l})=>{const[i,d]=a(r);return t((()=>{d(r)}),[r]),e.createElement("div",{className:E},s.map(((a,t)=>e.createElement(n,{size:"sm",color:a.value===i?"primary":"tertiary",key:t,onClick:()=>{d(a.value),null==o||o(a.value)},theme:l?"marryBaby":"helloSites"},a.label||""))))},h=({style:r,initialTab:s,tabContent:o,onChange:n,className:b,dataEventCategory:v,dataEventAction:p,dataEventLabel:u,id:E})=>{const[f,h]=a(s||0);return t((()=>{h(s)}),[s]),e.createElement(i,{style:r,className:b,role:"tablist",id:E},o.map(((a,t)=>e.createElement(d,{"data-is-tab-active":f===t||void 0,"aria-selected":f===t,role:"tab",onClick:()=>{h(t),n&&n(t)},onKeyDown:e=>{"Enter"===e.key&&(h(t),n&&n(t))},key:t,"data-event-category":a.dataEventCategory||v,"data-event-action":a.dataEventAction||p,"data-event-label":a.dataEventLabel||u,tabIndex:0,"data-testid":a.dataTestid},e.createElement(c,null,a.icon&&e.createElement(m,null,a.icon),e.createElement(l,{size:a.textSize||"sm",type:a.textType||"bold",color:a.textColor||y.colors.gray800,dataEventCategory:a.dataEventCategory,dataEventAction:a.dataEventAction,dataEventLabel:a.dataEventLabel},a.name))))))};export{u as A,f as B,b as D,h as T};
1
+ import e,{useState as a,useEffect as t}from"react";import{z as r}from"./index.styled-98887888.js";import{_ as s}from"./tslib.es6-c6630b6b.js";import{u as o}from"./useTranslations-13f8b391.js";import{B as n}from"./index-add5a812.js";import{T as l}from"./index-c0e5a532.js";import{bp as d,bq as i,br as c,bs as m}from"./index.styled-7eed71ac.js";import{t as y}from"./theme-ef20ab19.js";const b=({type:a="solid",className:t,style:s})=>e.createElement(r,{style:s,className:t,"data-diver-type":a,dividerType:a});var v="U9NRDG6";const p={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},u=a=>{var{siteType:t,role:r,title:n}=a,l=s(a,["siteType","role","title"]);const{t:d}=o(),i=r?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(r):"";return i&&p[i]?e.createElement("div",Object.assign({className:v,"data-label-type":i,"data-is-marrybaby":"marryBaby"===t},l),n||d(p[i])):null};var E="Dudns9-";const f=({value:r,choices:s,onChange:o,isMarryBaby:l})=>{const[d,i]=a(r);return t((()=>{i(r)}),[r]),e.createElement("div",{className:E},s.map(((a,t)=>e.createElement(n,{size:"sm",color:a.value===d?"primary":"tertiary",key:t,onClick:()=>{i(a.value),null==o||o(a.value)},theme:l?"marryBaby":"helloSites"},a.label||""))))},h=({style:r,initialTab:s,tabContent:o,onChange:n,className:b,dataEventCategory:v,dataEventAction:p,dataEventLabel:u,id:E})=>{const[f,h]=a(s||0);return t((()=>{h(s)}),[s]),e.createElement(d,{style:r,className:b,role:"tablist",id:E},o.map(((a,t)=>e.createElement(i,{"data-is-tab-active":f===t||void 0,"aria-selected":f===t,role:"tab",onClick:()=>{h(t),n&&n(t)},onKeyDown:e=>{"Enter"===e.key&&(h(t),n&&n(t))},key:t,"data-event-category":a.dataEventCategory||v,"data-event-action":a.dataEventAction||p,"data-event-label":a.dataEventLabel||u,tabIndex:0,"data-testid":a.dataTestid},e.createElement(c,null,a.icon&&e.createElement(m,null,a.icon),e.createElement(l,{size:a.textSize||"sm",type:a.textType||"bold",color:a.textColor||y.colors.gray800,dataEventCategory:a.dataEventCategory,dataEventAction:a.dataEventAction,dataEventLabel:a.dataEventLabel},a.name))))))};export{u as A,f as B,b as D,h as T};