@hhgtech/hhg-components 1.29.309 → 1.29.310-beta-1

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 (506) hide show
  1. package/README.md +2 -0
  2. package/build/{LastPeriod-0b670cad.js → LastPeriod-95a5fb5d.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-1f2cb78e.js → MobileBottomNavigationIcon-4f981b98.js} +3 -3
  4. package/build/{Spinner-f58b472b.js → Spinner-1d96212a.js} +1 -1
  5. package/build/{WhatsApp-99b23e0c.js → WhatsApp-9baacaf7.js} +1 -1
  6. package/build/adapters.js +19 -19
  7. package/build/atoms.js +46 -46
  8. package/build/babyGrowth.js +83 -83
  9. package/build/cache.js +2 -2
  10. package/build/care.js +17 -17
  11. package/build/careBookingSearchBar.js +14 -14
  12. package/build/careBookingSearchBarV2.js +15 -15
  13. package/build/components.js +90 -90
  14. package/build/{constants-9eab1b41.js → constants-4b3e94a3.js} +1 -1
  15. package/build/constants.js +3 -3
  16. package/build/constantsDomainLocales.js +1 -1
  17. package/build/constantsRiskScreener.js +2 -2
  18. package/build/constantsSite.js +2 -2
  19. package/build/{core-78540d2a.js → core-be4a2793.js} +1 -1
  20. package/build/{dataTransform-c1245ce6.js → dataTransform-65a77d3d.js} +1 -1
  21. package/build/ecom.js +4 -4
  22. package/build/{editor-1fb2ef33.js → editor-924e0625.js} +11 -11
  23. package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
  24. package/build/embeddedHeathToolCards_babyPoop.js +19 -19
  25. package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
  26. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
  27. package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
  28. package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  29. package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  30. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
  31. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
  32. package/build/esm/{LastPeriod-df537ca2.js → LastPeriod-893831fb.js} +1 -1
  33. package/build/esm/{MobileBottomNavigationIcon-6e8dbea8.js → MobileBottomNavigationIcon-ef92fdb1.js} +3 -3
  34. package/build/esm/{Spinner-ccaf7faa.js → Spinner-ea8190a4.js} +1 -1
  35. package/build/esm/{WhatsApp-2a8d3475.js → WhatsApp-9b55e66f.js} +1 -1
  36. package/build/esm/adapters.js +19 -19
  37. package/build/esm/atoms.js +46 -46
  38. package/build/esm/babyGrowth.js +83 -83
  39. package/build/esm/cache.js +2 -2
  40. package/build/esm/care.js +17 -17
  41. package/build/esm/careBookingSearchBar.js +14 -14
  42. package/build/esm/careBookingSearchBarV2.js +15 -15
  43. package/build/esm/components.js +90 -90
  44. package/build/esm/{constants-1403a09e.js → constants-152928bb.js} +1 -1
  45. package/build/esm/constants.js +3 -3
  46. package/build/esm/constantsDomainLocales.js +1 -1
  47. package/build/esm/constantsRiskScreener.js +2 -2
  48. package/build/esm/constantsSite.js +2 -2
  49. package/build/esm/{core-9d4e8fd6.js → core-e71416a1.js} +1 -1
  50. package/build/esm/{dataTransform-c8ceea31.js → dataTransform-aef55557.js} +1 -1
  51. package/build/esm/ecom.js +4 -4
  52. package/build/esm/{editor-98136da9.js → editor-b98db583.js} +11 -11
  53. package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
  54. package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
  55. package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
  56. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
  57. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
  58. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
  59. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
  60. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
  61. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
  62. package/build/esm/{fixedBottomAdBlock-c1ab9fa6.js → fixedBottomAdBlock-29881184.js} +24 -24
  63. package/build/esm/footer.js +21 -21
  64. package/build/esm/gAssets.js +2 -2
  65. package/build/esm/healthToolsCardWrapper.js +18 -18
  66. package/build/esm/healthToolsForm.js +33 -33
  67. package/build/esm/hooks.js +13 -13
  68. package/build/esm/i18n/translationKeys.d.ts +1 -1
  69. package/build/esm/i18n-values/en-PH.js +1 -0
  70. package/build/esm/i18n-values/hi-IN.js +1 -0
  71. package/build/esm/i18n-values/id-ID.js +1 -0
  72. package/build/esm/i18n-values/km-KH.js +2 -1
  73. package/build/esm/i18n-values/ms-MY.js +1 -0
  74. package/build/esm/i18n-values/my-MM.js +1 -0
  75. package/build/esm/i18n-values/th-TH.js +1 -0
  76. package/build/esm/i18n-values/tl-PH.js +1 -0
  77. package/build/esm/i18n-values/vi-VN.js +1 -0
  78. package/build/esm/i18n-values/vi-VN_MB.js +1 -0
  79. package/build/esm/i18n-values/zh-TW.js +1 -0
  80. package/build/esm/i18n.js +2 -2
  81. package/build/esm/i18nV2.js +2 -2
  82. package/build/esm/{index-2d9df233.js → index-0651c5ac.js} +13 -13
  83. package/build/esm/{index-4c352ebb.js → index-0c004a97.js} +2 -2
  84. package/build/esm/{index-387ea0fa.js → index-11d83839.js} +3 -3
  85. package/build/esm/{index-9193ecaa.js → index-1a54d919.js} +1 -1
  86. package/build/esm/{index-936b1263.js → index-1e6d0f15.js} +30 -30
  87. package/build/esm/{index-eb94964b.js → index-26955df3.js} +2 -2
  88. package/build/esm/{index-8b3349d6.js → index-282ba429.js} +21 -21
  89. package/build/esm/{index-405fe950.js → index-2dfb8a9f.js} +15 -15
  90. package/build/esm/{index-fa1b0d7d.js → index-3b6b1785.js} +18 -18
  91. package/build/esm/{index-3571a567.js → index-3c55a4c4.js} +7 -7
  92. package/build/esm/{index-4f5f4e7c.js → index-3f11fd36.js} +24 -24
  93. package/build/esm/{index-887815f1.js → index-414d9a18.js} +2 -2
  94. package/build/esm/{index-b8a6eedd.js → index-43ca239e.js} +6 -6
  95. package/build/esm/{index-261f6b66.js → index-467186af.js} +2 -2
  96. package/build/esm/{index-3f47dc07.js → index-4c5cd577.js} +13 -13
  97. package/build/esm/{index-313f43de.js → index-4d4121ea.js} +17 -17
  98. package/build/esm/{index-f566ed64.js → index-4fc8d292.js} +16 -16
  99. package/build/esm/{index-e296cca7.js → index-54305bf9.js} +1 -1
  100. package/build/esm/{index-50db8d16.js → index-5c1a8ba0.js} +26 -26
  101. package/build/esm/{index-8b2bb6dd.js → index-5c9d48d1.js} +2 -2
  102. package/build/esm/{index-80ffec58.js → index-6c17d736.js} +16 -16
  103. package/build/esm/{index-d457d5b4.js → index-707d8ae5.js} +1 -1
  104. package/build/esm/{index-226d2796.js → index-73e4e68b.js} +2 -2
  105. package/build/esm/{index-05d471cd.js → index-8021f80f.js} +4 -4
  106. package/build/esm/{index-f354c81c.js → index-84a66805.js} +3 -3
  107. package/build/esm/{index-5cfbe80d.js → index-92f80934.js} +1 -1
  108. package/build/esm/{index-80fe9b84.js → index-974b547b.js} +3 -3
  109. package/build/esm/{index-77ece98a.js → index-981dbcfd.js} +1 -1
  110. package/build/esm/{index-840f45f8.js → index-9a088ad9.js} +32 -32
  111. package/build/esm/{index-266f5e3c.js → index-9a10d945.js} +6 -6
  112. package/build/esm/{index-b8473147.js → index-9c5d09bb.js} +17 -17
  113. package/build/esm/{index-034ca26f.js → index-a95c3e30.js} +5 -5
  114. package/build/esm/{index-24a7f8b6.js → index-b12d78ac.js} +2 -2
  115. package/build/esm/{index-2c192875.js → index-b2d7d0c3.js} +1 -1
  116. package/build/esm/{index-eec7c7b3.js → index-b698bfdc.js} +1 -1
  117. package/build/esm/{index-e82971ac.js → index-b70f5d64.js} +11 -11
  118. package/build/esm/{index-c03ae3fa.js → index-bb0ead2a.js} +5 -5
  119. package/build/esm/{index-c6745db6.js → index-bbee3431.js} +20 -20
  120. package/build/esm/{index-17d22e06.js → index-bc39c0ed.js} +2 -2
  121. package/build/esm/{index-7e97923d.js → index-bc3af31b.js} +3 -3
  122. package/build/esm/{index-4f41fed0.js → index-bfc9dc22.js} +6 -6
  123. package/build/esm/{index-bcd52ada.js → index-c021d85c.js} +16 -16
  124. package/build/esm/{index-5eeaa8e7.js → index-c0f417ec.js} +2 -2
  125. package/build/esm/{index-55ebb451.js → index-c2bf75e3.js} +17 -17
  126. package/build/esm/{index-072b479a.js → index-cc404615.js} +1 -1
  127. package/build/esm/{index-fdafae75.js → index-d1e09c88.js} +2 -2
  128. package/build/esm/{index-1497a765.js → index-d58edcc7.js} +2 -2
  129. package/build/esm/{index-ba357004.js → index-d67746cc.js} +13 -13
  130. package/build/esm/{index-9d96871f.js → index-d7fc2322.js} +3 -3
  131. package/build/esm/{index-948284e5.js → index-dc2d3774.js} +18 -18
  132. package/build/esm/{index-be21276f.js → index-dd7e3fb7.js} +2 -2
  133. package/build/esm/{index-1edf54ef.js → index-dec948ed.js} +15 -15
  134. package/build/esm/{index-825ab18c.js → index-e08b17f2.js} +13 -13
  135. package/build/esm/{index-53707149.js → index-e7014901.js} +16 -16
  136. package/build/esm/{index-926a919b.js → index-e782c8f9.js} +7 -7
  137. package/build/esm/{index-a5f05b4f.js → index-ee9c14f3.js} +6 -6
  138. package/build/esm/{index-d4942a01.js → index-eea15ce6.js} +3 -3
  139. package/build/esm/{index-c72a5758.js → index-ef4612a9.js} +1 -1
  140. package/build/esm/{index-8b89c7c4.js → index-f30b5eb1.js} +10 -10
  141. package/build/esm/{index-f159e302.js → index-fae77dcc.js} +3 -3
  142. package/build/esm/index.js +112 -112
  143. package/build/esm/{labelSorting-6af5cdd0.js → labelSorting-7be65404.js} +4 -4
  144. package/build/esm/lead/components/otpBlock/index.d.ts +1 -1
  145. package/build/esm/lead/layouts/lightbox/otpBlock.d.ts +2 -2
  146. package/build/esm/lead/services/index.d.ts +2 -2
  147. package/build/esm/lead.js +74 -34
  148. package/build/esm/{logoIcon-9688bc3c.js → logoIcon-7a499f05.js} +2 -2
  149. package/build/esm/mantine.js +25 -25
  150. package/build/esm/misc.js +16 -16
  151. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  152. package/build/esm/miscGetSocialList.js +8 -8
  153. package/build/esm/miscScreenSizeContext.js +1 -1
  154. package/build/esm/mobileBottomNavigation.js +5 -5
  155. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  156. package/build/esm/molecules.js +69 -69
  157. package/build/esm/moleculesArticleCard.js +6 -6
  158. package/build/esm/moleculesArticleCardV2.js +16 -16
  159. package/build/esm/navigation.js +40 -40
  160. package/build/esm/navigationLogoutPopup.js +9 -9
  161. package/build/esm/navigationProfileButton.js +23 -23
  162. package/build/esm/onboardingV2.js +29 -29
  163. package/build/esm/organisms.js +44 -44
  164. package/build/esm/{post-826e5776.js → post-f2435ab3.js} +2 -2
  165. package/build/esm/profileNavigation.js +19 -19
  166. package/build/esm/progressBar.js +1 -1
  167. package/build/esm/pwg.js +22 -22
  168. package/build/esm/ssoV2/api/paths.d.ts +1 -0
  169. package/build/esm/ssoV2/screens/components/progressBar.d.ts +10 -0
  170. package/build/esm/ssoV2/screens/components/setupLater.d.ts +6 -0
  171. package/build/esm/ssoV2/screens/setup/otherSetup.d.ts +1 -1
  172. package/build/esm/ssoV2/ssoStateManager/store.d.ts +5 -0
  173. package/build/esm/ssoV2.js +270 -157
  174. package/build/esm/{store-fb5b7e13.js → store-4e230438.js} +29 -5
  175. package/build/esm/subot.js +33 -33
  176. package/build/esm/surveyOrPremiumBanner.js +31 -31
  177. package/build/esm/surveyQuestionCard.js +10 -10
  178. package/build/esm/{surveyThankyouCard-9e36188f.js → surveyThankyouCard-38ab5857.js} +5 -5
  179. package/build/esm/together.js +53 -53
  180. package/build/esm/togetherApiUtils.js +4 -4
  181. package/build/esm/togetherAtoms.js +30 -30
  182. package/build/esm/togetherComponentGlobalContext.js +4 -4
  183. package/build/esm/togetherMolecules.js +48 -48
  184. package/build/esm/togetherMoleculesCardAuthor.js +27 -27
  185. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  186. package/build/esm/togetherMoleculesProfileDetail.js +37 -37
  187. package/build/esm/togetherOrganisms.js +47 -47
  188. package/build/esm/togetherRichTextEditor.js +17 -17
  189. package/build/esm/togetherShareBox.js +10 -10
  190. package/build/esm/{treePopoverMenu-c4405cb1.js → treePopoverMenu-9e4cb17f.js} +19 -19
  191. package/build/esm/{types-e339f9f6.js → types-a1d58ab4.js} +2 -2
  192. package/build/esm/types.js +2 -2
  193. package/build/esm/{useCategory-a6ea85ef.js → useCategory-ac73572e.js} +5 -5
  194. package/build/esm/{useHealthToolCache-8ace84bf.js → useHealthToolCache-937a580c.js} +1 -1
  195. package/build/esm/{useMantineLocale-73e0e71e.js → useMantineLocale-fcf00972.js} +6 -6
  196. package/build/esm/{usePlacesAutocomplete-a31fff76.js → usePlacesAutocomplete-820ba23f.js} +1 -1
  197. package/build/esm/{useScreenSize-ba61ee9b.js → useScreenSize-e14b35de.js} +2 -2
  198. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  199. package/build/esm/{utils-43464cd7.js → utils-18d4daab.js} +3 -3
  200. package/build/esm/{utils-3c6ce916.js → utils-615fc939.js} +2 -2
  201. package/build/esm/{utils-2da6dc65.js → utils-d3f25c36.js} +2 -2
  202. package/build/esm/vaccination.js +21 -21
  203. package/build/{fixedBottomAdBlock-e6300000.js → fixedBottomAdBlock-a9d65a38.js} +24 -24
  204. package/build/footer.js +21 -21
  205. package/build/gAssets.js +2 -2
  206. package/build/healthToolsCardWrapper.js +18 -18
  207. package/build/healthToolsForm.js +33 -33
  208. package/build/hooks.js +13 -13
  209. package/build/i18n/translationKeys.d.ts +1 -1
  210. package/build/i18n-values/en-PH.js +1 -0
  211. package/build/i18n-values/hi-IN.js +1 -0
  212. package/build/i18n-values/id-ID.js +1 -0
  213. package/build/i18n-values/km-KH.js +2 -1
  214. package/build/i18n-values/ms-MY.js +1 -0
  215. package/build/i18n-values/my-MM.js +1 -0
  216. package/build/i18n-values/th-TH.js +1 -0
  217. package/build/i18n-values/tl-PH.js +1 -0
  218. package/build/i18n-values/vi-VN.js +1 -0
  219. package/build/i18n-values/vi-VN_MB.js +1 -0
  220. package/build/i18n-values/zh-TW.js +1 -0
  221. package/build/i18n.js +1 -1
  222. package/build/i18nV2.js +1 -1
  223. package/build/{index-edafb6f3.js → index-0689d6b2.js} +1 -1
  224. package/build/{index-a86c66c1.js → index-1168f4fb.js} +1 -1
  225. package/build/{index-9bdf0576.js → index-18c86b2f.js} +3 -3
  226. package/build/{index-82cd185a.js → index-218c4d76.js} +3 -3
  227. package/build/{index-a8e1008c.js → index-2de0e178.js} +17 -17
  228. package/build/{index-909fb12b.js → index-34200991.js} +7 -7
  229. package/build/{index-ce55b556.js → index-3ab5ed7b.js} +18 -18
  230. package/build/{index-9ab5bece.js → index-40aecb43.js} +16 -16
  231. package/build/{index-9b8cba4d.js → index-461b9e49.js} +3 -3
  232. package/build/{index-372ff176.js → index-49945e33.js} +32 -32
  233. package/build/{index-85d17630.js → index-59fbd0ba.js} +2 -2
  234. package/build/{index-0b9ffd73.js → index-5b79ac26.js} +26 -26
  235. package/build/{index-4cd87649.js → index-5d70687c.js} +1 -1
  236. package/build/{index-6567d6ca.js → index-6d7da8c9.js} +1 -1
  237. package/build/{index-3e27733d.js → index-6eabccba.js} +18 -18
  238. package/build/{index-6ca7b8f9.js → index-6f924a37.js} +3 -3
  239. package/build/{index-9d5d17e0.js → index-71de16ce.js} +15 -15
  240. package/build/{index-ed68838b.js → index-748c68d6.js} +16 -16
  241. package/build/{index-f938d77a.js → index-79149177.js} +2 -2
  242. package/build/{index-698d97ef.js → index-79d2b542.js} +1 -1
  243. package/build/{index-a9df7152.js → index-7e25eba1.js} +13 -13
  244. package/build/{index-f80f5642.js → index-82cc2d1f.js} +4 -4
  245. package/build/{index-1ce77fda.js → index-85f739a5.js} +15 -15
  246. package/build/{index-5917a56e.js → index-868ebf02.js} +17 -17
  247. package/build/{index-764beefd.js → index-86a2a639.js} +2 -2
  248. package/build/{index-c2bc23f5.js → index-8781bb66.js} +16 -16
  249. package/build/{index-28bc3cee.js → index-88a260ce.js} +5 -5
  250. package/build/{index-bc0939b6.js → index-8eb45e7f.js} +7 -7
  251. package/build/{index-9606b8d6.js → index-921936e0.js} +17 -17
  252. package/build/{index-2e6eb762.js → index-94e98ca5.js} +6 -6
  253. package/build/{index-c60d4430.js → index-9c37ddbf.js} +16 -16
  254. package/build/{index-99ffc102.js → index-9cb4da74.js} +2 -2
  255. package/build/{index-32c9e95b.js → index-a269dfe1.js} +2 -2
  256. package/build/{index-cbdadeef.js → index-a68d5e49.js} +30 -30
  257. package/build/{index-37882cf4.js → index-a79b8684.js} +13 -13
  258. package/build/{index-75e50104.js → index-a9049481.js} +6 -6
  259. package/build/{index-51bee07b.js → index-aa59ca8d.js} +24 -24
  260. package/build/{index-0e9b8f89.js → index-af5e9331.js} +3 -3
  261. package/build/{index-207454f3.js → index-b1e0a933.js} +2 -2
  262. package/build/{index-884b5f06.js → index-b58f1112.js} +13 -13
  263. package/build/{index-07440c71.js → index-b82a4906.js} +6 -6
  264. package/build/{index-45891f51.js → index-bce7e9a8.js} +2 -2
  265. package/build/{index-433c0239.js → index-bd226a2c.js} +11 -11
  266. package/build/{index-aa189383.js → index-be3ef46c.js} +2 -2
  267. package/build/{index-2f0440a5.js → index-c00ccb32.js} +5 -5
  268. package/build/{index-00185117.js → index-c0a7acae.js} +3 -3
  269. package/build/{index-4019f8f3.js → index-c2407b5a.js} +1 -1
  270. package/build/{index-9d8af3b8.js → index-c6f586e4.js} +13 -13
  271. package/build/{index-02bdf556.js → index-d236cc86.js} +1 -1
  272. package/build/{index-a75bcd2b.js → index-d4468bb6.js} +20 -20
  273. package/build/{index-189445a9.js → index-d5e003ab.js} +1 -1
  274. package/build/{index-67dfe1e4.js → index-d8aaa79b.js} +21 -21
  275. package/build/{index-78b1d557.js → index-e03a03ac.js} +2 -2
  276. package/build/{index-1e5730e4.js → index-e3bf9d0a.js} +10 -10
  277. package/build/{index-cfd85207.js → index-e5e782a4.js} +2 -2
  278. package/build/{index-8d865f36.js → index-e6bea38d.js} +1 -1
  279. package/build/{index-a189616a.js → index-e940acab.js} +3 -3
  280. package/build/{index-4c196646.js → index-f05412b9.js} +6 -6
  281. package/build/{index-b65395de.js → index-f5c02102.js} +2 -2
  282. package/build/{index-8dd2fa47.js → index-f6bea642.js} +2 -2
  283. package/build/index.js +112 -112
  284. package/build/{labelSorting-b7e01f14.js → labelSorting-dc223795.js} +4 -4
  285. package/build/lead/components/otpBlock/index.d.ts +1 -1
  286. package/build/lead/layouts/lightbox/otpBlock.d.ts +2 -2
  287. package/build/lead/services/index.d.ts +2 -2
  288. package/build/lead.js +74 -34
  289. package/build/{logoIcon-ae456bed.js → logoIcon-35213cdc.js} +2 -2
  290. package/build/mantine.js +22 -22
  291. package/build/misc.js +16 -16
  292. package/build/miscGetDynamicHealthTool.js +4 -4
  293. package/build/miscGetSocialList.js +8 -8
  294. package/build/miscScreenSizeContext.js +1 -1
  295. package/build/mobileBottomNavigation.js +5 -5
  296. package/build/mobileBottomNavigationIcon.js +5 -5
  297. package/build/molecules.js +69 -69
  298. package/build/moleculesArticleCard.js +6 -6
  299. package/build/moleculesArticleCardV2.js +16 -16
  300. package/build/navigation.js +40 -40
  301. package/build/navigationLogoutPopup.js +9 -9
  302. package/build/navigationProfileButton.js +23 -23
  303. package/build/onboardingV2.js +28 -28
  304. package/build/organisms.js +44 -44
  305. package/build/{post-2cb33634.js → post-a4a08d4a.js} +2 -2
  306. package/build/profileNavigation.js +19 -19
  307. package/build/progressBar.js +1 -1
  308. package/build/pwg.js +22 -22
  309. package/build/ssoV2/api/paths.d.ts +1 -0
  310. package/build/ssoV2/screens/components/progressBar.d.ts +10 -0
  311. package/build/ssoV2/screens/components/setupLater.d.ts +6 -0
  312. package/build/ssoV2/screens/setup/otherSetup.d.ts +1 -1
  313. package/build/ssoV2/ssoStateManager/store.d.ts +5 -0
  314. package/build/ssoV2.js +267 -154
  315. package/build/{store-eff428e1.js → store-2aaec123.js} +31 -4
  316. package/build/subot.js +32 -32
  317. package/build/surveyOrPremiumBanner.js +31 -31
  318. package/build/surveyQuestionCard.js +10 -10
  319. package/build/{surveyThankyouCard-e84c4048.js → surveyThankyouCard-9a3be0a6.js} +5 -5
  320. package/build/together.js +53 -53
  321. package/build/togetherApiUtils.js +4 -4
  322. package/build/togetherAtoms.js +30 -30
  323. package/build/togetherComponentGlobalContext.js +4 -4
  324. package/build/togetherMolecules.js +48 -48
  325. package/build/togetherMoleculesCardAuthor.js +27 -27
  326. package/build/togetherMoleculesPostImagePreview.js +11 -11
  327. package/build/togetherMoleculesProfileDetail.js +37 -37
  328. package/build/togetherOrganisms.js +47 -47
  329. package/build/togetherRichTextEditor.js +17 -17
  330. package/build/togetherShareBox.js +10 -10
  331. package/build/{treePopoverMenu-e6298cb7.js → treePopoverMenu-8a80f328.js} +19 -19
  332. package/build/{types-477ca303.js → types-05345faf.js} +2 -2
  333. package/build/types.js +2 -2
  334. package/build/{useCategory-dff3a437.js → useCategory-44649f3e.js} +5 -5
  335. package/build/{useHealthToolCache-c42a1116.js → useHealthToolCache-787a0f07.js} +1 -1
  336. package/build/{useMantineLocale-8570ecad.js → useMantineLocale-090203dd.js} +6 -6
  337. package/build/{usePlacesAutocomplete-759d385a.js → usePlacesAutocomplete-5e7bb85f.js} +1 -1
  338. package/build/{useScreenSize-df390345.js → useScreenSize-9600a44a.js} +2 -2
  339. package/build/useTogetherAuthRequiredAction.js +9 -9
  340. package/build/{utils-68177c88.js → utils-7ec359b3.js} +3 -3
  341. package/build/{utils-a2e37fed.js → utils-8ecb396a.js} +2 -2
  342. package/build/{utils-5ca4b7c8.js → utils-c45282e3.js} +2 -2
  343. package/build/vaccination.js +21 -21
  344. package/package.json +1 -1
  345. /package/build/{BMI_BOYS.percentile.monthly-35d1bdaf.js → BMI_BOYS.percentile.monthly-6803a0c6.js} +0 -0
  346. /package/build/{BMI_BOYS.percentile.weekly-b7234732.js → BMI_BOYS.percentile.weekly-caa1d1fc.js} +0 -0
  347. /package/build/{BMI_BOYS.percentile.yearly-79ff3800.js → BMI_BOYS.percentile.yearly-9e7d92a1.js} +0 -0
  348. /package/build/{BMI_BOYS.zscore.monthly-126b08b6.js → BMI_BOYS.zscore.monthly-65fa5bff.js} +0 -0
  349. /package/build/{BMI_BOYS.zscore.weekly-eebba5bc.js → BMI_BOYS.zscore.weekly-be8633ee.js} +0 -0
  350. /package/build/{BMI_BOYS.zscore.yearly-1a52fc67.js → BMI_BOYS.zscore.yearly-d0192aaa.js} +0 -0
  351. /package/build/{BMI_GIRLS.percentile.monthly-83eddec7.js → BMI_GIRLS.percentile.monthly-4205267e.js} +0 -0
  352. /package/build/{BMI_GIRLS.percentile.weekly-53c56dfc.js → BMI_GIRLS.percentile.weekly-a544d7f8.js} +0 -0
  353. /package/build/{BMI_GIRLS.percentile.yearly-e62087f1.js → BMI_GIRLS.percentile.yearly-26d8caa9.js} +0 -0
  354. /package/build/{BMI_GIRLS.zscore.monthly-e8a4924b.js → BMI_GIRLS.zscore.monthly-d8c7e35f.js} +0 -0
  355. /package/build/{BMI_GIRLS.zscore.weekly-ae51cebd.js → BMI_GIRLS.zscore.weekly-cc391fb1.js} +0 -0
  356. /package/build/{BMI_GIRLS.zscore.yearly-e768bbab.js → BMI_GIRLS.zscore.yearly-ca7d6072.js} +0 -0
  357. /package/build/{ChevronDown-fa8cc75a.js → ChevronDown-8e08ef05.js} +0 -0
  358. /package/build/{Close-142a682b.js → Close-030ba56c.js} +0 -0
  359. /package/build/{Google-ee2cf494.js → Google-4b7cfbfb.js} +0 -0
  360. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bfa8e91f.js → HEAD CIRCUM_BOYS.percentile.monthly-cc3725e1.js} +0 -0
  361. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-dc4308a2.js → HEAD CIRCUM_BOYS.percentile.weekly-6147abd4.js} +0 -0
  362. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-34cc1bbf.js → HEAD CIRCUM_BOYS.percentile.yearly-e8c37cfd.js} +0 -0
  363. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5eb56bd0.js → HEAD CIRCUM_BOYS.zscore.monthly-1b113082.js} +0 -0
  364. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2c2ab7c0.js → HEAD CIRCUM_BOYS.zscore.weekly-e9683959.js} +0 -0
  365. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-af8a2ebb.js → HEAD CIRCUM_BOYS.zscore.yearly-8fbe8931.js} +0 -0
  366. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-addca562.js → HEAD CIRCUM_GIRLS.percentile.monthly-47d1346c.js} +0 -0
  367. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2d1fe8e7.js → HEAD CIRCUM_GIRLS.percentile.weekly-b497fc26.js} +0 -0
  368. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9cbca187.js → HEAD CIRCUM_GIRLS.percentile.yearly-43e0d866.js} +0 -0
  369. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6994ae12.js → HEAD CIRCUM_GIRLS.zscore.monthly-0ecec3ce.js} +0 -0
  370. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-90f3e6fb.js → HEAD CIRCUM_GIRLS.zscore.weekly-2553834f.js} +0 -0
  371. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-57ccd5fd.js → HEAD CIRCUM_GIRLS.zscore.yearly-69b4cd5a.js} +0 -0
  372. /package/build/{HEIGHT_BOYS.percentile.monthly-af3b5304.js → HEIGHT_BOYS.percentile.monthly-daa7f553.js} +0 -0
  373. /package/build/{HEIGHT_BOYS.percentile.weekly-63b71a40.js → HEIGHT_BOYS.percentile.weekly-30ccb1c4.js} +0 -0
  374. /package/build/{HEIGHT_BOYS.percentile.yearly-6f1bd841.js → HEIGHT_BOYS.percentile.yearly-35dea4d6.js} +0 -0
  375. /package/build/{HEIGHT_BOYS.zscore.monthly-1d5da3e8.js → HEIGHT_BOYS.zscore.monthly-82e6bee4.js} +0 -0
  376. /package/build/{HEIGHT_BOYS.zscore.weekly-beefa25a.js → HEIGHT_BOYS.zscore.weekly-bb6a77ea.js} +0 -0
  377. /package/build/{HEIGHT_BOYS.zscore.yearly-896a7fa3.js → HEIGHT_BOYS.zscore.yearly-ef76869e.js} +0 -0
  378. /package/build/{HEIGHT_GIRLS.percentile.monthly-248615b7.js → HEIGHT_GIRLS.percentile.monthly-fb9bd711.js} +0 -0
  379. /package/build/{HEIGHT_GIRLS.percentile.weekly-a1245e85.js → HEIGHT_GIRLS.percentile.weekly-bae520c1.js} +0 -0
  380. /package/build/{HEIGHT_GIRLS.percentile.yearly-0a94f807.js → HEIGHT_GIRLS.percentile.yearly-125d90d8.js} +0 -0
  381. /package/build/{HEIGHT_GIRLS.zscore.monthly-809a7131.js → HEIGHT_GIRLS.zscore.monthly-99f26f30.js} +0 -0
  382. /package/build/{HEIGHT_GIRLS.zscore.weekly-ea46e599.js → HEIGHT_GIRLS.zscore.weekly-9abcf105.js} +0 -0
  383. /package/build/{HEIGHT_GIRLS.zscore.yearly-19626ed9.js → HEIGHT_GIRLS.zscore.yearly-72b25248.js} +0 -0
  384. /package/build/{Locale-3263cc98.js → Locale-df47b805.js} +0 -0
  385. /package/build/{Visible-38dd1795.js → Visible-fbe6c37c.js} +0 -0
  386. /package/build/{WEIGHT_BOYS.percentile.monthly-d6bf58a6.js → WEIGHT_BOYS.percentile.monthly-2b643162.js} +0 -0
  387. /package/build/{WEIGHT_BOYS.percentile.weekly-9b267564.js → WEIGHT_BOYS.percentile.weekly-8eea6b21.js} +0 -0
  388. /package/build/{WEIGHT_BOYS.percentile.yearly-2de9875a.js → WEIGHT_BOYS.percentile.yearly-4b411616.js} +0 -0
  389. /package/build/{WEIGHT_BOYS.zscore.monthly-b31cb484.js → WEIGHT_BOYS.zscore.monthly-d9ff4887.js} +0 -0
  390. /package/build/{WEIGHT_BOYS.zscore.weekly-4f4b5b4a.js → WEIGHT_BOYS.zscore.weekly-641e5983.js} +0 -0
  391. /package/build/{WEIGHT_BOYS.zscore.yearly-f546e2cb.js → WEIGHT_BOYS.zscore.yearly-c334b59c.js} +0 -0
  392. /package/build/{WEIGHT_GIRLS.percentile.monthly-5c6444a5.js → WEIGHT_GIRLS.percentile.monthly-8913b42e.js} +0 -0
  393. /package/build/{WEIGHT_GIRLS.percentile.weekly-4ad720f7.js → WEIGHT_GIRLS.percentile.weekly-921bdf69.js} +0 -0
  394. /package/build/{WEIGHT_GIRLS.percentile.yearly-5fc633ed.js → WEIGHT_GIRLS.percentile.yearly-0d978b1c.js} +0 -0
  395. /package/build/{WEIGHT_GIRLS.zscore.monthly-e3b2425d.js → WEIGHT_GIRLS.zscore.monthly-afd9e741.js} +0 -0
  396. /package/build/{WEIGHT_GIRLS.zscore.weekly-689497b5.js → WEIGHT_GIRLS.zscore.weekly-c5733474.js} +0 -0
  397. /package/build/{WEIGHT_GIRLS.zscore.yearly-386b0074.js → WEIGHT_GIRLS.zscore.yearly-161d8a68.js} +0 -0
  398. /package/build/{animation-62654ed2.js → animation-60ecec04.js} +0 -0
  399. /package/build/{constants-b6e71814.js → constants-1d985412.js} +0 -0
  400. /package/build/{constants-60dcf799.js → constants-559214ac.js} +0 -0
  401. /package/build/{constants-36208bb9.js → constants-67ccf58e.js} +0 -0
  402. /package/build/{dataTransform-794a0718.js → dataTransform-206ed27b.js} +0 -0
  403. /package/build/{doctor-9b8a0c06.js → doctor-0e1afb58.js} +0 -0
  404. /package/build/esm/{BMI_BOYS.percentile.monthly-9832bdeb.js → BMI_BOYS.percentile.monthly-1c914165.js} +0 -0
  405. /package/build/esm/{BMI_BOYS.percentile.weekly-526de31f.js → BMI_BOYS.percentile.weekly-cab27369.js} +0 -0
  406. /package/build/esm/{BMI_BOYS.percentile.yearly-547aaac9.js → BMI_BOYS.percentile.yearly-91207bed.js} +0 -0
  407. /package/build/esm/{BMI_BOYS.zscore.monthly-6074c61e.js → BMI_BOYS.zscore.monthly-81f281d7.js} +0 -0
  408. /package/build/esm/{BMI_BOYS.zscore.weekly-20e268b6.js → BMI_BOYS.zscore.weekly-4be5d1b7.js} +0 -0
  409. /package/build/esm/{BMI_BOYS.zscore.yearly-1a700ceb.js → BMI_BOYS.zscore.yearly-23225c99.js} +0 -0
  410. /package/build/esm/{BMI_GIRLS.percentile.monthly-eed80d5b.js → BMI_GIRLS.percentile.monthly-59627cbd.js} +0 -0
  411. /package/build/esm/{BMI_GIRLS.percentile.weekly-c4b33d1f.js → BMI_GIRLS.percentile.weekly-65c773d5.js} +0 -0
  412. /package/build/esm/{BMI_GIRLS.percentile.yearly-78826f4d.js → BMI_GIRLS.percentile.yearly-385e5b42.js} +0 -0
  413. /package/build/esm/{BMI_GIRLS.zscore.monthly-8e49a222.js → BMI_GIRLS.zscore.monthly-aa70fcf8.js} +0 -0
  414. /package/build/esm/{BMI_GIRLS.zscore.weekly-28d6d095.js → BMI_GIRLS.zscore.weekly-ffe8d5e2.js} +0 -0
  415. /package/build/esm/{BMI_GIRLS.zscore.yearly-64cb5081.js → BMI_GIRLS.zscore.yearly-7742edb6.js} +0 -0
  416. /package/build/esm/{ChevronDown-07477642.js → ChevronDown-d3e73e62.js} +0 -0
  417. /package/build/esm/{Close-e724e916.js → Close-ff589410.js} +0 -0
  418. /package/build/esm/{Google-6d5e4852.js → Google-99b3188e.js} +0 -0
  419. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-952f88e6.js → HEAD CIRCUM_BOYS.percentile.monthly-87d0ebb9.js} +0 -0
  420. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-22d3bd6b.js → HEAD CIRCUM_BOYS.percentile.weekly-200218ff.js} +0 -0
  421. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2f2b0723.js → HEAD CIRCUM_BOYS.percentile.yearly-ae1f559e.js} +0 -0
  422. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ff39b900.js → HEAD CIRCUM_BOYS.zscore.monthly-bf3640f8.js} +0 -0
  423. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ba8e3ab5.js → HEAD CIRCUM_BOYS.zscore.weekly-2c29e3aa.js} +0 -0
  424. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-36bd141a.js → HEAD CIRCUM_BOYS.zscore.yearly-0ba838ea.js} +0 -0
  425. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-857fe9fd.js → HEAD CIRCUM_GIRLS.percentile.monthly-2498d028.js} +0 -0
  426. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6a1fdcf5.js → HEAD CIRCUM_GIRLS.percentile.weekly-7ba38a2a.js} +0 -0
  427. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2142847d.js → HEAD CIRCUM_GIRLS.percentile.yearly-4060e183.js} +0 -0
  428. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-325e5bb6.js → HEAD CIRCUM_GIRLS.zscore.monthly-8170b052.js} +0 -0
  429. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a520e5a7.js → HEAD CIRCUM_GIRLS.zscore.weekly-a5ad6c06.js} +0 -0
  430. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-490a6359.js → HEAD CIRCUM_GIRLS.zscore.yearly-3f49c56c.js} +0 -0
  431. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-548e3bb6.js → HEIGHT_BOYS.percentile.monthly-072fc513.js} +0 -0
  432. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f7545f16.js → HEIGHT_BOYS.percentile.weekly-e423c4f3.js} +0 -0
  433. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-edd21499.js → HEIGHT_BOYS.percentile.yearly-2e1783b6.js} +0 -0
  434. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-97a28632.js → HEIGHT_BOYS.zscore.monthly-c299babe.js} +0 -0
  435. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-80fc4255.js → HEIGHT_BOYS.zscore.weekly-b34ddbb2.js} +0 -0
  436. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-21e4b5c0.js → HEIGHT_BOYS.zscore.yearly-78871fb2.js} +0 -0
  437. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-47b16bf9.js → HEIGHT_GIRLS.percentile.monthly-13015cbb.js} +0 -0
  438. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f4049318.js → HEIGHT_GIRLS.percentile.weekly-a3fefda7.js} +0 -0
  439. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f9cb3693.js → HEIGHT_GIRLS.percentile.yearly-480682f3.js} +0 -0
  440. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ea2104c0.js → HEIGHT_GIRLS.zscore.monthly-256190a5.js} +0 -0
  441. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f29c21fd.js → HEIGHT_GIRLS.zscore.weekly-943606a1.js} +0 -0
  442. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7d75940b.js → HEIGHT_GIRLS.zscore.yearly-6da4d5e7.js} +0 -0
  443. /package/build/esm/{Locale-86b3f818.js → Locale-50dc868e.js} +0 -0
  444. /package/build/esm/{Visible-7d6452e5.js → Visible-14e75a02.js} +0 -0
  445. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bae54ac8.js → WEIGHT_BOYS.percentile.monthly-16ce823d.js} +0 -0
  446. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a54a24e6.js → WEIGHT_BOYS.percentile.weekly-3004c8ba.js} +0 -0
  447. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ff1b7ec7.js → WEIGHT_BOYS.percentile.yearly-02978347.js} +0 -0
  448. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-11e15278.js → WEIGHT_BOYS.zscore.monthly-9cf8574f.js} +0 -0
  449. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-558cdc30.js → WEIGHT_BOYS.zscore.weekly-c3572c8d.js} +0 -0
  450. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4f62f49a.js → WEIGHT_BOYS.zscore.yearly-24cf26e4.js} +0 -0
  451. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-606473fd.js → WEIGHT_GIRLS.percentile.monthly-9b699740.js} +0 -0
  452. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0d99d0d9.js → WEIGHT_GIRLS.percentile.weekly-2a258aaa.js} +0 -0
  453. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0aeaba02.js → WEIGHT_GIRLS.percentile.yearly-f5c4d15d.js} +0 -0
  454. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1dc9ebb1.js → WEIGHT_GIRLS.zscore.monthly-fddeafea.js} +0 -0
  455. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-64e5b4f2.js → WEIGHT_GIRLS.zscore.weekly-c07782d5.js} +0 -0
  456. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-43f6fbda.js → WEIGHT_GIRLS.zscore.yearly-dea63124.js} +0 -0
  457. /package/build/esm/{animation-a3ddd317.js → animation-c0fffa68.js} +0 -0
  458. /package/build/esm/{constants-951da75e.js → constants-014521ce.js} +0 -0
  459. /package/build/esm/{constants-3d233779.js → constants-5a3bb4d8.js} +0 -0
  460. /package/build/esm/{constants-802b8270.js → constants-e9346e94.js} +0 -0
  461. /package/build/esm/{dataTransform-86e53498.js → dataTransform-0af618cd.js} +0 -0
  462. /package/build/esm/{doctor-1b242061.js → doctor-e113fb07.js} +0 -0
  463. /package/build/esm/{index-4e0a20fb.js → index-030e2b81.js} +0 -0
  464. /package/build/esm/{index-8d6b6c31.js → index-17e0dec9.js} +0 -0
  465. /package/build/esm/{index-01a8e662.js → index-24f89fbf.js} +0 -0
  466. /package/build/esm/{index-acb265fa.js → index-57d57f56.js} +0 -0
  467. /package/build/esm/{index-221e8416.js → index-5e7237fc.js} +0 -0
  468. /package/build/esm/{index-e4808cf4.js → index-681f67ff.js} +0 -0
  469. /package/build/esm/{index-b1b0e431.js → index-84774a2c.js} +0 -0
  470. /package/build/esm/{index-c727799a.js → index-857f2dc4.js} +0 -0
  471. /package/build/esm/{index-050df0cd.js → index-96504312.js} +0 -0
  472. /package/build/esm/{index.styles-8963f87c.js → index.styles-1da80b38.js} +0 -0
  473. /package/build/esm/{localizeNumberFormat-77884600.js → localizeNumberFormat-abfe273c.js} +0 -0
  474. /package/build/esm/{normalizeLink-6d001dd3.js → normalizeLink-0f353622.js} +0 -0
  475. /package/build/esm/{other-509b77ae.js → other-cfa4ef43.js} +0 -0
  476. /package/build/esm/{paths-213612a1.js → paths-1b866806.js} +0 -0
  477. /package/build/esm/{translationsContext-85cf60fd.js → translationsContext-20a6d9a0.js} +0 -0
  478. /package/build/esm/{tslib.es6-f9caf44b.js → tslib.es6-86212af9.js} +0 -0
  479. /package/build/esm/{types-fce73f8b.js → types-b823b3af.js} +0 -0
  480. /package/build/esm/{useIsInit-1881fe18.js → useIsInit-607fb1ac.js} +0 -0
  481. /package/build/esm/{useOutsideClick-b4dbc694.js → useOutsideClick-f8c40154.js} +0 -0
  482. /package/build/esm/{useScrollbarSize-5a8cbacd.js → useScrollbarSize-cd9d8dd7.js} +0 -0
  483. /package/build/esm/{useUniqueId-46ceab38.js → useUniqueId-96071117.js} +0 -0
  484. /package/build/esm/{utils-4dfbb209.js → utils-7771318f.js} +0 -0
  485. /package/build/{index-e70f4cb0.js → index-0afaedf3.js} +0 -0
  486. /package/build/{index-e66a0c4b.js → index-12ad1933.js} +0 -0
  487. /package/build/{index-37b25b5b.js → index-17e85f7c.js} +0 -0
  488. /package/build/{index-e79e0374.js → index-27ff04a6.js} +0 -0
  489. /package/build/{index-bb1fddbe.js → index-3835baea.js} +0 -0
  490. /package/build/{index-b83513ed.js → index-4402ba1e.js} +0 -0
  491. /package/build/{index-6a9de00e.js → index-9b57799a.js} +0 -0
  492. /package/build/{index-5df6bf28.js → index-d342867a.js} +0 -0
  493. /package/build/{index-e380c38c.js → index-fe23468c.js} +0 -0
  494. /package/build/{index.styles-7466c959.js → index.styles-69b77697.js} +0 -0
  495. /package/build/{localizeNumberFormat-414c0b88.js → localizeNumberFormat-c42ed393.js} +0 -0
  496. /package/build/{normalizeLink-ee2a225b.js → normalizeLink-6e7a538d.js} +0 -0
  497. /package/build/{other-e2f81e0f.js → other-4252906a.js} +0 -0
  498. /package/build/{paths-9dcf361d.js → paths-a3b573ee.js} +0 -0
  499. /package/build/{translationsContext-77aa75b4.js → translationsContext-339a2d7f.js} +0 -0
  500. /package/build/{tslib.es6-3f0253fc.js → tslib.es6-65ed7229.js} +0 -0
  501. /package/build/{types-207735a6.js → types-afdf656e.js} +0 -0
  502. /package/build/{useIsInit-a57fa369.js → useIsInit-fd858214.js} +0 -0
  503. /package/build/{useOutsideClick-ad2c1fa8.js → useOutsideClick-bb8a2ba8.js} +0 -0
  504. /package/build/{useScrollbarSize-735468a3.js → useScrollbarSize-63bb4f64.js} +0 -0
  505. /package/build/{useUniqueId-1f198245.js → useUniqueId-1873e5b5.js} +0 -0
  506. /package/build/{utils-d5855593.js → utils-3c59ce9d.js} +0 -0
