@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
@@ -1,27 +1,27 @@
1
- import { a as __awaiter, _ as __rest } from './tslib.es6-f9caf44b.js';
2
- import React__default, { createContext, useEffect, useState, useMemo, useCallback, forwardRef } from 'react';
3
- import { I as Input, s as styles, O as OTP, f as PasswordInput, R as Radio, E as ErrorBoundary } from './index-e82971ac.js';
4
- import { a as useSSOSteps, f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, u as useSSOV2Store, b as SSOStepTypeType, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, i as isUserFinishedSetup, d as updateUserInfo, r as resetPassword, e as redirect } from './store-fb5b7e13.js';
5
- export { u as useSSOV2Store } from './store-fb5b7e13.js';
1
+ import { a as __awaiter, _ as __rest } from './tslib.es6-86212af9.js';
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-b70f5d64.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-4e230438.js';
5
+ export { u as useSSOV2Store } from './store-4e230438.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-4c352ebb.js';
9
- import { L as LogoIcon } from './logoIcon-9688bc3c.js';
10
- import { B as Button } from './index-5cfbe80d.js';
11
- import { M as Modal } from './index-be21276f.js';
12
- import { Stack, Group, Box } from '@mantine/core';
8
+ import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-0c004a97.js';
9
+ import { L as LogoIcon } from './logoIcon-7a499f05.js';
10
+ import { B as Button } from './index-92f80934.js';
11
+ import { M as Modal } from './index-dd7e3fb7.js';
12
+ import { Stack, Flex, Box, Group } from '@mantine/core';
13
13
  import '@mantine/dates';
14
- import './index-d457d5b4.js';
15
- import './index-e4808cf4.js';
16
- import { s as showNotification } from './useMantineLocale-73e0e71e.js';
17
- import { T as Text } from './index-8b2bb6dd.js';
18
- import { u as useTranslations } from './index-c72a5758.js';
14
+ import './index-707d8ae5.js';
15
+ import './index-681f67ff.js';
16
+ import { s as showNotification } from './useMantineLocale-fcf00972.js';
17
+ import { T as Text } from './index-5c9d48d1.js';
18
+ import { u as useTranslations } from './index-ef4612a9.js';
19
19
  import '@mantine/hooks';
20
- import './utils-4dfbb209.js';
21
- import './other-509b77ae.js';
22
- import './index-d4942a01.js';
23
- import { L as LOCALE } from './Locale-86b3f818.js';
24
- import { G as Google, F as Facebook } from './Google-6d5e4852.js';
20
+ import './utils-7771318f.js';
21
+ import './other-cfa4ef43.js';
22
+ import './index-eea15ce6.js';
23
+ import { L as LOCALE } from './Locale-50dc868e.js';
24
+ import { G as Google, F as Facebook } from './Google-99b3188e.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-ba61ee9b.js';
32
+ import { u as useScreenSize } from './useScreenSize-e14b35de.js';
33
33
  import { Drawer } from 'vaul';
34
- import { M as MAPPED_LOCALE } from './utils-2da6dc65.js';
35
- import { S as Spoiler } from './index-f354c81c.js';
34
+ import { M as MAPPED_LOCALE } from './utils-d3f25c36.js';
35
+ import { S as Spoiler } from './index-84a66805.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-b8a6eedd.js';
40
+ import { D as DatePicker } from './index-43ca239e.js';
41
41
  import '@mantine/carousel';
42
42
  import './miscTheme.js';
43
- import './useUniqueId-46ceab38.js';
43
+ import './useUniqueId-96071117.js';
44
44
  import './constantsSite.js';
45
45
  import 'zustand';
46
46
  import './constantsIsProduction.js';
47
- import './normalizeLink-6d001dd3.js';
47
+ import './normalizeLink-0f353622.js';
48
48
  import './miscCookieHelper.js';
49
49
  import 'date-fns/locale';
50
50
  import './constantsRiskScreener.js';
51
- import './index.styles-8963f87c.js';
51
+ import './index.styles-1da80b38.js';
52
52
  import '@mantine/notifications';
53
- import './translationsContext-85cf60fd.js';
53
+ import './translationsContext-20a6d9a0.js';
54
54
 
