@hhgtech/hhg-components 1.29.310-beta-3 → 1.29.310-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 (473) hide show
  1. package/build/{LastPeriod-f2164554.js → LastPeriod-93ebc51a.js} +1 -1
  2. package/build/{MobileBottomNavigationIcon-0d604c7b.js → MobileBottomNavigationIcon-3d454fab.js} +3 -3
  3. package/build/{Spinner-ec539d0c.js → Spinner-545ead79.js} +1 -1
  4. package/build/{WhatsApp-d7a4d2b0.js → WhatsApp-0ddcf5ef.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 +90 -90
  13. package/build/{constants-ffdf6b4d.js → constants-29d2c733.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-28de53aa.js → core-79b621cd.js} +1 -1
  19. package/build/{dataTransform-013263a4.js → dataTransform-603cb3b7.js} +1 -1
  20. package/build/ecom.js +4 -4
  21. package/build/{editor-efe9824a.js → editor-ee813604.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 -25
  26. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  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 -26
  30. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  31. package/build/esm/{LastPeriod-c202312c.js → LastPeriod-6427f16d.js} +1 -1
  32. package/build/esm/{MobileBottomNavigationIcon-77dc49a9.js → MobileBottomNavigationIcon-54afba79.js} +3 -3
  33. package/build/esm/{Spinner-6c18847f.js → Spinner-d9c3c089.js} +1 -1
  34. package/build/esm/{WhatsApp-f85e59bd.js → WhatsApp-3817574d.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 +90 -90
  43. package/build/esm/{constants-b58f1ef9.js → constants-93492225.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-1a664d27.js → core-f0306b16.js} +1 -1
  49. package/build/esm/{dataTransform-06545db4.js → dataTransform-1ef6e73e.js} +1 -1
  50. package/build/esm/ecom.js +4 -4
  51. package/build/esm/{editor-094eeae0.js → editor-9e48c6c6.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 -25
  56. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  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 -26
  60. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  61. package/build/esm/{fixedBottomAdBlock-fd1c73fe.js → fixedBottomAdBlock-1240d06b.js} +24 -24
  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 -33
  66. package/build/esm/hooks.js +13 -13
  67. package/build/esm/i18n.js +2 -2
  68. package/build/esm/i18nV2.js +2 -2
  69. package/build/esm/{index-0171f033.js → index-02c7eba8.js} +5 -5
  70. package/build/esm/{index-41d78842.js → index-18d2773b.js} +5 -5
  71. package/build/esm/{index-49b4f2f6.js → index-1f3e450b.js} +13 -13
  72. package/build/esm/{index-6e2db221.js → index-21dd1ec2.js} +2 -2
  73. package/build/esm/{index-a8e93d3f.js → index-26ac0d81.js} +2 -2
  74. package/build/esm/{index-486b3ecb.js → index-2995d38d.js} +20 -20
  75. package/build/esm/{index-e9af22df.js → index-2ec3c0b8.js} +1 -1
  76. package/build/esm/{index-f08a72e0.js → index-30a6b0c3.js} +13 -13
  77. package/build/esm/{index-15f8232b.js → index-333c675d.js} +30 -30
  78. package/build/esm/{index-e17e5b43.js → index-334295e8.js} +3 -3
  79. package/build/esm/{index-b3278645.js → index-43b78550.js} +13 -13
  80. package/build/esm/{index-d7401ec0.js → index-463a73f4.js} +4 -4
  81. package/build/esm/{index-6def7536.js → index-4bd879eb.js} +1 -1
  82. package/build/esm/{index-6b78d2b6.js → index-53dbc2d0.js} +3 -3
  83. package/build/esm/{index-600992a5.js → index-556eaa5a.js} +24 -24
  84. package/build/esm/{index-b20d3785.js → index-56166ea9.js} +16 -16
  85. package/build/esm/{index-96f54db4.js → index-5756472c.js} +2 -2
  86. package/build/esm/{index-5eb5389f.js → index-58646f33.js} +7 -7
  87. package/build/esm/{index-81acfe05.js → index-5915bbe9.js} +21 -21
  88. package/build/esm/{index-c3d29371.js → index-5bbc2e7e.js} +17 -17
  89. package/build/esm/{index-94898c1f.js → index-5e38d731.js} +1 -1
  90. package/build/esm/{index-089a5581.js → index-5e983251.js} +2 -2
  91. package/build/esm/{index-cf9c0eb5.js → index-67433083.js} +32 -32
  92. package/build/esm/{index-cc2a554a.js → index-6d670de3.js} +3 -3
  93. package/build/esm/{index-f780d8de.js → index-6dc065e0.js} +3 -3
  94. package/build/esm/{index-09ce314c.js → index-6eca1b84.js} +13 -13
  95. package/build/esm/{index-ba52911f.js → index-6f2084f2.js} +18 -18
  96. package/build/esm/{index-2057e958.js → index-728d3672.js} +15 -15
  97. package/build/esm/{index-fbff6e71.js → index-7cbc7122.js} +3 -3
  98. package/build/esm/{index-8c47675c.js → index-84288de1.js} +1 -1
  99. package/build/esm/{index-5697df33.js → index-88759ed1.js} +1 -1
  100. package/build/esm/{index-14ad0102.js → index-8d741397.js} +2 -2
  101. package/build/esm/{index-e57673f8.js → index-8d92fdfc.js} +2 -2
  102. package/build/esm/{index-cdfa1939.js → index-8e632574.js} +16 -16
  103. package/build/esm/{index-23ac48ff.js → index-902860a7.js} +16 -16
  104. package/build/esm/{index-20fde46e.js → index-974c8ac0.js} +11 -11
  105. package/build/esm/{index-f8b0134b.js → index-9ed6478a.js} +2 -2
  106. package/build/esm/{index-c34fc344.js → index-9f703518.js} +6 -6
  107. package/build/esm/{index-32202e33.js → index-a4d5e355.js} +10 -10
  108. package/build/esm/{index-a32f7b30.js → index-a61170d8.js} +1 -1
  109. package/build/esm/{index-711e5687.js → index-a65a00ab.js} +2 -2
  110. package/build/esm/{index-c76ac328.js → index-a6debbcc.js} +3 -3
  111. package/build/esm/{index-b02ca876.js → index-ad33b0de.js} +16 -16
  112. package/build/esm/{index-da8cdc78.js → index-bba5d96b.js} +6 -6
  113. package/build/esm/{index-2ab6c1ff.js → index-c691a5d0.js} +15 -15
  114. package/build/esm/{index-d6ace35c.js → index-c6dd477d.js} +3 -3
  115. package/build/esm/{index-c2d5c269.js → index-c96c8d0b.js} +1 -1
  116. package/build/esm/{index-78392af4.js → index-d5abff8c.js} +1 -1
  117. package/build/esm/{index-ff070251.js → index-da48077f.js} +17 -17
  118. package/build/esm/{index-76e481e9.js → index-de0db7c7.js} +2 -2
  119. package/build/esm/{index-9a4a854c.js → index-de9b6c66.js} +26 -26
  120. package/build/esm/{index-4afc4969.js → index-df945777.js} +6 -6
  121. package/build/esm/{index-8e230dc8.js → index-e65a76fd.js} +17 -17
  122. package/build/esm/{index-2b949c3c.js → index-eaa201ba.js} +2 -2
  123. package/build/esm/{index-1d72a9bb.js → index-efc5bd83.js} +7 -7
  124. package/build/esm/{index-9669de36.js → index-eff9c6f6.js} +6 -6
  125. package/build/esm/{index-36dc343e.js → index-f7a1be3d.js} +18 -18
  126. package/build/esm/{index-7eb2ec4a.js → index-f92a27e8.js} +2 -2
  127. package/build/esm/{index-10d08b10.js → index-fe138667.js} +1 -1
  128. package/build/esm/{index-b516c632.js → index-ff0d87c0.js} +2 -2
  129. package/build/esm/index.js +112 -112
  130. package/build/esm/{labelSorting-8b9b38c8.js → labelSorting-69152711.js} +4 -4
  131. package/build/esm/lead.js +24 -24
  132. package/build/esm/{logoIcon-6f876f01.js → logoIcon-f7d8a376.js} +2 -2
  133. package/build/esm/mantine.js +25 -25
  134. package/build/esm/misc.js +16 -16
  135. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  136. package/build/esm/miscGetSocialList.js +8 -8
  137. package/build/esm/miscScreenSizeContext.js +1 -1
  138. package/build/esm/mobileBottomNavigation.js +5 -5
  139. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  140. package/build/esm/molecules.js +69 -69
  141. package/build/esm/moleculesArticleCard.js +6 -6
  142. package/build/esm/moleculesArticleCardV2.js +16 -16
  143. package/build/esm/navigation.js +40 -40
  144. package/build/esm/navigationLogoutPopup.js +9 -9
  145. package/build/esm/navigationProfileButton.js +23 -23
  146. package/build/esm/onboardingV2.js +29 -29
  147. package/build/esm/organisms.js +44 -44
  148. package/build/esm/{post-9172504f.js → post-bb0e92f7.js} +2 -2
  149. package/build/esm/profileNavigation.js +19 -19
  150. package/build/esm/progressBar.js +1 -1
  151. package/build/esm/pwg.js +22 -22
  152. package/build/esm/ssoV2/index.d.ts +5 -0
  153. package/build/esm/ssoV2/screens/components/progressBar.d.ts +5 -1
  154. package/build/esm/ssoV2/screens/components/progressBar.utils.d.ts +6 -0
  155. package/build/esm/ssoV2/ssoStateManager/store.d.ts +9 -0
  156. package/build/esm/ssoV2.js +198 -76
  157. package/build/esm/{store-42029669.js → store-36a2023e.js} +9 -14
  158. package/build/esm/subot.js +33 -33
  159. package/build/esm/surveyOrPremiumBanner.js +31 -31
  160. package/build/esm/surveyQuestionCard.js +10 -10
  161. package/build/esm/{surveyThankyouCard-2e32e85d.js → surveyThankyouCard-2fcfe267.js} +5 -5
  162. package/build/esm/together.js +53 -53
  163. package/build/esm/togetherApiUtils.js +4 -4
  164. package/build/esm/togetherAtoms.js +30 -30
  165. package/build/esm/togetherComponentGlobalContext.js +4 -4
  166. package/build/esm/togetherMolecules.js +48 -48
  167. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  168. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  169. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  170. package/build/esm/togetherOrganisms.js +47 -47
  171. package/build/esm/togetherRichTextEditor.js +17 -17
  172. package/build/esm/togetherShareBox.js +10 -10
  173. package/build/esm/{treePopoverMenu-22d2103c.js → treePopoverMenu-f4cb9e8b.js} +19 -19
  174. package/build/esm/{types-4acfaaa5.js → types-2bf4e0a0.js} +2 -2
  175. package/build/esm/types.js +2 -2
  176. package/build/esm/{useCategory-2616ed3e.js → useCategory-937f06fd.js} +5 -5
  177. package/build/esm/{useHealthToolCache-732f3d7f.js → useHealthToolCache-cbe233c1.js} +1 -1
  178. package/build/esm/{useMantineLocale-b226b448.js → useMantineLocale-c2b902a7.js} +6 -6
  179. package/build/esm/{usePlacesAutocomplete-a0bb01e3.js → usePlacesAutocomplete-f8b1b6ce.js} +1 -1
  180. package/build/esm/{useScreenSize-e377ceca.js → useScreenSize-adb5e955.js} +2 -2
  181. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  182. package/build/esm/{utils-52b3f649.js → utils-10cbbbdc.js} +2 -2
  183. package/build/esm/{utils-53b9e11c.js → utils-33525a90.js} +3 -3
  184. package/build/esm/{utils-52d6f462.js → utils-3a31fb8d.js} +2 -2
  185. package/build/esm/vaccination.js +21 -21
  186. package/build/{fixedBottomAdBlock-a1aca5aa.js → fixedBottomAdBlock-2bdd69ca.js} +24 -24
  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 -33
  191. package/build/hooks.js +13 -13
  192. package/build/i18n.js +1 -1
  193. package/build/i18nV2.js +1 -1
  194. package/build/{index-f0de5b74.js → index-01483c32.js} +1 -1
  195. package/build/{index-fcb5afc9.js → index-06cf85bd.js} +15 -15
  196. package/build/{index-bd379daf.js → index-0c5d68d1.js} +32 -32
  197. package/build/{index-0e784ed7.js → index-107686c2.js} +3 -3
  198. package/build/{index-32fc7ccb.js → index-11a6f008.js} +2 -2
  199. package/build/{index-57e57a4a.js → index-141b85d6.js} +1 -1
  200. package/build/{index-6a1927fb.js → index-165472b7.js} +17 -17
  201. package/build/{index-f85bd0ad.js → index-17c0c2f6.js} +13 -13
  202. package/build/{index-d4cbda4b.js → index-1f6c4aae.js} +1 -1
  203. package/build/{index-81d6701c.js → index-21fee443.js} +6 -6
  204. package/build/{index-efa8f9aa.js → index-23f0f591.js} +2 -2
  205. package/build/{index-7d87d188.js → index-2977f557.js} +16 -16
  206. package/build/{index-d3902f48.js → index-390495f0.js} +6 -6
  207. package/build/{index-57d4af3d.js → index-3aae6ed2.js} +1 -1
  208. package/build/{index-7bbb8666.js → index-4391c1be.js} +16 -16
  209. package/build/{index-96cb59eb.js → index-487476a5.js} +13 -13
  210. package/build/{index-565b4a31.js → index-48c10a94.js} +18 -18
  211. package/build/{index-83e959ec.js → index-54fe7b0a.js} +2 -2
  212. package/build/{index-6e194032.js → index-56d369df.js} +3 -3
  213. package/build/{index-9a53330b.js → index-5fd6dce7.js} +2 -2
  214. package/build/{index-1fe609c8.js → index-635f1e73.js} +10 -10
  215. package/build/{index-d6ae99fe.js → index-650908cb.js} +2 -2
  216. package/build/{index-da9923e9.js → index-6c4992c4.js} +26 -26
  217. package/build/{index-e87aaaed.js → index-81b58b86.js} +17 -17
  218. package/build/{index-bcbde80a.js → index-82cf4d4f.js} +2 -2
  219. package/build/{index-319dd980.js → index-841cb4ad.js} +3 -3
  220. package/build/{index-2a157cb4.js → index-85bca058.js} +11 -11
  221. package/build/{index-e11a2253.js → index-885aede1.js} +1 -1
  222. package/build/{index-bb3661d9.js → index-8ffe558b.js} +3 -3
  223. package/build/{index-b9d4a1cc.js → index-9749de0b.js} +15 -15
  224. package/build/{index-fde15057.js → index-990699bb.js} +2 -2
  225. package/build/{index-bb042569.js → index-998e8726.js} +2 -2
  226. package/build/{index-c7b08e30.js → index-9e32cd19.js} +24 -24
  227. package/build/{index-0ec5dad2.js → index-a1f7a19c.js} +17 -17
  228. package/build/{index-189fe0cb.js → index-a7456a60.js} +3 -3
  229. package/build/{index-86532af6.js → index-a8cd4428.js} +20 -20
  230. package/build/{index-dafca2da.js → index-a8e43760.js} +13 -13
  231. package/build/{index-263118c3.js → index-ad80b183.js} +6 -6
  232. package/build/{index-3d4c012f.js → index-aee4ebbb.js} +16 -16
  233. package/build/{index-36ca76b1.js → index-b541306a.js} +2 -2
  234. package/build/{index-5d25a815.js → index-ba55adbd.js} +3 -3
  235. package/build/{index-a67d18a6.js → index-be776730.js} +1 -1
  236. package/build/{index-25f697d9.js → index-c01afb63.js} +1 -1
  237. package/build/{index-78b62d1c.js → index-c253c3e4.js} +5 -5
  238. package/build/{index-4987e584.js → index-c6dabd17.js} +5 -5
  239. package/build/{index-1edeb1ba.js → index-cb4468c0.js} +4 -4
  240. package/build/{index-f63a85f1.js → index-cc290860.js} +6 -6
  241. package/build/{index-1385cb6a.js → index-cda50901.js} +2 -2
  242. package/build/{index-38f3929d.js → index-d8a7becc.js} +2 -2
  243. package/build/{index-a03bc60c.js → index-e3c62210.js} +7 -7
  244. package/build/{index-71264140.js → index-e957ae0f.js} +21 -21
  245. package/build/{index-b444e2f8.js → index-e99a6160.js} +18 -18
  246. package/build/{index-93d51a5a.js → index-e9d88ea8.js} +13 -13
  247. package/build/{index-6ec4f983.js → index-ea44eed5.js} +16 -16
  248. package/build/{index-cb19479d.js → index-eca921e1.js} +30 -30
  249. package/build/{index-4d85de12.js → index-ed995666.js} +1 -1
  250. package/build/{index-8374644c.js → index-f5f85dbf.js} +2 -2
  251. package/build/{index-9be1b169.js → index-fc6f41d4.js} +3 -3
  252. package/build/{index-236c0e93.js → index-fddb8755.js} +7 -7
  253. package/build/{index-37f2ee8d.js → index-fded0d44.js} +1 -1
  254. package/build/index.js +112 -112
  255. package/build/{labelSorting-170da714.js → labelSorting-dc2c3bd8.js} +4 -4
  256. package/build/lead.js +24 -24
  257. package/build/{logoIcon-09d21928.js → logoIcon-135dc217.js} +2 -2
  258. package/build/mantine.js +22 -22
  259. package/build/misc.js +16 -16
  260. package/build/miscGetDynamicHealthTool.js +4 -4
  261. package/build/miscGetSocialList.js +8 -8
  262. package/build/miscScreenSizeContext.js +1 -1
  263. package/build/mobileBottomNavigation.js +5 -5
  264. package/build/mobileBottomNavigationIcon.js +5 -5
  265. package/build/molecules.js +69 -69
  266. package/build/moleculesArticleCard.js +6 -6
  267. package/build/moleculesArticleCardV2.js +16 -16
  268. package/build/navigation.js +40 -40
  269. package/build/navigationLogoutPopup.js +9 -9
  270. package/build/navigationProfileButton.js +23 -23
  271. package/build/onboardingV2.js +28 -28
  272. package/build/organisms.js +44 -44
  273. package/build/{post-2675fcf1.js → post-8b96aa7f.js} +2 -2
  274. package/build/profileNavigation.js +19 -19
  275. package/build/progressBar.js +1 -1
  276. package/build/pwg.js +22 -22
  277. package/build/ssoV2/index.d.ts +5 -0
  278. package/build/ssoV2/screens/components/progressBar.d.ts +5 -1
  279. package/build/ssoV2/screens/components/progressBar.utils.d.ts +6 -0
  280. package/build/ssoV2/ssoStateManager/store.d.ts +9 -0
  281. package/build/ssoV2.js +197 -75
  282. package/build/{store-27f18f35.js → store-77e43fb8.js} +9 -14
  283. package/build/subot.js +32 -32
  284. package/build/surveyOrPremiumBanner.js +31 -31
  285. package/build/surveyQuestionCard.js +10 -10
  286. package/build/{surveyThankyouCard-96338164.js → surveyThankyouCard-51d2f175.js} +5 -5
  287. package/build/together.js +53 -53
  288. package/build/togetherApiUtils.js +4 -4
  289. package/build/togetherAtoms.js +30 -30
  290. package/build/togetherComponentGlobalContext.js +4 -4
  291. package/build/togetherMolecules.js +48 -48
  292. package/build/togetherMoleculesCardAuthor.js +27 -27
  293. package/build/togetherMoleculesPostImagePreview.js +11 -11
  294. package/build/togetherMoleculesProfileDetail.js +37 -37
  295. package/build/togetherOrganisms.js +47 -47
  296. package/build/togetherRichTextEditor.js +17 -17
  297. package/build/togetherShareBox.js +10 -10
  298. package/build/{treePopoverMenu-af541350.js → treePopoverMenu-ec18536b.js} +19 -19
  299. package/build/{types-a0f4fdf2.js → types-e37ef133.js} +2 -2
  300. package/build/types.js +2 -2
  301. package/build/{useCategory-182c2bad.js → useCategory-645f6b16.js} +5 -5
  302. package/build/{useHealthToolCache-3fcca488.js → useHealthToolCache-0dd32c9d.js} +1 -1
  303. package/build/{useMantineLocale-e1b1849c.js → useMantineLocale-ed32e2e5.js} +6 -6
  304. package/build/{usePlacesAutocomplete-d669cf79.js → usePlacesAutocomplete-15ca451d.js} +1 -1
  305. package/build/{useScreenSize-edb9332e.js → useScreenSize-ce6c2232.js} +2 -2
  306. package/build/useTogetherAuthRequiredAction.js +9 -9
  307. package/build/{utils-3994f517.js → utils-03448a22.js} +3 -3
  308. package/build/{utils-7970b050.js → utils-1f5a1128.js} +2 -2
  309. package/build/{utils-a494b7af.js → utils-7b31a6bc.js} +2 -2
  310. package/build/vaccination.js +21 -21
  311. package/package.json +1 -1
  312. /package/build/{BMI_BOYS.percentile.monthly-163bc635.js → BMI_BOYS.percentile.monthly-34bb802d.js} +0 -0
  313. /package/build/{BMI_BOYS.percentile.weekly-db14e9dc.js → BMI_BOYS.percentile.weekly-b781fbf4.js} +0 -0
  314. /package/build/{BMI_BOYS.percentile.yearly-e5f93cd8.js → BMI_BOYS.percentile.yearly-1b135a83.js} +0 -0
  315. /package/build/{BMI_BOYS.zscore.monthly-8dfa0652.js → BMI_BOYS.zscore.monthly-372c40c1.js} +0 -0
  316. /package/build/{BMI_BOYS.zscore.weekly-46d94b74.js → BMI_BOYS.zscore.weekly-b9cb7209.js} +0 -0
  317. /package/build/{BMI_BOYS.zscore.yearly-0783ef68.js → BMI_BOYS.zscore.yearly-afbab117.js} +0 -0
  318. /package/build/{BMI_GIRLS.percentile.monthly-04f5cae7.js → BMI_GIRLS.percentile.monthly-6c835e41.js} +0 -0
  319. /package/build/{BMI_GIRLS.percentile.weekly-bd410861.js → BMI_GIRLS.percentile.weekly-91964c71.js} +0 -0
  320. /package/build/{BMI_GIRLS.percentile.yearly-d8f1a5ba.js → BMI_GIRLS.percentile.yearly-14ec2adc.js} +0 -0
  321. /package/build/{BMI_GIRLS.zscore.monthly-5d38fb5d.js → BMI_GIRLS.zscore.monthly-ea677d60.js} +0 -0
  322. /package/build/{BMI_GIRLS.zscore.weekly-a77f38d3.js → BMI_GIRLS.zscore.weekly-1ddc89e0.js} +0 -0
  323. /package/build/{BMI_GIRLS.zscore.yearly-396f43f2.js → BMI_GIRLS.zscore.yearly-c8bc48fd.js} +0 -0
  324. /package/build/{ChevronDown-a47bd082.js → ChevronDown-a4736fff.js} +0 -0
  325. /package/build/{Close-ef6255d6.js → Close-c60379ca.js} +0 -0
  326. /package/build/{Google-9f753fea.js → Google-b0097190.js} +0 -0
  327. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ce07d2d2.js → HEAD CIRCUM_BOYS.percentile.monthly-f02ba12b.js} +0 -0
  328. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5a61b93a.js → HEAD CIRCUM_BOYS.percentile.weekly-3da81a47.js} +0 -0
  329. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-42db8bb0.js → HEAD CIRCUM_BOYS.percentile.yearly-fcfb0d59.js} +0 -0
  330. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-70e05cc0.js → HEAD CIRCUM_BOYS.zscore.monthly-cbbbcaaa.js} +0 -0
  331. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-42ab734e.js → HEAD CIRCUM_BOYS.zscore.weekly-492600c3.js} +0 -0
  332. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-82f2b359.js → HEAD CIRCUM_BOYS.zscore.yearly-c2e10d0c.js} +0 -0
  333. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-fde63ff6.js → HEAD CIRCUM_GIRLS.percentile.monthly-96aa3937.js} +0 -0
  334. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-1b696060.js → HEAD CIRCUM_GIRLS.percentile.weekly-bd027857.js} +0 -0
  335. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-cb5b4a23.js → HEAD CIRCUM_GIRLS.percentile.yearly-e96a83fc.js} +0 -0
  336. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c46fe708.js → HEAD CIRCUM_GIRLS.zscore.monthly-dfbce003.js} +0 -0
  337. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-943953a4.js → HEAD CIRCUM_GIRLS.zscore.weekly-683838ce.js} +0 -0
  338. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-39ba8e62.js → HEAD CIRCUM_GIRLS.zscore.yearly-87483c17.js} +0 -0
  339. /package/build/{HEIGHT_BOYS.percentile.monthly-b7a5789b.js → HEIGHT_BOYS.percentile.monthly-f212f0ef.js} +0 -0
  340. /package/build/{HEIGHT_BOYS.percentile.weekly-f18768f2.js → HEIGHT_BOYS.percentile.weekly-bf145456.js} +0 -0
  341. /package/build/{HEIGHT_BOYS.percentile.yearly-0e20732a.js → HEIGHT_BOYS.percentile.yearly-8645cdb1.js} +0 -0
  342. /package/build/{HEIGHT_BOYS.zscore.monthly-f0f85ac9.js → HEIGHT_BOYS.zscore.monthly-6ad90703.js} +0 -0
  343. /package/build/{HEIGHT_BOYS.zscore.weekly-9bf6c26a.js → HEIGHT_BOYS.zscore.weekly-a669ab0f.js} +0 -0
  344. /package/build/{HEIGHT_BOYS.zscore.yearly-42a1a9dc.js → HEIGHT_BOYS.zscore.yearly-e6cb3749.js} +0 -0
  345. /package/build/{HEIGHT_GIRLS.percentile.monthly-9ea88575.js → HEIGHT_GIRLS.percentile.monthly-da82bbaf.js} +0 -0
  346. /package/build/{HEIGHT_GIRLS.percentile.weekly-87e4ee51.js → HEIGHT_GIRLS.percentile.weekly-71cca834.js} +0 -0
  347. /package/build/{HEIGHT_GIRLS.percentile.yearly-a04d8cad.js → HEIGHT_GIRLS.percentile.yearly-5c051f8c.js} +0 -0
  348. /package/build/{HEIGHT_GIRLS.zscore.monthly-ee0ccc38.js → HEIGHT_GIRLS.zscore.monthly-9cc31b45.js} +0 -0
  349. /package/build/{HEIGHT_GIRLS.zscore.weekly-49ede8a1.js → HEIGHT_GIRLS.zscore.weekly-3465f90a.js} +0 -0
  350. /package/build/{HEIGHT_GIRLS.zscore.yearly-74b9dd3c.js → HEIGHT_GIRLS.zscore.yearly-41c11015.js} +0 -0
  351. /package/build/{Locale-898525c8.js → Locale-edfd1e2d.js} +0 -0
  352. /package/build/{Visible-08c89993.js → Visible-7e79d0b4.js} +0 -0
  353. /package/build/{WEIGHT_BOYS.percentile.monthly-f6dafb7e.js → WEIGHT_BOYS.percentile.monthly-d1610d56.js} +0 -0
  354. /package/build/{WEIGHT_BOYS.percentile.weekly-d88b45f5.js → WEIGHT_BOYS.percentile.weekly-21585523.js} +0 -0
  355. /package/build/{WEIGHT_BOYS.percentile.yearly-d5c52b67.js → WEIGHT_BOYS.percentile.yearly-15d84bf6.js} +0 -0
  356. /package/build/{WEIGHT_BOYS.zscore.monthly-e8a5874b.js → WEIGHT_BOYS.zscore.monthly-6dd42b57.js} +0 -0
  357. /package/build/{WEIGHT_BOYS.zscore.weekly-0a618116.js → WEIGHT_BOYS.zscore.weekly-51b94935.js} +0 -0
  358. /package/build/{WEIGHT_BOYS.zscore.yearly-e34dc0db.js → WEIGHT_BOYS.zscore.yearly-c25c6271.js} +0 -0
  359. /package/build/{WEIGHT_GIRLS.percentile.monthly-2d3dda24.js → WEIGHT_GIRLS.percentile.monthly-f8dce4e5.js} +0 -0
  360. /package/build/{WEIGHT_GIRLS.percentile.weekly-0617e386.js → WEIGHT_GIRLS.percentile.weekly-2f3f40df.js} +0 -0
  361. /package/build/{WEIGHT_GIRLS.percentile.yearly-755ca74a.js → WEIGHT_GIRLS.percentile.yearly-1300f090.js} +0 -0
  362. /package/build/{WEIGHT_GIRLS.zscore.monthly-c4853dfb.js → WEIGHT_GIRLS.zscore.monthly-7af91795.js} +0 -0
  363. /package/build/{WEIGHT_GIRLS.zscore.weekly-21ecdad5.js → WEIGHT_GIRLS.zscore.weekly-9836b82b.js} +0 -0
  364. /package/build/{WEIGHT_GIRLS.zscore.yearly-6a5ffdd6.js → WEIGHT_GIRLS.zscore.yearly-3c254b6d.js} +0 -0
  365. /package/build/{animation-2bd1636b.js → animation-c517204e.js} +0 -0
  366. /package/build/{constants-e3b9753a.js → constants-3453d8ac.js} +0 -0
  367. /package/build/{constants-a2ac3390.js → constants-462dad39.js} +0 -0
  368. /package/build/{constants-a974aeef.js → constants-871de1bb.js} +0 -0
  369. /package/build/{dataTransform-3a17e512.js → dataTransform-840432fc.js} +0 -0
  370. /package/build/{doctor-5ffa9c62.js → doctor-ed1c422f.js} +0 -0
  371. /package/build/esm/{BMI_BOYS.percentile.monthly-83f4258b.js → BMI_BOYS.percentile.monthly-1eda819d.js} +0 -0
  372. /package/build/esm/{BMI_BOYS.percentile.weekly-5e5dbf6a.js → BMI_BOYS.percentile.weekly-03afbbe9.js} +0 -0
  373. /package/build/esm/{BMI_BOYS.percentile.yearly-36a88c2b.js → BMI_BOYS.percentile.yearly-72e641fb.js} +0 -0
  374. /package/build/esm/{BMI_BOYS.zscore.monthly-57f18a1a.js → BMI_BOYS.zscore.monthly-3c52129d.js} +0 -0
  375. /package/build/esm/{BMI_BOYS.zscore.weekly-43d8a76a.js → BMI_BOYS.zscore.weekly-6b460309.js} +0 -0
  376. /package/build/esm/{BMI_BOYS.zscore.yearly-32bfa9eb.js → BMI_BOYS.zscore.yearly-3200e347.js} +0 -0
  377. /package/build/esm/{BMI_GIRLS.percentile.monthly-16ddb6c8.js → BMI_GIRLS.percentile.monthly-0f6539fd.js} +0 -0
  378. /package/build/esm/{BMI_GIRLS.percentile.weekly-932e5de9.js → BMI_GIRLS.percentile.weekly-37b9af79.js} +0 -0
  379. /package/build/esm/{BMI_GIRLS.percentile.yearly-b65bdddc.js → BMI_GIRLS.percentile.yearly-a758416c.js} +0 -0
  380. /package/build/esm/{BMI_GIRLS.zscore.monthly-d3bfff58.js → BMI_GIRLS.zscore.monthly-b18785f2.js} +0 -0
  381. /package/build/esm/{BMI_GIRLS.zscore.weekly-d1ccf2de.js → BMI_GIRLS.zscore.weekly-3e68338e.js} +0 -0
  382. /package/build/esm/{BMI_GIRLS.zscore.yearly-94f7a708.js → BMI_GIRLS.zscore.yearly-bcbe13d0.js} +0 -0
  383. /package/build/esm/{ChevronDown-58aa7be5.js → ChevronDown-7684e837.js} +0 -0
  384. /package/build/esm/{Close-2df4e307.js → Close-94c355de.js} +0 -0
  385. /package/build/esm/{Google-534fb763.js → Google-42d190a1.js} +0 -0
  386. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-811b71d8.js → HEAD CIRCUM_BOYS.percentile.monthly-93fffb49.js} +0 -0
  387. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6ea70bf3.js → HEAD CIRCUM_BOYS.percentile.weekly-ad5b48eb.js} +0 -0
  388. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b1de52b7.js → HEAD CIRCUM_BOYS.percentile.yearly-e3d6819a.js} +0 -0
  389. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4a950220.js → HEAD CIRCUM_BOYS.zscore.monthly-d3f9bfe1.js} +0 -0
  390. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec908516.js → HEAD CIRCUM_BOYS.zscore.weekly-84436351.js} +0 -0
  391. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2da47d0a.js → HEAD CIRCUM_BOYS.zscore.yearly-1a7c80ea.js} +0 -0
  392. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d3e1310b.js → HEAD CIRCUM_GIRLS.percentile.monthly-a6d1a41f.js} +0 -0
  393. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-70bedc6c.js → HEAD CIRCUM_GIRLS.percentile.weekly-841c7dd7.js} +0 -0
  394. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2aea6df4.js → HEAD CIRCUM_GIRLS.percentile.yearly-30807d6f.js} +0 -0
  395. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-67c0479f.js → HEAD CIRCUM_GIRLS.zscore.monthly-e74bf964.js} +0 -0
  396. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2aa58e57.js → HEAD CIRCUM_GIRLS.zscore.weekly-b28c3d16.js} +0 -0
  397. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-fc75f5b2.js → HEAD CIRCUM_GIRLS.zscore.yearly-7746023e.js} +0 -0
  398. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-eb9a595f.js → HEIGHT_BOYS.percentile.monthly-46eec644.js} +0 -0
  399. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-824b9c80.js → HEIGHT_BOYS.percentile.weekly-74ae0ace.js} +0 -0
  400. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-131635e7.js → HEIGHT_BOYS.percentile.yearly-1640c7b5.js} +0 -0
  401. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ca5f5503.js → HEIGHT_BOYS.zscore.monthly-d41ab946.js} +0 -0
  402. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-fbbd2f0f.js → HEIGHT_BOYS.zscore.weekly-ec199baa.js} +0 -0
  403. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2d777215.js → HEIGHT_BOYS.zscore.yearly-ec37fc0d.js} +0 -0
  404. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cf056130.js → HEIGHT_GIRLS.percentile.monthly-684faf5f.js} +0 -0
  405. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-75cbd1f9.js → HEIGHT_GIRLS.percentile.weekly-063c3783.js} +0 -0
  406. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d5883c48.js → HEIGHT_GIRLS.percentile.yearly-8fbf740a.js} +0 -0
  407. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-3ccafbc2.js → HEIGHT_GIRLS.zscore.monthly-f7fe5edb.js} +0 -0
  408. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7320098c.js → HEIGHT_GIRLS.zscore.weekly-3e5362a9.js} +0 -0
  409. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-81e4603d.js → HEIGHT_GIRLS.zscore.yearly-188674a2.js} +0 -0
  410. /package/build/esm/{Locale-2e87b9e0.js → Locale-e7dd53a3.js} +0 -0
  411. /package/build/esm/{Visible-2f4753ae.js → Visible-76046539.js} +0 -0
  412. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-184ca594.js → WEIGHT_BOYS.percentile.monthly-fc5c846b.js} +0 -0
  413. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-44bc5a44.js → WEIGHT_BOYS.percentile.weekly-ce33d1dc.js} +0 -0
  414. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5da8735d.js → WEIGHT_BOYS.percentile.yearly-859b9e55.js} +0 -0
  415. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e6720584.js → WEIGHT_BOYS.zscore.monthly-5a20a925.js} +0 -0
  416. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0ad657e3.js → WEIGHT_BOYS.zscore.weekly-ad46a7d4.js} +0 -0
  417. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0b7a88cf.js → WEIGHT_BOYS.zscore.yearly-4e795b4b.js} +0 -0
  418. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-52d82c79.js → WEIGHT_GIRLS.percentile.monthly-1e70a54f.js} +0 -0
  419. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-25d98885.js → WEIGHT_GIRLS.percentile.weekly-471c1aba.js} +0 -0
  420. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-607eb204.js → WEIGHT_GIRLS.percentile.yearly-cdd5a5e1.js} +0 -0
  421. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-15612e78.js → WEIGHT_GIRLS.zscore.monthly-e5c4f0cb.js} +0 -0
  422. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-588856cd.js → WEIGHT_GIRLS.zscore.weekly-6e6e542b.js} +0 -0
  423. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-84f9d285.js → WEIGHT_GIRLS.zscore.yearly-bdc35cf0.js} +0 -0
  424. /package/build/esm/{animation-3b69e888.js → animation-c95ffdee.js} +0 -0
  425. /package/build/esm/{constants-32b6f6df.js → constants-6f6ddc36.js} +0 -0
  426. /package/build/esm/{constants-247ae229.js → constants-801453a8.js} +0 -0
  427. /package/build/esm/{constants-9a4711f0.js → constants-c98ae9ee.js} +0 -0
  428. /package/build/esm/{dataTransform-1ac1d68b.js → dataTransform-44516f8c.js} +0 -0
  429. /package/build/esm/{doctor-2827407f.js → doctor-b4f4f389.js} +0 -0
  430. /package/build/esm/{index-a3d55352.js → index-0c9f015b.js} +0 -0
  431. /package/build/esm/{index-f726dc06.js → index-24663632.js} +0 -0
  432. /package/build/esm/{index-719ee7d7.js → index-45755052.js} +0 -0
  433. /package/build/esm/{index-42f6f191.js → index-565a80b0.js} +0 -0
  434. /package/build/esm/{index-97a5bf7f.js → index-5ee57de7.js} +0 -0
  435. /package/build/esm/{index-ac957e4e.js → index-66150149.js} +0 -0
  436. /package/build/esm/{index-4726778a.js → index-66d97368.js} +0 -0
  437. /package/build/esm/{index-09acf6d4.js → index-ea14dc61.js} +0 -0
  438. /package/build/esm/{index-baa135c6.js → index-f18ef1e3.js} +0 -0
  439. /package/build/esm/{index.styles-59f8546d.js → index.styles-0e5fc387.js} +0 -0
  440. /package/build/esm/{localizeNumberFormat-a294181e.js → localizeNumberFormat-236a4b14.js} +0 -0
  441. /package/build/esm/{normalizeLink-302a0f70.js → normalizeLink-20a616dd.js} +0 -0
  442. /package/build/esm/{other-77d426ce.js → other-d17b315d.js} +0 -0
  443. /package/build/esm/{paths-947fcf2d.js → paths-3b888e98.js} +0 -0
  444. /package/build/esm/{translationsContext-e9460e5f.js → translationsContext-9d15b26c.js} +0 -0
  445. /package/build/esm/{tslib.es6-1f332cec.js → tslib.es6-35c86ab7.js} +0 -0
  446. /package/build/esm/{types-ea2c6088.js → types-38561610.js} +0 -0
  447. /package/build/esm/{useIsInit-03e2e5b9.js → useIsInit-4edc15a1.js} +0 -0
  448. /package/build/esm/{useOutsideClick-f8aea929.js → useOutsideClick-1fe587d9.js} +0 -0
  449. /package/build/esm/{useScrollbarSize-4f746c11.js → useScrollbarSize-b51b8144.js} +0 -0
  450. /package/build/esm/{useUniqueId-a7e66824.js → useUniqueId-310f5e9a.js} +0 -0
  451. /package/build/esm/{utils-20a45575.js → utils-d7279c01.js} +0 -0
  452. /package/build/{index-3fe72f6c.js → index-01dde6e7.js} +0 -0
  453. /package/build/{index-a09305cb.js → index-143cc75d.js} +0 -0
  454. /package/build/{index-b3c37d6a.js → index-1c2b8342.js} +0 -0
  455. /package/build/{index-95af6151.js → index-1da6abe7.js} +0 -0
  456. /package/build/{index-ce01976e.js → index-2f754923.js} +0 -0
  457. /package/build/{index-f924d5ff.js → index-906f7ec1.js} +0 -0
  458. /package/build/{index-7be61726.js → index-cb131ad9.js} +0 -0
  459. /package/build/{index-03670d3e.js → index-cbf82b14.js} +0 -0
  460. /package/build/{index-4dd09eeb.js → index-e4aac848.js} +0 -0
  461. /package/build/{index.styles-c8244365.js → index.styles-7a285dc7.js} +0 -0
  462. /package/build/{localizeNumberFormat-89f7665e.js → localizeNumberFormat-74bf45ff.js} +0 -0
  463. /package/build/{normalizeLink-5631868a.js → normalizeLink-bb0c5a5d.js} +0 -0
  464. /package/build/{other-035d01a2.js → other-43aa6d8c.js} +0 -0
  465. /package/build/{paths-bc546d0c.js → paths-b9ab401f.js} +0 -0
  466. /package/build/{translationsContext-564a0e7f.js → translationsContext-65682f9f.js} +0 -0
  467. /package/build/{tslib.es6-bb1ca47e.js → tslib.es6-114a4ba8.js} +0 -0
  468. /package/build/{types-30cf622d.js → types-35b59d6d.js} +0 -0
  469. /package/build/{useIsInit-648fd3e9.js → useIsInit-e2a88e32.js} +0 -0
  470. /package/build/{useOutsideClick-1e6fc86c.js → useOutsideClick-baeacb64.js} +0 -0
  471. /package/build/{useScrollbarSize-c7004c78.js → useScrollbarSize-1ae23b0a.js} +0 -0
  472. /package/build/{useUniqueId-5aafc9aa.js → useUniqueId-373a4f10.js} +0 -0
  473. /package/build/{utils-147526c6.js → utils-0d9945f3.js} +0 -0
