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

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-90ff758c.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-1f2cb78e.js → MobileBottomNavigationIcon-b8bb6062.js} +3 -3
  4. package/build/{Spinner-f58b472b.js → Spinner-722dfd85.js} +1 -1
  5. package/build/{WhatsApp-99b23e0c.js → WhatsApp-357abdfb.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-6b9bbc85.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-c214c09c.js} +1 -1
  20. package/build/{dataTransform-c1245ce6.js → dataTransform-eb8154b2.js} +1 -1
  21. package/build/ecom.js +4 -4
  22. package/build/{editor-1fb2ef33.js → editor-cd4e1617.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-4ac2b111.js} +1 -1
  33. package/build/esm/{MobileBottomNavigationIcon-6e8dbea8.js → MobileBottomNavigationIcon-76daa567.js} +3 -3
  34. package/build/esm/{Spinner-ccaf7faa.js → Spinner-71529535.js} +1 -1
  35. package/build/esm/{WhatsApp-2a8d3475.js → WhatsApp-36f3706c.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-bb7ee562.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-8d8f1eeb.js} +1 -1
  50. package/build/esm/{dataTransform-c8ceea31.js → dataTransform-f3f93743.js} +1 -1
  51. package/build/esm/ecom.js +4 -4
  52. package/build/esm/{editor-98136da9.js → editor-abac65bd.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-9d0f5804.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-387ea0fa.js → index-17b0c66f.js} +3 -3
  83. package/build/esm/{index-5cfbe80d.js → index-29e9e5eb.js} +1 -1
  84. package/build/esm/{index-80fe9b84.js → index-29f2b9aa.js} +3 -3
  85. package/build/esm/{index-9d96871f.js → index-2a2579ff.js} +3 -3
  86. package/build/esm/{index-4f41fed0.js → index-2fe9c27f.js} +6 -6
  87. package/build/esm/{index-05d471cd.js → index-4086f6b1.js} +4 -4
  88. package/build/esm/{index-f354c81c.js → index-4360a970.js} +3 -3
  89. package/build/esm/{index-e82971ac.js → index-4497901f.js} +11 -11
  90. package/build/esm/{index-9193ecaa.js → index-46771f05.js} +1 -1
  91. package/build/esm/{index-313f43de.js → index-4c9fbe45.js} +17 -17
  92. package/build/esm/{index-be21276f.js → index-4ffe08ba.js} +2 -2
  93. package/build/esm/{index-e296cca7.js → index-51458153.js} +1 -1
  94. package/build/esm/{index-8b89c7c4.js → index-53aa77de.js} +10 -10
  95. package/build/esm/{index-80ffec58.js → index-53cd6886.js} +16 -16
  96. package/build/esm/{index-c03ae3fa.js → index-547967a0.js} +5 -5
  97. package/build/esm/{index-b8473147.js → index-54d83f25.js} +17 -17
  98. package/build/esm/{index-8b3349d6.js → index-58227575.js} +21 -21
  99. package/build/esm/{index-266f5e3c.js → index-58d75703.js} +6 -6
  100. package/build/esm/{index-840f45f8.js → index-5a177f50.js} +32 -32
  101. package/build/esm/{index-f566ed64.js → index-5a284989.js} +16 -16
  102. package/build/esm/{index-53707149.js → index-5c8d8ee9.js} +16 -16
  103. package/build/esm/{index-55ebb451.js → index-60011405.js} +17 -17
  104. package/build/esm/{index-261f6b66.js → index-61b0f1bc.js} +2 -2
  105. package/build/esm/{index-bcd52ada.js → index-68700bda.js} +16 -16
  106. package/build/esm/{index-226d2796.js → index-69960429.js} +2 -2
  107. package/build/esm/{index-8b2bb6dd.js → index-69e8cc06.js} +2 -2
  108. package/build/esm/{index-d4942a01.js → index-6c98aabd.js} +3 -3
  109. package/build/esm/{index-4c352ebb.js → index-70279f09.js} +2 -2
  110. package/build/esm/{index-f159e302.js → index-727d28f6.js} +3 -3
  111. package/build/esm/{index-a5f05b4f.js → index-759d0c8b.js} +6 -6
  112. package/build/esm/{index-1497a765.js → index-7697b579.js} +2 -2
  113. package/build/esm/{index-948284e5.js → index-7c0dc09d.js} +18 -18
  114. package/build/esm/{index-77ece98a.js → index-86aa670b.js} +1 -1
  115. package/build/esm/{index-d457d5b4.js → index-8ac75f50.js} +1 -1
  116. package/build/esm/{index-eec7c7b3.js → index-8e108913.js} +1 -1
  117. package/build/esm/{index-936b1263.js → index-93c9c28a.js} +30 -30
  118. package/build/esm/{index-ba357004.js → index-952d2324.js} +13 -13
  119. package/build/esm/{index-4f5f4e7c.js → index-af714a96.js} +24 -24
  120. package/build/esm/{index-fdafae75.js → index-afaf9e68.js} +2 -2
  121. package/build/esm/{index-fa1b0d7d.js → index-b0fe1960.js} +18 -18
  122. package/build/esm/{index-3f47dc07.js → index-b694bdcb.js} +13 -13
  123. package/build/esm/{index-072b479a.js → index-c1392f54.js} +1 -1
  124. package/build/esm/{index-b8a6eedd.js → index-c83206b9.js} +6 -6
  125. package/build/esm/{index-034ca26f.js → index-cf8f64ea.js} +5 -5
  126. package/build/esm/{index-926a919b.js → index-d1820007.js} +7 -7
  127. package/build/esm/{index-eb94964b.js → index-d21fb674.js} +2 -2
  128. package/build/esm/{index-405fe950.js → index-d3b34c0d.js} +15 -15
  129. package/build/esm/{index-887815f1.js → index-d8ac2d16.js} +2 -2
  130. package/build/esm/{index-24a7f8b6.js → index-dc175715.js} +2 -2
  131. package/build/esm/{index-825ab18c.js → index-e48d4b7b.js} +13 -13
  132. package/build/esm/{index-7e97923d.js → index-e5558110.js} +3 -3
  133. package/build/esm/{index-2c192875.js → index-e56928ce.js} +1 -1
  134. package/build/esm/{index-c6745db6.js → index-e689e27a.js} +20 -20
  135. package/build/esm/{index-5eeaa8e7.js → index-e7d3de41.js} +2 -2
  136. package/build/esm/{index-3571a567.js → index-e97c4f22.js} +7 -7
  137. package/build/esm/{index-50db8d16.js → index-eb360d80.js} +26 -26
  138. package/build/esm/{index-c72a5758.js → index-f00312f8.js} +1 -1
  139. package/build/esm/{index-2d9df233.js → index-f0640629.js} +13 -13
  140. package/build/esm/{index-17d22e06.js → index-f1276a7e.js} +2 -2
  141. package/build/esm/{index-1edf54ef.js → index-fa2ca4ba.js} +15 -15
  142. package/build/esm/index.js +112 -112
  143. package/build/esm/{labelSorting-6af5cdd0.js → labelSorting-6fdbb498.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-d6099328.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-92159bd6.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 +278 -158
  174. package/build/esm/{store-fb5b7e13.js → store-d8cbe910.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-6cc49b81.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-dd28fad0.js} +19 -19
  191. package/build/esm/{types-e339f9f6.js → types-0822a334.js} +2 -2
  192. package/build/esm/types.js +2 -2
  193. package/build/esm/{useCategory-a6ea85ef.js → useCategory-40badf08.js} +5 -5
  194. package/build/esm/{useHealthToolCache-8ace84bf.js → useHealthToolCache-f462c647.js} +1 -1
  195. package/build/esm/{useMantineLocale-73e0e71e.js → useMantineLocale-9104cbfb.js} +6 -6
  196. package/build/esm/{usePlacesAutocomplete-a31fff76.js → usePlacesAutocomplete-ce58ef60.js} +1 -1
  197. package/build/esm/{useScreenSize-ba61ee9b.js → useScreenSize-35522e58.js} +2 -2
  198. package/build/esm/useTogetherAuthRequiredAction.js +9 -9
  199. package/build/esm/{utils-3c6ce916.js → utils-257439f0.js} +2 -2
  200. package/build/esm/{utils-43464cd7.js → utils-b482c64d.js} +3 -3
  201. package/build/esm/{utils-2da6dc65.js → utils-c13a213d.js} +2 -2
  202. package/build/esm/vaccination.js +21 -21
  203. package/build/{fixedBottomAdBlock-e6300000.js → fixedBottomAdBlock-5df7cb60.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-189445a9.js → index-0759252a.js} +1 -1
  224. package/build/{index-78b1d557.js → index-07c6b735.js} +2 -2
  225. package/build/{index-0e9b8f89.js → index-0acb7daa.js} +3 -3
  226. package/build/{index-02bdf556.js → index-101f577f.js} +1 -1
  227. package/build/{index-07440c71.js → index-14a1a598.js} +6 -6
  228. package/build/{index-4cd87649.js → index-1747afd2.js} +1 -1
  229. package/build/{index-5917a56e.js → index-1805b83b.js} +17 -17
  230. package/build/{index-9d8af3b8.js → index-1cf7d4df.js} +13 -13
  231. package/build/{index-9d5d17e0.js → index-1f7cb3a9.js} +15 -15
  232. package/build/{index-51bee07b.js → index-21ca78b2.js} +24 -24
  233. package/build/{index-1e5730e4.js → index-31eeb7f0.js} +10 -10
  234. package/build/{index-884b5f06.js → index-3822e1f1.js} +13 -13
  235. package/build/{index-edafb6f3.js → index-40110f65.js} +1 -1
  236. package/build/{index-75e50104.js → index-41dd0524.js} +6 -6
  237. package/build/{index-372ff176.js → index-44177f60.js} +32 -32
  238. package/build/{index-b65395de.js → index-465a43b8.js} +2 -2
  239. package/build/{index-764beefd.js → index-4d7eb962.js} +2 -2
  240. package/build/{index-2e6eb762.js → index-546e2ca8.js} +6 -6
  241. package/build/{index-a189616a.js → index-552273c3.js} +3 -3
  242. package/build/{index-f938d77a.js → index-56165f0c.js} +2 -2
  243. package/build/{index-8dd2fa47.js → index-568cd425.js} +2 -2
  244. package/build/{index-85d17630.js → index-5ad70f0a.js} +2 -2
  245. package/build/{index-3e27733d.js → index-5cd31a9a.js} +18 -18
  246. package/build/{index-9606b8d6.js → index-5e528675.js} +17 -17
  247. package/build/{index-6567d6ca.js → index-66eeb518.js} +1 -1
  248. package/build/{index-bc0939b6.js → index-67085860.js} +7 -7
  249. package/build/{index-4019f8f3.js → index-6f365e6a.js} +1 -1
  250. package/build/{index-37882cf4.js → index-7673e179.js} +13 -13
  251. package/build/{index-207454f3.js → index-7c4fcc98.js} +2 -2
  252. package/build/{index-45891f51.js → index-7d4d954a.js} +2 -2
  253. package/build/{index-82cd185a.js → index-8437224b.js} +3 -3
  254. package/build/{index-2f0440a5.js → index-86978065.js} +5 -5
  255. package/build/{index-c2bc23f5.js → index-8cccb8aa.js} +16 -16
  256. package/build/{index-6ca7b8f9.js → index-994395a8.js} +3 -3
  257. package/build/{index-aa189383.js → index-a670479c.js} +2 -2
  258. package/build/{index-ed68838b.js → index-a75ed987.js} +16 -16
  259. package/build/{index-28bc3cee.js → index-abd90db6.js} +5 -5
  260. package/build/{index-433c0239.js → index-b125d8e8.js} +11 -11
  261. package/build/{index-4c196646.js → index-b1f4c52a.js} +6 -6
  262. package/build/{index-67dfe1e4.js → index-b2a25bf0.js} +21 -21
  263. package/build/{index-698d97ef.js → index-b5ed55b2.js} +1 -1
  264. package/build/{index-a75bcd2b.js → index-b6f01ee6.js} +20 -20
  265. package/build/{index-9b8cba4d.js → index-bf668085.js} +3 -3
  266. package/build/{index-cbdadeef.js → index-bfaebd3d.js} +30 -30
  267. package/build/{index-99ffc102.js → index-c07178e8.js} +2 -2
  268. package/build/{index-8d865f36.js → index-c8cfc4a8.js} +1 -1
  269. package/build/{index-c60d4430.js → index-ca11f260.js} +16 -16
  270. package/build/{index-9ab5bece.js → index-cab790cf.js} +16 -16
  271. package/build/{index-0b9ffd73.js → index-cb93f325.js} +26 -26
  272. package/build/{index-a8e1008c.js → index-cc3e010e.js} +17 -17
  273. package/build/{index-cfd85207.js → index-ccd3255b.js} +2 -2
  274. package/build/{index-1ce77fda.js → index-d62646ba.js} +15 -15
  275. package/build/{index-a86c66c1.js → index-d7293124.js} +1 -1
  276. package/build/{index-a9df7152.js → index-d73ab98e.js} +13 -13
  277. package/build/{index-ce55b556.js → index-db3f167d.js} +18 -18
  278. package/build/{index-9bdf0576.js → index-de15bf0a.js} +3 -3
  279. package/build/{index-32c9e95b.js → index-de442dea.js} +2 -2
  280. package/build/{index-00185117.js → index-f19d8ad7.js} +3 -3
  281. package/build/{index-909fb12b.js → index-f879ce03.js} +7 -7
  282. package/build/{index-f80f5642.js → index-fbb58179.js} +4 -4
  283. package/build/index.js +112 -112
  284. package/build/{labelSorting-b7e01f14.js → labelSorting-0bf2b501.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-162c788e.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-40feed6a.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 +275 -155
  315. package/build/{store-eff428e1.js → store-f4f2ca03.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-874f173f.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-81516115.js} +19 -19
  332. package/build/{types-477ca303.js → types-485483bd.js} +2 -2
  333. package/build/types.js +2 -2
  334. package/build/{useCategory-dff3a437.js → useCategory-afbf2050.js} +5 -5
  335. package/build/{useHealthToolCache-c42a1116.js → useHealthToolCache-46f924dc.js} +1 -1
  336. package/build/{useMantineLocale-8570ecad.js → useMantineLocale-59873f6a.js} +6 -6
  337. package/build/{usePlacesAutocomplete-759d385a.js → usePlacesAutocomplete-9eed7bcd.js} +1 -1
  338. package/build/{useScreenSize-df390345.js → useScreenSize-b9bc2dcc.js} +2 -2
  339. package/build/useTogetherAuthRequiredAction.js +9 -9
  340. package/build/{utils-a2e37fed.js → utils-46338444.js} +2 -2
  341. package/build/{utils-5ca4b7c8.js → utils-6d399e1a.js} +2 -2
  342. package/build/{utils-68177c88.js → utils-aa844f16.js} +3 -3
  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-a9991c2d.js} +0 -0
  346. /package/build/{BMI_BOYS.percentile.weekly-b7234732.js → BMI_BOYS.percentile.weekly-5f5e8fd1.js} +0 -0
  347. /package/build/{BMI_BOYS.percentile.yearly-79ff3800.js → BMI_BOYS.percentile.yearly-238a0207.js} +0 -0
  348. /package/build/{BMI_BOYS.zscore.monthly-126b08b6.js → BMI_BOYS.zscore.monthly-b5de5e43.js} +0 -0
  349. /package/build/{BMI_BOYS.zscore.weekly-eebba5bc.js → BMI_BOYS.zscore.weekly-1cbda2da.js} +0 -0
  350. /package/build/{BMI_BOYS.zscore.yearly-1a52fc67.js → BMI_BOYS.zscore.yearly-7b087dbf.js} +0 -0
  351. /package/build/{BMI_GIRLS.percentile.monthly-83eddec7.js → BMI_GIRLS.percentile.monthly-1eaaeae2.js} +0 -0
  352. /package/build/{BMI_GIRLS.percentile.weekly-53c56dfc.js → BMI_GIRLS.percentile.weekly-80d954a2.js} +0 -0
  353. /package/build/{BMI_GIRLS.percentile.yearly-e62087f1.js → BMI_GIRLS.percentile.yearly-66df3cb8.js} +0 -0
  354. /package/build/{BMI_GIRLS.zscore.monthly-e8a4924b.js → BMI_GIRLS.zscore.monthly-7be0ec4d.js} +0 -0
  355. /package/build/{BMI_GIRLS.zscore.weekly-ae51cebd.js → BMI_GIRLS.zscore.weekly-0f7ba547.js} +0 -0
  356. /package/build/{BMI_GIRLS.zscore.yearly-e768bbab.js → BMI_GIRLS.zscore.yearly-bb1522c1.js} +0 -0
  357. /package/build/{ChevronDown-fa8cc75a.js → ChevronDown-6524b4d5.js} +0 -0
  358. /package/build/{Close-142a682b.js → Close-677b332d.js} +0 -0
  359. /package/build/{Google-ee2cf494.js → Google-3ebb85cc.js} +0 -0
  360. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-bfa8e91f.js → HEAD CIRCUM_BOYS.percentile.monthly-936ba8cc.js} +0 -0
  361. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-dc4308a2.js → HEAD CIRCUM_BOYS.percentile.weekly-82560e97.js} +0 -0
  362. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-34cc1bbf.js → HEAD CIRCUM_BOYS.percentile.yearly-08a32152.js} +0 -0
  363. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5eb56bd0.js → HEAD CIRCUM_BOYS.zscore.monthly-d46cb158.js} +0 -0
  364. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2c2ab7c0.js → HEAD CIRCUM_BOYS.zscore.weekly-f8a133af.js} +0 -0
  365. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-af8a2ebb.js → HEAD CIRCUM_BOYS.zscore.yearly-3aa0325f.js} +0 -0
  366. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-addca562.js → HEAD CIRCUM_GIRLS.percentile.monthly-89011ed1.js} +0 -0
  367. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2d1fe8e7.js → HEAD CIRCUM_GIRLS.percentile.weekly-5ffadda6.js} +0 -0
  368. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9cbca187.js → HEAD CIRCUM_GIRLS.percentile.yearly-8e39864b.js} +0 -0
  369. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6994ae12.js → HEAD CIRCUM_GIRLS.zscore.monthly-9244a4fa.js} +0 -0
  370. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-90f3e6fb.js → HEAD CIRCUM_GIRLS.zscore.weekly-c5284a43.js} +0 -0
  371. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-57ccd5fd.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b7ae8c0.js} +0 -0
  372. /package/build/{HEIGHT_BOYS.percentile.monthly-af3b5304.js → HEIGHT_BOYS.percentile.monthly-0238b1dd.js} +0 -0
  373. /package/build/{HEIGHT_BOYS.percentile.weekly-63b71a40.js → HEIGHT_BOYS.percentile.weekly-2d9e2fd9.js} +0 -0
  374. /package/build/{HEIGHT_BOYS.percentile.yearly-6f1bd841.js → HEIGHT_BOYS.percentile.yearly-580038dd.js} +0 -0
  375. /package/build/{HEIGHT_BOYS.zscore.monthly-1d5da3e8.js → HEIGHT_BOYS.zscore.monthly-f28ee9ba.js} +0 -0
  376. /package/build/{HEIGHT_BOYS.zscore.weekly-beefa25a.js → HEIGHT_BOYS.zscore.weekly-34fb4a5f.js} +0 -0
  377. /package/build/{HEIGHT_BOYS.zscore.yearly-896a7fa3.js → HEIGHT_BOYS.zscore.yearly-2681be02.js} +0 -0
  378. /package/build/{HEIGHT_GIRLS.percentile.monthly-248615b7.js → HEIGHT_GIRLS.percentile.monthly-206248d1.js} +0 -0
  379. /package/build/{HEIGHT_GIRLS.percentile.weekly-a1245e85.js → HEIGHT_GIRLS.percentile.weekly-6b5f88bf.js} +0 -0
  380. /package/build/{HEIGHT_GIRLS.percentile.yearly-0a94f807.js → HEIGHT_GIRLS.percentile.yearly-ff910f97.js} +0 -0
  381. /package/build/{HEIGHT_GIRLS.zscore.monthly-809a7131.js → HEIGHT_GIRLS.zscore.monthly-9fb987b3.js} +0 -0
  382. /package/build/{HEIGHT_GIRLS.zscore.weekly-ea46e599.js → HEIGHT_GIRLS.zscore.weekly-bafb6d36.js} +0 -0
  383. /package/build/{HEIGHT_GIRLS.zscore.yearly-19626ed9.js → HEIGHT_GIRLS.zscore.yearly-092a128f.js} +0 -0
  384. /package/build/{Locale-3263cc98.js → Locale-25e47dda.js} +0 -0
  385. /package/build/{Visible-38dd1795.js → Visible-488ba802.js} +0 -0
  386. /package/build/{WEIGHT_BOYS.percentile.monthly-d6bf58a6.js → WEIGHT_BOYS.percentile.monthly-c8c63118.js} +0 -0
  387. /package/build/{WEIGHT_BOYS.percentile.weekly-9b267564.js → WEIGHT_BOYS.percentile.weekly-b4ef1415.js} +0 -0
  388. /package/build/{WEIGHT_BOYS.percentile.yearly-2de9875a.js → WEIGHT_BOYS.percentile.yearly-bae57b0b.js} +0 -0
  389. /package/build/{WEIGHT_BOYS.zscore.monthly-b31cb484.js → WEIGHT_BOYS.zscore.monthly-032d4731.js} +0 -0
  390. /package/build/{WEIGHT_BOYS.zscore.weekly-4f4b5b4a.js → WEIGHT_BOYS.zscore.weekly-1acc0054.js} +0 -0
  391. /package/build/{WEIGHT_BOYS.zscore.yearly-f546e2cb.js → WEIGHT_BOYS.zscore.yearly-072919b5.js} +0 -0
  392. /package/build/{WEIGHT_GIRLS.percentile.monthly-5c6444a5.js → WEIGHT_GIRLS.percentile.monthly-c70965a7.js} +0 -0
  393. /package/build/{WEIGHT_GIRLS.percentile.weekly-4ad720f7.js → WEIGHT_GIRLS.percentile.weekly-fd0207b8.js} +0 -0
  394. /package/build/{WEIGHT_GIRLS.percentile.yearly-5fc633ed.js → WEIGHT_GIRLS.percentile.yearly-1fac39f0.js} +0 -0
  395. /package/build/{WEIGHT_GIRLS.zscore.monthly-e3b2425d.js → WEIGHT_GIRLS.zscore.monthly-41018999.js} +0 -0
  396. /package/build/{WEIGHT_GIRLS.zscore.weekly-689497b5.js → WEIGHT_GIRLS.zscore.weekly-5f31890c.js} +0 -0
  397. /package/build/{WEIGHT_GIRLS.zscore.yearly-386b0074.js → WEIGHT_GIRLS.zscore.yearly-0aef88ff.js} +0 -0
  398. /package/build/{animation-62654ed2.js → animation-33100402.js} +0 -0
  399. /package/build/{constants-36208bb9.js → constants-2dfe335d.js} +0 -0
  400. /package/build/{constants-b6e71814.js → constants-3a0e6689.js} +0 -0
  401. /package/build/{constants-60dcf799.js → constants-6ead2908.js} +0 -0
  402. /package/build/{dataTransform-794a0718.js → dataTransform-d7dfb91f.js} +0 -0
  403. /package/build/{doctor-9b8a0c06.js → doctor-341aacd1.js} +0 -0
  404. /package/build/esm/{BMI_BOYS.percentile.monthly-9832bdeb.js → BMI_BOYS.percentile.monthly-1c6205c7.js} +0 -0
  405. /package/build/esm/{BMI_BOYS.percentile.weekly-526de31f.js → BMI_BOYS.percentile.weekly-196177f8.js} +0 -0
  406. /package/build/esm/{BMI_BOYS.percentile.yearly-547aaac9.js → BMI_BOYS.percentile.yearly-70391e1e.js} +0 -0
  407. /package/build/esm/{BMI_BOYS.zscore.monthly-6074c61e.js → BMI_BOYS.zscore.monthly-7de4e50e.js} +0 -0
  408. /package/build/esm/{BMI_BOYS.zscore.weekly-20e268b6.js → BMI_BOYS.zscore.weekly-1c4359a2.js} +0 -0
  409. /package/build/esm/{BMI_BOYS.zscore.yearly-1a700ceb.js → BMI_BOYS.zscore.yearly-d0e1cf35.js} +0 -0
  410. /package/build/esm/{BMI_GIRLS.percentile.monthly-eed80d5b.js → BMI_GIRLS.percentile.monthly-cb237763.js} +0 -0
  411. /package/build/esm/{BMI_GIRLS.percentile.weekly-c4b33d1f.js → BMI_GIRLS.percentile.weekly-8c9112a6.js} +0 -0
  412. /package/build/esm/{BMI_GIRLS.percentile.yearly-78826f4d.js → BMI_GIRLS.percentile.yearly-8602c014.js} +0 -0
  413. /package/build/esm/{BMI_GIRLS.zscore.monthly-8e49a222.js → BMI_GIRLS.zscore.monthly-308bb882.js} +0 -0
  414. /package/build/esm/{BMI_GIRLS.zscore.weekly-28d6d095.js → BMI_GIRLS.zscore.weekly-f08f763d.js} +0 -0
  415. /package/build/esm/{BMI_GIRLS.zscore.yearly-64cb5081.js → BMI_GIRLS.zscore.yearly-130d42b0.js} +0 -0
  416. /package/build/esm/{ChevronDown-07477642.js → ChevronDown-d22e5a02.js} +0 -0
  417. /package/build/esm/{Close-e724e916.js → Close-e42695ce.js} +0 -0
  418. /package/build/esm/{Google-6d5e4852.js → Google-db72db7b.js} +0 -0
  419. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-952f88e6.js → HEAD CIRCUM_BOYS.percentile.monthly-875d05fc.js} +0 -0
  420. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-22d3bd6b.js → HEAD CIRCUM_BOYS.percentile.weekly-3173ae7b.js} +0 -0
  421. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2f2b0723.js → HEAD CIRCUM_BOYS.percentile.yearly-f2c105a5.js} +0 -0
  422. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ff39b900.js → HEAD CIRCUM_BOYS.zscore.monthly-13bbeffc.js} +0 -0
  423. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ba8e3ab5.js → HEAD CIRCUM_BOYS.zscore.weekly-cf30f6d4.js} +0 -0
  424. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-36bd141a.js → HEAD CIRCUM_BOYS.zscore.yearly-f2a6f420.js} +0 -0
  425. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-857fe9fd.js → HEAD CIRCUM_GIRLS.percentile.monthly-d39e4b3b.js} +0 -0
  426. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6a1fdcf5.js → HEAD CIRCUM_GIRLS.percentile.weekly-c8b7ab74.js} +0 -0
  427. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2142847d.js → HEAD CIRCUM_GIRLS.percentile.yearly-eebad464.js} +0 -0
  428. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-325e5bb6.js → HEAD CIRCUM_GIRLS.zscore.monthly-da79ab93.js} +0 -0
  429. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a520e5a7.js → HEAD CIRCUM_GIRLS.zscore.weekly-816f3c95.js} +0 -0
  430. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-490a6359.js → HEAD CIRCUM_GIRLS.zscore.yearly-50266471.js} +0 -0
  431. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-548e3bb6.js → HEIGHT_BOYS.percentile.monthly-592c7eb0.js} +0 -0
  432. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f7545f16.js → HEIGHT_BOYS.percentile.weekly-31021aa8.js} +0 -0
  433. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-edd21499.js → HEIGHT_BOYS.percentile.yearly-36c6aa85.js} +0 -0
  434. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-97a28632.js → HEIGHT_BOYS.zscore.monthly-395100af.js} +0 -0
  435. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-80fc4255.js → HEIGHT_BOYS.zscore.weekly-8ba787cd.js} +0 -0
  436. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-21e4b5c0.js → HEIGHT_BOYS.zscore.yearly-6427866a.js} +0 -0
  437. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-47b16bf9.js → HEIGHT_GIRLS.percentile.monthly-5b538cd8.js} +0 -0
  438. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f4049318.js → HEIGHT_GIRLS.percentile.weekly-bcf9bc78.js} +0 -0
  439. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f9cb3693.js → HEIGHT_GIRLS.percentile.yearly-f58c1a1b.js} +0 -0
  440. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ea2104c0.js → HEIGHT_GIRLS.zscore.monthly-beee4dd2.js} +0 -0
  441. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f29c21fd.js → HEIGHT_GIRLS.zscore.weekly-e0af6406.js} +0 -0
  442. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7d75940b.js → HEIGHT_GIRLS.zscore.yearly-8d1f1571.js} +0 -0
  443. /package/build/esm/{Locale-86b3f818.js → Locale-89b4bfcc.js} +0 -0
  444. /package/build/esm/{Visible-7d6452e5.js → Visible-6ce79ca9.js} +0 -0
  445. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bae54ac8.js → WEIGHT_BOYS.percentile.monthly-49052caf.js} +0 -0
  446. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a54a24e6.js → WEIGHT_BOYS.percentile.weekly-c7eed24b.js} +0 -0
  447. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ff1b7ec7.js → WEIGHT_BOYS.percentile.yearly-3f4aeba6.js} +0 -0
  448. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-11e15278.js → WEIGHT_BOYS.zscore.monthly-dbf7304f.js} +0 -0
  449. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-558cdc30.js → WEIGHT_BOYS.zscore.weekly-f599ceb5.js} +0 -0
  450. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4f62f49a.js → WEIGHT_BOYS.zscore.yearly-aaa5d4dc.js} +0 -0
  451. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-606473fd.js → WEIGHT_GIRLS.percentile.monthly-1ba63eca.js} +0 -0
  452. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0d99d0d9.js → WEIGHT_GIRLS.percentile.weekly-23b5da91.js} +0 -0
  453. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0aeaba02.js → WEIGHT_GIRLS.percentile.yearly-bfee156d.js} +0 -0
  454. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1dc9ebb1.js → WEIGHT_GIRLS.zscore.monthly-d022c0af.js} +0 -0
  455. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-64e5b4f2.js → WEIGHT_GIRLS.zscore.weekly-77d2080f.js} +0 -0
  456. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-43f6fbda.js → WEIGHT_GIRLS.zscore.yearly-8d6001eb.js} +0 -0
  457. /package/build/esm/{animation-a3ddd317.js → animation-e7eb7ff9.js} +0 -0
  458. /package/build/esm/{constants-951da75e.js → constants-08ae1c0a.js} +0 -0
  459. /package/build/esm/{constants-802b8270.js → constants-51615ea7.js} +0 -0
  460. /package/build/esm/{constants-3d233779.js → constants-ea288cec.js} +0 -0
  461. /package/build/esm/{dataTransform-86e53498.js → dataTransform-b80b5ad6.js} +0 -0
  462. /package/build/esm/{doctor-1b242061.js → doctor-cd3b8e4a.js} +0 -0
  463. /package/build/esm/{index-01a8e662.js → index-2146d269.js} +0 -0
  464. /package/build/esm/{index-b1b0e431.js → index-3af6fe0c.js} +0 -0
  465. /package/build/esm/{index-acb265fa.js → index-47895d15.js} +0 -0
  466. /package/build/esm/{index-221e8416.js → index-4c608d8d.js} +0 -0
  467. /package/build/esm/{index-c727799a.js → index-9d797758.js} +0 -0
  468. /package/build/esm/{index-8d6b6c31.js → index-b2db64bc.js} +0 -0
  469. /package/build/esm/{index-050df0cd.js → index-d759bd85.js} +0 -0
  470. /package/build/esm/{index-4e0a20fb.js → index-e8f3c3ca.js} +0 -0
  471. /package/build/esm/{index-e4808cf4.js → index-e9f9bb9e.js} +0 -0
  472. /package/build/esm/{index.styles-8963f87c.js → index.styles-4ebe8e58.js} +0 -0
  473. /package/build/esm/{localizeNumberFormat-77884600.js → localizeNumberFormat-62131734.js} +0 -0
  474. /package/build/esm/{normalizeLink-6d001dd3.js → normalizeLink-073e5351.js} +0 -0
  475. /package/build/esm/{other-509b77ae.js → other-e4635691.js} +0 -0
  476. /package/build/esm/{paths-213612a1.js → paths-77d3b3c1.js} +0 -0
  477. /package/build/esm/{translationsContext-85cf60fd.js → translationsContext-50b80428.js} +0 -0
  478. /package/build/esm/{tslib.es6-f9caf44b.js → tslib.es6-1abdf769.js} +0 -0
  479. /package/build/esm/{types-fce73f8b.js → types-c4c331e7.js} +0 -0
  480. /package/build/esm/{useIsInit-1881fe18.js → useIsInit-e5dcf439.js} +0 -0
  481. /package/build/esm/{useOutsideClick-b4dbc694.js → useOutsideClick-9f63d8e9.js} +0 -0
  482. /package/build/esm/{useScrollbarSize-5a8cbacd.js → useScrollbarSize-a4ab245a.js} +0 -0
  483. /package/build/esm/{useUniqueId-46ceab38.js → useUniqueId-c9e5cd96.js} +0 -0
  484. /package/build/esm/{utils-4dfbb209.js → utils-b8f3ed7d.js} +0 -0
  485. /package/build/{index-e70f4cb0.js → index-091a6255.js} +0 -0
  486. /package/build/{index-37b25b5b.js → index-2e1eb93f.js} +0 -0
  487. /package/build/{index-e380c38c.js → index-33066c7e.js} +0 -0
  488. /package/build/{index-bb1fddbe.js → index-4421426a.js} +0 -0
  489. /package/build/{index-6a9de00e.js → index-6c3729e9.js} +0 -0
  490. /package/build/{index-e79e0374.js → index-97327fb9.js} +0 -0
  491. /package/build/{index-b83513ed.js → index-99fdb527.js} +0 -0
  492. /package/build/{index-5df6bf28.js → index-d20be650.js} +0 -0
  493. /package/build/{index-e66a0c4b.js → index-f850f58a.js} +0 -0
  494. /package/build/{index.styles-7466c959.js → index.styles-67a4c699.js} +0 -0
  495. /package/build/{localizeNumberFormat-414c0b88.js → localizeNumberFormat-f820c952.js} +0 -0
  496. /package/build/{normalizeLink-ee2a225b.js → normalizeLink-0eb3970f.js} +0 -0
  497. /package/build/{other-e2f81e0f.js → other-4913eec5.js} +0 -0
  498. /package/build/{paths-9dcf361d.js → paths-e341f7d4.js} +0 -0
  499. /package/build/{translationsContext-77aa75b4.js → translationsContext-4a8cbf9e.js} +0 -0
  500. /package/build/{tslib.es6-3f0253fc.js → tslib.es6-867e5c71.js} +0 -0
  501. /package/build/{types-207735a6.js → types-7ca38cc6.js} +0 -0
  502. /package/build/{useIsInit-a57fa369.js → useIsInit-2ec94759.js} +0 -0
  503. /package/build/{useOutsideClick-ad2c1fa8.js → useOutsideClick-80d329e5.js} +0 -0
  504. /package/build/{useScrollbarSize-735468a3.js → useScrollbarSize-3ff0967a.js} +0 -0
  505. /package/build/{useUniqueId-1f198245.js → useUniqueId-4eae3d27.js} +0 -0
  506. /package/build/{utils-d5855593.js → utils-8fd5828a.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-1abdf769.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-4497901f.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-d8cbe910.js';
5
+ export { u as useSSOV2Store } from './store-d8cbe910.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-70279f09.js';
9
+ import { L as LogoIcon } from './logoIcon-d6099328.js';
10
+ import { B as Button } from './index-29e9e5eb.js';
11
+ import { M as Modal } from './index-4ffe08ba.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-8ac75f50.js';
15
+ import './index-e9f9bb9e.js';
16
+ import { s as showNotification } from './useMantineLocale-9104cbfb.js';
17
+ import { T as Text } from './index-69e8cc06.js';
18
+ import { u as useTranslations } from './index-f00312f8.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-b8f3ed7d.js';
21
+ import './other-e4635691.js';
22
+ import './index-6c98aabd.js';
23
+ import { L as LOCALE } from './Locale-89b4bfcc.js';
24
+ import { G as Google, F as Facebook } from './Google-db72db7b.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-35522e58.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-c13a213d.js';
35
+ import { S as Spoiler } from './index-4360a970.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-c83206b9.js';
41
41
  import '@mantine/carousel';
42
42
  import './miscTheme.js';
43
- import './useUniqueId-46ceab38.js';
43
+ import './useUniqueId-c9e5cd96.js';
44
44
  import './constantsSite.js';
45
45
  import 'zustand';
46
46
  import './constantsIsProduction.js';
47
- import './normalizeLink-6d001dd3.js';
47
+ import './normalizeLink-073e5351.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-4ebe8e58.js';
52
52
  import '@mantine/notifications';
53
- import './translationsContext-85cf60fd.js';
53
+ import './translationsContext-50b80428.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}`;
@@ -3215,22 +3375,37 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3215
3375
  password.length <= 50 &&
3216
3376
  password.match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/) &&
