@hhgtech/hhg-components 1.29.77 → 1.29.78

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 (290) hide show
  1. package/build/{Instagram-10720435.js → Instagram-f68f1dae.js} +1 -1
  2. package/build/adapters.js +15 -15
  3. package/build/babyGrowth.js +80 -80
  4. package/build/cache.js +3 -3
  5. package/build/care.js +18 -18
  6. package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
  7. package/build/components/navigationV2/index.d.ts +1 -0
  8. package/build/components.js +83 -82
  9. package/build/{constants-39c86c0a.js → constants-385d01e7.js} +2 -2
  10. package/build/constants.js +3 -3
  11. package/build/{core-44b6c361.js → core-e0799ceb.js} +2 -2
  12. package/build/{dataTransform-33582353.js → dataTransform-c8c14a28.js} +1 -1
  13. package/build/{utils-027dab7c.js → defaultClassWrapper-8ac3b7f0.js} +118 -392
  14. package/build/ecom.js +5 -5
  15. package/build/esm/{Instagram-becdb106.js → Instagram-8dd26ac6.js} +1 -1
  16. package/build/esm/adapters.js +15 -15
  17. package/build/esm/babyGrowth.js +81 -81
  18. package/build/esm/cache.js +3 -3
  19. package/build/esm/care.js +17 -17
  20. package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +2 -1
  21. package/build/esm/components/navigationV2/index.d.ts +1 -0
  22. package/build/esm/components.js +59 -58
  23. package/build/esm/{constants-1cc39551.js → constants-5d6ab948.js} +2 -2
  24. package/build/esm/constants.js +3 -3
  25. package/build/esm/{core-adbcbe2f.js → core-296015da.js} +2 -2
  26. package/build/esm/{dataTransform-38a6ba25.js → dataTransform-0066c53b.js} +1 -1
  27. package/build/esm/{utils-e8c78fa7.js → defaultClassWrapper-8112e475.js} +108 -381
  28. package/build/esm/ecom.js +5 -5
  29. package/build/esm/footer.js +18 -18
  30. package/build/esm/gAssets.js +4 -4
  31. package/build/esm/{getDynamicHealthTool-fa828c1a.js → getDynamicHealthTool-7cf3f00e.js} +4 -4
  32. package/build/esm/{getSocialList-d49f96d5.js → getSocialList-f797bbe2.js} +31 -12
  33. package/build/esm/hooks.js +17 -17
  34. package/build/esm/i18n.js +2 -2
  35. package/build/esm/i18nV2.js +2 -2
  36. package/build/esm/index-043dfbc3.js +216 -0
  37. package/build/esm/{index-36e18ffd.js → index-09ecd45f.js} +37 -36
  38. package/build/esm/{index-c8e55b19.js → index-13975e28.js} +4 -4
  39. package/build/esm/{index-62a8b174.js → index-25209a23.js} +37 -37
  40. package/build/esm/{index-bffe0e7b.js → index-2da84fe8.js} +1 -1
  41. package/build/esm/{index-0fed808d.js → index-2e13488d.js} +2 -2
  42. package/build/esm/{index-2f968acd.js → index-30eb73b8.js} +3 -3
  43. package/build/esm/{index-de28335d.js → index-4e6d8f1c.js} +11 -11
  44. package/build/esm/{index-3d150702.js → index-5b69b19c.js} +2 -2
  45. package/build/esm/{index-258af431.js → index-5c2abf3a.js} +1052 -1052
  46. package/build/esm/{index-8450b670.js → index-62059a85.js} +2 -2
  47. package/build/esm/{index-95029090.js → index-6896ecdf.js} +2 -2
  48. package/build/esm/{index-d6a9a175.js → index-6c7832ac.js} +21 -21
  49. package/build/esm/{index-95b9fc82.js → index-70bb6ed3.js} +120 -120
  50. package/build/esm/{index-16af59c8.js → index-869411be.js} +10 -10
  51. package/build/esm/{index-3131a682.js → index-94f2f772.js} +2 -2
  52. package/build/esm/{constants-2eb60c45.js → index-9dd8721c.js} +113 -113
  53. package/build/esm/{index-ae717003.js → index-a2404202.js} +2 -2
  54. package/build/esm/{index-d62e3f04.js → index-ad1d81e3.js} +2 -2
  55. package/build/esm/{index-bb71b6ce.js → index-b45321ac.js} +6 -6
  56. package/build/esm/{index-a1f5a5c0.js → index-b851beaf.js} +1 -1
  57. package/build/esm/index-b9666693.js +298 -0
  58. package/build/esm/{index-9e37013f.js → index-c8e5b7ad.js} +5 -5
  59. package/build/esm/{index-c6d9afaf.js → index-dd00700b.js} +2 -2
  60. package/build/esm/{index-26a17cf1.js → index-e80cb404.js} +12 -12
  61. package/build/esm/{index-2dfe0c66.js → index-ed317f58.js} +62 -62
  62. package/build/esm/{index-10f8055c.js → index-f160e379.js} +2 -2
  63. package/build/esm/{index-8ac7b919.js → index-fc868dc0.js} +5 -5
  64. package/build/esm/index.css +1 -1
  65. package/build/esm/index.js +66 -65
  66. package/build/esm/{index.styled-64a9c965.js → index.styled-19fa0003.js} +2 -2
  67. package/build/esm/{index.styles-d670cbe0.js → index.styles-0693a12e.js} +78 -78
  68. package/build/esm/lead.js +28 -28
  69. package/build/esm/mantine.js +20 -20
  70. package/build/esm/misc.js +23 -20
  71. package/build/esm/navigation.js +35 -35
  72. package/build/esm/onboardingV2.js +32 -32
  73. package/build/esm/pwg.js +19 -19
  74. package/build/esm/{routing-878abd29.js → routing-ddff6eb9.js} +2 -2
  75. package/build/esm/subot.js +27 -233
  76. package/build/esm/together.js +35 -35
  77. package/build/esm/{types-a9beb2c2.js → types-1ab8164a.js} +13 -13
  78. package/build/esm/{types-7d111505.js → types-29a56da4.js} +30 -30
  79. package/build/esm/types.js +1 -1
  80. package/build/esm/{useCategory-d9b70788.js → useCategory-00116196.js} +5 -5
  81. package/build/esm/{useHealthToolCache-606d76d5.js → useHealthToolCache-298307bc.js} +2 -2
  82. package/build/esm/{useMantineLocale-4a5da5bb.js → useMantineLocale-e9d07649.js} +3 -3
  83. package/build/esm/{usePlacesAutocomplete-ec3d3a0c.js → usePlacesAutocomplete-3c09ae6c.js} +1 -1
  84. package/build/esm/{useTranslations-d90d5386.js → useTranslations-ee0ed7e4.js} +1 -1
  85. package/build/esm/{utils-9a265ccf.js → utils-70fb5414.js} +4 -4
  86. package/build/esm/{utils-0a07daac.js → utils-98843bdc.js} +1 -1
  87. package/build/esm/vaccination.js +26 -26
  88. package/build/footer.js +18 -18
  89. package/build/gAssets.js +4 -4
  90. package/build/{getDynamicHealthTool-407c625b.js → getDynamicHealthTool-fe5aca1c.js} +4 -4
  91. package/build/{getSocialList-4bfd3bcd.js → getSocialList-717ee974.js} +32 -13
  92. package/build/hooks.js +17 -17
  93. package/build/i18n.js +1 -1
  94. package/build/i18nV2.js +1 -1
  95. package/build/{index-9c6a769a.js → index-172570c5.js} +5 -5
  96. package/build/{index-2ad99c01.js → index-266faebd.js} +2 -2
  97. package/build/{index-44c62bda.js → index-297519c0.js} +3 -3
  98. package/build/{index-389ed3cc.js → index-2dd62be1.js} +12 -12
  99. package/build/{index-1867685a.js → index-2ed617c9.js} +6 -6
  100. package/build/{index-9b49e11b.js → index-2f39a918.js} +4 -4
  101. package/build/{index-a9b49c5d.js → index-3f5ce427.js} +11 -11
  102. package/build/{index-26695c30.js → index-3fea5307.js} +2 -2
  103. package/build/{index-38f1f6f3.js → index-50cc6ee0.js} +22 -22
  104. package/build/{index-f9919edd.js → index-58d6aa20.js} +10 -10
  105. package/build/{index-5ef6d523.js → index-657d308e.js} +2 -2
  106. package/build/{constants-451fe312.js → index-714baad1.js} +113 -113
  107. package/build/{index-028a4e83.js → index-888fe1c7.js} +2 -2
  108. package/build/{index-8fbffaaf.js → index-896cf1e8.js} +55 -55
  109. package/build/{index-b3edc143.js → index-8bbc5f6c.js} +2 -2
  110. package/build/{index-b2fc27d1.js → index-a74e681a.js} +1 -1
  111. package/build/{index-2ef89336.js → index-bd99a93f.js} +1050 -1050
  112. package/build/{index-358bd4c9.js → index-c6d8ee38.js} +68 -68
  113. package/build/{index-ebe8498b.js → index-ca2880f5.js} +48 -47
  114. package/build/index-d37fb502.js +233 -0
  115. package/build/{index-8c0b1c02.js → index-d98b6533.js} +2 -2
  116. package/build/{index-65c1110f.js → index-de879d05.js} +120 -120
  117. package/build/{index-41aeff4b.js → index-e1d386b9.js} +7 -7
  118. package/build/{index-23af6839.js → index-e76edc59.js} +8 -8
  119. package/build/{index-10b71661.js → index-f5c1576f.js} +2 -2
  120. package/build/{WhatsApp-3fd26435.js → index-fbc4ad0a.js} +276 -1
  121. package/build/{index-38b2495c.js → index-fd9e9e31.js} +2 -2
  122. package/build/index.css +1 -1
  123. package/build/index.js +108 -107
  124. package/build/{index.styled-07682ea0.js → index.styled-cd56f718.js} +2 -2
  125. package/build/{index.styles-7b2242d2.js → index.styles-15b57fec.js} +83 -83
  126. package/build/lead.js +28 -28
  127. package/build/mantine.js +17 -17
  128. package/build/misc.js +23 -20
  129. package/build/navigation.js +35 -35
  130. package/build/onboardingV2.js +31 -31
  131. package/build/pwg.js +19 -19
  132. package/build/{routing-b981f60b.js → routing-101c464a.js} +2 -2
  133. package/build/subot.js +338 -545
  134. package/build/together.js +40 -40
  135. package/build/{types-efd3a733.js → types-65270049.js} +49 -49
  136. package/build/{types-44e5bb3b.js → types-bc9b7ff5.js} +191 -191
  137. package/build/types.js +1 -1
  138. package/build/{useCategory-afc35cb8.js → useCategory-99167875.js} +5 -5
  139. package/build/{useHealthToolCache-a2d8b96c.js → useHealthToolCache-347a7553.js} +2 -2
  140. package/build/{useMantineLocale-b2014fa7.js → useMantineLocale-67d093f5.js} +3 -3
  141. package/build/{usePlacesAutocomplete-6c1d9d08.js → usePlacesAutocomplete-0d428f7d.js} +1 -1
  142. package/build/{useTranslations-7cf26ebc.js → useTranslations-ddee03e3.js} +1 -1
  143. package/build/{utils-2bce0db7.js → utils-bc89f5c8.js} +4 -4
  144. package/build/{utils-5ef558ae.js → utils-f2b61d2c.js} +1 -1
  145. package/build/vaccination.js +26 -26
  146. package/package.json +1 -1
  147. package/build/esm/WhatsApp-ea79e6c6.js +0 -24
  148. /package/build/{BMI_BOYS.percentile.monthly-cb72630c.js → BMI_BOYS.percentile.monthly-2dbe6dbf.js} +0 -0
  149. /package/build/{BMI_BOYS.percentile.weekly-d0234fe6.js → BMI_BOYS.percentile.weekly-68fd0e8a.js} +0 -0
  150. /package/build/{BMI_BOYS.percentile.yearly-45f72d65.js → BMI_BOYS.percentile.yearly-a334f00f.js} +0 -0
  151. /package/build/{BMI_BOYS.zscore.monthly-1d54e60c.js → BMI_BOYS.zscore.monthly-f1f1e40c.js} +0 -0
  152. /package/build/{BMI_BOYS.zscore.weekly-3a7f8b58.js → BMI_BOYS.zscore.weekly-eaadf495.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.yearly-2e2fde40.js → BMI_BOYS.zscore.yearly-ee0a8baa.js} +0 -0
  154. /package/build/{BMI_GIRLS.percentile.monthly-0b957ea8.js → BMI_GIRLS.percentile.monthly-2a4322e1.js} +0 -0
  155. /package/build/{BMI_GIRLS.percentile.weekly-35358161.js → BMI_GIRLS.percentile.weekly-8d2160f3.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.yearly-86cf64c3.js → BMI_GIRLS.percentile.yearly-e305a1c3.js} +0 -0
  157. /package/build/{BMI_GIRLS.zscore.monthly-9c33405d.js → BMI_GIRLS.zscore.monthly-370967e2.js} +0 -0
  158. /package/build/{BMI_GIRLS.zscore.weekly-1756b9f7.js → BMI_GIRLS.zscore.weekly-82dbdbeb.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.yearly-f1a80a3f.js → BMI_GIRLS.zscore.yearly-b624b0c5.js} +0 -0
  160. /package/build/{ChevronDown-4759a935.js → ChevronDown-6a728605.js} +0 -0
  161. /package/build/{Close-0228d203.js → Close-6a790433.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6b654f6e.js → HEAD CIRCUM_BOYS.percentile.monthly-2d793b40.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-57dd7208.js → HEAD CIRCUM_BOYS.percentile.weekly-3ec0fbcd.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cfbf8e37.js → HEAD CIRCUM_BOYS.percentile.yearly-018cfad7.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2fdfecbf.js → HEAD CIRCUM_BOYS.zscore.monthly-9a92fc56.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b9088de4.js → HEAD CIRCUM_BOYS.zscore.weekly-ec5c1b66.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c6448a06.js → HEAD CIRCUM_BOYS.zscore.yearly-1bbc9e90.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8cebd1c4.js → HEAD CIRCUM_GIRLS.percentile.monthly-88bf7054.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-799abee7.js → HEAD CIRCUM_GIRLS.percentile.weekly-48abc5c8.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b183def6.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb5476be.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c3c54f79.js → HEAD CIRCUM_GIRLS.zscore.monthly-b4908eed.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e3c9e267.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb3b5b73.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-66f1302c.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e459c3a.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.percentile.monthly-bc422249.js → HEIGHT_BOYS.percentile.monthly-de26b886.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.percentile.weekly-56e69b4e.js → HEIGHT_BOYS.percentile.weekly-2b1a480e.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.yearly-9dcdc2e4.js → HEIGHT_BOYS.percentile.yearly-9e11bf8a.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.zscore.monthly-3d513fd7.js → HEIGHT_BOYS.zscore.monthly-169b72ab.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.zscore.weekly-e4db0dd5.js → HEIGHT_BOYS.zscore.weekly-1f51ea7a.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.yearly-20b4c77d.js → HEIGHT_BOYS.zscore.yearly-2defb1ff.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.percentile.monthly-4492f4fd.js → HEIGHT_GIRLS.percentile.monthly-ff09a166.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.percentile.weekly-98a1ca0d.js → HEIGHT_GIRLS.percentile.weekly-bdbad8b3.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.yearly-e22a6bba.js → HEIGHT_GIRLS.percentile.yearly-a7cf5de3.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.zscore.monthly-638e6a18.js → HEIGHT_GIRLS.zscore.monthly-bc88d68f.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.zscore.weekly-31393170.js → HEIGHT_GIRLS.zscore.weekly-4b1bb4f7.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.yearly-2bf0a4a8.js → HEIGHT_GIRLS.zscore.yearly-6d54fcc8.js} +0 -0
  186. /package/build/{Visible-47686e3a.js → Visible-cf684c77.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.percentile.monthly-f4167182.js → WEIGHT_BOYS.percentile.monthly-69735b17.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.percentile.weekly-e1a5993f.js → WEIGHT_BOYS.percentile.weekly-60881421.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.percentile.yearly-2e427419.js → WEIGHT_BOYS.percentile.yearly-bac67ed1.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.zscore.monthly-8fb3a2b7.js → WEIGHT_BOYS.zscore.monthly-e9254299.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.zscore.weekly-ebcff8a7.js → WEIGHT_BOYS.zscore.weekly-6b82cd2d.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.zscore.yearly-fb7bb26f.js → WEIGHT_BOYS.zscore.yearly-43cc1986.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.percentile.monthly-e7848f0f.js → WEIGHT_GIRLS.percentile.monthly-38847b2b.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.percentile.weekly-337f576e.js → WEIGHT_GIRLS.percentile.weekly-2ac2ee92.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.percentile.yearly-6ee35204.js → WEIGHT_GIRLS.percentile.yearly-3401e100.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.zscore.monthly-4390e00e.js → WEIGHT_GIRLS.zscore.monthly-4f257d09.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.zscore.weekly-b2742b05.js → WEIGHT_GIRLS.zscore.weekly-fe8ea3a5.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.zscore.yearly-fea85463.js → WEIGHT_GIRLS.zscore.yearly-c780b33b.js} +0 -0
  199. /package/build/{animation-6fbad6af.js → animation-6f210c4a.js} +0 -0
  200. /package/build/{cart-c527be69.js → cart-d48967a8.js} +0 -0
  201. /package/build/{cookieHelper-2f7b8bb5.js → cookieHelper-6fa2ed3a.js} +0 -0
  202. /package/build/{doctor-c26d2588.js → doctor-d70d0f31.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.percentile.monthly-68db008a.js → BMI_BOYS.percentile.monthly-2c7cf81c.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.percentile.weekly-48ca1732.js → BMI_BOYS.percentile.weekly-963d00dc.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.yearly-ae0d3d02.js → BMI_BOYS.percentile.yearly-4eea698f.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.zscore.monthly-3a642bb7.js → BMI_BOYS.zscore.monthly-f5544376.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.zscore.weekly-249d18d3.js → BMI_BOYS.zscore.weekly-4656cd4c.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.yearly-4f9791ee.js → BMI_BOYS.zscore.yearly-39ccd0fd.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.percentile.monthly-3b599a05.js → BMI_GIRLS.percentile.monthly-d7501958.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.percentile.weekly-16607ad8.js → BMI_GIRLS.percentile.weekly-315ba23e.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.yearly-73336b57.js → BMI_GIRLS.percentile.yearly-5afebffb.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.zscore.monthly-8f848687.js → BMI_GIRLS.zscore.monthly-9c659c70.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.zscore.weekly-8e2a9f4a.js → BMI_GIRLS.zscore.weekly-f72193e8.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.yearly-e34dfaa4.js → BMI_GIRLS.zscore.yearly-33a16ebf.js} +0 -0
  215. /package/build/esm/{ChevronDown-c0329f44.js → ChevronDown-51088ad9.js} +0 -0
  216. /package/build/esm/{Close-d87e464b.js → Close-851c8b38.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-527dce16.js → HEAD CIRCUM_BOYS.percentile.monthly-522b5435.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-98dd0a97.js → HEAD CIRCUM_BOYS.percentile.weekly-72d04552.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8166ecf3.js → HEAD CIRCUM_BOYS.percentile.yearly-e68e4904.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-30285ff5.js → HEAD CIRCUM_BOYS.zscore.monthly-89b9b642.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cb5a5177.js → HEAD CIRCUM_BOYS.zscore.weekly-c8c2ae6a.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6fb22cde.js → HEAD CIRCUM_BOYS.zscore.yearly-0cf56dc8.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-04b6b926.js → HEAD CIRCUM_GIRLS.percentile.monthly-ef9dbfc9.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1241a9ec.js → HEAD CIRCUM_GIRLS.percentile.weekly-831567fe.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-744c910b.js → HEAD CIRCUM_GIRLS.percentile.yearly-0e89170b.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d84c6e78.js → HEAD CIRCUM_GIRLS.zscore.monthly-82564fb7.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b9ca043.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b1845ec.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8d2bfd9b.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b65120d.js} +0 -0
  229. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-99472da3.js → HEIGHT_BOYS.percentile.monthly-ecfdee13.js} +0 -0
  230. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1aee0bde.js → HEIGHT_BOYS.percentile.weekly-2bae8fa8.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-38092fb0.js → HEIGHT_BOYS.percentile.yearly-4cf5eb0c.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-f3f65922.js → HEIGHT_BOYS.zscore.monthly-5978dd63.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-70d2afc1.js → HEIGHT_BOYS.zscore.weekly-0e20ae65.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4e6e2a36.js → HEIGHT_BOYS.zscore.yearly-9f9ecc92.js} +0 -0
  235. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f5deee2b.js → HEIGHT_GIRLS.percentile.monthly-244b7899.js} +0 -0
  236. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c657519.js → HEIGHT_GIRLS.percentile.weekly-867f533c.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1deed5e9.js → HEIGHT_GIRLS.percentile.yearly-8334ef62.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cb644457.js → HEIGHT_GIRLS.zscore.monthly-89dc2f92.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-49dd8375.js → HEIGHT_GIRLS.zscore.weekly-c37a8e45.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-950158e4.js → HEIGHT_GIRLS.zscore.yearly-d75c7342.js} +0 -0
  241. /package/build/esm/{Visible-73c96479.js → Visible-2b82b731.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2ed3f112.js → WEIGHT_BOYS.percentile.monthly-afa954cf.js} +0 -0
  243. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3ced9bfa.js → WEIGHT_BOYS.percentile.weekly-0ce8ca9d.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e200a25c.js → WEIGHT_BOYS.percentile.yearly-9bc9d108.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4a00ce48.js → WEIGHT_BOYS.zscore.monthly-c41e3c26.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cbd95b9c.js → WEIGHT_BOYS.zscore.weekly-927605d1.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-70fa4821.js → WEIGHT_BOYS.zscore.yearly-10a9c6a3.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e887c3ea.js → WEIGHT_GIRLS.percentile.monthly-c3957e70.js} +0 -0
  249. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-01c5ac35.js → WEIGHT_GIRLS.percentile.weekly-5413b078.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-27fc7e31.js → WEIGHT_GIRLS.percentile.yearly-fbef8c0c.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bf8085a6.js → WEIGHT_GIRLS.zscore.monthly-e89aa92b.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-729252a6.js → WEIGHT_GIRLS.zscore.weekly-7a014b5a.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7aae5db4.js → WEIGHT_GIRLS.zscore.yearly-0cae1bb9.js} +0 -0
  254. /package/build/esm/{animation-791a5496.js → animation-89cd92dc.js} +0 -0
  255. /package/build/esm/{cart-24fe471a.js → cart-b5b2f9c9.js} +0 -0
  256. /package/build/esm/{cookieHelper-dc30b23e.js → cookieHelper-6839de86.js} +0 -0
  257. /package/build/esm/{doctor-407e7c56.js → doctor-a16d5a2a.js} +0 -0
  258. /package/build/esm/{index-24b9c26b.js → index-207e5a99.js} +0 -0
  259. /package/build/esm/{index-e39cfd72.js → index-3f16918f.js} +0 -0
  260. /package/build/esm/{index-a3f9e8d3.js → index-b1dfbcd9.js} +0 -0
  261. /package/build/esm/{isProduction-34384c12.js → isProduction-6557a7a7.js} +0 -0
  262. /package/build/esm/{localizeNumberFormat-674a367b.js → localizeNumberFormat-1efb07bf.js} +0 -0
  263. /package/build/esm/{normalizeLink-8ab2c8da.js → normalizeLink-9adb98bb.js} +0 -0
  264. /package/build/esm/{number-ba9ba596.js → number-7673e170.js} +0 -0
  265. /package/build/esm/{paths-50f78662.js → paths-1a0405c1.js} +0 -0
  266. /package/build/esm/{theme-f9fa9f7d.js → theme-676e1d3e.js} +0 -0
  267. /package/build/esm/{translationsContext-af680337.js → translationsContext-b00d46fa.js} +0 -0
  268. /package/build/esm/{tslib.es6-8f144c22.js → tslib.es6-42d35711.js} +0 -0
  269. /package/build/esm/{useIsInit-8490d361.js → useIsInit-d65429ab.js} +0 -0
  270. /package/build/esm/{useOutsideClick-43bfe834.js → useOutsideClick-3b36c560.js} +0 -0
  271. /package/build/esm/{useScrollbarSize-7162b71f.js → useScrollbarSize-7cfe3d07.js} +0 -0
  272. /package/build/esm/{useUniqueId-472fb987.js → useUniqueId-28b8a8d2.js} +0 -0
  273. /package/build/esm/{utils-1997593f.js → utils-0f3667a8.js} +0 -0
  274. /package/build/{index-e8aa716f.js → index-0c11098b.js} +0 -0
  275. /package/build/{index-058eef4b.js → index-3d1716ad.js} +0 -0
  276. /package/build/{index-f9037c98.js → index-c4b66929.js} +0 -0
  277. /package/build/{index-bc8ea61e.js → index-d38624f2.js} +0 -0
  278. /package/build/{isProduction-38f0d828.js → isProduction-cc2f71e7.js} +0 -0
  279. /package/build/{localizeNumberFormat-a3608c43.js → localizeNumberFormat-72f6c627.js} +0 -0
  280. /package/build/{normalizeLink-e4b395be.js → normalizeLink-37b001e0.js} +0 -0
  281. /package/build/{number-9ed235ec.js → number-3c00e9ff.js} +0 -0
  282. /package/build/{paths-e9129f2e.js → paths-22150d98.js} +0 -0
  283. /package/build/{theme-9f0f3820.js → theme-040e6fd9.js} +0 -0
  284. /package/build/{translationsContext-bfbdca60.js → translationsContext-bece07e0.js} +0 -0
  285. /package/build/{tslib.es6-fd9cd13e.js → tslib.es6-a8c3b1ed.js} +0 -0
  286. /package/build/{useIsInit-35d2df26.js → useIsInit-78fbbf00.js} +0 -0
  287. /package/build/{useOutsideClick-1f18b14b.js → useOutsideClick-f4ac5964.js} +0 -0
  288. /package/build/{useScrollbarSize-645a7822.js → useScrollbarSize-df8fb771.js} +0 -0
  289. /package/build/{useUniqueId-07b21aa4.js → useUniqueId-a3ed3f40.js} +0 -0
  290. /package/build/{utils-07a0efea.js → utils-a2ad9aa3.js} +0 -0
