@hhgtech/hhg-components 1.29.145 → 1.29.147

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 (473) hide show
  1. package/build/{LastPeriod-1479a6ba.js → LastPeriod-79fcee6d.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-658427cb.js → MobileBottomNavigationIcon-0c302829.js} +3 -3
  3. package/build/{Spinner-961c36ba.js → Spinner-3ef4b2c2.js} +1 -1
  4. package/build/{WhatsApp-dd771aef.js → WhatsApp-1cd12bf8.js} +1 -1
  5. package/build/adapters.js +19 -19
  6. package/build/atoms.js +46 -46
  7. package/build/babyGrowth.js +83 -83
  8. package/build/cache.js +2 -2
  9. package/build/care.js +17 -17
  10. package/build/careBookingSearchBar.js +14 -14
  11. package/build/careBookingSearchBarV2.js +15 -15
  12. package/build/components.js +89 -90
  13. package/build/{constants-e5983030.js → constants-f779c9f4.js} +1 -1
  14. package/build/constants.js +3 -3
  15. package/build/constantsDomainLocales.js +1 -1
  16. package/build/constantsRiskScreener.js +2 -2
  17. package/build/constantsSite.js +2 -2
  18. package/build/{core-82a4a91e.js → core-b0921c0f.js} +1 -1
  19. package/build/{dataTransform-ae94a458.js → dataTransform-e26d3567.js} +1 -1
  20. package/build/ecom.js +4 -4
  21. package/build/{editor-d8ed899a.js → editor-b7c765bd.js} +11 -11
  22. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  23. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  24. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  25. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -26
  26. package/build/embeddedHeathToolCards_bmrBmr.js +25 -26
  27. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  28. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  29. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -27
  30. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -28
  31. package/build/esm/{LastPeriod-42d41a2c.js → LastPeriod-e0631848.js} +1 -1
  32. package/build/esm/{MobileBottomNavigationIcon-a5fd6e69.js → MobileBottomNavigationIcon-414d7f6d.js} +3 -3
  33. package/build/esm/{Spinner-bd0b4679.js → Spinner-7451b6e5.js} +1 -1
  34. package/build/esm/{WhatsApp-81d432e3.js → WhatsApp-5e557a96.js} +1 -1
  35. package/build/esm/adapters.js +19 -19
  36. package/build/esm/atoms.js +46 -46
  37. package/build/esm/babyGrowth.js +83 -83
  38. package/build/esm/cache.js +2 -2
  39. package/build/esm/care.js +17 -17
  40. package/build/esm/careBookingSearchBar.js +14 -14
  41. package/build/esm/careBookingSearchBarV2.js +15 -15
  42. package/build/esm/components.js +89 -90
  43. package/build/esm/{constants-e92585d6.js → constants-c86e4b5b.js} +1 -1
  44. package/build/esm/constants.js +3 -3
  45. package/build/esm/constantsDomainLocales.js +1 -1
  46. package/build/esm/constantsRiskScreener.js +2 -2
  47. package/build/esm/constantsSite.js +2 -2
  48. package/build/esm/{core-36a03549.js → core-733a7b61.js} +1 -1
  49. package/build/esm/{dataTransform-78c354ce.js → dataTransform-7c53fc27.js} +1 -1
  50. package/build/esm/ecom.js +4 -4
  51. package/build/esm/{editor-fd51633c.js → editor-7221d317.js} +11 -11
  52. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  53. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  54. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  55. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -26
  56. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -26
  57. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  58. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -27
  60. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -28
  61. package/build/esm/{fixedBottomAdBlock-63e59344.js → fixedBottomAdBlock-3de8c886.js} +23 -23
  62. package/build/esm/footer.js +21 -21
  63. package/build/esm/gAssets.js +2 -2
  64. package/build/esm/healthToolsCardWrapper.js +18 -18
  65. package/build/esm/healthToolsForm.js +33 -34
  66. package/build/esm/hooks.js +13 -14
  67. package/build/esm/i18n.js +2 -2
  68. package/build/esm/i18nV2.js +2 -2
  69. package/build/esm/{index-eb17aeec.js → index-01845105.js} +13 -13
  70. package/build/esm/{index-97695042.js → index-040b69c4.js} +2 -2
  71. package/build/esm/{index-f985937b.js → index-09f39a7f.js} +10 -10
  72. package/build/esm/{index-e7205511.js → index-0da33b55.js} +2 -2
  73. package/build/esm/{index-4d64990e.js → index-0f5393e9.js} +3 -3
  74. package/build/esm/{index-05714e41.js → index-103afe5e.js} +13 -13
  75. package/build/esm/{index-bfd9d06c.js → index-13f7390b.js} +30 -30
  76. package/build/esm/{index-dcf77cf4.js → index-18385a9e.js} +1 -1
  77. package/build/esm/{index-1090e16c.js → index-1861cd41.js} +2 -2
  78. package/build/esm/{index-aaef7537.js → index-1a3eacd9.js} +1 -1
  79. package/build/esm/{index-690412fc.js → index-1e43e0f9.js} +2 -2
  80. package/build/esm/{index-6901760e.js → index-215243b0.js} +6 -6
  81. package/build/esm/{index-164379a4.js → index-26ca8c05.js} +3 -3
  82. package/build/esm/{index-b599175f.js → index-290b77c5.js} +6 -6
  83. package/build/esm/{index-f1e5b977.js → index-31c197f1.js} +1 -1
  84. package/build/esm/{index-785100d0.js → index-38a4a6b2.js} +2 -2
  85. package/build/esm/{index-b998b02c.js → index-3eeeaa93.js} +16 -16
  86. package/build/esm/{index-22c7374f.js → index-41660a3a.js} +2 -2
  87. package/build/esm/{index-d92c227d.js → index-422c592d.js} +7 -7
  88. package/build/esm/{index-559b1c30.js → index-4815ace6.js} +16 -16
  89. package/build/esm/{index-5e97e1eb.js → index-4ac74f2d.js} +2 -2
  90. package/build/esm/{index-854d2da4.js → index-4b0e216f.js} +23 -23
  91. package/build/esm/{index-6350a51f.js → index-50db10eb.js} +13 -13
  92. package/build/esm/{index-569efe9f.js → index-5263905a.js} +3 -3
  93. package/build/esm/{index-24fa17d8.js → index-532ec9b8.js} +1 -1
  94. package/build/esm/{index-02dbfea2.js → index-555c5f1e.js} +16 -16
  95. package/build/esm/{index-7b0573aa.js → index-5b71c798.js} +16 -16
  96. package/build/esm/{index-24422154.js → index-5c945fc7.js} +6 -6
  97. package/build/esm/{index-49bacc62.js → index-65afe55a.js} +1 -1
  98. package/build/esm/{index-58c9a3f3.js → index-68483f2e.js} +15 -15
  99. package/build/esm/{index-3d077ba4.js → index-68d3eebd.js} +17 -17
  100. package/build/esm/{index-cf4af37c.js → index-695cb782.js} +18 -18
  101. package/build/esm/{index-1538c0e1.js → index-71c9c7f2.js} +20 -20
  102. package/build/esm/{index-62db0d5e.js → index-73303d7d.js} +5 -5
  103. package/build/esm/{index-596ca24e.js → index-796e9bb2.js} +1 -1
  104. package/build/esm/{index-ab287d06.js → index-7ddcd269.js} +18 -18
  105. package/build/esm/{index-0dfadcce.js → index-82785bfe.js} +3 -3
  106. package/build/esm/{index-31ff606f.js → index-85c2bfdb.js} +7 -7
  107. package/build/esm/{index-b569d499.js → index-88beac8c.js} +3 -3
  108. package/build/esm/{index-8dfdad72.js → index-8d2c985a.js} +4 -4
  109. package/build/esm/{index-7c933b2c.js → index-8d33b43d.js} +3 -3
  110. package/build/esm/{index-35c90c9a.js → index-8d56be31.js} +2 -2
  111. package/build/esm/{index-621e2ac5.js → index-8d821afe.js} +13 -13
  112. package/build/esm/{index-78fd5c83.js → index-90ad56b1.js} +17 -17
  113. package/build/esm/{index-6ccb2f73.js → index-9ad40149.js} +32 -33
  114. package/build/esm/{index-4df84342.js → index-9b1e7d53.js} +2 -2
  115. package/build/esm/{index-f2a9254d.js → index-9c499e19.js} +17 -17
  116. package/build/esm/{index-030c0d04.js → index-9e7c46b0.js} +24 -24
  117. package/build/esm/{index-7482f344.js → index-a1fe15fa.js} +12 -12
  118. package/build/esm/{index-82cf1f48.js → index-ac1446eb.js} +3 -3
  119. package/build/esm/{index-30c779d3.js → index-b2b7deb5.js} +6 -6
  120. package/build/esm/{index-a7f7e69d.js → index-c6d0d4e3.js} +1 -1
  121. package/build/esm/{index-dab04ba3.js → index-d7e10fea.js} +1 -1
  122. package/build/esm/{index-63151236.js → index-dbfdecc6.js} +1 -1
  123. package/build/esm/{index-2f3672be.js → index-e1d80854.js} +2 -2
  124. package/build/esm/{index-a6af0bd6.js → index-e20876f4.js} +2 -2
  125. package/build/esm/{index-30c757f6.js → index-e2d2e91b.js} +21 -21
  126. package/build/esm/{index-1d2f247e.js → index-e70637c7.js} +5 -5
  127. package/build/esm/{index-38dcbcd4.js → index-eaa20d1d.js} +1 -1
  128. package/build/esm/{index-5b259b0d.js → index-f0a718ae.js} +15 -15
  129. package/build/esm/index.js +112 -113
  130. package/build/esm/{index.styles-86e68157.js → index.styles-66045747.js} +1 -1
  131. package/build/esm/{labelSorting-c7f3d15d.js → labelSorting-c24d2623.js} +4 -4
  132. package/build/esm/lead.js +23 -23
  133. package/build/esm/{logoIcon-b5fd4311.js → logoIcon-6a0f5c0d.js} +2 -2
  134. package/build/esm/mantine.js +25 -25
  135. package/build/esm/misc.js +17 -18
  136. package/build/esm/miscGetDynamicHealthTool.js +4 -5
  137. package/build/esm/miscGetSocialList.js +8 -8
  138. package/build/esm/miscScreenSizeContext.js +1 -1
  139. package/build/esm/mobileBottomNavigation.js +5 -5
  140. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  141. package/build/esm/molecules.js +68 -69
  142. package/build/esm/moleculesArticleCard.js +6 -6
  143. package/build/esm/moleculesArticleCardV2.js +16 -16
  144. package/build/esm/navigation.js +40 -41
  145. package/build/esm/navigationLogoutPopup.js +9 -9
  146. package/build/esm/navigationProfileButton.js +23 -24
  147. package/build/esm/{routing-369f3125.js → normalizeLink-688c6b8d.js} +12 -1
  148. package/build/esm/onboardingV2.js +29 -29
  149. package/build/esm/organisms.js +44 -45
  150. package/build/esm/{post-cdea5ae9.js → post-d70c9403.js} +2 -2
  151. package/build/esm/profileNavigation.js +19 -20
  152. package/build/esm/progressBar.js +1 -1
  153. package/build/esm/pwg.js +22 -22
  154. package/build/esm/ssoV2/screens/otp.d.ts +1 -1
  155. package/build/esm/ssoV2/screens/phoneVerify.d.ts +1 -1
  156. package/build/esm/ssoV2/ssoStateManager/store.d.ts +2 -1
  157. package/build/esm/ssoV2.js +51 -197
  158. package/build/esm/store-5616430a.js +349 -0
  159. package/build/esm/subot.js +33 -32
  160. package/build/esm/surveyOrPremiumBanner.js +30 -31
  161. package/build/esm/surveyQuestionCard.js +10 -10
  162. package/build/esm/{surveyThankyouCard-f91b2175.js → surveyThankyouCard-970e0a36.js} +5 -5
  163. package/build/esm/together.js +55 -55
  164. package/build/esm/togetherApiUtils.js +4 -4
  165. package/build/esm/togetherAtoms.js +31 -31
  166. package/build/esm/togetherComponentGlobalContext.js +4 -4
  167. package/build/esm/togetherMolecules.js +47 -46
  168. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  169. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  170. package/build/esm/togetherMoleculesProfileDetail.js +37 -36
  171. package/build/esm/togetherOrganisms.js +48 -48
  172. package/build/esm/togetherRichTextEditor.js +17 -17
  173. package/build/esm/togetherShareBox.js +10 -10
  174. package/build/esm/{treePopoverMenu-e2e66559.js → treePopoverMenu-2edaacb7.js} +19 -19
  175. package/build/esm/{types-f086da5e.js → types-7c0385fa.js} +2 -2
  176. package/build/esm/types.js +2 -2
  177. package/build/esm/{useCategory-4aad3203.js → useCategory-b757fcc1.js} +5 -5
  178. package/build/esm/{useHealthToolCache-3d21eedc.js → useHealthToolCache-632df999.js} +1 -1
  179. package/build/esm/{useMantineLocale-51f4d28c.js → useMantineLocale-4aece5db.js} +5 -5
  180. package/build/esm/{usePlacesAutocomplete-6c45c07e.js → usePlacesAutocomplete-e604c5cd.js} +1 -1
  181. package/build/esm/useTogetherAuthRequiredAction.js +10 -9
  182. package/build/esm/{utils-b1b35dc1.js → utils-497897a7.js} +2 -2
  183. package/build/esm/{utils-31ca08e1.js → utils-c204f794.js} +2 -2
  184. package/build/esm/{utils-48cfb940.js → utils-de9524a4.js} +3 -3
  185. package/build/esm/vaccination.js +21 -21
  186. package/build/{fixedBottomAdBlock-57206752.js → fixedBottomAdBlock-9bbf8b22.js} +23 -23
  187. package/build/footer.js +21 -21
  188. package/build/gAssets.js +2 -2
  189. package/build/healthToolsCardWrapper.js +18 -18
  190. package/build/healthToolsForm.js +33 -34
  191. package/build/hooks.js +13 -14
  192. package/build/i18n.js +1 -1
  193. package/build/i18nV2.js +1 -1
  194. package/build/{index-35c4c677.js → index-048235a4.js} +2 -2
  195. package/build/{index-6758bc5b.js → index-04b79dfa.js} +16 -16
  196. package/build/{index-e5c4f369.js → index-0fa34020.js} +1 -1
  197. package/build/{index-3cf8074f.js → index-14e86c8e.js} +2 -2
  198. package/build/{index-8f9bc15e.js → index-256b7703.js} +1 -1
  199. package/build/{index-312911cc.js → index-2d673ddf.js} +3 -3
  200. package/build/{index-b2598730.js → index-2fff6342.js} +2 -2
  201. package/build/{index-14907471.js → index-327784dd.js} +6 -6
  202. package/build/{index-2fbdaf4e.js → index-3817aecc.js} +13 -13
  203. package/build/{index-2d1e4a94.js → index-3ded2bd9.js} +13 -13
  204. package/build/{index-0a7e51a5.js → index-43bb497a.js} +2 -2
  205. package/build/{index-c4d7a857.js → index-4771cc9b.js} +24 -24
  206. package/build/{index-124687df.js → index-4d169b95.js} +3 -3
  207. package/build/{index-447bd7dd.js → index-516cf54b.js} +7 -7
  208. package/build/{index-87fac00a.js → index-56396ef7.js} +1 -1
  209. package/build/{index-6146eeb0.js → index-59497848.js} +16 -16
  210. package/build/{index-5958ac16.js → index-5dfe1929.js} +17 -17
  211. package/build/{index-2f69b571.js → index-5f50cc1f.js} +3 -3
  212. package/build/{index-5f1b186a.js → index-6125f8f5.js} +6 -6
  213. package/build/{index-a0ac3a37.js → index-6b13018f.js} +2 -2
  214. package/build/{index-b1908c0c.js → index-6b5793cd.js} +6 -6
  215. package/build/{index-8b14419f.js → index-73bb9351.js} +1 -1
  216. package/build/{index-b11fb099.js → index-7b38a133.js} +5 -5
  217. package/build/{index-8af21ef5.js → index-7bc11e67.js} +44 -45
  218. package/build/{index-bb41dee4.js → index-7dca5424.js} +4 -4
  219. package/build/{index-21992b08.js → index-7ddd1a07.js} +1 -1
  220. package/build/{index-6aa9249a.js → index-87093500.js} +30 -30
  221. package/build/{index-e2497b79.js → index-89b299c1.js} +3 -3
  222. package/build/{index-3da39d86.js → index-8f176112.js} +10 -10
  223. package/build/{index-d662963b.js → index-8ff2c70f.js} +3 -3
  224. package/build/{index-31f56019.js → index-97168ce2.js} +18 -18
  225. package/build/{index-e7ae2074.js → index-991243b4.js} +15 -15
  226. package/build/{index-9030b30a.js → index-a0ab80e6.js} +6 -6
  227. package/build/{index-f761ce88.js → index-a1bdb947.js} +17 -17
  228. package/build/{index-2cf72a9b.js → index-a3c62ff8.js} +21 -21
  229. package/build/{index-58852890.js → index-a3eac86b.js} +2 -2
  230. package/build/{index-bad574f6.js → index-a6303d1a.js} +1 -1
  231. package/build/{index-4fa5a77a.js → index-a955451a.js} +13 -13
  232. package/build/{index-10a51d9e.js → index-b009f9ea.js} +25 -25
  233. package/build/{index-f1f2a3d9.js → index-b0e18359.js} +1 -1
  234. package/build/{index-2747703f.js → index-b0e283b1.js} +3 -3
  235. package/build/{index-295a655c.js → index-b2dbf841.js} +5 -5
  236. package/build/{index-743d1e56.js → index-b421e410.js} +13 -13
  237. package/build/{index-c3de3cc6.js → index-b45fb29d.js} +2 -2
  238. package/build/{index-186da6cc.js → index-bbd2e6f1.js} +1 -1
  239. package/build/{index-c3e1d589.js → index-bc38ae3a.js} +2 -2
  240. package/build/{index-7096d6aa.js → index-bcffcc04.js} +17 -17
  241. package/build/{index-504d2711.js → index-c49a4b96.js} +1 -1
  242. package/build/{index-ecc22c13.js → index-c6a2d5c7.js} +16 -16
  243. package/build/{index-984da9d7.js → index-cecbcd58.js} +15 -15
  244. package/build/{index-536d847b.js → index-d54ce9a1.js} +21 -21
  245. package/build/{index-155188cb.js → index-e8a3d8f3.js} +12 -12
  246. package/build/{index-0a882cc7.js → index-e9ba1c59.js} +2 -2
  247. package/build/{index-c9a2bb41.js → index-eaaced3c.js} +2 -2
  248. package/build/{index-e060284a.js → index-eb0d30b5.js} +2 -2
  249. package/build/{index-41f4d84a.js → index-f106f68b.js} +1 -1
  250. package/build/{index-8bf3f0ac.js → index-fa0afa1f.js} +7 -7
  251. package/build/{index-cb5acef3.js → index-fa50372a.js} +16 -16
  252. package/build/{index-46891afd.js → index-fac53e14.js} +2 -2
  253. package/build/{index-d1479d67.js → index-ff17404d.js} +18 -18
  254. package/build/index.js +117 -118
  255. package/build/{index.styles-f879c926.js → index.styles-c7b4291f.js} +1 -1
  256. package/build/{labelSorting-dca040bd.js → labelSorting-4c9794eb.js} +4 -4
  257. package/build/lead.js +23 -23
  258. package/build/{logoIcon-2f32fb8a.js → logoIcon-111d7742.js} +2 -2
  259. package/build/mantine.js +21 -21
  260. package/build/misc.js +22 -23
  261. package/build/miscGetDynamicHealthTool.js +5 -6
  262. package/build/miscGetSocialList.js +8 -8
  263. package/build/miscScreenSizeContext.js +1 -1
  264. package/build/mobileBottomNavigation.js +5 -5
  265. package/build/mobileBottomNavigationIcon.js +5 -5
  266. package/build/molecules.js +68 -69
  267. package/build/moleculesArticleCard.js +6 -6
  268. package/build/moleculesArticleCardV2.js +16 -16
  269. package/build/navigation.js +40 -41
  270. package/build/navigationLogoutPopup.js +9 -9
  271. package/build/navigationProfileButton.js +23 -24
  272. package/build/{routing-6a9a46a3.js → normalizeLink-7cfdaf02.js} +13 -0
  273. package/build/onboardingV2.js +28 -28
  274. package/build/organisms.js +44 -45
  275. package/build/{post-ffd0670c.js → post-96c92719.js} +2 -2
  276. package/build/profileNavigation.js +21 -22
  277. package/build/progressBar.js +1 -1
  278. package/build/pwg.js +22 -22
  279. package/build/ssoV2/screens/otp.d.ts +1 -1
  280. package/build/ssoV2/screens/phoneVerify.d.ts +1 -1
  281. package/build/ssoV2/ssoStateManager/store.d.ts +2 -1
  282. package/build/ssoV2.js +99 -245
  283. package/build/store-25831671.js +363 -0
  284. package/build/subot.js +32 -31
  285. package/build/surveyOrPremiumBanner.js +30 -31
  286. package/build/surveyQuestionCard.js +10 -10
  287. package/build/{surveyThankyouCard-476867e9.js → surveyThankyouCard-905919ad.js} +5 -5
  288. package/build/together.js +55 -55
  289. package/build/togetherApiUtils.js +4 -4
  290. package/build/togetherAtoms.js +31 -31
  291. package/build/togetherComponentGlobalContext.js +4 -4
  292. package/build/togetherMolecules.js +47 -46
  293. package/build/togetherMoleculesCardAuthor.js +27 -27
  294. package/build/togetherMoleculesPostImagePreview.js +11 -11
  295. package/build/togetherMoleculesProfileDetail.js +37 -36
  296. package/build/togetherOrganisms.js +48 -48
  297. package/build/togetherRichTextEditor.js +17 -17
  298. package/build/togetherShareBox.js +10 -10
  299. package/build/{treePopoverMenu-b07c0abf.js → treePopoverMenu-cb446155.js} +19 -19
  300. package/build/{types-ba5275d0.js → types-bd3c8742.js} +2 -2
  301. package/build/types.js +2 -2
  302. package/build/{useCategory-537e0e1a.js → useCategory-197342f7.js} +5 -5
  303. package/build/{useHealthToolCache-f2aa46ee.js → useHealthToolCache-bacf8fa2.js} +1 -1
  304. package/build/{useMantineLocale-988e9b64.js → useMantineLocale-f1f47fee.js} +5 -5
  305. package/build/{usePlacesAutocomplete-6f559e37.js → usePlacesAutocomplete-66c93818.js} +1 -1
  306. package/build/useTogetherAuthRequiredAction.js +10 -9
  307. package/build/{utils-de748aa1.js → utils-4a24ce4c.js} +3 -3
  308. package/build/{utils-262f004f.js → utils-9a3533f4.js} +2 -2
  309. package/build/{utils-0eaf0d48.js → utils-fe185323.js} +2 -2
  310. package/build/vaccination.js +21 -21
  311. package/package.json +1 -1
  312. package/build/esm/normalizeLink-9478867c.js +0 -12
  313. package/build/esm/store-3cb1fe18.js +0 -136
  314. package/build/normalizeLink-883eef95.js +0 -15
  315. package/build/store-b4f9b870.js +0 -139
  316. /package/build/{BMI_BOYS.percentile.monthly-07f2f86c.js → BMI_BOYS.percentile.monthly-3ba4b0a9.js} +0 -0
  317. /package/build/{BMI_BOYS.percentile.weekly-ed17fff7.js → BMI_BOYS.percentile.weekly-75cf2b36.js} +0 -0
  318. /package/build/{BMI_BOYS.percentile.yearly-21a6b330.js → BMI_BOYS.percentile.yearly-56ac09e0.js} +0 -0
  319. /package/build/{BMI_BOYS.zscore.monthly-d40b3549.js → BMI_BOYS.zscore.monthly-45a57c36.js} +0 -0
  320. /package/build/{BMI_BOYS.zscore.weekly-8c362ec9.js → BMI_BOYS.zscore.weekly-f837e61d.js} +0 -0
  321. /package/build/{BMI_BOYS.zscore.yearly-af78781d.js → BMI_BOYS.zscore.yearly-a3bc121a.js} +0 -0
  322. /package/build/{BMI_GIRLS.percentile.monthly-f077109e.js → BMI_GIRLS.percentile.monthly-8ec554f5.js} +0 -0
  323. /package/build/{BMI_GIRLS.percentile.weekly-33beed28.js → BMI_GIRLS.percentile.weekly-2c08ee25.js} +0 -0
  324. /package/build/{BMI_GIRLS.percentile.yearly-bd03012a.js → BMI_GIRLS.percentile.yearly-cec410f4.js} +0 -0
  325. /package/build/{BMI_GIRLS.zscore.monthly-98aa543b.js → BMI_GIRLS.zscore.monthly-6174a2c2.js} +0 -0
  326. /package/build/{BMI_GIRLS.zscore.weekly-f0975eca.js → BMI_GIRLS.zscore.weekly-1df947e3.js} +0 -0
  327. /package/build/{BMI_GIRLS.zscore.yearly-26c20792.js → BMI_GIRLS.zscore.yearly-dea3c676.js} +0 -0
  328. /package/build/{ChevronDown-68da92f3.js → ChevronDown-f2527430.js} +0 -0
  329. /package/build/{Close-620f9986.js → Close-ef4b1716.js} +0 -0
  330. /package/build/{Google-6793e472.js → Google-f20ad22b.js} +0 -0
  331. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6c51816a.js → HEAD CIRCUM_BOYS.percentile.monthly-1d7cca19.js} +0 -0
  332. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-22d53706.js → HEAD CIRCUM_BOYS.percentile.weekly-1542d286.js} +0 -0
  333. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-11c1e31b.js → HEAD CIRCUM_BOYS.percentile.yearly-4ab15188.js} +0 -0
  334. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-35d34957.js → HEAD CIRCUM_BOYS.zscore.monthly-dc0bc286.js} +0 -0
  335. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9022ceb5.js → HEAD CIRCUM_BOYS.zscore.weekly-5e68eea2.js} +0 -0
  336. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-f78f27dc.js → HEAD CIRCUM_BOYS.zscore.yearly-669a03fd.js} +0 -0
  337. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-c95982db.js → HEAD CIRCUM_GIRLS.percentile.monthly-e45b8879.js} +0 -0
  338. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-325f9082.js → HEAD CIRCUM_GIRLS.percentile.weekly-43070b5b.js} +0 -0
  339. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-cd6faa81.js → HEAD CIRCUM_GIRLS.percentile.yearly-c91e86b4.js} +0 -0
  340. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-38477fbf.js → HEAD CIRCUM_GIRLS.zscore.monthly-97c7c129.js} +0 -0
  341. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-75ce8f9a.js → HEAD CIRCUM_GIRLS.zscore.weekly-0431a3b2.js} +0 -0
  342. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-90bdcab0.js → HEAD CIRCUM_GIRLS.zscore.yearly-e8a01e4a.js} +0 -0
  343. /package/build/{HEIGHT_BOYS.percentile.monthly-cd95ac80.js → HEIGHT_BOYS.percentile.monthly-72eabfab.js} +0 -0
  344. /package/build/{HEIGHT_BOYS.percentile.weekly-fa31e069.js → HEIGHT_BOYS.percentile.weekly-9ce690b6.js} +0 -0
  345. /package/build/{HEIGHT_BOYS.percentile.yearly-e0fb0c46.js → HEIGHT_BOYS.percentile.yearly-4d1e8c2b.js} +0 -0
  346. /package/build/{HEIGHT_BOYS.zscore.monthly-8d266e18.js → HEIGHT_BOYS.zscore.monthly-734247d8.js} +0 -0
  347. /package/build/{HEIGHT_BOYS.zscore.weekly-d57d048c.js → HEIGHT_BOYS.zscore.weekly-7d6b5aec.js} +0 -0
  348. /package/build/{HEIGHT_BOYS.zscore.yearly-a74650bb.js → HEIGHT_BOYS.zscore.yearly-f928f974.js} +0 -0
  349. /package/build/{HEIGHT_GIRLS.percentile.monthly-9d7d072a.js → HEIGHT_GIRLS.percentile.monthly-1435757e.js} +0 -0
  350. /package/build/{HEIGHT_GIRLS.percentile.weekly-619613fa.js → HEIGHT_GIRLS.percentile.weekly-5ffc16a4.js} +0 -0
  351. /package/build/{HEIGHT_GIRLS.percentile.yearly-61b47196.js → HEIGHT_GIRLS.percentile.yearly-3e0aee62.js} +0 -0
  352. /package/build/{HEIGHT_GIRLS.zscore.monthly-e013c4f5.js → HEIGHT_GIRLS.zscore.monthly-41695ea8.js} +0 -0
  353. /package/build/{HEIGHT_GIRLS.zscore.weekly-64e331a5.js → HEIGHT_GIRLS.zscore.weekly-42edf819.js} +0 -0
  354. /package/build/{HEIGHT_GIRLS.zscore.yearly-e6e2c9e4.js → HEIGHT_GIRLS.zscore.yearly-58bef90e.js} +0 -0
  355. /package/build/{Locale-6df7d8b7.js → Locale-526b6447.js} +0 -0
  356. /package/build/{Visible-bb2e17e5.js → Visible-95ebe5e8.js} +0 -0
  357. /package/build/{WEIGHT_BOYS.percentile.monthly-397cfdcc.js → WEIGHT_BOYS.percentile.monthly-387ba830.js} +0 -0
  358. /package/build/{WEIGHT_BOYS.percentile.weekly-a7af459f.js → WEIGHT_BOYS.percentile.weekly-ec1785e6.js} +0 -0
  359. /package/build/{WEIGHT_BOYS.percentile.yearly-8f910f82.js → WEIGHT_BOYS.percentile.yearly-c3a56fa9.js} +0 -0
  360. /package/build/{WEIGHT_BOYS.zscore.monthly-4394955c.js → WEIGHT_BOYS.zscore.monthly-d69db01d.js} +0 -0
  361. /package/build/{WEIGHT_BOYS.zscore.weekly-958a73b9.js → WEIGHT_BOYS.zscore.weekly-c335131a.js} +0 -0
  362. /package/build/{WEIGHT_BOYS.zscore.yearly-d8e54a87.js → WEIGHT_BOYS.zscore.yearly-0cb97ba0.js} +0 -0
  363. /package/build/{WEIGHT_GIRLS.percentile.monthly-24e4e6c4.js → WEIGHT_GIRLS.percentile.monthly-0755ae14.js} +0 -0
  364. /package/build/{WEIGHT_GIRLS.percentile.weekly-269f919b.js → WEIGHT_GIRLS.percentile.weekly-86935282.js} +0 -0
  365. /package/build/{WEIGHT_GIRLS.percentile.yearly-ffed8266.js → WEIGHT_GIRLS.percentile.yearly-2b537ecf.js} +0 -0
  366. /package/build/{WEIGHT_GIRLS.zscore.monthly-363256d1.js → WEIGHT_GIRLS.zscore.monthly-f1441ca1.js} +0 -0
  367. /package/build/{WEIGHT_GIRLS.zscore.weekly-b0e0ad3e.js → WEIGHT_GIRLS.zscore.weekly-acf3aae7.js} +0 -0
  368. /package/build/{WEIGHT_GIRLS.zscore.yearly-7691869a.js → WEIGHT_GIRLS.zscore.yearly-9869f3d0.js} +0 -0
  369. /package/build/{animation-4aa933cc.js → animation-61d30791.js} +0 -0
  370. /package/build/{constants-9122fe63.js → constants-75920640.js} +0 -0
  371. /package/build/{constants-290eb0b7.js → constants-ba3c316c.js} +0 -0
  372. /package/build/{constants-1249d805.js → constants-d6245c8e.js} +0 -0
  373. /package/build/{dataTransform-1849cd05.js → dataTransform-9475ed45.js} +0 -0
  374. /package/build/{doctor-4d28e686.js → doctor-c94bce31.js} +0 -0
  375. /package/build/esm/{BMI_BOYS.percentile.monthly-bc3ecb0f.js → BMI_BOYS.percentile.monthly-7fe70cc4.js} +0 -0
  376. /package/build/esm/{BMI_BOYS.percentile.weekly-172b668c.js → BMI_BOYS.percentile.weekly-819583af.js} +0 -0
  377. /package/build/esm/{BMI_BOYS.percentile.yearly-c3c56948.js → BMI_BOYS.percentile.yearly-f64e82b7.js} +0 -0
  378. /package/build/esm/{BMI_BOYS.zscore.monthly-64dc58f8.js → BMI_BOYS.zscore.monthly-63b90c16.js} +0 -0
  379. /package/build/esm/{BMI_BOYS.zscore.weekly-b2ab1f48.js → BMI_BOYS.zscore.weekly-263388ad.js} +0 -0
  380. /package/build/esm/{BMI_BOYS.zscore.yearly-17bd0166.js → BMI_BOYS.zscore.yearly-0d53f13d.js} +0 -0
  381. /package/build/esm/{BMI_GIRLS.percentile.monthly-fc7fdaea.js → BMI_GIRLS.percentile.monthly-00e77a37.js} +0 -0
  382. /package/build/esm/{BMI_GIRLS.percentile.weekly-e53666de.js → BMI_GIRLS.percentile.weekly-6ce488b4.js} +0 -0
  383. /package/build/esm/{BMI_GIRLS.percentile.yearly-65c3b99c.js → BMI_GIRLS.percentile.yearly-cecd69e7.js} +0 -0
  384. /package/build/esm/{BMI_GIRLS.zscore.monthly-fd0ccd95.js → BMI_GIRLS.zscore.monthly-57f09829.js} +0 -0
  385. /package/build/esm/{BMI_GIRLS.zscore.weekly-2254ccd0.js → BMI_GIRLS.zscore.weekly-487c02e5.js} +0 -0
  386. /package/build/esm/{BMI_GIRLS.zscore.yearly-61863534.js → BMI_GIRLS.zscore.yearly-9644e167.js} +0 -0
  387. /package/build/esm/{ChevronDown-771b8dc3.js → ChevronDown-20c4b567.js} +0 -0
  388. /package/build/esm/{Close-061eb296.js → Close-bb76ead0.js} +0 -0
  389. /package/build/esm/{Google-14dfcff7.js → Google-518b81f0.js} +0 -0
  390. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6cd41c3e.js → HEAD CIRCUM_BOYS.percentile.monthly-5880026b.js} +0 -0
  391. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d23889f0.js → HEAD CIRCUM_BOYS.percentile.weekly-79586739.js} +0 -0
  392. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-92f605c5.js → HEAD CIRCUM_BOYS.percentile.yearly-c9b4cf57.js} +0 -0
  393. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7be29236.js → HEAD CIRCUM_BOYS.zscore.monthly-3455fb17.js} +0 -0
  394. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5251c9ab.js → HEAD CIRCUM_BOYS.zscore.weekly-cc7d8eef.js} +0 -0
  395. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9714a38d.js → HEAD CIRCUM_BOYS.zscore.yearly-5d34c859.js} +0 -0
  396. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9fab5b6f.js → HEAD CIRCUM_GIRLS.percentile.monthly-ffcf272f.js} +0 -0
  397. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-99244f5c.js → HEAD CIRCUM_GIRLS.percentile.weekly-3dca0875.js} +0 -0
  398. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-087bb60c.js → HEAD CIRCUM_GIRLS.percentile.yearly-fbb78fa4.js} +0 -0
  399. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0adba7b6.js → HEAD CIRCUM_GIRLS.zscore.monthly-b5209270.js} +0 -0
  400. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-594009bc.js → HEAD CIRCUM_GIRLS.zscore.weekly-16466f8f.js} +0 -0
  401. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-993b68a7.js → HEAD CIRCUM_GIRLS.zscore.yearly-4e383b92.js} +0 -0
  402. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7ad7c360.js → HEIGHT_BOYS.percentile.monthly-2007bdac.js} +0 -0
  403. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-944a8c85.js → HEIGHT_BOYS.percentile.weekly-3bece969.js} +0 -0
  404. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-183f3a50.js → HEIGHT_BOYS.percentile.yearly-40741a46.js} +0 -0
  405. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c420f14e.js → HEIGHT_BOYS.zscore.monthly-9c4c6b8b.js} +0 -0
  406. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-de1e5fa3.js → HEIGHT_BOYS.zscore.weekly-5a0cc42f.js} +0 -0
  407. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f59f94b5.js → HEIGHT_BOYS.zscore.yearly-b21aa820.js} +0 -0
  408. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0d6849a5.js → HEIGHT_GIRLS.percentile.monthly-e01d48d1.js} +0 -0
  409. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6289c542.js → HEIGHT_GIRLS.percentile.weekly-bd509f97.js} +0 -0
  410. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-bbff2a84.js → HEIGHT_GIRLS.percentile.yearly-6321658b.js} +0 -0
  411. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-0d614a40.js → HEIGHT_GIRLS.zscore.monthly-0b40e78b.js} +0 -0
  412. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-52df92ed.js → HEIGHT_GIRLS.zscore.weekly-4afec9fe.js} +0 -0
  413. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b354c0a6.js → HEIGHT_GIRLS.zscore.yearly-c042bfcf.js} +0 -0
  414. /package/build/esm/{Locale-0f8da1e3.js → Locale-1d47037e.js} +0 -0
  415. /package/build/esm/{Visible-5c1df30c.js → Visible-cc59d8d6.js} +0 -0
  416. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1fdbf72e.js → WEIGHT_BOYS.percentile.monthly-4e5f8b81.js} +0 -0
  417. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-190ac0f8.js → WEIGHT_BOYS.percentile.weekly-20ca2aa7.js} +0 -0
  418. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-925ef150.js → WEIGHT_BOYS.percentile.yearly-535df747.js} +0 -0
  419. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a149f2e7.js → WEIGHT_BOYS.zscore.monthly-26a7bb76.js} +0 -0
  420. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-764e8023.js → WEIGHT_BOYS.zscore.weekly-cf0b698d.js} +0 -0
  421. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-700ca8fe.js → WEIGHT_BOYS.zscore.yearly-c412beae.js} +0 -0
  422. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-60339e25.js → WEIGHT_GIRLS.percentile.monthly-16639c14.js} +0 -0
  423. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f2a83995.js → WEIGHT_GIRLS.percentile.weekly-83590849.js} +0 -0
  424. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d762848a.js → WEIGHT_GIRLS.percentile.yearly-f4b09138.js} +0 -0
  425. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e9ac582d.js → WEIGHT_GIRLS.zscore.monthly-33433481.js} +0 -0
  426. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-108c96df.js → WEIGHT_GIRLS.zscore.weekly-9b239e83.js} +0 -0
  427. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d4d60300.js → WEIGHT_GIRLS.zscore.yearly-39a1e8b9.js} +0 -0
  428. /package/build/esm/{animation-8e0ec43d.js → animation-8d731008.js} +0 -0
  429. /package/build/esm/{constants-ef9cf9e3.js → constants-12116270.js} +0 -0
  430. /package/build/esm/{constants-8c81a111.js → constants-a61634b6.js} +0 -0
  431. /package/build/esm/{constants-f14a8b45.js → constants-d10c55bf.js} +0 -0
  432. /package/build/esm/{dataTransform-aeec55e3.js → dataTransform-1cb98559.js} +0 -0
  433. /package/build/esm/{doctor-f3635ca1.js → doctor-e1b07c49.js} +0 -0
  434. /package/build/esm/{index-c58ef13a.js → index-0c2f3879.js} +0 -0
  435. /package/build/esm/{index-4bcb4f78.js → index-0f29c1bf.js} +0 -0
  436. /package/build/esm/{index-0dba9e13.js → index-1631acad.js} +0 -0
  437. /package/build/esm/{index-6d400d36.js → index-31ea7e88.js} +0 -0
  438. /package/build/esm/{index-19da385a.js → index-72fd8d69.js} +0 -0
  439. /package/build/esm/{index-e8c02bc7.js → index-7c3ae825.js} +0 -0
  440. /package/build/esm/{index-34079792.js → index-83e3bac0.js} +0 -0
  441. /package/build/esm/{index-ae8097c2.js → index-db6f9e29.js} +0 -0
  442. /package/build/esm/{localizeNumberFormat-775a5ed2.js → localizeNumberFormat-44072036.js} +0 -0
  443. /package/build/esm/{number-07f2699b.js → number-6c73ba1c.js} +0 -0
  444. /package/build/esm/{other-4d5a3e82.js → other-68bb97c7.js} +0 -0
  445. /package/build/esm/{paths-f1052b75.js → paths-ea61e3a9.js} +0 -0
  446. /package/build/esm/{translationsContext-fdffb1d1.js → translationsContext-90c02030.js} +0 -0
  447. /package/build/esm/{tslib.es6-b653ed53.js → tslib.es6-ef20411b.js} +0 -0
  448. /package/build/esm/{types-076f00d4.js → types-33e6c1f1.js} +0 -0
  449. /package/build/esm/{useIsInit-863e28b1.js → useIsInit-0c488a48.js} +0 -0
  450. /package/build/esm/{useOutsideClick-ec81ae08.js → useOutsideClick-db8979f8.js} +0 -0
  451. /package/build/esm/{useScrollbarSize-70a6b37e.js → useScrollbarSize-9b8a8746.js} +0 -0
  452. /package/build/esm/{useUniqueId-9ffca6e4.js → useUniqueId-6311faae.js} +0 -0
  453. /package/build/esm/{utils-74359674.js → utils-b79a7ddf.js} +0 -0
  454. /package/build/{index-eb36d00d.js → index-0aff65c3.js} +0 -0
  455. /package/build/{index-e4ac52e6.js → index-8c6d303a.js} +0 -0
  456. /package/build/{index-2533920b.js → index-911c3560.js} +0 -0
  457. /package/build/{index-72be5083.js → index-b6fd2f1a.js} +0 -0
  458. /package/build/{index-80af7e12.js → index-cb0c337d.js} +0 -0
  459. /package/build/{index-5d43807a.js → index-d4e89903.js} +0 -0
  460. /package/build/{index-7c1ec8b3.js → index-d567e41b.js} +0 -0
  461. /package/build/{index-c12a6214.js → index-f204d1d5.js} +0 -0
  462. /package/build/{localizeNumberFormat-03323ea5.js → localizeNumberFormat-daaf7929.js} +0 -0
  463. /package/build/{number-89762855.js → number-2480e915.js} +0 -0
  464. /package/build/{other-8e7cbdcd.js → other-c6692408.js} +0 -0
  465. /package/build/{paths-84c02242.js → paths-56f4051f.js} +0 -0
  466. /package/build/{translationsContext-3da9c031.js → translationsContext-fb9b728b.js} +0 -0
  467. /package/build/{tslib.es6-e055fcca.js → tslib.es6-9342a95c.js} +0 -0
  468. /package/build/{types-c29269a7.js → types-ef74463f.js} +0 -0
  469. /package/build/{useIsInit-3d1b98d1.js → useIsInit-b9597e7c.js} +0 -0
  470. /package/build/{useOutsideClick-eb38f457.js → useOutsideClick-c3071688.js} +0 -0
  471. /package/build/{useScrollbarSize-232f47f1.js → useScrollbarSize-9d59ff53.js} +0 -0
  472. /package/build/{useUniqueId-b5985b37.js → useUniqueId-ab2c8c18.js} +0 -0
  473. /package/build/{utils-019ee20a.js → utils-48c93fc5.js} +0 -0