3217
3377
  password === confirmPassword) {
3218
- const res = yield resetPassword(password, confirmPassword);
3378
+ const res = isPhoneFlowFn(flowData)
3379
+ ? yield updateUserInfo({
3380
+ password,
3381
+ confirm_password: confirmPassword,
3382
+ validate: '',
3383
+ })
3384
+ : yield resetPassword(password, confirmPassword);
3219
3385
  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 });
3386
+ if (isPhoneFlowFn(flowData)) {
3387
+ handleAuthSuccess(res === null || res === void 0 ? void 0 : res._data);
3388
+ addStep({
3389
+ type: SSOStepTypeType.SETUP_FULL,
3390
+ });
3391
+ goNext();
3230
3392
  }
3231
3393
  else {
3232
- setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3233
- useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3394
+ showNotification({
3395
+ type: 'success',
3396
+ message: 'Password has been reset successfully',
3397
+ });
3398
+ // back to login step
3399
+ const foundPasswordIndex = steps.findIndex((step) => step.type === SSOStepTypeType.PASSWORD);
3400
+ if (foundPasswordIndex === -1) {
3401
+ // reset to first step
3402
+ setSteps((s) => [s[0]]);
3403
+ useSSOSteps.setState({ currentStepIndex: 0 });
3404
+ }
3405
+ else {
3406
+ setSteps((s) => s.slice(0, foundPasswordIndex + 1));
3407
+ useSSOSteps.setState({ currentStepIndex: foundPasswordIndex });
3408
+ }
3234
3409
  }
