@hhgtech/hhg-components 1.29.154 → 1.29.156
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-79fcee6d.js → LastPeriod-31e38662.js} +1 -1
- package/build/{MobileBottomNavigationIcon-0c302829.js → MobileBottomNavigationIcon-55c07f7d.js} +3 -3
- package/build/{Spinner-3ef4b2c2.js → Spinner-211c9683.js} +1 -1
- package/build/{WhatsApp-1cd12bf8.js → WhatsApp-e0c0bb9d.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 +89 -89
- package/build/{constants-f779c9f4.js → constants-3143cc04.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-b0921c0f.js → core-e2d64e34.js} +1 -1
- package/build/{dataTransform-e26d3567.js → dataTransform-9197a12d.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-b7c765bd.js → editor-93874c8d.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-e0631848.js → LastPeriod-bee3d13c.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-414d7f6d.js → MobileBottomNavigationIcon-df6bd263.js} +3 -3
- package/build/esm/{Spinner-7451b6e5.js → Spinner-35d5f45f.js} +1 -1
- package/build/esm/{WhatsApp-5e557a96.js → WhatsApp-7907f0ff.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 +89 -89
- package/build/esm/{constants-c86e4b5b.js → constants-fa3ec372.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-733a7b61.js → core-7ab61698.js} +1 -1
- package/build/esm/{dataTransform-7c53fc27.js → dataTransform-2baa60e5.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-7221d317.js → editor-a6b74262.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-3de8c886.js → fixedBottomAdBlock-728ae96b.js} +23 -23
- 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.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-5263905a.js → index-01547752.js} +3 -3
- package/build/esm/{index-103afe5e.js → index-0c74fe4d.js} +13 -13
- package/build/esm/{index-ac1446eb.js → index-0f5e8d73.js} +2 -2
- package/build/esm/{index-d7e10fea.js → index-10aa35c0.js} +1 -1
- package/build/esm/{index-19f44a29.js → index-15c5b448.js} +21 -21
- package/build/esm/{index-5b71c798.js → index-17ce945c.js} +16 -16
- package/build/esm/{index-88beac8c.js → index-1a24d081.js} +3 -3
- package/build/esm/{index-dbfdecc6.js → index-1a955565.js} +1 -1
- package/build/esm/{index-85c2bfdb.js → index-1d172ff1.js} +7 -7
- package/build/esm/{index-4815ace6.js → index-239610cb.js} +16 -16
- package/build/esm/{index-d0853789.js → index-2500771c.js} +20 -20
- package/build/esm/{index-e1d80854.js → index-25c7fae2.js} +2 -2
- package/build/esm/{index-0f5393e9.js → index-2a7f48db.js} +3 -3
- package/build/esm/{index-26ca8c05.js → index-2e958550.js} +3 -3
- package/build/esm/{index-8d56be31.js → index-2f52a995.js} +2 -2
- package/build/esm/{index-c6d0d4e3.js → index-30db3dcf.js} +1 -1
- package/build/esm/{index-0da33b55.js → index-34adf106.js} +2 -2
- package/build/esm/{index-555c5f1e.js → index-39fa908c.js} +16 -16
- package/build/esm/{index-422c592d.js → index-41f2c913.js} +7 -7
- package/build/esm/{index-1b27d30b.js → index-44d38761.js} +16 -16
- package/build/esm/{index-38a4a6b2.js → index-47917d82.js} +2 -2
- package/build/esm/{index-4f8051a2.js → index-5027842d.js} +30 -30
- package/build/esm/{index-09f39a7f.js → index-5b04db7d.js} +10 -10
- package/build/esm/{index-a1fe15fa.js → index-6025b4a1.js} +13 -13
- package/build/esm/{index-68d3eebd.js → index-65d4189e.js} +17 -17
- package/build/esm/{index-65afe55a.js → index-6634320b.js} +1 -1
- package/build/esm/{index-a4e2c8b2.js → index-6d2d588f.js} +32 -32
- package/build/esm/{index-8d2c985a.js → index-6ffb3a5d.js} +4 -4
- package/build/esm/{index-9b1e7d53.js → index-7132d466.js} +2 -2
- package/build/esm/{index-27314aa3.js → index-761bd1dd.js} +24 -24
- package/build/esm/{index-41660a3a.js → index-7698a794.js} +2 -2
- package/build/esm/{index-18385a9e.js → index-79d3e60f.js} +1 -1
- package/build/esm/{index-4ac74f2d.js → index-802c259d.js} +2 -2
- package/build/esm/{index-b2b7deb5.js → index-808a94a1.js} +6 -6
- package/build/esm/{index-1e43e0f9.js → index-8842f7d3.js} +2 -2
- package/build/esm/{index-11dcba8a.js → index-89d0f505.js} +18 -18
- package/build/esm/{index-31c197f1.js → index-8bd0e2d1.js} +1 -1
- package/build/esm/{index-796e9bb2.js → index-8cf5a966.js} +1 -1
- package/build/esm/{index-9c499e19.js → index-8d56d60e.js} +17 -17
- package/build/esm/{index-8d33b43d.js → index-98bfde75.js} +3 -3
- package/build/esm/{index-1861cd41.js → index-9aabcb4c.js} +2 -2
- package/build/esm/{index-01845105.js → index-9bb77633.js} +13 -13
- package/build/esm/{index-f3d65ed2.js → index-9ca10245.js} +6 -6
- package/build/esm/{index-7ddcd269.js → index-a5c361ea.js} +18 -18
- package/build/esm/{index-532ec9b8.js → index-a7394e1a.js} +1 -1
- package/build/esm/{index-e20876f4.js → index-acbb69aa.js} +2 -2
- package/build/esm/{index-68483f2e.js → index-b02acd62.js} +15 -15
- package/build/esm/{index-eaa20d1d.js → index-b20653eb.js} +1 -1
- package/build/esm/{index-82785bfe.js → index-b4539ead.js} +3 -3
- package/build/esm/{index-1a3eacd9.js → index-bc3378d9.js} +1 -1
- package/build/esm/{index-bf6970f2.js → index-c0eed18f.js} +23 -23
- package/build/esm/{index-215243b0.js → index-c41c6d7f.js} +6 -6
- package/build/esm/{index-73303d7d.js → index-c52e2f1c.js} +5 -5
- package/build/esm/{index-040b69c4.js → index-cf32ae56.js} +2 -2
- package/build/esm/{index-50db10eb.js → index-d29a4b34.js} +13 -13
- package/build/esm/{index-f0a718ae.js → index-df88978b.js} +15 -15
- package/build/esm/{index-290b77c5.js → index-e03ee124.js} +6 -6
- package/build/esm/{index-90ad56b1.js → index-e457da37.js} +17 -17
- package/build/esm/{index-8d821afe.js → index-f1f65454.js} +13 -13
- package/build/esm/{index-e70637c7.js → index-feb326da.js} +5 -5
- package/build/esm/index.js +112 -112
- package/build/esm/{index.styles-66045747.js → index.styles-454204a5.js} +1 -1
- package/build/esm/{labelSorting-c24d2623.js → labelSorting-854420cf.js} +4 -4
- package/build/esm/lead.js +23 -23
- package/build/esm/{logoIcon-6a0f5c0d.js → logoIcon-2520a405.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- 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 +68 -68
- 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-d70c9403.js → post-eece10fc.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.js +49 -353
- package/build/esm/{store-18a9c261.js → store-54f40976.js} +3 -3
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +30 -30
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-970e0a36.js → surveyThankyouCard-4034442f.js} +5 -5
- package/build/esm/together.js +53 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +47 -47
- 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 +48 -48
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-2edaacb7.js → treePopoverMenu-c7369bcd.js} +19 -19
- package/build/esm/{types-7c0385fa.js → types-7b750371.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-b757fcc1.js → useCategory-19820a10.js} +5 -5
- package/build/esm/{useHealthToolCache-632df999.js → useHealthToolCache-7b1a32e5.js} +1 -1
- package/build/esm/{useMantineLocale-4aece5db.js → useMantineLocale-f9942e9c.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-e604c5cd.js → usePlacesAutocomplete-812f1136.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-497897a7.js → utils-15b4afd4.js} +2 -2
- package/build/esm/{utils-de9524a4.js → utils-6101a92d.js} +3 -3
- package/build/esm/{utils-c204f794.js → utils-77604353.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/{fixedBottomAdBlock-9bbf8b22.js → fixedBottomAdBlock-01ae68d0.js} +23 -23
- 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.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-658ff430.js → index-00065d71.js} +32 -32
- package/build/{index-ff17404d.js → index-00c8cba3.js} +18 -18
- package/build/{index-9cf87269.js → index-01bf325b.js} +30 -30
- package/build/{index-516cf54b.js → index-041bc8e0.js} +7 -7
- package/build/{index-7ddd1a07.js → index-0d43704f.js} +1 -1
- package/build/{index-4d169b95.js → index-123a7b80.js} +3 -3
- package/build/{index-8ff2c70f.js → index-1330f8d9.js} +3 -3
- package/build/{index-31a05fa1.js → index-18a76f1f.js} +21 -21
- package/build/{index-b0e283b1.js → index-1db52136.js} +3 -3
- package/build/{index-a955451a.js → index-1e9ce3fe.js} +13 -13
- package/build/{index-6b5793cd.js → index-20866b6a.js} +6 -6
- package/build/{index-0fa34020.js → index-27981aaf.js} +1 -1
- package/build/{index-6b13018f.js → index-281d6c74.js} +2 -2
- package/build/{index-59497848.js → index-2ba0fd2a.js} +16 -16
- package/build/{index-73bb9351.js → index-2ef7016d.js} +1 -1
- package/build/{index-3817aecc.js → index-2f85cd3c.js} +13 -13
- package/build/{index-fac53e14.js → index-2fe84859.js} +2 -2
- package/build/{index-7b38a133.js → index-38bbf10a.js} +5 -5
- package/build/{index-cecbcd58.js → index-436b652c.js} +15 -15
- package/build/{index-5dfe1929.js → index-465acea1.js} +17 -17
- package/build/{index-5f50cc1f.js → index-46a9bbba.js} +3 -3
- package/build/{index-e8a3d8f3.js → index-4a77b84b.js} +12 -12
- package/build/{index-a0ab80e6.js → index-4bdee0fb.js} +6 -6
- package/build/{index-991243b4.js → index-4efe049d.js} +15 -15
- package/build/{index-b2dbf841.js → index-512cfbdd.js} +5 -5
- package/build/{index-04b79dfa.js → index-5359823e.js} +16 -16
- package/build/{index-52478e6d.js → index-5544e3d4.js} +18 -18
- package/build/{index-6125f8f5.js → index-5b933e7f.js} +6 -6
- package/build/{index-bbd2e6f1.js → index-5c333f2a.js} +1 -1
- package/build/{index-fa0afa1f.js → index-5f64df40.js} +7 -7
- package/build/{index-14e86c8e.js → index-603572d6.js} +2 -2
- package/build/{index-eaaced3c.js → index-62bb3232.js} +2 -2
- package/build/{index-57c5e1e2.js → index-64cbca35.js} +24 -24
- package/build/{index-3ded2bd9.js → index-6e4b6719.js} +13 -13
- package/build/{index-6bbae2fb.js → index-6fcf5b0b.js} +23 -23
- package/build/{index-bc38ae3a.js → index-77682323.js} +2 -2
- package/build/{index-256b7703.js → index-7bd84380.js} +1 -1
- package/build/{index-b45fb29d.js → index-7c4ea57d.js} +2 -2
- package/build/{index-56396ef7.js → index-8a357c06.js} +1 -1
- package/build/{index-e9ba1c59.js → index-8bb8bccb.js} +2 -2
- package/build/{index-a6303d1a.js → index-931be766.js} +1 -1
- package/build/{index-2d673ddf.js → index-9a97250c.js} +3 -3
- package/build/{index-048235a4.js → index-9ed9890e.js} +2 -2
- package/build/{index-fa50372a.js → index-abddda6d.js} +16 -16
- package/build/{index-c49a4b96.js → index-b041f41b.js} +1 -1
- package/build/{index-b421e410.js → index-b0639120.js} +13 -13
- package/build/{index-a3eac86b.js → index-b4c43128.js} +2 -2
- package/build/{index-e263c762.js → index-b5f9b4b4.js} +6 -6
- package/build/{index-7dca5424.js → index-b83448ba.js} +4 -4
- package/build/{index-0b78fe6a.js → index-c510e0ac.js} +16 -16
- package/build/{index-c91fb265.js → index-c5ac6f46.js} +20 -20
- package/build/{index-8f176112.js → index-c7d4d178.js} +10 -10
- package/build/{index-b0e18359.js → index-d0383825.js} +1 -1
- package/build/{index-43bb497a.js → index-daa65e94.js} +2 -2
- package/build/{index-2fff6342.js → index-e47d3598.js} +2 -2
- package/build/{index-f106f68b.js → index-e735c4ae.js} +1 -1
- package/build/{index-eb0d30b5.js → index-f1ec270f.js} +2 -2
- package/build/{index-89b299c1.js → index-f40e1ec6.js} +3 -3
- package/build/{index-a1bdb947.js → index-f6f48257.js} +17 -17
- package/build/{index-bcffcc04.js → index-ff38da23.js} +17 -17
- package/build/index.js +112 -112
- package/build/{index.styles-c7b4291f.js → index.styles-b90e8ab5.js} +1 -1
- package/build/{labelSorting-4c9794eb.js → labelSorting-b0a73dba.js} +4 -4
- package/build/lead.js +23 -23
- package/build/{logoIcon-111d7742.js → logoIcon-7b4c761d.js} +2 -2
- package/build/mantine.js +21 -21
- package/build/misc.js +17 -17
- 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 +68 -68
- 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-96c92719.js → post-ee810bf0.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +85 -390
- package/build/{store-96fa1972.js → store-d6789710.js} +3 -3
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +30 -30
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-905919ad.js → surveyThankyouCard-d8a7fb72.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +47 -47
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +48 -48
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-cb446155.js → treePopoverMenu-a0248bfd.js} +19 -19
- package/build/{types-bd3c8742.js → types-fee9239e.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-197342f7.js → useCategory-3bec728f.js} +5 -5
- package/build/{useHealthToolCache-bacf8fa2.js → useHealthToolCache-19257227.js} +1 -1
- package/build/{useMantineLocale-f1f47fee.js → useMantineLocale-17ef7576.js} +5 -5
- package/build/{usePlacesAutocomplete-66c93818.js → usePlacesAutocomplete-2df4283e.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-fe185323.js → utils-1a4ee031.js} +2 -2
- package/build/{utils-4a24ce4c.js → utils-2a08bb93.js} +3 -3
- package/build/{utils-9a3533f4.js → utils-85fdb145.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-3ba4b0a9.js → BMI_BOYS.percentile.monthly-c8fb6a9c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-75cf2b36.js → BMI_BOYS.percentile.weekly-4c831eb9.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-56ac09e0.js → BMI_BOYS.percentile.yearly-09198cb0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-45a57c36.js → BMI_BOYS.zscore.monthly-c10a6d17.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f837e61d.js → BMI_BOYS.zscore.weekly-34284bde.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a3bc121a.js → BMI_BOYS.zscore.yearly-c8e1a1e5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-8ec554f5.js → BMI_GIRLS.percentile.monthly-e360c3ec.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-2c08ee25.js → BMI_GIRLS.percentile.weekly-c69fdcf2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-cec410f4.js → BMI_GIRLS.percentile.yearly-753efc2b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6174a2c2.js → BMI_GIRLS.zscore.monthly-17b22bfb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1df947e3.js → BMI_GIRLS.zscore.weekly-28ce8fa0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-dea3c676.js → BMI_GIRLS.zscore.yearly-cd6b8ace.js} +0 -0
- /package/build/{ChevronDown-f2527430.js → ChevronDown-12315638.js} +0 -0
- /package/build/{Close-ef4b1716.js → Close-276f1a35.js} +0 -0
- /package/build/{Google-f20ad22b.js → Google-22cc11d8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-1d7cca19.js → HEAD CIRCUM_BOYS.percentile.monthly-682f4c07.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-1542d286.js → HEAD CIRCUM_BOYS.percentile.weekly-bbe76d67.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-4ab15188.js → HEAD CIRCUM_BOYS.percentile.yearly-867c2e2a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dc0bc286.js → HEAD CIRCUM_BOYS.zscore.monthly-88b7eb71.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5e68eea2.js → HEAD CIRCUM_BOYS.zscore.weekly-72ae16ca.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-669a03fd.js → HEAD CIRCUM_BOYS.zscore.yearly-c952ee8e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e45b8879.js → HEAD CIRCUM_GIRLS.percentile.monthly-c5f06cbe.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-43070b5b.js → HEAD CIRCUM_GIRLS.percentile.weekly-209e4e2d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c91e86b4.js → HEAD CIRCUM_GIRLS.percentile.yearly-1872f7a7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-97c7c129.js → HEAD CIRCUM_GIRLS.zscore.monthly-725c9b03.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0431a3b2.js → HEAD CIRCUM_GIRLS.zscore.weekly-013cbc9a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e8a01e4a.js → HEAD CIRCUM_GIRLS.zscore.yearly-93fc3a39.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-72eabfab.js → HEIGHT_BOYS.percentile.monthly-efc81471.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-9ce690b6.js → HEIGHT_BOYS.percentile.weekly-5c2e507a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-4d1e8c2b.js → HEIGHT_BOYS.percentile.yearly-7c8a84ba.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-734247d8.js → HEIGHT_BOYS.zscore.monthly-ab7f1cc9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7d6b5aec.js → HEIGHT_BOYS.zscore.weekly-15cb0519.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f928f974.js → HEIGHT_BOYS.zscore.yearly-192df913.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1435757e.js → HEIGHT_GIRLS.percentile.monthly-bd5b5eb1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-5ffc16a4.js → HEIGHT_GIRLS.percentile.weekly-2b940335.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3e0aee62.js → HEIGHT_GIRLS.percentile.yearly-829f1225.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-41695ea8.js → HEIGHT_GIRLS.zscore.monthly-5d4c22b0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-42edf819.js → HEIGHT_GIRLS.zscore.weekly-253ef311.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-58bef90e.js → HEIGHT_GIRLS.zscore.yearly-8caf065e.js} +0 -0
- /package/build/{Locale-526b6447.js → Locale-85443fad.js} +0 -0
- /package/build/{Visible-95ebe5e8.js → Visible-d075ed27.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-387ba830.js → WEIGHT_BOYS.percentile.monthly-c2b72230.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ec1785e6.js → WEIGHT_BOYS.percentile.weekly-56c32002.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c3a56fa9.js → WEIGHT_BOYS.percentile.yearly-325c0d91.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d69db01d.js → WEIGHT_BOYS.zscore.monthly-b80573db.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-c335131a.js → WEIGHT_BOYS.zscore.weekly-0aa9f387.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0cb97ba0.js → WEIGHT_BOYS.zscore.yearly-bce3950b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0755ae14.js → WEIGHT_GIRLS.percentile.monthly-d06ff4f0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-86935282.js → WEIGHT_GIRLS.percentile.weekly-7b8a8dca.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2b537ecf.js → WEIGHT_GIRLS.percentile.yearly-15ca7f58.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f1441ca1.js → WEIGHT_GIRLS.zscore.monthly-8b2d7ec4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-acf3aae7.js → WEIGHT_GIRLS.zscore.weekly-1c1a4eff.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-9869f3d0.js → WEIGHT_GIRLS.zscore.yearly-fadcb52b.js} +0 -0
- /package/build/{animation-61d30791.js → animation-fd5132f6.js} +0 -0
- /package/build/{constants-75920640.js → constants-916599e8.js} +0 -0
- /package/build/{constants-ba3c316c.js → constants-98e5210b.js} +0 -0
- /package/build/{constants-d6245c8e.js → constants-c7453c20.js} +0 -0
- /package/build/{dataTransform-9475ed45.js → dataTransform-3dc73a76.js} +0 -0
- /package/build/{doctor-c94bce31.js → doctor-1d3bdf43.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-7fe70cc4.js → BMI_BOYS.percentile.monthly-2fe8778f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-819583af.js → BMI_BOYS.percentile.weekly-d36770b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f64e82b7.js → BMI_BOYS.percentile.yearly-589c9975.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-63b90c16.js → BMI_BOYS.zscore.monthly-09376bcc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-263388ad.js → BMI_BOYS.zscore.weekly-35ba3905.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0d53f13d.js → BMI_BOYS.zscore.yearly-c87d2049.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-00e77a37.js → BMI_GIRLS.percentile.monthly-c112c816.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-6ce488b4.js → BMI_GIRLS.percentile.weekly-30dcb93a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-cecd69e7.js → BMI_GIRLS.percentile.yearly-3229f3a3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-57f09829.js → BMI_GIRLS.zscore.monthly-72219bf9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-487c02e5.js → BMI_GIRLS.zscore.weekly-88b52051.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9644e167.js → BMI_GIRLS.zscore.yearly-6283ab87.js} +0 -0
- /package/build/esm/{ChevronDown-20c4b567.js → ChevronDown-200119e8.js} +0 -0
- /package/build/esm/{Close-bb76ead0.js → Close-0282e1de.js} +0 -0
- /package/build/esm/{Google-518b81f0.js → Google-eb5051c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-5880026b.js → HEAD CIRCUM_BOYS.percentile.monthly-96df7fec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-79586739.js → HEAD CIRCUM_BOYS.percentile.weekly-86172e95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c9b4cf57.js → HEAD CIRCUM_BOYS.percentile.yearly-2d10415c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3455fb17.js → HEAD CIRCUM_BOYS.zscore.monthly-94f4d438.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cc7d8eef.js → HEAD CIRCUM_BOYS.zscore.weekly-9e88cc16.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5d34c859.js → HEAD CIRCUM_BOYS.zscore.yearly-799bf838.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ffcf272f.js → HEAD CIRCUM_GIRLS.percentile.monthly-c1bb097e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3dca0875.js → HEAD CIRCUM_GIRLS.percentile.weekly-8a1ae7c5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fbb78fa4.js → HEAD CIRCUM_GIRLS.percentile.yearly-8a0b0561.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-b5209270.js → HEAD CIRCUM_GIRLS.zscore.monthly-e9539a4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-16466f8f.js → HEAD CIRCUM_GIRLS.zscore.weekly-c5c92ef1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-4e383b92.js → HEAD CIRCUM_GIRLS.zscore.yearly-4337afe0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2007bdac.js → HEIGHT_BOYS.percentile.monthly-4b104081.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-3bece969.js → HEIGHT_BOYS.percentile.weekly-b44eb2bb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-40741a46.js → HEIGHT_BOYS.percentile.yearly-bd7a1599.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9c4c6b8b.js → HEIGHT_BOYS.zscore.monthly-73103eee.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-5a0cc42f.js → HEIGHT_BOYS.zscore.weekly-d8902f8c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b21aa820.js → HEIGHT_BOYS.zscore.yearly-b9258fa7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e01d48d1.js → HEIGHT_GIRLS.percentile.monthly-e88dc334.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-bd509f97.js → HEIGHT_GIRLS.percentile.weekly-41237a9d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-6321658b.js → HEIGHT_GIRLS.percentile.yearly-3a33bec1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-0b40e78b.js → HEIGHT_GIRLS.zscore.monthly-d004a506.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4afec9fe.js → HEIGHT_GIRLS.zscore.weekly-0a8a22b4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c042bfcf.js → HEIGHT_GIRLS.zscore.yearly-1dbd50c7.js} +0 -0
- /package/build/esm/{Locale-1d47037e.js → Locale-5993f0ee.js} +0 -0
- /package/build/esm/{Visible-cc59d8d6.js → Visible-36aaa0b0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4e5f8b81.js → WEIGHT_BOYS.percentile.monthly-e6ac40d1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-20ca2aa7.js → WEIGHT_BOYS.percentile.weekly-703ebead.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-535df747.js → WEIGHT_BOYS.percentile.yearly-906d9815.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-26a7bb76.js → WEIGHT_BOYS.zscore.monthly-d58d8611.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cf0b698d.js → WEIGHT_BOYS.zscore.weekly-3a5d0372.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c412beae.js → WEIGHT_BOYS.zscore.yearly-f7de8333.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-16639c14.js → WEIGHT_GIRLS.percentile.monthly-231f872e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-83590849.js → WEIGHT_GIRLS.percentile.weekly-c8619e9f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f4b09138.js → WEIGHT_GIRLS.percentile.yearly-a0e39ac6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-33433481.js → WEIGHT_GIRLS.zscore.monthly-81693a74.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9b239e83.js → WEIGHT_GIRLS.zscore.weekly-0877a117.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-39a1e8b9.js → WEIGHT_GIRLS.zscore.yearly-630b6434.js} +0 -0
- /package/build/esm/{animation-8d731008.js → animation-77e413e5.js} +0 -0
- /package/build/esm/{constants-12116270.js → constants-28195c94.js} +0 -0
- /package/build/esm/{constants-a61634b6.js → constants-4e44d215.js} +0 -0
- /package/build/esm/{constants-d10c55bf.js → constants-b12b65e5.js} +0 -0
- /package/build/esm/{dataTransform-1cb98559.js → dataTransform-d43be15e.js} +0 -0
- /package/build/esm/{doctor-e1b07c49.js → doctor-10c5f2fe.js} +0 -0
- /package/build/esm/{index-31ea7e88.js → index-10ff8dee.js} +0 -0
- /package/build/esm/{index-83e3bac0.js → index-2b5e72d7.js} +0 -0
- /package/build/esm/{index-0c2f3879.js → index-30f7e9e8.js} +0 -0
- /package/build/esm/{index-db6f9e29.js → index-778a4fba.js} +0 -0
- /package/build/esm/{index-7c3ae825.js → index-8aa5e354.js} +0 -0
- /package/build/esm/{index-1631acad.js → index-cefc7adb.js} +0 -0
- /package/build/esm/{index-72fd8d69.js → index-e89aa1f3.js} +0 -0
- /package/build/esm/{index-0f29c1bf.js → index-ec60c85f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-44072036.js → localizeNumberFormat-2cd010a4.js} +0 -0
- /package/build/esm/{normalizeLink-688c6b8d.js → normalizeLink-a6d9b72a.js} +0 -0
- /package/build/esm/{number-6c73ba1c.js → number-b3eec134.js} +0 -0
- /package/build/esm/{other-68bb97c7.js → other-ebe4623b.js} +0 -0
- /package/build/esm/{paths-ea61e3a9.js → paths-2fc6e497.js} +0 -0
- /package/build/esm/{translationsContext-90c02030.js → translationsContext-e720c077.js} +0 -0
- /package/build/esm/{tslib.es6-ef20411b.js → tslib.es6-7e1b8109.js} +0 -0
- /package/build/esm/{types-33e6c1f1.js → types-fa6090f6.js} +0 -0
- /package/build/esm/{useIsInit-0c488a48.js → useIsInit-09221e44.js} +0 -0
- /package/build/esm/{useOutsideClick-db8979f8.js → useOutsideClick-55f40916.js} +0 -0
- /package/build/esm/{useScrollbarSize-9b8a8746.js → useScrollbarSize-0be63170.js} +0 -0
- /package/build/esm/{useUniqueId-6311faae.js → useUniqueId-116701ce.js} +0 -0
- /package/build/esm/{utils-b79a7ddf.js → utils-97b9160b.js} +0 -0
- /package/build/{index-b6fd2f1a.js → index-2e79b2b3.js} +0 -0
- /package/build/{index-911c3560.js → index-80b2e7bb.js} +0 -0
- /package/build/{index-d4e89903.js → index-b1607697.js} +0 -0
- /package/build/{index-cb0c337d.js → index-b6fff5b5.js} +0 -0
- /package/build/{index-0aff65c3.js → index-c19cf94b.js} +0 -0
- /package/build/{index-d567e41b.js → index-d89e652c.js} +0 -0
- /package/build/{index-8c6d303a.js → index-f12e55e0.js} +0 -0
- /package/build/{index-f204d1d5.js → index-fd821355.js} +0 -0
- /package/build/{localizeNumberFormat-daaf7929.js → localizeNumberFormat-d36ad745.js} +0 -0
- /package/build/{normalizeLink-7cfdaf02.js → normalizeLink-7362a6a1.js} +0 -0
- /package/build/{number-2480e915.js → number-99a61857.js} +0 -0
- /package/build/{other-c6692408.js → other-08aaedbd.js} +0 -0
- /package/build/{paths-56f4051f.js → paths-649aaac9.js} +0 -0
- /package/build/{translationsContext-fb9b728b.js → translationsContext-3ed8aa62.js} +0 -0
- /package/build/{tslib.es6-9342a95c.js → tslib.es6-d5bae7d3.js} +0 -0
- /package/build/{types-ef74463f.js → types-1acca9f3.js} +0 -0
- /package/build/{useIsInit-b9597e7c.js → useIsInit-fe64c2d5.js} +0 -0
- /package/build/{useOutsideClick-c3071688.js → useOutsideClick-cca567ae.js} +0 -0
- /package/build/{useScrollbarSize-9d59ff53.js → useScrollbarSize-797d863a.js} +0 -0
- /package/build/{useUniqueId-ab2c8c18.js → useUniqueId-6bdddfb7.js} +0 -0
- /package/build/{utils-48c93fc5.js → utils-895f9bde.js} +0 -0
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,354 +1,50 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
2
|
-
import React__default, { createContext,
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-7e1b8109.js';
|
|
2
|
+
import React__default, { createContext, useEffect } from 'react';
|
|
3
3
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
4
4
|
import { Close } from '@hhgtech/icons/core';
|
|
5
|
-
import { L as LogoIcon } from './logoIcon-
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
import { M as Modal } from './index-
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { f as Accordion, I as Input, P as Phone, O as OTP, g as PasswordInput, R as Radio } from './index-a1fe15fa.js';
|
|
5
|
+
import { L as LogoIcon } from './logoIcon-2520a405.js';
|
|
6
|
+
import { B as Button } from './index-30db3dcf.js';
|
|
7
|
+
import { M as Modal } from './index-34adf106.js';
|
|
8
|
+
import { Stack, Group } from '@mantine/core';
|
|
9
|
+
import { I as Input, P as Phone, O as OTP, f as PasswordInput, R as Radio } from './index-6025b4a1.js';
|
|
11
10
|
import '@mantine/dates';
|
|
12
|
-
import { L as LOCALE_SPECS, S as STATIC_PAGES } from './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import { s as showNotification } from './useMantineLocale-
|
|
16
|
-
import { T as Text } from './index-
|
|
17
|
-
import
|
|
11
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES } from './index-0f5e8d73.js';
|
|
12
|
+
import './index-10aa35c0.js';
|
|
13
|
+
import './index-2b5e72d7.js';
|
|
14
|
+
import { s as showNotification } from './useMantineLocale-f9942e9c.js';
|
|
15
|
+
import { T as Text } from './index-cf32ae56.js';
|
|
16
|
+
import './translationsContext-e720c077.js';
|
|
18
17
|
import '@mantine/hooks';
|
|
19
|
-
import './utils-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { L as LOCALE } from './Locale-
|
|
23
|
-
import './
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
import { G as Google, F as Facebook } from './Google-518b81f0.js';
|
|
27
|
-
import { Info } from '@hhgtech/icons/other';
|
|
28
|
-
import './index.styles-66045747.js';
|
|
18
|
+
import './utils-97b9160b.js';
|
|
19
|
+
import './other-ebe4623b.js';
|
|
20
|
+
import './index-01547752.js';
|
|
21
|
+
import { L as LOCALE } from './Locale-5993f0ee.js';
|
|
22
|
+
import { a as useSSOSteps, f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, b as SSOStepTypeType, d as allAvailableAreaCodes, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, e as updateUserInfo, r as resetPassword, u as useSSOV2Store, i as redirect } from './store-54f40976.js';
|
|
23
|
+
export { u as useSSOV2Store } from './store-54f40976.js';
|
|
24
|
+
import { G as Google, F as Facebook } from './Google-eb5051c0.js';
|
|
29
25
|
import styled from '@emotion/styled';
|
|
30
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
26
|
+
import { M as MAPPED_LOCALE } from './utils-77604353.js';
|
|
31
27
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
32
28
|
import { useForm, yupResolver } from '@mantine/form';
|
|
33
29
|
import * as yup from 'yup';
|
|
34
30
|
import dayjs from 'dayjs';
|
|
35
|
-
import { D as DatePicker } from './index-
|
|
36
|
-
import './index-
|
|
31
|
+
import { D as DatePicker } from './index-c41c6d7f.js';
|
|
32
|
+
import './index-6634320b.js';
|
|
33
|
+
import './index.styles-454204a5.js';
|
|
34
|
+
import '@hhgtech/icons/other';
|
|
37
35
|
import '@mantine/carousel';
|
|
38
36
|
import './miscTheme.js';
|
|
39
37
|
import 'classnames';
|
|
40
|
-
import './useUniqueId-
|
|
38
|
+
import './useUniqueId-116701ce.js';
|
|
41
39
|
import './constantsSite.js';
|
|
42
40
|
import 'date-fns/locale';
|
|
43
41
|
import './constantsRiskScreener.js';
|
|
44
42
|
import './constantsIsProduction.js';
|
|
45
43
|
import '@mantine/notifications';
|
|
46
44
|
import 'zustand';
|
|
47
|
-
import './normalizeLink-
|
|
45
|
+
import './normalizeLink-a6d9b72a.js';
|
|
48
46
|
import './miscCookieHelper.js';
|
|
49
47
|
|
|
50
|
-
const SSOStateContext = createContext({
|
|
51
|
-
locale: LOCALE.Vietnam,
|
|
52
|
-
onClose: () => false,
|
|
53
|
-
});
|
|
54
|
-
const SSOStateProvider = ({ children, locale = LOCALE.Vietnam, onClose, }) => {
|
|
55
|
-
const [openCollectInfoPopup, setOpenCollectInfoPopup] = React__default.useState(false);
|
|
56
|
-
return (React__default.createElement(SSOStateContext.Provider, { value: {
|
|
57
|
-
locale,
|
|
58
|
-
onClose,
|
|
59
|
-
openCollectInfoPopup,
|
|
60
|
-
setOpenCollectInfoPopup,
|
|
61
|
-
} }, children));
|
|
62
|
-
};
|
|
63
|
-
const useSSOState = () => {
|
|
64
|
-
return React__default.useContext(SSOStateContext);
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const BackgroundHeader$1 = () => (React__default.createElement("svg", { width: "292", height: "255", viewBox: "0 0 292 255", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: {
|
|
68
|
-
position: 'absolute',
|
|
69
|
-
top: 0,
|
|
70
|
-
left: '50%',
|
|
71
|
-
zIndex: 0,
|
|
72
|
-
transform: 'translateX(-50%)',
|
|
73
|
-
pointerEvents: 'none',
|
|
74
|
-
} },
|
|
75
|
-
React__default.createElement("circle", { opacity: ".2", cx: "146", cy: "109", r: "146", fill: "url(#paint0_linear_908_34610)" }),
|
|
76
|
-
React__default.createElement("circle", { opacity: ".3", cx: "146", cy: "109", r: "85", fill: "url(#paint1_linear_908_34610)" }),
|
|
77
|
-
React__default.createElement("circle", { cx: "146.5", cy: "108.5", r: "47.5", fill: "url(#paint2_linear_908_34610)" }),
|
|
78
|
-
React__default.createElement("circle", { cx: "146.5", cy: "108.5", r: "47", stroke: "url(#paint3_linear_908_34610)" }),
|
|
79
|
-
React__default.createElement("path", { d: "M163.327 94.716c-.522-3.187-7.981-5.714-17.11-5.714s-16.589 2.527-17.111 5.714h-.032v26.428h.032c.522 3.186 7.982 5.714 17.111 5.714 9.128 0 16.588-2.528 17.11-5.714h.032V94.716z", fill: "#545E73" }),
|
|
80
|
-
React__default.createElement("path", { d: "M146.217 118.286c-9.468 0-17.143-2.718-17.143-6.071v8.928h.032c.522 3.187 7.982 5.714 17.111 5.714 9.128 0 16.588-2.527 17.11-5.714h.032v-8.928c0 3.353-7.675 6.071-17.142 6.071", fill: "#2B62CD" }),
|
|
81
|
-
React__default.createElement("path", { d: "M129.074 111.859v.358q.002-.18.032-.358zm34.25 0q.031.178.032.358v-.358z", fill: "#38454F" }),
|
|
82
|
-
React__default.createElement("path", { d: "M146.217 109.714c-9.468 0-17.143-2.719-17.143-6.071v8.928h.032c.522 3.186 7.982 5.714 17.111 5.714 9.128 0 16.588-2.528 17.11-5.714h.032v-8.928c0 3.352-7.675 6.071-17.142 6.071", fill: "#2D87F3" }),
|
|
83
|
-
React__default.createElement("path", { d: "M129.074 103.287v.357q.002-.18.032-.357zm34.25 0q.031.178.032.357v-.357z", fill: "#556080" }),
|
|
84
|
-
React__default.createElement("path", { d: "M146.217 101.145c9.467 0 17.142-2.719 17.142-6.072s-7.675-6.071-17.142-6.071c-9.468 0-17.143 2.718-17.143 6.071s7.675 6.072 17.143 6.072", fill: "#91CAFF" }),
|
|
85
|
-
React__default.createElement("path", { d: "M146.217 101.144c-9.468 0-17.143-2.719-17.143-6.072v8.929h.032c.522 3.186 7.982 5.714 17.111 5.714 9.128 0 16.588-2.528 17.11-5.714h.032v-8.929c0 3.353-7.675 6.072-17.142 6.072", fill: "#45A4FF" }),
|
|
86
|
-
React__default.createElement("path", { d: "M129.074 94.717v.357q.002-.18.032-.357zm34.25 0q.031.177.032.357v-.357z", fill: "#8697CB" }),
|
|
87
|
-
React__default.createElement("path", { d: "M156.36 129.002a8.57 8.57 0 0 0 8.571-8.571 8.571 8.571 0 1 0-8.571 8.571", fill: "#00B16A" }),
|
|
88
|
-
React__default.createElement("path", { d: "M161.054 116.273a.714.714 0 0 0-.995.178l-3.997 5.743-2.82-2.316a.714.714 0 0 0-.906 1.105l3.418 2.806a.72.72 0 0 0 1.04-.144l4.438-6.377a.716.716 0 0 0-.178-.995", fill: "#fff" }),
|
|
89
|
-
React__default.createElement("defs", null,
|
|
90
|
-
React__default.createElement("linearGradient", { id: "paint0_linear_908_34610", x1: "147.5", y1: "141", x2: "36.5", y2: "30", gradientUnits: "userSpaceOnUse" },
|
|
91
|
-
React__default.createElement("stop", { stopColor: "#fff", stopOpacity: "0" }),
|
|
92
|
-
React__default.createElement("stop", { offset: "1", stopColor: "#fff" })),
|
|
93
|
-
React__default.createElement("linearGradient", { id: "paint1_linear_908_34610", x1: "218.376", y1: "63.134", x2: "61", y2: "109", gradientUnits: "userSpaceOnUse" },
|
|
94
|
-
React__default.createElement("stop", { stopColor: "#fff" }),
|
|
95
|
-
React__default.createElement("stop", { offset: "1", stopColor: "#fff", stopOpacity: "0" })),
|
|
96
|
-
React__default.createElement("linearGradient", { id: "paint2_linear_908_34610", x1: "146.5", y1: "61", x2: "146.5", y2: "156", gradientUnits: "userSpaceOnUse" },
|
|
97
|
-
React__default.createElement("stop", { stopColor: "#fff", stopOpacity: ".6" }),
|
|
98
|
-
React__default.createElement("stop", { offset: "1", stopColor: "#fff", stopOpacity: "0" })),
|
|
99
|
-
React__default.createElement("linearGradient", { id: "paint3_linear_908_34610", x1: "178.979", y1: "98.35", x2: "108.338", y2: "98.35", gradientUnits: "userSpaceOnUse" },
|
|
100
|
-
React__default.createElement("stop", { stopColor: "#fff", stopOpacity: "0" }),
|
|
101
|
-
React__default.createElement("stop", { offset: "1", stopColor: "#fff" })))));
|
|
102
|
-
|
|
103
|
-
const CustomerSupportIcon = () => {
|
|
104
|
-
return (React__default.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
105
|
-
React__default.createElement("g", { clipPath: "url(#clip0_911_24123)" },
|
|
106
|
-
React__default.createElement("path", { d: "M23.3 16.625c-.042-1.1.166-4.401.166-4.401.073-.27.15-.594.205-.854C25.33 3.783 20.246.75 16 .75c-1.133 0-2.488.413-3.13 1.203a.82.82 0 0 1-.503.307c-2.862.46-4.742 4.183-4.062 8.77q.087.586.23 1.19v.002c.183 1.009.231 3.303.165 4.403-.271 4.482-5.173 8.453-1.985 11.608 8.41 1.974 10.202 2.142 18.57 0 3.187-3.155-1.81-7.122-1.985-11.608", fill: "#9B4E4E" }),
|
|
107
|
-
React__default.createElement("path", { d: "M24.675 14.972a3.2 3.2 0 0 0-.64-.718.25.25 0 1 0-.302.399q.308.261.53.6a1.41 1.41 0 0 1 .177 1.562c-.465.892-1.84 1.63-3.614 2.043q.139.221.264.451c1.85-.457 3.275-1.267 3.794-2.263a1.89 1.89 0 0 0-.21-2.074", fill: "#473049" }),
|
|
108
|
-
React__default.createElement("path", { d: "M18.545 22.798c-.35.41-2.09 4.555-2.535 5.29-.448-.735-2.198-4.89-2.545-5.3.351-.358.597-.808.707-1.297q.096-.405.115-.82c.365.137 3.063.134 3.428-.003v.003q.018.4.11.79c.107.505.357.969.72 1.337", fill: "#FF977B" }),
|
|
109
|
-
React__default.createElement("path", { d: "M17.824 21.46a3.39 3.39 0 0 1-3.652.03q.095-.404.115-.82c.365.138 3.062.135 3.427-.002v.003q.018.4.11.79", fill: "#FF7364" }),
|
|
110
|
-
React__default.createElement("path", { d: "M25.284 28.233c.153.66-.362 1.082-1.08 1.472-.917.5-3.717 1.55-8.205 1.55s-7.287-1.05-8.205-1.55c-.717-.39-1.232-.812-1.08-1.472.048-.187.126-.365.233-.525.535-.84 1.567-2.198 4.2-3.598q.335-.174.692-.33c.075 1.013 2.985.21 2.985.21a.96.96 0 0 1 .57.835c.038.888.168 2.528.615 3.263.445-.735.575-2.375.613-3.263a.96.96 0 0 1 .57-.835s2.907.81 2.985-.202q.347.151.675.322c2.632 1.4 3.665 2.758 4.2 3.598.107.16.185.338.232.525", fill: "#F9E0B4" }),
|
|
111
|
-
React__default.createElement("path", { d: "M22.317 12.023c.359-.006.715.05 1.055.165.785.282 1.33.962 1.2 2.3-.105 1.1-.647 1.752-1.317 2.03-.461.188-.97.217-1.45.085.277-.97.555-3.88.512-4.58m-12.124 4.579a2.26 2.26 0 0 1-1.448-.082c-.672-.28-1.215-.93-1.322-2.033-.123-1.287.375-1.965 1.112-2.265a3 3 0 0 1 1.145-.2c-.042.7.235 3.61.513 4.58", fill: "#4B3956" }),
|
|
112
|
-
React__default.createElement("path", { d: "M22.319 12.021c.04.7-.235 3.61-.513 4.581-.285.996-1.532 3.582-5.285 4.418a2.4 2.4 0 0 1-1.044 0c-3.752-.836-5-3.422-5.284-4.418-.278-.97-.554-3.88-.513-4.58 1.219-.669.668-2.955 1.56-5.057.556-1.307 1.305-1.644 1.722-1.727a.9.9 0 0 0 .533-.338c1.6-2.056 4.794-.95 5.966 1.225 1.066 1.977 1.225 4.918 2.858 5.896", fill: "#FFB497" }),
|
|
113
|
-
React__default.createElement("path", { d: "M20.13 23.118c.067.217.083.446.048.67-.077 1.012-.52 2.735-1.227 2.542-1.018-.277-1.758-2.34-1.758-2.34.518-.23 1.003-.782 1.353-1.192q.068-.086.132-.16a.463.463 0 0 1 .625-.103c.295.153.683.345.828.583m-5.306.872s-.74 2.063-1.758 2.34c-.71.193-1.152-1.537-1.227-2.55a1.5 1.5 0 0 1 .047-.662c.145-.238.533-.43.828-.583a.463.463 0 0 1 .625.103l.125.15c.347.41.837.972 1.36 1.202", fill: "#F7F0DF" }),
|
|
114
|
-
React__default.createElement("path", { d: "M14.94 16.018a.306.306 0 0 0-.3.385 1.414 1.414 0 0 0 2.72 0 .307.307 0 0 0-.3-.385z", fill: "#fff" }),
|
|
115
|
-
React__default.createElement("path", { d: "M12.776 11.492h-.05a.676.676 0 0 0-.675.676v.541c0 .374.302.676.676.676h.049a.676.676 0 0 0 .676-.676v-.54a.676.676 0 0 0-.676-.677m6.448 1.893h.05a.676.676 0 0 0 .675-.676v-.541a.676.676 0 0 0-.676-.676h-.049a.676.676 0 0 0-.676.675v.542c0 .373.303.676.676.676", fill: "#9B4E4E" }),
|
|
116
|
-
React__default.createElement("path", { d: "M16.017 29.117h-.034a.47.47 0 0 0-.471.472v.034c0 .26.21.471.471.471h.034c.26 0 .472-.21.472-.471v-.034a.47.47 0 0 0-.472-.472", fill: "#fff" }),
|
|
117
|
-
React__default.createElement("path", { d: "M16.003 15.2c-.008 0-.69-.01-.69-.402a.25.25 0 0 1 .455-.142 1 1 0 0 0 .235.044.8.8 0 0 0 .229-.044.25.25 0 0 1 .456.142c0 .391-.679.402-.685.402", fill: "#FF7364" }),
|
|
118
|
-
React__default.createElement("path", { d: "M11.532 12.095a.25.25 0 0 1-.225-.36 1.62 1.62 0 0 1 1.338-.752c.396-.017.782.124 1.075.39a.25.25 0 1 1-.333.374 1 1 0 0 0-.742-.264 1.14 1.14 0 0 0-.888.473.25.25 0 0 1-.225.14m-.451-1.716a.25.25 0 0 1-.175-.43c.606-.587 2.632-.888 3.235-.48a.25.25 0 0 1-.281.415c-.37-.253-2.149-.02-2.606.425a.25.25 0 0 1-.173.07m9.387 1.715a.25.25 0 0 1-.226-.14 1.14 1.14 0 0 0-.887-.472 1 1 0 0 0-.742.264.25.25 0 1 1-.332-.373c.293-.267.68-.408 1.075-.391a1.62 1.62 0 0 1 1.337.752.25.25 0 0 1-.225.36m.452-1.715a.25.25 0 0 1-.174-.07c-.457-.444-2.235-.677-2.605-.426a.25.25 0 0 1-.281-.414c.603-.408 2.628-.108 3.234.48a.25.25 0 0 1-.175.43zm2.71 1.175c-.135-.78-.492-2.643-2.005-5.64-.06-.125-.092-.258.005-.355a.254.254 0 0 1 .355.005c.795.817 1.67 2.882 1.9 4.565zM10.163 6.313c-.015.025-1.525 2.925-1.83 4.89l-.028-.173q-.1-.658-.127-1.322C8.54 7.94 9.673 6.16 9.73 6.063a.25.25 0 0 1 .34-.093.25.25 0 0 1 .093.343", fill: "#844040" }),
|
|
119
|
-
React__default.createElement("path", { d: "M23.29 17.917c-1.345.813-3.559 1.331-5.908 1.3a.254.254 0 0 0-.253.247.25.25 0 0 0 .246.253l.23.002c2.522 0 4.831-.603 6.2-1.543a23 23 0 0 1-.516-.259", fill: "#473049" }),
|
|
120
|
-
React__default.createElement("path", { d: "M16.138 20.42c.686 0 1.241-.426 1.241-.952s-.555-.952-1.241-.952-1.242.426-1.242.952.556.952 1.242.952", fill: "#4B3956" })),
|
|
121
|
-
React__default.createElement("defs", null,
|
|
122
|
-
React__default.createElement("clipPath", { id: "clip0_911_24123" },
|
|
123
|
-
React__default.createElement("path", { fill: "#fff", d: "M0 0h32v32H0z" })))));
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
const HealthUpdateIcon = () => {
|
|
127
|
-
return (React__default.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
128
|
-
React__default.createElement("path", { d: "M20.69 3.066 4.714 5.456a1.714 1.714 0 0 0-1.442 1.95l3.01 20.106a1.714 1.714 0 0 0 1.948 1.442l15.975-2.39a1.714 1.714 0 0 0 1.441-1.95L22.638 4.507a1.714 1.714 0 0 0-1.949-1.441", fill: "#1B89E5" }),
|
|
129
|
-
React__default.createElement("path", { d: "m4.488 5.49 16.427-2.458 3.13 20.914-16.427 2.458z", fill: "#fff" }),
|
|
130
|
-
React__default.createElement("path", { d: "m13.559 8.067-.567.084a.83.83 0 0 0-.696.942l.02.141a.18.18 0 0 1-.15.203l-.14.021a.83.83 0 0 0-.697.942l.085.568a.83.83 0 0 0 .942.696l.141-.021a.18.18 0 0 1 .203.15l.022.14a.83.83 0 0 0 .942.697l.566-.085a.83.83 0 0 0 .697-.941l-.021-.142a.18.18 0 0 1 .15-.203l.141-.021a.83.83 0 0 0 .697-.943l-.085-.565a.83.83 0 0 0-.942-.697l-.142.022a.18.18 0 0 1-.203-.15l-.02-.142a.83.83 0 0 0-.943-.696m6.553 5.392-9.31 1.393a.32.32 0 0 0 .094.634l9.31-1.393a.32.32 0 1 0-.095-.634m.299 2.303L8.74 17.508a.32.32 0 0 0 .096.634l11.67-1.746a.32.32 0 0 0-.096-.634m-.591 2.436L9.039 19.81a.32.32 0 1 0 .095.634l10.78-1.613a.32.32 0 0 0-.095-.634m-1.084 2.51-9.397 1.406a.32.32 0 0 0 .095.634l9.397-1.407a.32.32 0 1 0-.095-.633m2.318-.347-.828.124a.32.32 0 0 0 .095.634l.828-.124a.32.32 0 0 0-.095-.634", fill: "#78C5EF" }),
|
|
131
|
-
React__default.createElement("path", { d: "m27.358 4.303-.805-.273a1.26 1.26 0 0 0-1.596.789l-4.406 13.013.494 2.544a.442.442 0 0 0 .728.246l1.937-1.72 2.61-7.71.224.075a.583.583 0 0 0 .739-.365l1.357-4.007a2.045 2.045 0 0 0-1.282-2.592", fill: "#36B1F2" }),
|
|
132
|
-
React__default.createElement("path", { d: "M26.32 11.443a.25.25 0 0 1-.236-.33l1.614-4.768a.25.25 0 1 1 .474.16l-1.615 4.768a.25.25 0 0 1-.237.17", fill: "#1B89E5" }),
|
|
133
|
-
React__default.createElement("path", { d: "M17.67 5.535 8.324 6.934a1.15 1.15 0 0 1-1.307-.967l-.098-.654a.44.44 0 0 1 .368-.497l10.754-1.61a.437.437 0 0 1 .498.368l.097.654a1.15 1.15 0 0 1-.967 1.307z", fill: "#3C3854" })));
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
const PersonalizeIcon = () => {
|
|
137
|
-
return (React__default.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
138
|
-
React__default.createElement("path", { d: "M31.364 22.343a5 5 0 0 0-1.713-1.477c-.847-.488-1.52-.816-1.638-1.931h-1.761c-.12 1.115-.797 1.443-1.644 1.931a5 5 0 0 0-1.712 1.477c-.33.438-.095.709.331.936.723.386 2.4.827 3.903.827 1.502 0 3.18-.441 3.902-.827.426-.227.662-.498.332-.936", fill: "#F78181" }),
|
|
139
|
-
React__default.createElement("path", { d: "M21.765 14c-.006-3.907-4.11-7.388-7.666-4.77a.4.4 0 0 1-.129.065c-.958.303-1.65 1.213-2.108 2.305-1.408 3.347.2 7.77-.291 11.538h9.938c-.185-2.536.26-6.777.256-9.138", fill: "#FF6671" }),
|
|
140
|
-
React__default.createElement("path", { d: "M5.354 9.745c-3.033 0-5.268 3.012-4.76 6.07.424 2.568 3.008 2.747 3.008 2.747l3.5-.003s2.586-.175 3.012-2.743c.507-3.06-1.728-6.07-4.76-6.07", fill: "#3A417C" }),
|
|
141
|
-
React__default.createElement("path", { d: "M9.073 22.755c-.688.367-2.288.79-3.72.79s-3.03-.423-3.72-.79c-.408-.218-.63-.475-.318-.893.43-.588.99-1.07 1.635-1.407.205-.118.393-.203.563-.283h.002c.503-.235.843-.415.928-1.207h1.822c.085.797.428.975.935 1.21.17.08.355.165.558.28.644.339 1.202.82 1.632 1.407.315.418.09.675-.317.893", fill: "#BF6666" }),
|
|
142
|
-
React__default.createElement("path", { d: "M31.332 22.342a5.04 5.04 0 0 0-1.712-1.477 9 9 0 0 1-.815-.498 3.43 3.43 0 0 1-3.373-.005c-.245.178-.547.325-.855.503a5 5 0 0 0-1.712 1.477c-.33.44-.095.71.33.938.722.385 2.4.827 3.902.827s3.18-.442 3.903-.827c.427-.228.662-.498.332-.938", fill: "#3A417C" }),
|
|
143
|
-
React__default.createElement("path", { d: "M28.232 9.496c-1.05-.28-3.25-.14-3.708 1.205a.46.46 0 0 1-.18.24c-1.035.682-1.353 1.643-.862 3.845h7.298c.738-4.148-1.278-4.95-2.548-5.29", fill: "#FFB45A" }),
|
|
144
|
-
React__default.createElement("path", { d: "M8.402 14.623a.51.51 0 0 1 .229.432 5.9 5.9 0 0 1-.278 1.793c-.262.697-.942 1.882-2.245 2.152a4 4 0 0 1-.757.09 4 4 0 0 1-.76-.09c-1.303-.27-1.98-1.455-2.243-2.152a5.9 5.9 0 0 1-.278-1.793.51.51 0 0 1 .229-.432c.99-.668 2.339-.862 3.052-.86.71-.002 2.06.192 3.051.86", fill: "#CE7A7A" }),
|
|
145
|
-
React__default.createElement("path", { d: "M30.781 14.786a1.2 1.2 0 0 0-.469-.053.45.45 0 0 1-.225-.04c-.956-.438-.852-1.208-.955-1.723-.407-2.036-2.745-1.94-3.408-1.24a.36.36 0 0 1-.19.11c-.87.175-1.371 1.948-1.469 2.68a.24.24 0 0 1-.232.209q-.18 0-.35.057c-.448.157-.572.675-.392 1.157a1.03 1.03 0 0 0 .948.725.255.255 0 0 1 .267.175 3.31 3.31 0 0 0 1.945 2.092 2.13 2.13 0 0 0 1.762 0 3.3 3.3 0 0 0 1.945-2.092.254.254 0 0 1 .267-.175 1.03 1.03 0 0 0 .947-.725c.181-.482.056-1-.391-1.157m-9.271 8.351a5.9 5.9 0 0 0-2.012-1.734c-.995-.573-1.723-.494-1.863-1.803l-2.213-.01c-.14 1.31-.844 1.24-1.839 1.814a5.9 5.9 0 0 0-2.011 1.734c-.388.515-.112.833.389 1.1.849.453 2.82.972 4.584.972s3.726-.519 4.575-.972c.5-.268.777-.586.39-1.1", fill: "#FF9797" }),
|
|
146
|
-
React__default.createElement("path", { d: "M21.51 23.137a5.9 5.9 0 0 0-2.012-1.734c-.995-.573-1.723-.494-1.863-1.803l-2.213-.01c-.14 1.31-.844 1.24-1.839 1.814a5.9 5.9 0 0 0-2.011 1.734c-.388.515-.112.833.389 1.1.849.453 2.82.972 4.584.972s3.726-.519 4.575-.972c.5-.268.777-.586.39-1.1", fill: "#FF9797" }),
|
|
147
|
-
React__default.createElement("path", { d: "M18.682 13.703a3.32 3.32 0 0 1 1.206 3.398 3.63 3.63 0 0 1-2.229 2.489 3.5 3.5 0 0 1-1.118.213 3.5 3.5 0 0 1-1.12-.213 3.63 3.63 0 0 1-2.228-2.49 8.5 8.5 0 0 1-.284-2.55c.137-2.045.975-3.52 2.095-3.245a.25.25 0 0 0 .182-.023c1.377-.755 1.672 1.03 3.496 2.421", fill: "#FFAEAE" }),
|
|
148
|
-
React__default.createElement("path", { d: "M21.12 24.238c-.85.452-2.81.972-4.575.972s-3.735-.52-4.585-.972c-.5-.268-.777-.585-.387-1.1a5.65 5.65 0 0 1 1.735-1.573 6.03 6.03 0 0 0 3.232.788 6.1 6.1 0 0 0 3.253-.775 5.7 5.7 0 0 1 1.717 1.56c.388.515.11.832-.39 1.1", fill: "#5C8EFF" }),
|
|
149
|
-
React__default.createElement("path", { d: "M9.073 22.755c-.688.368-2.288.79-3.72.79s-3.03-.422-3.72-.79c-.408-.217-.63-.475-.318-.892.43-.588.99-1.07 1.635-1.408.205-.117.393-.202.563-.282h.002c.557.318 1.192.47 1.833.44a3.47 3.47 0 0 0 1.852-.438c.17.08.355.165.558.28a4.8 4.8 0 0 1 1.632 1.408c.315.417.09.675-.317.892", fill: "#4856B5" })));
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
const SecurityIcon = () => {
|
|
153
|
-
return (React__default.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
154
|
-
React__default.createElement("path", { d: "M16 29.625c1.196 0 2.348-.639 3.327-1.31 5.423-3.715 6.606-5.558 6.995-6.163.436-.68 1.533-2.23 2.73-12.356.33-2.804-1.143-5.19-3.893-6.066a31.65 31.65 0 0 0-18.319 0c-2.75.874-4.222 3.262-3.892 6.067 1.196 10.125 2.293 11.674 2.73 12.355.388.605 1.572 2.448 6.994 6.163.98.671 2.13 1.31 3.328 1.31", fill: "#9DBA22" }),
|
|
155
|
-
React__default.createElement("path", { d: "M25.142 7.18c-2.902-1.307-6.095-1.645-9.143-1.645s-6.241.338-9.143 1.645c-.7.316-1.115.77-1.04 1.365.382 3.052 1.583 11.235 2.192 12.128 1.21 1.777 5.533 4.67 7.267 5.788a1.37 1.37 0 0 0 1.448 0c1.733-1.119 6.056-4.011 7.267-5.788.609-.893 1.81-9.075 2.193-12.128.074-.595-.34-1.049-1.041-1.365", fill: "#BFDF46" }),
|
|
156
|
-
React__default.createElement("path", { d: "M15.798 19.264c-1.522-.418-2.486-1.494-2.992-3.333a9.2 9.2 0 0 1-.177-4.156c.109-.644.715-1.192 1.434-.802q1.159.616 2.377 1.102c2.909 1.205 3.817 4.07 2.732 5.783-.578.912-1.922 1.806-3.375 1.406", fill: "#fff" }),
|
|
157
|
-
React__default.createElement("path", { d: "M20.667 20.13a.3.3 0 0 1-.095-.015c-2.152-.684-4.24-2.662-4.838-4.08a.313.313 0 0 1 .508-.35q.045.045.067.106c.461 1.092 2.311 3.048 4.451 3.728a.313.313 0 0 1-.094.61", fill: "#9DBA22" })));
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
const ServiceIcon = () => {
|
|
161
|
-
return (React__default.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
162
|
-
React__default.createElement("g", { clipPath: "url(#clip0_911_3434)" },
|
|
163
|
-
React__default.createElement("path", { d: "M30.466 17.553c.714-.548.988-1.39.611-1.881s-1.261-.444-1.975.104c-.714.549-.988 1.391-.611 1.882s1.261.444 1.975-.105", fill: "#563960" }),
|
|
164
|
-
React__default.createElement("path", { d: "M30.122 7.72a2.2 2.2 0 0 1-.438.37 2.355 2.355 0 0 1-2.787-3.79l.022-.017a2.356 2.356 0 0 1 3.203 3.437", fill: "#E8E2E2" }),
|
|
165
|
-
React__default.createElement("path", { d: "M16.474 3.996c-.544-.568-1.058-1.45-1.082-2.29l-1.395.7a1.394 1.394 0 1 0 1.247 2.491l1.159-.583.259-.14a3 3 0 0 1-.188-.178", fill: "#E5395E" }),
|
|
166
|
-
React__default.createElement("path", { d: "M18.934 2.175a1.39 1.39 0 0 1-.77 1.246l-1.472.738-.256.138a2.52 2.52 0 0 1-1.189-1.331 2 2 0 0 1-.042-1.165l.353-.191 1.358-.68a1.392 1.392 0 0 1 2.018 1.245", fill: "#F9AF2B" }),
|
|
167
|
-
React__default.createElement("path", { d: "M5.507 6.695c-.407.705-1.475.86-2.425.362L2.975 7a3 3 0 0 1-.358-.248c.005-.012 1.05-.635 1.355-1.157.258-.44.25-1.335.268-1.38q.136.058.265.132.132.078.257.168c.795.585 1.128 1.515.745 2.18", fill: "#F44A52" }),
|
|
168
|
-
React__default.createElement("path", { d: "M4.343 5.848a2.9 2.9 0 0 1-1.285 1.197L2.976 7a2.6 2.6 0 0 1-.398-.28c-.692-.587-.965-1.442-.605-2.067.378-.655 1.323-.833 2.215-.463a3 3 0 0 1 .51.28c.029.485-.095.967-.355 1.378", fill: "#E8E2E2" }),
|
|
169
|
-
React__default.createElement("path", { d: "M1.87 17.24a1.12 1.12 0 1 0 0-2.24 1.12 1.12 0 0 0 0 2.24", fill: "#F9AF2B" }),
|
|
170
|
-
React__default.createElement("path", { d: "M30.123 7.72a2.2 2.2 0 0 1-.437.37c0-1.013-1.5-3.058-3.153-3.418q.162-.206.365-.372l.023-.018c1.65.45 3.052 2.16 3.202 3.438", fill: "#C3C7C9" }),
|
|
171
|
-
React__default.createElement("path", { d: "M25.295 17.4v9.637c0 2.13-1.745 3.225-3.855 3.518-2.707.375-8.128.375-10.835 0-2.11-.29-3.855-1.387-3.855-3.517v-9.637a3.86 3.86 0 0 1 1.354-2.93c.229-.194.412-.436.537-.71h14.767c.12.275.303.518.534.71q.16.135.303.29a3.85 3.85 0 0 1 1.05 2.64", fill: "#1B89E5" }),
|
|
172
|
-
React__default.createElement("path", { d: "M16.568 17.151h-1.093a1.58 1.58 0 0 0-1.58 1.58v.272a.34.34 0 0 1-.34.34h-.272a1.58 1.58 0 0 0-1.58 1.58v1.095a1.58 1.58 0 0 0 1.58 1.58h.272a.34.34 0 0 1 .34.34v.272a1.58 1.58 0 0 0 1.58 1.58h1.093a1.58 1.58 0 0 0 1.58-1.58v-.273a.34.34 0 0 1 .34-.34h.274a1.58 1.58 0 0 0 1.58-1.58v-1.092a1.58 1.58 0 0 0-1.58-1.58h-.273a.34.34 0 0 1-.341-.34v-.274a1.58 1.58 0 0 0-1.58-1.58", fill: "#fff" }),
|
|
173
|
-
React__default.createElement("path", { d: "M24.137 13.762H7.907a.47.47 0 0 1-.471-.47v-2.7a2.583 2.583 0 0 1 2.552-2.554c3.017-.1 9.05-.1 12.067 0a2.583 2.583 0 0 1 2.553 2.552v2.7a.473.473 0 0 1-.471.472", fill: "#E8E2E2" })),
|
|
174
|
-
React__default.createElement("defs", null,
|
|
175
|
-
React__default.createElement("clipPath", { id: "clip0_911_3434" },
|
|
176
|
-
React__default.createElement("path", { fill: "#fff", d: "M0 0h32v32H0z" })))));
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
180
|
-
const getContents = (t) => {
|
|
181
|
-
return [
|
|
182
|
-
{
|
|
183
|
-
label: 'Personalized Experience',
|
|
184
|
-
description: 'Your name, gender, and date of birth help us provide tailored health advice and personalized care plans that fit your unique needs.',
|
|
185
|
-
icon: React__default.createElement(PersonalizeIcon, null),
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
label: 'Timely Health Updates',
|
|
189
|
-
description: 'We use your phone number and email to send important notifications, health reminders, and updates on new content to keep you informed.',
|
|
190
|
-
icon: React__default.createElement(HealthUpdateIcon, null),
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
label: 'Enhanced Security',
|
|
194
|
-
description: 'We use your phone number and email to send important notifications, health reminders, and updates on new content to keep you informed.',
|
|
195
|
-
icon: React__default.createElement(SecurityIcon, null),
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
label: 'Quick Customer Support',
|
|
199
|
-
description: 'We use your phone number and email to send important notifications, health reminders, and updates on new content to keep you informed.',
|
|
200
|
-
icon: React__default.createElement(CustomerSupportIcon, null),
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
label: 'Service Improvement',
|
|
204
|
-
description: 'We use your phone number and email to send important notifications, health reminders, and updates on new content to keep you informed.',
|
|
205
|
-
icon: React__default.createElement(ServiceIcon, null),
|
|
206
|
-
},
|
|
207
|
-
];
|
|
208
|
-
};
|
|
209
|
-
const CollectInfoTextPopup = () => {
|
|
210
|
-
const { openCollectInfoPopup, setOpenCollectInfoPopup } = useSSOState();
|
|
211
|
-
useTranslations();
|
|
212
|
-
const contents = getContents();
|
|
213
|
-
const [mobileDragOffset, setMobileDragOffset] = useState(0);
|
|
214
|
-
const dragStartYRef = useRef(0);
|
|
215
|
-
const mobileDragOffsetRef = useRef(mobileDragOffset);
|
|
216
|
-
mobileDragOffsetRef.current = mobileDragOffset;
|
|
217
|
-
const throttleSetMobileDragOffset = useMemo(() => {
|
|
218
|
-
return throttle(setMobileDragOffset, 70);
|
|
219
|
-
}, []);
|
|
220
|
-
useEffect(() => {
|
|
221
|
-
if (openCollectInfoPopup) {
|
|
222
|
-
setMobileDragOffset(0);
|
|
223
|
-
}
|
|
224
|
-
}, [openCollectInfoPopup]);
|
|
225
|
-
return (React__default.createElement(React__default.Fragment, null,
|
|
226
|
-
React__default.createElement("style", { key: mobileDragOffset }, `
|
|
227
|
-
.collect-info-text-popup .mantine-Modal-inner {
|
|
228
|
-
transform: translateY(${Math.round(mobileDragOffset)}px);
|
|
229
|
-
}
|
|
230
|
-
`),
|
|
231
|
-
React__default.createElement(Modal, { opened: openCollectInfoPopup, onClose: () => setOpenCollectInfoPopup(false), withCloseButton: false, zIndex: 400, styles: (theme) => ({
|
|
232
|
-
body: {
|
|
233
|
-
padding: '32px 24px',
|
|
234
|
-
position: 'relative',
|
|
235
|
-
background: 'linear-gradient(180deg, #91CAFF 0%, #CFE8FF 100px, #FFFFFF 200px)',
|
|
236
|
-
[theme.fn.smallerThan('sm')]: {
|
|
237
|
-
height: '100%',
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
content: {
|
|
241
|
-
[theme.fn.smallerThan('sm')]: {
|
|
242
|
-
width: '100%',
|
|
243
|
-
height: '100%',
|
|
244
|
-
borderBottomLeftRadius: 0,
|
|
245
|
-
borderBottomRightRadius: 0,
|
|
246
|
-
maxWidth: '100%',
|
|
247
|
-
maxHeight: '100%',
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
inner: {
|
|
251
|
-
[theme.fn.smallerThan('sm')]: {
|
|
252
|
-
padding: 0,
|
|
253
|
-
left: 0,
|
|
254
|
-
right: 0,
|
|
255
|
-
top: 120,
|
|
256
|
-
// transform: `translateY(${Math.round(mobileDragOffset)}px)`,
|
|
257
|
-
display: 'block',
|
|
258
|
-
transition: 'transform 70ms',
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
}), className: "collect-info-text-popup" },
|
|
262
|
-
React__default.createElement(Box, { sx: (theme) => ({
|
|
263
|
-
[theme.fn.largerThan('sm')]: {
|
|
264
|
-
display: 'none',
|
|
265
|
-
},
|
|
266
|
-
padding: 8,
|
|
267
|
-
width: '100%',
|
|
268
|
-
cursor: 'grab',
|
|
269
|
-
display: 'flex',
|
|
270
|
-
justifyContent: 'center',
|
|
271
|
-
position: 'absolute',
|
|
272
|
-
top: 0,
|
|
273
|
-
left: 0,
|
|
274
|
-
}), draggable: true, onDrag: (e) => {
|
|
275
|
-
if (e.clientY <= 5)
|
|
276
|
-
return;
|
|
277
|
-
throttleSetMobileDragOffset(e.clientY - dragStartYRef.current);
|
|
278
|
-
}, onDragStart: (e) => {
|
|
279
|
-
dragStartYRef.current = e.clientY;
|
|
280
|
-
}, onDragEnd: (e) => {
|
|
281
|
-
if (e.clientY - dragStartYRef.current > 100) {
|
|
282
|
-
setMobileDragOffset(window.innerHeight);
|
|
283
|
-
setTimeout(() => {
|
|
284
|
-
setOpenCollectInfoPopup(false);
|
|
285
|
-
}, 100);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
throttleSetMobileDragOffset(0);
|
|
289
|
-
}
|
|
290
|
-
}, onTouchStart: (e) => {
|
|
291
|
-
dragStartYRef.current = e.touches[0].clientY;
|
|
292
|
-
}, onTouchMove: (e) => {
|
|
293
|
-
if (e.touches[0].clientY < 0)
|
|
294
|
-
return;
|
|
295
|
-
throttleSetMobileDragOffset(e.touches[0].clientY - dragStartYRef.current);
|
|
296
|
-
}, onTouchEnd: (e) => {
|
|
297
|
-
if (e.changedTouches[0].clientY - dragStartYRef.current > 100) {
|
|
298
|
-
setMobileDragOffset(window.innerHeight);
|
|
299
|
-
setTimeout(() => {
|
|
300
|
-
setOpenCollectInfoPopup(false);
|
|
301
|
-
}, 100);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
throttleSetMobileDragOffset(0);
|
|
305
|
-
}
|
|
306
|
-
} },
|
|
307
|
-
React__default.createElement(Box, { sx: {
|
|
308
|
-
border: '1.5px solid #ADB3BC',
|
|
309
|
-
background: 'gray',
|
|
310
|
-
borderRadius: 3,
|
|
311
|
-
width: 44,
|
|
312
|
-
} })),
|
|
313
|
-
React__default.createElement("div", { style: {
|
|
314
|
-
height: 40,
|
|
315
|
-
} },
|
|
316
|
-
React__default.createElement(Button, { variant: "white", sx: (theme) => ({
|
|
317
|
-
width: 40,
|
|
318
|
-
height: 40,
|
|
319
|
-
padding: 8,
|
|
320
|
-
background: 'white',
|
|
321
|
-
borderRadius: '100%',
|
|
322
|
-
[theme.fn.smallerThan('sm')]: {
|
|
323
|
-
display: 'none',
|
|
324
|
-
},
|
|
325
|
-
}), onClick: () => setOpenCollectInfoPopup(false) },
|
|
326
|
-
React__default.createElement(ChevronLeft, null))),
|
|
327
|
-
React__default.createElement(BackgroundHeader$1, null),
|
|
328
|
-
React__default.createElement(Stack, { pos: "relative", mt: 100, spacing: 8, style: {
|
|
329
|
-
zIndex: 1,
|
|
330
|
-
} },
|
|
331
|
-
React__default.createElement(Text, { size: "h4" }, "Why We Need Your Information"),
|
|
332
|
-
React__default.createElement(Accordion, { styles: {
|
|
333
|
-
item: {
|
|
334
|
-
borderBottomColor: '#E4E8EC',
|
|
335
|
-
paddingBottom: 16,
|
|
336
|
-
marginTop: 16,
|
|
337
|
-
},
|
|
338
|
-
control: {
|
|
339
|
-
padding: 0,
|
|
340
|
-
},
|
|
341
|
-
content: {
|
|
342
|
-
padding: 0,
|
|
343
|
-
marginTop: 8,
|
|
344
|
-
},
|
|
345
|
-
} }, contents.map((item, index) => (React__default.createElement(Accordion.Item, { key: index, value: item.label },
|
|
346
|
-
React__default.createElement(Accordion.Control, { icon: item.icon },
|
|
347
|
-
React__default.createElement(Text, { size: "s3", weight: "semiBold" }, item.label)),
|
|
348
|
-
React__default.createElement(Accordion.Panel, null,
|
|
349
|
-
React__default.createElement(Text, { size: "p3" }, item.description))))))))));
|
|
350
|
-
};
|
|
351
|
-
|
|
352
48
|
const ConfirmClosePopup = ({ opened, onCancel, onClose, }) => {
|
|
353
49
|
return (React__default.createElement(Modal, { opened: opened, onClose: () => onCancel(), withCloseButton: false, zIndex: 400, styles: (theme) => ({
|
|
354
50
|
body: {
|
|
@@ -423,6 +119,23 @@ const BackgroundHeader = () => (React__default.createElement("svg", { width: "29
|
|
|
423
119
|
React__default.createElement("stop", { stopColor: "#fff", stopOpacity: "0" }),
|
|
424
120
|
React__default.createElement("stop", { offset: "1", stopColor: "#fff" })))));
|
|
425
121
|
|
|
122
|
+
const SSOStateContext = createContext({
|
|
123
|
+
locale: LOCALE.Vietnam,
|
|
124
|
+
onClose: () => false,
|
|
125
|
+
});
|
|
126
|
+
const SSOStateProvider = ({ children, locale = LOCALE.Vietnam, onClose, }) => {
|
|
127
|
+
const [openCollectInfoPopup, setOpenCollectInfoPopup] = React__default.useState(false);
|
|
128
|
+
return (React__default.createElement(SSOStateContext.Provider, { value: {
|
|
129
|
+
locale,
|
|
130
|
+
onClose,
|
|
131
|
+
openCollectInfoPopup,
|
|
132
|
+
setOpenCollectInfoPopup,
|
|
133
|
+
} }, children));
|
|
134
|
+
};
|
|
135
|
+
const useSSOState = () => {
|
|
136
|
+
return React__default.useContext(SSOStateContext);
|
|
137
|
+
};
|
|
138
|
+
|
|
426
139
|
const SSOPopupWrapper = ({ children, opened, onClose, }) => {
|
|
427
140
|
var _a;
|
|
428
141
|
const { steps, goBack } = useSSOSteps();
|
|
@@ -496,8 +209,7 @@ const SSOPopupWrapper = ({ children, opened, onClose, }) => {
|
|
|
496
209
|
React__default.createElement(ConfirmClosePopup, { opened: closeConfirmOpen, onCancel: () => setCloseConfirmOpen(false), onClose: () => {
|
|
497
210
|
setCloseConfirmOpen(false);
|
|
498
211
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
499
|
-
} })
|
|
500
|
-
React__default.createElement(CollectInfoTextPopup, null)));
|
|
212
|
+
} })));
|
|
501
213
|
};
|
|
502
214
|
|
|
503
215
|
const loginByEmailPassword = (email, password) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -777,20 +489,6 @@ const verifyUpdatePhoneZaloOTP = (phone, areaCode, otpCode) => __awaiter(void 0,
|
|
|
777
489
|
});
|
|
778
490
|
});
|
|
779
491
|
|
|
780
|
-
const CollectInfoText = () => {
|
|
781
|
-
const { setOpenCollectInfoPopup } = useSSOState();
|
|
782
|
-
return (React__default.createElement(Text, { size: "p4", onClick: () => {
|
|
783
|
-
setOpenCollectInfoPopup(true);
|
|
784
|
-
}, color: "blue.6", style: {
|
|
785
|
-
cursor: 'pointer',
|
|
786
|
-
} },
|
|
787
|
-
React__default.createElement(Info, { size: 16, color: '#2D87F3', style: {
|
|
788
|
-
verticalAlign: 'sub',
|
|
789
|
-
} }),
|
|
790
|
-
' ',
|
|
791
|
-
"Why We Need Your Information?"));
|
|
792
|
-
};
|
|
793
|
-
|
|
794
492
|
const MailIcon = (props) => (React__default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
795
493
|
React__default.createElement("g", { clipPath: "url(#clip0_869_25628)" },
|
|
796
494
|
React__default.createElement("rect", { width: "24", height: "24", rx: "12", fill: "#00B16A" }),
|
|
@@ -1100,7 +798,6 @@ const SSOFirstScreen = ({ hidden }) => {
|
|
|
1100
798
|
marginTop: 'auto',
|
|
1101
799
|
},
|
|
1102
800
|
}) },
|
|
1103
|
-
React__default.createElement(CollectInfoText, null),
|
|
1104
801
|
React__default.createElement(Text, { size: "p5", color: "gray.6" },
|
|
1105
802
|
"By tapping continue, I confirm that I have read, understand and agree to the",
|
|
1106
803
|
' ',
|
|
@@ -1655,7 +1352,6 @@ const SSOPasswordForgotSetup = ({ hidden }) => {
|
|
|
1655
1352
|
React__default.createElement(Text, { size: "s1", weight: "semiBold" }, "Setup your password"),
|
|
1656
1353
|
React__default.createElement(Text, { size: "p4" }, "Set up your login password and other details to complete the registration process.")),
|
|
1657
1354
|
React__default.createElement(SSOPasswordWithConfirm, { form: form }),
|
|
1658
|
-
React__default.createElement(CollectInfoText, null),
|
|
1659
1355
|
React__default.createElement(Button, { type: "submit", size: "lg", variant: "primary", fullWidth: true }, "Save"))));
|
|
1660
1356
|
};
|
|
1661
1357
|
|
|
@@ -1737,8 +1433,7 @@ const SSOPhoneVerify = ({ hidden, index, }) => {
|
|
|
1737
1433
|
React__default.createElement(Input.Wrapper, { error: errMsg },
|
|
1738
1434
|
React__default.createElement(StyledPhone, { defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), value: phone, onChange: (value) => setPhone(value), isError: !!errMsg, required: true, name: "phone" })),
|
|
1739
1435
|
React__default.createElement(Button, { size: "lg", variant: "primary", onClick: onClickContinueZalo }, "Continue with Zalo"),
|
|
1740
|
-
React__default.createElement(Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone }, "Continue with SMS"))
|
|
1741
|
-
React__default.createElement(CollectInfoText, null))));
|
|
1436
|
+
React__default.createElement(Button, { size: "lg", variant: "secondary", onClick: onClickContinuePhone }, "Continue with SMS")))));
|
|
1742
1437
|
};
|
|
1743
1438
|
|
|
1744
1439
|
const FemaleIcon = () => (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -2014,7 +1709,6 @@ const SSOSetupScreen = ({ hidden, index, }) => {
|
|
|
2014
1709
|
React__default.createElement(Text, { size: "p4" }, "Please provide additional information to complete the account registration process.")),
|
|
2015
1710
|
needPass && React__default.createElement(SSOPasswordWithConfirm, { form: form }),
|
|
2016
1711
|
React__default.createElement(OtherSetup, { needPhone: needPhone, needEmail: needEmail, isEmailDisable: isEmailDisable, form: form }),
|
|
2017
|
-
React__default.createElement(CollectInfoText, null),
|
|
2018
1712
|
errMsg && (React__default.createElement(Text, { color: "red.6", size: "p4" }, errMsg)),
|
|
2019
1713
|
React__default.createElement(Button, { type: "submit", variant: "primary", fullWidth: true }, needPhone
|
|
2020
1714
|
? 'Verify Phone Number'
|
|
@@ -2118,8 +1812,10 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
2118
1812
|
overrideClose();
|
|
2119
1813
|
return;
|
|
2120
1814
|
}
|
|
2121
|
-
redirect(returnUrl, source);
|
|
2122
1815
|
setOpen(false);
|
|
1816
|
+
if (success) {
|
|
1817
|
+
redirect(returnUrl, source);
|
|
1818
|
+
}
|
|
2123
1819
|
onCloseProps === null || onCloseProps === void 0 ? void 0 : onCloseProps();
|
|
2124
1820
|
});
|
|
2125
1821
|
return (React__default.createElement(SSOStateProvider, { onClose: onClose, locale: locale },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-7e1b8109.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
3
|
import { isProduction } from './constantsIsProduction.js';
|
|
4
|
-
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
4
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-a6d9b72a.js';
|
|
5
5
|
import { setCookie, getCookie } from './miscCookieHelper.js';
|
|
6
|
-
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, c as BEARER_TOKEN_COOKIE$1 } from './index-
|
|
6
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, c as BEARER_TOKEN_COOKIE$1 } from './index-0f5e8d73.js';
|
|
7
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
8
8
|
|
|
9
9
|
var SSOStepTypeType;
|
package/build/esm/subot.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { d as basePath, G as GA_TOKEN_COOKIE, g as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, e as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-10aa35c0.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-7e1b8109.js';
|
|
4
|
+
import { d as basePath, G as GA_TOKEN_COOKIE, g as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, e as SSO_URL } from './index-0f5e8d73.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
|
-
import { G as GlobalData, c as callApi, s as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, s as locale, T as TogetherComponentGlobalContext } from './utils-6101a92d.js';
|
|
9
9
|
import formatString from 'string-format';
|
|
10
|
-
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, s as ssoIntents, i as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, i as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, s as ssoIntents } from './index-
|
|
10
|
+
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, T as TIME_RESET_RESEND_OTP, s as ssoIntents, i as getHhgIdFromCookie } from './index-1a24d081.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, i as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, s as ssoIntents } from './index-1a24d081.js';
|
|
12
12
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-e89aa1f3.js';
|
|
15
|
+
import { L as Loading } from './index-8842f7d3.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-97b9160b.js';
|
|
19
|
+
import { B as Button } from './index-30db3dcf.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-2b5e72d7.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
27
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-b12b65e5.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-cf32ae56.js';
|
|
30
30
|
import { theme } from './miscTheme.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
|
-
import { S as Select } from './index-
|
|
32
|
+
import { S as Select } from './index-6025b4a1.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-f9942e9c.js';
|
|
35
|
+
import './index.styles-454204a5.js';
|
|
36
|
+
import './translationsContext-e720c077.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-ebe4623b.js';
|
|
39
|
+
import './index-01547752.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
43
43
|
import { LoadScript } from '@react-google-maps/api';
|
|
44
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
44
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-812f1136.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { D as DatePicker } from './index-
|
|
48
|
-
import { D as Dropdown } from './index-
|
|
49
|
-
import { B as Button$1 } from './index-
|
|
50
|
-
import { u as useSSOV2Store } from './store-
|
|
46
|
+
import { L as LOCALE } from './Locale-5993f0ee.js';
|
|
47
|
+
import { D as DatePicker } from './index-ec60c85f.js';
|
|
48
|
+
import { D as Dropdown } from './index-8aa5e354.js';
|
|
49
|
+
import { B as Button$1 } from './index-2f52a995.js';
|
|
50
|
+
import { u as useSSOV2Store } from './store-54f40976.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-10ff8dee.js';
|
|
55
55
|
import './miscCookieHelper.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import './togetherApiPaths.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './WhatsApp-
|
|
60
|
-
import './Spinner-
|
|
61
|
-
import './index-
|
|
58
|
+
import './index-98bfde75.js';
|
|
59
|
+
import './WhatsApp-7907f0ff.js';
|
|
60
|
+
import './Spinner-35d5f45f.js';
|
|
61
|
+
import './index-1a955565.js';
|
|
62
62
|
import '@mantine/carousel';
|
|
63
|
-
import './index-
|
|
64
|
-
import './useUniqueId-
|
|
63
|
+
import './index-6634320b.js';
|
|
64
|
+
import './useUniqueId-116701ce.js';
|
|
65
65
|
import '@hhgtech/icons/core';
|
|
66
66
|
import '@mantine/notifications';
|
|
67
67
|
import 'date-fns';
|
|
68
68
|
import 'react-day-picker/DayPickerInput';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
70
|
+
import './normalizeLink-a6d9b72a.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|