@@ -1,9 +1,10 @@
1
1
  import React__default from 'react';
2
- import { _ as __rest } from './tslib.es6-8f144c22.js';
3
- import { I as Instagram } from './Instagram-becdb106.js';
4
- import { W as WhatsApp } from './WhatsApp-ea79e6c6.js';
5
- import { S as SocialType, L as LOCALE } from './index-a1f5a5c0.js';
6
- import { C as CommonGAssets } from './index-0fed808d.js';
2
+ import { _ as __rest } from './tslib.es6-42d35711.js';
3
+ import { I as Instagram } from './Instagram-8dd26ac6.js';
4
+ import { W as WhatsApp } from './index-b9666693.js';
5
+ import { S as SocialType, L as LOCALE } from './index-b851beaf.js';
6
+ import { C as CommonGAssets } from './index-2e13488d.js';
7
+ import { g as getHelloSitesUrl } from './index-043dfbc3.js';
7
8
 
8
9
  const Facebook = (_a) => {
9
10
  var { size } = _a, rest = __rest(_a, ["size"]);
@@ -67,12 +68,24 @@ const Viber = (_a) => {
67
68
  React__default.createElement("path", { d: "M15.998 11a3.5 3.5 0 0 1 3.5 3.5.5.5 0 0 1-1 0 2.5 2.5 0 0 0-2.5-2.5h-.045a.5.5 0 1 1 0-1zm5.288 8.44a.77.77 0 0 0-.105-.951 12.6 12.6 0 0 0-1.98-1.43.88.88 0 0 0-1.115.155l-.405.505c-.51.63-2.07-.315-2.81-1.088-.775-.745-1.72-2.302-1.09-2.813l.505-.401a.88.88 0 0 0 .155-1.117 12 12 0 0 0-1.43-1.98.766.766 0 0 0-.95-.107 4.5 4.5 0 0 0-1.04.845 1.32 1.32 0 0 0-.355 1.357 14.8 14.8 0 0 0 3.21 5.212 14.9 14.9 0 0 0 5.21 3.207 1.32 1.32 0 0 0 1.36-.352q.476-.475.84-1.041", fill: "#fff" })));