package/build/ssoV2.js CHANGED
@@ -2,29 +2,29 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('./tslib.es6-3f0253fc.js');
5
+ var tslib_es6 = require('./tslib.es6-65ed7229.js');
6
6
  var React = require('react');
7
- var index$5 = require('./index-433c0239.js');
8
- var store = require('./store-eff428e1.js');
7
+ var index$5 = require('./index-bd226a2c.js');
8
+ var store = require('./store-2aaec123.js');
9
9
  var arrow = require('@hhgtech/icons/arrow');
10
10
  var core$1 = require('@hhgtech/icons/core');
11
- var index$2 = require('./index-aa189383.js');
12
- var logoIcon = require('./logoIcon-ae456bed.js');
13
- var index$4 = require('./index-698d97ef.js');
14
- var index$1 = require('./index-78b1d557.js');
11
+ var index$2 = require('./index-be3ef46c.js');
12
+ var logoIcon = require('./logoIcon-35213cdc.js');
13
+ var index$4 = require('./index-79d2b542.js');
14
+ var index$1 = require('./index-e03a03ac.js');
15
15
  var core = require('@mantine/core');
16
16
  require('@mantine/dates');
17
- require('./index-4cd87649.js');
18
- require('./index-b83513ed.js');
19
- var useMantineLocale = require('./useMantineLocale-8570ecad.js');
20
- var index$3 = require('./index-cfd85207.js');
21
- var index = require('./index-02bdf556.js');
17
+ require('./index-5d70687c.js');
18
+ require('./index-4402ba1e.js');
19
+ var useMantineLocale = require('./useMantineLocale-090203dd.js');
20
+ var index$3 = require('./index-e5e782a4.js');
21
+ var index = require('./index-d236cc86.js');
22
22
  require('@mantine/hooks');