3235
3410
  // onClose?.()
3236
3411
  }
@@ -3258,7 +3433,9 @@ const SSOPasswordForgotSetup = ({ hidden, }) => {
3258
3433
  action: trackingAction,
3259
3434
  } }),
3260
3435
  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')))));
3436
+ 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'
3437
+ ? t('ssov2.setup.button.createAccount')
3438
+ : t('ssov2.button.save')))));
3262
3439
  };
3263
3440
 
3264
3441
  const SSOPhoneVerify = ({ hidden, config, }) => {
@@ -3279,6 +3456,7 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3279
3456
  });
3280
3457
  }
3281
3458
  }, [hidden]);
3459
+ const { setupSource } = useSSOV2Store();
3282
3460
  const { addStep, goNext } = useSSOSteps();
3283
3461
  const onClickContinueZalo = () => __awaiter(void 0, void 0, void 0, function* () {
3284
3462
  setLoading(true);
@@ -3378,7 +3556,8 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
3378
3556
  setErrMsg('');
3379
3557
  }, isError: !!errMsg, required: true, name: "phone", disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Enter Phone" })),
3380
3558
  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'))))));
3559
+ 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')),
3560
+ setupSource !== 'care' && setupSource !== 'ecom' && React__default.createElement(SetupLater, null)))));
3382
3561
  };