@@ -1,74 +1,73 @@
1
- export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-6ccb2f73.js';
2
- export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-24422154.js';
3
- export { F as Footer } from './index-5b259b0d.js';
1
+ export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-9ad40149.js';
2
+ export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-5c945fc7.js';
3
+ export { F as Footer } from './index-f0a718ae.js';
4
4
  export { NavigationLogoutPopup } from './navigationLogoutPopup.js';
5
- export { N as NavigationProfileButton } from './index-f985937b.js';
5
+ export { N as NavigationProfileButton } from './index-09f39a7f.js';
6
6
  export { ProfileNavigation } from './profileNavigation.js';
7
- import './tslib.es6-b653ed53.js';
7
+ import './tslib.es6-ef20411b.js';
8
8
  import 'react';
9
- import './index-4d64990e.js';
10
- import './index-7482f344.js';
9
+ import './index-0f5393e9.js';
10
+ import './index-a1fe15fa.js';
11
11
  import '@hhgtech/icons/other';
12
12
  import '@mantine/core';
13
13
  import '@mantine/hooks';
14
- import './index-34079792.js';
14
+ import './index-83e3bac0.js';
15
15
  import './constantsDomainLocales.js';
16
- import './Locale-0f8da1e3.js';
16
+ import './Locale-1d47037e.js';
17
17
  import './constantsIsProduction.js';
