@hhgtech/hhg-components 1.29.76 → 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 (292) hide show
  1. package/build/{Instagram-86b7bc15.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-719fbb90.js → constants-385d01e7.js} +2 -2
  10. package/build/constants.js +3 -3
  11. package/build/{core-f571f62a.js → core-e0799ceb.js} +2 -2
  12. package/build/{dataTransform-aac3f8cd.js → dataTransform-c8c14a28.js} +1 -1
  13. package/build/{utils-83337870.js → defaultClassWrapper-8ac3b7f0.js} +118 -392
  14. package/build/ecom.js +5 -5
  15. package/build/esm/{Instagram-de0e8d98.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-49a4dcdf.js → constants-5d6ab948.js} +2 -2
  24. package/build/esm/constants.js +3 -3
  25. package/build/esm/{core-f79180f8.js → core-296015da.js} +2 -2
  26. package/build/esm/{dataTransform-3807c9d2.js → dataTransform-0066c53b.js} +1 -1
  27. package/build/esm/{utils-296f6ce0.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-10e36e9d.js → getDynamicHealthTool-7cf3f00e.js} +4 -4
  32. package/build/esm/{getSocialList-a6c786db.js → getSocialList-f797bbe2.js} +31 -12
  33. package/build/esm/hooks.js +17 -17
  34. package/build/esm/i18n-values/ms-MY.js +1 -1
  35. package/build/esm/i18n.js +2 -2
  36. package/build/esm/i18nV2.js +2 -2
  37. package/build/esm/index-043dfbc3.js +216 -0
  38. package/build/esm/{index-aee34a48.js → index-09ecd45f.js} +37 -36
  39. package/build/esm/{index-a570b2ed.js → index-13975e28.js} +4 -4
  40. package/build/esm/{index-2f4855a8.js → index-25209a23.js} +37 -37
  41. package/build/esm/{index-53d2876e.js → index-2da84fe8.js} +1 -1
  42. package/build/esm/{index-cd069a89.js → index-2e13488d.js} +2 -2
  43. package/build/esm/{index-75509fc3.js → index-30eb73b8.js} +3 -3
  44. package/build/esm/{index-22423f24.js → index-4e6d8f1c.js} +11 -11
  45. package/build/esm/{index-efc77575.js → index-5b69b19c.js} +2 -2
  46. package/build/esm/{index-d0a2f6ec.js → index-5c2abf3a.js} +1052 -1052
  47. package/build/esm/{index-88b710e3.js → index-62059a85.js} +2 -2
  48. package/build/esm/{index-450a7d58.js → index-6896ecdf.js} +2 -2
  49. package/build/esm/{index-707072a0.js → index-6c7832ac.js} +21 -21
  50. package/build/esm/{index-d5092c27.js → index-70bb6ed3.js} +120 -120
  51. package/build/esm/{index-9c23f470.js → index-869411be.js} +10 -10
  52. package/build/esm/{index-413867da.js → index-94f2f772.js} +3 -3
  53. package/build/esm/{constants-14a25a1f.js → index-9dd8721c.js} +113 -113
  54. package/build/esm/{index-7d30d2d2.js → index-a2404202.js} +2 -2
  55. package/build/esm/{index-bc29a2b6.js → index-ad1d81e3.js} +2 -2
  56. package/build/esm/{index-5d51ace9.js → index-b45321ac.js} +6 -6
  57. package/build/esm/{index-352d0aa5.js → index-b851beaf.js} +1 -1
  58. package/build/esm/index-b9666693.js +298 -0
  59. package/build/esm/{index-caf6722b.js → index-c8e5b7ad.js} +5 -5
  60. package/build/esm/{index-c79781fb.js → index-dd00700b.js} +2 -2
  61. package/build/esm/{index-42b1983c.js → index-e80cb404.js} +12 -12
  62. package/build/esm/{index-f3e72b4d.js → index-ed317f58.js} +62 -62
  63. package/build/esm/{index-5f3f2d6f.js → index-f160e379.js} +2 -2
  64. package/build/esm/{index-a3ca59d6.js → index-fc868dc0.js} +5 -5
  65. package/build/esm/index.css +1 -1
  66. package/build/esm/index.js +66 -65
  67. package/build/esm/{index.styled-ce027616.js → index.styled-19fa0003.js} +2 -2
  68. package/build/esm/{index.styles-82c0faa1.js → index.styles-0693a12e.js} +78 -78
  69. package/build/esm/lead.js +28 -28
  70. package/build/esm/mantine.js +20 -20
  71. package/build/esm/misc.js +23 -20
  72. package/build/esm/navigation.js +35 -35
  73. package/build/esm/onboardingV2.js +32 -32
  74. package/build/esm/pwg.js +19 -19
  75. package/build/esm/{routing-322eaa4c.js → routing-ddff6eb9.js} +2 -2
  76. package/build/esm/subot.js +27 -233
  77. package/build/esm/together.js +35 -35
  78. package/build/esm/{types-a3ed86c8.js → types-1ab8164a.js} +13 -13
  79. package/build/esm/{types-44a9ece1.js → types-29a56da4.js} +30 -30
  80. package/build/esm/types.js +1 -1
  81. package/build/esm/{useCategory-948fb6a8.js → useCategory-00116196.js} +5 -5
  82. package/build/esm/{useHealthToolCache-28a3c4c6.js → useHealthToolCache-298307bc.js} +2 -2
  83. package/build/esm/{useMantineLocale-9b58b685.js → useMantineLocale-e9d07649.js} +3 -3
  84. package/build/esm/{usePlacesAutocomplete-dd489ec7.js → usePlacesAutocomplete-3c09ae6c.js} +1 -1
  85. package/build/esm/{useTranslations-d26d2dd7.js → useTranslations-ee0ed7e4.js} +1 -1
  86. package/build/esm/{utils-c74c31bf.js → utils-70fb5414.js} +4 -4
  87. package/build/esm/{utils-4caabcaf.js → utils-98843bdc.js} +1 -1
  88. package/build/esm/vaccination.js +26 -26
  89. package/build/footer.js +18 -18
  90. package/build/gAssets.js +4 -4
  91. package/build/{getDynamicHealthTool-cbdcdf15.js → getDynamicHealthTool-fe5aca1c.js} +4 -4
  92. package/build/{getSocialList-1694e67f.js → getSocialList-717ee974.js} +32 -13
  93. package/build/hooks.js +17 -17
  94. package/build/i18n-values/ms-MY.js +1 -1
  95. package/build/i18n.js +1 -1
  96. package/build/i18nV2.js +1 -1
  97. package/build/{index-ce4f11ef.js → index-172570c5.js} +5 -5
  98. package/build/{index-159e2660.js → index-266faebd.js} +2 -2
  99. package/build/{index-0454a0b5.js → index-297519c0.js} +3 -3
  100. package/build/{index-61367fe0.js → index-2dd62be1.js} +12 -12
  101. package/build/{index-f6ac4acf.js → index-2ed617c9.js} +6 -6
  102. package/build/{index-ac45c9ce.js → index-2f39a918.js} +4 -4
  103. package/build/{index-ff3c5c20.js → index-3f5ce427.js} +11 -11
  104. package/build/{index-5efec884.js → index-3fea5307.js} +2 -2
  105. package/build/{index-dba96acd.js → index-50cc6ee0.js} +22 -22
  106. package/build/{index-33f0bff6.js → index-58d6aa20.js} +10 -10
  107. package/build/{index-813921ef.js → index-657d308e.js} +2 -2
  108. package/build/{constants-6781c0a5.js → index-714baad1.js} +113 -113
  109. package/build/{index-8c0adaed.js → index-888fe1c7.js} +2 -2
  110. package/build/{index-cafc9574.js → index-896cf1e8.js} +55 -55
  111. package/build/{index-55261180.js → index-8bbc5f6c.js} +2 -2
  112. package/build/{index-80b5097a.js → index-a74e681a.js} +1 -1
  113. package/build/{index-48aca6d7.js → index-bd99a93f.js} +1050 -1050
  114. package/build/{index-83e3c045.js → index-c6d8ee38.js} +68 -68
  115. package/build/{index-d911e858.js → index-ca2880f5.js} +48 -47
  116. package/build/index-d37fb502.js +233 -0
  117. package/build/{index-909623c9.js → index-d98b6533.js} +2 -2
  118. package/build/{index-a6ab742a.js → index-de879d05.js} +120 -120
  119. package/build/{index-b1720522.js → index-e1d386b9.js} +7 -7
  120. package/build/{index-b71ec348.js → index-e76edc59.js} +8 -8
  121. package/build/{index-1f765864.js → index-f5c1576f.js} +2 -2
  122. package/build/{WhatsApp-6b693d67.js → index-fbc4ad0a.js} +276 -1
  123. package/build/{index-07db6c89.js → index-fd9e9e31.js} +3 -3
  124. package/build/index.css +1 -1
  125. package/build/index.js +108 -107
  126. package/build/{index.styled-50af6497.js → index.styled-cd56f718.js} +2 -2
  127. package/build/{index.styles-77df1c2b.js → index.styles-15b57fec.js} +83 -83
  128. package/build/lead.js +28 -28
  129. package/build/mantine.js +17 -17
  130. package/build/misc.js +23 -20
  131. package/build/navigation.js +35 -35
  132. package/build/onboardingV2.js +31 -31
  133. package/build/pwg.js +19 -19
  134. package/build/{routing-19724fda.js → routing-101c464a.js} +2 -2
  135. package/build/subot.js +338 -545
  136. package/build/together.js +40 -40
  137. package/build/{types-841ea0f8.js → types-65270049.js} +49 -49
  138. package/build/{types-8103df55.js → types-bc9b7ff5.js} +191 -191
  139. package/build/types.js +1 -1
  140. package/build/{useCategory-0b2ef197.js → useCategory-99167875.js} +5 -5
  141. package/build/{useHealthToolCache-3c423143.js → useHealthToolCache-347a7553.js} +2 -2
  142. package/build/{useMantineLocale-38ffd9ae.js → useMantineLocale-67d093f5.js} +3 -3
  143. package/build/{usePlacesAutocomplete-646b2b03.js → usePlacesAutocomplete-0d428f7d.js} +1 -1
  144. package/build/{useTranslations-3da8d23e.js → useTranslations-ddee03e3.js} +1 -1
  145. package/build/{utils-9a87f8d9.js → utils-bc89f5c8.js} +4 -4
  146. package/build/{utils-478cfe5d.js → utils-f2b61d2c.js} +1 -1
  147. package/build/vaccination.js +26 -26
  148. package/package.json +1 -1
  149. package/build/esm/WhatsApp-11fc8356.js +0 -24
  150. /package/build/{BMI_BOYS.percentile.monthly-9b50e52f.js → BMI_BOYS.percentile.monthly-2dbe6dbf.js} +0 -0
  151. /package/build/{BMI_BOYS.percentile.weekly-4439d476.js → BMI_BOYS.percentile.weekly-68fd0e8a.js} +0 -0
  152. /package/build/{BMI_BOYS.percentile.yearly-960c0771.js → BMI_BOYS.percentile.yearly-a334f00f.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.monthly-4b43250e.js → BMI_BOYS.zscore.monthly-f1f1e40c.js} +0 -0
  154. /package/build/{BMI_BOYS.zscore.weekly-d4907b9f.js → BMI_BOYS.zscore.weekly-eaadf495.js} +0 -0
  155. /package/build/{BMI_BOYS.zscore.yearly-9ee69f9d.js → BMI_BOYS.zscore.yearly-ee0a8baa.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.monthly-dc2fdf0e.js → BMI_GIRLS.percentile.monthly-2a4322e1.js} +0 -0
  157. /package/build/{BMI_GIRLS.percentile.weekly-1b38bd96.js → BMI_GIRLS.percentile.weekly-8d2160f3.js} +0 -0
  158. /package/build/{BMI_GIRLS.percentile.yearly-02414e20.js → BMI_GIRLS.percentile.yearly-e305a1c3.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.monthly-22932f64.js → BMI_GIRLS.zscore.monthly-370967e2.js} +0 -0
  160. /package/build/{BMI_GIRLS.zscore.weekly-821fa654.js → BMI_GIRLS.zscore.weekly-82dbdbeb.js} +0 -0
  161. /package/build/{BMI_GIRLS.zscore.yearly-7dbcbb1a.js → BMI_GIRLS.zscore.yearly-b624b0c5.js} +0 -0
  162. /package/build/{ChevronDown-8960bba8.js → ChevronDown-6a728605.js} +0 -0
  163. /package/build/{Close-08bd4298.js → Close-6a790433.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4d93a363.js → HEAD CIRCUM_BOYS.percentile.monthly-2d793b40.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6ba303fa.js → HEAD CIRCUM_BOYS.percentile.weekly-3ec0fbcd.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0a4ffaee.js → HEAD CIRCUM_BOYS.percentile.yearly-018cfad7.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d8eaa381.js → HEAD CIRCUM_BOYS.zscore.monthly-9a92fc56.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c87e6af4.js → HEAD CIRCUM_BOYS.zscore.weekly-ec5c1b66.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d9a52671.js → HEAD CIRCUM_BOYS.zscore.yearly-1bbc9e90.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4ed7bb97.js → HEAD CIRCUM_GIRLS.percentile.monthly-88bf7054.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6e4b369c.js → HEAD CIRCUM_GIRLS.percentile.weekly-48abc5c8.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a921267b.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb5476be.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1cae954b.js → HEAD CIRCUM_GIRLS.zscore.monthly-b4908eed.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5d43456f.js → HEAD CIRCUM_GIRLS.zscore.weekly-bb3b5b73.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-eced20c8.js → HEAD CIRCUM_GIRLS.zscore.yearly-9e459c3a.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.monthly-07bcd6ca.js → HEIGHT_BOYS.percentile.monthly-de26b886.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.percentile.weekly-7cdf6993.js → HEIGHT_BOYS.percentile.weekly-2b1a480e.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.yearly-6c5d943a.js → HEIGHT_BOYS.percentile.yearly-9e11bf8a.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.monthly-e46f25fc.js → HEIGHT_BOYS.zscore.monthly-169b72ab.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.zscore.weekly-6d18339b.js → HEIGHT_BOYS.zscore.weekly-1f51ea7a.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.yearly-7886aa48.js → HEIGHT_BOYS.zscore.yearly-2defb1ff.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.monthly-800ba66d.js → HEIGHT_GIRLS.percentile.monthly-ff09a166.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.percentile.weekly-cebd135d.js → HEIGHT_GIRLS.percentile.weekly-bdbad8b3.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.yearly-bc54e1ee.js → HEIGHT_GIRLS.percentile.yearly-a7cf5de3.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.monthly-d3160752.js → HEIGHT_GIRLS.zscore.monthly-bc88d68f.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.zscore.weekly-fb8651f4.js → HEIGHT_GIRLS.zscore.weekly-4b1bb4f7.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.yearly-2ac9b61e.js → HEIGHT_GIRLS.zscore.yearly-6d54fcc8.js} +0 -0
  188. /package/build/{Visible-f917485e.js → Visible-cf684c77.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.percentile.monthly-84ec3cf3.js → WEIGHT_BOYS.percentile.monthly-69735b17.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.percentile.weekly-430407fd.js → WEIGHT_BOYS.percentile.weekly-60881421.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.percentile.yearly-c93ffc92.js → WEIGHT_BOYS.percentile.yearly-bac67ed1.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.zscore.monthly-071e754c.js → WEIGHT_BOYS.zscore.monthly-e9254299.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.zscore.weekly-6bad7529.js → WEIGHT_BOYS.zscore.weekly-6b82cd2d.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.zscore.yearly-3388131c.js → WEIGHT_BOYS.zscore.yearly-43cc1986.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.percentile.monthly-1db18e75.js → WEIGHT_GIRLS.percentile.monthly-38847b2b.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.percentile.weekly-94e4dc5d.js → WEIGHT_GIRLS.percentile.weekly-2ac2ee92.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.percentile.yearly-8a0d1397.js → WEIGHT_GIRLS.percentile.yearly-3401e100.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.zscore.monthly-6e81e8eb.js → WEIGHT_GIRLS.zscore.monthly-4f257d09.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.zscore.weekly-7e09c6b4.js → WEIGHT_GIRLS.zscore.weekly-fe8ea3a5.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.zscore.yearly-48ae8923.js → WEIGHT_GIRLS.zscore.yearly-c780b33b.js} +0 -0
  201. /package/build/{animation-6a354499.js → animation-6f210c4a.js} +0 -0
  202. /package/build/{cart-f524d70b.js → cart-d48967a8.js} +0 -0
  203. /package/build/{cookieHelper-f1270aa8.js → cookieHelper-6fa2ed3a.js} +0 -0
  204. /package/build/{doctor-460efc4e.js → doctor-d70d0f31.js} +0 -0
  205. /package/build/esm/{BMI_BOYS.percentile.monthly-c795fa31.js → BMI_BOYS.percentile.monthly-2c7cf81c.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.percentile.weekly-93d3a2e7.js → BMI_BOYS.percentile.weekly-963d00dc.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.percentile.yearly-e12d0f93.js → BMI_BOYS.percentile.yearly-4eea698f.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.zscore.monthly-a61cbcb5.js → BMI_BOYS.zscore.monthly-f5544376.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.zscore.weekly-df28f2de.js → BMI_BOYS.zscore.weekly-4656cd4c.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.zscore.yearly-1572b3d6.js → BMI_BOYS.zscore.yearly-39ccd0fd.js} +0 -0
  211. /package/build/esm/{BMI_GIRLS.percentile.monthly-afbf7bdd.js → BMI_GIRLS.percentile.monthly-d7501958.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.percentile.weekly-88afe92e.js → BMI_GIRLS.percentile.weekly-315ba23e.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.percentile.yearly-3f6d0007.js → BMI_GIRLS.percentile.yearly-5afebffb.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.zscore.monthly-df48ff7e.js → BMI_GIRLS.zscore.monthly-9c659c70.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.zscore.weekly-c0e3ef01.js → BMI_GIRLS.zscore.weekly-f72193e8.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.zscore.yearly-adf55dba.js → BMI_GIRLS.zscore.yearly-33a16ebf.js} +0 -0
  217. /package/build/esm/{ChevronDown-2d0f198a.js → ChevronDown-51088ad9.js} +0 -0
  218. /package/build/esm/{Close-2ce2f09c.js → Close-851c8b38.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a67a4012.js → HEAD CIRCUM_BOYS.percentile.monthly-522b5435.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-eef6a2b3.js → HEAD CIRCUM_BOYS.percentile.weekly-72d04552.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7716a1b1.js → HEAD CIRCUM_BOYS.percentile.yearly-e68e4904.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-976585ad.js → HEAD CIRCUM_BOYS.zscore.monthly-89b9b642.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-4a8efa04.js → HEAD CIRCUM_BOYS.zscore.weekly-c8c2ae6a.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3e6d5418.js → HEAD CIRCUM_BOYS.zscore.yearly-0cf56dc8.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-23bf9344.js → HEAD CIRCUM_GIRLS.percentile.monthly-ef9dbfc9.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bef4b766.js → HEAD CIRCUM_GIRLS.percentile.weekly-831567fe.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3d51ca86.js → HEAD CIRCUM_GIRLS.percentile.yearly-0e89170b.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0e8f2809.js → HEAD CIRCUM_GIRLS.zscore.monthly-82564fb7.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-9af76405.js → HEAD CIRCUM_GIRLS.zscore.weekly-6b1845ec.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8bf900c4.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b65120d.js} +0 -0
  231. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2117581f.js → HEIGHT_BOYS.percentile.monthly-ecfdee13.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-32caad55.js → HEIGHT_BOYS.percentile.weekly-2bae8fa8.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f06a01f4.js → HEIGHT_BOYS.percentile.yearly-4cf5eb0c.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9277aa60.js → HEIGHT_BOYS.zscore.monthly-5978dd63.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3fce9644.js → HEIGHT_BOYS.zscore.weekly-0e20ae65.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-701cb22d.js → HEIGHT_BOYS.zscore.yearly-9f9ecc92.js} +0 -0
  237. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c21f8cfd.js → HEIGHT_GIRLS.percentile.monthly-244b7899.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9d33aa12.js → HEIGHT_GIRLS.percentile.weekly-867f533c.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6e44423b.js → HEIGHT_GIRLS.percentile.yearly-8334ef62.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5a00cd96.js → HEIGHT_GIRLS.zscore.monthly-89dc2f92.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2ff60b7f.js → HEIGHT_GIRLS.zscore.weekly-c37a8e45.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-18664e72.js → HEIGHT_GIRLS.zscore.yearly-d75c7342.js} +0 -0
  243. /package/build/esm/{Visible-013c4e17.js → Visible-2b82b731.js} +0 -0
  244. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9a4ae0e0.js → WEIGHT_BOYS.percentile.monthly-afa954cf.js} +0 -0
  245. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d5d70e19.js → WEIGHT_BOYS.percentile.weekly-0ce8ca9d.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-861ab2cd.js → WEIGHT_BOYS.percentile.yearly-9bc9d108.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e9f591d1.js → WEIGHT_BOYS.zscore.monthly-c41e3c26.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-fb1bd500.js → WEIGHT_BOYS.zscore.weekly-927605d1.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a25ff34d.js → WEIGHT_BOYS.zscore.yearly-10a9c6a3.js} +0 -0
  250. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37cf236c.js → WEIGHT_GIRLS.percentile.monthly-c3957e70.js} +0 -0
  251. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-029e478f.js → WEIGHT_GIRLS.percentile.weekly-5413b078.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8dce316c.js → WEIGHT_GIRLS.percentile.yearly-fbef8c0c.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9173160d.js → WEIGHT_GIRLS.zscore.monthly-e89aa92b.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-411a046b.js → WEIGHT_GIRLS.zscore.weekly-7a014b5a.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c19c7429.js → WEIGHT_GIRLS.zscore.yearly-0cae1bb9.js} +0 -0
  256. /package/build/esm/{animation-4b187451.js → animation-89cd92dc.js} +0 -0
  257. /package/build/esm/{cart-1e4e352e.js → cart-b5b2f9c9.js} +0 -0
  258. /package/build/esm/{cookieHelper-8494dcf1.js → cookieHelper-6839de86.js} +0 -0
  259. /package/build/esm/{doctor-74fc81b1.js → doctor-a16d5a2a.js} +0 -0
  260. /package/build/esm/{index-f1b4e4f6.js → index-207e5a99.js} +0 -0
  261. /package/build/esm/{index-3434140c.js → index-3f16918f.js} +0 -0
  262. /package/build/esm/{index-5f5297aa.js → index-b1dfbcd9.js} +0 -0
  263. /package/build/esm/{isProduction-a01c18e3.js → isProduction-6557a7a7.js} +0 -0
  264. /package/build/esm/{localizeNumberFormat-f924ab7b.js → localizeNumberFormat-1efb07bf.js} +0 -0
  265. /package/build/esm/{normalizeLink-61ae52b5.js → normalizeLink-9adb98bb.js} +0 -0
  266. /package/build/esm/{number-c847488a.js → number-7673e170.js} +0 -0
  267. /package/build/esm/{paths-756efba0.js → paths-1a0405c1.js} +0 -0
  268. /package/build/esm/{theme-ac1a0e46.js → theme-676e1d3e.js} +0 -0
  269. /package/build/esm/{translationsContext-a21c43b4.js → translationsContext-b00d46fa.js} +0 -0
  270. /package/build/esm/{tslib.es6-6d3de7c2.js → tslib.es6-42d35711.js} +0 -0
  271. /package/build/esm/{useIsInit-4ba52ee9.js → useIsInit-d65429ab.js} +0 -0
  272. /package/build/esm/{useOutsideClick-d1486166.js → useOutsideClick-3b36c560.js} +0 -0
  273. /package/build/esm/{useScrollbarSize-f874e0ac.js → useScrollbarSize-7cfe3d07.js} +0 -0
  274. /package/build/esm/{useUniqueId-a727e698.js → useUniqueId-28b8a8d2.js} +0 -0
  275. /package/build/esm/{utils-3d823a9f.js → utils-0f3667a8.js} +0 -0
  276. /package/build/{index-e1ed79b3.js → index-0c11098b.js} +0 -0
  277. /package/build/{index-4da85d4b.js → index-3d1716ad.js} +0 -0
  278. /package/build/{index-5e9fdc69.js → index-c4b66929.js} +0 -0
  279. /package/build/{index-b8cc819b.js → index-d38624f2.js} +0 -0
  280. /package/build/{isProduction-f7507b6e.js → isProduction-cc2f71e7.js} +0 -0
  281. /package/build/{localizeNumberFormat-8ccd7c74.js → localizeNumberFormat-72f6c627.js} +0 -0
  282. /package/build/{normalizeLink-0007c927.js → normalizeLink-37b001e0.js} +0 -0
  283. /package/build/{number-eb5a9b12.js → number-3c00e9ff.js} +0 -0
  284. /package/build/{paths-29644364.js → paths-22150d98.js} +0 -0
  285. /package/build/{theme-4d2a1014.js → theme-040e6fd9.js} +0 -0
  286. /package/build/{translationsContext-d76a8c6d.js → translationsContext-bece07e0.js} +0 -0
  287. /package/build/{tslib.es6-6abfcd13.js → tslib.es6-a8c3b1ed.js} +0 -0
  288. /package/build/{useIsInit-3021c365.js → useIsInit-78fbbf00.js} +0 -0
  289. /package/build/{useOutsideClick-9e887f30.js → useOutsideClick-f4ac5964.js} +0 -0
  290. /package/build/{useScrollbarSize-14a9f09a.js → useScrollbarSize-df8fb771.js} +0 -0
  291. /package/build/{useUniqueId-889c3946.js → useUniqueId-a3ed3f40.js} +0 -0
  292. /package/build/{utils-526a845c.js → utils-a2ad9aa3.js} +0 -0
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-07db6c89.js');
6
- var isProduction = require('./isProduction-f7507b6e.js');
5
+ var index = require('./index-fd9e9e31.js');
6
+ var isProduction = require('./isProduction-cc2f71e7.js');
7
7
  require('date-fns/locale');
