@hhgtech/hhg-components 1.29.451-beta-4 → 1.29.451-beta-5

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 (499) hide show
  1. package/build/{InputDate-8e3abca6.js → InputDate-ac2c4f77.js} +5 -5
  2. package/build/{LastPeriod-3688339c.js → LastPeriod-364e22f6.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-735d90d4.js → MobileBottomNavigationIcon-3c9bab9e.js} +3 -3
  4. package/build/{Spinner-f85e99a7.js → Spinner-dcaf6663.js} +1 -1
  5. package/build/{WhatsApp-43b51c6b.js → WhatsApp-336446b5.js} +1 -1
  6. package/build/adapters.js +20 -20
  7. package/build/atoms.js +50 -50
  8. package/build/babyGrowth.js +86 -86
  9. package/build/cache.js +2 -2
  10. package/build/care.js +18 -18
  11. package/build/careBookingSearchBar.js +14 -14
  12. package/build/careBookingSearchBarV2.js +15 -15
  13. package/build/components/organisms/profileNavigation/index.d.ts +5 -1
  14. package/build/components.js +105 -105
  15. package/build/{constants-cbe8fee4.js → constants-001baa56.js} +1 -1
  16. package/build/constants.js +3 -3
  17. package/build/constantsDomainLocales.js +1 -1
  18. package/build/constantsRiskScreener.js +2 -2
  19. package/build/constantsSite.js +2 -2
  20. package/build/{core-18394030.js → core-3571533c.js} +1 -1
  21. package/build/{dataTransform-209a5261.js → dataTransform-d6e4fad6.js} +1 -1
  22. package/build/ecom.js +5 -5
  23. package/build/{editor-4702bf2a.js → editor-127c8cee.js} +11 -11
  24. package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
  25. package/build/embeddedHeathToolCards_babyPoop.js +22 -22
  26. package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
  27. package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
  28. package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
  29. package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  30. package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  31. package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
  32. package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
  33. package/build/esm/{InputDate-b90c00a2.js → InputDate-125f761f.js} +5 -5
  34. package/build/esm/{LastPeriod-21e60df1.js → LastPeriod-1d229d3c.js} +1 -1
  35. package/build/esm/{MobileBottomNavigationIcon-c08068fa.js → MobileBottomNavigationIcon-262dbf0e.js} +3 -3
  36. package/build/esm/{Spinner-33de532e.js → Spinner-1768ac53.js} +1 -1
  37. package/build/esm/{WhatsApp-de88888e.js → WhatsApp-ed175c9b.js} +1 -1
  38. package/build/esm/adapters.js +20 -20
  39. package/build/esm/atoms.js +50 -50
  40. package/build/esm/babyGrowth.js +86 -86
  41. package/build/esm/cache.js +2 -2
  42. package/build/esm/care.js +18 -18
  43. package/build/esm/careBookingSearchBar.js +14 -14
  44. package/build/esm/careBookingSearchBarV2.js +15 -15
  45. package/build/esm/components/organisms/profileNavigation/index.d.ts +5 -1
  46. package/build/esm/components.js +105 -105
  47. package/build/esm/{constants-093545f2.js → constants-a1ef9789.js} +1 -1
  48. package/build/esm/constants.js +3 -3
  49. package/build/esm/constantsDomainLocales.js +1 -1
  50. package/build/esm/constantsRiskScreener.js +2 -2
  51. package/build/esm/constantsSite.js +2 -2
  52. package/build/esm/{core-d2b6adc9.js → core-c0c6f8af.js} +1 -1
  53. package/build/esm/{dataTransform-f32d32db.js → dataTransform-200a4207.js} +1 -1
  54. package/build/esm/ecom.js +5 -5
  55. package/build/esm/{editor-5c54dd30.js → editor-febcf68b.js} +11 -11
  56. package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
  57. package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
  58. package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
  59. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
  60. package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
  61. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
  62. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
  63. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
  64. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
  65. package/build/esm/footer.js +22 -22
  66. package/build/esm/gAssets.js +2 -2
  67. package/build/esm/{healthTools-8cf631e9.js → healthTools-a35bd96d.js} +1 -1
  68. package/build/esm/healthToolsCardWrapper.js +20 -20
  69. package/build/esm/healthToolsForm.js +35 -35
  70. package/build/esm/hooks.js +13 -13
  71. package/build/esm/i18n.js +2 -2
  72. package/build/esm/i18nV2.js +2 -2
  73. package/build/esm/{index-e4c844f4.js → index-0879e26f.js} +2 -2
  74. package/build/esm/{index-1e33f95d.js → index-0c81dc7c.js} +6 -6
  75. package/build/esm/{index-02fafe06.js → index-1718135b.js} +2 -2
  76. package/build/esm/{index-04ea548b.js → index-1b6ff4da.js} +3 -3
  77. package/build/esm/{index-6239871c.js → index-1f651389.js} +15 -15
  78. package/build/esm/{index-c27c139a.js → index-1f880594.js} +2 -2
  79. package/build/esm/{index-d03ba8c4.js → index-210d3276.js} +16 -16
  80. package/build/esm/{index-638a6533.js → index-2517025f.js} +5 -5
  81. package/build/esm/{index-fd4b5cd1.js → index-2539acd9.js} +22 -22
  82. package/build/esm/{index-bd777bb8.js → index-2cf66368.js} +2 -2
  83. package/build/esm/{index-7804c3c2.js → index-2d9ccc77.js} +2 -2
  84. package/build/esm/{index-ce9985f2.js → index-2f2e8993.js} +21 -21
  85. package/build/esm/{index-df903dc3.js → index-32c92847.js} +1 -1
  86. package/build/esm/{index-d0bb7d95.js → index-342655c4.js} +1 -1
  87. package/build/esm/{index-0ad86e98.js → index-37e66b35.js} +25 -25
  88. package/build/esm/{index-fed0c664.js → index-3b814a90.js} +4 -4
  89. package/build/esm/{index-01006f6a.js → index-3cca92a0.js} +3 -3
  90. package/build/esm/{index-043f5728.js → index-3f07d8c5.js} +2 -2
  91. package/build/esm/{index-07cdadd9.js → index-4399ab7b.js} +7 -7
  92. package/build/esm/{index-5e8c0c20.js → index-45d1ddb7.js} +18 -18
  93. package/build/esm/{index-56ae36e2.js → index-4609e655.js} +6 -6
  94. package/build/esm/{index-b1206821.js → index-4690d555.js} +6 -6
  95. package/build/esm/{index-332ea8b7.js → index-4a3fa358.js} +20 -20
  96. package/build/esm/{index-201c375b.js → index-4ead199e.js} +111 -13
  97. package/build/esm/{index-06b31d58.js → index-50663f6b.js} +13 -13
  98. package/build/esm/{index-2d6d0e4f.js → index-531d538f.js} +8 -8
  99. package/build/esm/{index-85eb1a1d.js → index-5f1eec13.js} +16 -16
  100. package/build/esm/{index-e29c20c9.js → index-5fb816bd.js} +18 -18
  101. package/build/esm/{index-06c0bc0b.js → index-6011340f.js} +2 -2
  102. package/build/esm/{index-94f64a62.js → index-60bb53a8.js} +9 -9
  103. package/build/esm/{index-de321267.js → index-64993ee3.js} +32 -32
  104. package/build/esm/{index-76c062f9.js → index-6554f2a3.js} +14 -14
  105. package/build/esm/{index-c9abbed7.js → index-6b4618cc.js} +2 -2
  106. package/build/esm/{index-9b9c6e33.js → index-6c2f279c.js} +5 -5
  107. package/build/esm/{index-fb9d2866.js → index-708390b4.js} +2 -2
  108. package/build/esm/{index-aa048fea.js → index-71634fd8.js} +17 -17
  109. package/build/esm/{index-8a544288.js → index-751a4639.js} +3 -3
  110. package/build/esm/{index-8e3ec863.js → index-7c335fb0.js} +4 -4
  111. package/build/esm/{index-52d036b8.js → index-80089e41.js} +2 -2
  112. package/build/esm/{index-565769c3.js → index-82892917.js} +2 -2
  113. package/build/esm/{index-74e849a3.js → index-833d69ba.js} +30 -31
  114. package/build/esm/{index-0119bf84.js → index-84c5d6a7.js} +13 -13
  115. package/build/esm/{index-08336063.js → index-85dce0e2.js} +3 -3
  116. package/build/esm/{index-1f008303.js → index-87c5c4a5.js} +1 -1
  117. package/build/esm/{index-c7ea4bb7.js → index-89b2895f.js} +15 -15
  118. package/build/esm/{index-770d5df0.js → index-89bf22e2.js} +3 -3
  119. package/build/esm/{index-577ddbf3.js → index-9b24852b.js} +2 -2
  120. package/build/esm/{index-7ed518ea.js → index-a419a16f.js} +7 -7
  121. package/build/esm/{index-83a0a5e1.js → index-a9b7a8a1.js} +1 -1
  122. package/build/esm/{index-dd1239af.js → index-afc99aca.js} +32 -32
  123. package/build/esm/{index-ce5e8d98.js → index-b1ac19c2.js} +3 -3
  124. package/build/esm/{index-d12b6ff1.js → index-b3d30298.js} +2 -2
  125. package/build/esm/{index-c375db52.js → index-c4a4ada1.js} +14 -14
  126. package/build/esm/{index-06c309f0.js → index-c608cdae.js} +10 -10
  127. package/build/esm/{index-e4cbdc26.js → index-c71755a2.js} +6 -6
  128. package/build/esm/{index-b853ce3b.js → index-c74c9fdb.js} +1 -1
  129. package/build/esm/{index-918082d0.js → index-c8f12dbd.js} +2 -2
  130. package/build/esm/{index-1398aae3.js → index-cddac45b.js} +14 -14
  131. package/build/esm/{index-8860e91b.js → index-ce20c702.js} +8 -8
  132. package/build/esm/{index-67e0ffa0.js → index-d64554f4.js} +3 -3
  133. package/build/esm/{index-43aa8d30.js → index-e7bd5788.js} +2 -2
  134. package/build/esm/{index-b447e9df.js → index-e91c7942.js} +2 -2
  135. package/build/esm/{index-aa8033cf.js → index-ed8b58ca.js} +26 -26
  136. package/build/esm/{index-59cf4adc.js → index-f066a5ad.js} +16 -16
  137. package/build/esm/{index-88bfdb4e.js → index-f07aa34f.js} +1 -1
  138. package/build/esm/{index-38909379.js → index-f6092db4.js} +2 -2
  139. package/build/esm/{index-b0d010de.js → index-f6385c7f.js} +3 -3
  140. package/build/esm/{index-d298fe4c.js → index-f7567367.js} +19 -19
  141. package/build/esm/{index-841e132e.js → index-f85cfd1f.js} +16 -16
  142. package/build/esm/{index-cc267179.js → index-fafbf705.js} +14 -14
  143. package/build/esm/{index-6152f0e1.js → index-fdaa4e3d.js} +1 -1
  144. package/build/esm/index.js +125 -125
  145. package/build/esm/{labelSorting-0181acef.js → labelSorting-63b96824.js} +4 -4
  146. package/build/esm/lead.js +36 -36
  147. package/build/esm/{logoIcon-b1848eb2.js → logoIcon-80ad44bd.js} +2 -2
  148. package/build/esm/mantine.js +27 -27
  149. package/build/esm/misc.js +19 -19
  150. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  151. package/build/esm/miscGetSocialList.js +8 -8
  152. package/build/esm/miscScreenSizeContext.js +1 -1
  153. package/build/esm/mobileBottomNavigation.js +5 -5
  154. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  155. package/build/esm/molecules.js +78 -78
  156. package/build/esm/moleculesArticleCard.js +6 -6
  157. package/build/esm/moleculesArticleCardV2.js +17 -17
  158. package/build/esm/navigation.js +50 -50
  159. package/build/esm/navigationLogoutPopup.js +11 -11
  160. package/build/esm/navigationProfileButton.js +29 -29
  161. package/build/esm/onboardingV2.js +30 -30
  162. package/build/esm/organisms.js +58 -58
  163. package/build/esm/{post-befa68b6.js → post-c7f67ea5.js} +2 -2
  164. package/build/esm/profileNavigation.js +469 -32
  165. package/build/esm/progressBar.js +1 -1
  166. package/build/esm/pwg.js +23 -23
  167. package/build/esm/ssoV2.js +31 -31
  168. package/build/esm/{store-90859c89.js → store-093a4597.js} +3 -3
  169. package/build/esm/subot.js +37 -37
  170. package/build/esm/surveyOrPremiumBanner.js +34 -34
  171. package/build/esm/surveyQuestionCard.js +11 -11
  172. package/build/esm/{surveyThankyouCard-34170eb7.js → surveyThankyouCard-f44e18a5.js} +5 -5
  173. package/build/esm/together.js +57 -57
  174. package/build/esm/togetherApiUtils.js +4 -4
  175. package/build/esm/togetherAtoms.js +31 -31
  176. package/build/esm/togetherComponentGlobalContext.js +4 -4
  177. package/build/esm/togetherMolecules.js +52 -52
  178. package/build/esm/togetherMoleculesCardAuthor.js +29 -29
  179. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  180. package/build/esm/togetherMoleculesProfileDetail.js +40 -40
  181. package/build/esm/togetherOrganisms.js +51 -51
  182. package/build/esm/togetherRichTextEditor.js +18 -18
  183. package/build/esm/togetherShareBox.js +10 -10
  184. package/build/esm/{translationsProvider-245cf3af.js → translationsProvider-42ed0998.js} +1 -1
  185. package/build/esm/{treePopoverMenu-bd6bf08d.js → treePopoverMenu-782df394.js} +19 -19
  186. package/build/esm/types.js +2 -2
  187. package/build/esm/{useHealthToolCache-f72517c3.js → useHealthToolCache-b99d245a.js} +1 -1
  188. package/build/esm/{usePhoneValidator-f9fd48ca.js → usePhoneValidator-23196db1.js} +5 -5
  189. package/build/esm/{usePlacesAutocomplete-6ad4cdd5.js → usePlacesAutocomplete-efa638fb.js} +1 -1
  190. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  191. package/build/esm/{utils-ab0cdd66.js → utils-0ead0163.js} +3 -3
  192. package/build/esm/{utils-c3cff801.js → utils-63686611.js} +2 -2
  193. package/build/esm/{utils-4f33abef.js → utils-a1f7c678.js} +5 -5
  194. package/build/esm/{utils-69e5dbac.js → utils-cd578c0e.js} +2 -2
  195. package/build/esm/{utils-3806b6c8.js → utils-fc582688.js} +1 -1
  196. package/build/esm/vaccination.js +22 -22
  197. package/build/footer.js +22 -22
  198. package/build/gAssets.js +2 -2
  199. package/build/{healthTools-e2b856f4.js → healthTools-de5b3727.js} +1 -1
  200. package/build/healthToolsCardWrapper.js +20 -20
  201. package/build/healthToolsForm.js +35 -35
  202. package/build/hooks.js +13 -13
  203. package/build/i18n.js +2 -2
  204. package/build/i18nV2.js +1 -1
  205. package/build/{index-cac6d417.js → index-0d2c0f90.js} +3 -3
  206. package/build/{index-01595d0b.js → index-106c89db.js} +3 -3
  207. package/build/{index-b2b5db47.js → index-10fd38c3.js} +6 -6
  208. package/build/{index-e663bd1b.js → index-17daf29c.js} +3 -3
  209. package/build/{index-2bacfbf6.js → index-24307d2f.js} +3 -3
  210. package/build/{index-6db2fd5b.js → index-36baee25.js} +5 -5
  211. package/build/{index-dd980c89.js → index-39f11fc4.js} +6 -6
  212. package/build/{index-3b824427.js → index-3bbc116a.js} +16 -16
  213. package/build/{index-ca5252fe.js → index-3c221f7b.js} +14 -14
  214. package/build/{index-c1f61681.js → index-3f291bbc.js} +5 -5
  215. package/build/{index-bc27f6e6.js → index-41811667.js} +2 -2
  216. package/build/{index-04259619.js → index-437661c8.js} +2 -2
  217. package/build/{index-fe818447.js → index-4ab2179a.js} +18 -18
  218. package/build/{index-c55c3032.js → index-4ba42c57.js} +14 -14
  219. package/build/{index-cbc65f63.js → index-527ab108.js} +1 -1
  220. package/build/{index-6b297d27.js → index-54aaddc8.js} +16 -16
  221. package/build/{index-11724330.js → index-619f2a6c.js} +56 -57
  222. package/build/{index-af2df041.js → index-65702725.js} +7 -7
  223. package/build/{index-14bbc734.js → index-68757826.js} +21 -21
  224. package/build/{index-b084f316.js → index-68ad7600.js} +2 -2
  225. package/build/{index-aa9b8043.js → index-6aba25d0.js} +2 -2
  226. package/build/{index-6972e3d2.js → index-6aeeb0dc.js} +8 -8
  227. package/build/{index-9655abd8.js → index-71240831.js} +18 -18
  228. package/build/{index-9aca9d9d.js → index-7d7f878b.js} +1 -1
  229. package/build/{index-57d870df.js → index-878d4b1c.js} +2 -2
  230. package/build/{index-b947d52a.js → index-8abc5f1a.js} +9 -9
  231. package/build/{index-acf4daed.js → index-8cba251b.js} +2 -2
  232. package/build/{index-b6f98f08.js → index-8dc73eeb.js} +1 -1
  233. package/build/{index-514651e1.js → index-8ecd5e90.js} +2 -2
  234. package/build/{index-ae20d017.js → index-92bfcd68.js} +2 -2
  235. package/build/{index-435defb9.js → index-a0d89b3f.js} +2 -2
  236. package/build/{index-fbab98ef.js → index-a193d0d4.js} +3 -3
  237. package/build/{index-a6eabde2.js → index-a5449eed.js} +20 -20
  238. package/build/{index-c3d2b16b.js → index-a6cd9a72.js} +14 -14
  239. package/build/{index-b10a29d0.js → index-a6e5b3ff.js} +32 -32
  240. package/build/{index-d5af2751.js → index-a84743ca.js} +2 -2
  241. package/build/{index-1a053af5.js → index-aa4c22b7.js} +3 -3
  242. package/build/{index-13965bb1.js → index-af87f66e.js} +119 -19
  243. package/build/{index-e254404b.js → index-aff156fe.js} +1 -1
  244. package/build/{index-5bf38077.js → index-b07fa793.js} +10 -10
  245. package/build/{index-1e0bd69f.js → index-b324af0f.js} +15 -15
  246. package/build/{index-d9705b56.js → index-b392d365.js} +4 -4
  247. package/build/{index-b3f0095a.js → index-b686bf14.js} +6 -6
  248. package/build/{index-ea9d0a06.js → index-b7223ed7.js} +2 -2
  249. package/build/{index-8a1f9607.js → index-b72d2331.js} +4 -4
  250. package/build/{index-a318b500.js → index-b8768f2f.js} +13 -13
  251. package/build/{index-b048b68e.js → index-bae0798a.js} +16 -16
  252. package/build/{index-c501274e.js → index-bc308a6f.js} +14 -14
  253. package/build/{index-e995de65.js → index-c23377fe.js} +6 -6
  254. package/build/{index-92cb26b4.js → index-c586cc9f.js} +2 -2
  255. package/build/{index-84cc37a8.js → index-cbc413db.js} +3 -3
  256. package/build/{index-9b752c23.js → index-ce502629.js} +19 -19
  257. package/build/{index-eda1c260.js → index-cf9cffea.js} +13 -13
  258. package/build/{index-322a87fa.js → index-dd6911c5.js} +8 -8
  259. package/build/{index-45133dd8.js → index-dda0e21b.js} +22 -22
  260. package/build/{index-0e428d2a.js → index-deb96ccc.js} +2 -2
  261. package/build/{index-94e3287c.js → index-e110305a.js} +2 -2
  262. package/build/{index-9993d73b.js → index-e257c103.js} +1 -1
  263. package/build/{index-8d3f70aa.js → index-ea5b46c7.js} +16 -16
  264. package/build/{index-0244a71a.js → index-ebd7cb93.js} +1 -1
  265. package/build/{index-5ba0abb2.js → index-ed98b9af.js} +2 -2
  266. package/build/{index-38a46829.js → index-f0d803ae.js} +26 -26
  267. package/build/{index-5f7209e3.js → index-f222c322.js} +7 -7
  268. package/build/{index-b59243ec.js → index-f3975971.js} +25 -25
  269. package/build/{index-2cda69ed.js → index-f50cba97.js} +15 -15
  270. package/build/{index-00afb19c.js → index-f56e1f39.js} +1 -1
  271. package/build/{index-97519cd3.js → index-f7a0713d.js} +17 -17
  272. package/build/{index-e4f8dc39.js → index-f8d0e216.js} +3 -3
  273. package/build/{index-71ca1b74.js → index-f9f619d8.js} +32 -32
  274. package/build/{index-4282b85e.js → index-fa7196bb.js} +2 -2
  275. package/build/{index-0a656432.js → index-ffc24796.js} +2 -2
  276. package/build/index.js +125 -125
  277. package/build/{labelSorting-139e0c6f.js → labelSorting-9fed5f65.js} +4 -4
  278. package/build/lead.js +36 -36
  279. package/build/{logoIcon-7ddc1757.js → logoIcon-466c423e.js} +2 -2
  280. package/build/mantine.js +24 -24
  281. package/build/misc.js +19 -19
  282. package/build/miscGetDynamicHealthTool.js +4 -4
  283. package/build/miscGetSocialList.js +8 -8
  284. package/build/miscScreenSizeContext.js +1 -1
  285. package/build/mobileBottomNavigation.js +5 -5
  286. package/build/mobileBottomNavigationIcon.js +5 -5
  287. package/build/molecules.js +78 -78
  288. package/build/moleculesArticleCard.js +6 -6
  289. package/build/moleculesArticleCardV2.js +17 -17
  290. package/build/navigation.js +50 -50
  291. package/build/navigationLogoutPopup.js +11 -11
  292. package/build/navigationProfileButton.js +29 -29
  293. package/build/onboardingV2.js +29 -29
  294. package/build/organisms.js +58 -58
  295. package/build/{post-0a2c0b68.js → post-3784935c.js} +2 -2
  296. package/build/profileNavigation.js +471 -33
  297. package/build/progressBar.js +1 -1
  298. package/build/pwg.js +23 -23
  299. package/build/ssoV2.js +29 -29
  300. package/build/{store-6370c4c2.js → store-ca320236.js} +3 -3
  301. package/build/subot.js +36 -36
  302. package/build/surveyOrPremiumBanner.js +34 -34
  303. package/build/surveyQuestionCard.js +11 -11
  304. package/build/{surveyThankyouCard-917019a2.js → surveyThankyouCard-5863ea01.js} +5 -5
  305. package/build/together.js +57 -57
  306. package/build/togetherApiUtils.js +4 -4
  307. package/build/togetherAtoms.js +31 -31
  308. package/build/togetherComponentGlobalContext.js +4 -4
  309. package/build/togetherMolecules.js +52 -52
  310. package/build/togetherMoleculesCardAuthor.js +29 -29
  311. package/build/togetherMoleculesPostImagePreview.js +11 -11
  312. package/build/togetherMoleculesProfileDetail.js +40 -40
  313. package/build/togetherOrganisms.js +51 -51
  314. package/build/togetherRichTextEditor.js +18 -18
  315. package/build/togetherShareBox.js +10 -10
  316. package/build/{translationsProvider-6af4e2b6.js → translationsProvider-5cddb104.js} +1 -1
  317. package/build/{treePopoverMenu-cbba47aa.js → treePopoverMenu-bcf90043.js} +19 -19
  318. package/build/types.js +2 -2
  319. package/build/{useHealthToolCache-043487a1.js → useHealthToolCache-bbdbac4f.js} +1 -1
  320. package/build/{usePhoneValidator-70dce91e.js → usePhoneValidator-64d48d03.js} +5 -5
  321. package/build/{usePlacesAutocomplete-c0f4ad65.js → usePlacesAutocomplete-30c46821.js} +1 -1
  322. package/build/useTogetherAuthRequiredAction.js +10 -10
  323. package/build/{utils-5173e30f.js → utils-0d77922f.js} +2 -2
  324. package/build/{utils-2aa82a2a.js → utils-147442cc.js} +3 -3
  325. package/build/{utils-f3794edb.js → utils-8746d83e.js} +5 -5
  326. package/build/{utils-4447bdc1.js → utils-b60926eb.js} +1 -1
  327. package/build/{utils-7d8d343d.js → utils-db926f62.js} +2 -2
  328. package/build/vaccination.js +22 -22
  329. package/package.json +1 -1
  330. package/build/esm/index-87e4b77b.js +0 -565
  331. package/build/index-4024ba84.js +0 -574
  332. /package/build/{BMI_BOYS.percentile.monthly-f50e282a.js → BMI_BOYS.percentile.monthly-73951b09.js} +0 -0
  333. /package/build/{BMI_BOYS.percentile.weekly-8b635924.js → BMI_BOYS.percentile.weekly-45151789.js} +0 -0
  334. /package/build/{BMI_BOYS.percentile.yearly-d35f6d8c.js → BMI_BOYS.percentile.yearly-a3398f5d.js} +0 -0
  335. /package/build/{BMI_BOYS.zscore.monthly-3c71a318.js → BMI_BOYS.zscore.monthly-47e5e693.js} +0 -0
  336. /package/build/{BMI_BOYS.zscore.weekly-93b0bcd3.js → BMI_BOYS.zscore.weekly-3ccabda7.js} +0 -0
  337. /package/build/{BMI_BOYS.zscore.yearly-c7d75c3f.js → BMI_BOYS.zscore.yearly-96348db3.js} +0 -0
  338. /package/build/{BMI_GIRLS.percentile.monthly-e19da0a2.js → BMI_GIRLS.percentile.monthly-21e7c0ba.js} +0 -0
  339. /package/build/{BMI_GIRLS.percentile.weekly-d544e768.js → BMI_GIRLS.percentile.weekly-3fd2bbd8.js} +0 -0
  340. /package/build/{BMI_GIRLS.percentile.yearly-76141779.js → BMI_GIRLS.percentile.yearly-84f7883a.js} +0 -0
  341. /package/build/{BMI_GIRLS.zscore.monthly-7c8042db.js → BMI_GIRLS.zscore.monthly-3c1655c0.js} +0 -0
  342. /package/build/{BMI_GIRLS.zscore.weekly-7d46e2c1.js → BMI_GIRLS.zscore.weekly-ab8189da.js} +0 -0
  343. /package/build/{BMI_GIRLS.zscore.yearly-f49c2ba8.js → BMI_GIRLS.zscore.yearly-12d56dc3.js} +0 -0
  344. /package/build/{ChevronDown-cc1902ff.js → ChevronDown-c0ca8b60.js} +0 -0
  345. /package/build/{Close-fd3c6897.js → Close-cb524453.js} +0 -0
  346. /package/build/{Google-4069c914.js → Google-49ebcd30.js} +0 -0
  347. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7d61e06a.js → HEAD CIRCUM_BOYS.percentile.monthly-e1504018.js} +0 -0
  348. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-bbe4ce63.js → HEAD CIRCUM_BOYS.percentile.weekly-632e2c1f.js} +0 -0
  349. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f4fb4244.js → HEAD CIRCUM_BOYS.percentile.yearly-8f9314b5.js} +0 -0
  350. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e2dcd562.js → HEAD CIRCUM_BOYS.zscore.monthly-a476ce60.js} +0 -0
  351. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-97b07e7b.js → HEAD CIRCUM_BOYS.zscore.weekly-c6e03d25.js} +0 -0
  352. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-4b1034dd.js → HEAD CIRCUM_BOYS.zscore.yearly-fc09f20e.js} +0 -0
  353. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3425b2f2.js → HEAD CIRCUM_GIRLS.percentile.monthly-b91eba4c.js} +0 -0
  354. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2f865239.js → HEAD CIRCUM_GIRLS.percentile.weekly-32976471.js} +0 -0
  355. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c722b9b6.js → HEAD CIRCUM_GIRLS.percentile.yearly-b34321dd.js} +0 -0
  356. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-768d3eec.js → HEAD CIRCUM_GIRLS.zscore.monthly-de1697c7.js} +0 -0
  357. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-53cca036.js → HEAD CIRCUM_GIRLS.zscore.weekly-e618efff.js} +0 -0
  358. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f06ee0e9.js → HEAD CIRCUM_GIRLS.zscore.yearly-40dec195.js} +0 -0
  359. /package/build/{HEIGHT_BOYS.percentile.monthly-8db8058e.js → HEIGHT_BOYS.percentile.monthly-b69e6d7e.js} +0 -0
  360. /package/build/{HEIGHT_BOYS.percentile.weekly-bce33a2d.js → HEIGHT_BOYS.percentile.weekly-061e120c.js} +0 -0
  361. /package/build/{HEIGHT_BOYS.percentile.yearly-9a88382c.js → HEIGHT_BOYS.percentile.yearly-68dd7eef.js} +0 -0
  362. /package/build/{HEIGHT_BOYS.zscore.monthly-9640edd7.js → HEIGHT_BOYS.zscore.monthly-7e869254.js} +0 -0
  363. /package/build/{HEIGHT_BOYS.zscore.weekly-6f9bbe4d.js → HEIGHT_BOYS.zscore.weekly-7aa65fde.js} +0 -0
  364. /package/build/{HEIGHT_BOYS.zscore.yearly-192661c3.js → HEIGHT_BOYS.zscore.yearly-a14f78f3.js} +0 -0
  365. /package/build/{HEIGHT_GIRLS.percentile.monthly-3a25d651.js → HEIGHT_GIRLS.percentile.monthly-691d9465.js} +0 -0
  366. /package/build/{HEIGHT_GIRLS.percentile.weekly-cab00575.js → HEIGHT_GIRLS.percentile.weekly-545d4b3f.js} +0 -0
  367. /package/build/{HEIGHT_GIRLS.percentile.yearly-476a9d63.js → HEIGHT_GIRLS.percentile.yearly-18b9d718.js} +0 -0
  368. /package/build/{HEIGHT_GIRLS.zscore.monthly-20ac8afb.js → HEIGHT_GIRLS.zscore.monthly-0a22fb36.js} +0 -0
  369. /package/build/{HEIGHT_GIRLS.zscore.weekly-cc6a824c.js → HEIGHT_GIRLS.zscore.weekly-3b6de3ef.js} +0 -0
  370. /package/build/{HEIGHT_GIRLS.zscore.yearly-19310d48.js → HEIGHT_GIRLS.zscore.yearly-67e100a1.js} +0 -0
  371. /package/build/{Locale-51750edf.js → Locale-fe2c9c8d.js} +0 -0
  372. /package/build/{Visible-41651f2c.js → Visible-8a735afa.js} +0 -0
  373. /package/build/{WEIGHT_BOYS.percentile.monthly-d5789597.js → WEIGHT_BOYS.percentile.monthly-be0c22f5.js} +0 -0
  374. /package/build/{WEIGHT_BOYS.percentile.weekly-77109536.js → WEIGHT_BOYS.percentile.weekly-4a3def9f.js} +0 -0
  375. /package/build/{WEIGHT_BOYS.percentile.yearly-065dc5d4.js → WEIGHT_BOYS.percentile.yearly-194d633a.js} +0 -0
  376. /package/build/{WEIGHT_BOYS.zscore.monthly-634afa9a.js → WEIGHT_BOYS.zscore.monthly-230a631a.js} +0 -0
  377. /package/build/{WEIGHT_BOYS.zscore.weekly-1dc2d8b3.js → WEIGHT_BOYS.zscore.weekly-92698176.js} +0 -0
  378. /package/build/{WEIGHT_BOYS.zscore.yearly-e00c2a90.js → WEIGHT_BOYS.zscore.yearly-da437da2.js} +0 -0
  379. /package/build/{WEIGHT_GIRLS.percentile.monthly-0b9241c5.js → WEIGHT_GIRLS.percentile.monthly-bd68177f.js} +0 -0
  380. /package/build/{WEIGHT_GIRLS.percentile.weekly-e6d42380.js → WEIGHT_GIRLS.percentile.weekly-47abea21.js} +0 -0
  381. /package/build/{WEIGHT_GIRLS.percentile.yearly-ff3731af.js → WEIGHT_GIRLS.percentile.yearly-9d8a6597.js} +0 -0
  382. /package/build/{WEIGHT_GIRLS.zscore.monthly-3e863d80.js → WEIGHT_GIRLS.zscore.monthly-6898065e.js} +0 -0
  383. /package/build/{WEIGHT_GIRLS.zscore.weekly-77b06395.js → WEIGHT_GIRLS.zscore.weekly-56d80807.js} +0 -0
  384. /package/build/{WEIGHT_GIRLS.zscore.yearly-fb574b17.js → WEIGHT_GIRLS.zscore.yearly-45dc1caa.js} +0 -0
  385. /package/build/{ageGenerate-4ef37c85.js → ageGenerate-f057eeda.js} +0 -0
  386. /package/build/{animation-0eea2303.js → animation-53596236.js} +0 -0
  387. /package/build/{constants-18d545d4.js → constants-2b52edb3.js} +0 -0
  388. /package/build/{constants-b7fab30e.js → constants-b7e6ccca.js} +0 -0
  389. /package/build/{constants-0938022b.js → constants-fde69815.js} +0 -0
  390. /package/build/{context-34861f03.js → context-c89148bb.js} +0 -0
  391. /package/build/{dataTransform-e71a8023.js → dataTransform-7fe60fbf.js} +0 -0
  392. /package/build/esm/{BMI_BOYS.percentile.monthly-4ada81eb.js → BMI_BOYS.percentile.monthly-fe9f7083.js} +0 -0
  393. /package/build/esm/{BMI_BOYS.percentile.weekly-96a8c198.js → BMI_BOYS.percentile.weekly-2daa9c3f.js} +0 -0
  394. /package/build/esm/{BMI_BOYS.percentile.yearly-d1d74b50.js → BMI_BOYS.percentile.yearly-966c0b4a.js} +0 -0
  395. /package/build/esm/{BMI_BOYS.zscore.monthly-ed897578.js → BMI_BOYS.zscore.monthly-e34f2000.js} +0 -0
  396. /package/build/esm/{BMI_BOYS.zscore.weekly-f78cc772.js → BMI_BOYS.zscore.weekly-c249e63e.js} +0 -0
  397. /package/build/esm/{BMI_BOYS.zscore.yearly-621bd2f2.js → BMI_BOYS.zscore.yearly-b170e829.js} +0 -0
  398. /package/build/esm/{BMI_GIRLS.percentile.monthly-be86ca1a.js → BMI_GIRLS.percentile.monthly-a442b590.js} +0 -0
  399. /package/build/esm/{BMI_GIRLS.percentile.weekly-b3fc527b.js → BMI_GIRLS.percentile.weekly-7ab55a1b.js} +0 -0
  400. /package/build/esm/{BMI_GIRLS.percentile.yearly-92a24bd4.js → BMI_GIRLS.percentile.yearly-500f250f.js} +0 -0
  401. /package/build/esm/{BMI_GIRLS.zscore.monthly-2fb51ec5.js → BMI_GIRLS.zscore.monthly-69688a03.js} +0 -0
  402. /package/build/esm/{BMI_GIRLS.zscore.weekly-b360f3c7.js → BMI_GIRLS.zscore.weekly-43aff206.js} +0 -0
  403. /package/build/esm/{BMI_GIRLS.zscore.yearly-af0d61a7.js → BMI_GIRLS.zscore.yearly-3c29c704.js} +0 -0
  404. /package/build/esm/{ChevronDown-0d00f841.js → ChevronDown-f04a8398.js} +0 -0
  405. /package/build/esm/{Close-6fd55b93.js → Close-eae89c79.js} +0 -0
  406. /package/build/esm/{Google-3d534811.js → Google-88691f63.js} +0 -0
  407. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a93200a3.js → HEAD CIRCUM_BOYS.percentile.monthly-48df80cf.js} +0 -0
  408. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-29acc575.js → HEAD CIRCUM_BOYS.percentile.weekly-abe082b8.js} +0 -0
  409. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-33132165.js → HEAD CIRCUM_BOYS.percentile.yearly-4f45b353.js} +0 -0
  410. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5cea9e13.js → HEAD CIRCUM_BOYS.zscore.monthly-7eab8096.js} +0 -0
  411. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-66d71efb.js → HEAD CIRCUM_BOYS.zscore.weekly-31d7d912.js} +0 -0
  412. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b56a5980.js → HEAD CIRCUM_BOYS.zscore.yearly-56d278cc.js} +0 -0
  413. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4a1b34d6.js → HEAD CIRCUM_GIRLS.percentile.monthly-2d117833.js} +0 -0
  414. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bcb1396a.js → HEAD CIRCUM_GIRLS.percentile.weekly-7aac011b.js} +0 -0
  415. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fa7459b8.js → HEAD CIRCUM_GIRLS.percentile.yearly-d9924d10.js} +0 -0
  416. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-02b63d51.js → HEAD CIRCUM_GIRLS.zscore.monthly-74babd28.js} +0 -0
  417. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3836b72d.js → HEAD CIRCUM_GIRLS.zscore.weekly-cde7b876.js} +0 -0
  418. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-fbc983f4.js → HEAD CIRCUM_GIRLS.zscore.yearly-7c4cd7f5.js} +0 -0
  419. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9e689b4f.js → HEIGHT_BOYS.percentile.monthly-d6106b9e.js} +0 -0
  420. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-374c5e4c.js → HEIGHT_BOYS.percentile.weekly-2fdd646f.js} +0 -0
  421. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8bc6a469.js → HEIGHT_BOYS.percentile.yearly-c682cb67.js} +0 -0
  422. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6bffa01e.js → HEIGHT_BOYS.zscore.monthly-79b12d3f.js} +0 -0
  423. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-77bbd88c.js → HEIGHT_BOYS.zscore.weekly-25fe3f00.js} +0 -0
  424. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-5569c57c.js → HEIGHT_BOYS.zscore.yearly-3f565634.js} +0 -0
  425. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5df06bec.js → HEIGHT_GIRLS.percentile.monthly-8dbe6728.js} +0 -0
  426. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-84b0bc03.js → HEIGHT_GIRLS.percentile.weekly-0cb1c663.js} +0 -0
  427. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-25fd7843.js → HEIGHT_GIRLS.percentile.yearly-bdf6f14e.js} +0 -0
  428. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-51046e14.js → HEIGHT_GIRLS.zscore.monthly-70d87771.js} +0 -0
  429. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a4292e2a.js → HEIGHT_GIRLS.zscore.weekly-bc6fcb6a.js} +0 -0
  430. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3ebb559b.js → HEIGHT_GIRLS.zscore.yearly-9d9de6eb.js} +0 -0
  431. /package/build/esm/{Locale-10bedfb7.js → Locale-b95cc1c2.js} +0 -0
  432. /package/build/esm/{Visible-7ddaa438.js → Visible-952df1fc.js} +0 -0
  433. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0f7795e3.js → WEIGHT_BOYS.percentile.monthly-28954511.js} +0 -0
  434. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-62011950.js → WEIGHT_BOYS.percentile.weekly-c4368612.js} +0 -0
  435. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-de48c5a5.js → WEIGHT_BOYS.percentile.yearly-a5945445.js} +0 -0
  436. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-553952c9.js → WEIGHT_BOYS.zscore.monthly-d141dd62.js} +0 -0
  437. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-815763d2.js → WEIGHT_BOYS.zscore.weekly-d21771dc.js} +0 -0
  438. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-22788dc4.js → WEIGHT_BOYS.zscore.yearly-8266705b.js} +0 -0
  439. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f2356b70.js → WEIGHT_GIRLS.percentile.monthly-99049b37.js} +0 -0
  440. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-10bc4e77.js → WEIGHT_GIRLS.percentile.weekly-da3c2bf3.js} +0 -0
  441. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e60cf8b4.js → WEIGHT_GIRLS.percentile.yearly-df7ddc4c.js} +0 -0
  442. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1851e59c.js → WEIGHT_GIRLS.zscore.monthly-dbb8e5ee.js} +0 -0
  443. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-087995c4.js → WEIGHT_GIRLS.zscore.weekly-7d5f79b4.js} +0 -0
  444. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-381054dc.js → WEIGHT_GIRLS.zscore.yearly-09754364.js} +0 -0
  445. /package/build/esm/{ageGenerate-f2e3ab1f.js → ageGenerate-9042fcbf.js} +0 -0
  446. /package/build/esm/{animation-609e02cc.js → animation-f8e693fd.js} +0 -0
  447. /package/build/esm/{constants-ab4c9755.js → constants-01649d87.js} +0 -0
  448. /package/build/esm/{constants-97e78545.js → constants-eb2a6dec.js} +0 -0
  449. /package/build/esm/{constants-3870ccef.js → constants-f3749bf0.js} +0 -0
  450. /package/build/esm/{context-75076cd5.js → context-05790f6e.js} +0 -0
  451. /package/build/esm/{dataTransform-a5949ba6.js → dataTransform-e99b41e2.js} +0 -0
  452. /package/build/esm/{index-269d31e3.js → index-399fe4c6.js} +0 -0
  453. /package/build/esm/{index-90656e6f.js → index-8464eb19.js} +0 -0
  454. /package/build/esm/{index-426afef2.js → index-8dfbf248.js} +0 -0
  455. /package/build/esm/{index-c7c381fd.js → index-bbfc91d4.js} +0 -0
  456. /package/build/esm/{index-5b32ea61.js → index-c3a625bd.js} +0 -0
  457. /package/build/esm/{index-466ac3eb.js → index-cd5ee716.js} +0 -0
  458. /package/build/esm/{index-f67b2f26.js → index-d5389e59.js} +0 -0
  459. /package/build/esm/{index-10203a00.js → index-d9b8f5e3.js} +0 -0
  460. /package/build/esm/{index-4bc68fd1.js → index-f96792f8.js} +0 -0
  461. /package/build/esm/{index.styles-a344d286.js → index.styles-0ef1c119.js} +0 -0
  462. /package/build/esm/{localizeNumberFormat-e8eb1a08.js → localizeNumberFormat-4df7d209.js} +0 -0
  463. /package/build/esm/{normalizeLink-f0721c13.js → normalizeLink-45d032e2.js} +0 -0
  464. /package/build/esm/{number-b4c658e2.js → number-d250a063.js} +0 -0
  465. /package/build/esm/{paths-cf00521d.js → paths-c24345ae.js} +0 -0
  466. /package/build/esm/{shared-a443fd2e.js → shared-f9679530.js} +0 -0
  467. /package/build/esm/{translationsContext-593be61a.js → translationsContext-d5e792ec.js} +0 -0
  468. /package/build/esm/{tslib.es6-de55ba71.js → tslib.es6-0d0bf467.js} +0 -0
  469. /package/build/esm/{types-ea774079.js → types-12236846.js} +0 -0
  470. /package/build/esm/{types-79266840.js → types-657c88db.js} +0 -0
  471. /package/build/esm/{useIsInit-86398d6f.js → useIsInit-e7daf013.js} +0 -0
  472. /package/build/esm/{useOutsideClick-1005ab52.js → useOutsideClick-29bc2032.js} +0 -0
  473. /package/build/esm/{useScrollbarSize-83c5975b.js → useScrollbarSize-3a031280.js} +0 -0
  474. /package/build/esm/{useUniqueId-793a5ad0.js → useUniqueId-354d4bda.js} +0 -0
  475. /package/build/esm/{utils-4b0bcbf1.js → utils-cb46b539.js} +0 -0
  476. /package/build/{index-8fffe390.js → index-1126f1dc.js} +0 -0
  477. /package/build/{index-0905e2a1.js → index-135921e2.js} +0 -0
  478. /package/build/{index-f2117c4a.js → index-24ca0fc1.js} +0 -0
  479. /package/build/{index-03f841e3.js → index-52c62abf.js} +0 -0
  480. /package/build/{index-b673dd25.js → index-78670a28.js} +0 -0
  481. /package/build/{index-9d298298.js → index-8415c3f8.js} +0 -0
  482. /package/build/{index-1a2b8cf5.js → index-acfb1148.js} +0 -0
  483. /package/build/{index-b3337964.js → index-e932473f.js} +0 -0
  484. /package/build/{index-2f21ee00.js → index-fcc0a8e3.js} +0 -0
  485. /package/build/{index.styles-27d39435.js → index.styles-64cc331d.js} +0 -0
  486. /package/build/{localizeNumberFormat-93695b9b.js → localizeNumberFormat-10917383.js} +0 -0
  487. /package/build/{normalizeLink-cb83b1b4.js → normalizeLink-bfcd0b29.js} +0 -0
  488. /package/build/{number-69819882.js → number-ef38babb.js} +0 -0
  489. /package/build/{paths-ca2bdbe9.js → paths-c7a09d7f.js} +0 -0
  490. /package/build/{shared-e3022bda.js → shared-4fdea59f.js} +0 -0
  491. /package/build/{translationsContext-166c6c1d.js → translationsContext-e774e9df.js} +0 -0
  492. /package/build/{tslib.es6-fcf2b878.js → tslib.es6-21b362f3.js} +0 -0
  493. /package/build/{types-96777733.js → types-182c2deb.js} +0 -0
  494. /package/build/{types-8045d9fe.js → types-5909ed42.js} +0 -0
  495. /package/build/{useIsInit-deca5f91.js → useIsInit-c0551f75.js} +0 -0
  496. /package/build/{useOutsideClick-a60bb4a1.js → useOutsideClick-e117e366.js} +0 -0
  497. /package/build/{useScrollbarSize-04e56720.js → useScrollbarSize-9e127272.js} +0 -0
  498. /package/build/{useUniqueId-420856a9.js → useUniqueId-a36ca3d3.js} +0 -0
  499. /package/build/{utils-4f677fea.js → utils-5e3e1930.js} +0 -0