@@ -1,27 +1,27 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-1f332cec.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-35c86ab7.js';
2
2
  import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
3
- import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-20fde46e.js';
4
- import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isPhoneNotVerifedYet, b as isUserFinishedSetup, c as isUserNeedPassword, f as fetchSSOV2Api, w as websiteId, d as SSO_V2_PATHS, e as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, j as updateUserInfo, k as isLoginWithPhoneNotVerifedYet, r as resetPassword, l as redirect } from './store-42029669.js';
5
- export { u as useSSOV2Store } from './store-42029669.js';
3
+ import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-974c8ac0.js';
4
+ import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-36a2023e.js';
5
+ export { u as useSSOV2Store } from './store-36a2023e.js';
6
6
  import { ChevronLeft } from '@hhgtech/icons/arrow';
7
7
  import { Close, Search } from '@hhgtech/icons/core';
8
- import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-96f54db4.js';
9
- import { L as LogoIcon } from './logoIcon-6f876f01.js';
10
- import { B as Button } from './index-6def7536.js';
11
- import { M as Modal } from './index-7eb2ec4a.js';
8
+ import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-5756472c.js';
9
+ import { L as LogoIcon } from './logoIcon-f7d8a376.js';
10
+ import { B as Button } from './index-4bd879eb.js';
11
+ import { M as Modal } from './index-f92a27e8.js';
12
12
  import { Stack, Flex, Box, Group } from '@mantine/core';