8
- require('./index-b8cc819b.js');
8
+ require('./index-d38624f2.js');
9
9
 
10
10
 
11
11
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-6abfcd13.js');
4
- var isProduction = require('./isProduction-f7507b6e.js');
3
+ var tslib_es6 = require('./tslib.es6-a8c3b1ed.js');
4
+ var isProduction = require('./isProduction-cc2f71e7.js');
5
5
 
6
6
  const ServerCache = {};
7
7
  const getCachedItem = (key) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var React = require('react');
4
4
  var throttle = require('lodash/throttle');
5
- var utils = require('./utils-526a845c.js');
5
+ var utils = require('./utils-a2ad9aa3.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -1,13 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var tslib_es6 = require('./tslib.es6-6abfcd13.js');
5
- var theme = require('./theme-4d2a1014.js');
6
- var cookieHelper = require('./cookieHelper-f1270aa8.js');
4
+ var tslib_es6 = require('./tslib.es6-a8c3b1ed.js');
5
+ var index = require('./index-fbc4ad0a.js');
6
+ var cookieHelper = require('./cookieHelper-6fa2ed3a.js');
7
7
  var slugify = require('slugify');
8
- require('./index-07db6c89.js');
8
+ require('./index-fd9e9e31.js');
9
9
  var formatString = require('string-format');
10
- var isProduction = require('./isProduction-f7507b6e.js');
10
+ var isProduction = require('./isProduction-cc2f71e7.js');
11
+ var theme = require('./theme-040e6fd9.js');
11
12
 
12
13
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
13
14
 
@@ -15,322 +16,6 @@ var React__default = /*#__PURE__*/_interopDefault(React);
15
16
  var slugify__default = /*#__PURE__*/_interopDefault(slugify);
16
17
  var formatString__default = /*#__PURE__*/_interopDefault(formatString);
17
18
 
18
- /* eslint-disable @typescript-eslint/ban-types */
19
- function setDefaultClass(Component, defaultClass) {
20
- const Comp = React.forwardRef((props, ref) => {
21
- return (React__default["default"].createElement(Component, Object.assign({}, props, {
22
- // @ts-ignore
23
- className: `${defaultClass} ${props.className || ''}`, ref: ref })));
24
- });
25
- // @ts-ignore
26
- Comp.classSelector = `.${defaultClass}`;
27
- return Comp;
28
- }
29
-
30
- const Eye = (_a) => {
31
- var { size, color: colorInit, useCurrentColor, isActive, activeColor } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
32
- const color = useCurrentColor
33
- ? 'currentColor'
34
- : isActive
35
- ? activeColor
36
- : colorInit;
37
- const props = Object.assign({ width: size, height: size }, rest);
38
- return (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 18 18", fill: "none" }, props),
39
- React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00183 11.6827C9.85164 11.6827 10.5734 11.3852 11.1672 10.7903C11.7609 10.1955 12.0578 9.4731 12.0578 8.62328C12.0578 7.77346 11.7604 7.05168 11.1655 6.45793C10.5706 5.86418 9.84824 5.56731 8.99841 5.56731C8.1486 5.56731 7.42682 5.86474 6.83307 6.45962C6.23932 7.05451 5.94245 7.77686 5.94245 8.62669C5.94245 9.4765 6.23988 10.1983 6.83476 10.792C7.42965 11.3858 8.152 11.6827 9.00183 11.6827ZM9.00012 10.65C8.43762 10.65 7.9595 10.4531 7.56575 10.0594C7.172 9.66561 6.97512 9.18748 6.97512 8.62498C6.97512 8.06248 7.172 7.58436 7.56575 7.19061C7.9595 6.79686 8.43762 6.59998 9.00012 6.59998C9.56262 6.59998 10.0407 6.79686 10.4345 7.19061C10.8282 7.58436 11.0251 8.06248 11.0251 8.62498C11.0251 9.18748 10.8282 9.66561 10.4345 10.0594C10.0407 10.4531 9.56262 10.65 9.00012 10.65ZM9.00012 13.875C7.42128 13.875 5.9773 13.4538 4.66818 12.6115C3.35904 11.7692 2.31409 10.661 1.53333 9.28699C1.47083 9.1793 1.42515 9.07077 1.3963 8.96139C1.36745 8.85201 1.35303 8.73974 1.35303 8.62461C1.35303 8.50947 1.36745 8.39734 1.3963 8.28821C1.42515 8.17908 1.47083 8.07066 1.53333 7.96298C2.31409 6.58894 3.35904 5.48077 4.66818 4.63847C5.9773 3.79616 7.42128 3.375 9.00012 3.375C10.579 3.375 12.0229 3.79616 13.3321 4.63847C14.6412 5.48077 15.6862 6.58894 16.4669 7.96298C16.5294 8.07066 16.5751 8.17919 16.6039 8.28857C16.6328 8.39796 16.6472 8.51022 16.6472 8.62536C16.6472 8.74049 16.6328 8.85263 16.6039 8.96175C16.5751 9.07089 16.5294 9.1793 16.4669 9.28699C15.6862 10.661 14.6412 11.7692 13.3321 12.6115C12.0229 13.4538 10.579 13.875 9.00012 13.875ZM9.00012 12.75C10.4126 12.75 11.7095 12.3781 12.8907 11.6344C14.072 10.8906 14.9751 9.88748 15.6001 8.62498C14.9751 7.36248 14.072 6.35936 12.8907 5.61561C11.7095 4.87186 10.4126 4.49998 9.00012 4.49998C7.58762 4.49998 6.29075 4.87186 5.1095 5.61561C3.92825 6.35936 3.02512 7.36248 2.40012 8.62498C3.02512 9.88748 3.92825 10.8906 5.1095 11.6344C6.29075 12.3781 7.58762 12.75 9.00012 12.75Z", fill: color })));
40
- };
41
- Eye.defaultProps = {
42
- size: 24,
43
- color: theme.theme.colors.gray600,
44
- activeColor: theme.theme.colors.primaryBase,
45
- };
46
-
47
- const Spinner = (_a) => {
48
- var { size = 24, color, isMarryBaby } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "isMarryBaby"]);
49
- return (React__default["default"].createElement("svg", Object.assign({ style: {
50
- display: 'block',
51
- shapeRendering: 'auto',
52
- }, width: size, height: size, viewBox: "30 30 40 40", preserveAspectRatio: "xMidYMid" }, rest),
53
- React__default["default"].createElement("circle", { cx: "50", cy: "50", fill: "none", stroke: color || (isMarryBaby ? '#e85388' : '#91caff'), strokeWidth: "7", r: "16", strokeDasharray: "75.39822368615503 27.132741228718345" },
54
- React__default["default"].createElement("animateTransform", { attributeName: "transform", type: "rotate", repeatCount: "indefinite", dur: "1.2s", values: "0 50 50;360 50 50", keyTimes: "0;1" }))));
55
- };
56
- Spinner.defaultProps = {
57
- size: 24,
58
- };
59
-
60
- /*!
61
- * cookie
62
- * Copyright(c) 2012-2014 Roman Shtylman
63
- * Copyright(c) 2015 Douglas Christopher Wilson
64
- * MIT Licensed
65
- */
66
-
67
- /**
68
- * Module exports.
69
- * @public
70
- */
71
-
72
- var parse_1 = parse;
73
- var serialize_1 = serialize;
74
-
75
- /**
76
- * Module variables.
77
- * @private
78
- */
79
-
80
- var __toString = Object.prototype.toString;
81
-
82
- /**
83
- * RegExp to match field-content in RFC 7230 sec 3.2
84
- *
85
- * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
86
- * field-vchar = VCHAR / obs-text
87
- * obs-text = %x80-FF
88
- */
89
-
90
- var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
91
-
92
- /**
93
- * Parse a cookie header.
94
- *
95
- * Parse the given cookie header string into an object
96
- * The object has the various cookies as keys(names) => values
97
- *
98
- * @param {string} str
99
- * @param {object} [options]
100
- * @return {object}
101
- * @public
102
- */
103
-
104
- function parse(str, options) {
105
- if (typeof str !== 'string') {
106
- throw new TypeError('argument str must be a string');
107
- }
108
-
109
- var obj = {};
110
- var opt = options || {};
111
- var dec = opt.decode || decode;
112
-
113
- var index = 0;
114
- while (index < str.length) {
115
- var eqIdx = str.indexOf('=', index);
116
-
117
- // no more cookie pairs
118
- if (eqIdx === -1) {
119
- break
120
- }
121
-
122
- var endIdx = str.indexOf(';', index);
123
-
124
- if (endIdx === -1) {
125
- endIdx = str.length;
126
- } else if (endIdx < eqIdx) {
127
- // backtrack on prior semicolon
128
- index = str.lastIndexOf(';', eqIdx - 1) + 1;
129
- continue
130
- }
131
-
132
- var key = str.slice(index, eqIdx).trim();
133
-
134
- // only assign once
135
- if (undefined === obj[key]) {
136
- var val = str.slice(eqIdx + 1, endIdx).trim();
137
-
138
- // quoted values
139
- if (val.charCodeAt(0) === 0x22) {
140
- val = val.slice(1, -1);
141
- }
142
-
143
- obj[key] = tryDecode(val, dec);
144
- }
145
-
146
- index = endIdx + 1;
147
- }
148
-
149
- return obj;
150
- }
151
-
152
- /**
153
- * Serialize data into a cookie header.
154
- *
155
- * Serialize the a name value pair into a cookie string suitable for
156
- * http headers. An optional options object specified cookie parameters.
157
- *
158
- * serialize('foo', 'bar', { httpOnly: true })
159
- * => "foo=bar; httpOnly"
160
- *
161
- * @param {string} name
162
- * @param {string} val
163
- * @param {object} [options]
164
- * @return {string}
165
- * @public
166
- */
167
-
168
- function serialize(name, val, options) {
169
- var opt = options || {};
170
- var enc = opt.encode || encode;
171
-
172
- if (typeof enc !== 'function') {
173
- throw new TypeError('option encode is invalid');
174
- }
175
-
176
- if (!fieldContentRegExp.test(name)) {
177
- throw new TypeError('argument name is invalid');
178
- }
179
-
180
- var value = enc(val);
181
-
182
- if (value && !fieldContentRegExp.test(value)) {
183
- throw new TypeError('argument val is invalid');
184
- }
185
-
186
- var str = name + '=' + value;
187
-
188
- if (null != opt.maxAge) {
189
- var maxAge = opt.maxAge - 0;
190
-
191
- if (isNaN(maxAge) || !isFinite(maxAge)) {
192
- throw new TypeError('option maxAge is invalid')
193
- }
194
-
195
- str += '; Max-Age=' + Math.floor(maxAge);
196
- }
197
-
198
- if (opt.domain) {
199
- if (!fieldContentRegExp.test(opt.domain)) {
200
- throw new TypeError('option domain is invalid');
201
- }
202
-
203
- str += '; Domain=' + opt.domain;
204
- }
205
-
206
- if (opt.path) {
207
- if (!fieldContentRegExp.test(opt.path)) {
208
- throw new TypeError('option path is invalid');
209
- }
210
-
211
- str += '; Path=' + opt.path;
212
- }
213
-
214
- if (opt.expires) {
215
- var expires = opt.expires;
216
-
217
- if (!isDate(expires) || isNaN(expires.valueOf())) {
218
- throw new TypeError('option expires is invalid');
219
- }
220
-
221
- str += '; Expires=' + expires.toUTCString();
222
- }
223
-
224
- if (opt.httpOnly) {
225
- str += '; HttpOnly';
226
- }
227
-
228
- if (opt.secure) {
229
- str += '; Secure';
230
- }
231
-
232
- if (opt.priority) {
233
- var priority = typeof opt.priority === 'string'
234
- ? opt.priority.toLowerCase()
235
- : opt.priority;
236
-
237
- switch (priority) {
238
- case 'low':
239
- str += '; Priority=Low';
240
- break
241
- case 'medium':
242
- str += '; Priority=Medium';
243
- break
244
- case 'high':
245
- str += '; Priority=High';
246
- break
247
- default:
248
- throw new TypeError('option priority is invalid')
249
- }
250
- }
251
-
252
- if (opt.sameSite) {
253
- var sameSite = typeof opt.sameSite === 'string'
254
- ? opt.sameSite.toLowerCase() : opt.sameSite;
255
-
256
- switch (sameSite) {
257
- case true:
258
- str += '; SameSite=Strict';
259
- break;
260
- case 'lax':
261
- str += '; SameSite=Lax';
262
- break;
263
- case 'strict':
264
- str += '; SameSite=Strict';
265
- break;
266
- case 'none':
267
- str += '; SameSite=None';
268
- break;
269
- default:
270
- throw new TypeError('option sameSite is invalid');
271
- }
272
- }
273
-
274
- return str;
275
- }
276
-
277
- /**
278
- * URL-decode string value. Optimized to skip native call when no %.
279
- *
280
- * @param {string} str
281
- * @returns {string}
282
- */
283
-
284
- function decode (str) {
285
- return str.indexOf('%') !== -1
286
- ? decodeURIComponent(str)
287
- : str
288
- }
289
-
290
- /**
291
- * URL-encode value.
292
- *
293
- * @param {string} str
294
- * @returns {string}
295
- */
296
-
297
- function encode (val) {
298
- return encodeURIComponent(val)
299
- }
300
-
301
- /**
302
- * Determine if value is a Date.
303
- *
304
- * @param {*} val
305
- * @private
306
- */
307
-
308
- function isDate (val) {
309
- return __toString.call(val) === '[object Date]' ||
310
- val instanceof Date
311
- }
312
-
313
- /**
314
- * Try decoding a string using a decoding function.
315
- *
316
- * @param {string} str
317
- * @param {function} decode
318
- * @private
319
- */
320
-
321
- function tryDecode(str, decode) {
322
- try {
323
- return decode(str);
324
- } catch (e) {
325
- return str;
326
- }
327
- }
328
-
329
- var cookie = {
330
- parse: parse_1,
331
- serialize: serialize_1
332
- };
333
-
334
19
  const PATHS = {
335
20
  BASE_API_PATH: '/',
336
21
  PROFILE: 'profile?website_url={website_url}',
@@ -487,64 +172,6 @@ const ADMIN_PATHS = {
487
172
  },
488
173
  };