23
- require('./utils-d5855593.js');
24
- require('./other-e2f81e0f.js');
25
- require('./index-0e9b8f89.js');
26
- var Locale = require('./Locale-3263cc98.js');
27
- var Google = require('./Google-ee2cf494.js');
23
+ require('./utils-3c59ce9d.js');
24
+ require('./other-4252906a.js');
25
+ require('./index-af5e9331.js');
26
+ var Locale = require('./Locale-df47b805.js');
27
+ var Google = require('./Google-4b7cfbfb.js');
28
28
  var PhoneInputBase = require('react-phone-number-input');
29
29
  var styled = require('@emotion/styled');
30
30
  var cn = require('classnames');
@@ -32,28 +32,28 @@ var other = require('@hhgtech/icons/other');
32
32
  var debounce = require('lodash/debounce');
33
33
  var throttle = require('lodash/throttle');
34
34
  var Flags = require('react-phone-number-input/flags');
35
- var useScreenSize = require('./useScreenSize-df390345.js');
35
+ var useScreenSize = require('./useScreenSize-9600a44a.js');
36
36
  var vaul = require('vaul');
37
- var utils = require('./utils-5ca4b7c8.js');
38
- var index$6 = require('./index-a189616a.js');
37
+ var utils = require('./utils-c45282e3.js');
38
+ var index$6 = require('./index-e940acab.js');
39
39
  var constantsDomainLocales = require('./constantsDomainLocales.js');