68
69
  };
69
70
 
71
+ function formatShareUrl(url, locale, channel) {
72
+ const fullUrl = url.startsWith('http')
73
+ ? url
74
+ : `${getHelloSitesUrl(locale)}${url}`;
75
+ return channel
76
+ ? (() => {
77
+ const newUrl = new URLSearchParams(fullUrl);
78
+ newUrl.append('channel', channel);
79
+ return newUrl.toString();
80
+ })()
81
+ : fullUrl;
82
+ }
70
83
  const getSocialList = ({ shareUrl, size = 32, locale, }) => [
71
84
  {
72
85
  icon: React__default.createElement(Facebook, { size: size }),
73
86
  name: 'Facebook',
74
87
  type: SocialType.Facebook,
75
- href: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,
88
+ href: `https://www.facebook.com/sharer/sharer.php?u=${formatShareUrl(shareUrl, locale, SocialType.Facebook)}`,
76
89
  },
77
90
  {
78
91
  icon: (React__default.createElement("img", { src: CommonGAssets.getAssetPath('zalo-mini.png'), alt: "Zalo", style: {
@@ -81,32 +94,32 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
81
94
  }, loading: "lazy" })),
82
95
  name: 'Zalo',
83
96
  type: SocialType.Zalo,
84
- href: `https://sp.zalo.me/share?href=${shareUrl}`,
97
+ href: `https://sp.zalo.me/share?href=${formatShareUrl(shareUrl, locale, SocialType.Zalo)}`,
85
98
  allowedLocales: [LOCALE.Vietnam],
86
99
  },
87
100
  {
88
101
  icon: React__default.createElement(Twitter, { size: size }),
89
102
  name: 'Twitter',
90
103
  type: SocialType.Twitter,
91
- href: `https://twitter.com/intent/tweet?url=${shareUrl}`,
104
+ href: `https://twitter.com/intent/tweet?url=${formatShareUrl(shareUrl, locale, SocialType.Twitter)}`,
92
105
  },
93
106
  {
94
107
  icon: React__default.createElement(WhatsApp, { size: size }),
95
108
  name: 'WhatsApp',
96
109
  type: SocialType.WhatsApp,
97
- href: `https://wa.me/?text=${shareUrl}`,
110
+ href: `https://wa.me/?text=${formatShareUrl(shareUrl, locale, SocialType.WhatsApp)}`,
98
111
  },
99
112
  {
100
113
  icon: React__default.createElement(Linkedin, { size: size }),
101
114
  name: 'LinkedIn',
102
115
  type: SocialType.LinkedIn,
103
- href: `https://www.linkedin.com/sharing/share-offsite/?url=${shareUrl}`,
116
+ href: `https://www.linkedin.com/sharing/share-offsite/?url=${formatShareUrl(shareUrl, locale, SocialType.LinkedIn)}`,
104
117
  },
105
118
  {
106
119
  icon: React__default.createElement(Line, { size: size }),
107
120
  name: 'Line',
108
121
  type: SocialType.Line,
109
- href: `http://line.me/R/msg/text/?${shareUrl}`,
122
+ href: `http://line.me/R/msg/text/?${formatShareUrl(shareUrl, locale, SocialType.Line)}`,
110
123
  allowedLocales: [LOCALE.Taiwan],
111
124
  },
112
125
  {
@@ -135,6 +148,7 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
135
148
  LOCALE.Cambodia,
136
149
  LOCALE.Vietnam,
137
150
  LOCALE.Indonesia,
151
+ LOCALE.Thailand,
138
152
  ],
139
153
  },