18
- import './index.styles-86e68157.js';
19
- import './utils-74359674.js';
18
+ import './index.styles-66045747.js';
19
+ import './utils-b79a7ddf.js';
20
20
  import '@emotion/styled';
21
21
  import '@mantine/carousel';
22
- import './index-97695042.js';
23
- import './other-4d5a3e82.js';
24
- import './index-dab04ba3.js';
22
+ import './index-040b69c4.js';
23
+ import './other-68bb97c7.js';
24
+ import './index-d7e10fea.js';
25
25
  import './miscTheme.js';
26
- import './useMantineLocale-51f4d28c.js';
26
+ import './useMantineLocale-4aece5db.js';
27
27
  import '@mantine/notifications';
28
28
  import 'dayjs';
29
- import './index-82cf1f48.js';
29
+ import './index-ac1446eb.js';
30
30
  import 'date-fns/locale';
31
31
  import './constantsSite.js';
32
32
  import './constantsRiskScreener.js';
33
- import './index-a7f7e69d.js';
34
- import './index-49bacc62.js';
33
+ import './index-c6d0d4e3.js';
34
+ import './index-65afe55a.js';
35
35
  import 'classnames';
36
- import './useUniqueId-9ffca6e4.js';
36
+ import './useUniqueId-6311faae.js';
37
37
  import '@hhgtech/icons/core';