40
40
  var form = require('@mantine/form');
41
41
  var yup = require('yup');
42
42
  var dayjs = require('dayjs');
43
- var index$7 = require('./index-4c196646.js');
43
+ var index$7 = require('./index-f05412b9.js');
44
44
  require('@mantine/carousel');
45
45
  require('./miscTheme.js');
46
- require('./useUniqueId-1f198245.js');
46
+ require('./useUniqueId-1873e5b5.js');
47
47
  require('./constantsSite.js');
48
48
  require('zustand');
49
49
  require('./constantsIsProduction.js');
50
- require('./normalizeLink-ee2a225b.js');
50
+ require('./normalizeLink-6e7a538d.js');
51
51
  require('./miscCookieHelper.js');
52
52
  require('date-fns/locale');
53
53
  require('./constantsRiskScreener.js');
54
- require('./index.styles-7466c959.js');
54
+ require('./index.styles-69b77697.js');
55
55
  require('@mantine/notifications');
56
- require('./translationsContext-77aa75b4.js');
56
+ require('./translationsContext-339a2d7f.js');
57
57
 
58
58
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
59
59
 
@@ -190,13 +190,117 @@ const BackgroundHeader = () => (React__default["default"].createElement("svg", {
190
190
  React__default["default"].createElement("stop", { stopColor: "#fff", stopOpacity: "0" }),
191
191
  React__default["default"].createElement("stop", { offset: "1", stopColor: "#fff" })))));