13
13
  import '@mantine/dates';
14
- import './index-a32f7b30.js';
15
- import './index-42f6f191.js';
16
- import { s as showNotification } from './useMantineLocale-b226b448.js';
17
- import { T as Text } from './index-a8e93d3f.js';
18
- import { u as useTranslations } from './index-5697df33.js';
14
+ import './index-a61170d8.js';
15
+ import './index-565a80b0.js';
16
+ import { s as showNotification } from './useMantineLocale-c2b902a7.js';
17
+ import { T as Text } from './index-26ac0d81.js';
18
+ import { u as useTranslations } from './index-88759ed1.js';
19
19
  import '@mantine/hooks';
20
- import './utils-20a45575.js';
21
- import './other-77d426ce.js';
22
- import './index-f780d8de.js';
23
- import { L as LOCALE } from './Locale-2e87b9e0.js';
24
- import { G as Google, F as Facebook } from './Google-534fb763.js';
20
+ import './utils-d7279c01.js';
21
+ import './other-d17b315d.js';
22
+ import './index-6dc065e0.js';
23
+ import { L as LOCALE } from './Locale-e7dd53a3.js';
24
+ import { G as Google, F as Facebook } from './Google-42d190a1.js';
25
25
  import { parsePhoneNumber, getCountryCallingCode } from 'react-phone-number-input';
