@hhgtech/hhg-components 1.28.49 → 1.28.53

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 (297) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/button/index.d.ts +2 -2
  5. package/build/components/atoms/heading/index.d.ts +6 -2
  6. package/build/components/mantine/button/index.d.ts +1 -1
  7. package/build/components/mantine/button/index.styles.d.ts +1 -0
  8. package/build/components/mantine/theme/index.d.ts +1 -1
  9. package/build/components/mantine/theme/other.d.ts +2 -2
  10. package/build/components/mantine/theme/text.d.ts +24 -0
  11. package/build/components/navigationV2/components/atoms/searchInput/index.d.ts +3 -1
  12. package/build/components.js +1 -1
  13. package/build/{constants-00eb6917.js → constants-7d133608.js} +1 -1
  14. package/build/{constants-e409af9b.js → constants-fd5bf3b7.js} +1 -1
  15. package/build/constants.js +1 -1
  16. package/build/{core-ea7ee018.js → core-0b06f761.js} +1 -1
  17. package/build/{dataTransform-ec201d50.js → dataTransform-588be4da.js} +1 -1
  18. package/build/ecom.js +1 -1
  19. package/build/esm/babyGrowth.js +2 -2
  20. package/build/esm/cache.js +1 -1
  21. package/build/esm/care.js +1 -1
  22. package/build/esm/components/atoms/button/index.d.ts +2 -2
  23. package/build/esm/components/atoms/heading/index.d.ts +6 -2
  24. package/build/esm/components/mantine/button/index.d.ts +1 -1
  25. package/build/esm/components/mantine/button/index.styles.d.ts +1 -0
  26. package/build/esm/components/mantine/theme/index.d.ts +1 -1
  27. package/build/esm/components/mantine/theme/other.d.ts +2 -2
  28. package/build/esm/components/mantine/theme/text.d.ts +24 -0
  29. package/build/esm/components/navigationV2/components/atoms/searchInput/index.d.ts +3 -1
  30. package/build/esm/components.js +1 -1
  31. package/build/esm/{constants-f262fdad.js → constants-0a031398.js} +1 -1
  32. package/build/esm/{constants-0c5e9437.js → constants-9b92b3c2.js} +1 -1
  33. package/build/esm/constants.js +1 -1
  34. package/build/esm/{core-0ea997b2.js → core-c56845a5.js} +1 -1
  35. package/build/esm/{dataTransform-ce088cfb.js → dataTransform-619c2846.js} +1 -1
  36. package/build/esm/ecom.js +1 -1
  37. package/build/esm/footer.js +1 -1
  38. package/build/esm/gAssets.js +1 -1
  39. package/build/esm/getDynamicHealthTool-057875c3.js +1 -0
  40. package/build/esm/{getSocialList-1b0bdd8a.js → getSocialList-0578856d.js} +1 -1
  41. package/build/esm/hooks.js +1 -1
  42. package/build/esm/i18n.js +1 -1
  43. package/build/esm/i18nV2.js +1 -1
  44. package/build/esm/index-0a912c05.js +1 -0
  45. package/build/esm/{index-9d0c6353.js → index-0dd16ca7.js} +1 -1
  46. package/build/esm/{index-cde509fa.js → index-0fed6a98.js} +1 -1
  47. package/build/esm/{index-4ab0d69b.js → index-18dfc227.js} +1 -1
  48. package/build/esm/index-33e09a38.js +1 -0
  49. package/build/esm/{index-3f24fd41.js → index-36e0acd5.js} +1 -1
  50. package/build/esm/{index-81d1a3ea.js → index-3d898caa.js} +1 -1
  51. package/build/esm/{index-4942221e.js → index-5bb8678e.js} +3 -3
  52. package/build/esm/{index-a4441d0b.js → index-69d014d8.js} +1 -1
  53. package/build/esm/{index-b36dd213.js → index-76739ec7.js} +1 -1
  54. package/build/esm/{index-d0c5dfee.js → index-789cb49a.js} +4 -4
  55. package/build/esm/{index-4a948104.js → index-7939420e.js} +1 -1
  56. package/build/esm/index-7e673caa.js +1 -0
  57. package/build/esm/index-acf79819.js +1 -0
  58. package/build/esm/index-b1d7a64d.js +1 -0
  59. package/build/esm/index-bc925c3f.js +113 -0
  60. package/build/esm/{index-d26d0482.js → index-c1871567.js} +170 -170
  61. package/build/esm/{index-b55d97ab.js → index-cbd121a4.js} +2 -2
  62. package/build/esm/{index-138b5792.js → index-d32e2867.js} +1 -1
  63. package/build/esm/{index-e5ca10f5.js → index-d3d480ec.js} +11 -11
  64. package/build/esm/{index-4b2d0830.js → index-e8b162fc.js} +1 -1
  65. package/build/esm/{index-9ccb4430.js → index-f024488c.js} +1 -1
  66. package/build/esm/{index-38864a87.js → index-f4c67fe4.js} +1 -1
  67. package/build/esm/index.css +1 -1
  68. package/build/esm/index.js +1 -1
  69. package/build/esm/{index.styled-37a324c2.js → index.styled-c404ce64.js} +1 -1
  70. package/build/esm/{index.styles-8be9760e.js → index.styles-60db99fe.js} +25 -25
  71. package/build/esm/lead.js +1 -1
  72. package/build/esm/mantine.js +1 -1
  73. package/build/esm/misc.js +1 -1
  74. package/build/esm/navigation.js +1 -1
  75. package/build/esm/onboardingV2.js +1 -1
  76. package/build/esm/pwg.js +1 -1
  77. package/build/esm/{routing-6fcf3a59.js → routing-23cb4998.js} +1 -1
  78. package/build/esm/subot.js +2 -2
  79. package/build/esm/together.js +1 -1
  80. package/build/esm/{types-81f48145.js → types-bb2e616c.js} +1 -1
  81. package/build/esm/{types-2f73c062.js → types-fa2aa453.js} +22 -22
  82. package/build/esm/types.js +1 -1
  83. package/build/esm/{useCategory-a6513a7e.js → useCategory-9cb0ac4e.js} +1 -1
  84. package/build/esm/useHealthToolCache-0eb5e663.js +1 -0
  85. package/build/esm/{usePlacesAutocomplete-a4df5390.js → usePlacesAutocomplete-f9ebcd04.js} +1 -1
  86. package/build/esm/{useTranslations-b7d4a160.js → useTranslations-2bc5a07f.js} +1 -1
  87. package/build/esm/{utils-547d93ca.js → utils-b9b2d4ee.js} +1 -1
  88. package/build/esm/{utils-36e3bf71.js → utils-f15bf320.js} +1 -1
  89. package/build/esm/{utils-b8dbc87d.js → utils-f9c12f09.js} +1 -1
  90. package/build/esm/vaccination.js +11 -11
  91. package/build/footer.js +1 -1
  92. package/build/gAssets.js +1 -1
  93. package/build/getDynamicHealthTool-0502c669.js +1 -0
  94. package/build/{getSocialList-ce1e33c4.js → getSocialList-cfb9a038.js} +1 -1
  95. package/build/hooks.js +1 -1
  96. package/build/i18n.js +1 -1
  97. package/build/i18nV2.js +1 -1
  98. package/build/{index-d8623459.js → index-0ff56596.js} +1 -1
  99. package/build/{index-c97c557f.js → index-107f1235.js} +17 -17
  100. package/build/{index-8c1a5431.js → index-12f4c96b.js} +1 -1
  101. package/build/index-144bf42a.js +1 -0
  102. package/build/{index-e417cb6d.js → index-1ca8b7a5.js} +1 -1
  103. package/build/{index-f79fe272.js → index-1f8b7209.js} +4 -4
  104. package/build/{index-ad733c52.js → index-21af0a75.js} +1 -1
  105. package/build/{index-413276e5.js → index-24019fab.js} +1 -1
  106. package/build/{index-992473c0.js → index-25c42837.js} +1 -1
  107. package/build/{index-7c707c86.js → index-2d178782.js} +1 -1
  108. package/build/{index-67b9453a.js → index-3e2d91fe.js} +4 -4
  109. package/build/index-4af7bf88.js +1 -0
  110. package/build/{index-b6b058b9.js → index-57ad8cf3.js} +1 -1
  111. package/build/{index-11d1af06.js → index-61146c84.js} +1 -1
  112. package/build/index-681f87b4.js +1 -0
  113. package/build/{index-05aa21dd.js → index-71370283.js} +1 -1
  114. package/build/{index-ff2a7724.js → index-71744665.js} +1 -1
  115. package/build/index-8ceafed8.js +1 -0
  116. package/build/{index-abe62dd3.js → index-92410ea5.js} +1 -1
  117. package/build/{index-7d326d6a.js → index-a7f24503.js} +1 -1
  118. package/build/{index-0b364983.js → index-dcd67fb7.js} +2 -2
  119. package/build/index-f326950e.js +113 -0
  120. package/build/{index-95f2568e.js → index-ff24ece7.js} +1 -1
  121. package/build/index.css +1 -1
  122. package/build/index.js +1 -1
  123. package/build/{index.styled-35de73b7.js → index.styled-c5ae961b.js} +1 -1
  124. package/build/{index.styles-d7c56999.js → index.styles-b2e0b5d9.js} +45 -45
  125. package/build/lead.js +1 -1
  126. package/build/mantine.js +1 -1
  127. package/build/misc.js +1 -1
  128. package/build/navigation.js +1 -1
  129. package/build/onboardingV2.js +1 -1
  130. package/build/pwg.js +1 -1
  131. package/build/{routing-88ae6957.js → routing-db0624e7.js} +1 -1
  132. package/build/subot.js +2 -2
  133. package/build/together.js +1 -1
  134. package/build/{types-031b639a.js → types-50f76edb.js} +1 -1
  135. package/build/{types-d8366bd5.js → types-8abb60bb.js} +1 -1
  136. package/build/types.js +1 -1
  137. package/build/{useCategory-cfb3af1d.js → useCategory-fd3d1b53.js} +1 -1
  138. package/build/{useHealthToolCache-37fe2176.js → useHealthToolCache-2cdca558.js} +1 -1
  139. package/build/{usePlacesAutocomplete-f9a6c313.js → usePlacesAutocomplete-eb65bc12.js} +1 -1
  140. package/build/{useTranslations-053501b7.js → useTranslations-42c1a71b.js} +1 -1
  141. package/build/{utils-b79c27a6.js → utils-87177d9a.js} +1 -1
  142. package/build/{utils-94f8c3bb.js → utils-9e94b29c.js} +2 -2
  143. package/build/{utils-b432bb60.js → utils-ffc6f1f2.js} +1 -1
  144. package/build/vaccination.js +1 -1
  145. package/package.json +1 -1
  146. package/build/esm/getDynamicHealthTool-4e566eb5.js +0 -1
  147. package/build/esm/index-198fd08e.js +0 -1
  148. package/build/esm/index-491ee5f4.js +0 -1
  149. package/build/esm/index-696ca464.js +0 -1
  150. package/build/esm/index-a5b9597b.js +0 -1
  151. package/build/esm/index-ba2430f8.js +0 -1
  152. package/build/esm/index-c93ec607.js +0 -113
  153. package/build/esm/useHealthToolCache-a9f5329f.js +0 -1
  154. package/build/getDynamicHealthTool-297c8604.js +0 -1
  155. package/build/index-1a06bea6.js +0 -1
  156. package/build/index-623655d2.js +0 -1
  157. package/build/index-62c61507.js +0 -1
  158. package/build/index-77dbd11f.js +0 -113
  159. package/build/index-7cf403fc.js +0 -1
  160. /package/build/{BMI_BOYS.percentile.monthly-72dd9d36.js → BMI_BOYS.percentile.monthly-e235929e.js} +0 -0
  161. /package/build/{BMI_BOYS.percentile.weekly-4ba21d56.js → BMI_BOYS.percentile.weekly-9b7603ee.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.yearly-ee912baa.js → BMI_BOYS.percentile.yearly-199d1a08.js} +0 -0
  163. /package/build/{BMI_BOYS.zscore.monthly-b58b2d31.js → BMI_BOYS.zscore.monthly-cb8ad77d.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.weekly-f6f5fbe0.js → BMI_BOYS.zscore.weekly-b8a0fcd3.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.yearly-d63bdbc4.js → BMI_BOYS.zscore.yearly-c66e2c6c.js} +0 -0
  166. /package/build/{BMI_GIRLS.percentile.monthly-ec7dbe18.js → BMI_GIRLS.percentile.monthly-048d5b73.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.weekly-9bd192c8.js → BMI_GIRLS.percentile.weekly-d96053b8.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.yearly-e07456dd.js → BMI_GIRLS.percentile.yearly-04792048.js} +0 -0
  169. /package/build/{BMI_GIRLS.zscore.monthly-76b385ee.js → BMI_GIRLS.zscore.monthly-f1c3dd5f.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.weekly-53a86183.js → BMI_GIRLS.zscore.weekly-335c1ecb.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.yearly-a97d0070.js → BMI_GIRLS.zscore.yearly-b5619a2c.js} +0 -0
  172. /package/build/{ChevronDown-6bcccd07.js → ChevronDown-3761180a.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-da53eed7.js → HEAD CIRCUM_BOYS.percentile.monthly-a51cc7f0.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-36dba3d1.js → HEAD CIRCUM_BOYS.percentile.weekly-04bbaaac.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8284c1e0.js → HEAD CIRCUM_BOYS.percentile.yearly-57a3dfd8.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a4266394.js → HEAD CIRCUM_BOYS.zscore.monthly-f248d812.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-131c0e35.js → HEAD CIRCUM_BOYS.zscore.weekly-c200fd52.js} +0 -0
  178. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-29b76c14.js → HEAD CIRCUM_BOYS.zscore.yearly-207dd9eb.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-66a0d840.js → HEAD CIRCUM_GIRLS.percentile.monthly-fd5c48b6.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-be38297f.js → HEAD CIRCUM_GIRLS.percentile.weekly-1ec55d6e.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-dbda2d07.js → HEAD CIRCUM_GIRLS.percentile.yearly-06dbef0f.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4dd1fd89.js → HEAD CIRCUM_GIRLS.zscore.monthly-5a4f509e.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-f8bb0ae2.js → HEAD CIRCUM_GIRLS.zscore.weekly-e381ddb1.js} +0 -0
  184. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-1aaaf2e0.js → HEAD CIRCUM_GIRLS.zscore.yearly-fe82d952.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.monthly-f1451664.js → HEIGHT_BOYS.percentile.monthly-14fb0c06.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.weekly-f7201500.js → HEIGHT_BOYS.percentile.weekly-45c31a3c.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.percentile.yearly-c62f29a6.js → HEIGHT_BOYS.percentile.yearly-c9c01d1a.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.monthly-ef88cdbc.js → HEIGHT_BOYS.zscore.monthly-bbfa1555.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.weekly-cc7a465e.js → HEIGHT_BOYS.zscore.weekly-5b310b11.js} +0 -0
  190. /package/build/{HEIGHT_BOYS.zscore.yearly-12fcf09b.js → HEIGHT_BOYS.zscore.yearly-51ae9672.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.monthly-464d9a63.js → HEIGHT_GIRLS.percentile.monthly-bf07f71e.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.weekly-c1ee7ef2.js → HEIGHT_GIRLS.percentile.weekly-9fb04885.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.percentile.yearly-05b92597.js → HEIGHT_GIRLS.percentile.yearly-ed746de7.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.monthly-364fc3f9.js → HEIGHT_GIRLS.zscore.monthly-65183a60.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.weekly-cf345537.js → HEIGHT_GIRLS.zscore.weekly-18a779d2.js} +0 -0
  196. /package/build/{HEIGHT_GIRLS.zscore.yearly-bfa97a60.js → HEIGHT_GIRLS.zscore.yearly-9d4550ba.js} +0 -0
  197. /package/build/{Subot-5e94dc84.js → Subot-72d97891.js} +0 -0
  198. /package/build/{Visible-d0b55372.js → Visible-2307e4fe.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.monthly-a1044456.js → WEIGHT_BOYS.percentile.monthly-5ce99f67.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.weekly-f3263998.js → WEIGHT_BOYS.percentile.weekly-9fcbd81e.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.percentile.yearly-620641f6.js → WEIGHT_BOYS.percentile.yearly-d4324ef7.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.monthly-cdef160c.js → WEIGHT_BOYS.zscore.monthly-73ba22ee.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.weekly-80221a45.js → WEIGHT_BOYS.zscore.weekly-5dc2ef1e.js} +0 -0
  204. /package/build/{WEIGHT_BOYS.zscore.yearly-080e164b.js → WEIGHT_BOYS.zscore.yearly-ebae660d.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.monthly-5d930c98.js → WEIGHT_GIRLS.percentile.monthly-f9f9003b.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.weekly-05cc5075.js → WEIGHT_GIRLS.percentile.weekly-068509cf.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.percentile.yearly-c02e014a.js → WEIGHT_GIRLS.percentile.yearly-82ea7d8e.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.monthly-4fc25a03.js → WEIGHT_GIRLS.zscore.monthly-4b8f3df6.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.weekly-95a9936f.js → WEIGHT_GIRLS.zscore.weekly-14936f43.js} +0 -0
  210. /package/build/{WEIGHT_GIRLS.zscore.yearly-7820b9d5.js → WEIGHT_GIRLS.zscore.yearly-82a87eac.js} +0 -0
  211. /package/build/{animation-0b12f69c.js → animation-505ab7ab.js} +0 -0
  212. /package/build/{cookieHelper-27fb2f4f.js → cookieHelper-bef66b95.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.percentile.monthly-ef9e6f06.js → BMI_BOYS.percentile.monthly-814c52b5.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.weekly-9ce890fd.js → BMI_BOYS.percentile.weekly-58e86534.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.yearly-9a66add9.js → BMI_BOYS.percentile.yearly-7bec47c8.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.zscore.monthly-8b2dbe70.js → BMI_BOYS.zscore.monthly-0f9f022f.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.weekly-03bc653d.js → BMI_BOYS.zscore.weekly-f55af0b2.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.yearly-15e1555d.js → BMI_BOYS.zscore.yearly-20be4d08.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.percentile.monthly-8a6f031e.js → BMI_GIRLS.percentile.monthly-890e2a85.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.weekly-1e740ffb.js → BMI_GIRLS.percentile.weekly-7ea454ef.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.yearly-d412b15d.js → BMI_GIRLS.percentile.yearly-1517707b.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.zscore.monthly-a73a69e1.js → BMI_GIRLS.zscore.monthly-e43e9ffa.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.weekly-2d95c18a.js → BMI_GIRLS.zscore.weekly-939898ff.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.yearly-3674ad67.js → BMI_GIRLS.zscore.yearly-ef5924bb.js} +0 -0
  225. /package/build/esm/{ChevronDown-2eea80bb.js → ChevronDown-b53abff2.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-87b98a1c.js → HEAD CIRCUM_BOYS.percentile.monthly-7770b53a.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3a2b0ed8.js → HEAD CIRCUM_BOYS.percentile.weekly-ff7a3dc2.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-75831c10.js → HEAD CIRCUM_BOYS.percentile.yearly-ef8b36bd.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-744cbfa3.js → HEAD CIRCUM_BOYS.zscore.monthly-fb258a36.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7d7140d0.js → HEAD CIRCUM_BOYS.zscore.weekly-616cc3c3.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-087469e3.js → HEAD CIRCUM_BOYS.zscore.yearly-b7b7fa60.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e448752c.js → HEAD CIRCUM_GIRLS.percentile.monthly-60a12758.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-eba34173.js → HEAD CIRCUM_GIRLS.percentile.weekly-000da76b.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-198742ce.js → HEAD CIRCUM_GIRLS.percentile.yearly-283d374f.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-44ab5598.js → HEAD CIRCUM_GIRLS.zscore.monthly-fe73c068.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-cfab749b.js → HEAD CIRCUM_GIRLS.zscore.weekly-939b7e36.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b7bcd7b8.js → HEAD CIRCUM_GIRLS.zscore.yearly-c3bdf286.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5f26b470.js → HEIGHT_BOYS.percentile.monthly-ec418027.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-86fe3770.js → HEIGHT_BOYS.percentile.weekly-e39a4a4d.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-20b03a84.js → HEIGHT_BOYS.percentile.yearly-f1961284.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6c9748ff.js → HEIGHT_BOYS.zscore.monthly-b32a1aa4.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ca75b3dc.js → HEIGHT_BOYS.zscore.weekly-1971f014.js} +0 -0
  243. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a382f2a5.js → HEIGHT_BOYS.zscore.yearly-930c129c.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-6cf5a5d3.js → HEIGHT_GIRLS.percentile.monthly-ef97754d.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8ad0bb3c.js → HEIGHT_GIRLS.percentile.weekly-72638068.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-116699be.js → HEIGHT_GIRLS.percentile.yearly-99bc2945.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ab3c471c.js → HEIGHT_GIRLS.zscore.monthly-adba5b3d.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c98a8fae.js → HEIGHT_GIRLS.zscore.weekly-846fb103.js} +0 -0
  249. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c3850f8e.js → HEIGHT_GIRLS.zscore.yearly-7ffff2a5.js} +0 -0
  250. /package/build/esm/{Subot-46c8b66e.js → Subot-5b04d983.js} +0 -0
  251. /package/build/esm/{Visible-bb443a50.js → Visible-369adf3a.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2643a2db.js → WEIGHT_BOYS.percentile.monthly-63d5a69d.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8e6f7bf3.js → WEIGHT_BOYS.percentile.weekly-eef6b61e.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1c75479d.js → WEIGHT_BOYS.percentile.yearly-b7379540.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-798acbba.js → WEIGHT_BOYS.zscore.monthly-354156ce.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2ee812a6.js → WEIGHT_BOYS.zscore.weekly-57053bc6.js} +0 -0
  257. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9c9eedab.js → WEIGHT_BOYS.zscore.yearly-149add52.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1b0a4bd2.js → WEIGHT_GIRLS.percentile.monthly-5b429487.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-3571400e.js → WEIGHT_GIRLS.percentile.weekly-26d545cd.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1fa58117.js → WEIGHT_GIRLS.percentile.yearly-a921fb7c.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b1e7b0b6.js → WEIGHT_GIRLS.zscore.monthly-7e79e608.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-eef09ecf.js → WEIGHT_GIRLS.zscore.weekly-02132679.js} +0 -0
  263. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b5740f73.js → WEIGHT_GIRLS.zscore.yearly-1f0a9481.js} +0 -0
  264. /package/build/esm/{animation-1598cf15.js → animation-7a514429.js} +0 -0
  265. /package/build/esm/{cookieHelper-16653e64.js → cookieHelper-3e2dd83c.js} +0 -0
  266. /package/build/esm/{index-c4af839e.js → index-6b8127b1.js} +0 -0
  267. /package/build/esm/{index-408a335e.js → index-84b32a2c.js} +0 -0
  268. /package/build/esm/{index-5f71fc29.js → index-a491e779.js} +0 -0
  269. /package/build/esm/{isProduction-6af4d2ac.js → isProduction-4d356afc.js} +0 -0
  270. /package/build/esm/{localizeNumberFormat-69715560.js → localizeNumberFormat-d600cc85.js} +0 -0
  271. /package/build/esm/{normalizeLink-78ac13e0.js → normalizeLink-b02efc99.js} +0 -0
  272. /package/build/esm/{number-509ae36f.js → number-a6908286.js} +0 -0
  273. /package/build/esm/{paths-c018124d.js → paths-8c55eb7a.js} +0 -0
  274. /package/build/esm/{theme-1fc9bf92.js → theme-a46125e9.js} +0 -0
  275. /package/build/esm/{translationsContext-05a6ebf7.js → translationsContext-e64cddb1.js} +0 -0
  276. /package/build/esm/{tslib.es6-03e2d67c.js → tslib.es6-8ed6f2bc.js} +0 -0
  277. /package/build/esm/{types-30b992fc.js → types-a77a7338.js} +0 -0
  278. /package/build/esm/{useIsInit-9c33a9d8.js → useIsInit-0fd92365.js} +0 -0
  279. /package/build/esm/{useOutsideClick-d9a01b05.js → useOutsideClick-50785e38.js} +0 -0
  280. /package/build/esm/{useScrollbarSize-d69893c7.js → useScrollbarSize-8ac89784.js} +0 -0
  281. /package/build/esm/{utils-288ca0db.js → utils-a62a9933.js} +0 -0
  282. /package/build/{index-7abb70e0.js → index-0162490f.js} +0 -0
  283. /package/build/{index-47258f9a.js → index-3a31e805.js} +0 -0
  284. /package/build/{index-5775ebcd.js → index-f3a53fa7.js} +0 -0
  285. /package/build/{isProduction-2bcc92a8.js → isProduction-26617223.js} +0 -0
  286. /package/build/{localizeNumberFormat-e2f08e55.js → localizeNumberFormat-77a3ca30.js} +0 -0
  287. /package/build/{normalizeLink-234ec40a.js → normalizeLink-799ae6be.js} +0 -0
  288. /package/build/{number-41fc3a29.js → number-2634696d.js} +0 -0
  289. /package/build/{paths-4bb6c34d.js → paths-559a164d.js} +0 -0
  290. /package/build/{theme-445ed9a5.js → theme-38307b0e.js} +0 -0
  291. /package/build/{translationsContext-202c33d1.js → translationsContext-4e01740c.js} +0 -0
  292. /package/build/{tslib.es6-6efd1b76.js → tslib.es6-b2bdb663.js} +0 -0
  293. /package/build/{types-e9c2fd69.js → types-a7525454.js} +0 -0
  294. /package/build/{useIsInit-23edb76e.js → useIsInit-cbceac64.js} +0 -0
  295. /package/build/{useOutsideClick-adadb7b1.js → useOutsideClick-abe89ee9.js} +0 -0
  296. /package/build/{useScrollbarSize-0dca0252.js → useScrollbarSize-adb34bd6.js} +0 -0
  297. /package/build/{utils-38a04ad0.js → utils-41c0f011.js} +0 -0