192
192
 
193
+ const isSocialFlowFn = (flowData) => {
194
+ return (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'google' || (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'facebook';
195
+ };
196
+ const isPhoneFlowFn = (flowData) => {
197
+ return ((flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'sms' ||
198
+ (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'zalo' ||
199
+ (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'phone');
200
+ };
201
+ const isDisplayProgressBarFn = (flowData, step) => {
202
+ const showProgressBar = (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.OTP ||
203
+ (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.SETUP_FULL ||
204
+ (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.VERIFY_PHONE ||
205
+ (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.PASSWORD ||
206
+ (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.FORGOT_PASSWORD_PHONE ||
207
+ (step === null || step === void 0 ? void 0 : step.type) === store.SSOStepTypeType.FORGOT_PASSWORD_SETUP;
208
+ // step?.type === SSOStepTypeType.PASSWORD
209
+ const isWhiteListFlow = isSocialFlowFn(flowData) || isPhoneFlowFn(flowData);
210
+ return showProgressBar && isWhiteListFlow;
211
+ };
212
+ const getCurrentStepNumber = (flowData, step, userInfo) => {
213
+ const isSocialFlow = isSocialFlowFn(flowData);
214
+ const isPhoneFlow = isPhoneFlowFn(flowData);
215
+ /** Social (Google, Facebook): FIRST => VERIFY_PHONE | OTP => STEP_FULL */
216
+ if (isSocialFlow) {
217
+ const arrSteps = [
218
+ store.isPhoneNotVerifedYet(userInfo)
219
+ ? [store.SSOStepTypeType.VERIFY_PHONE, store.SSOStepTypeType.OTP]
220
+ : undefined,
221
+ !userInfo || !store.isUserFinishedSetup(userInfo)
222
+ ? store.SSOStepTypeType.SETUP_FULL
223
+ : undefined,
224
+ ]
225
+ .flat()
226
+ .filter(Boolean);
227
+ return [
228
+ arrSteps.length,
229
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
230
+ ];
231
+ }
232
+ if (isPhoneFlow && (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'signup') {
233
+ const arrSteps = [
234
+ store.isPhoneNotVerifedYet(userInfo) ? store.SSOStepTypeType.OTP : undefined,
235
+ store.isUserNeedPassword(flowData, userInfo)
236
+ ? store.SSOStepTypeType.FORGOT_PASSWORD_SETUP
237
+ : undefined,
238
+ !userInfo || !store.isUserFinishedSetup(userInfo)
239
+ ? store.SSOStepTypeType.SETUP_FULL
240
+ : undefined,
241
+ ]
242
+ .flat()
243
+ .filter(Boolean);
244
+ return [
245
+ arrSteps.length,
246
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
247
+ ];
248
+ }
249
+ if (isPhoneFlow && (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'login') {
250
+ const arrSteps = !userInfo
251
+ ? []
252
+ : [
253
+ store.SSOStepTypeType.PASSWORD,
254
+ store.isPhoneNotVerifedYet(userInfo)
255
+ ? [store.SSOStepTypeType.FORGOT_PASSWORD_PHONE, store.SSOStepTypeType.OTP]
256
+ : undefined,
257
+ !store.isUserFinishedSetup(userInfo)
258
+ ? store.SSOStepTypeType.SETUP_FULL
259
+ : undefined,
260
+ ]
261
+ .flat()
262
+ .filter(Boolean);
263
+ return [
264
+ arrSteps.length,
265
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
266
+ ];
267
+ }
268
+ return [];
269
+ };
270
+ const ProgressBar = () => {
271
+ // const initUserInfo = useRef<UserInfo | undefined | null>()
272
+ const { steps, currentStepIndex } = store.useSSOSteps();
273
+ const { flowData, userInfo } = store.useSSOV2Store();
274
+ /** No need update state IF userInfo is changed */
275
+ const initUserInfo = React.useMemo(() => userInfo, [userInfo]);
276
+ const currentStep = steps[currentStepIndex];
277
+ const [totalStepNumber, activeStepNumber] = getCurrentStepNumber(flowData, currentStep, initUserInfo);
278
+ if (!activeStepNumber || totalStepNumber === 1)
279
+ return null;
280
+ return (React__default["default"].createElement(core.Flex, { gap: 2 }, Array.from({ length: totalStepNumber }).map((_, idx) => {
281
+ const currentStepNumber = idx + 1;
282
+ return (React__default["default"].createElement(core.Box, { key: currentStepNumber, style: {
283
+ width: 'auto',
284
+ height: 2,
285
+ flex: 1,
286
+ borderRadius: 4,
287
+ backgroundColor: currentStepNumber <= activeStepNumber ? '#00B16A' : '#D2D6DC',
288
+ } }));
289
+ })));
290
+ };
291
+
193
292
  const SSOPopupWrapper = ({ children, opened, onClose, }) => {
194
293
  var _a;
195
- const { steps, goBack } = store.useSSOSteps();
294
+ const { steps, goBack, currentStepIndex } = store.useSSOSteps();
295
+ const { flowData } = store.useSSOV2Store();
196
296
  const { locale, tracking } = useSSOState();
197
- const showBack = steps.length > 1;
198
- const showClose = steps.length === 1;
199
- const showLogo = steps.length === 1;
297
+ const currentStep = steps[currentStepIndex];
298
+ const showProgressBar = isDisplayProgressBarFn(flowData, currentStep);
299
+ const showBack = (steps.length > 1 && !showProgressBar) ||
300
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === store.SSOStepTypeType.OTP ||
301
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === store.SSOStepTypeType.PASSWORD;
302
+ const showClose = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === store.SSOStepTypeType.FIRST;
303
+ const showLogo = (steps.length === 1 || showProgressBar) && !showBack;
200
304
  const logoType = (_a = index$2.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE;
201
305
  const [closeConfirmOpen, setCloseConfirmOpen] = React__default["default"].useState(false);
202
306
  const onCloseClick = () => {
@@ -263,6 +367,7 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
263
367
  borderRadius: '100%',
264
368
  }, onClick: onCloseClick, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Exit" },
265
369
  React__default["default"].createElement(core$1.Close, null)))),
370
+ showProgressBar && React__default["default"].createElement(ProgressBar, null),
266
371
  React__default["default"].createElement("div", { style: {
267
372
  flex: 1,
268
373
  } }, children)),
@@ -2094,6 +2199,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2094
2199
  const [errMsg, setErrMsg] = React__default["default"].useState('');
2095
2200
  const { locale, onClose, setTracking } = useSSOState();
2096
2201
  const { addStep, goNext } = store.useSSOSteps();
2202
+ const { setUserInfo } = store.useSSOV2Store();
2097
2203
  const [activeTab, setActiveTab] = React__default["default"].useState('login');
2098
2204
  const { legalTextType } = config || {};
2099
2205
  const { t } = index.useTranslations();
@@ -2110,20 +2216,31 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2110
2216
  }, [hidden]);
2111
2217
  const [loading, setLoading] = React__default["default"].useState(false);
2112
2218
  const handleLoginBySocial = (credential, provider) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2113
- var _c, _d;
2114
2219
  const res = yield loginBySocial(credential, provider);
2115
2220
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
2116
2221
  store.handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
2117
2222
  const userInfo = yield store.getUserInfo();
2223
+ setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
2118
2224
  if ((userInfo === null || userInfo === void 0 ? void 0 : userInfo._status) === 1 && userInfo._data) {
2119
2225
  store.useSSOV2Store.setState({
2120
2226
  flowData: {
2121
2227
  method: provider,
2122
2228
  },
2123
2229
  });
2124
- if (!store.isUserFinishedSetup(userInfo._data) ||
2125
- !userInfo._data.phone ||
2126
- !userInfo._data.phone_verified_at) {
2230
+ const isNotHavePhone = !userInfo._data.phone || !userInfo._data.phone_verified_at;
2231
+ if (isNotHavePhone) {
2232
+ store.useSSOV2Store.setState((f) => ({
2233
+ flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'signup', isVerifyPhone: true }),
2234
+ }));
2235
+ addStep({
2236
+ type: store.SSOStepTypeType.VERIFY_PHONE,
2237
+ config: {
2238
+ provider: provider,
2239
+ },
2240
+ });
2241
+ goNext();
2242
+ }
2243
+ else if (!store.isUserFinishedSetup(userInfo._data)) {
2127
2244
  store.useSSOV2Store.setState((f) => ({
2128
2245
  flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'signup' }),
2129
2246
  }));
@@ -2154,19 +2271,6 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2154
2271
  goNext();
2155
2272
  }
2156
2273
  }
2157
- else if (!((_c = userInfo._data) === null || _c === void 0 ? void 0 : _c.phone_verified_at) ||
2158
- !((_d = userInfo._data) === null || _d === void 0 ? void 0 : _d.phone)) {
2159
- store.useSSOV2Store.setState((f) => ({
2160
- flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'login', isVerifyPhone: true }),
2161
- }));
2162
- addStep({
2163
- type: store.SSOStepTypeType.VERIFY_PHONE,
2164
- config: {
2165
- provider: provider,
2166
- },
2167
- });
2168
- goNext();
2169
- }
2170
2274
  else {
2171
2275
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
2172
2276
  }
@@ -2206,7 +2310,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2206
2310
  };
2207
2311
  }, []);