3383
3562
 
3384
3563
  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 +3589,19 @@ const MaleIcon = () => (React__default.createElement("svg", { width: "20", heigh
3410
3589
  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
3590
  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
3591
 
3592
+ // import { StyledPhone } from '../components/phone'
3413
3593
  // always has name, gender dob
3414
- const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isPhoneDisabled, loading, tracking, }) => {
3594
+ const OtherSetup = ({ form,
3595
+ // needPhone,
3596
+ // skipPhone,
3597
+ needEmail, isEmailDisable,
3598
+ // isPhoneDisabled,
3599
+ loading, tracking, }) => {
3415
3600
  const { t } = useTranslations();
3416
- const { locale = 'vi-VN' } = useSSOState();
3601
+ // const { locale = 'vi-VN' } = useSSOState()
3417
3602
  const { setupSource } = useSSOV2Store();
3418
3603
  const [dobChanged, setDobChanged] = React__default.useState(false);
3419
3604
  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
3605
  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
3606
  React__default.createElement(Input.Wrapper, Object.assign({ label: t('ssov2.setup.field.gender.label'), withAsterisk: true }, form.getInputProps('gender')),
3448
3607
  React__default.createElement(Group, null,
@@ -3477,9 +3636,13 @@ const OtherSetup = ({ form, needPhone, skipPhone, needEmail, isEmailDisable, isP
3477
3636
  if (!form.getInputProps('dob').value && !dobChanged)
3478
3637
  return;
3479
3638
  form.getInputProps('dob').onBlur(e);
3480
- } }))));
3639
+ } })),
3640
+ 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: {
3641
+ display: isEmailDisable ? 'none' : 'block',
3642
+ } }, form.getInputProps('email'))))));
3481
3643
  };