38
- import './normalizeLink-9478867c.js';
39
- import './routing-369f3125.js';
40
- import './dataTransform-78c354ce.js';
41
- import './index-b599175f.js';
42
- import './logoIcon-b5fd4311.js';
43
- import './index-63151236.js';
44
- import './translationsContext-fdffb1d1.js';
38
+ import './normalizeLink-688c6b8d.js';
39
+ import './dataTransform-7c53fc27.js';
40
+ import './index-290b77c5.js';
41
+ import './logoIcon-6a0f5c0d.js';
42
+ import './index-dbfdecc6.js';
43
+ import './translationsContext-90c02030.js';
45
44
  import 'lodash/throttle';
46
45
  import '@mantine/dates';
47
- import './index-569efe9f.js';
48
- import './constants-e92585d6.js';
49
- import './index-35c90c9a.js';
50
- import './utils-48cfb940.js';
51
- import './index-6d400d36.js';
46
+ import './index-5263905a.js';
47
+ import './constants-c86e4b5b.js';
48
+ import './index-8d56be31.js';
49
+ import './utils-de9524a4.js';
50
+ import './index-31ea7e88.js';
52
51
  import './miscCookieHelper.js';
53
52
  import 'slugify';
54
53
  import 'string-format';
55
54
  import './togetherApiPaths.js';