26
26
  import styled from '@emotion/styled';
27
27
  import cn from 'classnames';
@@ -29,28 +29,28 @@ import { CaretDown } from '@hhgtech/icons/other';
29
29
  import debounce from 'lodash/debounce';
30
30
  import throttle from 'lodash/throttle';
31
31
  import Flags from 'react-phone-number-input/flags';
32
- import { u as useScreenSize } from './useScreenSize-e377ceca.js';
32
+ import { u as useScreenSize } from './useScreenSize-adb5e955.js';
33
33
  import { Drawer } from 'vaul';
34
- import { M as MAPPED_LOCALE } from './utils-52b3f649.js';
35
- import { S as Spoiler } from './index-fbff6e71.js';
34
+ import { M as MAPPED_LOCALE } from './utils-10cbbbdc.js';
35
+ import { S as Spoiler } from './index-7cbc7122.js';
36
36
  import { domainLocales } from './constantsDomainLocales.js';
37
37
  import { useForm, yupResolver } from '@mantine/form';
38
38
  import * as yup from 'yup';
39
39
  import dayjs from 'dayjs';
40
- import { D as DatePicker } from './index-da8cdc78.js';
40
+ import { D as DatePicker } from './index-bba5d96b.js';
41
41
  import '@mantine/carousel';