489
174
 
490
- const DefaultComponentGlobalContextData = {
491
- locale: 'vi-VN',
492
- env: {
493
- isMarryBaby: false,
494
- togetherBasePath: '/community',
495
- },
496
- router: {
497
- basePath: '',
498
- asPath: '/',
499
- },
500
- };
501
- const TogetherComponentGlobalContext = React.createContext({
502
- data: DefaultComponentGlobalContextData,
503
- action: {
504
- pushNotifications: (s) => s,
505
- sanitizeFunction: (s) => s,
506
- },
507
- formatMessage: () => null,
508
- });
509
- exports.GlobalData = DefaultComponentGlobalContextData;
510
- const TogetherComponentGlobalContextProvider = ({ locale = 'vi-VN', children, userInfo, router, env = {
511
- isMarryBaby: false,
512
- togetherBasePath: '/community',
513
- }, sanitizeFunction = (s) => s, pushNotifications = () => false, formatMessage, }) => {
514
- const [togetherUserId, setTogetherUserId] = React.useState();
515
- exports.GlobalData = {
516
- userInfo,
517
- locale,
518
- togetherUserId,
519
- router,
520
- env,
521
- };
522
- React.useEffect(() => {
523
- if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
524
- callApiWithAuth(getApiPath(PATHS.PROFILE, {
525
- _locale: locale,
526
- }), 'GET').then((res) => {
527
- var _a;
528
- setTogetherUserId((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.id);
529
- });
530
- }
531
- }, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
532
- return (React__default["default"].createElement(TogetherComponentGlobalContext.Provider, { value: {
533
- data: {
534
- userInfo,
535
- locale,
536
- togetherUserId,
537
- router,
538
- env,
539
- },
540
- action: {
541
- pushNotifications,
542
- sanitizeFunction,
543
- },
544
- formatMessage,
545
- } }, children));
546
- };
547
-
548
175
  const POST_DATE_FORMAT = 'dd/MM/yyyy';
549
176
  const NORMAL_DATE_FORMAT = 'YYYY-MM-DD';
550
177
  const DUE_DATE_FORMAT = 'DD/MM/YYYY';
@@ -987,12 +614,12 @@ const callApiWithOptionalAuth = (urlData, method = 'GET', options, reqCookie) =>
987
614
  try {
988
615
  const url = typeof urlData === 'string' ? urlData : urlData.url;
989
616
  const backupUrl = typeof urlData === 'string' ? urlData : urlData.backupUrl;
990
- const parsedCookie = cookie.parse(reqCookie || '');
617
+ const parsedCookie = index.cookie.parse(reqCookie || '');
991
618
  const token = parsedCookie[BEARER_TOKEN_COOKIE];
992
- const cookie$1 = token || cookieHelper.getCookie(BEARER_TOKEN_COOKIE);
993
- if (cookie$1 && cookie$1.length) {
619
+ const cookie = token || cookieHelper.getCookie(BEARER_TOKEN_COOKIE);
620
+ if (cookie && cookie.length) {
994
621
  try {
995
- const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie$1 }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
622
+ const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
996
623
  if ((_d = res === null || res === void 0 ? void 0 : res.messages) === null || _d === void 0 ? void 0 : _d.find((m) => (m === null || m === void 0 ? void 0 : m.toLowerCase()) === 'Unauthenticated')) {
997
624
  return callApi(backupUrl || url, method, options);
998
625
  }
@@ -1024,11 +651,11 @@ const callApiWithOptionalAuth = (urlData, method = 'GET', options, reqCookie) =>
1024
651
  });
1025
652
  const callApiWithAuth = (url, method, options, reqCookie) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
1026
653
  try {
1027
- const parsedCookie = cookie.parse(reqCookie || '');
654
+ const parsedCookie = index.cookie.parse(reqCookie || '');
1028
655
  const token = parsedCookie[BEARER_TOKEN_COOKIE];
1029
- const cookie$1 = token || cookieHelper.getCookie(BEARER_TOKEN_COOKIE);
1030
- if (cookie$1 && cookie$1.length) {
1031
- const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie$1 }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
656
+ const cookie = token || cookieHelper.getCookie(BEARER_TOKEN_COOKIE);
657
+ if (cookie && cookie.length) {
658
+ const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
1032
659
  if (res)
1033
660
  return res;
1034
661
  }
@@ -1041,11 +668,11 @@ const callApiWithAuth = (url, method, options, reqCookie) => tslib_es6.__awaiter
1041
668
  });
1042
669
  const callApiWithAdminAuth = (url, method, options, reqCookie) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
1043
670
  try {
1044
- const parsedCookie = cookie.parse(reqCookie || '');
671
+ const parsedCookie = index.cookie.parse(reqCookie || '');
1045
672
  const token = parsedCookie[BEARER_ADMIN_TOKEN_COOKIE];
1046
- const cookie$1 = token || cookieHelper.getCookie(BEARER_ADMIN_TOKEN_COOKIE);
1047
- if (cookie$1 && cookie$1.length) {
1048
- const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie$1 }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
673
+ const cookie = token || cookieHelper.getCookie(BEARER_ADMIN_TOKEN_COOKIE);
674
+ if (cookie && cookie.length) {
675
+ const res = yield fetch(url, Object.assign(Object.assign({ method }, convertApiOptionsToRequestInit(options)), { headers: Object.assign({ Authorization: 'Bearer ' + cookie }, options === null || options === void 0 ? void 0 : options.headers) })).then((r) => r.json());
1049
676
  if (res)
1050
677
  return res;
1051
678
  }
@@ -1109,6 +736,106 @@ const getCareHospitalUrl = ({ name, id, slug, locale, }) => {
1109
736
  return `/care/${(_a = LOCALISED_SLUGS[locale || 'vi-VN']) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${slugifiedNameWithId(name, id, slug)}`;
1110
737
  };
1111
738
 
739
+ const DefaultComponentGlobalContextData = {
740
+ locale: 'vi-VN',
741
+ env: {
742
+ isMarryBaby: false,
743
+ togetherBasePath: '/community',
744
+ },
745
+ router: {
746
+ basePath: '',
747
+ asPath: '/',
748
+ },
749
+ };
750
+ const TogetherComponentGlobalContext = React.createContext({
751
+ data: DefaultComponentGlobalContextData,
752
+ action: {
753
+ pushNotifications: (s) => s,
754
+ sanitizeFunction: (s) => s,
755
+ },
756
+ formatMessage: () => null,
757
+ });
758
+ exports.GlobalData = DefaultComponentGlobalContextData;
759
+ const TogetherComponentGlobalContextProvider = ({ locale = 'vi-VN', children, userInfo, router, env = {
760
+ isMarryBaby: false,
761
+ togetherBasePath: '/community',
762
+ }, sanitizeFunction = (s) => s, pushNotifications = () => false, formatMessage, }) => {
763
+ const [togetherUserId, setTogetherUserId] = React.useState();
764
+ exports.GlobalData = {
765
+ userInfo,
766
+ locale,
767
+ togetherUserId,
768
+ router,
769
+ env,
770
+ };
771
+ React.useEffect(() => {
772
+ if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
773
+ callApiWithAuth(getApiPath(PATHS.PROFILE, {
774
+ _locale: locale,
775
+ }), 'GET').then((res) => {
776
+ var _a;
777
+ setTogetherUserId((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.id);
778
+ });
779
+ }
780
+ }, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
781
+ return (React__default["default"].createElement(TogetherComponentGlobalContext.Provider, { value: {
782
+ data: {
783
+ userInfo,
784
+ locale,
785
+ togetherUserId,
786
+ router,
787
+ env,
788
+ },
789
+ action: {
790
+ pushNotifications,
791
+ sanitizeFunction,
792
+ },
793
+ formatMessage,
794
+ } }, children));
795
+ };
796
+
797
+ const Eye = (_a) => {
798
+ var { size, color: colorInit, useCurrentColor, isActive, activeColor } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "useCurrentColor", "isActive", "activeColor"]);
799
+ const color = useCurrentColor
800
+ ? 'currentColor'
801
+ : isActive
802
+ ? activeColor
803
+ : colorInit;
804
+ const props = Object.assign({ width: size, height: size }, rest);
805
+ return (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 18 18", fill: "none" }, props),
806
+ React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00183 11.6827C9.85164 11.6827 10.5734 11.3852 11.1672 10.7903C11.7609 10.1955 12.0578 9.4731 12.0578 8.62328C12.0578 7.77346 11.7604 7.05168 11.1655 6.45793C10.5706 5.86418 9.84824 5.56731 8.99841 5.56731C8.1486 5.56731 7.42682 5.86474 6.83307 6.45962C6.23932 7.05451 5.94245 7.77686 5.94245 8.62669C5.94245 9.4765 6.23988 10.1983 6.83476 10.792C7.42965 11.3858 8.152 11.6827 9.00183 11.6827ZM9.00012 10.65C8.43762 10.65 7.9595 10.4531 7.56575 10.0594C7.172 9.66561 6.97512 9.18748 6.97512 8.62498C6.97512 8.06248 7.172 7.58436 7.56575 7.19061C7.9595 6.79686 8.43762 6.59998 9.00012 6.59998C9.56262 6.59998 10.0407 6.79686 10.4345 7.19061C10.8282 7.58436 11.0251 8.06248 11.0251 8.62498C11.0251 9.18748 10.8282 9.66561 10.4345 10.0594C10.0407 10.4531 9.56262 10.65 9.00012 10.65ZM9.00012 13.875C7.42128 13.875 5.9773 13.4538 4.66818 12.6115C3.35904 11.7692 2.31409 10.661 1.53333 9.28699C1.47083 9.1793 1.42515 9.07077 1.3963 8.96139C1.36745 8.85201 1.35303 8.73974 1.35303 8.62461C1.35303 8.50947 1.36745 8.39734 1.3963 8.28821C1.42515 8.17908 1.47083 8.07066 1.53333 7.96298C2.31409 6.58894 3.35904 5.48077 4.66818 4.63847C5.9773 3.79616 7.42128 3.375 9.00012 3.375C10.579 3.375 12.0229 3.79616 13.3321 4.63847C14.6412 5.48077 15.6862 6.58894 16.4669 7.96298C16.5294 8.07066 16.5751 8.17919 16.6039 8.28857C16.6328 8.39796 16.6472 8.51022 16.6472 8.62536C16.6472 8.74049 16.6328 8.85263 16.6039 8.96175C16.5751 9.07089 16.5294 9.1793 16.4669 9.28699C15.6862 10.661 14.6412 11.7692 13.3321 12.6115C12.0229 13.4538 10.579 13.875 9.00012 13.875ZM9.00012 12.75C10.4126 12.75 11.7095 12.3781 12.8907 11.6344C14.072 10.8906 14.9751 9.88748 15.6001 8.62498C14.9751 7.36248 14.072 6.35936 12.8907 5.61561C11.7095 4.87186 10.4126 4.49998 9.00012 4.49998C7.58762 4.49998 6.29075 4.87186 5.1095 5.61561C3.92825 6.35936 3.02512 7.36248 2.40012 8.62498C3.02512 9.88748 3.92825 10.8906 5.1095 11.6344C6.29075 12.3781 7.58762 12.75 9.00012 12.75Z", fill: color })));
807
+ };
808
+ Eye.defaultProps = {
809
+ size: 24,
810
+ color: theme.theme.colors.gray600,
811
+ activeColor: theme.theme.colors.primaryBase,
812
+ };
813
+
814
+ const Spinner = (_a) => {
815
+ var { size = 24, color, isMarryBaby } = _a, rest = tslib_es6.__rest(_a, ["size", "color", "isMarryBaby"]);
816
+ return (React__default["default"].createElement("svg", Object.assign({ style: {
817
+ display: 'block',
818
+ shapeRendering: 'auto',
819
+ }, width: size, height: size, viewBox: "30 30 40 40", preserveAspectRatio: "xMidYMid" }, rest),
820
+ React__default["default"].createElement("circle", { cx: "50", cy: "50", fill: "none", stroke: color || (isMarryBaby ? '#e85388' : '#91caff'), strokeWidth: "7", r: "16", strokeDasharray: "75.39822368615503 27.132741228718345" },
821
+ React__default["default"].createElement("animateTransform", { attributeName: "transform", type: "rotate", repeatCount: "indefinite", dur: "1.2s", values: "0 50 50;360 50 50", keyTimes: "0;1" }))));
822
+ };
823
+ Spinner.defaultProps = {
824
+ size: 24,
825
+ };
826
+
827
+ /* eslint-disable @typescript-eslint/ban-types */
828
+ function setDefaultClass(Component, defaultClass) {
829
+ const Comp = React.forwardRef((props, ref) => {
830
+ return (React__default["default"].createElement(Component, Object.assign({}, props, {
831
+ // @ts-ignore
832
+ className: `${defaultClass} ${props.className || ''}`, ref: ref })));
833
+ });
834
+ // @ts-ignore
835
+ Comp.classSelector = `.${defaultClass}`;
836
+ return Comp;
837
+ }
838
+
1112
839
  exports.ADMIN_PATHS = ADMIN_PATHS;
1113
840
  exports.BEARER_TOKEN_COOKIE = BEARER_TOKEN_COOKIE;
1114
841
  exports.CARE_PATHS = CARE_PATHS;
@@ -1130,7 +857,6 @@ exports.callApiWithAdminAuth = callApiWithAdminAuth;
1130
857
  exports.callApiWithAuth = callApiWithAuth;
1131
858
  exports.callApiWithOptionalAuth = callApiWithOptionalAuth;
1132
859
  exports.constants = constants;
1133
- exports.cookie = cookie;
1134
860
  exports.domainLocales = domainLocales;
1135
861
  exports.domainLocalesMarryBaby = domainLocalesMarryBaby;
1136
862
  exports.getApiPath = getApiPath;
package/build/ecom.js CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var theme = require('./theme-4d2a1014.js');
6
- var constants = require('./constants-719fbb90.js');
7
- require('./index-07db6c89.js');
5
+ var theme = require('./theme-040e6fd9.js');
6
+ var constants = require('./constants-385d01e7.js');
7
+ require('./index-fd9e9e31.js');
8
8
  require('date-fns/locale');
9
- require('./index-b8cc819b.js');
10
- require('./isProduction-f7507b6e.js');
9
+ require('./index-d38624f2.js');
10
+ require('./isProduction-cc2f71e7.js');
11
11
 
12
12
  // ===== CART END =====
13
13
 
@@ -1,4 +1,4 @@
1
- import { _ as __rest } from './tslib.es6-6d3de7c2.js';
1
+ import { _ as __rest } from './tslib.es6-42d35711.js';
2
2
  import React__default from 'react';
3
3
 
4
4
  const Instagram = (_a) => {
@@ -1,27 +1,27 @@
1
- export { B as Button } from './index-5f3f2d6f.js';
2
- export { T as Text } from './index-9c23f470.js';
3
- export { H as Heading } from './index-88b710e3.js';
4
- import './tslib.es6-6d3de7c2.js';
1
+ export { B as Button } from './index-f160e379.js';
2
+ export { T as Text } from './index-869411be.js';
3
+ export { H as Heading } from './index-62059a85.js';
4
+ import './tslib.es6-42d35711.js';
5
5
  import 'react';
6
- import './index-d0a2f6ec.js';
6
+ import './index-5c2abf3a.js';
7
7
  import '@hhgtech/icons/other';
8
8
  import '@mantine/core';
9
9
  import '@mantine/hooks';
10
- import './index-cd069a89.js';
11
- import './index-413867da.js';
10
+ import './index-2e13488d.js';
11
+ import './index-94f2f772.js';
12
12
  import 'date-fns/locale';
13
- import './index-352d0aa5.js';
14
- import './isProduction-a01c18e3.js';
15
- import './utils-3d823a9f.js';
13
+ import './index-b851beaf.js';
14
+ import './isProduction-6557a7a7.js';
15
+ import './utils-0f3667a8.js';
16
16
  import '@emotion/styled';
17
17
  import '@mantine/carousel';
18
- import './index-c79781fb.js';
19
- import './theme-ac1a0e46.js';
20
- import './useMantineLocale-9b58b685.js';
18
+ import './index-dd00700b.js';
19
+ import './theme-676e1d3e.js';
20
+ import './useMantineLocale-e9d07649.js';
21
21
  import 'dayjs';
22
22
  import 'classnames';
23
- import './useUniqueId-a727e698.js';
23
+ import './useUniqueId-28b8a8d2.js';
24
24
  import '@hhgtech/icons/core';
25
25
  import '@mantine/dates';
26
- import './translationsContext-a21c43b4.js';
26
+ import './translationsContext-b00d46fa.js';
27
27
  import 'string-format';