56
- import './constants-f14a8b45.js';
57
- import './constants-8c81a111.js';
58
- import './index-785100d0.js';
59
- import './index-dcf77cf4.js';
60
- import './useIsInit-863e28b1.js';
55
+ import './constants-d10c55bf.js';
56
+ import './constants-a61634b6.js';
57
+ import './index-38a4a6b2.js';
58
+ import './index-18385a9e.js';
59
+ import './useIsInit-0c488a48.js';
61
60
  import './miscDefaultClassWrapper.js';
62
61
  import 'dayjs/plugin/relativeTime';
63
- import './index-1090e16c.js';
64
- import './index-19da385a.js';
65
- import './store-3cb1fe18.js';
62
+ import './index-1861cd41.js';
63
+ import './index-72fd8d69.js';
64
+ import './store-5616430a.js';
66
65
  import 'zustand';
67
66
  import 'lodash/debounce';
68
- import './core-36a03549.js';
69
- import './index-aaef7537.js';
70
- import './index-596ca24e.js';
71
- import './index-38dcbcd4.js';
72
- import './Spinner-bd0b4679.js';
73
- import './ChevronDown-771b8dc3.js';
67
+ import './core-733a7b61.js';
68
+ import './index-1a3eacd9.js';
69
+ import './index-796e9bb2.js';
70
+ import './index-eaa20d1d.js';
71
+ import './Spinner-7451b6e5.js';
72
+ import './ChevronDown-20c4b567.js';
74
73
  import '@emotion/react';