2208
2312
  const onClickContinueZalo = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2209
- var _e, _f;
2313
+ var _c, _d;
2210
2314
  setLoading(true);
2211
2315
  const { areaCode, phoneNumber } = splitPhone(phone);
2212
2316
  if (!areaCode || !phoneNumber || !phone) {
@@ -2215,8 +2319,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2215
2319
  }
2216
2320
  const userExist = yield store.checkUserExist({ phone: phoneNumber });
2217
2321
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2218
- const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
2219
- if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
2322
+ const provider = (_c = userExist._data) === null || _c === void 0 ? void 0 : _c.provider;
2323
+ if ((_d = userExist._data) === null || _d === void 0 ? void 0 : _d.is_pass) {
2220
2324
  store.useSSOV2Store.setState({
2221
2325
  flowData: {
2222
2326
  method: 'zalo',
@@ -2255,7 +2359,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2255
2359
  config: {
2256
2360
  phone,
2257
2361
  otpType: 'phone-zalo',
2258
- afterAction: 'setup',
2362
+ afterAction: 'forgot',
2259
2363
  },
2260
2364
  });
2261
2365
  goNext();
@@ -2267,7 +2371,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2267
2371
  setLoading(false);
2268
2372
  });
2269
2373
  const onClickContinuePhone = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2270
- var _g, _h;
2374
+ var _e, _f;
2271
2375
  setLoading(true);
2272
2376
  const { areaCode, phoneNumber } = splitPhone(phone);
2273
2377
  if (!areaCode || !phoneNumber || !phone) {
@@ -2276,8 +2380,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2276
2380
  }
2277
2381
  const userExist = yield store.checkUserExist({ phone: phoneNumber });
2278
2382
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2279
- const provider = (_g = userExist._data) === null || _g === void 0 ? void 0 : _g.provider;
2280
- if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
2383
+ const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
2384
+ if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
2281
2385
  store.useSSOV2Store.setState({
2282
2386
  flowData: {
2283
2387
  method: 'sms',
@@ -2316,7 +2420,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2316
2420
  config: {
2317
2421
  phone,
2318
2422
  otpType: 'phone-sms',
2319
- afterAction: 'setup',
2423
+ afterAction: 'forgot',
2320
2424
  },
2321
2425
  });
2322
2426
  goNext();
@@ -2328,7 +2432,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2328
2432
  setLoading(false);
2329
2433
  });
2330
2434
  const onClickLoginWithPhone = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2331
- var _j, _k;
2435
+ var _g, _h;
2332
2436
  setLoading(true);
2333
2437
  const { areaCode, phoneNumber } = splitPhone(phone);
2334
2438
  if (!areaCode || !phoneNumber || !phone) {
@@ -2337,7 +2441,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2337
2441
  }
2338
2442
  const userExist = yield store.checkUserExist({ phone: phoneNumber });
