@hhgtech/hhg-components 1.27.119 → 1.27.121

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 (265) 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/molecules/surveyOrPremiumBanner/index.d.ts +1 -1
  5. package/build/components.js +1 -1
  6. package/build/constants.js +1 -1
  7. package/build/core-44ea3c2b.js +1 -0
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +2 -2
  10. package/build/esm/cache.js +1 -1
  11. package/build/esm/care.js +1 -1
  12. package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +1 -1
  13. package/build/esm/components.js +1 -1
  14. package/build/esm/constants.js +1 -1
  15. package/build/esm/{core-0b051f15.js → core-5c810d49.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/{fixedBottomAdBlock-ccab6770.js → fixedBottomAdBlock-841a6871.js} +1 -1
  18. package/build/esm/footer.js +1 -1
  19. package/build/esm/gAssets.js +1 -1
  20. package/build/esm/{getDynamicHealthTool-0f2d6fbb.js → getDynamicHealthTool-3f94cbb0.js} +1 -1
  21. package/build/esm/{getSocialList-0a77e7f2.js → getSocialList-34c5bcb2.js} +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/i18nV2.js +1 -1
  25. package/build/esm/{index-a48c0a61.js → index-066e2cb9.js} +1 -1
  26. package/build/esm/{index-27b04a9c.js → index-0bd2f2e3.js} +1 -1
  27. package/build/esm/{index-da01440f.js → index-18e1cfdb.js} +4 -4
  28. package/build/esm/{index-d2c41f77.js → index-1d9116b9.js} +1 -1
  29. package/build/esm/{index-c99ca928.js → index-3488f985.js} +1 -1
  30. package/build/esm/{index-4e30622d.js → index-3640fa6c.js} +1 -1
  31. package/build/esm/index-3dbbca40.js +6897 -0
  32. package/build/esm/{index-9fba24a1.js → index-466dc5a9.js} +1 -1
  33. package/build/esm/{index-ae7fe3fd.js → index-76365db1.js} +1 -1
  34. package/build/esm/{index-0931ff10.js → index-7b8b0191.js} +1 -1
  35. package/build/esm/{index-959f98ad.js → index-880d7e41.js} +1 -1
  36. package/build/esm/{index-99ab079b.js → index-94588b13.js} +1 -1
  37. package/build/esm/{index-e80dbfcf.js → index-9b83c340.js} +1 -1
  38. package/build/esm/{index-48fb9b8b.js → index-a9589f69.js} +1 -1
  39. package/build/esm/{index-110fe503.js → index-b9007d2a.js} +1 -1
  40. package/build/esm/{index-01fff03c.js → index-b960f7c4.js} +1 -1
  41. package/build/esm/{index-fbb80c02.js → index-cb768aa5.js} +1 -1
  42. package/build/esm/{index-6ee2574b.js → index-d9130099.js} +1 -1
  43. package/build/esm/{index-b8435421.js → index-e1c21e7a.js} +1 -1
  44. package/build/esm/{index-0fac9893.js → index-f3a910d2.js} +1 -1
  45. package/build/esm/{index-2ddfeefc.js → index-fea0f0ef.js} +1 -1
  46. package/build/esm/index.js +1 -1
  47. package/build/esm/{index.styled-f808258c.js → index.styled-57cd5a01.js} +1 -1
  48. package/build/esm/index.styled-a3cf6f8b.js +50 -0
  49. package/build/esm/{index.styled-c884c686.js → index.styled-e724f775.js} +1 -1
  50. package/build/esm/{index.styles-14f7729f.js → index.styles-8eb699e9.js} +1 -1
  51. package/build/esm/lead.js +1 -1
  52. package/build/esm/mantine.js +1 -1
  53. package/build/esm/misc.js +1 -1
  54. package/build/esm/navigation.js +1 -1
  55. package/build/esm/{normalizeLink-96fc8d01.js → normalizeLink-1228d2a5.js} +1 -1
  56. package/build/esm/onboarding.js +1 -1
  57. package/build/esm/onboardingV2.js +1 -1
  58. package/build/esm/pwg.js +3 -3
  59. package/build/esm/together.js +1 -1
  60. package/build/esm/{types-84fa3f95.js → types-6ac2f141.js} +1 -1
  61. package/build/esm/{types-f472d103.js → types-c3df3779.js} +1 -1
  62. package/build/esm/types.js +1 -1
  63. package/build/esm/{useCategory-6e5096f2.js → useCategory-a8880691.js} +1 -1
  64. package/build/esm/{useHealthToolCache-66b7f49d.js → useHealthToolCache-703e8cb9.js} +1 -1
  65. package/build/esm/{useRafState-56d5783d.js → useRafState-96120e92.js} +1 -1
  66. package/build/esm/{useTranslations-d3864186.js → useTranslations-25a4472b.js} +1 -1
  67. package/build/esm/{utils-b016f984.js → utils-789fd9b0.js} +1 -1
  68. package/build/esm/vaccination.js +12 -12
  69. package/build/fixedBottomAdBlock-0228ed62.js +1 -0
  70. package/build/footer.js +1 -1
  71. package/build/gAssets.js +1 -1
  72. package/build/{getDynamicHealthTool-956f4c64.js → getDynamicHealthTool-4381d375.js} +1 -1
  73. package/build/{getSocialList-a1d5c4f3.js → getSocialList-c2f2adef.js} +1 -1
  74. package/build/hooks.js +1 -1
  75. package/build/i18n.js +1 -1
  76. package/build/i18nV2.js +1 -1
  77. package/build/{index-21033de0.js → index-04966ab7.js} +1 -1
  78. package/build/{index-965f2ac0.js → index-09b37d1e.js} +2 -2
  79. package/build/{index-b9a41d23.js → index-0f05995b.js} +1 -1
  80. package/build/{index-5057d552.js → index-11eb99fd.js} +1 -1
  81. package/build/index-14e0f70d.js +1 -0
  82. package/build/index-16bfb299.js +1 -0
  83. package/build/{index-c47410f4.js → index-301a4d12.js} +1 -1
  84. package/build/index-3f381167.js +1 -0
  85. package/build/{index-0e65a262.js → index-3ff0336e.js} +1 -1
  86. package/build/{index-18be7747.js → index-41ae34d3.js} +1 -1
  87. package/build/{index-d3819a1e.js → index-65d3d56f.js} +1 -1
  88. package/build/{index-66126a5f.js → index-7eb4a414.js} +1 -1
  89. package/build/{index-6a77d461.js → index-7f2156a1.js} +1 -1
  90. package/build/{index-ec4574e8.js → index-a8825bed.js} +53 -53
  91. package/build/{index-1b51ee05.js → index-ab344c20.js} +1 -1
  92. package/build/{index-26de4739.js → index-ae766244.js} +2 -2
  93. package/build/{index-12c87b3c.js → index-aed64d15.js} +1 -1
  94. package/build/{index-5426e576.js → index-d25c3042.js} +1 -1
  95. package/build/{index-bee40ba6.js → index-d721085d.js} +1 -1
  96. package/build/{index-0ff71926.js → index-da26b6a9.js} +1 -1
  97. package/build/{index-57c50e4f.js → index-fffa6478.js} +1 -1
  98. package/build/index.js +1 -1
  99. package/build/{index.styled-424312ad.js → index.styled-1ad3a260.js} +1 -1
  100. package/build/{index.styled-b3e223ff.js → index.styled-2771fd79.js} +3 -3
  101. package/build/index.styled-cf4cd486.js +50 -0
  102. package/build/{index.styles-bae5d6a7.js → index.styles-e5ad94f2.js} +1 -1
  103. package/build/lead.js +1 -1
  104. package/build/mantine.js +1 -1
  105. package/build/misc.js +1 -1
  106. package/build/navigation.js +1 -1
  107. package/build/{normalizeLink-68e0ec50.js → normalizeLink-5ad71a90.js} +1 -1
  108. package/build/onboarding.js +1 -1
  109. package/build/onboardingV2.js +1 -1
  110. package/build/pwg.js +1 -1
  111. package/build/together.js +1 -1
  112. package/build/{types-d18545a5.js → types-13da20f5.js} +1 -1
  113. package/build/{types-e19a0fdd.js → types-e9b3917f.js} +1 -1
  114. package/build/types.js +1 -1
  115. package/build/{useCategory-e43f7bd8.js → useCategory-79133097.js} +1 -1
  116. package/build/useHealthToolCache-b2e1a016.js +1 -0
  117. package/build/{useRafState-0a22b04e.js → useRafState-ba54c5a3.js} +1 -1
  118. package/build/{useTranslations-811c5b6c.js → useTranslations-e745135f.js} +1 -1
  119. package/build/utils-28b9651f.js +1 -0
  120. package/build/vaccination.js +1 -1
  121. package/package.json +5 -4
  122. package/build/core-c409b2ab.js +0 -1
  123. package/build/esm/index-cf2990c4.js +0 -6897
  124. package/build/esm/index.styled-d76cc4bf.js +0 -50
  125. package/build/fixedBottomAdBlock-147c89e2.js +0 -1
  126. package/build/index-353df903.js +0 -1
  127. package/build/index-51aa0c82.js +0 -1
  128. package/build/index-75158dd2.js +0 -1
  129. package/build/index.styled-e765999b.js +0 -50
  130. package/build/useHealthToolCache-aa8a5a28.js +0 -1
  131. package/build/utils-b9c8f568.js +0 -1
  132. /package/build/{BMI_BOYS.percentile.monthly-df9d1ee0.js → BMI_BOYS.percentile.monthly-27ef47ef.js} +0 -0
  133. /package/build/{BMI_BOYS.percentile.weekly-d4f7cb07.js → BMI_BOYS.percentile.weekly-e6df2061.js} +0 -0
  134. /package/build/{BMI_BOYS.percentile.yearly-29f8675d.js → BMI_BOYS.percentile.yearly-81856e06.js} +0 -0
  135. /package/build/{BMI_BOYS.zscore.monthly-f4443039.js → BMI_BOYS.zscore.monthly-6470c768.js} +0 -0
  136. /package/build/{BMI_BOYS.zscore.weekly-2ccf1532.js → BMI_BOYS.zscore.weekly-a60ed1c8.js} +0 -0
  137. /package/build/{BMI_BOYS.zscore.yearly-a9a58bc7.js → BMI_BOYS.zscore.yearly-f14470cb.js} +0 -0
  138. /package/build/{BMI_GIRLS.percentile.monthly-8b1f16b8.js → BMI_GIRLS.percentile.monthly-843750b5.js} +0 -0
  139. /package/build/{BMI_GIRLS.percentile.weekly-aaeacdb8.js → BMI_GIRLS.percentile.weekly-23075996.js} +0 -0
  140. /package/build/{BMI_GIRLS.percentile.yearly-6cc0ea05.js → BMI_GIRLS.percentile.yearly-8556931f.js} +0 -0
  141. /package/build/{BMI_GIRLS.zscore.monthly-43d62dfd.js → BMI_GIRLS.zscore.monthly-af3c8bd5.js} +0 -0
  142. /package/build/{BMI_GIRLS.zscore.weekly-d3bbdaba.js → BMI_GIRLS.zscore.weekly-f08b2c98.js} +0 -0
  143. /package/build/{BMI_GIRLS.zscore.yearly-d4b0c682.js → BMI_GIRLS.zscore.yearly-bedfb51d.js} +0 -0
  144. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-521a5304.js → HEAD CIRCUM_BOYS.percentile.monthly-daceb034.js} +0 -0
  145. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4710fc3d.js → HEAD CIRCUM_BOYS.percentile.weekly-e0dbe329.js} +0 -0
  146. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c855517a.js → HEAD CIRCUM_BOYS.percentile.yearly-9c1b796b.js} +0 -0
  147. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-710ef379.js → HEAD CIRCUM_BOYS.zscore.monthly-fa20f3af.js} +0 -0
  148. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c124efec.js → HEAD CIRCUM_BOYS.zscore.weekly-933ec1e5.js} +0 -0
  149. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bfe57f30.js → HEAD CIRCUM_BOYS.zscore.yearly-6f4073a3.js} +0 -0
  150. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-39590dea.js → HEAD CIRCUM_GIRLS.percentile.monthly-a97b76a8.js} +0 -0
  151. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9518e7e3.js → HEAD CIRCUM_GIRLS.percentile.weekly-b62a8199.js} +0 -0
  152. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d19238b0.js → HEAD CIRCUM_GIRLS.percentile.yearly-8129e5b5.js} +0 -0
  153. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b836ceb8.js → HEAD CIRCUM_GIRLS.zscore.monthly-1b669178.js} +0 -0
  154. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d933a1ec.js → HEAD CIRCUM_GIRLS.zscore.weekly-db92f42f.js} +0 -0
  155. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d6b1ee23.js → HEAD CIRCUM_GIRLS.zscore.yearly-d30432bc.js} +0 -0
  156. /package/build/{HEIGHT_BOYS.percentile.monthly-e8c9f9f4.js → HEIGHT_BOYS.percentile.monthly-da15e0fe.js} +0 -0
  157. /package/build/{HEIGHT_BOYS.percentile.weekly-da752d4d.js → HEIGHT_BOYS.percentile.weekly-f79b4c59.js} +0 -0
  158. /package/build/{HEIGHT_BOYS.percentile.yearly-669e40b5.js → HEIGHT_BOYS.percentile.yearly-5fa71370.js} +0 -0
  159. /package/build/{HEIGHT_BOYS.zscore.monthly-65c44541.js → HEIGHT_BOYS.zscore.monthly-adb975da.js} +0 -0
  160. /package/build/{HEIGHT_BOYS.zscore.weekly-3706322b.js → HEIGHT_BOYS.zscore.weekly-580ef12e.js} +0 -0
  161. /package/build/{HEIGHT_BOYS.zscore.yearly-5f55296e.js → HEIGHT_BOYS.zscore.yearly-ddaad6ce.js} +0 -0
  162. /package/build/{HEIGHT_GIRLS.percentile.monthly-f56fb1cf.js → HEIGHT_GIRLS.percentile.monthly-ee91f0c4.js} +0 -0
  163. /package/build/{HEIGHT_GIRLS.percentile.weekly-7db7a759.js → HEIGHT_GIRLS.percentile.weekly-d04941f5.js} +0 -0
  164. /package/build/{HEIGHT_GIRLS.percentile.yearly-9710c79b.js → HEIGHT_GIRLS.percentile.yearly-10b9b683.js} +0 -0
  165. /package/build/{HEIGHT_GIRLS.zscore.monthly-5ea18d45.js → HEIGHT_GIRLS.zscore.monthly-3117de2f.js} +0 -0
  166. /package/build/{HEIGHT_GIRLS.zscore.weekly-cf3f75f2.js → HEIGHT_GIRLS.zscore.weekly-8a83434d.js} +0 -0
  167. /package/build/{HEIGHT_GIRLS.zscore.yearly-0657adbf.js → HEIGHT_GIRLS.zscore.yearly-911993dd.js} +0 -0
  168. /package/build/{Onboarding-25ef2658.js → Onboarding-d84c04ad.js} +0 -0
  169. /package/build/{Visible-a0bfdf46.js → Visible-9beac744.js} +0 -0
  170. /package/build/{WEIGHT_BOYS.percentile.monthly-3c4c0b80.js → WEIGHT_BOYS.percentile.monthly-32ee9b58.js} +0 -0
  171. /package/build/{WEIGHT_BOYS.percentile.weekly-6fd55c8c.js → WEIGHT_BOYS.percentile.weekly-fd4bdbb7.js} +0 -0
  172. /package/build/{WEIGHT_BOYS.percentile.yearly-22c1eaf2.js → WEIGHT_BOYS.percentile.yearly-481c1a65.js} +0 -0
  173. /package/build/{WEIGHT_BOYS.zscore.monthly-7eaebe02.js → WEIGHT_BOYS.zscore.monthly-cc9bf4b3.js} +0 -0
  174. /package/build/{WEIGHT_BOYS.zscore.weekly-bafae4a1.js → WEIGHT_BOYS.zscore.weekly-47cbb089.js} +0 -0
  175. /package/build/{WEIGHT_BOYS.zscore.yearly-ea3e5654.js → WEIGHT_BOYS.zscore.yearly-96492e80.js} +0 -0
  176. /package/build/{WEIGHT_GIRLS.percentile.monthly-e10fd2eb.js → WEIGHT_GIRLS.percentile.monthly-3ccfaf67.js} +0 -0
  177. /package/build/{WEIGHT_GIRLS.percentile.weekly-6600db1a.js → WEIGHT_GIRLS.percentile.weekly-3a39c7f8.js} +0 -0
  178. /package/build/{WEIGHT_GIRLS.percentile.yearly-1c75ba74.js → WEIGHT_GIRLS.percentile.yearly-7514eb33.js} +0 -0
  179. /package/build/{WEIGHT_GIRLS.zscore.monthly-83c2332f.js → WEIGHT_GIRLS.zscore.monthly-c3efaf96.js} +0 -0
  180. /package/build/{WEIGHT_GIRLS.zscore.weekly-4715573d.js → WEIGHT_GIRLS.zscore.weekly-08881657.js} +0 -0
  181. /package/build/{WEIGHT_GIRLS.zscore.yearly-0f5ab39b.js → WEIGHT_GIRLS.zscore.yearly-a3e85136.js} +0 -0
  182. /package/build/{constants-e9d89cbf.js → constants-70ff6f94.js} +0 -0
  183. /package/build/{cookieHelper-ebc4e6fb.js → cookieHelper-2d714792.js} +0 -0
  184. /package/build/{dataTransform-3bdcb027.js → dataTransform-8406980e.js} +0 -0
  185. /package/build/esm/{BMI_BOYS.percentile.monthly-9807f46e.js → BMI_BOYS.percentile.monthly-86e19472.js} +0 -0
  186. /package/build/esm/{BMI_BOYS.percentile.weekly-99516c6a.js → BMI_BOYS.percentile.weekly-f78d2c69.js} +0 -0
  187. /package/build/esm/{BMI_BOYS.percentile.yearly-ce9f904c.js → BMI_BOYS.percentile.yearly-39f38fee.js} +0 -0
  188. /package/build/esm/{BMI_BOYS.zscore.monthly-c0018efb.js → BMI_BOYS.zscore.monthly-42d8d7fb.js} +0 -0
  189. /package/build/esm/{BMI_BOYS.zscore.weekly-8c43aa1d.js → BMI_BOYS.zscore.weekly-337e5f93.js} +0 -0
  190. /package/build/esm/{BMI_BOYS.zscore.yearly-75fe6823.js → BMI_BOYS.zscore.yearly-9908d030.js} +0 -0
  191. /package/build/esm/{BMI_GIRLS.percentile.monthly-45be76e3.js → BMI_GIRLS.percentile.monthly-71e8bdd4.js} +0 -0
  192. /package/build/esm/{BMI_GIRLS.percentile.weekly-a938d2dc.js → BMI_GIRLS.percentile.weekly-8042690d.js} +0 -0
  193. /package/build/esm/{BMI_GIRLS.percentile.yearly-b195ae4b.js → BMI_GIRLS.percentile.yearly-6154f89a.js} +0 -0
  194. /package/build/esm/{BMI_GIRLS.zscore.monthly-23be2bbb.js → BMI_GIRLS.zscore.monthly-860bae32.js} +0 -0
  195. /package/build/esm/{BMI_GIRLS.zscore.weekly-17eb2351.js → BMI_GIRLS.zscore.weekly-9c84d7ba.js} +0 -0
  196. /package/build/esm/{BMI_GIRLS.zscore.yearly-0abd404b.js → BMI_GIRLS.zscore.yearly-78d822d0.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-65191f00.js → HEAD CIRCUM_BOYS.percentile.monthly-7e1ba0a9.js} +0 -0
  198. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ba68b62f.js → HEAD CIRCUM_BOYS.percentile.weekly-2c7988e0.js} +0 -0
  199. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-abff43b1.js → HEAD CIRCUM_BOYS.percentile.yearly-1d9aa1b5.js} +0 -0
  200. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-1f932c21.js → HEAD CIRCUM_BOYS.zscore.monthly-394157a6.js} +0 -0
  201. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4b8154db.js → HEAD CIRCUM_BOYS.zscore.weekly-09ebd751.js} +0 -0
  202. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-27e6d73e.js → HEAD CIRCUM_BOYS.zscore.yearly-a885c4a4.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-12726f87.js → HEAD CIRCUM_GIRLS.percentile.monthly-88b309f0.js} +0 -0
  204. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-016d8f82.js → HEAD CIRCUM_GIRLS.percentile.weekly-9434bbf2.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b1375e70.js → HEAD CIRCUM_GIRLS.percentile.yearly-d8d74b9a.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-09091e37.js → HEAD CIRCUM_GIRLS.zscore.monthly-25491c9a.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d8c9786a.js → HEAD CIRCUM_GIRLS.zscore.weekly-fb93d44d.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-19e353e1.js → HEAD CIRCUM_GIRLS.zscore.yearly-b406efa3.js} +0 -0
  209. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8d89d5bb.js → HEIGHT_BOYS.percentile.monthly-f1d3fb21.js} +0 -0
  210. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-bcb81e36.js → HEIGHT_BOYS.percentile.weekly-df5a8043.js} +0 -0
  211. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-fa1dc9c6.js → HEIGHT_BOYS.percentile.yearly-9837aa74.js} +0 -0
  212. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3bdad66e.js → HEIGHT_BOYS.zscore.monthly-fd331297.js} +0 -0
  213. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a5d612de.js → HEIGHT_BOYS.zscore.weekly-a3769174.js} +0 -0
  214. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6e9d51f3.js → HEIGHT_BOYS.zscore.yearly-3f42266a.js} +0 -0
  215. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-87830b52.js → HEIGHT_GIRLS.percentile.monthly-a0ab5d55.js} +0 -0
  216. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4567b037.js → HEIGHT_GIRLS.percentile.weekly-76fa4392.js} +0 -0
  217. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-da281ef0.js → HEIGHT_GIRLS.percentile.yearly-a5a85036.js} +0 -0
  218. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-f1bd6d41.js → HEIGHT_GIRLS.zscore.monthly-862e9a01.js} +0 -0
  219. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-dfb717a4.js → HEIGHT_GIRLS.zscore.weekly-e47fa8dd.js} +0 -0
  220. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1a527924.js → HEIGHT_GIRLS.zscore.yearly-42393cb8.js} +0 -0
  221. /package/build/esm/{Onboarding-1a768918.js → Onboarding-162ad796.js} +0 -0
  222. /package/build/esm/{Visible-f31ab0bd.js → Visible-53c5f54b.js} +0 -0
  223. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a7d2a5d6.js → WEIGHT_BOYS.percentile.monthly-4c3ba7a8.js} +0 -0
  224. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-4db9ef5b.js → WEIGHT_BOYS.percentile.weekly-808f3925.js} +0 -0
  225. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3a02a2fe.js → WEIGHT_BOYS.percentile.yearly-a1fd58fc.js} +0 -0
  226. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c6c17dbb.js → WEIGHT_BOYS.zscore.monthly-fa545106.js} +0 -0
  227. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-194dba10.js → WEIGHT_BOYS.zscore.weekly-f509d556.js} +0 -0
  228. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-1c5789f6.js → WEIGHT_BOYS.zscore.yearly-7fb014fa.js} +0 -0
  229. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f5ee1a36.js → WEIGHT_GIRLS.percentile.monthly-ea8af345.js} +0 -0
  230. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9094c3c8.js → WEIGHT_GIRLS.percentile.weekly-041f9740.js} +0 -0
  231. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4d79f972.js → WEIGHT_GIRLS.percentile.yearly-402353bb.js} +0 -0
  232. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-af081281.js → WEIGHT_GIRLS.zscore.monthly-7ad31f24.js} +0 -0
  233. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4c5547f3.js → WEIGHT_GIRLS.zscore.weekly-e9d00036.js} +0 -0
  234. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d203f99d.js → WEIGHT_GIRLS.zscore.yearly-7a08de14.js} +0 -0
  235. /package/build/esm/{constants-1ce96dcb.js → constants-503e66b1.js} +0 -0
  236. /package/build/esm/{cookieHelper-150887a7.js → cookieHelper-819aa53d.js} +0 -0
  237. /package/build/esm/{dataTransform-db2b4fe2.js → dataTransform-49836b5f.js} +0 -0
  238. /package/build/esm/{index-f624e855.js → index-7a93a63d.js} +0 -0
  239. /package/build/esm/{isProduction-a9c5d11e.js → isProduction-0d098ed1.js} +0 -0
  240. /package/build/esm/{localizeNumberFormat-a702caf9.js → localizeNumberFormat-868ced9b.js} +0 -0
  241. /package/build/esm/{number-c9784165.js → number-d500cb4f.js} +0 -0
  242. /package/build/esm/{paths-66c627e1.js → paths-b90f2d47.js} +0 -0
  243. /package/build/esm/{screenSizeContext-43fb8b07.js → screenSizeContext-64afb51a.js} +0 -0
  244. /package/build/esm/{theme-286aea2a.js → theme-09443175.js} +0 -0
  245. /package/build/esm/{translationsContext-007727ac.js → translationsContext-cd4458f3.js} +0 -0
  246. /package/build/esm/{tslib.es6-d373c145.js → tslib.es6-4c7b0f72.js} +0 -0
  247. /package/build/esm/{types-5a5f672a.js → types-971a34d2.js} +0 -0
  248. /package/build/esm/{useIsInit-9a3e97c5.js → useIsInit-44077ac8.js} +0 -0
  249. /package/build/esm/{useOutsideClick-2afac273.js → useOutsideClick-3f7dd31c.js} +0 -0
  250. /package/build/esm/{useScrollbarSize-362ff690.js → useScrollbarSize-893163d7.js} +0 -0
  251. /package/build/esm/{useUniqueId-cdf31a01.js → useUniqueId-baa4184c.js} +0 -0
  252. /package/build/{index-58d0dd69.js → index-1d618f10.js} +0 -0
  253. /package/build/{isProduction-599cdf42.js → isProduction-8b6f0290.js} +0 -0
  254. /package/build/{localizeNumberFormat-f2d20430.js → localizeNumberFormat-3bf614f0.js} +0 -0
  255. /package/build/{number-7d82e734.js → number-de388243.js} +0 -0
  256. /package/build/{paths-b3c22a40.js → paths-85675ddd.js} +0 -0
  257. /package/build/{screenSizeContext-8435d2b4.js → screenSizeContext-5d54cf78.js} +0 -0
  258. /package/build/{theme-f669272f.js → theme-b6c0bc18.js} +0 -0
  259. /package/build/{translationsContext-8c37b691.js → translationsContext-5cf73b1b.js} +0 -0
  260. /package/build/{tslib.es6-6b5443b8.js → tslib.es6-e4831baa.js} +0 -0
  261. /package/build/{types-6abb4cb1.js → types-48eb2ebe.js} +0 -0
  262. /package/build/{useIsInit-f16f32af.js → useIsInit-6757f8d6.js} +0 -0
  263. /package/build/{useOutsideClick-331872e4.js → useOutsideClick-feeeebd1.js} +0 -0
  264. /package/build/{useScrollbarSize-01640e53.js → useScrollbarSize-30a066bd.js} +0 -0
  265. /package/build/{useUniqueId-53d68f88.js → useUniqueId-a92fd82a.js} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./tslib.es6-6b5443b8.js"),t=require("react"),a=require("./useTranslations-811c5b6c.js"),i=require("lodash/debounce"),o=require("./constants-e9d89cbf.js"),l=require("./index-1b51ee05.js"),n=require("styled-components"),s=require("./index-12c87b3c.js"),r=require("./theme-f669272f.js"),c=require("./screenSizeContext-8435d2b4.js"),d=require("react-loading-skeleton"),u=require("lodash/shuffle"),p=require("./useOutsideClick-331872e4.js"),h=require("./paths-b3c22a40.js"),g=require("@mantine/core"),f=require("./index-18be7747.js"),m=require("./cookieHelper-ebc4e6fb.js"),C=require("./index-0e65a262.js"),b=require("string-format");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function v(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var x=v(t),E=y(t),S=y(i),w=y(n),L=y(d),O=y(u),k=y(b);const I=e=>x.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),x.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}));function T(){const[e,a]=t.useState((()=>{if("undefined"==typeof window)return"unset";if(m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";const e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),[i,o]=t.useState((()=>{if("undefined"==typeof window)return null;const e=m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),l=t.useCallback((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((e=>{const t={lat:""+Math.round(1e7*e.coords.latitude)/1e7,lng:""+Math.round(1e7*e.coords.longitude)/1e7};m.setCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),{minutes:15}),o(t),a("granted")}),(()=>{m.deleteCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE),a("denied")}))}),[]);return t.useMemo((()=>({geoLocationPermission:e,geoLocationCoordinates:i,requestGeoLocation:l})),[e,i])}const j=w.default.div``,M=w.default.div`
1
+ "use strict";var e=require("./tslib.es6-e4831baa.js"),t=require("react"),a=require("./useTranslations-e745135f.js"),i=require("lodash/debounce"),o=require("./constants-70ff6f94.js"),l=require("./index-ab344c20.js"),n=require("styled-components"),s=require("./index-aed64d15.js"),r=require("./theme-b6c0bc18.js"),c=require("./screenSizeContext-5d54cf78.js"),d=require("react-loading-skeleton"),u=require("lodash/shuffle"),p=require("./useOutsideClick-feeeebd1.js"),h=require("./paths-85675ddd.js"),g=require("@mantine/core"),f=require("./index-41ae34d3.js"),m=require("./cookieHelper-2d714792.js"),C=require("./index-3ff0336e.js"),b=require("string-format");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function v(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var x=v(t),E=y(t),S=y(i),w=y(n),L=y(d),O=y(u),k=y(b);const I=e=>x.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),x.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}));function T(){const[e,a]=t.useState((()=>{if("undefined"==typeof window)return"unset";if(m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";const e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),[i,o]=t.useState((()=>{if("undefined"==typeof window)return null;const e=m.getCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),l=t.useCallback((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((e=>{const t={lat:""+Math.round(1e7*e.coords.latitude)/1e7,lng:""+Math.round(1e7*e.coords.longitude)/1e7};m.setCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),{minutes:15}),o(t),a("granted")}),(()=>{m.deleteCookie(f.USER_GEOLOCATION_COORDINATES_COOKIE),a("denied")}))}),[]);return t.useMemo((()=>({geoLocationPermission:e,geoLocationCoordinates:i,requestGeoLocation:l})),[e,i])}const j=w.default.div``,M=w.default.div`
2
2
  --searchbar-z-index: 305;