55
55
  const SSOStateContext = createContext({
56
56
  locale: LOCALE.Vietnam,
@@ -158,13 +158,117 @@ 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 isSocialFlowFn = (flowData) => {
162
+ return (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'google' || (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'facebook';
163
+ };
164
+ const isPhoneFlowFn = (flowData) => {
165
+ return ((flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'sms' ||
166
+ (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'zalo' ||
167
+ (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'phone');
168
+ };
169
+ const isDisplayProgressBarFn = (flowData, step) => {
170
+ const showProgressBar = (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.OTP ||
171
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.SETUP_FULL ||
172
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.VERIFY_PHONE ||
173
+ (step === null || step === void 0 ? void 0 : step.type) === SSOStepTypeType.PASSWORD ||
174
+ (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);
178
+ return showProgressBar && isWhiteListFlow;
179
+ };
180
+ const getCurrentStepNumber = (flowData, step, userInfo) => {
181
+ const isSocialFlow = isSocialFlowFn(flowData);
182
+ const isPhoneFlow = isPhoneFlowFn(flowData);
183
+ /** Social (Google, Facebook): FIRST => VERIFY_PHONE | OTP => STEP_FULL */
184
+ if (isSocialFlow) {
185
+ const arrSteps = [
186
+ isPhoneNotVerifedYet(userInfo)
187
+ ? [SSOStepTypeType.VERIFY_PHONE, SSOStepTypeType.OTP]
188
+ : undefined,
189
+ !userInfo || !isUserFinishedSetup(userInfo)
190
+ ? SSOStepTypeType.SETUP_FULL
191
+ : undefined,
192
+ ]
193
+ .flat()
194
+ .filter(Boolean);
195
+ return [
196
+ arrSteps.length,
197
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
198
+ ];
199
+ }
200
+ if (isPhoneFlow && (flowData === null || flowData === void 0 ? void 0 : flowData.flow) === 'signup') {
201
+ const arrSteps = [
202
+ isPhoneNotVerifedYet(userInfo) ? SSOStepTypeType.OTP : undefined,
203
+ isUserNeedPassword(flowData, userInfo)
204
+ ? SSOStepTypeType.FORGOT_PASSWORD_SETUP
205
+ : undefined,
206
+ !userInfo || !isUserFinishedSetup(userInfo)
207
+ ? SSOStepTypeType.SETUP_FULL
208
+ : undefined,
209
+ ]
210
+ .flat()
211
+ .filter(Boolean);
212
+ return [
213
+ arrSteps.length,
214
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
215
+ ];
216
+ }
217
+ 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);
231
+ return [
232
+ arrSteps.length,
233
+ arrSteps.findIndex((type) => type === (step === null || step === void 0 ? void 0 : step.type)) + 1,
234
+ ];
235
+ }
236
+ return [];
237
+ };
238
+ const ProgressBar = () => {
239
+ // const initUserInfo = useRef<UserInfo | undefined | null>()
240
+ const { steps, currentStepIndex } = useSSOSteps();
241
+ const { flowData, userInfo } = useSSOV2Store();
242
+ /** No need update state IF userInfo is changed */
243
+ const initUserInfo = useMemo(() => userInfo, [userInfo]);
244
+ const currentStep = steps[currentStepIndex];
245
+ const [totalStepNumber, activeStepNumber] = getCurrentStepNumber(flowData, currentStep, initUserInfo);
246
+ if (!activeStepNumber || totalStepNumber === 1)
247
+ return null;
248
+ return (React__default.createElement(Flex, { gap: 2 }, Array.from({ length: totalStepNumber }).map((_, idx) => {
249
+ const currentStepNumber = idx + 1;
250
+ return (React__default.createElement(Box, { key: currentStepNumber, style: {
251
+ width: 'auto',
252
+ height: 2,
253
+ flex: 1,
254
+ borderRadius: 4,
255
+ backgroundColor: currentStepNumber <= activeStepNumber ? '#00B16A' : '#D2D6DC',
256
+ } }));
257
+ })));
258
+ };
259
+
161
260
  const SSOPopupWrapper = ({ children, opened, onClose, }) => {
162
261
  var _a;
163
- const { steps, goBack } = useSSOSteps();
262
+ const { steps, goBack, currentStepIndex } = useSSOSteps();
263
+ const { flowData } = useSSOV2Store();
164
264
  const { locale, tracking } = useSSOState();
165
- const showBack = steps.length > 1;
166
- const showClose = steps.length === 1;
167
- const showLogo = steps.length === 1;
265
+ const currentStep = steps[currentStepIndex];
266
+ const showProgressBar = isDisplayProgressBarFn(flowData, currentStep);
267
+ const showBack = (steps.length > 1 && !showProgressBar) ||
268
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.OTP ||
269
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.PASSWORD;
270
+ const showClose = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.FIRST;
271
+ const showLogo = (steps.length === 1 || showProgressBar) && !showBack;
168
272
  const logoType = (_a = LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE;
169
273
  const [closeConfirmOpen, setCloseConfirmOpen] = React__default.useState(false);
170
274
  const onCloseClick = () => {
@@ -231,6 +335,7 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
231
335
  borderRadius: '100%',
232
336
  }, 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" },
233
337
  React__default.createElement(Close, null)))),
338
+ showProgressBar && React__default.createElement(ProgressBar, null),
234
339
  React__default.createElement("div", { style: {
235
340
  flex: 1,
236
341
  } }, children)),
@@ -2062,6 +2167,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2062
2167
  const [errMsg, setErrMsg] = React__default.useState('');
2063
2168
  const { locale, onClose, setTracking } = useSSOState();
2064
2169
  const { addStep, goNext } = useSSOSteps();
2170
+ const { setUserInfo } = useSSOV2Store();
2065
2171
  const [activeTab, setActiveTab] = React__default.useState('login');
2066
2172
  const { legalTextType } = config || {};
2067
2173
  const { t } = useTranslations();
@@ -2078,20 +2184,31 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2078
2184
  }, [hidden]);
2079
2185
  const [loading, setLoading] = React__default.useState(false);
2080
2186
  const handleLoginBySocial = (credential, provider) => __awaiter(void 0, void 0, void 0, function* () {
2081
- var _c, _d;
2082
2187
  const res = yield loginBySocial(credential, provider);
2083
2188
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
2084
2189
  handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
2085
2190
  const userInfo = yield getUserInfo();
2191
+ setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
2086
2192
  if ((userInfo === null || userInfo === void 0 ? void 0 : userInfo._status) === 1 && userInfo._data) {
2087
2193
  useSSOV2Store.setState({
2088
2194
  flowData: {
2089
2195
  method: provider,
2090
2196
  },
2091
2197
  });
2092
- if (!isUserFinishedSetup(userInfo._data) ||
2093
- !userInfo._data.phone ||
2094
- !userInfo._data.phone_verified_at) {
2198
+ const isNotHavePhone = !userInfo._data.phone || !userInfo._data.phone_verified_at;
2199
+ if (isNotHavePhone) {
2200
+ useSSOV2Store.setState((f) => ({
2201
+ flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'signup', isVerifyPhone: true }),
2202
+ }));
2203
+ addStep({
2204
+ type: SSOStepTypeType.VERIFY_PHONE,
2205
+ config: {
2206
+ provider: provider,
2207
+ },
2208
+ });
2209
+ goNext();
2210
+ }
2211
+ else if (!isUserFinishedSetup(userInfo._data)) {
2095
2212
  useSSOV2Store.setState((f) => ({
2096
2213
  flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'signup' }),
2097
2214
  }));
@@ -2122,19 +2239,6 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2122
2239
  goNext();
2123
2240
  }
2124
2241
  }
2125
- else if (!((_c = userInfo._data) === null || _c === void 0 ? void 0 : _c.phone_verified_at) ||
2126
- !((_d = userInfo._data) === null || _d === void 0 ? void 0 : _d.phone)) {
2127
- useSSOV2Store.setState((f) => ({
2128
- flowData: Object.assign(Object.assign({}, f.flowData), { flow: 'login', isVerifyPhone: true }),
2129
- }));
2130
- addStep({
2131
- type: SSOStepTypeType.VERIFY_PHONE,
2132
- config: {
2133
- provider: provider,
2134
- },
2135
- });
2136
- goNext();
2137
- }
2138
2242
  else {
2139
2243
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
2140
2244
  }
@@ -2174,7 +2278,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2174
2278
  };