2339
2443
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2340
- if (!userExist._data || !((_j = userExist._data) === null || _j === void 0 ? void 0 : _j.is_pass)) {
2444
+ if (!userExist._data || !((_g = userExist._data) === null || _g === void 0 ? void 0 : _g.is_pass)) {
2341
2445
  useMantineLocale.showNotification({
2342
2446
  message: t('ssov2.first.noAccountOrPass'),
2343
2447
  type: 'danger',
@@ -2345,7 +2449,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2345
2449
  setActiveTab('signup');
2346
2450
  return setLoading(false);
2347
2451
  }
2348
- if ((_k = userExist._data) === null || _k === void 0 ? void 0 : _k.is_pass) {
2452
+ if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
2349
2453
  store.useSSOV2Store.setState({
2350
2454
  flowData: {
2351
2455
  method: 'phone',
@@ -2512,7 +2616,7 @@ const initSendUpdateEmailOtp = (email) => tslib_es6.__awaiter(void 0, void 0, vo
2512
2616
  const resendUpdateEmailOTP = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2513
2617
  const formData = new FormData();
2514
2618
  return store.fetchSSOV2Api(store.SSO_V2_PATHS.ECOM_CARE.RESEND_OTP, {
2515
- method: 'POST',
2619
+ method: 'GET',
2516
2620
  body: formData,
2517
2621
  });
2518
2622
  });
@@ -2900,7 +3004,7 @@ const SSOOTPScreen = ({ hidden, index: index$1, config, }) => {
2900
3004
  'data-event-category': trackingCategory,
2901
3005
  'data-event-action': trackingAction,
2902
3006
  'data-event-label': 'Enter Code',
2903
- } })),
3007
+ }, placeholder: "*" })),
2904
3008
  React__default["default"].createElement(core.Group, { spacing: 8, align: "center", style: {
2905
3009
  height: 40,
2906
3010
  } },
@@ -2920,6 +3024,7 @@ const SSOOTPScreen = ({ hidden, index: index$1, config, }) => {
2920
3024
  const SSOPasswordScreen = ({ hidden, config, }) => {
2921
3025
  const { t } = index.useTranslations();
2922
3026
  const { onClose, setTracking } = useSSOState();
3027
+ const { setUserInfo, flowData } = store.useSSOV2Store();
2923
3028
  const [errMsg, setErrMsg] = React__default["default"].useState('');
2924
3029
  const phone = config === null || config === void 0 ? void 0 : config.phone;
2925
3030
  const method = config === null || config === void 0 ? void 0 : config.method;
@@ -2983,11 +3088,12 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
2983
3088
  setLoading(false);
2984
3089
  });
2985
3090
  const onAuthSuccess = (data) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
2986
- var _c, _d;
2987
3091
  store.handleAuthSuccess(data);
3092
+ const userInfo = yield store.getUserInfo();
3093
+ const isPhoneFlow = isPhoneFlowFn(flowData);
3094
+ setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
2988
3095
  if (!phone && !!email) {
2989
- const userInfo = yield store.getUserInfo();
2990
- if (!((_c = userInfo._data) === null || _c === void 0 ? void 0 : _c.phone_verified_at) || !((_d = userInfo._data) === null || _d === void 0 ? void 0 : _d.phone)) {
3096
+ if (store.isPhoneNotVerifedYet(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
2991
3097
  store.useSSOV2Store.setState((s) => ({
2992
3098
  flowData: Object.assign(Object.assign({}, s.flowData), { isVerifyPhone: true }),
2993
3099
  }));
@@ -3001,6 +3107,27 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
3001
3107
  return;
3002
3108
  }
3003
3109
  }
3110
+ if (store.isLoginWithPhoneNotVerifedYet(flowData, userInfo._data)) {
3111
+ addStep({
3112
+ type: store.SSOStepTypeType.FORGOT_PASSWORD_PHONE,
3113
+ config: {
3114
+ phone: `${userInfo._data.area_code}${userInfo._data.phone}`,
3115
+ afterAction: 'setup',
3116
+ },
3117
+ });
3118
+ goNext();
3119
+ return;
3120
+ }
3121
+ if (isPhoneFlow && !store.isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3122
+ addStep({
3123
+ type: store.SSOStepTypeType.SETUP_FULL,
3124
+ config: {
3125
+ userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data,
3126
+ },
3127
+ });
3128
+ goNext();
3129
+ return;
3130
+ }
3004
3131
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
3005
3132
  });
3006
3133
  return (React__default["default"].createElement("form", { style: {
@@ -3049,6 +3176,37 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
3049
3176
  React__default["default"].createElement(index$4.Button, { type: "submit", size: "lg", variant: "primary", mt: 12, fullWidth: true, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Sign In" }, t('ssov2.password.signIn'))));
3050
3177
  };
3051
3178
 
3179
+ const SetupLater = ({ style = {} }) => {
3180
+ const { t } = index.useTranslations();
3181
+ const { onClose } = useSSOState();
3182
+ const [loading, setLoading] = React.useState(false);
3183
+ const { userInfo } = store.useSSOV2Store();
3184
+ const { currentStepIndex, steps, addStep, goNext } = store.useSSOSteps();
3185
+ const currentStep = steps[currentStepIndex];
3186
+ const onClickSetupLater = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
3187
+ if (loading)
3188
+ return;
3189
+ setLoading(true);
3190
+ if (userInfo &&
3191
+ !store.isUserFinishedSetup(userInfo) &&
3192
+ ((currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === store.SSOStepTypeType.VERIFY_PHONE ||
3193
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === store.SSOStepTypeType.FORGOT_PASSWORD_PHONE)) {
3194
+ addStep({
3195
+ type: store.SSOStepTypeType.SETUP_FULL,
3196
+ config: {
3197
+ userInfo,
3198
+ },
3199
+ });
3200
+ goNext();
3201
+ }
3202
+ else {
3203
+ onClose === null || onClose === void 0 ? void 0 : onClose(true);
3204
+ }
3205
+ setLoading(false);
3206
+ });
3207
+ return (React__default["default"].createElement(index$4.Button, { size: "sm", variant: "white", color: "#737373", style: Object.assign({ fontWeight: 400 }, style), onClick: onClickSetupLater, disabled: loading }, t('ssov2.button.setupLater')));
3208
+ };
3209
+
3052
3210
  const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3053
3211
  const phone = config === null || config === void 0 ? void 0 : config.phone;
3054
3212
  const { t } = index.useTranslations();
@@ -3096,7 +3254,7 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3096
3254
  config: {
3097
3255
  phone,
3098
3256
  otpType: 'phone-zalo',
3099
- afterAction: 'forgot',
3257
+ afterAction: config.afterAction || 'forgot',
3100
3258
  provider: (_b = userExist._data) === null || _b === void 0 ? void 0 : _b.provider,
3101
3259
  },
3102
3260
  });
@@ -3139,7 +3297,7 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3139
3297
  config: {
3140
3298
  phone,
3141
3299
  otpType: 'phone-sms',
3142
- afterAction: 'forgot',
3300
+ afterAction: config.afterAction || 'forgot',
3143
3301
  provider: (_d = userExist._data) === null || _d === void 0 ? void 0 : _d.provider,
3144
3302
  },
3145
3303
  });
@@ -3167,7 +3325,8 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3167
3325
  isError: !!errMsg, required: true, disabled: true, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone" }),
3168
3326
  errMsg && (React__default["default"].createElement(index$3.Text, { size: "label2", color: "red.6", mt: -12 }, errMsg)),
3169
3327
  React__default["default"].createElement(index$4.Button, { size: "lg", variant: "primary", onClick: onClickContinueZalo, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with Zalo" }, t('ssov2.button.continueZalo')),
3170
- React__default["default"].createElement(index$4.Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS" }, t('ssov2.button.continueSMS')))));
3328
+ React__default["default"].createElement(index$4.Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS" }, t('ssov2.button.continueSMS')),
3329
+ React__default["default"].createElement(SetupLater, null))));
3171
3330
  };
3172
3331
 
3173
3332
  const CheckGrayIcon = () => (React__default["default"].createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -3209,6 +3368,7 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3209
3368
  const [loading, setLoading] = React__default["default"].useState(false);
3210
3369
  const [errMsg, setErrMsg] = React__default["default"].useState('');
3211
3370
  const { setTracking } = useSSOState();
3371
+ const { addStep, goNext } = store.useSSOSteps();
3212
3372
  const { flowData } = store.useSSOV2Store();
3213
3373
  const trackingMethod = flowData.method;
3214
3374
  const trackingCategory = `SSO - Sign In via ${trackingMethod}`;
@@ -3249,20 +3409,28 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3249
3409
  password === confirmPassword) {
3250
3410
  const res = yield store.resetPassword(password, confirmPassword);
3251
3411
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
3252
- useMantineLocale.showNotification({
3253
- type: 'success',
3254
- message: 'Password has been reset successfully',
3255
- });
3256
- // back to login step
3257
- const foundPasswordIndex = steps.findIndex((step) => step.type === store.SSOStepTypeType.PASSWORD);
3258
- if (foundPasswordIndex === -1) {
3259
- // reset to first step
3260
- setSteps((s) => [s[0]]);
3261
- store.useSSOSteps.setState({ currentStepIndex: 0 });
3412
+ if (isPhoneFlowFn(flowData)) {
3413
+ addStep({
3414
+ type: store.SSOStepTypeType.SETUP_FULL,
3415
+ });
3416
+ goNext();
3262
3417
  }
3263
3418
  else {
3264
- setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3265
- store.useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3419
+ useMantineLocale.showNotification({
3420
+ type: 'success',
3421
+ message: 'Password has been reset successfully',
3422
+ });
3423
+ // back to login step
3424
+ const foundPasswordIndex = steps.findIndex((step) => step.type === store.SSOStepTypeType.PASSWORD);
3425
+ if (foundPasswordIndex === -1) {
3426
+ // reset to first step
3427
+ setSteps((s) => [s[0]]);
3428
+ store.useSSOSteps.setState({ currentStepIndex: 0 });
3429
+ }
3430
+ else {
3431
+ setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3432
+ store.useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3433
+ }
3266
3434
  }
3267
3435
  // onClose?.()
3268
3436
  }
@@ -3290,7 +3458,9 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3290
3458
  action: trackingAction,
3291
3459
  } }),
3292
3460
  errMsg && (React__default["default"].createElement(index$3.Text, { size: "label2", color: "red.6", mt: -12 }, errMsg)),
3293
- React__default["default"].createElement(index$4.Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Save" }, t('ssov2.button.save')))));
3461
+ React__default["default"].createElement(index$4.Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'signup' ? 'Create New Account' : 'Save' }, (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'signup'
3462
+ ? t('ssov2.setup.button.createAccount')
3463
+ : t('ssov2.button.save')))));
3294
3464
  };
3295
3465
 
3296
3466
  const SSOPhoneVerify = ({ hidden, config, }) => {
@@ -3311,6 +3481,7 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3311
3481
  });
3312
3482
  }
3313
3483
  }, [hidden]);
3484
+ const { setupSource } = store.useSSOV2Store();
3314
3485
  const { addStep, goNext } = store.useSSOSteps();
3315
3486
  const onClickContinueZalo = () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
3316
3487
  setLoading(true);
@@ -3410,7 +3581,8 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3410
3581
  setErrMsg('');
3411
3582
  }, isError: !!errMsg, required: true, name: "phone", disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone" })),
3412
3583
  React__default["default"].createElement(index$4.Button, { size: "lg", variant: "primary", onClick: onClickContinueZalo, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with Zalo" }, t('ssov2.button.continueZalo')),
3413
- React__default["default"].createElement(index$4.Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS" }, t('ssov2.button.continueSMS'))))));
3584
+ React__default["default"].createElement(index$4.Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS" }, t('ssov2.button.continueSMS')),
3585
+ setupSource !== 'care' && setupSource !== 'ecom' && React__default["default"].createElement(SetupLater, null)))));
3414
3586
  };
3415
3587
 