3
3
  &[data-is-modal='true'] {
4
4
  position: fixed;
package/build/types.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-25ef2658.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-d84c04ad.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
@@ -1 +1 @@
1
- "use strict";var e=require("react"),a=require("./Onboarding-25ef2658.js"),n=require("./useTranslations-811c5b6c.js");const t={"vi-VN":"mang-thai","id-ID":"kehamilan","ms-MY":"kehamilan","km-KH":"ពពោះ","en-PH":"pregnancy","tl-PH":"pregnancy","th-TH":"การตั้งครรภ์","my-MM":"pregnancy","zh-TW":"pregnancy","hi-IN":"pregnancy"},b={[a.LOCALE.Vietnam]:{sexualWellness:"suc-khoe-tinh-duc",health:"suc-khoe",healthyEating:"an-uong-lanh-manh",skinHealth:"da-lieu",healthyHabit:"thoi-quen-lanh-manh",drug:"thuoc",womensHealth:"suc-khoe-phu-nu",fitness:"the-duc-the-thao",pregnancy:"mang-thai",parenting:"nuoi-day-con",diabetes:"tieu-duong-dai-thao-duong",healthyMind:"tam-ly-tam-than"},[a.LOCALE.Indonesia]:{pregnancy:"kehamilan",parenting:"parenting",health:"sehat",diabetes:"diabetes",womensHealth:"wanita",drug:"obat-suplemen",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Malaysia]:{pregnancy:"kehamilan",parenting:"keibubapaan",health:"kesihatan",diabetes:"kencing-manis",womensHealth:"kesihatan-wanita",drug:"ubat",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Cambodia]:{pregnancy:"%e1%9e%96%e1%9e%96%e1%9f%84%e1%9f%87",parenting:"%e1%9e%85%e1%9e%b7%e1%9e%89%e1%9f%92%e1%9e%85%e1%9e%b9%e1%9e%98%e1%9e%80%e1%9e%bc%e1%9e%93",health:"%e1%9e%9f%e1%9e%bb%e1%9e%81%e1%9e%97%e1%9e%b6%e1%9e%96%e1%9e%91%e1%9e%bc%e1%9e%91%e1%9f%85",diabetes:"%e1%9e%87%e1%9f%86%e1%9e%84%e1%9e%ba%e1%9e%91%e1%9e%b9%e1%9e%80%e1%9e%93%e1%9f%84%e1%9e%98%e1%9e%95%e1%9f%92%e1%9e%a2%e1%9f%82%e1%9e%98",womensHealth:"%e1%9e%9f%e1%9e%bb%e1%9e%81%e1%9e%97%e1%9e%b6%e1%9e%96%e1%9e%9f%e1%9f%92%e1%9e%8f%e1%9f%92%e1%9e%9a%e1%9e%b8",drug:"%e1%9e%b1%e1%9e%9f%e1%9e%90%e1%9e%93%e1%9e%b7%e1%9e%84%e1%9e%a2%e1%9e%b6%e1%9e%a0%e1%9e%b6%e1%9e%9a%e1%9e%94%e1%9f%86%e1%9e%94%e1%9f%89%e1%9e%93",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.PhilippinesEnglish]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplements",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.PhilippinesTagalog]:{pregnancy:"pagbubuntis",parenting:"pagiging-magulang",health:"kalusugan",diabetes:"diabetes-fil",womensHealth:"kalusugan-kababaihan",drug:"drugs-at-supplements",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Thailand]:{pregnancy:"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%84%e0%b8%a3%e0%b8%a3%e0%b8%a0%e0%b9%8c",parenting:"%e0%b8%9e%e0%b9%88%e0%b8%ad%e0%b9%81%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%a5%e0%b8%b5%e0%b9%89%e0%b8%a2%e0%b8%87%e0%b8%a5%e0%b8%b9%e0%b8%81",health:"%e0%b8%aa%e0%b8%b8%e0%b8%82%e0%b8%a0%e0%b8%b2%e0%b8%9e",diabetes:"%e0%b9%82%e0%b8%a3%e0%b8%84%e0%b9%80%e0%b8%9a%e0%b8%b2%e0%b8%ab%e0%b8%a7%e0%b8%b2%e0%b8%99",womensHealth:"%e0%b8%aa%e0%b8%b8%e0%b8%82%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b8%ab%e0%b8%8d%e0%b8%b4%e0%b8%87",drug:"%e0%b8%a2%e0%b8%b2%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%ad%e0%b8%b2%e0%b8%ab%e0%b8%b2%e0%b8%a3%e0%b9%80%e0%b8%aa%e0%b8%a3%e0%b8%b4%e0%b8%a1",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Myanmar]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-az",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Taiwan]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplement",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.India]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",diabetesEn:"en-diabetes",drug:"dawaai",sexualWellness:"",healthyEating:"",skinHealth:""}};exports.MAPPED_CATEGORY_SLUGS=b,exports.PREGNANCY_SLUG=t,exports.useCategory=a=>{const{locale:s}=n.useTranslations();return{isPregnancy:e.useMemo((()=>decodeURI(a.replace(/\//gi,"")).includes(t[s])),[]),isParenting:e.useMemo((()=>{var e;return decodeURI(a.replace(/\//gi,"")).includes(null===(e=b[s])||void 0===e?void 0:e.parenting)}),[]),type:e.useMemo((()=>function(e,a){const n=e.split("/");for(const e in a){const t=a[e];if(n.includes(t))return e}return null}(a,b[s])),[a,s])}};
1
+ "use strict";var e=require("react"),a=require("./Onboarding-d84c04ad.js"),n=require("./useTranslations-e745135f.js");const t={"vi-VN":"mang-thai","id-ID":"kehamilan","ms-MY":"kehamilan","km-KH":"ពពោះ","en-PH":"pregnancy","tl-PH":"pregnancy","th-TH":"การตั้งครรภ์","my-MM":"pregnancy","zh-TW":"pregnancy","hi-IN":"pregnancy"},b={[a.LOCALE.Vietnam]:{sexualWellness:"suc-khoe-tinh-duc",health:"suc-khoe",healthyEating:"an-uong-lanh-manh",skinHealth:"da-lieu",healthyHabit:"thoi-quen-lanh-manh",drug:"thuoc",womensHealth:"suc-khoe-phu-nu",fitness:"the-duc-the-thao",pregnancy:"mang-thai",parenting:"nuoi-day-con",diabetes:"tieu-duong-dai-thao-duong",healthyMind:"tam-ly-tam-than"},[a.LOCALE.Indonesia]:{pregnancy:"kehamilan",parenting:"parenting",health:"sehat",diabetes:"diabetes",womensHealth:"wanita",drug:"obat-suplemen",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Malaysia]:{pregnancy:"kehamilan",parenting:"keibubapaan",health:"kesihatan",diabetes:"kencing-manis",womensHealth:"kesihatan-wanita",drug:"ubat",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Cambodia]:{pregnancy:"%e1%9e%96%e1%9e%96%e1%9f%84%e1%9f%87",parenting:"%e1%9e%85%e1%9e%b7%e1%9e%89%e1%9f%92%e1%9e%85%e1%9e%b9%e1%9e%98%e1%9e%80%e1%9e%bc%e1%9e%93",health:"%e1%9e%9f%e1%9e%bb%e1%9e%81%e1%9e%97%e1%9e%b6%e1%9e%96%e1%9e%91%e1%9e%bc%e1%9e%91%e1%9f%85",diabetes:"%e1%9e%87%e1%9f%86%e1%9e%84%e1%9e%ba%e1%9e%91%e1%9e%b9%e1%9e%80%e1%9e%93%e1%9f%84%e1%9e%98%e1%9e%95%e1%9f%92%e1%9e%a2%e1%9f%82%e1%9e%98",womensHealth:"%e1%9e%9f%e1%9e%bb%e1%9e%81%e1%9e%97%e1%9e%b6%e1%9e%96%e1%9e%9f%e1%9f%92%e1%9e%8f%e1%9f%92%e1%9e%9a%e1%9e%b8",drug:"%e1%9e%b1%e1%9e%9f%e1%9e%90%e1%9e%93%e1%9e%b7%e1%9e%84%e1%9e%a2%e1%9e%b6%e1%9e%a0%e1%9e%b6%e1%9e%9a%e1%9e%94%e1%9f%86%e1%9e%94%e1%9f%89%e1%9e%93",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.PhilippinesEnglish]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplements",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.PhilippinesTagalog]:{pregnancy:"pagbubuntis",parenting:"pagiging-magulang",health:"kalusugan",diabetes:"diabetes-fil",womensHealth:"kalusugan-kababaihan",drug:"drugs-at-supplements",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Thailand]:{pregnancy:"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87%e0%b8%84%e0%b8%a3%e0%b8%a3%e0%b8%a0%e0%b9%8c",parenting:"%e0%b8%9e%e0%b9%88%e0%b8%ad%e0%b9%81%e0%b8%a1%e0%b9%88%e0%b9%80%e0%b8%a5%e0%b8%b5%e0%b9%89%e0%b8%a2%e0%b8%87%e0%b8%a5%e0%b8%b9%e0%b8%81",health:"%e0%b8%aa%e0%b8%b8%e0%b8%82%e0%b8%a0%e0%b8%b2%e0%b8%9e",diabetes:"%e0%b9%82%e0%b8%a3%e0%b8%84%e0%b9%80%e0%b8%9a%e0%b8%b2%e0%b8%ab%e0%b8%a7%e0%b8%b2%e0%b8%99",womensHealth:"%e0%b8%aa%e0%b8%b8%e0%b8%82%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b8%ab%e0%b8%8d%e0%b8%b4%e0%b8%87",drug:"%e0%b8%a2%e0%b8%b2%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%ad%e0%b8%b2%e0%b8%ab%e0%b8%b2%e0%b8%a3%e0%b9%80%e0%b8%aa%e0%b8%a3%e0%b8%b4%e0%b8%a1",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Myanmar]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-az",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.Taiwan]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",drug:"drugs-supplement",sexualWellness:"",healthyEating:"",skinHealth:""},[a.LOCALE.India]:{pregnancy:"pregnancy",parenting:"parenting",health:"health",diabetes:"diabetes",womensHealth:"womens-health",diabetesEn:"en-diabetes",drug:"dawaai",sexualWellness:"",healthyEating:"",skinHealth:""}};exports.MAPPED_CATEGORY_SLUGS=b,exports.PREGNANCY_SLUG=t,exports.useCategory=a=>{const{locale:s}=n.useTranslations();return{isPregnancy:e.useMemo((()=>decodeURI(a.replace(/\//gi,"")).includes(t[s])),[]),isParenting:e.useMemo((()=>{var e;return decodeURI(a.replace(/\//gi,"")).includes(null===(e=b[s])||void 0===e?void 0:e.parenting)}),[]),type:e.useMemo((()=>function(e,a){const n=e.split("/");for(const e in a){const t=a[e];if(n.includes(t))return e}return null}(a,b[s])),[a,s])}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-e4831baa.js"),t=require("react"),a=require("./getDynamicHealthTool-4381d375.js");exports.useHealthToolsCache=o=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield a.getDynamicHealthToolWithCache(o);l(e)}))}),[a.getDynamicHealthToolWithCache,o]);const r=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:r}};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-6b5443b8.js"),t=require("react"),r=require("./cookieHelper-ebc4e6fb.js"),n=require("./useUniqueId-53d68f88.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const o=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,a,u,l;if(!o.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),o.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(a=o.current)||void 0===a?void 0:a.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,o,a,c,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),o&&(d.db=o),c&&(d.ct=c),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),o=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,o]};
1
+ "use strict";var e=require("./tslib.es6-e4831baa.js"),t=require("react"),r=require("./cookieHelper-2d714792.js"),n=require("./useUniqueId-a92fd82a.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const a=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,u,l;if(!a.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),a.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(o=a.current)||void 0===o?void 0:o.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,a,o,s,c]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};c&&(d.fn=c),e&&(d.em=e),t&&(d.ph=t),a&&(d.db=a),s&&(d.ct=s),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),a=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,a]};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./translationsContext-8c37b691.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){const{values:a,locale:o}=e.useContext(t.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,t)=>a?a[e]?t?n.default(a[e]||e,t):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),t?n.default(e,t):e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
1
+ "use strict";var e=require("react"),t=require("./translationsContext-5cf73b1b.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){const{values:a,locale:o}=e.useContext(t.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,t)=>a?a[e]?t?n.default(a[e]||e,t):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),t?n.default(e,t):e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
@@ -0,0 +1 @@
1
+ "use strict";var a=require("./Onboarding-d84c04ad.js");const i={[a.LOCALE.Vietnam]:"VN",[a.LOCALE.Cambodia]:"KH",[a.LOCALE.Indonesia]:"ID",[a.LOCALE.Malaysia]:"MY",[a.LOCALE.PhilippinesEnglish]:"PH",[a.LOCALE.PhilippinesTagalog]:"PH",[a.LOCALE.Taiwan]:"TW",[a.LOCALE.Thailand]:"TH",[a.LOCALE.Myanmar]:"MM"};exports.MAPPED_LOCALE=i,exports.hiddenEmailChar=(a="")=>{const i=a.indexOf("@"),n=a.substring(0,i),L=n.length>3?3:n.length;return a.replace(a.substring(L,i),a.slice(L,i).replace(/./g,"x"))};
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-6b5443b8.js"),t=require("react"),a=require("@mantine/core"),l=require("./index.styles-bae5d6a7.js");require("@mantine/dates"),require("./index-18be7747.js");var n=require("./Onboarding-25ef2658.js");require("./gAssets.js");var r=require("dayjs"),i=require("./screenSizeContext-8435d2b4.js"),o=require("styled-components"),c=require("./theme-f669272f.js");require("./isProduction-599cdf42.js");var s=require("./useTranslations-811c5b6c.js");require("./index-26de4739.js");var d=require("@mantine/hooks");require("lodash/debounce"),require("./useCategory-e43f7bd8.js");var u=require("./index-58d0dd69.js");require("./translationsContext-8c37b691.js"),require("string-format");var m=require("./index-0e65a262.js"),f=require("./index-21033de0.js"),C=require("@mantine/form"),p=require("dayjs/plugin/customParseFormat"),g=require("./index-353df903.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-12c87b3c.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./useUniqueId-53d68f88.js"),require("./cookieHelper-ebc4e6fb.js"),require("slugify"),require("date-fns/locale"),require("lodash/throttle");var b=h(t),E=h(r),x=h(o),v=h(p);const y=x.default.div`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-e4831baa.js"),t=require("react"),a=require("@mantine/core"),l=require("./index.styles-e5ad94f2.js");require("@mantine/dates"),require("./index-41ae34d3.js");var n=require("./Onboarding-d84c04ad.js");require("./gAssets.js");var r=require("dayjs"),i=require("./screenSizeContext-5d54cf78.js"),o=require("styled-components"),c=require("./theme-b6c0bc18.js");require("./isProduction-8b6f0290.js");var s=require("./useTranslations-e745135f.js");require("./index-ae766244.js");var d=require("@mantine/hooks");require("lodash/debounce"),require("./useCategory-79133097.js");var u=require("./index-1d618f10.js");require("./translationsContext-5cf73b1b.js"),require("string-format");var m=require("./index-3ff0336e.js"),f=require("./index-04966ab7.js"),C=require("@mantine/form"),p=require("dayjs/plugin/customParseFormat"),g=require("./index-14e0f70d.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-aed64d15.js"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("./useUniqueId-a92fd82a.js"),require("./cookieHelper-2d714792.js"),require("slugify"),require("date-fns/locale"),require("lodash/throttle");var b=h(t),E=h(r),x=h(o),v=h(p);const y=x.default.div`
2
2
  position: relative;
3
3
  padding: 16px;
4
4
  min-height: 110px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hhgtech/hhg-components",
3
- "version": "1.27.119",
3
+ "version": "1.27.121",
4
4
  "main": "build/index.js",
5
5
  "module": "build/esm/index.js",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  "description": "Hello Health Group common components",
11
11
  "scripts": {
12
12
  "build": "rm -rf build && rollup -c",
13
- "test": "",
13
+ "test": "pretty-quick --staged && npm run lint",
14
14
  "test:watch": "jest --watch",
15
15
  "test:update:snapshot": "jest --updateSnapshot",
16
16
  "storybook": "storybook dev -p 6006",
@@ -32,7 +32,8 @@
32
32
  "get-translation": "node ./src/scripts/getTranslationFromFile.js",
33
33
  "get-baby-growth": "node ./src/scripts/getBabyGrowthData.js",
34
34
  "gitlab": "node ./src/scripts/gitWorkflow.mjs",
35
- "icons:generate": "node ./scripts/generate-storybook-icons.js"
35
+ "icons:generate": "node ./scripts/generate-storybook-icons.js",
36
+ "prepare": "husky install"
36
37
  },
37
38
  "husky": {
38
39
  "hooks": {
@@ -130,7 +131,7 @@
130
131
  "fetch-mock": "^9.11.0",
131
132
  "figlet": "^1.5.0",
132
133
  "html-react-parser": "^1.2.7",
133
- "husky": "^4.3.6",
134
+ "husky": "^8.0.3",
134
135
  "identity-obj-proxy": "^3.0.0",
135
136
  "inquirer": "^8.2.5",
136
137
  "jest": "^26.6.3",
@@ -1 +0,0 @@
1
- "use strict";var t=require("./tslib.es6-6b5443b8.js"),e=require("./isProduction-599cdf42.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;