2175
2279
  }, []);
2176
2280
  const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
2177
- var _e, _f;
2281
+ var _c, _d;
2178
2282
  setLoading(true);
2179
2283
  const { areaCode, phoneNumber } = splitPhone(phone);
2180
2284
  if (!areaCode || !phoneNumber || !phone) {
@@ -2183,8 +2287,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2183
2287
  }
2184
2288
  const userExist = yield checkUserExist({ phone: phoneNumber });
2185
2289
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2186
- const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
2187
- if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
2290
+ const provider = (_c = userExist._data) === null || _c === void 0 ? void 0 : _c.provider;
2291
+ if ((_d = userExist._data) === null || _d === void 0 ? void 0 : _d.is_pass) {
2188
2292
  useSSOV2Store.setState({
2189
2293
  flowData: {
2190
2294
  method: 'zalo',
@@ -2223,7 +2327,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2223
2327
  config: {
2224
2328
  phone,
2225
2329
  otpType: 'phone-zalo',
2226
- afterAction: 'setup',
2330
+ afterAction: 'forgot',
2227
2331
  },
2228
2332
  });
2229
2333
  goNext();
@@ -2235,7 +2339,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2235
2339
  setLoading(false);
2236
2340
  });
2237
2341
  const onClickContinuePhone = () => __awaiter(void 0, void 0, void 0, function* () {
2238
- var _g, _h;
2342
+ var _e, _f;
2239
2343
  setLoading(true);
2240
2344
  const { areaCode, phoneNumber } = splitPhone(phone);
2241
2345
  if (!areaCode || !phoneNumber || !phone) {
@@ -2244,8 +2348,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2244
2348
  }
2245
2349
  const userExist = yield checkUserExist({ phone: phoneNumber });
2246
2350
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2247
- const provider = (_g = userExist._data) === null || _g === void 0 ? void 0 : _g.provider;
2248
- if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
2351
+ const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
2352
+ if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
2249
2353
  useSSOV2Store.setState({
2250
2354
  flowData: {
2251
2355
  method: 'sms',
@@ -2284,7 +2388,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2284
2388
  config: {
2285
2389
  phone,
2286
2390
  otpType: 'phone-sms',
2287
- afterAction: 'setup',
2391
+ afterAction: 'forgot',
2288
2392
  },
2289
2393
  });
2290
2394
  goNext();
@@ -2296,7 +2400,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2296
2400
  setLoading(false);
2297
2401
  });
2298
2402
  const onClickLoginWithPhone = () => __awaiter(void 0, void 0, void 0, function* () {
2299
- var _j, _k;
2403
+ var _g, _h;
2300
2404
  setLoading(true);
2301
2405
  const { areaCode, phoneNumber } = splitPhone(phone);
2302
2406
  if (!areaCode || !phoneNumber || !phone) {
@@ -2305,7 +2409,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2305
2409
  }
2306
2410
  const userExist = yield checkUserExist({ phone: phoneNumber });
2307
2411
  if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
2308
- if (!userExist._data || !((_j = userExist._data) === null || _j === void 0 ? void 0 : _j.is_pass)) {
2412
+ if (!userExist._data || !((_g = userExist._data) === null || _g === void 0 ? void 0 : _g.is_pass)) {
2309
2413
  showNotification({
2310
2414
  message: t('ssov2.first.noAccountOrPass'),
2311
2415
  type: 'danger',
@@ -2313,7 +2417,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
2313
2417
  setActiveTab('signup');
2314
2418
  return setLoading(false);
2315
2419
  }
2316
- if ((_k = userExist._data) === null || _k === void 0 ? void 0 : _k.is_pass) {
2420
+ if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
2317
2421
  useSSOV2Store.setState({
2318
2422
  flowData: {
2319
2423
  method: 'phone',
@@ -2480,7 +2584,7 @@ const initSendUpdateEmailOtp = (email) => __awaiter(void 0, void 0, void 0, func
2480
2584
  const resendUpdateEmailOTP = () => __awaiter(void 0, void 0, void 0, function* () {
2481
2585
  const formData = new FormData();
2482
2586
  return fetchSSOV2Api(SSO_V2_PATHS.ECOM_CARE.RESEND_OTP, {
2483
- method: 'POST',
2587
+ method: 'GET',
2484
2588
  body: formData,
2485
2589
  });
2486
2590
  });
@@ -2868,7 +2972,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
2868
2972
  'data-event-category': trackingCategory,
2869
2973
  'data-event-action': trackingAction,
2870
2974
  'data-event-label': 'Enter Code',
2871
- } })),
2975
+ }, placeholder: "*" })),
2872
2976
  React__default.createElement(Group, { spacing: 8, align: "center", style: {
2873
2977
  height: 40,
2874
2978
  } },
@@ -2888,6 +2992,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
2888
2992
  const SSOPasswordScreen = ({ hidden, config, }) => {
2889
2993
  const { t } = useTranslations();
2890
2994
  const { onClose, setTracking } = useSSOState();
2995
+ const { setUserInfo, flowData } = useSSOV2Store();
2891
2996
  const [errMsg, setErrMsg] = React__default.useState('');
2892
2997
  const phone = config === null || config === void 0 ? void 0 : config.phone;
2893
2998
  const method = config === null || config === void 0 ? void 0 : config.method;
@@ -2951,11 +3056,12 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
2951
3056
  setLoading(false);
2952
3057
  });
2953
3058
  const onAuthSuccess = (data) => __awaiter(void 0, void 0, void 0, function* () {
2954
- var _c, _d;
2955
3059
  handleAuthSuccess(data);
3060
+ const userInfo = yield getUserInfo();
3061
+ const isPhoneFlow = isPhoneFlowFn(flowData);
3062
+ setUserInfo(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data);
2956
3063
  if (!phone && !!email) {
2957
- const userInfo = yield getUserInfo();
2958
- 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)) {
3064
+ if (isPhoneNotVerifedYet(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
2959
3065
  useSSOV2Store.setState((s) => ({
2960
3066
  flowData: Object.assign(Object.assign({}, s.flowData), { isVerifyPhone: true }),
2961
3067
  }));
@@ -2969,6 +3075,27 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
2969
3075
  return;
2970
3076
  }
2971
3077
  }
3078
+ if (isLoginWithPhoneNotVerifedYet(flowData, userInfo._data)) {
3079
+ addStep({
3080
+ type: SSOStepTypeType.FORGOT_PASSWORD_PHONE,
3081
+ config: {
3082
+ phone: `${userInfo._data.area_code}${userInfo._data.phone}`,
3083
+ afterAction: 'setup',
3084
+ },
3085
+ });
3086
+ goNext();
3087
+ return;
3088
+ }
3089
+ if (isPhoneFlow && !isUserFinishedSetup(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data)) {
3090
+ addStep({
3091
+ type: SSOStepTypeType.SETUP_FULL,
3092
+ config: {
3093
+ userInfo: userInfo === null || userInfo === void 0 ? void 0 : userInfo._data,
3094
+ },
3095
+ });
3096
+ goNext();
3097
+ return;
3098
+ }
2972
3099
  onClose === null || onClose === void 0 ? void 0 : onClose(true);
2973
3100
  });
2974
3101
  return (React__default.createElement("form", { style: {
@@ -3017,6 +3144,37 @@ const SSOPasswordScreen = ({ hidden, config, }) => {
3017
3144
  React__default.createElement(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'))));
3018
3145
  };
3019
3146
 
3147
+ const SetupLater = ({ style = {} }) => {
3148
+ const { t } = useTranslations();
3149
+ const { onClose } = useSSOState();
3150
+ const [loading, setLoading] = useState(false);
3151
+ const { userInfo } = useSSOV2Store();
3152
+ const { currentStepIndex, steps, addStep, goNext } = useSSOSteps();
3153
+ const currentStep = steps[currentStepIndex];
3154
+ const onClickSetupLater = () => __awaiter(void 0, void 0, void 0, function* () {
3155
+ if (loading)
3156
+ return;
3157
+ setLoading(true);
3158
+ if (userInfo &&
3159
+ !isUserFinishedSetup(userInfo) &&
3160
+ ((currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.VERIFY_PHONE ||
3161
+ (currentStep === null || currentStep === void 0 ? void 0 : currentStep.type) === SSOStepTypeType.FORGOT_PASSWORD_PHONE)) {
3162
+ addStep({
3163
+ type: SSOStepTypeType.SETUP_FULL,
3164
+ config: {
3165
+ userInfo,
3166
+ },
3167
+ });
3168
+ goNext();
3169
+ }
3170
+ else {
3171
+ onClose === null || onClose === void 0 ? void 0 : onClose(true);
3172
+ }
3173
+ setLoading(false);
3174
+ });
3175
+ return (React__default.createElement(Button, { size: "sm", variant: "white", color: "#737373", style: Object.assign({ fontWeight: 400 }, style), onClick: onClickSetupLater, disabled: loading }, t('ssov2.button.setupLater')));
3176
+ };
3177
+
3020
3178
  const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3021
3179
  const phone = config === null || config === void 0 ? void 0 : config.phone;
3022
3180
  const { t } = useTranslations();
@@ -3064,7 +3222,7 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3064
3222
  config: {
3065
3223
  phone,
3066
3224
  otpType: 'phone-zalo',
3067
- afterAction: 'forgot',
3225
+ afterAction: config.afterAction || 'forgot',
3068
3226
  provider: (_b = userExist._data) === null || _b === void 0 ? void 0 : _b.provider,
3069
3227
  },
3070
3228
  });
@@ -3107,7 +3265,7 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3107
3265
  config: {
3108
3266
  phone,
3109
3267
  otpType: 'phone-sms',
3110
- afterAction: 'forgot',
3268
+ afterAction: config.afterAction || 'forgot',
3111
3269
  provider: (_d = userExist._data) === null || _d === void 0 ? void 0 : _d.provider,
3112
3270
  },
3113
3271
  });
@@ -3135,7 +3293,8 @@ const SSOPasswordForgotPhone = ({ hidden, config, }) => {
3135
3293
  isError: !!errMsg, required: true, disabled: true, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone" }),
3136
3294
  errMsg && (React__default.createElement(Text, { size: "label2", color: "red.6", mt: -12 }, errMsg)),
3137
3295
  React__default.createElement(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')),
3138
- React__default.createElement(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')))));
3296
+ React__default.createElement(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')),
3297
+ React__default.createElement(SetupLater, null))));
3139
3298
  };
3140
3299
 
3141
3300
  const CheckGrayIcon = () => (React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -3177,6 +3336,7 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3177
3336
  const [loading, setLoading] = React__default.useState(false);
3178
3337
  const [errMsg, setErrMsg] = React__default.useState('');
3179
3338
  const { setTracking } = useSSOState();
3339
+ const { addStep, goNext } = useSSOSteps();
3180
3340
  const { flowData } = useSSOV2Store();
3181
3341
  const trackingMethod = flowData.method;
3182
3342
  const trackingCategory = `SSO - Sign In via ${trackingMethod}`;
@@ -3217,20 +3377,28 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3217
3377
  password === confirmPassword) {
3218
3378
  const res = yield resetPassword(password, confirmPassword);
3219
3379
  if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
3220
- showNotification({
3221
- type: 'success',
3222
- message: 'Password has been reset successfully',
3223
- });
3224
- // back to login step
3225
- const foundPasswordIndex = steps.findIndex((step) => step.type === SSOStepTypeType.PASSWORD);
3226
- if (foundPasswordIndex === -1) {
3227
- // reset to first step
3228
- setSteps((s) => [s[0]]);
3229
- useSSOSteps.setState({ currentStepIndex: 0 });
3380
+ if (isPhoneFlowFn(flowData)) {
3381
+ addStep({
3382
+ type: SSOStepTypeType.SETUP_FULL,
3383
+ });
3384
+ goNext();
3230
3385
  }
3231
3386
  else {
3232
- setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3233
- useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3387
+ showNotification({
3388
+ type: 'success',
3389
+ message: 'Password has been reset successfully',
3390
+ });
3391
+ // back to login step
3392
+ const foundPasswordIndex = steps.findIndex((step) => step.type === SSOStepTypeType.PASSWORD);
3393
+ if (foundPasswordIndex === -1) {
3394
+ // reset to first step
3395
+ setSteps((s) => [s[0]]);
3396
+ useSSOSteps.setState({ currentStepIndex: 0 });
3397
+ }
3398
+ else {
3399
+ setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3400
+ useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3401
+ }
3234
3402
  }
3235
3403
  // onClose?.()
3236
3404
  }
@@ -3258,7 +3426,9 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3258
3426
  action: trackingAction,
3259
3427
  } }),
3260
3428
  errMsg && (React__default.createElement(Text, { size: "label2", color: "red.6", mt: -12 }, errMsg)),
3261
- React__default.createElement(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')))));
3429
+ React__default.createElement(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'
3430
+ ? t('ssov2.setup.button.createAccount')
3431
+ : t('ssov2.button.save')))));
3262
3432
  };