3416
3588
  const FemaleIcon = () => (React__default["default"].createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -3442,39 +3614,19 @@ const MaleIcon = () => (React__default["default"].createElement("svg", { width:
3442
3614
  React__default["default"].createElement("path", { d: "M11.122 6.393a.157.157 0 0 1-.051-.304c.687-.234 1.688-.344 2.26-.03a.156.156 0 0 1-.15.274c-.463-.254-1.38-.163-2.009.052a.2.2 0 0 1-.05.008m-2.19.572a.16.16 0 0 1-.144-.097c-.013-.027-.123-.097-.363-.129-.325-.043-.672.016-.772.131a.156.156 0 1 1-.236-.205c.214-.245.721-.29 1.103-.228.209.034.475.116.556.311a.156.156 0 0 1-.144.217m.222-.571a.2.2 0 0 1-.05-.009c-.629-.215-1.546-.306-2.009-.051a.156.156 0 1 1-.15-.274c.572-.315 1.572-.206 2.26.03a.156.156 0 0 1-.05.304", fill: "#404040" }),
3443
3615
  React__default["default"].createElement("path", { d: "m11.12 9.547-.019.001a8 8 0 0 1-1.928 0 .156.156 0 1 0-.037.31c.665.08 1.337.08 2.003 0a.156.156 0 0 0-.019-.31", fill: "#D84023" })));
3444
3616
 
3617
+ // import { StyledPhone } from '../components/phone'
3445
3618
  // always has name, gender dob
3446
- const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isPhoneDisabled, loading, tracking, }) => {
3619
+ const OtherSetup = ({ form,
3620
+ // needPhone,
3621
+ // skipPhone,
3622
+ needEmail, isEmailDisable,
3623
+ // isPhoneDisabled,
3624
+ loading, tracking, }) => {
3447
3625
  const { t } = index.useTranslations();
3448
- const { locale = 'vi-VN' } = useSSOState();
3626
+ // const { locale = 'vi-VN' } = useSSOState()
3449
3627
  const { setupSource } = store.useSSOV2Store();
3450
3628
  const [dobChanged, setDobChanged] = React__default["default"].useState(false);
3451
3629
  return (React__default["default"].createElement(core.Stack, { spacing: 12 },
3452
- needPhone && (React__default["default"].createElement(React__default["default"].Fragment, null,
3453
- React__default["default"].createElement(index$5.Input.Wrapper, Object.assign({ label: t('ssov2.setup.field.phone.label'), withAsterisk: true }, form.getInputProps('phone')),
3454
- React__default["default"].createElement(StyledPhone, { defaultCountry: (locale ? utils.MAPPED_LOCALE[locale] || 'VN' : 'VN'), value: form.getInputProps('phone').value, onChange: (value) => {
3455
- form.setFieldValue('phone', value);
3456
- }, isError: !!form.getInputProps('phone').error, required: true, name: "phone", disabled: loading || isPhoneDisabled, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Enter Phone" })),
3457
- !skipPhone && (React__default["default"].createElement(core.Group, { spacing: 24 },
3458
- React__default["default"].createElement(index$3.Text, { size: "p4" }, t('ssov2.setup.field.otp.label')),
3459
- React__default["default"].createElement(index$5.Radio.Group, Object.assign({ name: "otpMethod", styles: {
3460
- root: {
3461
- display: 'flex',
3462
- flexDirection: 'row',
3463
- flexWrap: 'wrap',
3464
- gap: 24,
3465
- },
3466
- } }, form.getInputProps('otpMethod')),
3467
- React__default["default"].createElement(index$5.Radio, { value: "zalo", label: "Zalo", styles: {
3468
- label: {
3469
- paddingLeft: 8,
3470
- },
3471
- }, disabled: loading, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Send OTP Code via Zalo" }),
3472
- React__default["default"].createElement(index$5.Radio, { value: "sms", label: "SMS", styles: {
3473
- label: {
3474
- paddingLeft: 8,
3475
- },
3476
- }, disabled: loading, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Send OTP Code via SMS" })))))),
3477
- needEmail && (React__default["default"].createElement(index$5.Input, Object.assign({ name: "email", type: "email", label: t('ssov2.setup.field.email.label'), disabled: isEmailDisable || loading, required: setupSource === 'care' ? true : false, withAsterisk: setupSource === 'care' ? true : false, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Enter Email" }, form.getInputProps('email')))),
3478
3630
  React__default["default"].createElement(index$5.Input, Object.assign({ name: "name", label: t('ssov2.setup.field.name.label'), withAsterisk: true, required: true, placeholder: t('ssov2.setup.field.name.placeholder'), disabled: loading, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Enter Name" }, form.getInputProps('name'))),
3479
3631
  React__default["default"].createElement(index$5.Input.Wrapper, Object.assign({ label: t('ssov2.setup.field.gender.label'), withAsterisk: true }, form.getInputProps('gender')),
3480
3632
  React__default["default"].createElement(core.Group, null,
@@ -3509,9 +3661,13 @@ const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isP
3509
3661
  if (!form.getInputProps('dob').value && !dobChanged)
3510
3662
  return;
3511
3663
  form.getInputProps('dob').onBlur(e);
3512
- } }))));
3664
+ } })),
3665
+ needEmail && (React__default["default"].createElement(index$5.Input, Object.assign({ name: "email", type: "email", label: t('ssov2.setup.field.email.label'), disabled: isEmailDisable || loading, required: setupSource === 'care' ? true : false, withAsterisk: setupSource === 'care' ? true : false, "data-event-category": tracking === null || tracking === void 0 ? void 0 : tracking.category, "data-event-action": tracking === null || tracking === void 0 ? void 0 : tracking.action, "data-event-label": "Enter Email", style: {
3666
+ display: isEmailDisable ? 'none' : 'block',
3667
+ } }, form.getInputProps('email'))))));
3513
3668
  };
3514
3669
 
3670
+ // import { SSOPasswordWithConfirm } from '../passwordForgotSetup/passwordWithConfirm'
3515
3671
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3516
3672
  const getDefaultData = (data) => {
3517
3673
  try {
@@ -3547,13 +3703,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3547
3703
  const provider = (_a = config === null || config === void 0 ? void 0 : config.userInfo) === null || _a === void 0 ? void 0 : _a.provider;
3548
3704
  const authFlow = flowData === null || flowData === void 0 ? void 0 : flowData.flow;
3549
3705
  const defaultData = getDefaultData(config === null || config === void 0 ? void 0 : config.setupDefaultData);
3550
- const needPass = (authMethod === 'phone' ||
3551
- authMethod === 'zalo' ||
3552
- authMethod === 'sms' ||
3553
- authMethod === 'email' ||
3554
- provider === 'email' ||
3555
- provider === 'phone') &&
3556
- !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.is_pass);
3557
3706
  const skipPhone = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) && !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at);
3558
3707
  const isPhoneDisabled = !!(configPhone || (defaultData === null || defaultData === void 0 ? void 0 : defaultData.phone) || skipPhone);
3559
3708
  const needPhone = authFlow === 'signup' &&
@@ -3573,8 +3722,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3573
3722
  !(flowData === null || flowData === void 0 ? void 0 : flowData.isVerifyPhone) ||
3574
3723
  authMethod === 'facebook' ||
3575
3724
  provider === 'facebook';
3576
- // const needPhone = !userInfo?.phone_verified_at
3577
- // const needEmail = authFlow !== 'verify-phone'
3578
3725
  const isEmailDisable = (defaultEmail &&
3579
3726
  (authMethod === 'google' ||
3580
3727
  authMethod === 'email' ||
@@ -3611,30 +3758,7 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3611
3758
  ? dayjs__default["default"](defaultData.birthday, 'MM/DD/YYYY').toDate()
3612
3759
  : undefined }),
3613
3760
  validateInputOnBlur: true,
3614
- validate: form.yupResolver(yup__namespace.object().shape(Object.assign(Object.assign(Object.assign(Object.assign({}, (needPass
3615
- ? {
3616
- password: yup__namespace
3617
- .string()
3618
- .required(t('ssov2.validate.password.required'))
3619
- .min(8, ' ')
3620
- .max(50, ' ')
3621
- .matches(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/, ' '),
3622
- confirmPassword: yup__namespace
3623
- .string()
3624
- .required(t('ssov2.validate.confirmPassword.required'))
3625
- .test('passwords-match', t('ssov2.validate.confirmPassword.match'), function (value) {
3626
- return this.parent.password === value;
3627
- }),
3628
- }
3629
- : {})), (needPhone
3630
- ? Object.assign({ phone: yup__namespace.string().required(t('ssov2.validate.phone.required')) }, (!skipPhone
3631
- ? {
3632
- otpMethod: yup__namespace
3633
- .string()
3634
- .required(t('ssov2.validate.otp.required'))
3635
- .oneOf(['zalo', 'sms']),
3636
- }
3637
- : {})) : {})), (needEmail
3761
+ validate: form.yupResolver(yup__namespace.object().shape(Object.assign(Object.assign({}, (needEmail
3638
3762
  ? {
3639
3763
  email: setupSource === 'care'
3640
3764
  ? yup__namespace
@@ -3761,24 +3885,13 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3761
3885
  React__default["default"].createElement(core.Stack, { spacing: 8 },
3762
3886
  React__default["default"].createElement(index$3.Text, { size: "s1", weight: "semiBold" }, t('ssov2.setup.title')),
3763
3887
  React__default["default"].createElement(index$3.Text, { size: "p4" }, t('ssov2.setup.description'))),
3764
- needPass && (React__default["default"].createElement(SSOPasswordWithConfirm, { form: form$1, loading: loading, tracking: {
3765
- category: trackingCategory,
3766
- action: trackingAction,
3767
- } })),
3768
3888
  React__default["default"].createElement(OtherSetup, { needPhone: needPhone, skipPhone: skipPhone, needEmail: needEmail, isEmailDisable: isEmailDisable, isPhoneDisabled: isPhoneDisabled, form: form$1, loading: loading, tracking: {
3769
3889
  category: trackingCategory,
3770
3890
  action: trackingAction,
3771
3891
  } }),
3772
3892
  errMsg && (React__default["default"].createElement(index$3.Text, { color: "red.6", size: "p4" }, errMsg)),
3773
- React__default["default"].createElement(index$4.Button, { type: "submit", variant: "primary", fullWidth: true, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": needPhone && !skipPhone
3774
- ? 'Verify Phone Number'
3775
- : authFlow === 'signup'
3776
- ? 'Create New Account'
3777
- : 'Save' }, needPhone && !skipPhone
3778
- ? t('ssov2.setup.button.veriyPhone')
3779
- : authFlow === 'signup'
3780
- ? t('ssov2.setup.button.createAccount')
3781
- : t('ssov2.button.save')))));
3893
+ React__default["default"].createElement(index$4.Button, { type: "submit", variant: "primary", fullWidth: true, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Save" }, t('ssov2.button.save')),
3894
+ React__default["default"].createElement(SetupLater, { style: { marginTop: -8 } }))));
3782
3895
  };
3783
3896
 
3784
3897
  // import {