@@ -1,6 +1,6 @@
1
- import { a as __awaiter } from './tslib.es6-b653ed53.js';
1
+ import { a as __awaiter } from './tslib.es6-ef20411b.js';
2
2
  import { ADMIN_PATHS, PATHS } from './togetherApiPaths.js';
3
- import { d as getApiPath, r as callApiWithAdminAuth, b as callApiWithAuth } from './utils-48cfb940.js';
3
+ import { d as getApiPath, r as callApiWithAdminAuth, b as callApiWithAuth } from './utils-de9524a4.js';
4
4
 
5
5
  const EncodeUrlRegexMap = {
6
6
  edit: /<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,
@@ -1,38 +1,37 @@
1
1
  import React__default, { useMemo, useState, Fragment, useEffect } from 'react';
2
- import { a as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES } from './index-82cf1f48.js';
3
- import { a as Avatar } from './index-7482f344.js';
2
+ import { a as CARE_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES } from './index-ac1446eb.js';
3
+ import { a as Avatar } from './index-a1fe15fa.js';
4
4
  import '@mantine/core';
5
5
  import '@mantine/dates';
6
- import './index-dab04ba3.js';
7
- import { C as CommonGAssets } from './index-34079792.js';
8
- import './useMantineLocale-51f4d28c.js';
9
- import { T as Text } from './index-97695042.js';
10
- import './index-a7f7e69d.js';
11
- import './index.styles-86e68157.js';
12
- import { u as useTranslations } from './index-63151236.js';
6
+ import './index-d7e10fea.js';
7
+ import { C as CommonGAssets } from './index-83e3bac0.js';
8
+ import './useMantineLocale-4aece5db.js';
9
+ import { T as Text } from './index-040b69c4.js';
10
+ import './index-c6d0d4e3.js';
11
+ import './index.styles-66045747.js';
12
+ import { u as useTranslations } from './index-dbfdecc6.js';
13
13
  import '@mantine/hooks';
14
- import './utils-74359674.js';
15
- import './other-4d5a3e82.js';
16
- import './index-569efe9f.js';
17
- import { C as ChevronDown } from './ChevronDown-771b8dc3.js';
18
- import { a as normalizeLinkSlash } from './normalizeLink-9478867c.js';
14
+ import './utils-b79a7ddf.js';
15
+ import './other-68bb97c7.js';
16
+ import './index-5263905a.js';
17
+ import { C as ChevronDown } from './ChevronDown-20c4b567.js';
18
+ import { e as normalizeLinkSlash, a as getCurrentSsoUrl, g as getCurrentBaseUrl } from './normalizeLink-688c6b8d.js';
19
19
  import { css } from '@emotion/react';
20
20
  import styled from '@emotion/styled';
21
21
  import { theme } from './miscTheme.js';
22
- import './translationsContext-fdffb1d1.js';
23
- import { a as getCurrentSsoUrl, g as getCurrentBaseUrl } from './routing-369f3125.js';
22
+ import './translationsContext-90c02030.js';
24
23
  import 'date-fns/locale';
25
24
  import './constantsSite.js';
26
- import './Locale-0f8da1e3.js';
25
+ import './Locale-1d47037e.js';
27
26
  import './constantsDomainLocales.js';
28
27
  import './constantsRiskScreener.js';
29
28
  import './constantsIsProduction.js';
30
- import './tslib.es6-b653ed53.js';
29
+ import './tslib.es6-ef20411b.js';
31
30
  import '@hhgtech/icons/other';
32
31
  import '@mantine/carousel';
33
- import './index-49bacc62.js';
32
+ import './index-65afe55a.js';
34
33
  import 'classnames';
35
- import './useUniqueId-9ffca6e4.js';
34
+ import './useUniqueId-6311faae.js';
36
35
  import '@hhgtech/icons/core';
37
36
  import '@mantine/notifications';
38
37
  import 'dayjs';
@@ -1,4 +1,4 @@
1
- import { _ as __rest } from './tslib.es6-b653ed53.js';
1
+ import { _ as __rest } from './tslib.es6-ef20411b.js';
2
2
  import React__default, { useState, useCallback, useEffect } from 'react';
3
3
  import throttle from 'lodash/throttle';
4
4
  import styled from '@emotion/styled';
package/build/esm/pwg.js CHANGED
@@ -1,43 +1,43 @@
1
1
  import React__default, { useMemo, useState, useRef } from 'react';
2
- import { M as MarryBabyText, a as MarryBabyHeading } from './index-596ca24e.js';
3
- import { T as Text } from './index-97695042.js';
4
- import { P as PillCarousel } from './index-31ff606f.js';
5
- import { u as useTranslations } from './index-63151236.js';
2
+ import { M as MarryBabyText, a as MarryBabyHeading } from './index-796e9bb2.js';
3
+ import { T as Text } from './index-040b69c4.js';
4
+ import { P as PillCarousel } from './index-85c2bfdb.js';
5
+ import { u as useTranslations } from './index-dbfdecc6.js';
6
6
  import { theme } from './miscTheme.js';
7
7
  import { ResponsiveContainer, AreaChart, CartesianGrid, Tooltip, XAxis, YAxis, Area, ReferenceDot } from 'recharts';
8
- import { C as CustomReferenceDot } from './index-ae8097c2.js';
9
- import { a as useOutsideClick } from './useOutsideClick-ec81ae08.js';
8
+ import { C as CustomReferenceDot } from './index-db6f9e29.js';
9
+ import { a as useOutsideClick } from './useOutsideClick-db8979f8.js';
10
10
  import styled from '@emotion/styled';
11
- import { _ as __rest } from './tslib.es6-b653ed53.js';
11
+ import { _ as __rest } from './tslib.es6-ef20411b.js';
12
12
  import '@mantine/core';
13
- import './other-4d5a3e82.js';
14
- import './index-dab04ba3.js';
15
- import './Locale-0f8da1e3.js';
16
- import './index-34079792.js';
13
+ import './other-68bb97c7.js';
14
+ import './index-d7e10fea.js';
15
+ import './Locale-1d47037e.js';
16
+ import './index-83e3bac0.js';
17
17
  import './constantsDomainLocales.js';
18
18
  import './constantsIsProduction.js';
19
- import './index-49bacc62.js';
20
- import './index-05714e41.js';
21
- import './index-7482f344.js';
19
+ import './index-65afe55a.js';
20
+ import './index-103afe5e.js';
21
+ import './index-a1fe15fa.js';
22
22
  import '@hhgtech/icons/other';
23
23
  import '@mantine/hooks';
24
- import './index.styles-86e68157.js';
25
- import './utils-74359674.js';
24
+ import './index.styles-66045747.js';
25
+ import './utils-b79a7ddf.js';
26
26
  import '@mantine/carousel';
27
- import './useMantineLocale-51f4d28c.js';
27
+ import './useMantineLocale-4aece5db.js';
28
28
  import '@mantine/notifications';
29
29
  import 'dayjs';
30
- import './index-82cf1f48.js';
30
+ import './index-ac1446eb.js';
31
31
  import 'date-fns/locale';
32
32
  import './constantsSite.js';
33
33
  import './constantsRiskScreener.js';
34
- import './index-a7f7e69d.js';
34
+ import './index-c6d0d4e3.js';
35
35
  import 'classnames';
36
- import './useUniqueId-9ffca6e4.js';
36
+ import './useUniqueId-6311faae.js';
37
37
  import '@hhgtech/icons/core';
38
38
  import '@mantine/dates';
39
- import './translationsContext-fdffb1d1.js';
40
- import './index-569efe9f.js';
39
+ import './translationsContext-90c02030.js';
40
+ import './index-5263905a.js';
41
41
 
42
42
  const CustomizedAxisTick = (props) => {
43
43
  const { x, y, payload, activeWeek } = props;
@@ -4,7 +4,7 @@ export type SSOOTPConfigs = {
4
4
  email?: string;
5
5
  otpType: 'phone-sms' | 'phone-zalo' | 'email' | 'update-email';
6
6
  isUpdatePhone?: boolean;
7
- afterAction?: 'setup' | 'submitSetup' | 'forgot';
7
+ afterAction?: 'setup' | 'submitSetup' | 'forgot' | 'update-email';
8
8
  setupData?: any;
9
9
  };
10
10
  export declare const SSOOTPScreen: ({ hidden, index, }: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare const SSOPhoneVerify: ({ hidden, }: {
2
+ export declare const SSOPhoneVerify: ({ hidden, index, }: {
3
3
  hidden?: boolean;
4
4
  index?: number;
5
5
  }) => React.JSX.Element;
@@ -13,9 +13,10 @@ export type SSOV2StoreType = {
13
13
  source?: string;
14
14
  returnUrl?: string;
15
15
  }) => void;
16
- triggerCareEmailVerify: (params?: {
16
+ triggerCareEmailPhoneVerify: (params?: {
17
17
  source?: string;
18
18
  returnUrl?: string;
19
19
  }) => void;
20
+ overrideClose?: () => Promise<boolean>;
20
21
  };
21
22
  export declare const useSSOV2Store: import("zustand").UseBoundStore<import("zustand").StoreApi<SSOV2StoreType>>;
@@ -1,52 +1,51 @@
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-ef20411b.js';
1
2
  import React__default, { createContext, useState, useRef, useMemo, useEffect } from 'react';
2
3
  import { ChevronLeft } from '@hhgtech/icons/arrow';
3
4
  import { Close } from '@hhgtech/icons/core';
4
- import { L as LogoIcon } from './logoIcon-b5fd4311.js';
5
- import { B as Button } from './index-a7f7e69d.js';
6
- import { M as Modal } from './index-e7205511.js';
5
+ import { L as LogoIcon } from './logoIcon-6a0f5c0d.js';
6
+ import { B as Button } from './index-c6d0d4e3.js';
7
+ import { M as Modal } from './index-0da33b55.js';
7
8
  import { Box, Stack, Group } from '@mantine/core';
8
9
  import throttle from 'lodash/throttle';
9
- import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-7482f344.js';
10
+ import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-a1fe15fa.js';
10
11
  import '@mantine/dates';
11
- import { L as LOCALE_SPECS, f as BEARER_REFRESH_TOKEN_COOKIE, S as STATIC_PAGES } from './index-82cf1f48.js';
12
- import './index-dab04ba3.js';
13
- import './index-34079792.js';
14
- import { s as showNotification } from './useMantineLocale-51f4d28c.js';
15
- import { T as Text } from './index-97695042.js';
16
- import { u as useTranslations } from './index-63151236.js';
12
+ import { L as LOCALE_SPECS, S as STATIC_PAGES } from './index-ac1446eb.js';
13
+ import './index-d7e10fea.js';
14
+ import './index-83e3bac0.js';
15
+ import { s as showNotification } from './useMantineLocale-4aece5db.js';
16
+ import { T as Text } from './index-040b69c4.js';
17
+ import { u as useTranslations } from './index-dbfdecc6.js';
17
18
  import '@mantine/hooks';
18
- import './utils-74359674.js';
19
- import './other-4d5a3e82.js';
20
- import './index-569efe9f.js';
21
- import { L as LOCALE } from './Locale-0f8da1e3.js';
22
- import './translationsContext-fdffb1d1.js';
23
- import { a as useSSOSteps, S as SSOStepTypeType, u as useSSOV2Store } from './store-3cb1fe18.js';
24
- export { u as useSSOV2Store } from './store-3cb1fe18.js';
25
- import { a as __awaiter, _ as __rest } from './tslib.es6-b653ed53.js';
26
- import { isProduction } from './constantsIsProduction.js';
27
- import { a as normalizeLinkSlash } from './normalizeLink-9478867c.js';
28
- import { a as getCurrentSsoUrl } from './routing-369f3125.js';
29
- import { setCookie } from './miscCookieHelper.js';
30
- import { domainLocales } from './constantsDomainLocales.js';
31
- import { G as Google, F as Facebook } from './Google-14dfcff7.js';
19
+ import './utils-b79a7ddf.js';
20
+ import './other-68bb97c7.js';
21
+ import './index-5263905a.js';
22
+ import { L as LOCALE } from './Locale-1d47037e.js';
23
+ import './translationsContext-90c02030.js';
24
+ import { a as useSSOSteps, f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, b as SSOStepTypeType, d as allAvailableAreaCodes, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, e as updateUserInfo, r as resetPassword, u as useSSOV2Store } from './store-5616430a.js';
25
+ export { u as useSSOV2Store } from './store-5616430a.js';
26
+ import { G as Google, F as Facebook } from './Google-518b81f0.js';
32
27
  import { Info } from '@hhgtech/icons/other';
33
- import './index.styles-86e68157.js';
28
+ import './index.styles-66045747.js';
34
29
  import styled from '@emotion/styled';
35
- import { M as MAPPED_LOCALE } from './utils-31ca08e1.js';
30
+ import { M as MAPPED_LOCALE } from './utils-c204f794.js';
31
+ import { domainLocales } from './constantsDomainLocales.js';
36
32
  import { useForm, yupResolver } from '@mantine/form';
37
33
  import * as yup from 'yup';
38
34
  import dayjs from 'dayjs';
39
- import { D as DatePicker } from './index-6901760e.js';
40
- import './index-49bacc62.js';
35
+ import { D as DatePicker } from './index-215243b0.js';
36
+ import './index-65afe55a.js';
41
37
  import '@mantine/carousel';
42
38
  import './miscTheme.js';
43
39
  import 'classnames';
44
- import './useUniqueId-9ffca6e4.js';
40
+ import './useUniqueId-6311faae.js';
45
41
  import './constantsSite.js';
46
42
  import 'date-fns/locale';
47
43
  import './constantsRiskScreener.js';
44
+ import './constantsIsProduction.js';
48
45
  import '@mantine/notifications';
49
46
  import 'zustand';
47
+ import './normalizeLink-688c6b8d.js';
48
+ import './miscCookieHelper.js';
50
49
 
51
50
  const SSOStateContext = createContext({
52
51
  locale: LOCALE.Vietnam,
@@ -501,165 +500,6 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
501
500
  React__default.createElement(CollectInfoTextPopup, null)));
502
501
  };
503
502
 
504
- const SSO_V2_PATHS = {
505
- LOGIN_BY_SOCIAL: 'member/social-login',
506
- EMAIL: {
507
- REGISTER_BY_SEND_OTP: 'login/login-with-email',
508
- LOGIN_BY_PASSWORD: 'member/login',
509
- VERIFY_BY_OTP: 'login/email-verify-code',
510
- SEND_OTP: 'login/email-resend-otp-code', // FOR RESEND OTP IN CASE FAIL
511
- },
512
- PHONE: {
513
- REGISTER_BY_SEND_OTP: 'login/login-with-sms',
514
- SEND_OTP: 'login/sms/sent-otp',
515
- VERIFY_BY_OTP: 'login/phone-verify-code',
516
- LOGIN_BY_PASSWORD: 'member/login-by-phone',
517
- UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
518
- UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
519
- },
520
- ZALO: {
521
- REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
522
- SEND_OTP: 'login/zalo/sent-otp',
523
- VERIFY_BY_OTP: 'login/zalo-verify-code',
524
- UPDATE_PHONE_SEND_OTP: 'login/sms-social/zalo/sent-otp',
525
- UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/zalo-verify-code',
526
- },
527
- RESET_PASSWORD: 'login/reset-password',
528
- CHECK_USER_EXIST: 'member/check-user-exist',
529
- UPDATE_USER_INFO: 'login/update-first-info',
530
- ECOM_CARE: {
531
- SEND_OTP: 'login/ecom-care/send-email-otp-code',
532
- VERIFY_OTP: 'login/ecom-care/email-verify-code',
533
- RESEND_OTP: 'login/ecom-care/resend-email-otp-code',
534
- },
535
- };
536
-
537
- const locale = process.env.UNIFY_LOCALE || 'vi-VN';
538
- const websiteId = LOCALE_SPECS[locale].SITE_ID;
539
- LOCALE_SPECS[locale].PHONE;
540
- const allAvailableAreaCodes = Object.keys(LOCALE_SPECS).map((locale) => LOCALE_SPECS[locale].PHONE);
541
- const getSSOV2ApiUrl = (path) => {
542
- return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/v2/${path}`);
543
- };
544
- const getSSOApiUrl = (path) => {
545
- return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/${path}`);
546
- };
547
- const BEARER_TOKEN_COOKIE = 'hhg_user_token';
548
- // NOTICE: RUN ONLY CLIENT SIDE
549
- const fetchSSOV2Api = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
550
- var _a;
551
- let response;
552
- const authToken = noAuth
553
- ? ''
554
- : (_a = document.cookie
555
- .split('; ')
556
- .find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _a === void 0 ? void 0 : _a.split('=')[1];
557
- try {
558
- response = yield fetch(getSSOV2ApiUrl(path), authToken
559
- ? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
560
- }
561
- catch (error) {
562
- console.error(error);
563
- return null;
564
- }
565
- return response === null || response === void 0 ? void 0 : response.json();
566
- });
567
- const fetchSSOApi = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
568
- var _b;
569
- let response;
570
- const authToken = noAuth
571
- ? ''
572
- : (_b = document.cookie
573
- .split('; ')
574
- .find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _b === void 0 ? void 0 : _b.split('=')[1];
575
- try {
576
- response = yield fetch(getSSOApiUrl(path), authToken
577
- ? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
578
- }
579
- catch (error) {
580
- console.error(error);
581
- return null;
582
- }
583
- return response === null || response === void 0 ? void 0 : response.json();
584
- });
585
- const resetPassword = (password, confirmPassword) => __awaiter(void 0, void 0, void 0, function* () {
586
- const formData = new FormData();
587
- formData.append('password', password);
588
- formData.append('confirm-password', confirmPassword);
589
- return fetchSSOV2Api(SSO_V2_PATHS.RESET_PASSWORD, {
590
- method: 'POST',
591
- body: formData,
592
- });
593
- });
594
- // "email":"kenny_test2201_11@mailinator.com"
595
- // "phone_number":"906911910"
596
- const checkUserExist = ({ email, phone, // no +
597
- }) => __awaiter(void 0, void 0, void 0, function* () {
598
- // "provider": "email",
599
- // "is_pass": true,
600
- // "is_status": "Active"
601
- const formData = new FormData();
602
- if (email) {
603
- formData.append('email', email);
604
- }
605
- else {
606
- formData.append('phone_number', phone);
607
- }
608
- return fetchSSOV2Api(SSO_V2_PATHS.CHECK_USER_EXIST, {
609
- method: 'POST',
610
- body: formData,
611
- });
612
- });
613
- // "name": "Huy Tran 888",
614
- // "birthday": "1989-04-26",
615
- // "email":"kenny_test2201_02@mailinator.com", // optional chỉ require khi source là care | ecom
616
- // "password": "Kenny2103",
617
- // "confirm_password":"Kenny2103",
618
- // "phone_number":"906911912", // require khi user register bằng email hoặc social
619
- // "area_code":"+84", // require khi có phone number
620
- // "gender": 1,
621
- // "validate": false, // true validate sau khi validate xong truyền false để update
622
- // "source": "care" | "ecom" // default sẽ ko require email. nếu source là care sẽ require email. ==> support cho business care
623
- const updateUserInfo = (data) => __awaiter(void 0, void 0, void 0, function* () {
624
- const formData = new FormData();
625
- Object.keys(data).forEach((key) => {
626
- const value = data[key];
627
- if (typeof value !== 'undefined' &&
628
- value !== null &&
629
- (typeof value !== 'string' || !!value.trim())) {
630
- formData.append(key, data[key]);
631
- }
632
- });
633
- return fetchSSOV2Api(SSO_V2_PATHS.UPDATE_USER_INFO, {
634
- method: 'POST',
635
- body: formData,
636
- });
637
- });
638
- const GoogleAuthClientId = isProduction
639
- ? '289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com'
640
- : '289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com';
641
- const FacebookAppId = '2759888574045636';
642
- const getUserInfo = () => __awaiter(void 0, void 0, void 0, function* () {
643
- return fetchSSOApi('user/profile', {
644
- method: 'POST',
645
- });
646
- });
647
- const handleAuthSuccess = (res) => {
648
- (res === null || res === void 0 ? void 0 : res.token) &&
649
- setCookie(BEARER_TOKEN_COOKIE, res.token, {
650
- domain: window.location.hostname === 'localhost'
651
- ? 'localhost'
652
- : `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
653
- expires: new Date(res.expire_in * 1000).toUTCString(),
654
- });
655
- (res === null || res === void 0 ? void 0 : res.refresh_token) &&
656
- setCookie(BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
657
- domain: window.location.hostname === 'localhost'
658
- ? 'localhost'
659
- : `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
660
- });
661
- };
662
-
663
503
  const loginByEmailPassword = (email, password) => __awaiter(void 0, void 0, void 0, function* () {
664
504
  const formData = new FormData();
665
505
  formData.append('email', email);
@@ -1083,7 +923,7 @@ const SSOFirstScreen = ({ hidden }) => {
1083
923
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
1084
924
  const provider = (_h = userExist._data) === null || _h === void 0 ? void 0 : _h.provider;
1085
925
  if (provider === 'google' || provider === 'facebook') {
1086
- setErrMsg('Email này đã được sử dụng, vui lòng chọn Email khác.');
926
+ setErrMsg('Email này đã được sử dụng, vui lòng chọn số điện thoại khác.');
1087
927
  return;
1088
928
  }
1089
929
  setShareData({
@@ -1134,7 +974,7 @@ const SSOFirstScreen = ({ hidden }) => {
1134
974
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
1135
975
  const provider = (_m = userExist._data) === null || _m === void 0 ? void 0 : _m.provider;
1136
976
  if (provider === 'google' || provider === 'facebook') {
1137
- setErrMsg('Email này đã được sử dụng, vui lòng chọn Email khác.');
977
+ setErrMsg('Email này đã được sử dụng, vui lòng chọn số điện thoại khác.');
1138
978
  return;
1139
979
  }
1140
980
  setShareData({
@@ -1437,6 +1277,12 @@ const SSOOTPScreen = ({ hidden, index, }) => {
1437
1277
  });
1438
1278
  goNext();
1439
1279
  }
1280
+ else if (afterAction === 'update-email') {
1281
+ addStep({
1282
+ type: SSOStepTypeType.UPDATE_EMAIL,
1283
+ });
1284
+ goNext();
1285
+ }
1440
1286
  else {
1441
1287
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
1442
1288
  }
@@ -1813,11 +1659,13 @@ const SSOPasswordForgotSetup = ({ hidden }) => {
1813
1659
  React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true }, "Save"))));
1814
1660
  };
1815
1661
 
1816
- const SSOPhoneVerify = ({ hidden, }) => {
1662
+ const SSOPhoneVerify = ({ hidden, index, }) => {
1817
1663
  const [phone, setPhone] = React__default.useState('');
1818
1664
  const [errMsg, setErrMsg] = React__default.useState('');
1819
1665
  const { locale } = useSSOState();
1820
- const { addStep, goNext } = useSSOSteps();
1666
+ const { addStep, goNext, steps } = useSSOSteps();
1667
+ const currentStep = steps[index];
1668
+ const { afterAction } = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.config) || {};
1821
1669
  const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
1822
1670
  var _a, _b;
1823
1671
  const { areaCode, phoneNumber } = splitPhone(phone);
@@ -1835,7 +1683,7 @@ const SSOPhoneVerify = ({ hidden, }) => {
1835
1683
  phone,
1836
1684
  otpType: 'phone-zalo',
1837
1685
  isUpdatePhone: true,
1838
- afterAction: 'setup',
1686
+ afterAction: afterAction || 'setup',
1839
1687
  },
1840
1688
  });
1841
1689
  goNext();
@@ -1865,7 +1713,7 @@ const SSOPhoneVerify = ({ hidden, }) => {
1865
1713
  phone,
1866
1714
  otpType: 'phone-sms',
1867
1715
  isUpdatePhone: true,
1868
- afterAction: 'setup',
1716
+ afterAction: afterAction || 'setup',
1869
1717
  },
1870
1718
  });
1871
1719
  goNext();
@@ -2252,7 +2100,7 @@ const SSOScreenRenderer = () => {
2252
2100
  };
2253
2101
 
2254
2102
  const SSOV2 = ({ onClose: onCloseProps, locale }) => {
2255
- const { isOpen, setOpen, returnUrl, setMounted, source } = useSSOV2Store();
2103
+ const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose } = useSSOV2Store();
2256
2104
  useEffect(() => {
2257
2105
  setMounted(true);
2258
2106
  return () => {
@@ -2262,7 +2110,13 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
2262
2110
  if (!isOpen) {
2263
2111
  return null;
2264
2112
  }
2265
- const onClose = (success) => {
2113
+ const onClose = (success) => __awaiter(void 0, void 0, void 0, function* () {
2114
+ if (success && overrideClose) {
2115
+ const allowContinue = yield overrideClose();
2116
+ if (!allowContinue) {
2117
+ return;
2118
+ }
2119
+ }
2266
2120
  if (success && returnUrl && window.location.href !== returnUrl) {
2267
2121
  const newReturnUrl = new URL(returnUrl);
2268
2122
  if (source) {
@@ -2277,7 +2131,7 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
2277
2131
  }
2278
2132
  setOpen(false);
2279
2133
  onCloseProps === null || onCloseProps === void 0 ? void 0 : onCloseProps();
2280
- };
2134
+ });
2281
2135
  return (React__default.createElement(SSOStateProvider, { onClose: onClose, locale: locale },
2282
2136
  React__default.createElement(SSOPopupWrapper, { opened: true, onClose: onClose },
2283
2137
  React__default.createElement(SSOScreenRenderer, null))));