3263
3433
 
3264
3434
  const SSOPhoneVerify = ({ hidden, config, }) => {
@@ -3279,6 +3449,7 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3279
3449
  });
3280
3450
  }
3281
3451
  }, [hidden]);
3452
+ const { setupSource } = useSSOV2Store();
3282
3453
  const { addStep, goNext } = useSSOSteps();
3283
3454
  const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
3284
3455
  setLoading(true);
@@ -3378,7 +3549,8 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3378
3549
  setErrMsg('');
3379
3550
  }, isError: !!errMsg, required: true, name: "phone", disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone" })),
3380
3551
  React__default.createElement(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')),
3381
- React__default.createElement(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'))))));
3552
+ React__default.createElement(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')),
3553
+ setupSource !== 'care' && setupSource !== 'ecom' && React__default.createElement(SetupLater, null)))));
3382
3554
  };
3383
3555
 
3384
3556
  const FemaleIcon = () => (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -3410,39 +3582,19 @@ const MaleIcon = () => (React__default.createElement("svg", { width: "20", heigh
3410
3582
  React__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" }),
3411
3583
  React__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" })));
3412
3584
 
3585
+ // import { StyledPhone } from '../components/phone'
3413
3586
  // always has name, gender dob
3414
- const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isPhoneDisabled, loading, tracking, }) => {
3587
+ const OtherSetup = ({ form,
3588
+ // needPhone,
3589
+ // skipPhone,
3590
+ needEmail, isEmailDisable,
3591
+ // isPhoneDisabled,
3592
+ loading, tracking, }) => {
3415
3593
  const { t } = useTranslations();
3416
- const { locale = 'vi-VN' } = useSSOState();
3594
+ // const { locale = 'vi-VN' } = useSSOState()
3417
3595
  const { setupSource } = useSSOV2Store();
3418
3596
  const [dobChanged, setDobChanged] = React__default.useState(false);
3419
3597
  return (React__default.createElement(Stack, { spacing: 12 },
3420
- needPhone && (React__default.createElement(React__default.Fragment, null,
3421
- React__default.createElement(Input.Wrapper, Object.assign({ label: t('ssov2.setup.field.phone.label'), withAsterisk: true }, form.getInputProps('phone')),
3422
- React__default.createElement(StyledPhone, { defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), value: form.getInputProps('phone').value, onChange: (value) => {
3423
- form.setFieldValue('phone', value);
3424
- }, 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" })),
3425
- !skipPhone && (React__default.createElement(Group, { spacing: 24 },
3426
- React__default.createElement(Text, { size: "p4" }, t('ssov2.setup.field.otp.label')),
3427
- React__default.createElement(Radio.Group, Object.assign({ name: "otpMethod", styles: {
3428
- root: {
3429
- display: 'flex',
3430
- flexDirection: 'row',
3431
- flexWrap: 'wrap',
3432
- gap: 24,
3433
- },
3434
- } }, form.getInputProps('otpMethod')),
3435
- React__default.createElement(Radio, { value: "zalo", label: "Zalo", styles: {
3436
- label: {
3437
- paddingLeft: 8,
3438
- },
3439
- }, 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" }),
3440
- React__default.createElement(Radio, { value: "sms", label: "SMS", styles: {
3441
- label: {
3442
- paddingLeft: 8,
3443
- },
3444
- }, 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" })))))),
3445
- needEmail && (React__default.createElement(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')))),
3446
3598
  React__default.createElement(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'))),
3447
3599
  React__default.createElement(Input.Wrapper, Object.assign({ label: t('ssov2.setup.field.gender.label'), withAsterisk: true }, form.getInputProps('gender')),
3448
3600
  React__default.createElement(Group, null,
@@ -3477,9 +3629,13 @@ const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isP
3477
3629
  if (!form.getInputProps('dob').value && !dobChanged)
3478
3630
  return;
3479
3631
  form.getInputProps('dob').onBlur(e);
3480
- } }))));
3632
+ } })),
3633
+ needEmail && (React__default.createElement(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: {
3634
+ display: isEmailDisable ? 'none' : 'block',
3635
+ } }, form.getInputProps('email'))))));
3481
3636
  };
3482
3637
 
3638
+ // import { SSOPasswordWithConfirm } from '../passwordForgotSetup/passwordWithConfirm'
3483
3639
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3484
3640
  const getDefaultData = (data) => {
3485
3641
  try {
@@ -3515,13 +3671,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3515
3671
  const provider = (_a = config === null || config === void 0 ? void 0 : config.userInfo) === null || _a === void 0 ? void 0 : _a.provider;
3516
3672
  const authFlow = flowData === null || flowData === void 0 ? void 0 : flowData.flow;
3517
3673
  const defaultData = getDefaultData(config === null || config === void 0 ? void 0 : config.setupDefaultData);
3518
- const needPass = (authMethod === 'phone' ||
3519
- authMethod === 'zalo' ||
3520
- authMethod === 'sms' ||
3521
- authMethod === 'email' ||
3522
- provider === 'email' ||
3523
- provider === 'phone') &&
3524
- !(userInfo === null || userInfo === void 0 ? void 0 : userInfo.is_pass);
3525
3674
  const skipPhone = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) && !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at);
3526
3675
  const isPhoneDisabled = !!(configPhone || (defaultData === null || defaultData === void 0 ? void 0 : defaultData.phone) || skipPhone);
3527
3676
  const needPhone = authFlow === 'signup' &&
@@ -3541,8 +3690,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3541
3690
  !(flowData === null || flowData === void 0 ? void 0 : flowData.isVerifyPhone) ||
3542
3691
  authMethod === 'facebook' ||
3543
3692
  provider === 'facebook';
3544
- // const needPhone = !userInfo?.phone_verified_at
3545
- // const needEmail = authFlow !== 'verify-phone'
3546
3693
  const isEmailDisable = (defaultEmail &&
3547
3694
  (authMethod === 'google' ||
3548
3695
  authMethod === 'email' ||
@@ -3579,30 +3726,7 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3579
3726
  ? dayjs(defaultData.birthday, 'MM/DD/YYYY').toDate()
3580
3727
  : undefined }),
3581
3728
  validateInputOnBlur: true,
3582
- validate: yupResolver(yup.object().shape(Object.assign(Object.assign(Object.assign(Object.assign({}, (needPass
3583
- ? {
3584
- password: yup
3585
- .string()
3586
- .required(t('ssov2.validate.password.required'))
3587
- .min(8, ' ')
3588
- .max(50, ' ')
3589
- .matches(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/, ' '),
3590
- confirmPassword: yup
3591
- .string()
3592
- .required(t('ssov2.validate.confirmPassword.required'))
3593
- .test('passwords-match', t('ssov2.validate.confirmPassword.match'), function (value) {
3594
- return this.parent.password === value;
3595
- }),
3596
- }
3597
- : {})), (needPhone
3598
- ? Object.assign({ phone: yup.string().required(t('ssov2.validate.phone.required')) }, (!skipPhone
3599
- ? {
3600
- otpMethod: yup
3601
- .string()
3602
- .required(t('ssov2.validate.otp.required'))
3603
- .oneOf(['zalo', 'sms']),
3604
- }
3605
- : {})) : {})), (needEmail
3729
+ validate: yupResolver(yup.object().shape(Object.assign(Object.assign({}, (needEmail
3606
3730
  ? {
3607
3731
  email: setupSource === 'care'
3608
3732
  ? yup
@@ -3729,24 +3853,13 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3729
3853
  React__default.createElement(Stack, { spacing: 8 },
3730
3854
  React__default.createElement(Text, { size: "s1", weight: "semiBold" }, t('ssov2.setup.title')),
3731
3855
  React__default.createElement(Text, { size: "p4" }, t('ssov2.setup.description'))),
3732
- needPass && (React__default.createElement(SSOPasswordWithConfirm, { form: form, loading: loading, tracking: {
3733
- category: trackingCategory,
3734
- action: trackingAction,
3735
- } })),
3736
3856
  React__default.createElement(OtherSetup, { needPhone: needPhone, skipPhone: skipPhone, needEmail: needEmail, isEmailDisable: isEmailDisable, isPhoneDisabled: isPhoneDisabled, form: form, loading: loading, tracking: {
3737
3857
  category: trackingCategory,
3738
3858
  action: trackingAction,
3739
3859
  } }),
3740
3860
  errMsg && (React__default.createElement(Text, { color: "red.6", size: "p4" }, errMsg)),
3741
- React__default.createElement(Button, { type: "submit", variant: "primary", fullWidth: true, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": needPhone && !skipPhone
3742
- ? 'Verify Phone Number'
3743
- : authFlow === 'signup'
3744
- ? 'Create New Account'
3745
- : 'Save' }, needPhone && !skipPhone
3746
- ? t('ssov2.setup.button.veriyPhone')
3747
- : authFlow === 'signup'
3748
- ? t('ssov2.setup.button.createAccount')
3749
- : t('ssov2.button.save')))));
3861
+ React__default.createElement(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')),
3862
+ React__default.createElement(SetupLater, { style: { marginTop: -8 } }))));
3750
3863
  };
3751
3864
 
3752
3865
  // import {