@@ -1,565 +0,0 @@
1
- import React__default, { useMemo, useEffect, useState, useContext, Fragment } from 'react';
2
- import { e as CARE_LOCALES, f as CARE_BOOKING_LOCALES, d as LOCALE_HAS_COMMUNITY_SITE, E as ECOM_LOCALES, c as VIDEO_LOCALES, D as DATA_PRIVACY_LOCALES } from './index-c27c139a.js';
3
- import { a as Avatar } from './index-2d6d0e4f.js';
4
- import '@mantine/core';
5
- import '@mantine/dates';
6
- import './index-df903dc3.js';
7
- import { C as CommonGAssets } from './index-10203a00.js';
8
- import './index-8860e91b.js';
9
- import { T as Text } from './index-c9abbed7.js';
10
- import './index-770d5df0.js';
11
- import './index-4bc68fd1.js';
12
- import './index.styles-a344d286.js';
13
- import { u as useTranslations } from './index-b853ce3b.js';
14
- import '@mantine/hooks';
15
- import './utils-4b0bcbf1.js';
16
- import './index-67e0ffa0.js';
17
- import { _ as __rest } from './tslib.es6-de55ba71.js';
18
- import { i as domainLocalesMarryBaby } from './utils-ab0cdd66.js';
19
- import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLinkSlash } from './normalizeLink-f0721c13.js';
20
- import { domainLocales } from './constantsDomainLocales.js';
21
- import { C as ChevronDown } from './ChevronDown-0d00f841.js';
22
- import { css } from '@emotion/react';
23
- import styled from '@emotion/styled';
24
- import { theme } from './miscTheme.js';
25
- import './translationsContext-593be61a.js';
26
-
27
- const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
28
- const config = useMemo(() => {
29
- const enableSearchBar = projectType === 'discover' ||
30
- projectType === 'together' ||
31
- projectType === 'marryBaby' ||
32
- (projectType === 'profile' && siteType === 'marryBaby');
33
- const enableNavCare = siteType !== 'marryBaby' &&
34
- projectType !== 'marryBaby' &&
35
- CARE_LOCALES.includes(locale);
36
- const enableNavCareBooking = enableBookingBtn &&
37
- projectType !== 'marryBaby' &&
38
- projectType === 'discover' &&
39
- siteType !== 'marryBaby' &&
40
- CARE_BOOKING_LOCALES.includes(locale);
41
- const enableNavTogether = projectType === 'marryBaby' || LOCALE_HAS_COMMUNITY_SITE.includes(locale);
42
- const enableNavDiscover = true;
43
- const enableNavHealthTools = true;
44
- const enableProfileMySaved = true;
45
- const enableNavEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
46
- const enableProfileEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
47
- const enableProfileMyHealth = true;
48
- const enableNavVideo = VIDEO_LOCALES.includes(locale);
49
- const baseUrl = getCurrentBaseUrl(locale, siteType === 'marryBaby');
50
- let fixBaseUrl = baseUrl;
51
- if (typeof window !== 'undefined') {
52
- if (fixBaseUrl.includes('//id.'))
53
- fixBaseUrl = fixBaseUrl.replace('id.', '');
54
- if (fixBaseUrl.includes('//staging-id.'))
55
- fixBaseUrl = fixBaseUrl.replace('staging-id.', 'discover.');
56
- }
57
- const ssoUrl = getCurrentSsoUrl(locale, siteType === 'marryBaby');
58
- const statics = (() => {
59
- return {
60
- HOME_PAGE_URL: fixBaseUrl,
61
- CARE_URL_FE: `${fixBaseUrl}/care`,
62
- TOGETHER_URL_FE: `${fixBaseUrl}/community`,
63
- VIDEO_URL_FE: `${fixBaseUrl}/videos`,
64
- SSO_URL: ssoUrl,
65
- TOGETHER_API: getTogetherApiDomain(),
66
- DISCOVER_API: getDiscoverApiDomain(locale),
67
- };
68
- })();
69
- return {
70
- enableSearchBar,
71
- enableNavCare,
72
- enableNavCareBooking,
73
- enableNavTogether,
74
- enableNavEcom,
75
- enableProfileEcom,
76
- enableNavVideo,
77
- enableProfileMyHealth,
78
- enableNavDiscover,
79
- enableNavHealthTools,
80
- enableProfileMySaved,
81
- statics,
82
- };
83
- }, []);
84
- return config;
85
- };
86
-
87
- const NavigationContext = React__default.createContext({});
88
- const NavigationProvider = (_a) => {
89
- var { children } = _a, props = __rest(_a, ["children"]);
90
- const [currentUrl, setCurrentUrl] = React__default.useState(() => {
91
- return (props.currentUrl ||
92
- `https://${props.siteType === 'marryBaby'
93
- ? domainLocalesMarryBaby[props.locale || 'en-PH']
94
- : domainLocales[props.locale || 'en-PH']}${props.projectType === 'together'
95
- ? '/community'
96
- : props.projectType === 'ecom'
97
- ? '/ecom'
98
- : props.projectType === 'care'
99
- ? '/care'
100
- : ''}/`);
101
- });
102
- useEffect(() => {
103
- const update = () => {
104
- setCurrentUrl(window.location.href);
105
- };
106
- window.addEventListener('popstate', update);
107
- update();
108
- return () => {
109
- window.removeEventListener('popstate', update);
110
- };
111
- }, []);
112
- const configs = useNavConfig({
113
- locale: props.locale,
114
- projectType: props.projectType,
115
- siteType: props.siteType,
116
- enableBookingBtn: props.enableBookingBtn,
117
- });
118
- return (React__default.createElement(NavigationContext.Provider, { value: Object.assign(Object.assign({}, props), { customClasses: props.customClasses || {}, configs: Object.assign(Object.assign({}, configs), props.configs), currentUrl: props.currentUrl || currentUrl }) }, children));
119
- };
120
-
121
- const NavBookingIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
122
- React__default.createElement("path", { d: "M2.5 6.5a3.2 3.2 0 0 1 3.2-3.2h7.9a3.2 3.2 0 0 1 3.19 3.2v4.72a3.2 3.2 0 0 1-3.2 3.2H5.7a3.2 3.2 0 0 1-3.19-3.2V6.49Z", fill: "#E3F2FF" }),
123
- React__default.createElement("path", { d: "M2.5 5.68A2.38 2.38 0 0 1 4.88 3.3h9.52a2.38 2.38 0 0 1 2.39 2.38z", fill: "#2D87F3" }),
124
- React__default.createElement("path", { d: "M13.6 2.5h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65M5.27 4.86h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65Z", fill: "#2743AD" }),
125
- React__default.createElement("path", { d: "M5.56 8.17h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.87 0h-.49a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.49a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m-8.3 2.52h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.87 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Z", fill: "#2D87F3" }),
126
- React__default.createElement("path", { d: "M16 16.8a3.17 3.17 0 1 0 0-6.36 3.17 3.17 0 0 0 0 6.35Z", fill: "#FE921D" }),
127
- React__default.createElement("path", { d: "M15.78 13.62v-1.36a.21.21 0 0 1 .42 0v1.26l.48.4a.21.21 0 0 1-.01.33.21.21 0 0 1-.26-.01l-.55-.46-.02-.01a.2.2 0 0 1-.06-.15", fill: "#fff" })));
128
-
129
- const NavCommunityIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
130
- React__default.createElement("path", { d: "M7.06 4.97h-2.3a3.12 3.12 0 0 0-3.1 3.1v.43a3.12 3.12 0 0 0 3.1 3.1h1.39s1.47 1.11 1.5.97c.03-.22-.23-.99-.23-.99a3.13 3.13 0 0 0 2.72-3.09v-.41a3.12 3.12 0 0 0-3.08-3.11m-2.7 3.55a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46m1.35.4a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .65Zm1.57-.05", fill: "#2D87F3" }),
131
- React__default.createElement("path", { d: "M12.88 9.52a3.53 3.53 0 0 0-1.35 6.8s-.23 1.03-.2 1.25c.03.14 1.55-.99 1.55-.99a3.53 3.53 0 0 0 0-7.06m-1.33 4.24a.48.48 0 1 1 0-.97.48.48 0 0 1 0 .97m1.58.04a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .66m1.34-.39a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46", fill: "#FFB521" }),
132
- React__default.createElement("path", { d: "M16.45 1.67h-3.87a1.88 1.88 0 0 0-1.88 2.06l.22 2.29a1.88 1.88 0 0 0 1.73 1.7s-.17.94-.14 1.16c.02.14 1.66-1.13 1.66-1.13l1.92-.03a1.88 1.88 0 0 0 1.86-1.59l.36-2.29a1.88 1.88 0 0 0-1.86-2.17M13.1 5.23a.48.48 0 1 1 .34-.14c-.1.1-.22.14-.34.14m1.57.05a.33.33 0 1 1 .23-.1.33.33 0 0 1-.23.1m1.34-.4a.23.23 0 1 1 .1-.01.2.2 0 0 1-.1.02Z", fill: "#91CAFF" })));
133
-
134
- const NavDotIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
135
- React__default.createElement("rect", { x: "8.333", y: "8.333", width: "3.333", height: "3.333", rx: "1.667", fill: "#2D87F3" })));
136
-
137
- const NavEshopIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
138
- React__default.createElement("path", { d: "m3.18 7.06 1.6 1.6 4.33-4.69a.72.72 0 0 0-.03-.99l-.22-.22a.72.72 0 0 0-.99-.02zm13.64 0-1.6 1.6-4.33-4.69a.72.72 0 0 1 .02-.99l.23-.22a.72.72 0 0 1 .99-.02z", fill: "#2743AD" }),
139
- React__default.createElement("path", { d: "M15.04 16.7H4.9a.78.78 0 0 1-.77-.7l-.7-6.67h13.09l-.7 6.67a.78.78 0 0 1-.78.7", fill: "#2D87F3" }),
140
- React__default.createElement("path", { d: "M6.23 15.7a.23.23 0 0 1-.23-.22l-.3-4.46a.23.23 0 1 1 .47-.04l.3 4.47a.23.23 0 0 1-.22.25zm2.39 0a.23.23 0 0 1-.23-.23L8.3 11a.23.23 0 1 1 .47 0l.07 4.46a.23.23 0 0 1-.22.24h-.01Zm5.15 0h-.02a.23.23 0 0 1-.2-.16.2.2 0 0 1-.02-.09l.3-4.47a.24.24 0 0 1 .25-.22.23.23 0 0 1 .22.26l-.3 4.46a.23.23 0 0 1-.23.22m-2.39 0a.23.23 0 0 1-.23-.23l.07-4.47a.24.24 0 0 1 .24-.23.23.23 0 0 1 .23.23l-.08 4.47a.23.23 0 0 1-.23.23", fill: "#2743AD" }),
141
- React__default.createElement("path", { d: "M16.04 18.12a2.01 2.01 0 1 0 0-4.03 2.01 2.01 0 0 0 0 4.03", fill: "#FE921D" }),
142
- React__default.createElement("path", { d: "M16.97 15.87h-.7v-.7a.23.23 0 0 0-.46 0v.7h-.7a.23.23 0 1 0 0 .47h.7v.69a.23.23 0 1 0 .47 0v-.7h.69a.23.23 0 1 0 0-.46", fill: "#fff" }),
143
- React__default.createElement("path", { d: "M16.58 9.48H3.42a.8.8 0 0 1-.78-.7l-.13-1.1a.8.8 0 0 1 .78-.88h13.42a.8.8 0 0 1 .78.88l-.13 1.1a.8.8 0 0 1-.78.7", fill: "#BCDEFF" })));
144
-
145
- const NavHelpIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
146
- React__default.createElement("path", { d: "M10 1.667c-4.595 0-8.333 3.738-8.333 8.333 0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.333-3.738 8.333-8.333 0-4.595-3.738-8.333-8.333-8.333Zm0 13.194a.695.695 0 1 1 0-1.39.695.695 0 0 1 0 1.39Zm1.1-4.415a.698.698 0 0 0-.405.631v.312a.694.694 0 1 1-1.39 0v-.312c0-.81.477-1.553 1.213-1.893.707-.326 1.218-1.19 1.218-1.615 0-.956-.778-1.736-1.736-1.736s-1.736.78-1.736 1.736a.694.694 0 1 1-1.389 0A3.129 3.129 0 0 1 10 4.444a3.129 3.129 0 0 1 3.125 3.125c0 .939-.814 2.318-2.026 2.877Z", fill: "#FF6F4D" })));
147
-
148
- const NavLogOutIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
149
- React__default.createElement("path", { d: "M11.116 1.72 5.488.85a1.898 1.898 0 0 0-2.155 1.856v14.588a1.898 1.898 0 0 0 2.158 1.855l5.625-.869a1.865 1.865 0 0 0 1.592-1.855V3.575a1.87 1.87 0 0 0-1.592-1.855", fill: "#2D87F3" }),
150
- React__default.createElement("path", { d: "M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471", fill: "#FF6F4D" }),
151
- React__default.createElement("path", { d: "M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471m-7.603-.908v1.802c0 .124.1.225.224.225h1.257c.124 0 .225-.1.225-.225V8.676c0-.124-.1-.224-.225-.224h-1.257c-.124 0-.224.1-.224.224m-.673 1.809a.224.224 0 0 1-.225.225h-.407a.61.61 0 0 1-.609-.61V9.069a.61.61 0 0 1 .61-.61h.406a.224.224 0 0 1 .225.225z", fill: "#FF6F4D" })));
152
-
153
- const NavMyHealthIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
154
- React__default.createElement("path", { d: "M6.114 3.333a4.64 4.64 0 0 1 3.565 1.708.412.412 0 0 0 .642 0 4.64 4.64 0 0 1 3.565-1.708c2.646 0 4.447 2.302 4.447 5.142 0 1.698-.904 4.446-2.675 6.102-2.522 2.358-4.665 2.965-5.392 3.11a1.3 1.3 0 0 1-.53 0c-.728-.146-2.871-.752-5.393-3.11-1.772-1.656-2.676-4.404-2.676-6.102 0-2.84 1.801-5.142 4.447-5.142", fill: "#FF6F4D" }),
155
- React__default.createElement("path", { d: "M13.298 11.226v-.829a1.205 1.205 0 0 0-1.202-1.204h-.208a.26.26 0 0 1-.261-.259v-.208a1.205 1.205 0 0 0-1.201-1.204h-.832A1.205 1.205 0 0 0 8.39 8.726v.205a.26.26 0 0 1-.259.261h-.207a1.2 1.2 0 0 0-1.202 1.202v.834a1.204 1.204 0 0 0 1.202 1.201h.207a.26.26 0 0 1 .259.262v.205A1.205 1.205 0 0 0 9.594 14.1h.832a1.204 1.204 0 0 0 1.201-1.204v-.208a.26.26 0 0 1 .261-.258h.208a1.205 1.205 0 0 0 1.202-1.204", fill: "#fff" })));
156
-
157
- const NavSaveIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
158
- React__default.createElement("path", { d: "M4.767 17.236a1.36 1.36 0 0 0 1.256.188l4.097-1.397a.37.37 0 0 1 .28 0l4.097 1.397q.22.071.45.075c.29.002.573-.09.807-.263a1.43 1.43 0 0 0 .6-1.171V3.935A1.417 1.417 0 0 0 14.946 2.5H5.573a1.416 1.416 0 0 0-1.406 1.434v12.13a1.43 1.43 0 0 0 .6 1.172", fill: "#00CB8A" })));
159
-
160
- const NavSettingsIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
161
- React__default.createElement("path", { d: "M17.339 8.075a2.177 2.177 0 0 1-1.717-2.944 1.02 1.02 0 0 0-.305-1.15 8.2 8.2 0 0 0-2.445-1.417 1.03 1.03 0 0 0-1.16.323 2.173 2.173 0 0 1-3.423 0 1.03 1.03 0 0 0-1.161-.323A8.2 8.2 0 0 0 4.85 3.842a1.03 1.03 0 0 0-.322 1.183 2.167 2.167 0 0 1-1.806 2.978 1.03 1.03 0 0 0-.9.828 8 8 0 0 0-.05 2.861 1.03 1.03 0 0 0 .906.861 2.166 2.166 0 0 1 1.767 3.061 1.01 1.01 0 0 0 .283 1.211A8.2 8.2 0 0 0 7.15 18.22q.17.059.35.061a1.02 1.02 0 0 0 .833-.433 2.15 2.15 0 0 1 1.778-.934 2.18 2.18 0 0 1 1.745.878 1.02 1.02 0 0 0 1.2.339 8.3 8.3 0 0 0 2.222-1.328 1.03 1.03 0 0 0 .3-1.172 2.167 2.167 0 0 1 1.739-2.995 1.03 1.03 0 0 0 .872-.844 8 8 0 0 0 .144-1.405q0-.749-.138-1.484a1.02 1.02 0 0 0-.856-.828m-4.561 2.312a2.778 2.778 0 1 1-5.556 0 2.778 2.778 0 0 1 5.556 0", fill: "#2D87F3" })));
162
-
163
- const NavUserIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
164
- React__default.createElement("path", { d: "M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334", fill: "#BCDEFF" }),
165
- React__default.createElement("path", { d: "M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005", fill: "#2D87F3" }),
166
- React__default.createElement("path", { d: "M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096", fill: "#2D87F3" })));
167
-
168
- const VaccinationIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
169
- React__default.createElement("path", { d: "M1.11848 19.1667C1.19427 19.1666 1.26693 19.1365 1.32049 19.0829L4.30733 16.0962C4.36096 16.0426 4.3911 15.9699 4.39111 15.8941C4.39113 15.8183 4.36103 15.7455 4.30743 15.6919C4.25383 15.6383 4.18112 15.6081 4.1053 15.6081C4.02948 15.6081 3.95675 15.6382 3.90313 15.6918L0.916285 18.6787C0.876281 18.7186 0.849035 18.7696 0.837994 18.825C0.826954 18.8805 0.832614 18.938 0.854261 18.9903C0.875908 19.0425 0.912567 19.0872 0.9596 19.1186C1.00663 19.15 1.06193 19.1667 1.11848 19.1667Z", fill: "#626D7C" }),
170
- React__default.createElement("path", { d: "M7.71853 15.4925H7.72043L15.3384 7.87534L12.1272 4.66228L4.45021 12.3366C5.39488 13.2971 7.71853 15.4925 7.71853 15.4925Z", fill: "#2D87F3" }),
171
- React__default.createElement("path", { d: "M3.18097 14.9702L5.02953 16.8187C5.19838 16.9989 5.43172 17.1049 5.67851 17.1135C5.9253 17.122 6.16544 17.0325 6.34638 16.8645L7.71851 15.4923L4.50736 12.2793L3.13524 13.6514C2.96661 13.8324 2.87671 14.073 2.88529 14.3203C2.89386 14.5675 3.00021 14.8013 3.18097 14.9702Z", fill: "#BCDEFF" }),
172
- React__default.createElement("path", { d: "M17.7683 3.58334L16.4183 2.2333L13.5601 5.09143L14.9102 6.44147L17.7683 3.58334Z", fill: "#2B62CD" }),
173
- React__default.createElement("path", { d: "M7.71889 15.7783C7.77545 15.7783 7.83074 15.7616 7.87778 15.7301C7.92481 15.6987 7.96147 15.6541 7.98312 15.6018C8.00476 15.5496 8.01042 15.4921 7.99938 15.4366C7.98834 15.3811 7.9611 15.3302 7.92109 15.2902L4.70861 12.0779C4.65452 12.0268 4.58261 11.9988 4.50818 11.9998C4.43375 12.0009 4.36267 12.0309 4.31005 12.0836C4.25742 12.1362 4.22741 12.2073 4.22639 12.2817C4.22538 12.3562 4.25343 12.4281 4.3046 12.4821L7.51689 15.6944C7.54337 15.721 7.57485 15.7421 7.60952 15.7565C7.64419 15.7709 7.68136 15.7783 7.71889 15.7783Z", fill: "#BCDEFF" }),
174
- React__default.createElement("path", { d: "M9.48781 11.3095C9.54746 11.3096 9.60653 11.2978 9.66161 11.2749C9.71669 11.252 9.76669 11.2184 9.80874 11.1761L9.83847 11.1462L9.86819 11.1758C9.95336 11.2609 10.0689 11.3088 10.1893 11.3088C10.3098 11.3088 10.4253 11.2609 10.5104 11.1758L10.8535 10.8327C10.8957 10.7905 10.9291 10.7404 10.952 10.6853C10.9748 10.6302 10.9866 10.5711 10.9866 10.5114C10.9866 10.4517 10.9748 10.3926 10.952 10.3375C10.9291 10.2824 10.8957 10.2323 10.8535 10.1901L10.8232 10.1625L10.8531 10.1326C10.9382 10.0474 10.9861 9.93182 10.9861 9.81135C10.9861 9.69087 10.9382 9.57533 10.8531 9.49014L10.51 9.14711C10.4679 9.10487 10.4179 9.07136 10.3628 9.0485C10.3077 9.02563 10.2486 9.01386 10.1889 9.01386C10.1293 9.01386 10.0702 9.02563 10.0151 9.0485C9.96 9.07136 9.90995 9.10487 9.86781 9.14711L9.83808 9.17664L9.80836 9.14692C9.72313 9.06179 9.6076 9.01397 9.48715 9.01397C9.36669 9.01397 9.25116 9.06179 9.16594 9.14692L8.8229 9.48995C8.73774 9.57511 8.6899 9.69062 8.6899 9.81106C8.6899 9.9315 8.73774 10.047 8.8229 10.1322L8.85282 10.1621L8.82329 10.1918C8.73826 10.2771 8.69052 10.3925 8.69052 10.5129C8.69052 10.6333 8.73826 10.7488 8.82329 10.8341L9.16632 11.1771C9.2085 11.2193 9.25863 11.2528 9.31381 11.2755C9.36899 11.2982 9.42813 11.3098 9.48781 11.3095Z", fill: "white" }),
175
- React__default.createElement("path", { d: "M12.6184 3.4438L16.5573 7.38277C16.8001 7.6255 16.8001 8.01905 16.5573 8.26178C16.3146 8.50451 15.921 8.50451 15.6783 8.26178L11.7393 4.32281C11.4966 4.08008 11.4966 3.68653 11.7393 3.4438C11.9821 3.20107 12.3756 3.20107 12.6184 3.4438Z", fill: "#BCDEFF" }),
176
- React__default.createElement("path", { d: "M16.4563 1.22324L18.7767 3.54364C18.9921 3.75907 18.9921 4.10834 18.7767 4.32376C18.5613 4.53918 18.212 4.53918 17.9966 4.32376L15.6762 2.00336C15.4608 1.78793 15.4608 1.43866 15.6762 1.22324C15.8916 1.00782 16.2409 1.00782 16.4563 1.22324Z", fill: "#BCDEFF" })));
177
-
178
- const StyledNavMenu = styled.div `
179
- padding: 16px;
180
- border-radius: 16px;
181
- background-color: white;
182
- hr {
183
- border-color: ${theme.colors.neutral100};
184
- border-bottom-width: 0px;
185
- border-style: solid;
186
- }
187
- .profile-nav-item-group {
188
- background-color: white;
189
- border-radius: 8px;
190
- }
191
- `;
192
- const StyledNavMenuItem = styled.div `
193
- display: block;
194
- border: 1px solid transparent;
195
- transition: all 300ms linear;
196
- cursor: pointer;
197
- position: relative;
198
-
199
- ${(props) => props.hasSubmenu &&
200
- css `
201
- cursor: pointer;
202
- `}
203
-
204
- &[data-is-open='true'] {
205
- & + div {
206
- margin-top: 8px;
207
- }
208
- }
209
-
210
- border-left-width: 0;
211
- border-right-width: 0;
212
- &[data-is-open='true'] {
213
- & + div {
214
- margin-top: 0;
215
- }
216
- .nav-menu-item:last-child {
217
- border-bottom-color: ${theme.colors.neutral100};
218
- }
219
- }
220
- .nav-menu-item {
221
- background-color: ${theme.colors.neutral50};
222
- }
223
-
224
- .nav-menu-item {
225
- padding-left: 38px;
226
- }
227
- `;
228
- const StyledNavMenuItemContent = styled.div `
229
- display: flex;
230
- align-items: center;
231
- height: 48px;
232
- border: 1px solid transparent;
233
- transition: all 300ms;
234
- border-radius: 8px;
235
-
236
- &:hover {
237
- background-color: ${theme.colors.neutral150};
238
- }
239
- &[data-active='true'] {
240
- background-color: ${theme.colors.blue50};
241
- }
242
- `;
243
- const StyledNavMenuItemDropdown = styled.div `
244
- margin-left: auto;
245
-
246
- svg {
247
- fill: ${theme.colors.gray600};
248
- transition: transform 300ms;
249
- }
250
-
251
- &[data-is-open='true'] svg {
252
- transform: rotate(180deg);
253
- }
254
- `;
255
- const StyledNavFooterSubMenu = styled.div `
256
- overflow: hidden;
257
- max-height: 0;
258
- transition: max-height 0.3s ease-out;
259
-
260
- [data-is-open='true'] & {
261
- max-height: 500px;
262
- transition-timing-function: ease-in;
263
- }
264
- `;
265
-
266
- const rankIconUrlMap = {
267
- helloSites: {
268
- member: () => CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-member.svg'),
269
- ambassador: () => CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-ambassador.svg'),
270
- doctor: () => CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-doctor.svg'),
271
- expert: () => CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-expert.svg'),
272
- influencer: () => CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-influencer.svg'),
273
- },
274
- marryBaby: {
275
- member: () => CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-member.svg'),
276
- ambassador: () => CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-ambassador.svg'),
277
- doctor: () => CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-doctor.svg'),
278
- expert: () => CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-expert.svg'),
279
- influencer: () => CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-influencer.svg'),
280
- },
281
- };
282
- const Rank = ({ rank, siteType = 'helloSites', }) => {
283
- const iconUrl = useMemo(() => {
284
- var _a, _b;
285
- return ((_b = (_a = rankIconUrlMap[siteType]) === null || _a === void 0 ? void 0 : _a[rank]) === null || _b === void 0 ? void 0 : _b.call(_a)) || '';
286
- }, [rank, siteType]);
287
- const { t } = useTranslations();
288
- return (React__default.createElement("div", { style: {
289
- display: 'inline-flex',
290
- height: 'fit-content',
291
- alignItems: 'center',
292
- padding: '5px 12px',
293
- gap: '4px',
294
- borderRadius: 16,
295
- border: `1px solid ${siteType === 'helloSites' ? theme.colors.blue100 : theme.colors.mb100}`,
296
- } },
297
- React__default.createElement("img", { src: iconUrl, alt: rank, style: {
298
- height: 16,
299
- width: 16,
300
- } }),
301
- React__default.createElement(Text, { size: "s5", color: "gray.8", weight: "semiBold" }, t(`userProfile.userRank.${rank}`))));
302
- };
303
-
304
- const UserInfoSection = ({ siteType = 'helloSites', userInfo, }) => {
305
- return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? (React__default.createElement(React__default.Fragment, null,
306
- React__default.createElement("div", { style: {
307
- display: 'flex',
308
- width: '100%',
309
- justifyContent: 'space-between',
310
- } },
311
- React__default.createElement(Avatar, { src: userInfo.avatar, alt: userInfo.name, size: 48, style: { marginBottom: 8 } }),
312
- React__default.createElement(Rank, { rank: "member", siteType: siteType })),
313
- React__default.createElement(Text, { size: "s3", weight: "semiBold", color: "gray.8", style: { marginBottom: 4 } }, userInfo.name),
314
- React__default.createElement(Text, { size: "n1", weight: "regular", color: siteType === 'helloSites' ? 'hb.6' : 'mb.6' },
315
- "@",
316
- userInfo.username),
317
- React__default.createElement("hr", null))) : null;
318
- };
319
-
320
- const ProfileNavigation = ({ className, activeItem: forceActiveItem, navMenuItems: navMenuItemsProp, style, onLogout, siteType = 'helloSites', userInfo, onNavigate, }) => {
321
- const { locale } = useTranslations();
322
- const [localActiveItem, setLocalActiveItem] = useState();
323
- const { configs: { enableProfileFindMyBooking, statics }, } = useContext(NavigationContext);
324
- const { CARE_URL_FE } = statics;
325
- const activeItem = typeof forceActiveItem === 'string' ? forceActiveItem : localActiveItem;
326
- const SSO_URL = normalizeLinkSlash(getCurrentSsoUrl(locale, siteType === 'marryBaby') + '/');
327
- const BASE_URL = normalizeLinkSlash(getCurrentBaseUrl(locale, siteType === 'marryBaby') + '/');
328
- const navMenuItems = navMenuItemsProp || [
329
- [
330
- {
331
- key: 'userProfile.nav.header.viewProfile',
332
- icon: React__default.createElement(NavUserIcon, { width: "24", height: "24" }),
333
- value: 'profile',
334
- tracking: {
335
- action: 'Profile Click',
336
- },
337
- link: `${SSO_URL}user/profile/`,
338
- },
339
- {
340
- key: 'userProfile.nav.card.myHealth',
341
- icon: React__default.createElement(NavMyHealthIcon, { width: "24", height: "24" }),
342
- value: 'myHealth',
343
- tracking: {
344
- action: 'My Health Click',
345
- },
346
- link: `${SSO_URL}user/health/`,
347
- },
348
- {
349
- key: 'userProfile.nav.card.mySaved',
350
- icon: React__default.createElement(NavSaveIcon, { width: "24", height: "24" }),
351
- iconColor: 'green_300',
352
- value: 'saved',
353
- tracking: {
354
- action: 'Bookmarks Click',
355
- },
356
- link: `${SSO_URL}user/saved/`,
357
- },
358
- !!enableProfileFindMyBooking && {
359
- key: 'navigation.find_my_booking',
360
- icon: React__default.createElement(VaccinationIcon, { width: "24", height: "24" }),
361
- value: 'find_my_booking',
362
- tracking: {
363
- action: 'Find My Booking',
364
- },
365
- link: `${CARE_URL_FE}/find-my-booking`,
366
- },
367
- {
368
- key: 'userProfile.nav.card.myBooking',
369
- icon: React__default.createElement(NavBookingIcon, { width: "24", height: "24" }),
370
- value: 'booking',
371
- disabled: !CARE_LOCALES.includes(locale),
372
- tracking: {
373
- action: 'Manage Booking Click',
374
- },
375
- link: `${SSO_URL}user/booking/`,
376
- },
377
- {
378
- key: 'userProfile.nav.card.myCommunity',
379
- icon: React__default.createElement(NavCommunityIcon, { width: "24", height: "24" }),
380
- value: 'myCommunities',
381
- disabled: !LOCALE_HAS_COMMUNITY_SITE.includes(locale),
382
- tracking: {
383
- action: 'Community Click',
384
- },
385
- link: `${SSO_URL}user/my-communities/`,
386
- },
387
- ],
388
- ...(ECOM_LOCALES.includes(locale)
389
- ? [
390
- [
391
- {
392
- key: 'userProfile.nav.card.eCom',
393
- icon: React__default.createElement(NavEshopIcon, { width: "24", height: "24" }),
394
- value: 'eCom',
395
- disabled: !ECOM_LOCALES.includes(locale),
396
- subMenu: [
397
- {
398
- key: 'userProfile.nav.card.ecom.manageOrders',
399
- value: 'eCom-manageOrders',
400
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
401
- link: `${BASE_URL}shop/ho-so/quan-li-don-hang/`,
402
- tracking: {
403
- action: 'Order Management Click',
404
- },
405
- },
406
- {
407
- key: 'userProfile.nav.card.ecom.DeliveryAddress',
408
- value: 'eCom-manageAddress',
409
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
410
- link: `${BASE_URL}shop/ho-so/dia-chi-giao-hang/`,
411
- tracking: {
412
- action: 'Address Management Click',
413
- },
414
- },
415
- {
416
- key: 'userProfile.nav.card.ecom.voucher',
417
- value: 'eCom-voucher',
418
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
419
- link: `${BASE_URL}shop/ho-so/khuyen-mai/`,
420
- tracking: {
421
- action: 'Voucher Click',
422
- },
423
- },
424
- // {
425
- // key: 'nav.card.memberCard',
426
- // value: 'eCom-memberCard',
427
- // icon: <NavDotIcon width="24"
428
- // height="24"/>,
429
- // link: routingHandler
430
- // .getLocalisedUrl('', 'PROFILE_MEMBER_CARD')
431
- // .toString(),
432
- // tracking: {
433
- // action: 'Member Card Click',
434
- // },
435
- // },
436
- ],
437
- },
438
- ],
439
- ]
440
- : []),
441
- [
442
- {
443
- key: 'userProfile.nav.menu.accountSettings',
444
- icon: React__default.createElement(NavSettingsIcon, { width: "24", height: "24" }),
445
- subMenu: [
446
- // {
447
- // key: 'common.profileNavigator.newsletterSubscription',
448
- // value: 'subscription',
449
- // icon: <NavDotIcon width="24" height="24" />,
450
- // tracking: { action: 'Subscription Click' },
451
- // link: `${SSO_URL}user/subscriptions/`,
452
- // disabled: locale !== 'vi-VN',
453
- // },
454
- {
455
- key: 'userProfile.nav.menu.password',
456
- value: 'password',
457
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
458
- tracking: { action: 'Set Password Click' },
459
- link: `${SSO_URL}user/password/`,
460
- },
461
- {
462
- key: 'userProfile.nav.menu.disableAccount',
463
- value: 'disable-account',
464
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
465
- tracking: { action: 'Disable Account Click' },
466
- link: `${SSO_URL}user/disable-account/`,
467
- },
468
- ...(DATA_PRIVACY_LOCALES.includes(locale)
469
- ? [
470
- {
471
- key: 'userProfile.nav.menu.dataPrivacy',
472
- value: 'data-privacy',
473
- icon: React__default.createElement(NavDotIcon, { width: "24", height: "24" }),
474
- tracking: { action: 'Data Privacy Click' },
475
- link: `${SSO_URL}user/data-privacy/`,
476
- },
477
- ]
478
- : []),
479
- ],
480
- },
481
- ],
482
- [
483
- {
484
- key: 'userProfile.nav.menu.help',
485
- icon: React__default.createElement(NavHelpIcon, { width: "24", height: "24" }),
486
- value: 'help',
487
- link: `${SSO_URL}user/help`,
488
- tracking: {
489
- action: 'Support Click',
490
- },
491
- },
492
- {
493
- key: 'userProfile.nav.menu.logout',
494
- icon: React__default.createElement(NavLogOutIcon, { width: "24", height: "24" }),
495
- value: 'logout',
496
- tracking: {
497
- action: 'Sign Out Click',
498
- },
499
- },
500
- ],
501
- ];
502
- return (React__default.createElement(StyledNavMenu, { className: className, style: style },
503
- React__default.createElement(UserInfoSection, { userInfo: userInfo, siteType: siteType }),
504
- navMenuItems.map((items, index) => (React__default.createElement(Fragment, { key: index },
505
- React__default.createElement("div", { className: "profile-nav-item-group", key: index }, items.map((item) => {
506
- if (!item) {
507
- return null;
508
- }
509
- return (React__default.createElement(NavMenuItem, { key: item.key, item: item, activeKey: activeItem || '', onLogout: onLogout, onClick: () => setLocalActiveItem((k) => k === item.key ? undefined : item.key), siteType: siteType, onNavigate: onNavigate }));
510
- })),
511
- index !== navMenuItems.length - 1 && React__default.createElement("hr", null))))));
512
- };
513
- const NavMenuItem = ({ item, activeKey, forceOpen, onLogout, onClick, siteType = 'helloSites', onNavigate, }) => {
514
- var _a, _b;
515
- const [localOpen, setLocalOpen] = useState(false);
516
- const currentUrl = useMemo(() => {
517
- if (typeof window !== 'undefined') {
518
- return window.location.href;
519
- }
520
- else
521
- return '';
522
- }, []);
523
- if (item.disabled) {
524
- return null;
525
- }
526
- const { t } = useTranslations();
527
- const hasChildActive = (_a = item.subMenu) === null || _a === void 0 ? void 0 : _a.some((subItem) => subItem.key === activeKey);
528
- const isActive = activeKey === item.key;
529
- useEffect(() => {
530
- if (hasChildActive || isActive) {
531
- setLocalOpen(true);
532
- }
533
- }, [hasChildActive, isActive]);
534
- const isOpen = typeof forceOpen === 'boolean' ? forceOpen : localOpen;
535
- return (React__default.createElement(StyledNavMenuItem, { as: !item.subMenu ? 'a' : undefined, "data-is-open": isOpen, key: item.key, hasSubmenu: !!item.subMenu, onClick: () => {
536
- onClick === null || onClick === void 0 ? void 0 : onClick();
537
- if (item.subMenu && !forceOpen) {
538
- setLocalOpen((k) => !k);
539
- }
540
- else {
541
- if (item.value === 'logout') {
542
- onLogout === null || onLogout === void 0 ? void 0 : onLogout();
543
- }
544
- else if (item.link) {
545
- if (onNavigate) {
546
- onNavigate(item.link);
547
- }
548
- else {
549
- window.location.href = item.link;
550
- }
551
- }
552
- }
553
- }, "data-event-category": "Ecommerce", "data-event-action": ((_b = item === null || item === void 0 ? void 0 : item.tracking) === null || _b === void 0 ? void 0 : _b.action) || '', "data-event-label": currentUrl },
554
- React__default.createElement(StyledNavMenuItemContent, { "data-active": isActive },
555
- item.icon,
556
- React__default.createElement(Text, { size: "p3", style: {
557
- marginLeft: item.icon ? 24 : 48,
558
- transition: `color 300ms`,
559
- }, color: isActive ? (siteType === 'helloSites' ? 'hb.6' : 'mb.6') : 'gray.8' }, t(item.key)),
560
- item.subMenu && (React__default.createElement(StyledNavMenuItemDropdown, { "data-is-open": isOpen },
561
- React__default.createElement(ChevronDown, { width: 14 })))),
562
- item.subMenu && (React__default.createElement(StyledNavFooterSubMenu, null, item.subMenu.map((subItem) => (React__default.createElement(NavMenuItem, { key: subItem.key, item: subItem, activeKey: activeKey, onLogout: onLogout, siteType: siteType })))))));
563
- };
564
-
565
- export { NavigationContext as N, ProfileNavigation as P, NavigationProvider as a };