@@ -1 +1 @@
1
- import e from"react";import{L as t}from"./Subot-46c8b66e.js";import{C}from"./index-4b2d0830.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},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},loading:"lazy"}),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"},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"},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"},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",{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
+ import e from"react";import{L as t}from"./Subot-5b04d983.js";import{C}from"./index-e8b162fc.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},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},loading:"lazy"}),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"},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"},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"},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",{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{a as useInitialMount,u as useTranslations,b as useUniqueId}from"./useTranslations-b7d4a160.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-d69893c7.js";export{M as MAPPED_CATEGORY_SLUGS,P as PREGNANCY_SLUG,c as useCategory,u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useCategory-a6513a7e.js";export{u as useHealthToolsCache}from"./useHealthToolCache-a9f5329f.js";export{u as useIsInit}from"./useIsInit-9c33a9d8.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-d9a01b05.js";import"react";import"./translationsContext-05a6ebf7.js";import"string-format";import"lodash/debounce";import"./tslib.es6-03e2d67c.js";import"./cookieHelper-16653e64.js";import"./Subot-46c8b66e.js";import"./getDynamicHealthTool-4e566eb5.js";import"./normalizeLink-78ac13e0.js";import"./routing-6fcf3a59.js";import"./index-3f24fd41.js";import"date-fns/locale";import"./isProduction-6af4d2ac.js";import"./core-0ea997b2.js";
1
+ export{a as useInitialMount,u as useTranslations,b as useUniqueId}from"./useTranslations-2bc5a07f.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-8ac89784.js";export{M as MAPPED_CATEGORY_SLUGS,P as PREGNANCY_SLUG,c as useCategory,u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useCategory-9cb0ac4e.js";export{u as useHealthToolsCache}from"./useHealthToolCache-0eb5e663.js";export{u as useIsInit}from"./useIsInit-0fd92365.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-50785e38.js";import"react";import"./translationsContext-e64cddb1.js";import"string-format";import"lodash/debounce";import"./tslib.es6-8ed6f2bc.js";import"./cookieHelper-3e2dd83c.js";import"./Subot-5b04d983.js";import"./getDynamicHealthTool-057875c3.js";import"./normalizeLink-b02efc99.js";import"./routing-23cb4998.js";import"./index-36e0acd5.js";import"date-fns/locale";import"./isProduction-4d356afc.js";import"./core-c56845a5.js";
package/build/esm/i18n.js CHANGED
@@ -1 +1 @@
1
- import{T as s}from"./translationsContext-05a6ebf7.js";export{T as TranslationsContext}from"./translationsContext-05a6ebf7.js";import o,{useState as e,useEffect as r,useMemo as t}from"react";import i from"./i18n-values/en-PH.js";import n from"./i18n-values/hi-IN.js";import a from"./i18n-values/id-ID.js";import l from"./i18n-values/km-KH.js";import m from"./i18n-values/ms-MY.js";import v from"./i18n-values/my-MM.js";import j from"./i18n-values/th-TH.js";import u from"./i18n-values/tl-PH.js";import f from"./i18n-values/vi-VN.js";import p from"./i18n-values/vi-VN_MB.js";import c from"./i18n-values/zh-TW.js";const d={"en-PH":i,"vi-VN":f,"hi-IN":n,"id-ID":a,"ms-MY":m,"my-MM":v,"km-KH":l,"zh-TW":c,"th-TH":j,"tl-PH":u,"vi-VN_MB":p},h=({locale:i="en-PH",overrides:n,overrideCurrentLocale:a,children:l,shouldLoadTranslation:m=!0,loader:v=null,onTranslationsLoaded:j})=>{const u=n&&n[i]||a,[f,p]=e((()=>Object.assign(Object.assign({},u),m?d[i]:{})));r((()=>{p(Object.assign(Object.assign({},u),m?d[i]:{}))}),[m,i]);const c=t((()=>f?{locale:i,values:f}:null),[i,f]);return r((()=>{j&&Object.keys(f).length&&j(f)}),[f]),o.createElement(s.Provider,{value:c},c?l:v)};export{h as TranslationsProvider,d as translationsMap};
1
+ import{T as s}from"./translationsContext-e64cddb1.js";export{T as TranslationsContext}from"./translationsContext-e64cddb1.js";import o,{useState as e,useEffect as r,useMemo as t}from"react";import i from"./i18n-values/en-PH.js";import n from"./i18n-values/hi-IN.js";import a from"./i18n-values/id-ID.js";import l from"./i18n-values/km-KH.js";import m from"./i18n-values/ms-MY.js";import v from"./i18n-values/my-MM.js";import j from"./i18n-values/th-TH.js";import u from"./i18n-values/tl-PH.js";import c from"./i18n-values/vi-VN.js";import d from"./i18n-values/vi-VN_MB.js";import p from"./i18n-values/zh-TW.js";const f={"en-PH":i,"vi-VN":c,"hi-IN":n,"id-ID":a,"ms-MY":m,"my-MM":v,"km-KH":l,"zh-TW":p,"th-TH":j,"tl-PH":u,"vi-VN_MB":d},h=({locale:i="en-PH",overrides:n,overrideCurrentLocale:a,children:l,shouldLoadTranslation:m=!0,loader:v=null,onTranslationsLoaded:j})=>{const u=n&&n[i]||a,[c,d]=e((()=>Object.assign(Object.assign({},u),m?f[i]:{})));r((()=>{d(Object.assign(Object.assign({},u),m?f[i]:{}))}),[m,i]);const p=t((()=>c?{locale:i,values:c}:null),[i,c]);return r((()=>{j&&Object.keys(c).length&&j(c)}),[c]),o.createElement(s.Provider,{value:p},p?l:v)};export{h as TranslationsProvider,f as translationsMap};
@@ -1 +1 @@
1
- import{T as e}from"./translationsContext-05a6ebf7.js";export{T as TranslationsContext}from"./translationsContext-05a6ebf7.js";import t,{useMemo as o}from"react";const a=({locale:a="en-PH",values:r,children:n})=>{const l=o((()=>r?{locale:a,values:r}:null),[a,r]);return t.createElement(e.Provider,{value:l},n)};export{a as TranslationsProvider};
1
+ import{T as e}from"./translationsContext-e64cddb1.js";export{T as TranslationsContext}from"./translationsContext-e64cddb1.js";import t,{useMemo as o}from"react";const r=({locale:r="en-PH",values:n,children:a})=>{const l=o((()=>n?{locale:r,values:n}:null),[r,n]);return t.createElement(e.Provider,{value:l},a)};export{r as TranslationsProvider};
@@ -0,0 +1 @@
1
+ import{_ as t}from"./tslib.es6-8ed6f2bc.js";import e from"react";import"./index-bc925c3f.js";import"@mantine/core";import"@mantine/dates";import"./index-36e0acd5.js";import"./Subot-5b04d983.js";import"./index-e8b162fc.js";import{T as i}from"./index-b1d7a64d.js";import"./theme-a46125e9.js";import"./translationsContext-e64cddb1.js";import"string-format";import"@mantine/hooks";const r=r=>{var{size:o="base",type:s="regular"}=r,m=t(r,["size","type"]);return e.createElement(i,Object.assign({size:o,weight:"caption"===s?"bold":s},m))};export{r as T};
@@ -1 +1 @@
1
- import a,{useState as e,useEffect as t}from"react";import{L as s}from"./Subot-46c8b66e.js";import{C as l}from"./index-4b2d0830.js";import{i as o,a as n,b as r,c as g,d as m,e as i,f as c,g as h,S as d,L as u,h as N}from"./utils-36e3bf71.js";import{I as y}from"./index-c93ec607.js";const f=({type:f,className:w,style:p,isLightLogo:E,customSize:b,badge:P,locale:A,dateForSeasonal:L,isPro:V})=>{const[x,z]=e({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1});return t((()=>{if(!L||isNaN(new Date(L).getTime()))return;const a=new Date(L),e=o(a),t=n.includes(A)&&r(a),l=!t&&g(a),d=m(a),u=A===s.Vietnam&&i(a),N=A===s.Vietnam&&c(a),y=A===s.Vietnam&&h(a);z({isChristmas:e,isLunarNewYear:t,isNewYear:l,isRamadan:d,isVNHungKing:u,isVN3004:N,isLabourDay:y})}),[A,new Date(L).getDate()]),a.createElement(d,{className:w,style:p,"data-logo-is-light":E||void 0,"data-has-badge":!!P,"data-seasonal":x.isRamadan?"ramadan":x.isChristmas?"christmas":x.isLunarNewYear?"lunar-new-year":x.isNewYear?"new-year":x.isVNHungKing?"hung-king":x.isVN3004?"30-04":x.isLabourDay?"labour-day":void 0,"data-type":f},x.isChristmas?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left xmas logo",src:l.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right xmas logo",src:l.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):x.isNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left new year logo",src:l.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right new year logo",src:l.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):x.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellosehat"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellodoktor"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):!x.isVNHungKing||"hellobacsi"!==f&&"marryBaby"!==f?null:a.createElement(a.Fragment,null,a.createElement(y,{alt:"Hung King logo",loading:"lazy",src:l.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})),a.createElement(u,{type:f,width:null==b?void 0:b.width,height:null==b?void 0:b.height}),V?a.createElement(N,{src:l.getAssetPath("logo/pro-suffix.svg")}):null,P)};export{f as L};
1
+ import a,{useState as e,useEffect as t}from"react";import{L as s}from"./Subot-5b04d983.js";import{C as l}from"./index-e8b162fc.js";import{i as o,a as n,b as r,c as g,d as m,e as i,f as c,g as h,S as d,L as u,h as N}from"./utils-f15bf320.js";import{I as f}from"./index-bc925c3f.js";const y=({type:y,className:w,style:p,isLightLogo:E,customSize:b,badge:P,locale:A,dateForSeasonal:L,isPro:V})=>{const[x,z]=e({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1});return t((()=>{if(!L||isNaN(new Date(L).getTime()))return;const a=new Date(L),e=o(a),t=n.includes(A)&&r(a),l=!t&&g(a),d=m(a),u=A===s.Vietnam&&i(a),N=A===s.Vietnam&&c(a),f=A===s.Vietnam&&h(a);z({isChristmas:e,isLunarNewYear:t,isNewYear:l,isRamadan:d,isVNHungKing:u,isVN3004:N,isLabourDay:f})}),[A,new Date(L).getDate()]),a.createElement(d,{className:w,style:p,"data-logo-is-light":E||void 0,"data-has-badge":!!P,"data-seasonal":x.isRamadan?"ramadan":x.isChristmas?"christmas":x.isLunarNewYear?"lunar-new-year":x.isNewYear?"new-year":x.isVNHungKing?"hung-king":x.isVN3004?"30-04":x.isLabourDay?"labour-day":void 0,"data-type":y},x.isChristmas?a.createElement(a.Fragment,null,a.createElement(f,{alt:"left xmas logo",src:l.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(f,{alt:"right xmas logo",src:l.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):x.isNewYear?a.createElement(a.Fragment,null,a.createElement(f,{alt:"left new year logo",src:l.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(f,{alt:"right new year logo",src:l.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):x.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(f,{alt:"left lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(f,{alt:"right lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellosehat"===y?a.createElement(a.Fragment,null,a.createElement(f,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(f,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellodoktor"===y?a.createElement(a.Fragment,null,a.createElement(f,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(f,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):!x.isVNHungKing||"hellobacsi"!==y&&"marryBaby"!==y?null:a.createElement(a.Fragment,null,a.createElement(f,{alt:"Hung King logo",loading:"lazy",src:l.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})),a.createElement(u,{type:y,width:null==b?void 0:b.width,height:null==b?void 0:b.height}),V?a.createElement(N,{src:l.getAssetPath("logo/pro-suffix.svg")}):null,P)};export{y as L};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-03e2d67c.js";import t from"react";import{S as s,a}from"./index.styled-37a324c2.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import t from"react";import{S as s,a}from"./index.styled-c404ce64.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
@@ -1 +1 @@
1
- import e from"react";import{B as t}from"./index-ba2430f8.js";import{C as a}from"./index-5f71fc29.js";import l from"dayjs";import{d as n}from"./index-3f24fd41.js";import{t as o}from"./theme-1fc9bf92.js";import"./index-c93ec607.js";import{Flex as i,Stack as r,Box as c}from"@mantine/core";import"@mantine/dates";import"./Subot-46c8b66e.js";import"./index-4b2d0830.js";import{T as m}from"./index-198fd08e.js";import{u as s}from"./useTranslations-b7d4a160.js";import"@mantine/hooks";import{L as d}from"./index-9d0c6353.js";import{M as v}from"./index-cde509fa.js";import"./translationsContext-05a6ebf7.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"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})),p=({className:i,type:r="main",footerInfo:c,isMobile:d,locale:v})=>{var E,p,y,f,N,b,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==c?void 0:c.menu,O=(null===(p=null===(E=null==c?void 0:c.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==c?void 0:c.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(m,{size:"p1",weight:"bold"},null===(f=null==c?void 0:c.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(N=null==c?void 0:c.social)||void 0===N?void 0:N.title),e.createElement("div",{className:"icons"},null===(h=null===(b=null==c?void 0:c.social)||void 0===b?void 0:b.socials)||void 0===h?void 0:h.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===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.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(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(L=null==c?void 0:c.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==c?void 0:c.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.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(g,{url:t.flag,isMobile:d,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(m,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==c?void 0:c.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==c?void 0:c.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(w=null==c?void 0:c.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==c?void 0:c.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.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[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(m,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(A=null==c?void 0:c.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==c?void 0:c.menu[2])||void 0===B?void 0:B.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(m,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(D=null==c?void 0:c.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==c?void 0:c.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.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 y="B6-KmWK",f="GS-7mbG",N="qc5bEb3",b="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:N,key:`mbf${l}`},e.createElement(v,{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:b,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.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",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(c,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(m,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};
1
+ import e from"react";import{B as t}from"./index-7e673caa.js";import{C as a}from"./index-a491e779.js";import l from"dayjs";import{d as n}from"./index-36e0acd5.js";import{t as o}from"./theme-a46125e9.js";import"./index-bc925c3f.js";import{Flex as i,Stack as r,Box as c}from"@mantine/core";import"@mantine/dates";import"./Subot-5b04d983.js";import"./index-e8b162fc.js";import{T as m}from"./index-b1d7a64d.js";import{u as s}from"./useTranslations-2bc5a07f.js";import"@mantine/hooks";import{L as d}from"./index-0dd16ca7.js";import{M as v}from"./index-0fed6a98.js";import"./translationsContext-e64cddb1.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"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})),p=({className:i,type:r="main",footerInfo:c,isMobile:d,locale:v})=>{var E,p,y,f,N,b,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==c?void 0:c.menu,O=(null===(p=null===(E=null==c?void 0:c.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==c?void 0:c.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(m,{size:"p1",weight:"bold"},null===(f=null==c?void 0:c.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(N=null==c?void 0:c.social)||void 0===N?void 0:N.title),e.createElement("div",{className:"icons"},null===(h=null===(b=null==c?void 0:c.social)||void 0===b?void 0:b.socials)||void 0===h?void 0:h.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===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.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(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(L=null==c?void 0:c.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==c?void 0:c.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.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(g,{url:t.flag,isMobile:d,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(m,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==c?void 0:c.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==c?void 0:c.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(w=null==c?void 0:c.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==c?void 0:c.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.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[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(m,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(A=null==c?void 0:c.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==c?void 0:c.menu[2])||void 0===B?void 0:B.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(m,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(D=null==c?void 0:c.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==c?void 0:c.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.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 y="B6-KmWK",f="GS-7mbG",N="qc5bEb3",b="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:N,key:`mbf${l}`},e.createElement(v,{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:b,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.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",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(c,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(m,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as i}from"./index-7e673caa.js";import{D as r,h as s,i as l}from"./index-bc925c3f.js";const c=c=>{var{color:m,withControl:h,onChange:d,value:u,min:p,max:g,isStatic:k,containerClassName:f,containerStyle:v}=c,x=e(c,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[C,b]=o(u||p||0),[E]=a(C,r);return n((()=>{null==d||d(E)}),[E]),n((()=>{b(u)}),[u]),t.createElement(s,{className:f,style:v},h&&t.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:()=>{b((e=>p&&e===p?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:m,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:m,value:C,onChange:k?()=>null:b,min:p,max:g},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(i,{type:"button",size:"sm",color:"ghost",onClick:()=>{b((e=>g&&e===g?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:m,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{c as S};
@@ -1 +1 @@
1
- import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-46c8b66e.js";import{i as c}from"./isProduction-6af4d2ac.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},y={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
1
+ import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-5b04d983.js";import{i as c}from"./isProduction-4d356afc.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},y={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
@@ -1,4 +1,4 @@
1
- import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-198fd08e.js";import{u as o}from"./useTranslations-b7d4a160.js";import{format as n}from"date-fns";import c from"react-day-picker/DayPickerInput";import s from"styled-components";import{t as d}from"./theme-1fc9bf92.js";var l="tliWyii";const p=({className:a,theme:r,hideText:t})=>{const{t:n}=o();return e.createElement("div",{className:`${l} ${a}`},e.createElement(i.Spinner,{isMarryBaby:"marryBaby"===r}),!t&&n("loading"))},y={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},u=s.div`
1
+ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-b1d7a64d.js";import{u as o}from"./useTranslations-2bc5a07f.js";import{format as n}from"date-fns";import c from"react-day-picker/DayPickerInput";import s from"styled-components";import{t as d}from"./theme-a46125e9.js";var l="tliWyii";const p=({className:a,theme:r,hideText:t})=>{const{t:n}=o();return e.createElement("div",{className:`${l} ${a}`},e.createElement(i.Spinner,{isMarryBaby:"marryBaby"===r}),!t&&n("loading"))},y={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},u=s.div`
2
2
  .pickerContainer {
3
3
  position: relative;
4
4
  padding-top: 0;
@@ -1,4 +1,4 @@
1
- import e,{useContext as i,useState as t}from"react";import{M as o}from"./utils-288ca0db.js";import l from"styled-components";import{t as n}from"./theme-1fc9bf92.js";import{_ as a}from"./tslib.es6-03e2d67c.js";import{T as r}from"./utils-b8dbc87d.js";const d=l.div`
1
+ import e,{useContext as i,useState as t}from"react";import{M as o}from"./utils-a62a9933.js";import l from"styled-components";import{t as n}from"./theme-a46125e9.js";import{_ as a}from"./tslib.es6-8ed6f2bc.js";import{T as r}from"./utils-f9c12f09.js";const d=l.div`
2
2
  position: fixed;
3
3
  left: 50%;
4
4
 
@@ -81,7 +81,7 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./utils-2
81
81
  &[data-open='false'] {
82
82
  display: none;
83
83
  }
84
- `,u=({type:i="lead",closeIcon:t,isOpen:o=!0,onClose:l,children:n,className:a="",enableAnimation:r=!0})=>e.createElement(e.Fragment,null,e.createElement(d,{"data-open":o,"data-type":i,"data-animation":r},e.createElement("div",{className:`${a||""} popup-content`},!!t&&e.createElement("div",{className:"close-button",onClick:l},t),n)),e.createElement(s,{"data-open":o,onClick:l})),m=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||""}:{},v=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}:{},c=e=>void 0!==e&&e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:null,p=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:l,banner_mobile:n}=e,r=a(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:l||"",bannerMobile:n||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:c(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:p(e.subscription_banner)}:{}},f=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,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(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=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},I=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)}:{},C=e=>{var i,t,o,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===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.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)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.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===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.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===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w,k,x,I,C,S,T,B,D,j,N,P;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(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(I=e.mentioned)||void 0===I?void 0:I.type)||"",email:(null===(C=e.mentioned)||void 0===C?void 0:C.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id)?String(null===(N=e.mentioned)||void 0===N?void 0:N.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},B=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 D=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:c,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,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!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{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:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:I,formatTopic:C,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;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===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.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: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}:{},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:A,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?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:B,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:B(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||""}:{}}});const j=l.div`
84
+ `,u=({type:i="lead",closeIcon:t,isOpen:o=!0,onClose:l,children:n,className:a="",enableAnimation:r=!0})=>e.createElement(e.Fragment,null,e.createElement(d,{"data-open":o,"data-type":i,"data-animation":r},e.createElement("div",{className:`${a||""} popup-content`},!!t&&e.createElement("div",{className:"close-button",onClick:l},t),n)),e.createElement(s,{"data-open":o,onClick:l})),m=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||""}:{},v=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}:{},p=e=>void 0!==e&&e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:null,c=e=>{if(!e)return{};const{button_text:i,button_url:t,status:o,banner_desktop:l,banner_mobile:n}=e,r=a(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(o),bannerDesktop:l||"",bannerMobile:n||""},r)},_={EN:"English",FIL:"Filipino"},g=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in _?_[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),y=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?b(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:m(e.author),reviewer:e.reviewed_by&&m(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:f(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:f(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:f(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:f(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:w(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(w),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:v(e.expert),metaTag:e.meta_tag||null,spotlight:p(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:g(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:w(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:m(e.edit_last),subscriptionBanner:c(e.subscription_banner)}:{}},f=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,b=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},h=e=>({postTitle:e.post_title,permalink:e.permalink}),w=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?b(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=>w(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?h(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>k(e))):null}:{}},k=e=>({title:e.title,content:e.content}),x=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},I=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)}:{},C=e=>{var i,t,o,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===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.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)}:{}},S=e=>e?{answer:null==e?void 0:e.answer.map(A),expert:null==e?void 0:e.expert}:{},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.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===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.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===(p=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(c=e.user)||void 0===c?void 0:c.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:S(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},A=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w,k,x,I,C,S,T,B,D,j,N,P;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(A):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.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===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(c=e.user)||void 0===c?void 0:c.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(I=e.mentioned)||void 0===I?void 0:I.type)||"",email:(null===(C=e.mentioned)||void 0===C?void 0:C.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id)?String(null===(N=e.mentioned)||void 0===N?void 0:N.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},B=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 D=Object.freeze({__proto__:null,formatAuthor:m,formatArticleExpert:v,formatSpotlightsSummary:p,TRANSLATE_LANGUAGES:_,formatTranslateOptions:g,formatArticle:y,formatUserProfile:f,formatBMIResult:e=>{var i,t,o,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!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{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:b,formatReviewedCategory:h,formatCategory:w,formatCategoryApi:e=>e?{categoryInfo:w(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(y),subCategories:(e.data.sub_categories||[]).map(w)}:{},formatFaqsCategory:k,formatHealthTool:x,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>x(e))))&&void 0!==t?t:[]}:{}},formatCommunity:I,formatTopic:C,formatExpertAnswer:S,formatPost:T,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;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===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.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: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}:{},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:A,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?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:B,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?f(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:B(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||""}:{}}});const j=l.div`
85
85
  width: ${e=>e.size||40}px;
86
86
  height: ${e=>e.size||40}px;
87
87
  flex-shrink: 0;
@@ -114,4 +114,4 @@ import e,{useContext as i,useState as t}from"react";import{M as o}from"./utils-2
114
114
  background-color: ${n.mbColors.pink};
115
115
  }
116
116
  }
117
- `,N=o=>{var{className:l,isMarryBaby:n,style:d,avatar:s,username:u,size:m}=o,v=a(o,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:c}}}=i(r),p="boolean"==typeof n?n:c,[_,g]=t(!1);return e.createElement(j,Object.assign({"data-is-marrybaby":p,className:l,style:d,size:m},v),s&&!_?e.createElement("img",{loading:"lazy",src:s,className:"avatar",alt:"avatar",onError:()=>{_||g(!0)}}):e.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{u as P,N as U,T as a,A as b,I as c,D as d,y as e,C as f,w as g,B as h};
117
+ `,N=o=>{var{className:l,isMarryBaby:n,style:d,avatar:s,username:u,size:m}=o,v=a(o,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=i(r),c="boolean"==typeof n?n:p,[_,g]=t(!1);return e.createElement(j,Object.assign({"data-is-marrybaby":c,className:l,style:d,size:m},v),s&&!_?e.createElement("img",{loading:"lazy",src:s,className:"avatar",alt:"avatar",onError:()=>{_||g(!0)}}):e.createElement("div",{className:"avatar avatar-default"},u&&(null==u?void 0:u.length)>0?u[0].toUpperCase():"A"))};export{u as P,N as U,T as a,A as b,I as c,D as d,y as e,C as f,w as g,B as h};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-03e2d67c.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,b as r,d as l,e as i}from"./constants-f262fdad.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:y=!0,actionIcon:b,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:f,size:I,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":I,className:h,"data-has-action-icon":!!b||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},f||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),b&&a.createElement(l,{className:"actionIcon",onClick:v},b)),p&&p.length>0&&y&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,b as r,d as l,e as i}from"./constants-0a031398.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-03e2d67c.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{C as o}from"./index-4b2d0830.js";import{j as a}from"./index-c93ec607.js";import{T as n}from"./index-198fd08e.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{C as o}from"./index-e8b162fc.js";import{j as a}from"./index-bc925c3f.js";import{T as n}from"./index-b1d7a64d.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./tslib.es6-03e2d67c.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Subot-46c8b66e.js";import{C as r}from"./index-4b2d0830.js";import{t as i}from"./theme-1fc9bf92.js";import c from"styled-components";import{I as s,g as d}from"./index-c93ec607.js";import{T as p}from"./index-696ca464.js";const m=c.div`
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Subot-5b04d983.js";import{C as r}from"./index-e8b162fc.js";import{t as i}from"./theme-a46125e9.js";import c from"styled-components";import{I as s,g as d}from"./index-bc925c3f.js";import{T as p}from"./index-0a912c05.js";const m=c.div`
2
2
  display: inline-flex;
3
3
  overflow: hidden;
4
4
  width: ${e=>e.size}px;
@@ -36,9 +36,9 @@ import{_ as e}from"./tslib.es6-03e2d67c.js";import t,{useMemo as n,useState as a
36
36
  & > * {
37
37
  pointer-events: none;
38
38
  }
39
- `,h=[l.Myanmar,l.Taiwan],v=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:v,dataEventAction:b,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const C=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":v,"data-event-action":b,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),C?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},h.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},h.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
39
+ `,b=[l.Myanmar,l.Taiwan],h=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const C=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),C?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
40
40
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
41
- `,b=c(d.Slide)`
41
+ `,v=c(d.Slide)`
42
42
  cursor: pointer;
43
43
  > div * {
44
44
  pointer-events: none;
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-03e2d67c.js";import t,{useMemo as n,useState as a
47
47
  .centerred-pill-wrapper {
48
48
  padding: 16px 0;
49
49
  }
50
- `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,C]=a("");return o((()=>{C(window.location.href)}),[]),t.createElement(u,Object.assign({},h,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(b,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(v,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
50
+ `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,C]=a("");return o((()=>{C(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(v,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
@@ -1 +1 @@
1
- import{a as e,_ as t}from"./tslib.es6-03e2d67c.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as n,Input as c}from"@mantine/core";import{d as o,S as d}from"./index-c93ec607.js";import"@mantine/dates";import{c as l}from"./index-3f24fd41.js";import{L as p}from"./Subot-46c8b66e.js";import"./index-4b2d0830.js";import"./index-198fd08e.js";import"./theme-1fc9bf92.js";import{u as v}from"./useTranslations-b7d4a160.js";import"@mantine/hooks";import{M as m}from"./utils-547d93ca.js";const u={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},b=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,n]=a(b,u),{provinceByName:c,provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E}=s,[g,j]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${m[r]}.json`)).then((e=>e.json()));j(i);const{list:c}=i,o=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,c):c,d=Object.keys(o),v=Object.keys((null===(e=c[d[0]])||void 0===e?void 0:e.list)||{}),u=Object.keys((null===(a=null===(s=c[d[0]])||void 0===s?void 0:s[v[0]])||void 0===a?void 0:a.list)||{});n({type:"SET_DATA",payload:{provinceByName:o,provinces:d,districts:v,wards:u}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=c[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=c[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:a}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,m=t(e,["error","provinces","placeholder"]);const{t:u}=v(),{provinces:b,districts:y,wards:E,selectedProvince:g,selectedDistrict:j,selectedWard:C,handleProvinceChange:S,handleDistrictChange:T,handleWardChange:O}=h({provinces:l}),[f,D]=r("");return i((()=>{g&&j&&C&&f?m.onChange({selectedProvince:g,selectedDistrict:j,selectedWard:C,extraInfo:f}):m.onChange(null)}),[g,j,C,f]),s.createElement(o.Wrapper,Object.assign({withAsterisk:!0},m),s.createElement(n,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||u("onboarding.similac.input.city"),data:l?b:b.sort(),searchable:!0,onChange:S,value:g}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||u("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:T,value:j,disabled:!g}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:C,onChange:O,disabled:!g||!j}),s.createElement(o,{placeholder:(null==p?void 0:p.address)||u("onboarding.similac.input.no"),disabled:!g||!j||!C,value:f,onChange:D,style:{marginBottom:0}})),s.createElement(c.Error,{size:"md"},a))};export{y as A};
1
+ import{a as e,_ as t}from"./tslib.es6-8ed6f2bc.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as n,Input as c}from"@mantine/core";import{d as o,S as d}from"./index-bc925c3f.js";import"@mantine/dates";import{c as l}from"./index-36e0acd5.js";import{L as p}from"./Subot-5b04d983.js";import"./index-e8b162fc.js";import"./index-b1d7a64d.js";import"./theme-a46125e9.js";import{u as v}from"./useTranslations-2bc5a07f.js";import"@mantine/hooks";import{M as m}from"./utils-b9b2d4ee.js";const b={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,n]=a(u,b),{provinceByName:c,provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E}=s,[g,j]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${m[r]}.json`)).then((e=>e.json()));j(i);const{list:c}=i,o=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,c):c,d=Object.keys(o),v=Object.keys((null===(e=c[d[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(a=null===(s=c[d[0]])||void 0===s?void 0:s[v[0]])||void 0===a?void 0:a.list)||{});n({type:"SET_DATA",payload:{provinceByName:o,provinces:d,districts:v,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=c[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=c[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:a}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,m=t(e,["error","provinces","placeholder"]);const{t:b}=v(),{provinces:u,districts:y,wards:E,selectedProvince:g,selectedDistrict:j,selectedWard:C,handleProvinceChange:S,handleDistrictChange:T,handleWardChange:O}=h({provinces:l}),[D,f]=r("");return i((()=>{g&&j&&C&&D?m.onChange({selectedProvince:g,selectedDistrict:j,selectedWard:C,extraInfo:D}):m.onChange(null)}),[g,j,C,D]),s.createElement(o.Wrapper,Object.assign({withAsterisk:!0},m),s.createElement(n,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||b("onboarding.similac.input.city"),data:l?u:u.sort(),searchable:!0,onChange:S,value:g}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||b("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:T,value:j,disabled:!g}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||b("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:C,onChange:O,disabled:!g||!j}),s.createElement(o,{placeholder:(null==p?void 0:p.address)||b("onboarding.similac.input.no"),disabled:!g||!j||!C,value:D,onChange:f,style:{marginBottom:0}})),s.createElement(c.Error,{size:"md"},a))};export{y as A};
@@ -0,0 +1 @@
1
+ import{_ as t}from"./tslib.es6-8ed6f2bc.js";import a from"react";import{B as o}from"./index-bc925c3f.js";const d=d=>{var{size:e,color:i="primary",isDisabled:r,isBlock:c,title:n,onClick:l,icon:s,iconPosition:u="left",children:p,isLoading:P=!1,loadingText:g,dataEventCategory:v,dataEventAction:b,dataEventLabel:m,dataProductChannel:y,dataProductSku:C,dataProductBrand:f,dataProductName:h,dataProductPrice:k,dataProductCategory:E,dataProductPosition:B,type:x}=d,L=t(d,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const j={"data-event-category":v,"data-event-action":b,"data-event-label":m,"data-product-channel":y,"data-product-sku":C,"data-product-brand":f,"data-product-name":h,"data-product-price":k,"data-product-category":E,"data-product-position":B};return a.createElement(o,Object.assign({},j,{size:e,variant:"transparent"===i?"white":"danger"===i?"error":i,disabled:r,onClick:t=>{!P&&!r&&l&&l(t)},title:n,loading:P,type:x,leftIcon:"left"===u?s:void 0,rightIcon:"right"===u?s:void 0,w:c?"100%":void 0,p:c?"12px auto":void 0},L),P&&g||p)};export{d as B};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-8ed6f2bc.js";import o from"react";import{Indicator as t}from"@mantine/core";import{t as r}from"./theme-a46125e9.js";const s=s=>{var{styles:i,color:n=r.colors.red700}=s,a=e(s,["styles","color"]);return o.createElement(t,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},a))};export{s as I};