140
154
  {
@@ -150,7 +164,12 @@ const getSocialList = ({ shareUrl, size = 32, locale, }) => [
150
164
  : locale === LOCALE.Vietnam
151
165
  ? 'https://www.tiktok.com/@hellobacsi'
152
166
  : '',
153
- allowedLocales: [LOCALE.Malaysia, LOCALE.Cambodia, LOCALE.Vietnam],
167
+ allowedLocales: [
168
+ LOCALE.Malaysia,
169
+ LOCALE.Cambodia,
170
+ LOCALE.Vietnam,
171
+ LOCALE.Thailand,
172
+ ],
154
173
  },
155
174
  {
156
175
  icon: React__default.createElement(Telegram, { size: size }),
@@ -1,21 +1,21 @@
1
- export { u as useTranslations } from './useTranslations-d90d5386.js';
2
- export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-7162b71f.js';
3
- export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-d9b70788.js';
4
- export { u as useHealthToolsCache } from './useHealthToolCache-606d76d5.js';
5
- export { u as useIsInit } from './useIsInit-8490d361.js';
6
- export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-43bfe834.js';
7
- export { u as useInitialMount, a as useUniqueId } from './useUniqueId-472fb987.js';
1
+ export { u as useTranslations } from './useTranslations-ee0ed7e4.js';
2
+ export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-7cfe3d07.js';
3
+ export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-00116196.js';
4
+ export { u as useHealthToolsCache } from './useHealthToolCache-298307bc.js';
5
+ export { u as useIsInit } from './useIsInit-d65429ab.js';
6
+ export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-3b36c560.js';
7
+ export { u as useInitialMount, a as useUniqueId } from './useUniqueId-28b8a8d2.js';
8
8
  import 'react';
9
- import './translationsContext-af680337.js';
9
+ import './translationsContext-b00d46fa.js';
10
10
  import 'string-format';
11
11
  import 'lodash/debounce';
12
- import './tslib.es6-8f144c22.js';
13
- import './cookieHelper-dc30b23e.js';
14
- import './index-a1f5a5c0.js';
15
- import './getDynamicHealthTool-fa828c1a.js';
16
- import './normalizeLink-8ab2c8da.js';
17
- import './routing-878abd29.js';
18
- import './index-3131a682.js';
12
+ import './tslib.es6-42d35711.js';
13
+ import './cookieHelper-6839de86.js';
14
+ import './index-b851beaf.js';
15
+ import './getDynamicHealthTool-7cf3f00e.js';
16
+ import './normalizeLink-9adb98bb.js';
17
+ import './routing-ddff6eb9.js';
18
+ import './index-94f2f772.js';
19
19
  import 'date-fns/locale';
20
- import './isProduction-34384c12.js';
21
- import './core-adbcbe2f.js';
20
+ import './isProduction-6557a7a7.js';
21
+ import './core-296015da.js';
package/build/esm/i18n.js CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TranslationsContext } from './translationsContext-af680337.js';
2
- export { T as TranslationsContext } from './translationsContext-af680337.js';
1
+ import { T as TranslationsContext } from './translationsContext-b00d46fa.js';
2
+ export { T as TranslationsContext } from './translationsContext-b00d46fa.js';
3
3
  import React__default, { useState, useEffect, useMemo } from 'react';
4
4
  import defaultTranslations from './i18n-values/en-PH.js';
5
5
  import hiTranslations from './i18n-values/hi-IN.js';
@@ -1,5 +1,5 @@
1
- import { T as TranslationsContext } from './translationsContext-af680337.js';
2
- export { T as TranslationsContext } from './translationsContext-af680337.js';
1
+ import { T as TranslationsContext } from './translationsContext-b00d46fa.js';
2
+ export { T as TranslationsContext } from './translationsContext-b00d46fa.js';
3
3
  import React__default, { useMemo } from 'react';
4
4
 
5
5
  const TranslationsProvider = ({ locale = 'en-PH', values, children, }) => {
@@ -0,0 +1,216 @@
1
+ import { c as cookie } from './index-b9666693.js';
2
+ import { B as BEARER_TOKEN_COOKIE, d as domainLocales } from './index-94f2f772.js';
3
+ import { N as NodeIntentType } from './index-b851beaf.js';
4
+ import Cookies from 'js-cookie';
5
+ import { v4 } from 'uuid';
6
+ import { i as isProduction } from './isProduction-6557a7a7.js';
7
+
8
+ const queryKeysJson = [
9
+ 'form_submit_meta',
10
+ 'selected_actions',
11
+ 'current_selected',
12
+ 'current_keys',
13
+ 'current_polls',
14
+ ];
15
+ const queryKeys = [
16
+ 'bot_id',
17
+ 'node_id',
18
+ // 'account_id',
19
+ 'action_id',
20
+ 'action_value',
21
+ 'current_score',
22
+ 'gtm_id',
23
+ 'ga_client_id',
24
+ 'is_new',
25
+ 'title_url',
26
+ 'url',
27
+ 'window_id',
28
+ ...queryKeysJson,
29
+ ];
30
+ const overrideParamsByQuery = (params, query) => {
31
+ const keysSubotMessage = Object.keys(query);
32
+ keysSubotMessage.map((key) => {
33
+ const value = query[key];
34
+ if (key === 'source') {
35
+ params.is_new = value === 'first_login';
36
+ return;
37
+ }
38
+ if (!queryKeys.includes(key)) {
39
+ return;
40
+ }
41
+ /** Parse String to JSON */
42
+ if (queryKeysJson.includes(key)) {
43
+ try {
44
+ params[key] = JSON.parse(value);
45
+ }
46
+ catch (error) { }
47
+ return;
48
+ }
49
+ /** Parse to number */
50
+ if (key === 'account_id' || key === 'current_score' || key === 'bot_id') {
51
+ params[key] = parseInt(value);
52
+ return;
53
+ }
54
+ params[key] = value;
55
+ });
56
+ return params;
57
+ };
58
+ const ssoIntents = (f) => [
59
+ {
60
+ id: v4(),
61
+ label: JSON.stringify({
62
+ title: '',
63
+ description: '',
64
+ }),
65
+ type: NodeIntentType.SSO_INTENT,
66
+ url: '',
67
+ },
68
+ {
69
+ id: v4(),
70
+ label: JSON.stringify({
71
+ title: f({
72
+ id: 'subot.myHealth.title',
73
+ defaultMessage: 'My Health',
74
+ }),
75
+ description: f({
76
+ id: 'subot.myHealth.description',
77
+ defaultMessage: 'Personal identifiers (like your name) will always be removed to protect your privacy. ',
78
+ }),
79
+ }),
80
+ type: NodeIntentType.SSO_INTENT,
81
+ url: '/images/subot/my-health.svg',
82
+ },
83
+ {
84
+ id: v4(),
85
+ label: JSON.stringify({
86
+ title: f({
87
+ id: 'subot.saveData.title',
88
+ defaultMessage: 'Save Data',
89
+ }),
90
+ description: f({
91
+ id: 'subot.saveData.description',
92
+ defaultMessage: 'Hellobacsi would like to learn from your data to provide better healthcare for you',
93
+ }),
94
+ }),
95
+ type: NodeIntentType.SSO_INTENT,
96
+ url: '/images/subot/file-storage.svg',
97
+ },
98
+ {
99
+ id: v4(),
100
+ label: JSON.stringify({
101
+ title: f({
102
+ id: 'subot.productYourIdentifiers.title',
103
+ defaultMessage: 'Protect your identifiers',
104
+ }),
105
+ description: f({
106
+ id: 'subot.productYourIdentifiers.description',
107
+ defaultMessage: 'Personal identifiers (like your name) will always be removed to protect your privacy. ',
108
+ }),
109
+ }),
110
+ type: NodeIntentType.SSO_INTENT,
111
+ url: '/images/subot/shield.svg',
112
+ },
113
+ ];
114
+ function checkUntilFinished(params) {
115
+ const condition = params.condition;
116
+ const finished = params.finished;
117
+ const timeout = params.timeout || 3000;
118
+ const startTime = new Date().getTime();
119
+ const intervalId = setInterval(() => {
120
+ const endTime = new Date().getTime();
121
+ if (endTime - startTime > timeout || condition()) {
122
+ clearInterval(intervalId);
123
+ finished();
124
+ }
125
+ }, 300);
126
+ }
127
+ const getHhgIdFromCookie = (reqCookie) => {
128
+ const parsedCookie = cookie.parse(reqCookie || '');
129
+ const reqHhgId = parsedCookie['hhg-id'];
130
+ return reqHhgId || Cookies.get('hhg-id') || '';
131
+ };
132
+ const getSubotCookieId = (queryCookieId) => {
133
+ if (queryCookieId) {
134
+ Cookies.set('hhg-id', queryCookieId);
135
+ return queryCookieId;
136
+ }
137
+ const cookieId = getHhgIdFromCookie();
138
+ if (cookieId) {
139
+ return cookieId;
140
+ }
141
+ const newCookieId = v4();
142
+ Cookies.set('hhg-id', newCookieId);
143
+ return newCookieId;
144
+ };
145
+ const getUserIdFromCookie = (reqCookie) => {
146
+ const parsedCookie = cookie.parse(reqCookie || '');
147
+ const reqToken = parsedCookie[BEARER_TOKEN_COOKIE];
148
+ const token = reqToken || Cookies.get(BEARER_TOKEN_COOKIE) || '';
149
+ try {
150
+ const base64Url = token.split('.')[1];
151
+ const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
152
+ const jsonPayload = decodeURIComponent(atob(base64)
153
+ .split('')
154
+ .map(function (c) {
155
+ return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
156
+ })
157
+ .join(''));
158
+ return JSON.parse(jsonPayload).sub;
159
+ }
160
+ catch (err) {
161
+ return '';
162
+ }
163
+ };
164
+ const getUserInfoFromCookie = (reqCookie) => {
165
+ const parsedCookie = cookie.parse(reqCookie || '');
166
+ const reqToken = parsedCookie[BEARER_TOKEN_COOKIE];
167
+ const token = reqToken || Cookies.get(BEARER_TOKEN_COOKIE) || '';
168
+ try {
169
+ const base64Url = token.split('.')[1];
170
+ const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
171
+ const jsonPayload = decodeURIComponent(atob(base64)
172
+ .split('')
173
+ .map(function (c) {
174
+ return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
175
+ })
176
+ .join(''));
177
+ const payload = JSON.parse(jsonPayload);
178
+ return { email: payload.email, id: payload.sub };
179
+ }
180
+ catch (err) {
181
+ return { email: '', id: 0 };
182
+ }
183
+ };
184
+ /** To make sure have the same window id until refresh the page */
185
+ const generateWindowId = v4();
186
+ const getWindowId = () => {
187
+ return generateWindowId;
188
+ };
189
+ const getHelloSitesUrl = (locale, ignoreLocal) => {
190
+ const isLocalhost = ignoreLocal
191
+ ? false
192
+ : typeof window !== 'undefined' &&
193
+ (window.location.hostname === 'localhost' ||
194
+ window.location.hostname === '127.0.0.1');
195
+ if (isLocalhost) {
196
+ return 'http://localhost'; // or any other localhost URL you want to use as fallback
197
+ }
198
+ return `https://${isProduction ? '' : 'discover.'}${domainLocales[locale]}`;
199
+ };
200
+ const checkMobile = (userAgent) => {
201
+ const ua = userAgent || (typeof navigator === 'undefined' ? '' : navigator.userAgent);
202
+ if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(ua) ||
203
+ /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(ua.substring(0, 4))) {
204
+ return true;
205
+ }
206
+ return false;
207
+ };
208
+ const clickAndOpenInNewTab = (url) => {
209
+ const a = document.createElement('a');
210
+ a.href = url;
211
+ a.target = '_blank';
212
+ a.click();
213
+ };
214
+ const TIME_RESET_RESEND_OTP = 30;
215
+
216
+ export { TIME_RESET_RESEND_OTP as T, getUserIdFromCookie as a, getSubotCookieId as b, getUserInfoFromCookie as c, getWindowId as d, checkUntilFinished as e, checkMobile as f, getHelloSitesUrl as g, clickAndOpenInNewTab as h, getHhgIdFromCookie as i, overrideParamsByQuery as o, ssoIntents as s };
@@ -1,46 +1,46 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-8f144c22.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-42d35711.js';
2
2
  import React__default, { useState, useMemo, useRef, Fragment, useEffect, useContext, useCallback } from 'react';
3
- import { F as Flag, a as Avatar, B as Button$1, c as Input } from './index-258af431.js';
3
+ import { F as Flag, a as Avatar, B as Button$1, c as Input } from './index-5c2abf3a.js';
4
4
  import styled from '@emotion/styled';
5
- import { t as theme } from './theme-f9fa9f7d.js';
6
- import { T as Text } from './index-c6d9afaf.js';
7
- import { C as CommonGAssets } from './index-0fed808d.js';
8
- import { C as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, b as CARE_BOOKING_LOCALES, d as domainLocales, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-3131a682.js';
9
- import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-8ab2c8da.js';
10
- import { a as getCurrentSsoUrl, g as getCurrentBaseUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, d as getCareApiDomain } from './routing-878abd29.js';
11
- import { P as Popup, U as UserAvatar, a as formatCommunity, b as formatPost } from './index-95b9fc82.js';
12
- import { L as Logo } from './index-c8e55b19.js';
13
- import { u as useTranslations } from './useTranslations-d90d5386.js';
5
+ import { t as theme } from './theme-676e1d3e.js';
6
+ import { T as Text } from './index-dd00700b.js';
7
+ import { C as CommonGAssets } from './index-2e13488d.js';
8
+ import { C as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, b as CARE_BOOKING_LOCALES, d as domainLocales, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-94f2f772.js';
9
+ import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-9adb98bb.js';
10
+ import { a as getCurrentSsoUrl, g as getCurrentBaseUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, d as getCareApiDomain } from './routing-ddff6eb9.js';
11
+ import { P as Popup, U as UserAvatar, a as formatCommunity, b as formatPost } from './index-70bb6ed3.js';
12
+ import { L as Logo } from './index-13975e28.js';
13
+ import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
14
14
  import throttle from 'lodash/throttle';
15
15
  import { createStyles, Box, Indicator, Portal, useMantineTheme } from '@mantine/core';
16
16
  import '@mantine/dates';
17
- import { L as LOCALE } from './index-a1f5a5c0.js';
18
- import './useMantineLocale-4a5da5bb.js';
19
- import './translationsContext-af680337.js';
17
+ import { L as LOCALE } from './index-b851beaf.js';
18
+ import './useMantineLocale-e9d07649.js';
19
+ import './translationsContext-b00d46fa.js';
20
20
  import formatString from 'string-format';
21
21
  import '@mantine/hooks';
22
- import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-1997593f.js';
23
- import { L as LOCALISED_SLUGS } from './constants-1cc39551.js';
22
+ import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-0f3667a8.js';
23
+ import { L as LOCALISED_SLUGS } from './constants-5d6ab948.js';
24
24
  import { User } from '@hhgtech/icons/core';
25
- import { s as setDefaultClass, j as domainLocalesMarryBaby } from './utils-e8c78fa7.js';
26
- import { C as ChevronDown } from './ChevronDown-c0329f44.js';
25
+ import { s as setDefaultClass, j as domainLocalesMarryBaby } from './defaultClassWrapper-8112e475.js';
26
+ import { C as ChevronDown } from './ChevronDown-51088ad9.js';
27
27
  import { css } from '@emotion/react';
28
- import { B as Button } from './index-10f8055c.js';
29
- import { a as LOCALIZED_SLUGS } from './constants-2eb60c45.js';
30
- import { H as Heading } from './index-8450b670.js';
31
- import { I as Indicator$1 } from './index-d62e3f04.js';
32
- import { u as useIsInit } from './useIsInit-8490d361.js';
33
- import './index.styles-d670cbe0.js';
34
- import './utils-9a265ccf.js';
35
- import './WhatsApp-ea79e6c6.js';
36
- import './index.styled-64a9c965.js';
37
- import './index-24b9c26b.js';
28
+ import { B as Button } from './index-f160e379.js';
29
+ import { a as LOCALIZED_SLUGS } from './index-9dd8721c.js';
30
+ import { H as Heading } from './index-62059a85.js';
31
+ import { I as Indicator$1 } from './index-ad1d81e3.js';
32
+ import { u as useIsInit } from './useIsInit-d65429ab.js';
33
+ import './index.styles-0693a12e.js';
34
+ import './utils-70fb5414.js';
35
+ import './index-b9666693.js';
36
+ import './index.styled-19fa0003.js';
37
+ import './index-207e5a99.js';
38
38
  import { ArrowRight } from '@hhgtech/icons/other';
39
39
  import dayjs from 'dayjs';
40
40
  import relativeTime from 'dayjs/plugin/relativeTime';
41
- import { C as Container } from './index-a3f9e8d3.js';
41
+ import { C as Container } from './index-b1dfbcd9.js';
42
42
  import debounce from 'lodash/debounce';
43
- import { g as getDataWithCache } from './core-adbcbe2f.js';
43
+ import { g as getDataWithCache } from './core-296015da.js';
44
44
 
45
45
  const ALLOW_DOMAIN_URL = [
46
46
  'hellobacsi.com',
@@ -2974,13 +2974,13 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
2974
2974
  });
2975
2975
  }
2976
2976
  if (item.id === 'care') {
2977
- import('./doctor-407e7c56.js').then((data) => {
2977
+ import('./doctor-a16d5a2a.js').then((data) => {
2978
2978
  if (data === null || data === void 0 ? void 0 : data.default)
2979
2979
  setIconJson(() => data.default);
2980
2980
  });
2981
2981
  }
2982
2982
  else if (item.id === 'ecom') {
2983
- import('./cart-24fe471a.js').then((data) => {
2983
+ import('./cart-b5b2f9c9.js').then((data) => {
2984
2984
  if (data === null || data === void 0 ? void 0 : data.default)
2985
2985
  setIconJson(() => data.default);
2986
2986
  });
@@ -3029,7 +3029,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
3029
3029
  item.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights, onClose: onClose })) : item.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, onClose: onClose })) : item.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights, onClose: onClose })) : item.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights, onClose: onClose })) : null));