3482
3644
 
3645
+ // import { SSOPasswordWithConfirm } from '../passwordForgotSetup/passwordWithConfirm'
3483
3646
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3484
3647
  const getDefaultData = (data) => {
3485
3648
  try {
@@ -3515,13 +3678,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3515
3678
  const provider = (_a = config === null || config === void 0 ? void 0 : config.userInfo) === null || _a === void 0 ? void 0 : _a.provider;
3516
3679
  const authFlow = flowData === null || flowData === void 0 ? void 0 : flowData.flow;
3517
3680
  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
3681
  const skipPhone = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) && !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at);
3526
3682
  const isPhoneDisabled = !!(configPhone || (defaultData === null || defaultData === void 0 ? void 0 : defaultData.phone) || skipPhone);
3527
3683
  const needPhone = authFlow === 'signup' &&
@@ -3541,8 +3697,6 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3541
3697
  !(flowData === null || flowData === void 0 ? void 0 : flowData.isVerifyPhone) ||
3542
3698
  authMethod === 'facebook' ||
3543
3699
  provider === 'facebook';
3544
- // const needPhone = !userInfo?.phone_verified_at
3545
- // const needEmail = authFlow !== 'verify-phone'
3546
3700
  const isEmailDisable = (defaultEmail &&
3547
3701
  (authMethod === 'google' ||
3548
3702
  authMethod === 'email' ||
@@ -3579,30 +3733,7 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3579
3733
  ? dayjs(defaultData.birthday, 'MM/DD/YYYY').toDate()
3580
3734
  : undefined }),
3581
3735
  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
3736
+ validate: yupResolver(yup.object().shape(Object.assign(Object.assign({}, (needEmail
3606
3737
  ? {
3607
3738
  email: setupSource === 'care'
3608
3739
  ? yup
@@ -3729,24 +3860,13 @@ const SSOSetupScreen = ({ hidden, config, }) => {
3729
3860
  React__default.createElement(Stack, { spacing: 8 },
3730
3861
  React__default.createElement(Text, { size: "s1", weight: "semiBold" }, t('ssov2.setup.title')),
3731
3862
  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
3863
  React__default.createElement(OtherSetup, { needPhone: needPhone, skipPhone: skipPhone, needEmail: needEmail, isEmailDisable: isEmailDisable, isPhoneDisabled: isPhoneDisabled, form: form, loading: loading, tracking: {
3737
3864
  category: trackingCategory,
3738
3865
  action: trackingAction,
3739
3866
  } }),
3740
3867
  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')))));
3868
+ 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')),
3869
+ React__default.createElement(SetupLater, { style: { marginTop: -8 } }))));
3750
3870
  };
3751
3871
 
3752
3872
  // import {