42
42
  import './miscTheme.js';
43
- import './useUniqueId-a7e66824.js';
43
+ import './useUniqueId-310f5e9a.js';
44
44
  import './constantsSite.js';
45
45
  import 'zustand';
46
46
  import './constantsIsProduction.js';
47
- import './normalizeLink-302a0f70.js';
47
+ import './normalizeLink-20a616dd.js';
48
48
  import './miscCookieHelper.js';
49
49
  import 'date-fns/locale';
50
50
  import './constantsRiskScreener.js';
51
- import './index.styles-59f8546d.js';
51
+ import './index.styles-0e5fc387.js';
52
52
  import '@mantine/notifications';
53
- import './translationsContext-e9460e5f.js';
53
+ import './translationsContext-9d15b26c.js';
54
54
 
55
55
  const SSOStateContext = createContext({
56
56
  locale: LOCALE.Vietnam,
@@ -158,6 +158,29 @@ const BackgroundHeader = () => (React__default.createElement("svg", { width: "29
158
158
  React__default.createElement("stop", { stopColor: "#fff", stopOpacity: "0" }),
159
159
  React__default.createElement("stop", { offset: "1", stopColor: "#fff" })))));
160
160
 
161
+ const isPhoneVerifedAlready = (userInfo, flowData) => {
162
+ var _a;
163
+ if (flowData === null || flowData === void 0 ? void 0 : flowData.metaData) {
164
+ return (_a = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _a === void 0 ? void 0 : _a.is_phone_verified;
165
+ }
166
+ return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at) && (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone);
167
+ };
168
+ const isSetupFullInfoAlready = (userInfo, flowData) => {
169
+ var _a, _b, _c;
170
+ if (flowData === null || flowData === void 0 ? void 0 : flowData.metaData) {
171
+ return (((_a = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _a === void 0 ? void 0 : _a.is_name) &&
172
+ ((_b = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _b === void 0 ? void 0 : _b.is_gender) &&
173
+ ((_c = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _c === void 0 ? void 0 : _c.is_birthday));
174
+ }
175
+ const hasName = !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.name);
176
+ const hasGender = typeof (userInfo === null || userInfo === void 0 ? void 0 : userInfo.gender) === 'number';
177
+ const hasBirthday = !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.birthday);
178
+ return hasName && hasGender && hasBirthday;
179
+ };
180
+ const isExistUpdateEmailStep = (steps) => {
181
+ return steps.find((s) => s.type === SSOStepTypeType.UPDATE_EMAIL);
182
+ };
183
+
161
184
  const isSocialFlowFn = (flowData) => {
162
185
  return (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'google' || (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'facebook';
163
186
  };
@@ -166,44 +189,63 @@ const isPhoneFlowFn = (flowData) => {
166
189
  (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'zalo' ||
167
190
  (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'phone');
168
191
  };
192
+ const isEmailFlowFn = (flowData) => {
193
+ return (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'email';
194
+ };
169
195
  const isDisplayProgressBarFn = (flowData, step) => {
170
196
  const showProgressBar = (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP ||
171
197
  (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.SETUP_FULL ||
172
198
  (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.VERIFY_PHONE ||
173
199
  (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.PASSWORD ||
174
200
  (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.FORGOT_PASSWORD_PHONE ||
175
- (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.FORGOT_PASSWORD_SETUP;
176
- // step?.type === SSOStepTypeType.PASSWORD
177
- const isWhiteListFlow = isSocialFlowFn(flowData) || isPhoneFlowFn(flowData);
201
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.FORGOT_PASSWORD_SETUP ||
202
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.EMAIL ||
203
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.UPDATE_EMAIL;
204
+ const isWhiteListFlow = isSocialFlowFn(flowData) ||
205
+ isPhoneFlowFn(flowData) ||
206
+ isEmailFlowFn(flowData);
178
207
  return showProgressBar && isWhiteListFlow;
179
208
  };
180
- const getCurrentStepNumber = (flowData, step, userInfo) => {
209
+ const getCurrentStepNumber = (flowData, { steps, currentStepIndex, }, userInfo) => {
210
+ var _a, _b;
211
+ const step = steps[currentStepIndex];
181
212
  const isSocialFlow = isSocialFlowFn(flowData);
182
213
  const isPhoneFlow = isPhoneFlowFn(flowData);
214
+ const isEmailFlow = isEmailFlowFn(flowData);
183
215
  /** Social (Google, Facebook): FIRST => VERIFY_PHONE | OTP => STEP_FULL */
184
216
  if (isSocialFlow) {
185
217
  const arrSteps = [
186
- isPhoneNotVerifedYet(userInfo)
218
+ !isPhoneVerifedAlready(userInfo, flowData)
187
219
  ? [SSOStepTypeType.VERIFY_PHONE, SSOStepTypeType.OTP]
188
220
  : undefined,
221
+ isExistUpdateEmailStep(steps)
222
+ ? (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP
223
+ ? SSOStepTypeType.OTP
224
+ : SSOStepTypeType.UPDATE_EMAIL
225
+ : undefined,
189
226
  !userInfo || !isUserFinishedSetup(userInfo)
190
227
  ? SSOStepTypeType.SETUP_FULL
191
228
  : undefined,
192
229
  ]
193
230
  .flat()
194
231
  .filter(Boolean);
232
+ const previousStep = steps[currentStepIndex - 1];
195
233
  return [
196
234
  arrSteps.length,
197
- arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
235
+ (previousStep === null || previousStep === void 0 ? void 0 : previousStep.type) === SSOStepTypeType.UPDATE_EMAIL
236
+ ? arrSteps.findLastIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1
237
+ : arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
198
238
  ];
199
239
  }
200
240
  if (isPhoneFlow && (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'signup') {
201
241
  const arrSteps = [
202
- isPhoneNotVerifedYet(userInfo) ? SSOStepTypeType.OTP : undefined,
203
- isUserNeedPassword(flowData, userInfo)
242
+ !isPhoneVerifedAlready(userInfo, flowData)
243
+ ? SSOStepTypeType.OTP
244
+ : undefined,
245
+ !((_a = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _a === void 0 ? void 0 : _a.is_pass)
204
246
  ? SSOStepTypeType.FORGOT_PASSWORD_SETUP
205
247
  : undefined,
206
- !userInfo || !isUserFinishedSetup(userInfo)
248
+ !isSetupFullInfoAlready(userInfo, flowData)
207
249
  ? SSOStepTypeType.SETUP_FULL
208
250
  : undefined,
209
251
  ]
@@ -215,22 +257,63 @@ const getCurrentStepNumber = (flowData, step, userInfo) => {
215
257
  ];
216
258
  }
217
259
  if (isPhoneFlow && (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'login') {
218
- const arrSteps = !userInfo
219
- ? []
220
- : [
221
- SSOStepTypeType.PASSWORD,
222
- isPhoneNotVerifedYet(userInfo)
223
- ? [SSOStepTypeType.FORGOT_PASSWORD_PHONE, SSOStepTypeType.OTP]
224
- : undefined,
225
- !isUserFinishedSetup(userInfo)
226
- ? SSOStepTypeType.SETUP_FULL
227
- : undefined,
228
- ]
229
- .flat()
230
- .filter(Boolean);
260
+ const arrSteps = [
261
+ SSOStepTypeType.PASSWORD,
262
+ !isPhoneVerifedAlready(userInfo, flowData)
263
+ ? [SSOStepTypeType.FORGOT_PASSWORD_PHONE, SSOStepTypeType.OTP]
264
+ : undefined,
265
+ isExistUpdateEmailStep(steps)
266
+ ? (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP
267
+ ? SSOStepTypeType.OTP
268
+ : SSOStepTypeType.UPDATE_EMAIL
269
+ : undefined,
270
+ !isSetupFullInfoAlready(userInfo, flowData)
271
+ ? SSOStepTypeType.SETUP_FULL
272
+ : undefined,
273
+ ]
274
+ .flat()
275
+ .filter(Boolean);
276
+ if (arrSteps.length === 2 &&
277
+ arrSteps[0] === SSOStepTypeType.PASSWORD &&
278
+ arrSteps[1] === SSOStepTypeType.SETUP_FULL) {
279
+ return [];
280
+ }
281
+ const previousStep = steps[currentStepIndex - 1];
231
282
  return [
232
283
  arrSteps.length,
233
- arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
284
+ (previousStep === null || previousStep === void 0 ? void 0 : previousStep.type) === SSOStepTypeType.UPDATE_EMAIL
285
+ ? arrSteps.findLastIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1
286
+ : arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
287
+ ];
288
+ }
289
+ if (isEmailFlow) {
290
+ const hasPasswordStep = !((_b = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _b === void 0 ? void 0 : _b.is_pass);
291
+ const hasPhoneStep = !isPhoneVerifedAlready(userInfo, flowData);
292
+ const hasSetupFullStep = !isSetupFullInfoAlready(userInfo, flowData);
293
+ if (!hasPasswordStep && !hasPhoneStep && !hasSetupFullStep)
294
+ return [];
295
+ const arrSteps = [
296
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP
297
+ ? SSOStepTypeType.OTP
298
+ : SSOStepTypeType.EMAIL,
299
+ hasPasswordStep
300
+ ? SSOStepTypeType.FORGOT_PASSWORD_SETUP
301
+ : SSOStepTypeType.PASSWORD,
302
+ hasPhoneStep
303
+ ? (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP
304
+ ? SSOStepTypeType.OTP
305
+ : SSOStepTypeType.VERIFY_PHONE
306
+ : undefined,
307
+ hasSetupFullStep ? SSOStepTypeType.SETUP_FULL : undefined,
308
+ ]
309
+ .flat()
310
+ .filter(Boolean);
311
+ const previousStep = steps[currentStepIndex - 1];
312
+ return [
313
+ arrSteps.length,
314
+ (previousStep === null || previousStep === void 0 ? void 0 : previousStep.type) === SSOStepTypeType.VERIFY_PHONE
315
+ ? arrSteps.findLastIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1
316
+ : arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
234
317
  ];
235
318
  }
236
319
  return [];
@@ -241,8 +324,7 @@ const ProgressBar = () => {
241
324
  const { flowData, userInfo } = useSSOV2Store();
242
325
  /** No need update state IF userInfo is changed */
243
326
  const initUserInfo = useMemo(() => userInfo, [userInfo]);
244
- const currentStep = steps[currentStepIndex];
245
- const [totalStepNumber, activeStepNumber] = getCurrentStepNumber(flowData, currentStep, initUserInfo);
327
+ const [totalStepNumber, activeStepNumber] = getCurrentStepNumber(flowData, { steps, currentStepIndex }, initUserInfo);
246
328
  if (!activeStepNumber || totalStepNumber === 1)
247
329
  return null;
248
330
  return (React__default.createElement(Flex, { gap: 2 }, Array.from({ length: totalStepNumber }).map((_, idx) => {
@@ -266,7 +348,8 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
266
348
  const showProgressBar = isDisplayProgressBarFn(flowData, currentStep);
267
349
  const showBack = (steps.length > 1 && !showProgressBar) ||
268
350
  (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.OTP ||
269
- (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.PASSWORD;
351
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.PASSWORD ||
352
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.EMAIL;
270
353
  const showClose = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.FIRST;
271
354
  const showLogo = (steps.length === 1 || showProgressBar) && !showBack;
272
355
  const logoType = (_a = LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE;
@@ -507,6 +590,7 @@ const SSOEmailScreen = ({ hidden, }) => {
507
590
  flowData: {
508
591
  method: 'email',
509
592
  flow: 'login',
593
+ metaData: existRes._data,
510
594
  },
511
595
  });
512
596
  // go to password screen
@@ -524,6 +608,7 @@ const SSOEmailScreen = ({ hidden, }) => {
524
608
  flowData: {
525
609
  method: 'email',
526
610
  flow: 'signup',
611
+ metaData: existRes._data,
527
612
  },
528
613
  });
529
614
  if (!((_b = existRes._data) === null || _b === void 0 ? void 0 : _b.provider)) {
@@ -542,7 +627,7 @@ const SSOEmailScreen = ({ hidden, }) => {
542
627
  config: {
543
628
  email,
544
629
  otpType: 'email',
545
- afterAction: 'setup',
630
+ afterAction: 'forgot',
546
631
  },
547
632
  });
548
633
  goNext();
@@ -2293,6 +2378,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2293
2378
  flowData: {
2294
2379
  method: 'zalo',
2295
2380
  flow: 'login',
2381
+ metaData: userExist._data,
2296
2382
  },
2297
2383
  });
2298
2384
  addStep({
@@ -2320,6 +2406,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2320
2406
  flowData: {
2321
2407
  method: 'zalo',
2322
2408
  flow: 'signup',
2409
+ metaData: userExist._data,
2323
2410
  },
2324
2411
  });
2325
2412
  addStep({
@@ -2354,6 +2441,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2354
2441
  flowData: {
2355
2442
  method: 'sms',
2356
2443
  flow: 'login',
2444
+ metaData: userExist._data,
2357
2445
  },
2358
2446
  });
2359
2447
  addStep({
@@ -2381,6 +2469,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2381
2469
  flowData: {
2382
2470
  method: 'sms',
2383
2471
  flow: 'signup',
2472
+ metaData: userExist._data,
2384
2473
  },
2385
2474
  });
2386
2475
  addStep({
@@ -2422,6 +2511,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2422
2511
  flowData: {
2423
2512
  method: 'phone',
2424
2513
  flow: 'login',
2514
+ metaData: userExist._data,
2425
2515
  },
2426
2516
  });
2427
2517
  addStep({
@@ -2631,15 +2721,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
2631
2721
  }, [hidden]);
2632
2722
  const addStepAndGoNext = (step) => {
2633
2723
  useSSOSteps.setState((old) => {
2634
- var _a, _b;
2635
2724
  const oldSteps = old.steps;
2636
- if (((_a = oldSteps[index - 1]) === null || _a === void 0 ? void 0 : _a.type) === SSOStepTypeType.VERIFY_PHONE ||
2637
- ((_b = oldSteps[index - 1]) === null || _b === void 0 ? void 0 : _b.type) === SSOStepTypeType.UPDATE_EMAIL) {
2638
- return {
2639
- steps: oldSteps.slice(0, index - 1).concat(step),
2640
- currentStepIndex: index - 1,
2641
- };
2642
- }
2643
2725
  return {
2644
2726
  steps: oldSteps.slice(0, index).concat(step),
2645
2727
  currentStepIndex: index,
@@ -3057,6 +3139,7 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
3057
3139
  handleAuthSuccess(data);
3058
3140
  const userInfo = yield getUserInfo();
3059
3141
  const isPhoneFlow = isPhoneFlowFn(flowData);
3142
+ const isEmailFlow = isEmailFlowFn(flowData);
3060
3143
  setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
3061
3144
  if (!phone && !!email) {
3062
3145
  if (isPhoneNotVerifedYet(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
@@ -3084,7 +3167,7 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
3084
3167
  goNext();
3085
3168
  return;
3086
3169
  }
3087
- if (isPhoneFlow && !isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3170
+ if ((isPhoneFlow || isEmailFlow) && !isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3088
3171
  addStep({
3089
3172
  type: SSOStepTypeType.SETUP_FULL,
3090
3173
  config: {
@@ -3146,7 +3229,7 @@ const SetupLater = ({ style = {} }) => {
3146
3229
  const { t } = useTranslations();
3147
3230
  const { onClose } = useSSOState();
3148
3231
  const [loading, setLoading] = useState(false);
3149
- const { userInfo } = useSSOV2Store();
3232
+ const { userInfo, flowData } = useSSOV2Store();
3150
3233
  const { currentStepIndex, steps, addStep, goNext } = useSSOSteps();
3151
3234
  const currentStep = steps[currentStepIndex];
3152
3235
  const onClickSetupLater = () => __awaiter(void 0, void 0, void 0, function* () {
@@ -3165,6 +3248,16 @@ const SetupLater = ({ style = {} }) => {
3165
3248
  });
3166
3249
  goNext();
3167
3250
  }
3251
+ else if (!isFlowFinishedSetup(flowData) &&
3252
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.VERIFY_PHONE) {
3253
+ addStep({
3254
+ type: SSOStepTypeType.SETUP_FULL,
3255
+ config: {
3256
+ userInfo,
3257
+ },
3258
+ });
3259
+ goNext();
3260
+ }
3168
3261
  else {
3169
3262
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
3170
3263
  }
@@ -3335,7 +3428,7 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3335
3428
  const [errMsg, setErrMsg] = React__default.useState('');
3336
3429
  const { setTracking, onClose } = useSSOState();
3337
3430
  const { addStep, goNext } = useSSOSteps();
3338
- const { flowData } = useSSOV2Store();
3431
+ const { flowData, setUserInfo } = useSSOV2Store();
3339
3432
  const trackingMethod = flowData.method;
3340
3433
  const trackingCategory = `SSO - Sign In via ${trackingMethod}`;
3341
3434
  const trackingAction = `Setup New Password`;
@@ -3373,7 +3466,8 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3373
3466
  password.length <= 50 &&
3374
3467
  password.match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/) &&
3375
3468
  password === confirmPassword) {
3376
- const res = isPhoneFlowFn(flowData)
3469
+ const isPhoneOrEmailFlow = isPhoneFlowFn(flowData) || isEmailFlowFn(flowData);
3470
+ const res = isPhoneOrEmailFlow
3377
3471
  ? yield updateUserInfo({
3378
3472
  password,
3379
3473
  confirm_password: confirmPassword,
@@ -3381,20 +3475,39 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3381
3475
  })
3382
3476
  : yield resetPassword(password, confirmPassword);
3383
3477
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
3384
- if (isPhoneFlowFn(flowData)) {
3478
+ if (isPhoneOrEmailFlow) {
3385
3479
  handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
3386
3480
  const userInfo = yield getUserInfo();
3387
- if (userInfo && !isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3388
- addStep({
3389
- type: SSOStepTypeType.SETUP_FULL,
3390
- config: {
3391
- userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data,
3392
- },
3393
- });
3394
- goNext();
3481
+ // Phone
3482
+ if (isPhoneFlowFn(flowData)) {
3483
+ if (userInfo && !isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3484
+ addStep({
3485
+ type: SSOStepTypeType.SETUP_FULL,
3486
+ config: {
3487
+ userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data,
3488
+ },
3489
+ });
3490
+ goNext();
3491
+ }
3492
+ else {
3493
+ onClose === null || onClose === void 0 ? void 0 : onClose(true);
3494
+ }
3395
3495
  }
3396
- else {
3397
- onClose === null || onClose === void 0 ? void 0 : onClose(true);
3496
+ // Email
3497
+ if (isEmailFlowFn(flowData)) {
3498
+ setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
3499
+ if (isPhoneNotVerifedYet(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3500
+ addStep({
3501
+ type: SSOStepTypeType.VERIFY_PHONE,
3502
+ config: {
3503
+ provider: 'email',
3504
+ },
3505
+ });
3506
+ goNext();
3507
+ }
3508
+ else {
3509
+ onClose === null || onClose === void 0 ? void 0 : onClose(true);
3510
+ }
3398
3511
  }
3399
3512
  }
3400
3513
  else {
@@ -3922,6 +4035,15 @@ const SSOScreenRenderer = () => {
3922
4035
  })));
3923
4036
  };
3924
4037
 
4038
+ if (!Array.prototype.findLastIndex) {
4039
+ Array.prototype.findLastIndex = function (callback, thisArg) {
4040
+ for (let i = this.length - 1; i >= 0; i--) {
4041
+ if (callback.call(thisArg, this[i], i, this))
4042
+ return i;
4043
+ }
4044
+ return -1;
4045
+ };
4046
+ }
3925
4047
  const SSOV2 = ({ onClose: onCloseProps, locale }) => {
3926
4048
  const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose, setOnCloseProp, forceReloadOnClose, } = useSSOV2Store();
3927
4049
  useEffect(() => {
@@ -1,8 +1,8 @@
1
- import { a as __awaiter } from './tslib.es6-1f332cec.js';
1
+ import { a as __awaiter } from './tslib.es6-35c86ab7.js';
2
2
  import { create } from 'zustand';
3
3
  import { isProduction } from './constantsIsProduction.js';
4
- import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-302a0f70.js';
5
- import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-96f54db4.js';
4
+ import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-20a616dd.js';
5
+ import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-5756472c.js';
6
6
  import { setCookie, getCookie } from './miscCookieHelper.js';
7
7
  import { domainLocales } from './constantsDomainLocales.js';
8
8
 
@@ -463,16 +463,11 @@ const isUserFinishedSetup = (userInfo) => {
463
463
  const hasGender = typeof (userInfo === null || userInfo === void 0 ? void 0 : userInfo.gender) === 'number';
464
464
  return hasName && hasBirthday && hasGender;
465
465
  };
466
- const isUserNeedPassword = (flowData, userInfo) => {
467
- const authMethod = flowData.method;
468
- const provider = userInfo === null || userInfo === void 0 ? void 0 : userInfo.provider;
469
- return ((authMethod === 'phone' ||
470
- authMethod === 'zalo' ||
471
- authMethod === 'sms' ||
472
- authMethod === 'email' ||
473
- provider === 'email' ||
474
- provider === 'phone') &&
475
- !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.is_pass));
466
+ const isFlowFinishedSetup = (flowData) => {
467
+ var _a, _b, _c;
468
+ return (((_a = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _a === void 0 ? void 0 : _a.is_gender) &&
469
+ ((_b = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _b === void 0 ? void 0 : _b.is_name) &&
470
+ ((_c = flowData === null || flowData === void 0 ? void 0 : flowData.metaData) === null || _c === void 0 ? void 0 : _c.is_birthday));
476
471
  };
477
472
  const isPhoneNotVerifedYet = (userInfo) => {
478
473
  return !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at) || !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone);
@@ -484,4 +479,4 @@ const isLoginWithPhoneNotVerifedYet = (flowData, userInfo) => {
484
479
  !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at));
485
480
  };
486
481
 
487
- export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, isUserFinishedSetup as b, isUserNeedPassword as c, SSO_V2_PATHS as d, checkUserExist as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isPhoneNotVerifedYet as i, updateUserInfo as j, isLoginWithPhoneNotVerifedYet as k, redirect as l, resetPassword as r, useSSOV2Store as u, websiteId as w };
482
+ export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, SSO_V2_PATHS as b, checkUserExist as c, updateUserInfo as d, isPhoneNotVerifedYet as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isUserFinishedSetup as i, isLoginWithPhoneNotVerifedYet as j, isFlowFinishedSetup as k, redirect as l, resetPassword as r, useSSOV2Store as u, websiteId as w };
@@ -1,73 +1,73 @@
1
1
  import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
2
- import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-a32f7b30.js';
3
- import { a as __awaiter, _ as __rest } from './tslib.es6-1f332cec.js';
4
- import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-96f54db4.js';
2
+ import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-a61170d8.js';
3
+ import { a as __awaiter, _ as __rest } from './tslib.es6-35c86ab7.js';
4
+ import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-5756472c.js';
5
5
  import Cookies from 'js-cookie';
6
6
  import fd from 'fastdom';
7
7
  import fastdomPromised from 'fastdom/extensions/fastdom-promised';
8
- import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-53b9e11c.js';
8
+ import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-33525a90.js';
9
9
  import formatString from 'string-format';
10
- import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-e17e5b43.js';
11
- export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-e17e5b43.js';
10
+ import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-334295e8.js';
11
+ export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-334295e8.js';
12
12
  import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
13
13
  import cn from 'classnames';
14
- import { C as Container$w } from './index-4726778a.js';
15
- import { L as Loading } from './index-6e2db221.js';
14
+ import { C as Container$w } from './index-66d97368.js';
15
+ import { L as Loading } from './index-21dd1ec2.js';
16
16
  import { motion } from 'framer-motion';
17
17
  import styled from '@emotion/styled';
18
- import { M as MediaQueries } from './utils-20a45575.js';
19
- import { B as Button } from './index-6def7536.js';
18
+ import { M as MediaQueries } from './utils-d7279c01.js';
19
+ import { B as Button } from './index-4bd879eb.js';
20
20
  import { Remarkable } from 'remarkable';
21
21
  import { ArrowRight } from '@hhgtech/icons/other';
22
22
  import { useInView } from 'react-intersection-observer';
23
23
  import { Box, Textarea } from '@mantine/core';
24
- import { C as CommonGAssets } from './index-42f6f191.js';
24
+ import { C as CommonGAssets } from './index-565a80b0.js';
25
25
  import dayjs from 'dayjs';
26
26
  import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
27
- import { d as LEAD_TOKEN_COOKIE } from './constants-247ae229.js';
27
+ import { d as LEAD_TOKEN_COOKIE } from './constants-801453a8.js';
28
28
  import { v4 } from 'uuid';
29
- import { T as Text } from './index-a8e93d3f.js';
29
+ import { T as Text } from './index-26ac0d81.js';
30
30
  import { theme } from './miscTheme.js';
31
31
  import { isProduction } from './constantsIsProduction.js';
32
- import { S as Select } from './index-20fde46e.js';
32
+ import { S as Select } from './index-974c8ac0.js';
33
33
  import '@mantine/dates';
34
- import './useMantineLocale-b226b448.js';
35
- import './index.styles-59f8546d.js';
36
- import './translationsContext-e9460e5f.js';
34
+ import './useMantineLocale-c2b902a7.js';
35
+ import './index.styles-0e5fc387.js';
36
+ import './translationsContext-9d15b26c.js';
37
37
  import '@mantine/hooks';
38
- import './other-77d426ce.js';
39
- import './index-f780d8de.js';
38
+ import './other-d17b315d.js';
39
+ import './index-6dc065e0.js';
40
40
  import isEmpty from 'lodash/isEmpty';
41
41
  import { Controller, useForm } from 'react-hook-form';
42
42
  import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
43
43
  import { LoadScript } from '@react-google-maps/api';
44
- import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-a0bb01e3.js';
44
+ import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-f8b1b6ce.js';
45
45
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
46
- import { L as LOCALE } from './Locale-2e87b9e0.js';
47
- import { D as DatePicker } from './index-a3d55352.js';
48
- import { D as Dropdown } from './index-ac957e4e.js';
49
- import { B as Button$1 } from './index-e57673f8.js';
50
- import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-42029669.js';
46
+ import { L as LOCALE } from './Locale-e7dd53a3.js';
47
+ import { D as DatePicker } from './index-0c9f015b.js';
48
+ import { D as Dropdown } from './index-66150149.js';
49
+ import { B as Button$1 } from './index-8d92fdfc.js';
50
+ import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-36a2023e.js';
51
51
  import 'date-fns/locale';
52
52
  import './constantsSite.js';
53
53
  import './constantsRiskScreener.js';
54
- import './index-09acf6d4.js';
54
+ import './index-ea14dc61.js';
55
55
  import './miscCookieHelper.js';
56
56
  import 'slugify';
57
57
  import './togetherApiPaths.js';
58
- import './index-d6ace35c.js';
59
- import './WhatsApp-f85e59bd.js';
60
- import './Spinner-6c18847f.js';
61
- import './index-5697df33.js';
62
- import './useScreenSize-e377ceca.js';
58
+ import './index-c6dd477d.js';
59
+ import './WhatsApp-3817574d.js';
60
+ import './Spinner-d9c3c089.js';
61
+ import './index-88759ed1.js';
62
+ import './useScreenSize-adb5e955.js';
63
63
  import '@mantine/carousel';
64
- import './useUniqueId-a7e66824.js';
64
+ import './useUniqueId-310f5e9a.js';
65
65
  import '@hhgtech/icons/core';
66
66
  import '@mantine/notifications';
67
67
  import 'date-fns';
68
68
  import 'react-day-picker/DayPickerInput';
69
69
  import 'zustand';
70
- import './normalizeLink-302a0f70.js';
70
+ import './normalizeLink-20a616dd.js';
71
71
 
72
72
  // extend fastdom
73
73
  const fastdom = fd.extend(fastdomPromised);