3030
3030
  };
3031
3031
 
3032
- const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, }) => {
3032
+ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, }) => {
3033
3033
  var _a;
3034
3034
  const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, onBookingClick, currentUrl, onLoginClick, cartNumber,
3035
3035
  // ssrMenuContent: { categories, healthTools, care, together },
@@ -3136,7 +3136,8 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
3136
3136
  locale,
3137
3137
  isMobile,
3138
3138
  })
3139
- : null));
3139
+ : null,
3140
+ subHead && subHead));
3140
3141
  };
3141
3142
  const NavigtionSearch = ({ siteType }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: siteType === 'marryBaby' ? 'marry-baby' : '' },
3142
3143
  React__default.createElement(SearchInput, { id: "desktop" })));
@@ -3330,7 +3331,7 @@ const StyledContainer = styled.div `
3330
3331
 
3331
3332
  const _NavigationV2 = (props) => {
3332
3333
  var _a, _b;
3333
- const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, } = props;
3334
+ const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, } = props;
3334
3335
  const services = useNavServices();
3335
3336
  useInsider();
3336
3337
  const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
@@ -3348,7 +3349,7 @@ const _NavigationV2 = (props) => {
3348
3349
  '--header-bottom': headerBottom + 'px',
3349
3350
  }, className: className },
3350
3351
  React__default.createElement("section", { ref: headerRef },
3351
- React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
3352
+ React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
3352
3353
  };
3353
3354
  const NavigationV2 = (props) => {
3354
3355
  const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
@@ -1,8 +1,8 @@
1
1
  import React__default, { useState, useEffect } from 'react';
2
- import { L as LOCALE } from './index-a1f5a5c0.js';
3
- import { C as CommonGAssets } from './index-0fed808d.js';
4
- import { i as isChristmas, a as LunarNewYearLocale, b as isLunarNewYear, c as isNewYear, d as isRamadan, e as isVNHungKing, f as isVN3004, g as isLabourDay, S as StyledLogo, L as LogoIcon, h as StyledProLogo } from './utils-9a265ccf.js';
5
- import { I as ImageWrap } from './index-258af431.js';
2
+ import { L as LOCALE } from './index-b851beaf.js';
3
+ import { C as CommonGAssets } from './index-2e13488d.js';
4
+ import { i as isChristmas, a as LunarNewYearLocale, b as isLunarNewYear, c as isNewYear, d as isRamadan, e as isVNHungKing, f as isVN3004, g as isLabourDay, S as StyledLogo, L as LogoIcon, h as StyledProLogo } from './utils-70fb5414.js';
5
+ import { I as ImageWrap } from './index-5c2abf3a.js';
6
6
 
7
7
  const Logo = ({ type, className, style, isLightLogo, customSize, badge, locale, dateForSeasonal, isPro, }) => {
8
8
  const [seasonalChecks, setSeasonalChecks] = useState({
@@ -1,64 +1,64 @@
1
1
  import React__default, { useState, useEffect, useRef, useMemo, Fragment, memo, useCallback, useImperativeHandle, createContext, useContext, forwardRef } from 'react';
2
- import { T as Text } from './index-c6d9afaf.js';
3
- import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName, g as StyledDropdownList, h as StyledDropdownOption, i as StyledIcon, j as StyledGrid, k as StyledPagination, l as StyledPageBlock, m as StyledPaginationBlock, n as StyledTag, o as StyledToggle, p as StyledToggleIcon, q as StyledToggleLabel, r as StyledCheckbox, s as StyledRateStars, T as TextArea, P as PureInput } from './index.styles-d670cbe0.js';
4
- import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-1997593f.js';
5
- import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, t as themeColors, c as Input$1, B as Button$1, S as Select, d as Checkbox$1, e as ChipButton } from './index-258af431.js';
6
- import { T as Text$1 } from './index-16af59c8.js';
7
- import { _ as __rest, a as __awaiter } from './tslib.es6-8f144c22.js';
2
+ import { T as Text } from './index-dd00700b.js';
3
+ import { b as StyledAvatar, c as StyledBadge$1, d as StyledBorderHeading, e as StyledDropdown, f as StyledDropdownName, g as StyledDropdownList, h as StyledDropdownOption, i as StyledIcon, j as StyledGrid, k as StyledPagination, l as StyledPageBlock, m as StyledPaginationBlock, n as StyledTag, o as StyledToggle, p as StyledToggleIcon, q as StyledToggleLabel, r as StyledCheckbox, s as StyledRateStars, T as TextArea, P as PureInput } from './index.styles-0693a12e.js';
4
+ import { f as formatUrlWithPageParam, M as MediaQueries } from './utils-0f3667a8.js';
5
+ import { I as ImageWrap, R as Radio$1, u as useScreenSize, A as Anchor, a as Avatar$1, b as AspectRatio, t as themeColors, c as Input$1, B as Button$1, S as Select, d as Checkbox$1, e as ChipButton } from './index-5c2abf3a.js';
6
+ import { T as Text$1 } from './index-869411be.js';
7
+ import { _ as __rest, a as __awaiter } from './tslib.es6-42d35711.js';
8
8
  import { Bookmark, CalendarMB } from '@hhgtech/icons/other';
9
- import { C as CommonGAssets } from './index-0fed808d.js';
10
- import { H as Heading } from './index-8450b670.js';
11
- import { t as theme } from './theme-f9fa9f7d.js';
9
+ import { C as CommonGAssets } from './index-2e13488d.js';
10
+ import { H as Heading } from './index-62059a85.js';
11
+ import { t as theme } from './theme-676e1d3e.js';
12
12
  import { Card, Group, Box, Flex, createStyles, Stack, getStylesRef, useMantineTheme, rem, Container, AspectRatio as AspectRatio$1, ScrollArea, Chip, Badge as Badge$1, MultiSelect, Stepper } from '@mantine/core';
13
13
  import innertext from 'innertext';
14
14
  import '@mantine/dates';
15
- import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, A as API_DATE_FORMAT$1, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-3131a682.js';
16
- import { L as LOCALE } from './index-a1f5a5c0.js';
17
- import './useMantineLocale-4a5da5bb.js';
18
- import './translationsContext-af680337.js';
15
+ import { d as domainLocales, L as LOCALE_SPECS, F as FAVICONS, Q as QUERY_HEALTH_TOOL, A as API_DATE_FORMAT$1, R as RISK_SCREENER_NAME, a as RISK_SCREENER_SLUG, G as GA_TOKEN_COOKIE } from './index-94f2f772.js';
16
+ import { L as LOCALE } from './index-b851beaf.js';
17
+ import './useMantineLocale-e9d07649.js';
18
+ import './translationsContext-b00d46fa.js';
19
19
  import 'string-format';
20
20
  import { useViewportSize } from '@mantine/hooks';
21
- import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-36e18ffd.js';
21
+ import { i as isInternalLink, d as getTogetherUserPostsApiPath } from './index-09ecd45f.js';
22
22
  import styled from '@emotion/styled';
23
23
  import throttle from 'lodash/throttle';
24
- import { L as Logo } from './index-c8e55b19.js';
25
- import { B as Button } from './index-10f8055c.js';
26
- import { I as Input } from './index-ae717003.js';
24
+ import { L as Logo } from './index-13975e28.js';
25
+ import { B as Button } from './index-f160e379.js';
26
+ import { I as Input } from './index-a2404202.js';
27
27
  import { keyframes } from '@emotion/react';
28
28
  import parse from 'html-react-parser';
29
- import { i as isProduction } from './isProduction-34384c12.js';
30
- import { u as useTranslations } from './useTranslations-d90d5386.js';
29
+ import { i as isProduction } from './isProduction-6557a7a7.js';
30
+ import { u as useTranslations } from './useTranslations-ee0ed7e4.js';
31
31
  import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
32
32
  import { useForm, isNotEmpty } from '@mantine/form';
33
33
  import dayjs from 'dayjs';
34
- import { D as DatePicker } from './index-8ac7b919.js';
35
- import { H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, I as INPUT_RANGE, D as Drawer } from './index-d6a9a175.js';
36
- import { f as formatUserProfileUrl } from './index-95b9fc82.js';
37
- import { u as useHealthToolsCache } from './useHealthToolCache-606d76d5.js';
38
- import { s as setDefaultClass, H as HEALTH_TOOL_TYPE$1, b as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, d as getPremiumApiPath, e as getWebsiteUrlApi, f as getSsoApiPath } from './utils-e8c78fa7.js';
34
+ import { D as DatePicker } from './index-fc868dc0.js';
35
+ import { H as HealthToolFormWrapper, G as GenderOptionControl, B as BabyGrowthForm, I as INPUT_RANGE, D as Drawer } from './index-6c7832ac.js';
36
+ import { f as formatUserProfileUrl } from './index-70bb6ed3.js';
37
+ import { u as useHealthToolsCache } from './useHealthToolCache-298307bc.js';
38
+ import { s as setDefaultClass, H as HEALTH_TOOL_TYPE$1, b as callApiWithAuth, g as getApiPath, P as PATHS$2, T as TogetherComponentGlobalContext, d as getPremiumApiPath, e as getWebsiteUrlApi, f as getSsoApiPath } from './defaultClassWrapper-8112e475.js';
39
39
  import { Controller, useForm as useForm$1 } from 'react-hook-form';
40
- import './constants-2eb60c45.js';
41
- import './utils-9a265ccf.js';
42
- import './WhatsApp-ea79e6c6.js';
43
- import './index.styled-64a9c965.js';
44
- import './index-24b9c26b.js';
45
- import { a as useOutsideClick } from './useOutsideClick-43bfe834.js';
40
+ import './index-9dd8721c.js';
41
+ import './utils-70fb5414.js';
42
+ import './index-b9666693.js';
43
+ import './index.styled-19fa0003.js';
44
+ import './index-207e5a99.js';
45
+ import { a as useOutsideClick } from './useOutsideClick-3b36c560.js';
46
46
  import enUS from 'date-fns/locale/en-US';
47
47
  import id from 'date-fns/locale/id';
48
48
  import vi from 'date-fns/locale/vi';
49
49
  import zhTW from 'date-fns/locale/zh-TW';
50
- import { D as Dropdown } from './index-bffe0e7b.js';
51
- import { g as getSocialList } from './getSocialList-d49f96d5.js';
50
+ import { D as Dropdown } from './index-2da84fe8.js';
51
+ import { g as getSocialList } from './getSocialList-f797bbe2.js';
52
52
  import { v4 } from 'uuid';
53
- import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-878abd29.js';
54
- import { I as Icon } from './index-9e37013f.js';
53
+ import { g as getCurrentBaseUrl, a as getCurrentSsoUrl } from './routing-ddff6eb9.js';
54
+ import { I as Icon } from './index-c8e5b7ad.js';
55
55
  import { Close, Plus } from '@hhgtech/icons/core';
56
- import { M as Modal } from './index-3d150702.js';
56
+ import { M as Modal } from './index-5b69b19c.js';
57
57
  import Cookies from 'js-cookie';
58
58
  import flatten from 'lodash/flatten';
59
59
  import uniqBy from 'lodash/uniqBy';
60
- import { g as getCookie } from './cookieHelper-dc30b23e.js';
61
- import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-8ab2c8da.js';
60
+ import { g as getCookie } from './cookieHelper-6839de86.js';
61
+ import { n as normalizeLinkSlash, a as normalizeLink } from './normalizeLink-9adb98bb.js';
62
62
 
63
63
  var styles$7 = {"alert":"CHw-fZZ","content":"_03U6VRS","close":"EO828Vv"};
64
64
 
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { useMantineTheme } from '@mantine/core';
3
3
  import styled from '@emotion/styled';
4
- import { t as theme } from './theme-f9fa9f7d.js';
4
+ import { t as theme } from './theme-676e1d3e.js';
5
5
 
6
6
  const StyledDropdown = styled.div `
7
7
  --dropdown-padding: 12px 18px 12px 16px;