@hhgtech/hhg-components 1.29.313-beta-7 → 1.29.313-beta-9
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.
- package/build/{LastPeriod-dd926b59.js → LastPeriod-52571438.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f2b27eb4.js → MobileBottomNavigationIcon-4bc304bb.js} +3 -3
- package/build/{Spinner-39340d28.js → Spinner-0c77a4b8.js} +1 -1
- package/build/{WhatsApp-ca316aad.js → WhatsApp-4f82076b.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components.js +90 -90
- package/build/{constants-a2116c47.js → constants-47cd588f.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-f6930706.js → core-fb2fa4d8.js} +1 -1
- package/build/{dataTransform-6b774607.js → dataTransform-cb16de7b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-1e4e586d.js → editor-9064fa74.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{LastPeriod-b8b41f30.js → LastPeriod-ce4cbd6d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-e130c09e.js → MobileBottomNavigationIcon-74a22b25.js} +3 -3
- package/build/esm/{Spinner-7c11da24.js → Spinner-ca352822.js} +1 -1
- package/build/esm/{WhatsApp-3402b219.js → WhatsApp-c53ed4db.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components.js +90 -90
- package/build/esm/{constants-b8bc154d.js → constants-474ee941.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-92630ffa.js → core-5cc474f7.js} +1 -1
- package/build/esm/{dataTransform-cd40371f.js → dataTransform-6840749d.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-b75ddde2.js → editor-91e5c7ee.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{fixedBottomAdBlock-73e53e46.js → fixedBottomAdBlock-a08b30ec.js} +24 -24
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -5
- package/build/esm/i18n-values/hi-IN.js +1 -5
- package/build/esm/i18n-values/id-ID.js +172 -176
- package/build/esm/i18n-values/km-KH.js +1 -5
- package/build/esm/i18n-values/ms-MY.js +313 -317
- package/build/esm/i18n-values/my-MM.js +0 -4
- package/build/esm/i18n-values/th-TH.js +0 -4
- package/build/esm/i18n-values/tl-PH.js +0 -4
- package/build/esm/i18n-values/vi-VN.js +0 -4
- package/build/esm/i18n-values/vi-VN_MB.js +0 -4
- package/build/esm/i18n-values/zh-TW.js +1 -5
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-e9ce674e.js → index-0350039c.js} +3 -3
- package/build/esm/{index-200f9086.js → index-03df4a39.js} +16 -16
- package/build/esm/{index-3e0005b2.js → index-044b9480.js} +18 -18
- package/build/esm/{index-bd0a2182.js → index-15a71d0e.js} +17 -17
- package/build/esm/{index-0ef677e8.js → index-173ed6b6.js} +1 -1
- package/build/esm/{index-5b9e86b4.js → index-199a342e.js} +17 -17
- package/build/esm/{index-a2866f7d.js → index-1c8e98d7.js} +20 -20
- package/build/esm/{index-7564047d.js → index-1d451c8b.js} +10 -10
- package/build/esm/{index-df8c1fa5.js → index-1e08a0a4.js} +2 -2
- package/build/esm/{index-e5cfbcdc.js → index-20cbdfd8.js} +24 -24
- package/build/esm/{index-99449220.js → index-22705d36.js} +1 -1
- package/build/esm/{index-d58af392.js → index-25a905d1.js} +2 -2
- package/build/esm/{index-3f0bf71d.js → index-28ef1e3b.js} +6 -6
- package/build/esm/{index-04d85da8.js → index-291612db.js} +2 -2
- package/build/esm/{index-593196f9.js → index-2b71d3d0.js} +2 -2
- package/build/esm/{index-f0da415e.js → index-2e946cb4.js} +2 -2
- package/build/esm/{index-f573dffd.js → index-2f14dd18.js} +2 -2
- package/build/esm/{index-d71249ed.js → index-32519c52.js} +1 -1
- package/build/esm/{index-8ff0ac26.js → index-334e3717.js} +3 -3
- package/build/esm/{index-b3c70352.js → index-3b16e1a2.js} +6 -6
- package/build/esm/{index-a79d63a0.js → index-3e2fcf62.js} +2 -2
- package/build/esm/{index-8f629fd2.js → index-3ebd513e.js} +7 -7
- package/build/esm/{index-f31a5868.js → index-4289958f.js} +2 -2
- package/build/esm/{index-b7f7fa7d.js → index-4aff019f.js} +16 -16
- package/build/esm/{index-ce9190d8.js → index-4b00116a.js} +30 -30
- package/build/esm/{index-ce249833.js → index-4cf0fefe.js} +13 -13
- package/build/esm/{index-126d4b39.js → index-5149e275.js} +3 -3
- package/build/esm/{index-c35e38fb.js → index-528c6edc.js} +17 -17
- package/build/esm/{index-9a56544c.js → index-534a9b80.js} +3 -3
- package/build/esm/{index-9f9c6dbc.js → index-5398965f.js} +1 -1
- package/build/esm/{index-4e0e8e7c.js → index-55316bd2.js} +21 -21
- package/build/esm/{index-cf29f7e1.js → index-5c94fcc8.js} +13 -13
- package/build/esm/{index-45efdcff.js → index-628ffd2b.js} +15 -15
- package/build/esm/{index-c656c0eb.js → index-63c37e36.js} +2 -2
- package/build/esm/{index-2acc2d6b.js → index-69bc39d7.js} +1 -1
- package/build/esm/{index-9f73b39f.js → index-69cf13d5.js} +1 -1
- package/build/esm/{index-ff9cfb67.js → index-7b7c2ad9.js} +3 -3
- package/build/esm/{index-fccfbb6d.js → index-7f601eed.js} +32 -32
- package/build/esm/{index-a25094c4.js → index-8058e369.js} +6 -6
- package/build/esm/{index-2367d063.js → index-8bbf5267.js} +15 -15
- package/build/esm/{index-69388b81.js → index-8f22b9e8.js} +3 -3
- package/build/esm/{index-b3c569cf.js → index-92395267.js} +3 -3
- package/build/esm/{index-565b3e20.js → index-9b547580.js} +2 -2
- package/build/esm/{index-69b26aef.js → index-9c246a16.js} +5 -5
- package/build/esm/{index-9f365261.js → index-a1a13987.js} +2 -2
- package/build/esm/{index-780b3448.js → index-afe308b2.js} +1 -1
- package/build/esm/{index-f2622157.js → index-b4944ce9.js} +11 -11
- package/build/esm/{index-3a83e9a4.js → index-b4d0951e.js} +7 -7
- package/build/esm/{index-4609902f.js → index-c1bec7cf.js} +6 -6
- package/build/esm/{index-32952e5a.js → index-c23787b6.js} +5 -5
- package/build/esm/{index-08771d68.js → index-c247a124.js} +26 -26
- package/build/esm/{index-f44a130f.js → index-c5122e10.js} +16 -16
- package/build/esm/{index-1a8f1bb5.js → index-c71a9a2d.js} +16 -16
- package/build/esm/{index-f1bb4993.js → index-c80c73f0.js} +18 -18
- package/build/esm/{index-10775abf.js → index-cdc0d237.js} +13 -13
- package/build/esm/{index-fb1127b5.js → index-dde0ae34.js} +2 -2
- package/build/esm/{index-c140baf1.js → index-dea1e555.js} +2 -2
- package/build/esm/{index-e5fb4610.js → index-e5a92bfb.js} +1 -1
- package/build/esm/{index-a451b336.js → index-e7aaf80d.js} +4 -4
- package/build/esm/{index-b9b83567.js → index-e7ec1459.js} +13 -13
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-a548fecc.js → labelSorting-96e55c44.js} +4 -4
- package/build/esm/lead/constants.d.ts +3 -1
- package/build/esm/lead/index.d.ts +8 -3
- package/build/esm/lead.js +49 -45
- package/build/esm/{logoIcon-14e0a50e.js → logoIcon-3a4c3763.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +16 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +44 -44
- package/build/esm/{post-a5048347.js → post-decd334e.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/index.d.ts +0 -1
- package/build/esm/ssoV2/api/paths.d.ts +0 -7
- package/build/esm/ssoV2/screens/otp.d.ts +1 -1
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +1 -1
- package/build/esm/ssoV2.js +41 -254
- package/build/esm/{store-efb13078.js → store-202ac64b.js} +8 -15
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-e5117797.js → surveyThankyouCard-572d5443.js} +5 -5
- package/build/esm/together.js +53 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +48 -48
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-45b49914.js → treePopoverMenu-8e28da05.js} +19 -19
- package/build/esm/{types-d311bd55.js → types-2c97339a.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-bb53657b.js → useCategory-95fe592d.js} +5 -5
- package/build/esm/{useHealthToolCache-4f611f1f.js → useHealthToolCache-97ee576a.js} +1 -1
- package/build/esm/{useMantineLocale-b23815df.js → useMantineLocale-5605cd94.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-f453e779.js → usePlacesAutocomplete-5ad0599b.js} +1 -1
- package/build/esm/{useScreenSize-fcb3106b.js → useScreenSize-d86483ad.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-24e2401d.js → utils-82fc3d7e.js} +3 -3
- package/build/esm/{utils-c3b9d319.js → utils-efb6b760.js} +2 -2
- package/build/esm/{utils-2f71ac9e.js → utils-f1cad879.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-87ca2621.js → fixedBottomAdBlock-eb20c232.js} +24 -24
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -5
- package/build/i18n-values/hi-IN.js +1 -5
- package/build/i18n-values/id-ID.js +172 -176
- package/build/i18n-values/km-KH.js +1 -5
- package/build/i18n-values/ms-MY.js +313 -317
- package/build/i18n-values/my-MM.js +0 -4
- package/build/i18n-values/th-TH.js +0 -4
- package/build/i18n-values/tl-PH.js +0 -4
- package/build/i18n-values/vi-VN.js +0 -4
- package/build/i18n-values/vi-VN_MB.js +0 -4
- package/build/i18n-values/zh-TW.js +1 -5
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-faac5fa8.js → index-08c5bc4f.js} +1 -1
- package/build/{index-1ce713fa.js → index-15debfc0.js} +16 -16
- package/build/{index-b1b84e3c.js → index-15fa4215.js} +17 -17
- package/build/{index-22c3e2f8.js → index-186cdefb.js} +5 -5
- package/build/{index-0e654300.js → index-22a77f3f.js} +13 -13
- package/build/{index-7f1dda0b.js → index-266c1cef.js} +15 -15
- package/build/{index-2e01b6ca.js → index-2b5b59d3.js} +20 -20
- package/build/{index-1de98a47.js → index-313da885.js} +2 -2
- package/build/{index-a8fcb37d.js → index-39eb9c99.js} +16 -16
- package/build/{index-72374ed6.js → index-3cac6d4f.js} +2 -2
- package/build/{index-6116e255.js → index-3cf9e847.js} +21 -21
- package/build/{index-cdab7b35.js → index-3eba4140.js} +1 -1
- package/build/{index-05792d47.js → index-4584580b.js} +17 -17
- package/build/{index-7b064c11.js → index-464439a3.js} +4 -4
- package/build/{index-2606e2d9.js → index-4e378ce0.js} +26 -26
- package/build/{index-c3ff52ac.js → index-4eda2006.js} +1 -1
- package/build/{index-5e682880.js → index-4eda6db6.js} +2 -2
- package/build/{index-7fb0d128.js → index-524880b6.js} +18 -18
- package/build/{index-65bbca6a.js → index-55bd6fa6.js} +3 -3
- package/build/{index-96ddd69e.js → index-5b8a5fc1.js} +2 -2
- package/build/{index-aa503c80.js → index-5bb82382.js} +13 -13
- package/build/{index-78ebcd2e.js → index-5ebb11be.js} +1 -1
- package/build/{index-d0119973.js → index-608c6870.js} +6 -6
- package/build/{index-ae4dc33e.js → index-6399487f.js} +2 -2
- package/build/{index-acafd4cf.js → index-64e93bd7.js} +3 -3
- package/build/{index-e11b7fec.js → index-65ff96c5.js} +2 -2
- package/build/{index-023d172e.js → index-677b8268.js} +6 -6
- package/build/{index-aa2c3077.js → index-688106ea.js} +10 -10
- package/build/{index-4dc54668.js → index-6f282f32.js} +2 -2
- package/build/{index-1cb37998.js → index-7010335f.js} +16 -16
- package/build/{index-9418c4e3.js → index-71f3ec82.js} +24 -24
- package/build/{index-0f2cbcbb.js → index-728902f4.js} +2 -2
- package/build/{index-d6a30d42.js → index-81272b57.js} +2 -2
- package/build/{index-f60661f0.js → index-846e74a7.js} +3 -3
- package/build/{index-4bc70251.js → index-873f7d8b.js} +2 -2
- package/build/{index-6d6578aa.js → index-9422bdf0.js} +11 -11
- package/build/{index-190215f7.js → index-94dea9bd.js} +2 -2
- package/build/{index-73a1ef8d.js → index-9a361fd9.js} +6 -6
- package/build/{index-c571feea.js → index-9c9d832a.js} +1 -1
- package/build/{index-c0767c9c.js → index-a43b9051.js} +30 -30
- package/build/{index-c6b87d52.js → index-a9af6133.js} +7 -7
- package/build/{index-0b7da3c7.js → index-b101b76b.js} +3 -3
- package/build/{index-a1c73e2a.js → index-b4ced077.js} +1 -1
- package/build/{index-4385e526.js → index-b8301960.js} +3 -3
- package/build/{index-46246675.js → index-ca5d0a35.js} +18 -18
- package/build/{index-359c1ee5.js → index-cddec3d0.js} +16 -16
- package/build/{index-ef1cd6da.js → index-cf5b3bc3.js} +7 -7
- package/build/{index-8725fc13.js → index-d6a6c0d8.js} +15 -15
- package/build/{index-f167de81.js → index-df87218e.js} +2 -2
- package/build/{index-badf746a.js → index-e0050469.js} +13 -13
- package/build/{index-473d9c00.js → index-e5f03801.js} +3 -3
- package/build/{index-aeaaea1f.js → index-e76ae5a8.js} +1 -1
- package/build/{index-64ae95b2.js → index-e83b56f8.js} +6 -6
- package/build/{index-1f150569.js → index-e9051ab6.js} +3 -3
- package/build/{index-3fa11b71.js → index-ebd6a7f6.js} +1 -1
- package/build/{index-caa148ec.js → index-ed937166.js} +17 -17
- package/build/{index-561d98a2.js → index-f616944d.js} +13 -13
- package/build/{index-d65e03e2.js → index-fadc9a61.js} +5 -5
- package/build/{index-ac228c34.js → index-fb334999.js} +2 -2
- package/build/{index-9259b44d.js → index-fc90ffd8.js} +32 -32
- package/build/index.js +112 -112
- package/build/{labelSorting-be8a7735.js → labelSorting-cc045a55.js} +4 -4
- package/build/lead/constants.d.ts +3 -1
- package/build/lead/index.d.ts +8 -3
- package/build/lead.js +50 -44
- package/build/{logoIcon-a003ce7d.js → logoIcon-324687e3.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +16 -16
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-8e395bf6.js → post-670ecca8.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/index.d.ts +0 -1
- package/build/ssoV2/api/paths.d.ts +0 -7
- package/build/ssoV2/screens/otp.d.ts +1 -1
- package/build/ssoV2/ssoStateManager/store.d.ts +1 -1
- package/build/ssoV2.js +40 -253
- package/build/{store-8b262d07.js → store-7eab6ad0.js} +7 -15
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-5d3fb531.js → surveyThankyouCard-d8d05091.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -48
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-b693cd19.js → treePopoverMenu-c27664e9.js} +19 -19
- package/build/{types-143ce225.js → types-44a3a2af.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-910b16e2.js → useCategory-08ae73ac.js} +5 -5
- package/build/{useHealthToolCache-bad3a229.js → useHealthToolCache-669d0032.js} +1 -1
- package/build/{useMantineLocale-ea48fa25.js → useMantineLocale-daf2626a.js} +6 -6
- package/build/{usePlacesAutocomplete-209711e3.js → usePlacesAutocomplete-0f6ba35c.js} +1 -1
- package/build/{useScreenSize-526c1f13.js → useScreenSize-df471d7b.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-66e531b0.js → utils-429db9f1.js} +2 -2
- package/build/{utils-78f8ecc2.js → utils-5d35fe85.js} +2 -2
- package/build/{utils-baeea411.js → utils-8e14437a.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/esm/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/esm/ssoV2/utils.d.ts +0 -2
- package/build/ssoV2/api/whatsapp.d.ts +0 -6
- package/build/ssoV2/screens/components/whatsapp.d.ts +0 -5
- package/build/ssoV2/utils.d.ts +0 -2
- /package/build/{BMI_BOYS.percentile.monthly-0364f9ad.js → BMI_BOYS.percentile.monthly-fdbd37f5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-39d4abfe.js → BMI_BOYS.percentile.weekly-5dc612fe.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b795c9fb.js → BMI_BOYS.percentile.yearly-8f8a08ed.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-203ab0b7.js → BMI_BOYS.zscore.monthly-424bce9a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-7d0b1011.js → BMI_BOYS.zscore.weekly-9e976fb0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7c870850.js → BMI_BOYS.zscore.yearly-50ce73e6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2b5dff16.js → BMI_GIRLS.percentile.monthly-cd11d0c3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-ddceb563.js → BMI_GIRLS.percentile.weekly-4e97c693.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-13989c16.js → BMI_GIRLS.percentile.yearly-7c52a2f2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-5a22d61e.js → BMI_GIRLS.zscore.monthly-124ccf13.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-89bf837b.js → BMI_GIRLS.zscore.weekly-13d77c2f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ed49265e.js → BMI_GIRLS.zscore.yearly-cf08d9b7.js} +0 -0
- /package/build/{ChevronDown-57b2b629.js → ChevronDown-bedf6622.js} +0 -0
- /package/build/{Close-421894bf.js → Close-dd78e289.js} +0 -0
- /package/build/{Google-088f96a2.js → Google-c5340d72.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6332a242.js → HEAD CIRCUM_BOYS.percentile.monthly-cc243128.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-2a3b1547.js → HEAD CIRCUM_BOYS.percentile.weekly-35cc3f6a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f6e0c971.js → HEAD CIRCUM_BOYS.percentile.yearly-2fff1152.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-12060b61.js → HEAD CIRCUM_BOYS.zscore.monthly-b6cf5319.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c5d3eaaf.js → HEAD CIRCUM_BOYS.zscore.weekly-b27fd88e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ac82b829.js → HEAD CIRCUM_BOYS.zscore.yearly-b63ce21b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-5a800c1f.js → HEAD CIRCUM_GIRLS.percentile.monthly-b9e64036.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b7ee2a32.js → HEAD CIRCUM_GIRLS.percentile.weekly-91bd4d4f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-440401ab.js → HEAD CIRCUM_GIRLS.percentile.yearly-6dd0d576.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f9bb996b.js → HEAD CIRCUM_GIRLS.zscore.monthly-fac92378.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-485aa6f9.js → HEAD CIRCUM_GIRLS.zscore.weekly-cf0ebe11.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0f0cb1d0.js → HEAD CIRCUM_GIRLS.zscore.yearly-250774ef.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-b6d37d2a.js → HEIGHT_BOYS.percentile.monthly-5b9c85d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-626d77f3.js → HEIGHT_BOYS.percentile.weekly-f8e63ec4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-86b62cd9.js → HEIGHT_BOYS.percentile.yearly-205453a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2aba7e8e.js → HEIGHT_BOYS.zscore.monthly-0daeda1f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e453c25c.js → HEIGHT_BOYS.zscore.weekly-cc7eebd5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a3f32497.js → HEIGHT_BOYS.zscore.yearly-85431174.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-fa29741f.js → HEIGHT_GIRLS.percentile.monthly-a9f71bd5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f3319a3f.js → HEIGHT_GIRLS.percentile.weekly-a2104acd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8949c8e3.js → HEIGHT_GIRLS.percentile.yearly-9f343ecc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3623b109.js → HEIGHT_GIRLS.zscore.monthly-658e2f7d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-964c27bc.js → HEIGHT_GIRLS.zscore.weekly-71993cd0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-bead60aa.js → HEIGHT_GIRLS.zscore.yearly-f7b9eb12.js} +0 -0
- /package/build/{Locale-6b27fed0.js → Locale-0e8aa62b.js} +0 -0
- /package/build/{Visible-9e3f15f7.js → Visible-f0383561.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2a74900c.js → WEIGHT_BOYS.percentile.monthly-b481d671.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2d052189.js → WEIGHT_BOYS.percentile.weekly-08e5d4c2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-6506b5d6.js → WEIGHT_BOYS.percentile.yearly-99ed09c7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d568aa9d.js → WEIGHT_BOYS.zscore.monthly-aea14ea0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-fce6d789.js → WEIGHT_BOYS.zscore.weekly-2ab01a55.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-fb0c1247.js → WEIGHT_BOYS.zscore.yearly-4f02aab2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-884f4158.js → WEIGHT_GIRLS.percentile.monthly-573f6f53.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-91a4bb75.js → WEIGHT_GIRLS.percentile.weekly-d0fa22f0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-953c7c18.js → WEIGHT_GIRLS.percentile.yearly-136191a6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-05cf5bdf.js → WEIGHT_GIRLS.zscore.monthly-debdae78.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-b7582363.js → WEIGHT_GIRLS.zscore.weekly-42439da8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a7bbcd17.js → WEIGHT_GIRLS.zscore.yearly-1acc5be1.js} +0 -0
- /package/build/{animation-0923524f.js → animation-92519538.js} +0 -0
- /package/build/{constants-d75d1394.js → constants-cdee5910.js} +0 -0
- /package/build/{constants-174bb4c1.js → constants-d741a88d.js} +0 -0
- /package/build/{constants-bb8a8912.js → constants-ed8d6f40.js} +0 -0
- /package/build/{dataTransform-4d98c3e2.js → dataTransform-40f5cd02.js} +0 -0
- /package/build/{doctor-a87f9b0a.js → doctor-f554e420.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c7a36401.js → BMI_BOYS.percentile.monthly-9a83459f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-3c8ace6e.js → BMI_BOYS.percentile.weekly-53c32ed0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3feb834b.js → BMI_BOYS.percentile.yearly-263fc28f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-58b9b304.js → BMI_BOYS.zscore.monthly-bdee9727.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-51c42416.js → BMI_BOYS.zscore.weekly-4e141b7a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a0103943.js → BMI_BOYS.zscore.yearly-00c352ac.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9915abad.js → BMI_GIRLS.percentile.monthly-ab95b580.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b7b4dff4.js → BMI_GIRLS.percentile.weekly-feea5fcd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6c1c93f6.js → BMI_GIRLS.percentile.yearly-4a21f07b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-65bb9d1f.js → BMI_GIRLS.zscore.monthly-d3e2831b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-19243bd6.js → BMI_GIRLS.zscore.weekly-848f610f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-163c97ec.js → BMI_GIRLS.zscore.yearly-7d161df2.js} +0 -0
- /package/build/esm/{ChevronDown-40573019.js → ChevronDown-2bc4aa31.js} +0 -0
- /package/build/esm/{Close-31cc0f52.js → Close-31b11bf0.js} +0 -0
- /package/build/esm/{Google-a5b95bb8.js → Google-6e6ea58d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-da0b789b.js → HEAD CIRCUM_BOYS.percentile.monthly-59157c52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ba351ea9.js → HEAD CIRCUM_BOYS.percentile.weekly-8619b3f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8eb2174a.js → HEAD CIRCUM_BOYS.percentile.yearly-633715f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-854b8515.js → HEAD CIRCUM_BOYS.zscore.monthly-e81c5d4f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d3d29485.js → HEAD CIRCUM_BOYS.zscore.weekly-aec5c88d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-909cc212.js → HEAD CIRCUM_BOYS.zscore.yearly-b309e789.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ab07a678.js → HEAD CIRCUM_GIRLS.percentile.monthly-57fc4e97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-8631ab21.js → HEAD CIRCUM_GIRLS.percentile.weekly-d30cc949.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-674e3ce0.js → HEAD CIRCUM_GIRLS.percentile.yearly-aae33845.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-39c011d1.js → HEAD CIRCUM_GIRLS.zscore.monthly-ab4b24d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-58855a0d.js → HEAD CIRCUM_GIRLS.zscore.weekly-db9b1a6f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9f30d267.js → HEAD CIRCUM_GIRLS.zscore.yearly-31eba063.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7816e30f.js → HEIGHT_BOYS.percentile.monthly-b4c64f49.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9795fa9a.js → HEIGHT_BOYS.percentile.weekly-d4f5019f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-77d7c5ff.js → HEIGHT_BOYS.percentile.yearly-e81086da.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b42c5676.js → HEIGHT_BOYS.zscore.monthly-ff00ace0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-6ee759b3.js → HEIGHT_BOYS.zscore.weekly-2c70c896.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4b0fc3aa.js → HEIGHT_BOYS.zscore.yearly-d1b852ee.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-585639d8.js → HEIGHT_GIRLS.percentile.monthly-91eb5fda.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-95f8692b.js → HEIGHT_GIRLS.percentile.weekly-0d5ef2e9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6fe9ef9e.js → HEIGHT_GIRLS.percentile.yearly-1baa8434.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-cef2ea74.js → HEIGHT_GIRLS.zscore.monthly-769cbb29.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0f370f21.js → HEIGHT_GIRLS.zscore.weekly-4f0e18df.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-e78b72a9.js → HEIGHT_GIRLS.zscore.yearly-03999723.js} +0 -0
- /package/build/esm/{Locale-22458722.js → Locale-c7f2baf7.js} +0 -0
- /package/build/esm/{Visible-132b24ac.js → Visible-39284909.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b2e3abb2.js → WEIGHT_BOYS.percentile.monthly-c0d0e320.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5f5884de.js → WEIGHT_BOYS.percentile.weekly-382abf93.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d2a19788.js → WEIGHT_BOYS.percentile.yearly-84d749c7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bb4cc860.js → WEIGHT_BOYS.zscore.monthly-6855eb22.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ebec5134.js → WEIGHT_BOYS.zscore.weekly-8824a7c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a43b060b.js → WEIGHT_BOYS.zscore.yearly-967af140.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d2229085.js → WEIGHT_GIRLS.percentile.monthly-7f772c00.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1d6952f5.js → WEIGHT_GIRLS.percentile.weekly-894cc83d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-939547cf.js → WEIGHT_GIRLS.percentile.yearly-f3afc035.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9cbca3dd.js → WEIGHT_GIRLS.zscore.monthly-e2c451e2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-b7e44d43.js → WEIGHT_GIRLS.zscore.weekly-c3ad81ad.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-cd586edf.js → WEIGHT_GIRLS.zscore.yearly-72ae63f3.js} +0 -0
- /package/build/esm/{animation-9124d753.js → animation-43e1989c.js} +0 -0
- /package/build/esm/{constants-4030f1d5.js → constants-11971f62.js} +0 -0
- /package/build/esm/{constants-ca8bafd6.js → constants-28b11a1f.js} +0 -0
- /package/build/esm/{constants-3eaa9c54.js → constants-324df1b0.js} +0 -0
- /package/build/esm/{dataTransform-62e528c2.js → dataTransform-b0372c17.js} +0 -0
- /package/build/esm/{doctor-a061e07d.js → doctor-998c8997.js} +0 -0
- /package/build/esm/{index-42fb3914.js → index-0f7f64d1.js} +0 -0
- /package/build/esm/{index-6844dcbd.js → index-1bd4ac53.js} +0 -0
- /package/build/esm/{index-95f0abf4.js → index-6b865031.js} +0 -0
- /package/build/esm/{index-143667d5.js → index-80a4a660.js} +0 -0
- /package/build/esm/{index-00ec026c.js → index-94458d28.js} +0 -0
- /package/build/esm/{index-a5d9d8e9.js → index-97532bc8.js} +0 -0
- /package/build/esm/{index-29984002.js → index-a106cfd9.js} +0 -0
- /package/build/esm/{index-a990edc2.js → index-a4a5df48.js} +0 -0
- /package/build/esm/{index-a0b3236d.js → index-ea63aa08.js} +0 -0
- /package/build/esm/{index.styles-904be188.js → index.styles-d4df7fef.js} +0 -0
- /package/build/esm/{localizeNumberFormat-67dcef52.js → localizeNumberFormat-0c4634d7.js} +0 -0
- /package/build/esm/{normalizeLink-e8058eff.js → normalizeLink-53cb21c2.js} +0 -0
- /package/build/esm/{other-394186ce.js → other-7d6d66d3.js} +0 -0
- /package/build/esm/{paths-c07d89ad.js → paths-c790463e.js} +0 -0
- /package/build/esm/{translationsContext-4c9c9497.js → translationsContext-8d752294.js} +0 -0
- /package/build/esm/{tslib.es6-ee9adcf7.js → tslib.es6-d14fbbbe.js} +0 -0
- /package/build/esm/{types-dad02352.js → types-f9e8b90d.js} +0 -0
- /package/build/esm/{useIsInit-0ff07663.js → useIsInit-3713e011.js} +0 -0
- /package/build/esm/{useOutsideClick-025353eb.js → useOutsideClick-bafc2d24.js} +0 -0
- /package/build/esm/{useScrollbarSize-f58cfc41.js → useScrollbarSize-f19ed565.js} +0 -0
- /package/build/esm/{useUniqueId-c664c2bd.js → useUniqueId-92252d44.js} +0 -0
- /package/build/esm/{utils-e20a719a.js → utils-9bd3e75b.js} +0 -0
- /package/build/{index-c0d4ce38.js → index-19fc37c1.js} +0 -0
- /package/build/{index-717a40f0.js → index-28b37f7e.js} +0 -0
- /package/build/{index-f26ddbf7.js → index-3d4f98a9.js} +0 -0
- /package/build/{index-e3db5076.js → index-907bcfb4.js} +0 -0
- /package/build/{index-c3adcd65.js → index-920c5a20.js} +0 -0
- /package/build/{index-5ad4068c.js → index-9ac239e7.js} +0 -0
- /package/build/{index-3b07c92e.js → index-9ec551de.js} +0 -0
- /package/build/{index-37362edf.js → index-bfbf109c.js} +0 -0
- /package/build/{index-48094011.js → index-f4d89f7e.js} +0 -0
- /package/build/{index.styles-f0e633c2.js → index.styles-5bfa7fba.js} +0 -0
- /package/build/{localizeNumberFormat-bc8bfb1e.js → localizeNumberFormat-3a8cb599.js} +0 -0
- /package/build/{normalizeLink-42aac01d.js → normalizeLink-69cdb389.js} +0 -0
- /package/build/{other-9b6682a3.js → other-cccb1f9e.js} +0 -0
- /package/build/{paths-0dcafe58.js → paths-643d00c7.js} +0 -0
- /package/build/{translationsContext-a8d92be1.js → translationsContext-bcecfb29.js} +0 -0
- /package/build/{tslib.es6-9c081bf4.js → tslib.es6-2c0347c3.js} +0 -0
- /package/build/{types-b8e0bcf1.js → types-897de0bd.js} +0 -0
- /package/build/{useIsInit-37e05ea8.js → useIsInit-5aa55860.js} +0 -0
- /package/build/{useOutsideClick-b9181c5b.js → useOutsideClick-37ebda11.js} +0 -0
- /package/build/{useScrollbarSize-1edbcf6e.js → useScrollbarSize-03909690.js} +0 -0
- /package/build/{useUniqueId-4b57cb1e.js → useUniqueId-38fc7c5f.js} +0 -0
- /package/build/{utils-5842bf71.js → utils-bfa0c5a8.js} +0 -0
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-d14fbbbe.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
|
|
3
|
-
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-
|
|
4
|
-
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist,
|
|
5
|
-
export { u as useSSOV2Store } from './store-
|
|
3
|
+
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-b4944ce9.js';
|
|
4
|
+
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, l as redirect } from './store-202ac64b.js';
|
|
5
|
+
export { u as useSSOV2Store } from './store-202ac64b.js';
|
|
6
6
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
7
7
|
import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
|
|
8
|
-
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-
|
|
9
|
-
import { L as LogoIcon } from './logoIcon-
|
|
10
|
-
import { B as Button } from './index-
|
|
11
|
-
import { M as Modal } from './index-
|
|
8
|
+
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES } from './index-63c37e36.js';
|
|
9
|
+
import { L as LogoIcon } from './logoIcon-3a4c3763.js';
|
|
10
|
+
import { B as Button } from './index-4289958f.js';
|
|
11
|
+
import { M as Modal } from './index-dde0ae34.js';
|
|
12
12
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
13
13
|
import '@mantine/dates';
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import { s as showNotification } from './useMantineLocale-
|
|
17
|
-
import { T as Text } from './index-
|
|
18
|
-
import { u as useTranslations } from './index-
|
|
14
|
+
import './index-22705d36.js';
|
|
15
|
+
import './index-97532bc8.js';
|
|
16
|
+
import { s as showNotification } from './useMantineLocale-5605cd94.js';
|
|
17
|
+
import { T as Text } from './index-dea1e555.js';
|
|
18
|
+
import { u as useTranslations } from './index-5398965f.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import './utils-
|
|
21
|
-
import './other-
|
|
22
|
-
import './index-
|
|
23
|
-
import { L as LOCALE } from './Locale-
|
|
24
|
-
import { G as Google, F as Facebook } from './Google-
|
|
20
|
+
import './utils-9bd3e75b.js';
|
|
21
|
+
import './other-7d6d66d3.js';
|
|
22
|
+
import './index-92395267.js';
|
|
23
|
+
import { L as LOCALE } from './Locale-c7f2baf7.js';
|
|
24
|
+
import { G as Google, F as Facebook } from './Google-6e6ea58d.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-
|
|
32
|
+
import { u as useScreenSize } from './useScreenSize-d86483ad.js';
|
|
33
33
|
import { Drawer } from 'vaul';
|
|
34
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
35
|
-
import { S as Spoiler } from './index-
|
|
34
|
+
import { M as MAPPED_LOCALE } from './utils-efb6b760.js';
|
|
35
|
+
import { S as Spoiler } from './index-8f22b9e8.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-
|
|
40
|
+
import { D as DatePicker } from './index-3b16e1a2.js';
|
|
41
41
|
import '@mantine/carousel';
|
|
42
42
|
import './miscTheme.js';
|
|
43
|
-
import './useUniqueId-
|
|
43
|
+
import './useUniqueId-92252d44.js';
|
|
44
44
|
import './constantsSite.js';
|
|
45
45
|
import 'zustand';
|
|
46
46
|
import './constantsIsProduction.js';
|
|
47
|
-
import './normalizeLink-
|
|
47
|
+
import './normalizeLink-53cb21c2.js';
|
|
48
48
|
import './miscCookieHelper.js';
|
|
49
49
|
import 'date-fns/locale';
|
|
50
50
|
import './constantsRiskScreener.js';
|
|
51
|
-
import './index.styles-
|
|
51
|
+
import './index.styles-d4df7fef.js';
|
|
52
52
|
import '@mantine/notifications';
|
|
53
|
-
import './translationsContext-
|
|
53
|
+
import './translationsContext-8d752294.js';
|
|
54
54
|
|
|
55
55
|
const SSOStateContext = createContext({
|
|
56
56
|
locale: LOCALE.Vietnam,
|
|
@@ -208,8 +208,7 @@ const isSocialFlowFn = (flowData) => {
|
|
|
208
208
|
const isPhoneFlowFn = (flowData) => {
|
|
209
209
|
return ((flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'sms' ||
|
|
210
210
|
(flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'zalo' ||
|
|
211
|
-
(flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'phone'
|
|
212
|
-
(flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'whatsapp');
|
|
211
|
+
(flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'phone');
|
|
213
212
|
};
|
|
214
213
|
const isEmailFlowFn = (flowData) => {
|
|
215
214
|
return (flowData === null || flowData === void 0 ? void 0 : flowData.method) === 'email';
|
|
@@ -784,59 +783,6 @@ const loginBySocial = (token, social) => __awaiter(void 0, void 0, void 0, funct
|
|
|
784
783
|
});
|
|
785
784
|
});
|
|
786
785
|
|
|
787
|
-
// "phone_number": "906911910",
|
|
788
|
-
// "area_code":"+84",
|
|
789
|
-
const registerBySendWhatsAppOTP = (phone, areaCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
790
|
-
const formData = new FormData();
|
|
791
|
-
formData.append('phone_number', phone);
|
|
792
|
-
formData.append('area_code', areaCode);
|
|
793
|
-
formData.append('website_id', websiteId);
|
|
794
|
-
return fetchSSOV2Api(SSO_V2_PATHS.WHATSAPP.REGISTER_BY_SEND_OTP, {
|
|
795
|
-
method: 'POST',
|
|
796
|
-
body: formData,
|
|
797
|
-
});
|
|
798
|
-
});
|
|
799
|
-
// "phone_number": "906911910",
|
|
800
|
-
// "area_code":"+84",
|
|
801
|
-
const resendWhatsAppOTP = (phone, areaCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
802
|
-
const formData = new FormData();
|
|
803
|
-
formData.append('phone_number', phone);
|
|
804
|
-
formData.append('area_code', areaCode);
|
|
805
|
-
return fetchSSOV2Api(SSO_V2_PATHS.WHATSAPP.SEND_OTP, {
|
|
806
|
-
method: 'POST',
|
|
807
|
-
body: formData,
|
|
808
|
-
});
|
|
809
|
-
});
|
|
810
|
-
const resendUpdatePhoneWhatsAppOTP = (phone, areaCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
811
|
-
const formData = new FormData();
|
|
812
|
-
formData.append('phone_number', phone);
|
|
813
|
-
formData.append('area_code', areaCode);
|
|
814
|
-
return fetchSSOV2Api(SSO_V2_PATHS.WHATSAPP.UPDATE_PHONE_SEND_OTP, {
|
|
815
|
-
method: 'POST',
|
|
816
|
-
body: formData,
|
|
817
|
-
});
|
|
818
|
-
});
|
|
819
|
-
const verifyUpdatePhoneWhatsAppOTP = (phone, areaCode, otpCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
820
|
-
const formData = new FormData();
|
|
821
|
-
formData.append('phone_number', phone);
|
|
822
|
-
formData.append('otp_code', otpCode);
|
|
823
|
-
formData.append('area_code', areaCode);
|
|
824
|
-
return fetchSSOV2Api(SSO_V2_PATHS.WHATSAPP.UPDATE_PHONE_VERIFY_OTP, {
|
|
825
|
-
method: 'POST',
|
|
826
|
-
body: formData,
|
|
827
|
-
});
|
|
828
|
-
});
|
|
829
|
-
const verifyByWhatsAppOTP = (phone, areaCode, otpCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
830
|
-
const formData = new FormData();
|
|
831
|
-
formData.append('otp_code', otpCode);
|
|
832
|
-
formData.append('phone_number', phone);
|
|
833
|
-
formData.append('area_code', areaCode);
|
|
834
|
-
return fetchSSOV2Api(SSO_V2_PATHS.WHATSAPP.VERIFY_BY_OTP, {
|
|
835
|
-
method: 'POST',
|
|
836
|
-
body: formData,
|
|
837
|
-
});
|
|
838
|
-
});
|
|
839
|
-
|
|
840
786
|
// "phone_number": "906911910",
|
|
841
787
|
// "area_code":"+84",
|
|
842
788
|
const registerBySendZaloOTP = (phone, areaCode) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -893,9 +839,6 @@ const verifyUpdatePhoneZaloOTP = (phone, areaCode, otpCode) => __awaiter(void 0,
|
|
|
893
839
|
});
|
|
894
840
|
});
|
|
895
841
|
|
|
896
|
-
const isFeatureWhatsAppEnabled = ['id-ID', 'ms-MY'].includes(locale);
|
|
897
|
-
const isFeatureSMSEnabled = ['vi-VN'].includes(locale);
|
|
898
|
-
|
|
899
842
|
const MailIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "21", height: "20", viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
900
843
|
React__default.createElement("path", { d: "M15.043 2.56348H6.29297C3.66797 2.56348 1.91797 3.87598 1.91797 6.93848V13.0635C1.91797 16.126 3.66797 17.4385 6.29297 17.4385H15.043C17.668 17.4385 19.418 16.126 19.418 13.0635V6.93848C19.418 3.87598 17.668 2.56348 15.043 2.56348ZM15.4542 7.89223L12.7155 10.0797C12.138 10.5435 11.403 10.771 10.668 10.771C9.93297 10.771 9.18922 10.5435 8.62047 10.0797L5.88172 7.89223C5.60172 7.66473 5.55797 7.24473 5.77672 6.96473C6.00422 6.68473 6.41547 6.63223 6.69547 6.85973L9.43422 9.04723C10.0992 9.58098 11.228 9.58098 11.893 9.04723L14.6317 6.85973C14.9117 6.63223 15.3317 6.67598 15.5505 6.96473C15.778 7.24473 15.7342 7.66473 15.4542 7.89223Z", fill: "#00B16A" })));
|
|
901
844
|
|
|
@@ -2333,12 +2276,6 @@ const StyledPhone = styled(PhoneWithCustomCountrySelect) `
|
|
|
2333
2276
|
}
|
|
2334
2277
|
`;
|
|
2335
2278
|
|
|
2336
|
-
const WhatsApp = ({ size = 20 }) => {
|
|
2337
|
-
return (React__default.createElement("svg", { width: (size * 19) / 18, height: size, viewBox: "0 0 19 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
2338
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.92578 1.07422C5.78895 1.07422 2.42578 4.43738 2.42578 8.57422C2.42578 10.0305 2.83992 11.4277 3.62269 12.6382L2.48494 15.1458C2.38027 15.3779 2.41668 15.6464 2.58506 15.8421C2.71249 15.9923 2.89453 16.0742 3.08112 16.0742C3.14028 16.0742 3.19489 16.0651 3.25406 16.0515L6.39423 15.1913C7.47736 15.7693 8.69247 16.0742 9.92578 16.0742C14.0626 16.0742 17.4258 12.711 17.4258 8.57422C17.4258 4.44193 14.0626 1.07422 9.92578 1.07422ZM9.92578 14.7635C8.82899 14.7635 7.75497 14.4723 6.80836 13.9216C6.70824 13.8624 6.59447 13.8306 6.47614 13.8306C6.41698 13.8306 6.35782 13.8397 6.30321 13.8533L4.25072 14.4177L4.96522 12.843C5.06079 12.6291 5.03804 12.3788 4.90151 12.1877C4.13695 11.1273 3.73191 9.88035 3.73191 8.56967C3.73191 5.15644 6.508 2.38035 9.92123 2.38035C13.3345 2.38035 16.1105 5.15644 16.1105 8.56967C16.1151 11.9874 13.339 14.7635 9.92578 14.7635Z", fill: "currentColor" }),
|
|
2339
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.8115 9.69834C12.4975 9.51175 12.0879 9.30241 11.7193 9.4526C11.4371 9.57092 11.2551 10.0124 11.0685 10.2399C10.9729 10.3582 10.8637 10.3764 10.7181 10.3173C9.65315 9.89404 8.83397 9.17954 8.2469 8.20108C8.14678 8.0509 8.16498 7.92802 8.2833 7.78694C8.46079 7.57759 8.68379 7.34095 8.73385 7.05879C8.78391 6.77663 8.65193 6.44896 8.53361 6.19865C8.38343 5.88009 8.21959 5.42043 7.89647 5.2384C7.60066 5.07001 7.21383 5.16558 6.94987 5.37948C6.49477 5.74811 6.27633 6.33063 6.28543 6.90405C6.28543 7.06788 6.30818 7.23172 6.34459 7.38645C6.43561 7.76418 6.6131 8.11916 6.80879 8.45593C6.95897 8.71079 7.11826 8.95654 7.29119 9.19319C7.86006 9.96685 8.57002 10.6404 9.38919 11.141C9.79878 11.3913 10.2402 11.6143 10.6999 11.7645C11.2141 11.9329 11.6692 12.1104 12.2244 12.0057C12.8024 11.8965 13.3758 11.5369 13.6079 10.9772C13.6762 10.8133 13.7081 10.6267 13.6717 10.4538C13.5897 10.0897 13.1028 9.87128 12.8115 9.69834Z", fill: "currentColor" })));
|
|
2340
|
-
};
|
|
2341
|
-
|
|
2342
2279
|
const Zalo = ({ size = 20, useCurrentColor = false }) => {
|
|
2343
2280
|
const color = useCurrentColor ? 'currentColor' : '#0068FF';
|
|
2344
2281
|
return (React__default.createElement("svg", { width: (size * 21) / 20, height: size, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -2539,7 +2476,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2539
2476
|
}
|
|
2540
2477
|
setLoading(false);
|
|
2541
2478
|
});
|
|
2542
|
-
const
|
|
2479
|
+
const onClickContinuePhone = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
2543
2480
|
var _e, _f;
|
|
2544
2481
|
setLoading(true);
|
|
2545
2482
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
@@ -2551,69 +2488,6 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2551
2488
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
2552
2489
|
const provider = (_e = userExist._data) === null || _e === void 0 ? void 0 : _e.provider;
|
|
2553
2490
|
if ((_f = userExist._data) === null || _f === void 0 ? void 0 : _f.is_pass) {
|
|
2554
|
-
useSSOV2Store.setState({
|
|
2555
|
-
flowData: {
|
|
2556
|
-
method: 'whatsapp',
|
|
2557
|
-
flow: 'login',
|
|
2558
|
-
metaData: userExist._data,
|
|
2559
|
-
},
|
|
2560
|
-
});
|
|
2561
|
-
addStep({
|
|
2562
|
-
type: SSOStepTypeType.PASSWORD,
|
|
2563
|
-
config: {
|
|
2564
|
-
phone,
|
|
2565
|
-
method: 'whatsapp',
|
|
2566
|
-
},
|
|
2567
|
-
});
|
|
2568
|
-
goNext();
|
|
2569
|
-
}
|
|
2570
|
-
else {
|
|
2571
|
-
let res;
|
|
2572
|
-
if (!provider) {
|
|
2573
|
-
res = yield registerBySendWhatsAppOTP(phoneNumber, areaCode);
|
|
2574
|
-
}
|
|
2575
|
-
else {
|
|
2576
|
-
res = yield resendWhatsAppOTP(phoneNumber, areaCode);
|
|
2577
|
-
}
|
|
2578
|
-
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
2579
|
-
setErrMsg(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
2580
|
-
return setLoading(false);
|
|
2581
|
-
}
|
|
2582
|
-
useSSOV2Store.setState({
|
|
2583
|
-
flowData: {
|
|
2584
|
-
method: 'whatsapp',
|
|
2585
|
-
flow: 'signup',
|
|
2586
|
-
metaData: userExist._data,
|
|
2587
|
-
},
|
|
2588
|
-
});
|
|
2589
|
-
addStep({
|
|
2590
|
-
type: SSOStepTypeType.OTP,
|
|
2591
|
-
config: {
|
|
2592
|
-
phone,
|
|
2593
|
-
otpType: 'phone-whatsapp',
|
|
2594
|
-
afterAction: 'forgot',
|
|
2595
|
-
},
|
|
2596
|
-
});
|
|
2597
|
-
goNext();
|
|
2598
|
-
}
|
|
2599
|
-
}
|
|
2600
|
-
else {
|
|
2601
|
-
setErrMsg(getErrorTextFromCode(t, userExist === null || userExist === void 0 ? void 0 : userExist.code));
|
|
2602
|
-
}
|
|
2603
|
-
setLoading(false);
|
|
2604
|
-
});
|
|
2605
|
-
const onClickContinuePhone = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
2606
|
-
var _g, _h;
|
|
2607
|
-
setLoading(true);
|
|
2608
|
-
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
2609
|
-
if (!areaCode || !phoneNumber || !phone) {
|
|
2610
|
-
setErrMsg(t('ssov2.validate.phone.required'));
|
|
2611
|
-
return setLoading(false);
|
|
2612
|
-
}
|
|
2613
|
-
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
2614
|
-
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
2615
|
-
const provider = (_g = userExist._data) === null || _g === void 0 ? void 0 : _g.provider;
|
|
2616
|
-
if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
|
|
2617
2491
|
useSSOV2Store.setState({
|
|
2618
2492
|
flowData: {
|
|
2619
2493
|
method: 'sms',
|
|
@@ -2666,7 +2540,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2666
2540
|
setLoading(false);
|
|
2667
2541
|
});
|
|
2668
2542
|
const onClickLoginWithPhone = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
2669
|
-
var
|
|
2543
|
+
var _g, _h;
|
|
2670
2544
|
setLoading(true);
|
|
2671
2545
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
2672
2546
|
if (!areaCode || !phoneNumber || !phone) {
|
|
@@ -2675,7 +2549,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2675
2549
|
}
|
|
2676
2550
|
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
2677
2551
|
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
2678
|
-
if (!userExist._data || !((
|
|
2552
|
+
if (!userExist._data || !((_g = userExist._data) === null || _g === void 0 ? void 0 : _g.is_pass)) {
|
|
2679
2553
|
showNotification({
|
|
2680
2554
|
message: t('ssov2.first.noAccountOrPass'),
|
|
2681
2555
|
type: 'danger',
|
|
@@ -2683,7 +2557,7 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2683
2557
|
setActiveTab('signup');
|
|
2684
2558
|
return setLoading(false);
|
|
2685
2559
|
}
|
|
2686
|
-
if ((
|
|
2560
|
+
if ((_h = userExist._data) === null || _h === void 0 ? void 0 : _h.is_pass) {
|
|
2687
2561
|
useSSOV2Store.setState({
|
|
2688
2562
|
flowData: {
|
|
2689
2563
|
method: 'phone',
|
|
@@ -2779,13 +2653,8 @@ const SSOFirstScreen = ({ hidden, config, }) => {
|
|
|
2779
2653
|
};
|
|
2780
2654
|
}, [activeTab]) }))),
|
|
2781
2655
|
React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onClickLoginWithPhone, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue Login", display: activeTab === 'login' ? 'block' : 'none' }, t('ssov2.button.continue')),
|
|
2782
|
-
isFeatureWhatsAppEnabled && (React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onClickContinueWhatsApp, loading: loading, disabled: loading,
|
|
2783
|
-
// data-event-category={trackingCategory}
|
|
2784
|
-
// data-event-action={trackingAction}
|
|
2785
|
-
// data-event-label="Continue with Zalo"
|
|
2786
|
-
display: activeTab === 'signup' ? 'block' : 'none', leftIcon: React__default.createElement(WhatsApp, null), color: "#00B16A" }, t('ssov2.button.otp.whatsapp'))),
|
|
2787
2656
|
React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onClickContinueZalo, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with Zalo", display: activeTab === 'signup' ? 'block' : 'none', leftIcon: React__default.createElement(Zalo, null) }, t('ssov2.button.otp.zalo')),
|
|
2788
|
-
|
|
2657
|
+
React__default.createElement(Button, { size: "sm", variant: "white", onClick: onClickContinuePhone, loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS", display: activeTab === 'signup' ? 'block' : 'none', style: { fontWeight: 400 }, color: "#595959", leftIcon: React__default.createElement(ReplySquare, { size: 18 }) }, t('ssov2.button.otp.sms'))),
|
|
2789
2658
|
React__default.createElement(Divider, { color: "#E4E8EC", display: activeTab === 'signup' ? 'block' : 'none' }),
|
|
2790
2659
|
React__default.createElement(Stack, { spacing: 16, align: "center" },
|
|
2791
2660
|
React__default.createElement(Text, { size: "p4", color: "gray.4" }, t('ssov2.orContinueWith')),
|
|
@@ -2894,7 +2763,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
2894
2763
|
const isEmail = otpType === 'email' || otpType === 'update-email';
|
|
2895
2764
|
const isZalo = otpType === 'phone-zalo';
|
|
2896
2765
|
const isSMS = otpType === 'phone-sms';
|
|
2897
|
-
const isWhatsApp = otpType === 'phone-whatsapp';
|
|
2898
2766
|
const trackingMethod = flowData === null || flowData === void 0 ? void 0 : flowData.method;
|
|
2899
2767
|
const trackingCategory = userInfo && !userInfo.first_time_login
|
|
2900
2768
|
? `SSO - Existing User via ${trackingMethod}`
|
|
@@ -2903,7 +2771,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
2903
2771
|
: `SSO - Sign In via ${trackingMethod}`;
|
|
2904
2772
|
const trackingAction = isEmail
|
|
2905
2773
|
? 'Verify Your Email'
|
|
2906
|
-
: `Verify Phone Number via ${isZalo ? 'Zalo' : isSMS ? 'SMS' :
|
|
2774
|
+
: `Verify Phone Number via ${isZalo ? 'Zalo' : isSMS ? 'SMS' : ''}`;
|
|
2907
2775
|
useEffect(() => {
|
|
2908
2776
|
if (!hidden) {
|
|
2909
2777
|
setError('');
|
|
@@ -2983,9 +2851,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
2983
2851
|
else if (otpType === 'phone-zalo') {
|
|
2984
2852
|
res = yield verifyUpdatePhoneZaloOTP(phoneNumber, areaCode, otp);
|
|
2985
2853
|
}
|
|
2986
|
-
else if (otpType === 'phone-whatsapp') {
|
|
2987
|
-
res = yield verifyUpdatePhoneWhatsAppOTP(phoneNumber, areaCode, otp);
|
|
2988
|
-
}
|
|
2989
2854
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
2990
2855
|
if (afterAction === 'setup') {
|
|
2991
2856
|
const userInfo = yield getUserInfo();
|
|
@@ -3011,7 +2876,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3011
2876
|
const needPass = (flowData.method === 'email' ||
|
|
3012
2877
|
flowData.method === 'zalo' ||
|
|
3013
2878
|
flowData.method === 'sms' ||
|
|
3014
|
-
flowData.method === 'whatsapp' ||
|
|
3015
2879
|
flowData.method === 'phone' ||
|
|
3016
2880
|
(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data.provider) === 'email' ||
|
|
3017
2881
|
(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data.provider) === 'phone') &&
|
|
@@ -3070,9 +2934,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3070
2934
|
else if (otpType === 'phone-zalo') {
|
|
3071
2935
|
res = yield verifyByZaloOTP(phoneNumber, areaCode, otp);
|
|
3072
2936
|
}
|
|
3073
|
-
else if (otpType === 'phone-whatsapp') {
|
|
3074
|
-
res = yield verifyByWhatsAppOTP(phoneNumber, areaCode, otp);
|
|
3075
|
-
}
|
|
3076
2937
|
else if (otpType === 'email') {
|
|
3077
2938
|
res = yield verifyByEmailOTP(email, otp);
|
|
3078
2939
|
}
|
|
@@ -3095,15 +2956,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3095
2956
|
addStepAndGoNext({
|
|
3096
2957
|
type: SSOStepTypeType.FORGOT_PASSWORD_SETUP,
|
|
3097
2958
|
config: {
|
|
3098
|
-
provider: isZalo
|
|
3099
|
-
? 'Zalo'
|
|
3100
|
-
: isSMS
|
|
3101
|
-
? 'SMS'
|
|
3102
|
-
: isWhatsApp
|
|
3103
|
-
? 'WhatsApp'
|
|
3104
|
-
: isEmail
|
|
3105
|
-
? 'Email'
|
|
3106
|
-
: '',
|
|
2959
|
+
provider: isZalo ? 'Zalo' : isSMS ? 'SMS' : isEmail ? 'Email' : '',
|
|
3107
2960
|
},
|
|
3108
2961
|
});
|
|
3109
2962
|
}
|
|
@@ -3131,7 +2984,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3131
2984
|
const needPass = (flowData.method === 'email' ||
|
|
3132
2985
|
flowData.method === 'zalo' ||
|
|
3133
2986
|
flowData.method === 'sms' ||
|
|
3134
|
-
flowData.method === 'whatsapp' ||
|
|
3135
2987
|
flowData.method === 'phone' ||
|
|
3136
2988
|
(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data.provider) === 'email' ||
|
|
3137
2989
|
(userInfo === null || userInfo === void 0 ? void 0 : userInfo._data.provider) === 'phone') &&
|
|
@@ -3172,12 +3024,13 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3172
3024
|
}
|
|
3173
3025
|
setLoading(false);
|
|
3174
3026
|
});
|
|
3175
|
-
const
|
|
3027
|
+
const swapZaloSms = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
3176
3028
|
if (isEmail)
|
|
3177
3029
|
return;
|
|
3178
3030
|
setLoading(true);
|
|
3179
3031
|
try {
|
|
3180
3032
|
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
3033
|
+
const newType = otpType === 'phone-sms' ? 'phone-zalo' : 'phone-sms';
|
|
3181
3034
|
let res;
|
|
3182
3035
|
if (isUpdatePhone) {
|
|
3183
3036
|
if (newType === 'phone-sms') {
|
|
@@ -3186,9 +3039,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3186
3039
|
else if (newType === 'phone-zalo') {
|
|
3187
3040
|
res = yield resendUpdatePhoneZaloOTP(phoneNumber, areaCode);
|
|
3188
3041
|
}
|
|
3189
|
-
else if (newType === 'phone-whatsapp') {
|
|
3190
|
-
res = yield resendUpdatePhoneWhatsAppOTP(phoneNumber, areaCode);
|
|
3191
|
-
}
|
|
3192
3042
|
}
|
|
3193
3043
|
else {
|
|
3194
3044
|
if (newType === 'phone-sms') {
|
|
@@ -3197,9 +3047,6 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3197
3047
|
else if (newType === 'phone-zalo') {
|
|
3198
3048
|
res = yield resendZaloOTP(phoneNumber, areaCode);
|
|
3199
3049
|
}
|
|
3200
|
-
else if (newType === 'phone-whatsapp') {
|
|
3201
|
-
res = yield resendWhatsAppOTP(phoneNumber, areaCode);
|
|
3202
|
-
}
|
|
3203
3050
|
}
|
|
3204
3051
|
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
3205
3052
|
setError(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
@@ -3249,13 +3096,7 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3249
3096
|
: 'ssov2.otp.phone.description', {
|
|
3250
3097
|
email,
|
|
3251
3098
|
phone,
|
|
3252
|
-
method:
|
|
3253
|
-
? 'SMS'
|
|
3254
|
-
: isZalo
|
|
3255
|
-
? 'Zalo'
|
|
3256
|
-
: isWhatsApp
|
|
3257
|
-
? 'WhatsApp'
|
|
3258
|
-
: '',
|
|
3099
|
+
method: otpType === 'phone-sms' ? 'SMS' : 'Zalo',
|
|
3259
3100
|
}),
|
|
3260
3101
|
} }))),
|
|
3261
3102
|
React__default.createElement(Stack, { mt: 24, spacing: 8 },
|
|
@@ -3285,20 +3126,9 @@ const SSOOTPScreen = ({ hidden, index, config, }) => {
|
|
|
3285
3126
|
count: resendTime,
|
|
3286
3127
|
})))),
|
|
3287
3128
|
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": "Continue", ref: submitButtonRef }, t('ssov2.button.continue')),
|
|
3288
|
-
!isEmail && (React__default.createElement(React__default.
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
// data-event-action={trackingAction}
|
|
3292
|
-
// data-event-label="Continue with WhatsApp"
|
|
3293
|
-
display: !isWhatsApp ? 'block' : 'none', leftIcon: React__default.createElement(WhatsApp, null), style: { fontWeight: 400 }, color: "#595959" }, t('ssov2.otp.sendVia', {
|
|
3294
|
-
method: 'WhatsApp',
|
|
3295
|
-
})),
|
|
3296
|
-
React__default.createElement(Button, { size: "sm", variant: "white", mt: 12, fullWidth: true, onClick: () => swapAnotherMethod('phone-zalo'), loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Send OTP Code via Zalo", display: !isZalo ? 'block' : 'none', leftIcon: React__default.createElement(Zalo, null), style: { fontWeight: 400 }, color: "#595959" }, t('ssov2.otp.sendVia', {
|
|
3297
|
-
method: 'Zalo',
|
|
3298
|
-
})),
|
|
3299
|
-
React__default.createElement(Button, { size: "sm", variant: "white", mt: 12, fullWidth: true, onClick: () => swapAnotherMethod('phone-sms'), loading: loading, disabled: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Send OTP Code via SMS", display: !isSMS ? 'block' : 'none', leftIcon: React__default.createElement(ReplySquare, { size: 18 }), style: { fontWeight: 400 }, color: "#595959" }, t('ssov2.otp.sendVia', {
|
|
3300
|
-
method: 'SMS',
|
|
3301
|
-
}))))));
|
|
3129
|
+
!isEmail && (React__default.createElement(Button, { size: "sm", variant: "white", mt: 12, onClick: swapZaloSms, fullWidth: true, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": `Send OTP Code via ${otpType === 'phone-sms' ? 'Zalo' : 'SMS'}`, leftIcon: otpType === 'phone-sms' ? (React__default.createElement(Zalo, { size: 18, useCurrentColor: true })) : (React__default.createElement(ReplySquare, { size: 18 })), style: { fontWeight: 400 }, color: "#595959" }, t('ssov2.otp.sendVia', {
|
|
3130
|
+
method: otpType === 'phone-sms' ? 'Zalo' : 'SMS',
|
|
3131
|
+
})))));
|
|
3302
3132
|
};
|
|
3303
3133
|
|
|
3304
3134
|
const SSOPasswordScreen = ({ hidden, config, }) => {
|
|
@@ -3925,48 +3755,6 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
|
|
|
3925
3755
|
}
|
|
3926
3756
|
setLoading(false);
|
|
3927
3757
|
});
|
|
3928
|
-
const onClickContinueWhatsApp = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
3929
|
-
setLoading(true);
|
|
3930
|
-
try {
|
|
3931
|
-
const { areaCode, phoneNumber } = splitPhone(phone);
|
|
3932
|
-
if (!areaCode || !phoneNumber || !phone) {
|
|
3933
|
-
setErrMsg(t('ssov2.validate.phone.required'));
|
|
3934
|
-
return setLoading(false);
|
|
3935
|
-
}
|
|
3936
|
-
const userExist = yield checkUserExist({ phone: phoneNumber });
|
|
3937
|
-
if ((userExist === null || userExist === void 0 ? void 0 : userExist._status) === 1) {
|
|
3938
|
-
if (!userExist._data) {
|
|
3939
|
-
const res = yield resendUpdatePhoneWhatsAppOTP(phoneNumber, areaCode);
|
|
3940
|
-
if ((res === null || res === void 0 ? void 0 : res._status) !== 1) {
|
|
3941
|
-
setErrMsg(getErrorTextFromCode(t, res === null || res === void 0 ? void 0 : res.code));
|
|
3942
|
-
return setLoading(false);
|
|
3943
|
-
}
|
|
3944
|
-
addStep({
|
|
3945
|
-
type: SSOStepTypeType.OTP,
|
|
3946
|
-
config: {
|
|
3947
|
-
provider,
|
|
3948
|
-
phone,
|
|
3949
|
-
otpType: 'phone-whatsapp',
|
|
3950
|
-
isUpdatePhone: true,
|
|
3951
|
-
afterAction: afterAction || 'setup',
|
|
3952
|
-
},
|
|
3953
|
-
});
|
|
3954
|
-
goNext();
|
|
3955
|
-
}
|
|
3956
|
-
else {
|
|
3957
|
-
setErrMsg(t('ssov2.phone.alreadyUsed'));
|
|
3958
|
-
}
|
|
3959
|
-
}
|
|
3960
|
-
else {
|
|
3961
|
-
setErrMsg(getErrorTextFromCode(t, userExist === null || userExist === void 0 ? void 0 : userExist.code));
|
|
3962
|
-
}
|
|
3963
|
-
}
|
|
3964
|
-
catch (e) {
|
|
3965
|
-
console.log(e);
|
|
3966
|
-
setErrMsg(getErrorTextFromCode(t, ''));
|
|
3967
|
-
}
|
|
3968
|
-
setLoading(false);
|
|
3969
|
-
});
|
|
3970
3758
|
return (React__default.createElement("div", { style: {
|
|
3971
3759
|
display: hidden ? 'none' : 'block',
|
|
3972
3760
|
} },
|
|
@@ -3988,9 +3776,8 @@ const SSOPhoneVerify = ({ hidden, config, }) => {
|
|
|
3988
3776
|
'data-event-category': trackingCategory,
|
|
3989
3777
|
};
|
|
3990
3778
|
}, []) })),
|
|
3991
|
-
isFeatureWhatsAppEnabled && (React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onClickContinueWhatsApp, loading: loading, disabled: loading, leftIcon: React__default.createElement(WhatsApp, null), color: "#00B16A" }, t('ssov2.button.continueWhatsApp'))),
|
|
3992
3779
|
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", leftIcon: React__default.createElement(Zalo, null) }, t('ssov2.button.continueZalo')),
|
|
3993
|
-
|
|
3780
|
+
React__default.createElement(Button, { size: "sm", variant: "white", onClick: onClickContinuePhone, disabled: loading, loading: loading, "data-event-category": trackingCategory, "data-event-action": trackingAction, "data-event-label": "Continue with SMS", style: { fontWeight: 400 }, color: "#595959", leftIcon: React__default.createElement(ReplySquare, { size: 18 }) }, t('ssov2.button.continueSMS')),
|
|
3994
3781
|
source !== 'care_onboarding' && source !== 'ecom' && React__default.createElement(SetupLater, null)))));
|
|
3995
3782
|
};
|
|
3996
3783
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-d14fbbbe.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
3
|
import { isProduction } from './constantsIsProduction.js';
|
|
4
|
-
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
5
|
-
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-
|
|
4
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-53cb21c2.js';
|
|
5
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, d as BEARER_TOKEN_COOKIE$1 } from './index-63c37e36.js';
|
|
6
6
|
import { setCookie, getCookie } from './miscCookieHelper.js';
|
|
7
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
8
8
|
|
|
@@ -22,13 +22,6 @@ const SSO_V2_PATHS = {
|
|
|
22
22
|
UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
|
|
23
23
|
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
|
|
24
24
|
},
|
|
25
|
-
WHATSAPP: {
|
|
26
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-whatsapp',
|
|
27
|
-
SEND_OTP: 'login/whatsapp/sent-otp',
|
|
28
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/whatsapp/sent-otp',
|
|
29
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/whatsapp-verify-code',
|
|
30
|
-
VERIFY_BY_OTP: 'login/whatsapp-verify-code',
|
|
31
|
-
},
|
|
32
25
|
ZALO: {
|
|
33
26
|
REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
|
|
34
27
|
SEND_OTP: 'login/zalo/sent-otp',
|
|
@@ -47,7 +40,7 @@ const SSO_V2_PATHS = {
|
|
|
47
40
|
},
|
|
48
41
|
};
|
|
49
42
|
|
|
50
|
-
const locale = process.env.
|
|
43
|
+
const locale = process.env.UNIFY_LOCALE || 'vi-VN';
|
|
51
44
|
const websiteId = LOCALE_SPECS[locale].SITE_ID;
|
|
52
45
|
LOCALE_SPECS[locale].PHONE;
|
|
53
46
|
const getSSOV2ApiUrl = (path) => {
|
|
@@ -161,14 +154,14 @@ const handleAuthSuccess = (res) => {
|
|
|
161
154
|
setCookie(BEARER_TOKEN_COOKIE, res.token, {
|
|
162
155
|
domain: window.location.hostname === 'localhost'
|
|
163
156
|
? 'localhost'
|
|
164
|
-
: `.${domainLocales[
|
|
157
|
+
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
165
158
|
expires: new Date(res.expire_in * 1000).toUTCString(),
|
|
166
159
|
});
|
|
167
160
|
(res === null || res === void 0 ? void 0 : res.refresh_token) &&
|
|
168
161
|
setCookie(BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
|
|
169
162
|
domain: window.location.hostname === 'localhost'
|
|
170
163
|
? 'localhost'
|
|
171
|
-
: `.${domainLocales[
|
|
164
|
+
: `.${domainLocales[process.env.UNIFY_LOCALE || 'vi-VN']}`,
|
|
172
165
|
});
|
|
173
166
|
};
|
|
174
167
|
|
|
@@ -446,7 +439,7 @@ const redirect = (returnUrl, source, forceReload) => {
|
|
|
446
439
|
return;
|
|
447
440
|
}
|
|
448
441
|
};
|
|
449
|
-
const SSOV2_LOCALES = ['vi-VN'
|
|
442
|
+
const SSOV2_LOCALES = ['vi-VN'];
|
|
450
443
|
const IS_SSOV2_ENABLED = (locale) => {
|
|
451
444
|
return (!process.env.NEXT_PUBLIC_MARRY_BABY &&
|
|
452
445
|
SSOV2_LOCALES.includes(locale ||
|
|
@@ -490,4 +483,4 @@ const isLoginWithPhoneNotVerifedYet = (flowData, userInfo) => {
|
|
|
490
483
|
!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at));
|
|
491
484
|
};
|
|
492
485
|
|
|
493
|
-
export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, SSO_V2_PATHS as b, checkUserExist as c, updateUserInfo as d, isPhoneNotVerifedYet as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isUserFinishedSetup as i, isLoginWithPhoneNotVerifedYet as j, isFlowFinishedSetup as k,
|
|
486
|
+
export { FacebookAppId as F, GoogleAuthClientId as G, IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, SSO_V2_PATHS as b, checkUserExist as c, updateUserInfo as d, isPhoneNotVerifedYet as e, fetchSSOV2Api as f, getUserInfo as g, handleAuthSuccess as h, isUserFinishedSetup as i, isLoginWithPhoneNotVerifedYet as j, isFlowFinishedSetup as k, redirect as l, resetPassword as r, useSSOV2Store as u, websiteId as w };
|