@hhgtech/hhg-components 1.29.374 → 1.29.375-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-8b579da2.js → InputDate-20926325.js} +3 -3
- package/build/{LastPeriod-64e1601a.js → LastPeriod-51fd8dbe.js} +1 -1
- package/build/{Locale-72dce976.js → Locale-8ad13864.js} +1 -0
- package/build/{MobileBottomNavigationIcon-d51ca59a.js → MobileBottomNavigationIcon-a0a94f1d.js} +3 -3
- package/build/{Spinner-883e6f71.js → Spinner-0497cae7.js} +1 -1
- package/build/{WhatsApp-52413156.js → WhatsApp-0e3e2817.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- 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/atoms/logo/index.d.ts +1 -1
- package/build/components/mantine/phone/index.d.ts +2 -0
- package/build/components/mantine/phoneInput/PhoneInput.d.ts +17 -0
- package/build/components/mantine/phoneInput/index.d.ts +1 -0
- package/build/components.js +97 -96
- package/build/{constants-171f25c7.js → constants-0c329810.js} +1 -0
- package/build/{constants-4fc45016.js → constants-cd5a73f8.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +3 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-49c30866.js → core-047019ba.js} +1 -1
- package/build/{dataTransform-9fcb6f21.js → dataTransform-f3eb573f.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-f38876f9.js → editor-93875927.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/{InputDate-86cf8a56.js → InputDate-cb433d87.js} +3 -3
- package/build/esm/{LastPeriod-f7751d88.js → LastPeriod-e4189fa8.js} +1 -1
- package/build/esm/{Locale-3430abbb.js → Locale-100fdeac.js} +1 -0
- package/build/esm/{MobileBottomNavigationIcon-9c8475b0.js → MobileBottomNavigationIcon-f45959d0.js} +3 -3
- package/build/esm/{Spinner-926cb3b3.js → Spinner-c1b37824.js} +1 -1
- package/build/esm/{WhatsApp-e29f71ae.js → WhatsApp-694d812e.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- 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/atoms/logo/index.d.ts +1 -1
- package/build/esm/components/mantine/phone/index.d.ts +2 -0
- package/build/esm/components/mantine/phoneInput/PhoneInput.d.ts +17 -0
- package/build/esm/components/mantine/phoneInput/index.d.ts +1 -0
- package/build/esm/components.js +97 -96
- package/build/esm/{constants-030b17c7.js → constants-875acddc.js} +1 -1
- package/build/esm/{constants-8772c2b0.js → constants-bdee8ee2.js} +1 -0
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +3 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-55455f88.js → core-53be81d9.js} +1 -1
- package/build/esm/{dataTransform-a7848bdc.js → dataTransform-0b64a127.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-377b7f2b.js → editor-382b94f1.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/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-6ff083fc.js → healthTools-e1a6ef1e.js} +1 -1
- 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-values/zh-CN.js +855 -0
- package/build/esm/i18n.js +14 -55
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-130576cd.js → index-02d42621.js} +16 -16
- package/build/esm/{index-9d456ced.js → index-02f47b31.js} +13 -13
- package/build/esm/{index-5131dc4f.js → index-0c58a126.js} +3 -3
- package/build/esm/{index-f410871a.js → index-0d1f9a50.js} +1 -1
- package/build/esm/{index-8885ef87.js → index-0e78532d.js} +6 -6
- package/build/esm/{index-0ab75d88.js → index-1c8b6280.js} +5 -5
- package/build/esm/{index-395867d1.js → index-1e3c6089.js} +1 -1
- package/build/esm/{index-e401fea0.js → index-294036ac.js} +1 -1
- package/build/esm/{index-8b71f3d7.js → index-2b4b6af2.js} +17 -17
- package/build/esm/{index-9a682965.js → index-2b893c79.js} +1 -1
- package/build/esm/{index-782b32b4.js → index-341d2f3b.js} +3 -3
- package/build/esm/{index-7f3a0d51.js → index-3842de95.js} +13 -13
- package/build/esm/{index-4cc74b63.js → index-39b43b9e.js} +32 -32
- package/build/esm/{index-8e302f71.js → index-3f4943bc.js} +1 -1
- package/build/esm/{index-f4607daa.js → index-3fbaa18d.js} +2 -2
- package/build/esm/{index-5d7077d8.js → index-41290d4b.js} +2 -2
- package/build/esm/{index-5024511e.js → index-415966ff.js} +2 -2
- package/build/esm/{index-8c227289.js → index-43f087d8.js} +32 -32
- package/build/esm/{index-fd64f3e1.js → index-45e85a8c.js} +18 -18
- package/build/esm/{index-33c4c7ba.js → index-4e75b39f.js} +13 -13
- package/build/esm/{index-82254ae8.js → index-501608d0.js} +25 -25
- package/build/esm/{index-9688c45f.js → index-5192d2d0.js} +7 -7
- package/build/esm/{index-e93b1f65.js → index-547896ee.js} +36 -27
- package/build/esm/{index-17e36457.js → index-5579e38e.js} +8 -8
- package/build/esm/{index-cd820271.js → index-5b533ca3.js} +4 -4
- package/build/esm/{index-4c29da01.js → index-6500ae67.js} +6 -6
- package/build/esm/{index-d25199d4.js → index-650a49cd.js} +1 -1
- package/build/esm/{index-adf83539.js → index-6872bac6.js} +21 -21
- package/build/esm/{index-8bc9ae7d.js → index-6a2f5018.js} +2 -2
- package/build/esm/{index-7911d60e.js → index-784cfa7f.js} +2 -2
- package/build/esm/{index-f9d0d6be.js → index-7a8a5be4.js} +6 -6
- package/build/esm/index-7b052b20.js +183 -0
- package/build/esm/{index-7f79d78c.js → index-7d8800af.js} +2 -2
- package/build/esm/{index-2f124f3f.js → index-82388c38.js} +6 -6
- package/build/esm/{index-bfafe3e9.js → index-82b32d0e.js} +17 -17
- package/build/esm/{index-3784dc8c.js → index-84a54d97.js} +17 -17
- package/build/esm/{index-94da713d.js → index-84dc26fd.js} +17 -17
- package/build/esm/{index-22f111d6.js → index-86937bce.js} +3 -3
- package/build/esm/{index-5e9df0aa.js → index-876a9add.js} +2 -2
- package/build/esm/{index-32060de3.js → index-892b0b9b.js} +16 -16
- package/build/esm/{index-7f0089a7.js → index-8c6ab6db.js} +3 -3
- package/build/esm/{index-5ff6b134.js → index-909c59e1.js} +2 -2
- package/build/esm/{index-9506572a.js → index-93b74def.js} +10 -10
- package/build/esm/{index-c315fa6b.js → index-96518dbc.js} +2 -2
- package/build/esm/{index-e1c1652c.js → index-970fd008.js} +3 -3
- package/build/esm/{index-edae0b9e.js → index-a0cf14b5.js} +2 -2
- package/build/esm/{index-44df64aa.js → index-a2959147.js} +2 -2
- package/build/esm/{index-cb2ab6ff.js → index-a5439b1f.js} +2 -2
- package/build/esm/{index-35c4c26f.js → index-ab4a3bf8.js} +40 -3
- package/build/esm/{index-0f5789ca.js → index-abd48358.js} +16 -16
- package/build/esm/{index-4f84ba27.js → index-afb4a537.js} +18 -18
- package/build/esm/{index-f437d7d3.js → index-b65d442e.js} +22 -22
- package/build/esm/{index-109382ee.js → index-b6c3d59e.js} +1 -1
- package/build/esm/{index-7b524555.js → index-bcbf4377.js} +6 -6
- package/build/esm/{index-aa92750f.js → index-cac726a1.js} +7 -7
- package/build/esm/{index-4bd46b7f.js → index-d1f4bf2b.js} +2 -2
- package/build/esm/{index-7287f2a0.js → index-d4c04671.js} +5 -5
- package/build/esm/{index-6ab5e856.js → index-dd5350a4.js} +1 -1
- package/build/esm/{index-4dbdcc4c.js → index-df556ccd.js} +24 -24
- package/build/esm/{index-c22c8c9f.js → index-ebcdc410.js} +15 -15
- package/build/esm/{index-f5a27fa1.js → index-ec463e2e.js} +13 -13
- package/build/esm/{index-528169fe.js → index-ed86669b.js} +16 -16
- package/build/esm/{index-36da89a1.js → index-edc96538.js} +1 -1
- package/build/esm/{index-bae2d2e9.js → index-f2eff1ea.js} +31 -31
- package/build/esm/{index-06d394fc.js → index-fc8946f6.js} +3 -3
- package/build/esm/index.js +118 -117
- package/build/esm/interfaces/constants/domainLocales.d.ts +2 -0
- package/build/esm/interfaces/constants/index.d.ts +1 -1
- package/build/esm/interfaces/types/Locale.d.ts +2 -1
- package/build/esm/interfaces/types/index.d.ts +2 -1
- package/build/esm/{labelSorting-ad695303.js → labelSorting-ea5f093e.js} +4 -4
- package/build/esm/lead/LeadGen.type.d.ts +34 -0
- package/build/esm/lead/LeadGenForm/LeadGenForm.d.ts +41 -0
- package/build/esm/lead/LeadGenForm/LeadGenForm.helpers.d.ts +2 -0
- package/build/esm/lead/LeadGenForm/LeadGenForm.styled.d.ts +5 -0
- package/build/esm/lead/LeadGenForm/LeadGenFormPhone.d.ts +17 -0
- package/build/esm/lead/LeadGenForm/LeadGenThankYou.d.ts +20 -0
- package/build/esm/lead/LeadGenForm/index.d.ts +3 -0
- package/build/esm/lead/LeadGenForm/textField/index.d.ts +13 -0
- package/build/esm/lead/LeadGenForm/textField/index.styled.d.ts +11 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +66 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBox.d.ts +4 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBox.styled.d.ts +21 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxA.d.ts +3 -0
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContainer.d.ts +24 -0
- package/build/esm/lead/LeadGenSubscriptionBox/index.d.ts +1 -0
- package/build/esm/lead/LeadGenTranslationContext.d.ts +6 -0
- package/build/esm/lead/helpers.d.ts +56 -1
- package/build/esm/lead/index.d.ts +2 -1
- package/build/esm/lead/services/index.d.ts +21 -0
- package/build/esm/lead/store/index.d.ts +1 -0
- package/build/esm/lead.js +2409 -1232
- package/build/esm/{logoIcon-3352527f.js → logoIcon-bc9a0a3b.js} +8 -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 +74 -73
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -45
- 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 +50 -49
- package/build/esm/{post-062dce48.js → post-564356b1.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/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +53 -40
- package/build/esm/{store-0f9ab222.js → store-67ecda4a.js} +6 -183
- package/build/esm/subot.js +36 -35
- package/build/esm/surveyOrPremiumBanner.js +33 -32
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-ba3a0601.js → surveyThankyouCard-bf7ecb4e.js} +5 -5
- package/build/esm/together.js +56 -55
- 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 +51 -50
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -38
- package/build/esm/togetherOrganisms.js +50 -49
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/translationsProvider-0d1b782f.js +55 -0
- package/build/esm/{treePopoverMenu-a6f7cfd7.js → treePopoverMenu-caee92ec.js} +19 -19
- package/build/esm/{types-2e97f020.js → types-72e9785a.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a57e6557.js → useCategory-228ee512.js} +18 -5
- package/build/esm/{useHealthToolCache-50ac5d7d.js → useHealthToolCache-f6f38a54.js} +1 -1
- package/build/esm/{useMantineLocale-ee478730.js → useMantineLocale-1f75dde1.js} +8 -6
- package/build/esm/{usePlacesAutocomplete-119a12f3.js → usePlacesAutocomplete-214eb8ef.js} +1 -1
- package/build/esm/{useScreenSize-241e66fa.js → useScreenSize-e743e40e.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -9
- package/build/esm/{utils-5c250b28.js → utils-3e7eec95.js} +3 -3
- package/build/esm/{utils-84d5275f.js → utils-7d3a93fd.js} +2 -2
- package/build/esm/{utils-02789711.js → utils-88d6ad8f.js} +2 -2
- package/build/esm/{utils-d81142cf.js → utils-c3f5e7e1.js} +5 -4
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-257131be.js → healthTools-bfe1daf9.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n-values/zh-CN.js +866 -0
- package/build/i18n.js +16 -56
- package/build/i18nV2.js +1 -1
- package/build/{index-d86255ae.js → index-00084392.js} +7 -7
- package/build/{index-78dac42f.js → index-027c8e83.js} +36 -27
- package/build/{index-8298c7c0.js → index-04f13410.js} +2 -2
- package/build/{index-e0b64996.js → index-12826402.js} +16 -16
- package/build/{index-b99eceae.js → index-198d5b63.js} +1 -1
- package/build/{index-4c99f21d.js → index-1a12b233.js} +3 -3
- package/build/{index-1ac4d980.js → index-1df65119.js} +1 -1
- package/build/{index-41529ab9.js → index-213caca9.js} +3 -3
- package/build/{index-9164c2ee.js → index-214cf40a.js} +3 -3
- package/build/{index-815de854.js → index-2428e5a1.js} +32 -32
- package/build/{index-d0fc83cb.js → index-24d43979.js} +10 -10
- package/build/{index-f8156707.js → index-281768ff.js} +6 -6
- package/build/{index-8e6eaed0.js → index-29f1fb01.js} +22 -22
- package/build/{index-31c0299e.js → index-2d59b16f.js} +6 -6
- package/build/{index-2edc6f4f.js → index-300d6b51.js} +2 -2
- package/build/{index-e25c397c.js → index-3177db87.js} +3 -3
- package/build/{index-e0986c73.js → index-33ec0fe8.js} +13 -13
- package/build/{index-809fab5e.js → index-37454604.js} +2 -2
- package/build/{index-81db4a5e.js → index-37a22329.js} +2 -2
- package/build/{index-dec3d9e5.js → index-3dabf5a2.js} +18 -18
- package/build/{index-582068c8.js → index-40475f23.js} +2 -2
- package/build/{index-da1f328c.js → index-4386d767.js} +16 -16
- package/build/{index-c4266bb2.js → index-469d5c71.js} +5 -5
- package/build/{index-2fc43b51.js → index-4ddd8819.js} +16 -16
- package/build/{index-7e9b8b61.js → index-4e1609e3.js} +7 -7
- package/build/{index-bab54ae7.js → index-4fb80c7b.js} +1 -1
- package/build/{index-8b1dc163.js → index-5851c1d9.js} +16 -16
- package/build/{index-1c3321c1.js → index-5acf3129.js} +17 -17
- package/build/{index-c1e14fd6.js → index-5b63a320.js} +24 -24
- package/build/{index-e7f3329c.js → index-5e98810a.js} +31 -31
- package/build/{index-5671b247.js → index-734f15a6.js} +8 -8
- package/build/{index-a8c0fe3b.js → index-737baed2.js} +18 -18
- package/build/{index-ca0ff3c8.js → index-74e562ee.js} +13 -13
- package/build/{index-f757576d.js → index-78a563f0.js} +1 -1
- package/build/{index-d0a87c80.js → index-7a6225e4.js} +1 -1
- package/build/{index-2d635a20.js → index-80ee4b68.js} +2 -2
- package/build/{index-6f08804a.js → index-857b4c50.js} +2 -2
- package/build/{index-02e6761f.js → index-898016f9.js} +25 -25
- package/build/index-8c87abc1.js +196 -0
- package/build/{index-b043d722.js → index-8dbf70d2.js} +2 -2
- package/build/{index-23006a6f.js → index-97a8165b.js} +1 -1
- package/build/{index-c3b2d3a2.js → index-a16033c5.js} +4 -4
- package/build/{index-d5392642.js → index-aaffe3de.js} +2 -2
- package/build/{index-ff5393e0.js → index-ac1ffa0e.js} +1 -1
- package/build/{index-df8845e8.js → index-adf52869.js} +39 -2
- package/build/{index-5e7301a8.js → index-af930c80.js} +15 -15
- package/build/{index-1c320bad.js → index-b193b2ac.js} +32 -32
- package/build/{index-9e639be2.js → index-b1996baf.js} +1 -1
- package/build/{index-cc03a162.js → index-b722ae58.js} +6 -6
- package/build/{index-f30c6c68.js → index-b8c7e6e3.js} +17 -17
- package/build/{index-da4de0f3.js → index-c7bc565a.js} +13 -13
- package/build/{index-467dfe87.js → index-c7c3ef88.js} +1 -1
- package/build/{index-b3a4afc0.js → index-ccb6403f.js} +3 -3
- package/build/{index-d0da1009.js → index-cfafbf67.js} +2 -2
- package/build/{index-3484373a.js → index-d43e0af1.js} +6 -6
- package/build/{index-4026f890.js → index-ddc24215.js} +2 -2
- package/build/{index-46713f6a.js → index-de4ff5cc.js} +2 -2
- package/build/{index-aad65709.js → index-e0c49c17.js} +13 -13
- package/build/{index-bfce43a1.js → index-e6055d15.js} +17 -17
- package/build/{index-09ddce9c.js → index-e72559bd.js} +21 -21
- package/build/{index-9074450c.js → index-e7cb4126.js} +3 -3
- package/build/{index-2a96defb.js → index-effcbb0f.js} +5 -5
- package/build/{index-0186561a.js → index-f5c25137.js} +2 -2
- package/build/{index-7e3fcc69.js → index-f5ca7a8d.js} +6 -6
- package/build/{index-de274432.js → index-f84792b7.js} +17 -17
- package/build/index.js +118 -117
- package/build/interfaces/constants/domainLocales.d.ts +2 -0
- package/build/interfaces/constants/index.d.ts +1 -1
- package/build/interfaces/types/Locale.d.ts +2 -1
- package/build/interfaces/types/index.d.ts +2 -1
- package/build/{labelSorting-f5b88779.js → labelSorting-eeba8f8f.js} +4 -4
- package/build/lead/LeadGen.type.d.ts +34 -0
- package/build/lead/LeadGenForm/LeadGenForm.d.ts +41 -0
- package/build/lead/LeadGenForm/LeadGenForm.helpers.d.ts +2 -0
- package/build/lead/LeadGenForm/LeadGenForm.styled.d.ts +5 -0
- package/build/lead/LeadGenForm/LeadGenFormPhone.d.ts +17 -0
- package/build/lead/LeadGenForm/LeadGenThankYou.d.ts +20 -0
- package/build/lead/LeadGenForm/index.d.ts +3 -0
- package/build/lead/LeadGenForm/textField/index.d.ts +13 -0
- package/build/lead/LeadGenForm/textField/index.styled.d.ts +11 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +66 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBox.d.ts +4 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBox.styled.d.ts +21 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxA.d.ts +3 -0
- package/build/lead/LeadGenSubscriptionBox/LeadGenSubscriptionBoxContainer.d.ts +24 -0
- package/build/lead/LeadGenSubscriptionBox/index.d.ts +1 -0
- package/build/lead/LeadGenTranslationContext.d.ts +6 -0
- package/build/lead/helpers.d.ts +56 -1
- package/build/lead/index.d.ts +2 -1
- package/build/lead/services/index.d.ts +21 -0
- package/build/lead/store/index.d.ts +1 -0
- package/build/lead.js +2447 -1269
- package/build/{logoIcon-d87f0c7c.js → logoIcon-f1052b32.js} +8 -2
- package/build/mantine.js +22 -22
- 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 +74 -73
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -49
- package/build/{post-7ad0e276.js → post-914fed2f.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/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +130 -117
- package/build/{store-ff958ae7.js → store-1b258086.js} +8 -196
- package/build/subot.js +35 -34
- package/build/surveyOrPremiumBanner.js +33 -32
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-e8976fd5.js → surveyThankyouCard-03c28230.js} +5 -5
- package/build/together.js +56 -55
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -50
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -38
- package/build/togetherOrganisms.js +50 -49
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/translationsProvider-7f2122ba.js +62 -0
- package/build/{treePopoverMenu-11d8a3c3.js → treePopoverMenu-7c9ee6e6.js} +19 -19
- package/build/{types-da86b25c.js → types-7fbe86d7.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-8a7dc9fd.js → useCategory-f4dd8e5b.js} +18 -5
- package/build/{useHealthToolCache-0d055a47.js → useHealthToolCache-2cd5a460.js} +1 -1
- package/build/{useMantineLocale-a330a7e5.js → useMantineLocale-bda94d46.js} +8 -6
- package/build/{usePlacesAutocomplete-14098979.js → usePlacesAutocomplete-907a23f0.js} +1 -1
- package/build/{useScreenSize-2eae68ef.js → useScreenSize-ce7bda9a.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -9
- package/build/{utils-7d98be3c.js → utils-1899de95.js} +2 -2
- package/build/{utils-d104096a.js → utils-a2f21483.js} +9 -8
- package/build/{utils-c88507b9.js → utils-e42414a8.js} +2 -2
- package/build/{utils-192df9f4.js → utils-f115ca74.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +3 -3
- /package/build/{BMI_BOYS.percentile.monthly-179a50b1.js → BMI_BOYS.percentile.monthly-4c341249.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6e48af31.js → BMI_BOYS.percentile.weekly-81b78623.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-4580e832.js → BMI_BOYS.percentile.yearly-655aaee9.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b7606779.js → BMI_BOYS.zscore.monthly-6f1ac991.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-172fbecd.js → BMI_BOYS.zscore.weekly-e130784e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-34a8f9cd.js → BMI_BOYS.zscore.yearly-5e964cd9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5b16a621.js → BMI_GIRLS.percentile.monthly-0a7110ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a13bf779.js → BMI_GIRLS.percentile.weekly-d5a76196.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-13973462.js → BMI_GIRLS.percentile.yearly-57b39938.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-204e3d84.js → BMI_GIRLS.zscore.monthly-8e154e0d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6fdd2c6a.js → BMI_GIRLS.zscore.weekly-0cf719c6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1cca63a0.js → BMI_GIRLS.zscore.yearly-26148bc0.js} +0 -0
- /package/build/{ChevronDown-666ab37d.js → ChevronDown-29c47ec7.js} +0 -0
- /package/build/{Close-1b6e6466.js → Close-4eff7e72.js} +0 -0
- /package/build/{Google-255c0f1a.js → Google-60ff715c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-27b74016.js → HEAD CIRCUM_BOYS.percentile.monthly-f89a14f7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-44d2ee86.js → HEAD CIRCUM_BOYS.percentile.weekly-643e3e77.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8da7f001.js → HEAD CIRCUM_BOYS.percentile.yearly-d153f0f7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-61e5db90.js → HEAD CIRCUM_BOYS.zscore.monthly-d8a6e27e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-25d8b075.js → HEAD CIRCUM_BOYS.zscore.weekly-c776576a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-1e6e1e4e.js → HEAD CIRCUM_BOYS.zscore.yearly-d608021d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bdd4a98b.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c3747ca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c22eafb0.js → HEAD CIRCUM_GIRLS.percentile.weekly-20d7efdb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e63f3462.js → HEAD CIRCUM_GIRLS.percentile.yearly-80b10103.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ba864f1d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e41f56b6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0ab88ce6.js → HEAD CIRCUM_GIRLS.zscore.weekly-18698ce2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5f6cd980.js → HEAD CIRCUM_GIRLS.zscore.yearly-ff2e529c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-de94349f.js → HEIGHT_BOYS.percentile.monthly-b7d476b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0deb1e2e.js → HEIGHT_BOYS.percentile.weekly-3ca3aeee.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-de56c11c.js → HEIGHT_BOYS.percentile.yearly-afa9241c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2ec7ba91.js → HEIGHT_BOYS.zscore.monthly-33cf1b01.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ca549a20.js → HEIGHT_BOYS.zscore.weekly-0d28b82a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-1a550c19.js → HEIGHT_BOYS.zscore.yearly-1490b739.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-4ed4b34f.js → HEIGHT_GIRLS.percentile.monthly-a82daac8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-8e84201b.js → HEIGHT_GIRLS.percentile.weekly-ba4c7c12.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ae554a2e.js → HEIGHT_GIRLS.percentile.yearly-149b1a8c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e39acd9f.js → HEIGHT_GIRLS.zscore.monthly-e82b3511.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c1ac2f72.js → HEIGHT_GIRLS.zscore.weekly-bd712cbf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e60e8414.js → HEIGHT_GIRLS.zscore.yearly-c6d16dd1.js} +0 -0
- /package/build/{Visible-3c7c545a.js → Visible-97d0ae65.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-7907d7d8.js → WEIGHT_BOYS.percentile.monthly-78a01ef9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ffe2e09f.js → WEIGHT_BOYS.percentile.weekly-ad581b41.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5613db72.js → WEIGHT_BOYS.percentile.yearly-dea5e8fe.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-0c71e1f1.js → WEIGHT_BOYS.zscore.monthly-6e022993.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-551fbe61.js → WEIGHT_BOYS.zscore.weekly-423d084d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-faf021d6.js → WEIGHT_BOYS.zscore.yearly-f0010d58.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5e32962a.js → WEIGHT_GIRLS.percentile.monthly-486aa7a0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3bf46095.js → WEIGHT_GIRLS.percentile.weekly-702afb08.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-081bb76a.js → WEIGHT_GIRLS.percentile.yearly-27ae4f9b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-278e2e2f.js → WEIGHT_GIRLS.zscore.monthly-ee349b1d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7b2b5cb3.js → WEIGHT_GIRLS.zscore.weekly-e6dca16d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-3f573da9.js → WEIGHT_GIRLS.zscore.yearly-b704dcca.js} +0 -0
- /package/build/{animation-4a4be1d2.js → animation-8b1ea68b.js} +0 -0
- /package/build/{constants-455c1bb4.js → constants-188b108c.js} +0 -0
- /package/build/{constants-a6d2ff76.js → constants-fdd86b6a.js} +0 -0
- /package/build/{dataTransform-b60c06bb.js → dataTransform-7dfbaa1d.js} +0 -0
- /package/build/{doctor-1f6e5f33.js → doctor-03c4ddb3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-92d9c1f0.js → BMI_BOYS.percentile.monthly-134ce0a7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ee2eb412.js → BMI_BOYS.percentile.weekly-8c36c8e6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-1633c579.js → BMI_BOYS.percentile.yearly-7d764924.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-7cae8cf3.js → BMI_BOYS.zscore.monthly-e6e6acb4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-8d5a6c27.js → BMI_BOYS.zscore.weekly-5626ff35.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4385bf15.js → BMI_BOYS.zscore.yearly-28c69fdf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-39965bce.js → BMI_GIRLS.percentile.monthly-175cebb2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-04c50c49.js → BMI_GIRLS.percentile.weekly-b0c6d326.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c52eda5f.js → BMI_GIRLS.percentile.yearly-2f5777cb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c706b650.js → BMI_GIRLS.zscore.monthly-1a0f8c00.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-465b90ff.js → BMI_GIRLS.zscore.weekly-dc6907d1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-ed0e918a.js → BMI_GIRLS.zscore.yearly-f7d97963.js} +0 -0
- /package/build/esm/{ChevronDown-3f8ce34e.js → ChevronDown-791818f1.js} +0 -0
- /package/build/esm/{Close-544c792d.js → Close-709afe4d.js} +0 -0
- /package/build/esm/{Google-07add6d7.js → Google-6f70ea7f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-36488681.js → HEAD CIRCUM_BOYS.percentile.monthly-af03ff8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-23fc9978.js → HEAD CIRCUM_BOYS.percentile.weekly-51a883eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-854f13e0.js → HEAD CIRCUM_BOYS.percentile.yearly-251103a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4d4dbf90.js → HEAD CIRCUM_BOYS.zscore.monthly-453d8ce4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9f181b10.js → HEAD CIRCUM_BOYS.zscore.weekly-93e3e6a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-6e8bcb7d.js → HEAD CIRCUM_BOYS.zscore.yearly-21358492.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-bdeb8d21.js → HEAD CIRCUM_GIRLS.percentile.monthly-78f16816.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bf8d0a97.js → HEAD CIRCUM_GIRLS.percentile.weekly-f6babb53.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-230957db.js → HEAD CIRCUM_GIRLS.percentile.yearly-30dfa5c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-20e5c1d6.js → HEAD CIRCUM_GIRLS.zscore.monthly-ff2a5735.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3993abe9.js → HEAD CIRCUM_GIRLS.zscore.weekly-ca7a26a8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6891fbfc.js → HEAD CIRCUM_GIRLS.zscore.yearly-68964768.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2570d419.js → HEIGHT_BOYS.percentile.monthly-e8ae596e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-606af351.js → HEIGHT_BOYS.percentile.weekly-b52da75b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-37c2dd55.js → HEIGHT_BOYS.percentile.yearly-598fbeaa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-81178889.js → HEIGHT_BOYS.zscore.monthly-c58a8e18.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3178efa9.js → HEIGHT_BOYS.zscore.weekly-2ddecd9c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-493f4e9a.js → HEIGHT_BOYS.zscore.yearly-ece37a33.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0f1f5d53.js → HEIGHT_GIRLS.percentile.monthly-5823bad8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-02ef3a08.js → HEIGHT_GIRLS.percentile.weekly-17a2e5ba.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-46a52ffd.js → HEIGHT_GIRLS.percentile.yearly-9ae2595b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-59d32be7.js → HEIGHT_GIRLS.zscore.monthly-a98d7bc0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-934f71dc.js → HEIGHT_GIRLS.zscore.weekly-7295b313.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-eeefcd63.js → HEIGHT_GIRLS.zscore.yearly-e20eb029.js} +0 -0
- /package/build/esm/{Visible-6f57a2db.js → Visible-7c80278e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-876f2a6d.js → WEIGHT_BOYS.percentile.monthly-034de158.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-67700803.js → WEIGHT_BOYS.percentile.weekly-d7fa48b3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b2adebd1.js → WEIGHT_BOYS.percentile.yearly-a26cb2f3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-38e643db.js → WEIGHT_BOYS.zscore.monthly-07dc70be.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ed370d92.js → WEIGHT_BOYS.zscore.weekly-0152f11a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-158f3120.js → WEIGHT_BOYS.zscore.yearly-7dc3323f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-19ed2ff2.js → WEIGHT_GIRLS.percentile.monthly-72f452ce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c07ebd4a.js → WEIGHT_GIRLS.percentile.weekly-d657a0c8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d2eb7f92.js → WEIGHT_GIRLS.percentile.yearly-aced1ff4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2d39112e.js → WEIGHT_GIRLS.zscore.monthly-560dc4b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-79c13caa.js → WEIGHT_GIRLS.zscore.weekly-c2f4ba9b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-686b8120.js → WEIGHT_GIRLS.zscore.yearly-12a669b6.js} +0 -0
- /package/build/esm/{animation-f0de7fec.js → animation-2d9550bf.js} +0 -0
- /package/build/esm/{constants-67817a3e.js → constants-44282e2b.js} +0 -0
- /package/build/esm/{constants-7a94d96a.js → constants-b37d9aab.js} +0 -0
- /package/build/esm/{dataTransform-96b33da1.js → dataTransform-94579960.js} +0 -0
- /package/build/esm/{doctor-ce62bcf6.js → doctor-7a110178.js} +0 -0
- /package/build/esm/{index-50922feb.js → index-051ea88c.js} +0 -0
- /package/build/esm/{index-b814b571.js → index-27150fa7.js} +0 -0
- /package/build/esm/{index-bd1a993e.js → index-65bf95fa.js} +0 -0
- /package/build/esm/{index-2f816408.js → index-9851237f.js} +0 -0
- /package/build/esm/{index-a9b9cf40.js → index-b9e1eb78.js} +0 -0
- /package/build/esm/{index-d14b8ec2.js → index-d2212d3b.js} +0 -0
- /package/build/esm/{index-20fe498c.js → index-d2ce3850.js} +0 -0
- /package/build/esm/{index-0fcc7e05.js → index-fef5945b.js} +0 -0
- /package/build/esm/{index.styles-c9d6db26.js → index.styles-90e570fc.js} +0 -0
- /package/build/esm/{localizeNumberFormat-91191f3b.js → localizeNumberFormat-e015e68b.js} +0 -0
- /package/build/esm/{normalizeLink-6e07e5c4.js → normalizeLink-88ac1114.js} +0 -0
- /package/build/esm/{number-9e7857e2.js → number-cec527f6.js} +0 -0
- /package/build/esm/{other-7cac897b.js → other-9578648a.js} +0 -0
- /package/build/esm/{paths-eb036f12.js → paths-51ce1e3b.js} +0 -0
- /package/build/esm/{translationsContext-23b5bf84.js → translationsContext-ff52e07d.js} +0 -0
- /package/build/esm/{tslib.es6-eb6746ec.js → tslib.es6-106e94f9.js} +0 -0
- /package/build/esm/{types-1466329a.js → types-dfc04905.js} +0 -0
- /package/build/esm/{useIsInit-58c92435.js → useIsInit-61b10be8.js} +0 -0
- /package/build/esm/{useOutsideClick-d1408b13.js → useOutsideClick-037a7230.js} +0 -0
- /package/build/esm/{useScrollbarSize-af69fd45.js → useScrollbarSize-c560eaa0.js} +0 -0
- /package/build/esm/{useUniqueId-15198ead.js → useUniqueId-cdbcbe28.js} +0 -0
- /package/build/esm/{utils-770949fe.js → utils-53449c9d.js} +0 -0
- /package/build/{index-c30aae56.js → index-0fb792ac.js} +0 -0
- /package/build/{index-a471322d.js → index-3e924baa.js} +0 -0
- /package/build/{index-fae28861.js → index-46e740d6.js} +0 -0
- /package/build/{index-fce79e5f.js → index-47abef43.js} +0 -0
- /package/build/{index-a5d52534.js → index-7ee90ed7.js} +0 -0
- /package/build/{index-fd00f1ea.js → index-8211621c.js} +0 -0
- /package/build/{index-1e874626.js → index-8ae8e326.js} +0 -0
- /package/build/{index-cd4f0240.js → index-f6f53b00.js} +0 -0
- /package/build/{index.styles-f9818d05.js → index.styles-6e20a8c5.js} +0 -0
- /package/build/{localizeNumberFormat-ef732f37.js → localizeNumberFormat-c67beac0.js} +0 -0
- /package/build/{normalizeLink-65501df2.js → normalizeLink-bbc22991.js} +0 -0
- /package/build/{number-2ccfcc5f.js → number-fc9ed546.js} +0 -0
- /package/build/{other-4e4f19d4.js → other-9f8453c8.js} +0 -0
- /package/build/{paths-d2ea905c.js → paths-70a3a73e.js} +0 -0
- /package/build/{translationsContext-3ac6ece2.js → translationsContext-c26d1113.js} +0 -0
- /package/build/{tslib.es6-e879b440.js → tslib.es6-2e2a9190.js} +0 -0
- /package/build/{types-2d921d78.js → types-606ce3c2.js} +0 -0
- /package/build/{useIsInit-5cc2d405.js → useIsInit-b0a30842.js} +0 -0
- /package/build/{useOutsideClick-795cda46.js → useOutsideClick-77e9679b.js} +0 -0
- /package/build/{useScrollbarSize-9fb99eed.js → useScrollbarSize-d414c6da.js} +0 -0
- /package/build/{useUniqueId-5f42952d.js → useUniqueId-71a9e721.js} +0 -0
- /package/build/{utils-a445506a.js → utils-5a0561f4.js} +0 -0
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-106e94f9.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
|
|
3
3
|
import { getCookie, setCookie, deleteCookie } from './miscCookieHelper.js';
|
|
4
|
-
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-
|
|
5
|
-
import {
|
|
6
|
-
export { u as useSSOV2Store } from './store-0f9ab222.js';
|
|
4
|
+
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-547896ee.js';
|
|
5
|
+
import { f as fetchSSOV2Api, w as websiteId, S as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, u as updateUserInfo, r as resetPassword } from './index-7b052b20.js';
|
|
7
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
8
7
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
9
8
|
import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
|
|
10
|
-
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-
|
|
11
|
-
import { L as LogoIcon } from './logoIcon-
|
|
12
|
-
import { B as Button } from './index-
|
|
13
|
-
import { M as Modal } from './index-
|
|
9
|
+
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-ab4a3bf8.js';
|
|
10
|
+
import { L as LogoIcon } from './logoIcon-bc9a0a3b.js';
|
|
11
|
+
import { B as Button } from './index-dd5350a4.js';
|
|
12
|
+
import { M as Modal } from './index-96518dbc.js';
|
|
14
13
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
15
14
|
import '@mantine/dates';
|
|
16
|
-
import './index-
|
|
17
|
-
import { C as CommonGAssets } from './index-
|
|
18
|
-
import { s as showNotification } from './useMantineLocale-
|
|
19
|
-
import { T as Text } from './index-
|
|
20
|
-
import { u as useTranslations } from './index-
|
|
15
|
+
import './index-1e3c6089.js';
|
|
16
|
+
import { C as CommonGAssets } from './index-65bf95fa.js';
|
|
17
|
+
import { s as showNotification } from './useMantineLocale-1f75dde1.js';
|
|
18
|
+
import { T as Text } from './index-415966ff.js';
|
|
19
|
+
import { u as useTranslations } from './index-294036ac.js';
|
|
21
20
|
import '@mantine/hooks';
|
|
22
|
-
import './utils-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
25
|
-
import { L as LOCALE } from './Locale-
|
|
26
|
-
import {
|
|
27
|
-
|
|
21
|
+
import './utils-53449c9d.js';
|
|
22
|
+
import './other-9578648a.js';
|
|
23
|
+
import './index-8c6ab6db.js';
|
|
24
|
+
import { L as LOCALE } from './Locale-100fdeac.js';
|
|
25
|
+
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, b as isPhoneNotVerifedYet, c as isLoginWithPhoneNotVerifedYet, d as isFlowFinishedSetup, r as redirect } from './store-67ecda4a.js';
|
|
26
|
+
export { u as useSSOV2Store } from './store-67ecda4a.js';
|
|
27
|
+
import { I as ImageWrap, u as useScreenSize } from './useScreenSize-e743e40e.js';
|
|
28
|
+
import { G as Google, F as Facebook } from './Google-6f70ea7f.js';
|
|
28
29
|
import { parsePhoneNumber, getCountryCallingCode } from 'react-phone-number-input';
|
|
29
|
-
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-
|
|
30
|
-
export { g as getURLwithSSOTracking } from './utils-
|
|
31
|
-
import { S as Spoiler } from './index-
|
|
30
|
+
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-c3f5e7e1.js';
|
|
31
|
+
export { g as getURLwithSSOTracking } from './utils-c3f5e7e1.js';
|
|
32
|
+
import { S as Spoiler } from './index-341d2f3b.js';
|
|
32
33
|
import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
33
34
|
import styled from '@emotion/styled';
|
|
34
35
|
import cn from 'classnames';
|
|
@@ -37,26 +38,31 @@ import debounce from 'lodash/debounce';
|
|
|
37
38
|
import throttle from 'lodash/throttle';
|
|
38
39
|
import Flags from 'react-phone-number-input/flags';
|
|
39
40
|
import { Drawer } from 'vaul';
|
|
40
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
41
|
+
import { M as MAPPED_LOCALE } from './utils-7d3a93fd.js';
|
|
41
42
|
import { useForm, yupResolver } from '@mantine/form';
|
|
42
43
|
import * as yup from 'yup';
|
|
43
44
|
import dayjs from 'dayjs';
|
|
44
|
-
import { D as DatePicker } from './index-
|
|
45
|
+
import { D as DatePicker } from './index-0e78532d.js';
|
|
45
46
|
import '@mantine/carousel';
|
|
46
47
|
import './miscTheme.js';
|
|
47
|
-
import './useUniqueId-
|
|
48
|
+
import './useUniqueId-cdbcbe28.js';
|
|
48
49
|
import './constantsSite.js';
|
|
49
|
-
import '
|
|
50
|
-
import './normalizeLink-6e07e5c4.js';
|
|
50
|
+
import './normalizeLink-88ac1114.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsRiskScreener.js';
|
|
53
|
-
import './index.styles-
|
|
53
|
+
import './index.styles-90e570fc.js';
|
|
54
54
|
import '@mantine/notifications';
|
|
55
|
-
import './translationsContext-
|
|
56
|
-
import '
|
|
55
|
+
import './translationsContext-ff52e07d.js';
|
|
56
|
+
import 'zustand';
|
|
57
|
+
import './healthTools-e1a6ef1e.js';
|
|
57
58
|
|
|
58
59
|
// const fakeData = {
|
|
59
|
-
const
|
|
60
|
+
const getFeatureFlagCookieKey = (setupSource) => {
|
|
61
|
+
return setupSource === 'community'
|
|
62
|
+
? 'abTestingCommunityFlow'
|
|
63
|
+
: 'abTestingFlow';
|
|
64
|
+
};
|
|
65
|
+
const fetchFeatureFlag = (site, setupSource) => __awaiter(void 0, void 0, void 0, function* () {
|
|
60
66
|
var _a, _b;
|
|
61
67
|
let data = null;
|
|
62
68
|
try {
|
|
@@ -67,9 +73,11 @@ const fetchFeatureFlag = (site) => __awaiter(void 0, void 0, void 0, function* (
|
|
|
67
73
|
data = yield response.json();
|
|
68
74
|
}
|
|
69
75
|
catch (err) {
|
|
70
|
-
data =
|
|
76
|
+
data = {};
|
|
71
77
|
}
|
|
72
|
-
|
|
78
|
+
const flagKey = setupSource === 'community' ? 'SSO_V2_Together_flag' : 'SSO_V2_flag';
|
|
79
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
80
|
+
return (_b = (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.flags) === null || _b === void 0 ? void 0 : _b.find((o) => o.name === flagKey);
|
|
73
81
|
});
|
|
74
82
|
|
|
75
83
|
const SSOStateContext = createContext({
|
|
@@ -4541,7 +4549,7 @@ if (!String.prototype.capitalize) {
|
|
|
4541
4549
|
};
|
|
4542
4550
|
}
|
|
4543
4551
|
const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
4544
|
-
const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose, setOnCloseProp, forceReloadOnClose, setABTestFlow, } = useSSOV2Store();
|
|
4552
|
+
const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose, setOnCloseProp, forceReloadOnClose, setABTestFlow, setupSource, } = useSSOV2Store();
|
|
4545
4553
|
useEffect(() => {
|
|
4546
4554
|
setMounted(true);
|
|
4547
4555
|
return () => {
|
|
@@ -4561,8 +4569,9 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
4561
4569
|
}, [onCloseProps]);
|
|
4562
4570
|
useEffect(() => {
|
|
4563
4571
|
const site = MAP_DOMAIN_BY_LOCALE[locale];
|
|
4564
|
-
const
|
|
4565
|
-
|
|
4572
|
+
const key = getFeatureFlagCookieKey(setupSource);
|
|
4573
|
+
const previousABTestingFlow = getCookie(key);
|
|
4574
|
+
fetchFeatureFlag(site, setupSource).then((data) => {
|
|
4566
4575
|
if (data.is_enabled && isSupportProduct(data.products)) {
|
|
4567
4576
|
if (previousABTestingFlow) {
|
|
4568
4577
|
setABTestFlow(previousABTestingFlow);
|
|
@@ -4571,24 +4580,28 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
4571
4580
|
const randomBetween100Percent = Math.floor(Math.random() * 100 + 1);
|
|
4572
4581
|
const aFlow = data.a_percentage;
|
|
4573
4582
|
if (randomBetween100Percent <= aFlow) {
|
|
4574
|
-
setCookie(
|
|
4583
|
+
setCookie(key, 'A', {
|
|
4575
4584
|
days: 30,
|
|
4585
|
+
domain: '.' + site,
|
|
4586
|
+
path: '/',
|
|
4576
4587
|
});
|
|
4577
4588
|
setABTestFlow('A');
|
|
4578
4589
|
}
|
|
4579
4590
|
else {
|
|
4580
|
-
setCookie(
|
|
4591
|
+
setCookie(key, 'B', {
|
|
4581
4592
|
days: 30,
|
|
4593
|
+
domain: '.' + site,
|
|
4594
|
+
path: '/',
|
|
4582
4595
|
});
|
|
4583
4596
|
setABTestFlow('B');
|
|
4584
4597
|
}
|
|
4585
4598
|
}
|
|
4586
4599
|
}
|
|
4587
4600
|
else {
|
|
4588
|
-
deleteCookie(
|
|
4601
|
+
deleteCookie(key);
|
|
4589
4602
|
}
|
|
4590
4603
|
});
|
|
4591
|
-
}, [locale]);
|
|
4604
|
+
}, [locale, setupSource]);
|
|
4592
4605
|
if (!isOpen) {
|
|
4593
4606
|
return null;
|
|
4594
4607
|
}
|
|
@@ -1,185 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-106e94f9.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-3430abbb.js';
|
|
8
|
-
import { domainLocales } from './constantsDomainLocales.js';
|
|
9
|
-
|
|
10
|
-
const SSO_V2_PATHS = {
|
|
11
|
-
LOGIN_BY_SOCIAL: 'member/social-login',
|
|
12
|
-
EMAIL: {
|
|
13
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-email',
|
|
14
|
-
LOGIN_BY_PASSWORD: 'member/login',
|
|
15
|
-
VERIFY_BY_OTP: 'login/email-verify-code',
|
|
16
|
-
SEND_OTP: 'login/email-resend-otp-code', // FOR RESEND OTP IN CASE FAIL
|
|
17
|
-
},
|
|
18
|
-
PHONE: {
|
|
19
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-sms',
|
|
20
|
-
SEND_OTP: 'login/sms/sent-otp',
|
|
21
|
-
VERIFY_BY_OTP: 'login/phone-verify-code',
|
|
22
|
-
LOGIN_BY_PASSWORD: 'member/login-by-phone',
|
|
23
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/sent-otp',
|
|
24
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/phone-verify-code',
|
|
25
|
-
},
|
|
26
|
-
WHATSAPP: {
|
|
27
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-whatsapp',
|
|
28
|
-
SEND_OTP: 'login/whatsapp/sent-otp',
|
|
29
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/whatsapp/sent-otp',
|
|
30
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/whatsapp-verify-code',
|
|
31
|
-
VERIFY_BY_OTP: 'login/whatsapp-verify-code',
|
|
32
|
-
},
|
|
33
|
-
ZALO: {
|
|
34
|
-
REGISTER_BY_SEND_OTP: 'login/login-with-zalo',
|
|
35
|
-
SEND_OTP: 'login/zalo/sent-otp',
|
|
36
|
-
VERIFY_BY_OTP: 'login/zalo-verify-code',
|
|
37
|
-
UPDATE_PHONE_SEND_OTP: 'login/sms-social/zalo/sent-otp',
|
|
38
|
-
UPDATE_PHONE_VERIFY_OTP: 'login/sms-social/zalo-verify-code',
|
|
39
|
-
},
|
|
40
|
-
RESET_PASSWORD: 'login/reset-password',
|
|
41
|
-
CHECK_USER_EXIST: 'member/check-user-exist',
|
|
42
|
-
UPDATE_USER_INFO: 'login/update-first-info',
|
|
43
|
-
SETUP_USER_INFO: 'login/setup-first-info',
|
|
44
|
-
ECOM_CARE: {
|
|
45
|
-
SEND_OTP: 'login/ecom-care/send-email-otp-code',
|
|
46
|
-
VERIFY_OTP: 'login/ecom-care/email-verify-code',
|
|
47
|
-
RESEND_OTP: 'login/ecom-care/resend-email-otp-code',
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
const locale = process.env.NEXT_PUBLIC_DEPLOY_LOCALE || 'vi-VN';
|
|
52
|
-
const websiteId = {
|
|
53
|
-
[LOCALE.Vietnam]: '1',
|
|
54
|
-
[LOCALE.Indonesia]: '2',
|
|
55
|
-
[LOCALE.Malaysia]: '3',
|
|
56
|
-
}[locale];
|
|
57
|
-
LOCALE_SPECS[locale].PHONE;
|
|
58
|
-
const getSSOV2ApiUrl = (path) => {
|
|
59
|
-
return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/v2/${path}`);
|
|
60
|
-
};
|
|
61
|
-
const getSSOApiUrl = (path) => {
|
|
62
|
-
return normalizeLinkSlash(`${getCurrentSsoUrl(locale)}/api/${path}`);
|
|
63
|
-
};
|
|
64
|
-
const BEARER_TOKEN_COOKIE = 'hhg_user_token';
|
|
65
|
-
// NOTICE: RUN ONLY CLIENT SIDE
|
|
66
|
-
const fetchSSOV2Api = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
|
|
67
|
-
var _a;
|
|
68
|
-
let response;
|
|
69
|
-
const authToken = noAuth
|
|
70
|
-
? ''
|
|
71
|
-
: (_a = document.cookie
|
|
72
|
-
.split('; ')
|
|
73
|
-
.find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _a === void 0 ? void 0 : _a.split('=')[1];
|
|
74
|
-
try {
|
|
75
|
-
if (options.body instanceof FormData) {
|
|
76
|
-
options.body.append('ga_client_id', getCookie('_ga') || '');
|
|
77
|
-
options.body.append('referrer', window.location.href);
|
|
78
|
-
}
|
|
79
|
-
response = yield fetch(getSSOV2ApiUrl(path), authToken
|
|
80
|
-
? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
console.error(error);
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
return response === null || response === void 0 ? void 0 : response.json();
|
|
87
|
-
});
|
|
88
|
-
const fetchSSOApi = (path, options = {}, noAuth) => __awaiter(void 0, void 0, void 0, function* () {
|
|
89
|
-
var _b;
|
|
90
|
-
let response;
|
|
91
|
-
const authToken = noAuth
|
|
92
|
-
? ''
|
|
93
|
-
: (_b = document.cookie
|
|
94
|
-
.split('; ')
|
|
95
|
-
.find((row) => row.startsWith(BEARER_TOKEN_COOKIE))) === null || _b === void 0 ? void 0 : _b.split('=')[1];
|
|
96
|
-
try {
|
|
97
|
-
response = yield fetch(getSSOApiUrl(path), authToken
|
|
98
|
-
? Object.assign(Object.assign({}, options), { headers: Object.assign({ Authorization: `Bearer ${authToken}` }, options === null || options === void 0 ? void 0 : options.headers) }) : options);
|
|
99
|
-
}
|
|
100
|
-
catch (error) {
|
|
101
|
-
console.error(error);
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
return response === null || response === void 0 ? void 0 : response.json();
|
|
105
|
-
});
|
|
106
|
-
const resetPassword = (password, confirmPassword) => __awaiter(void 0, void 0, void 0, function* () {
|
|
107
|
-
const formData = new FormData();
|
|
108
|
-
formData.append('password', password);
|
|
109
|
-
formData.append('confirm-password', confirmPassword);
|
|
110
|
-
return fetchSSOV2Api(SSO_V2_PATHS.RESET_PASSWORD, {
|
|
111
|
-
method: 'POST',
|
|
112
|
-
body: formData,
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
// "email":"kenny_test2201_11@mailinator.com"
|
|
116
|
-
// "phone_number":"906911910"
|
|
117
|
-
const checkUserExist = ({ email, phone, // no +
|
|
118
|
-
}) => __awaiter(void 0, void 0, void 0, function* () {
|
|
119
|
-
// "provider": "email",
|
|
120
|
-
// "is_pass": true,
|
|
121
|
-
// "is_status": "Active"
|
|
122
|
-
const formData = new FormData();
|
|
123
|
-
if (email) {
|
|
124
|
-
formData.append('email', email);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
formData.append('phone_number', phone);
|
|
128
|
-
}
|
|
129
|
-
return fetchSSOV2Api(SSO_V2_PATHS.CHECK_USER_EXIST, {
|
|
130
|
-
method: 'POST',
|
|
131
|
-
body: formData,
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
// "name": "Huy Tran 888",
|
|
135
|
-
// "birthday": "1989-04-26",
|
|
136
|
-
// "email":"kenny_test2201_02@mailinator.com", // optional chỉ require khi source là care | ecom
|
|
137
|
-
// "password": "Kenny2103",
|
|
138
|
-
// "confirm_password":"Kenny2103",
|
|
139
|
-
// "phone_number":"906911912", // require khi user register bằng email hoặc social
|
|
140
|
-
// "area_code":"+84", // require khi có phone number
|
|
141
|
-
// "gender": 1,
|
|
142
|
-
// "validate": false, // true validate sau khi validate xong truyền false để update
|
|
143
|
-
// "source": "care" | "ecom" // default sẽ ko require email. nếu source là care sẽ require email. ==> support cho business care
|
|
144
|
-
const updateUserInfo = (data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
145
|
-
const formData = new FormData();
|
|
146
|
-
Object.keys(data).forEach((key) => {
|
|
147
|
-
const value = data[key];
|
|
148
|
-
if (typeof value !== 'undefined' &&
|
|
149
|
-
value !== null &&
|
|
150
|
-
(typeof value !== 'string' || !!value.trim())) {
|
|
151
|
-
formData.append(key, data[key]);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
return fetchSSOV2Api(SSO_V2_PATHS.SETUP_USER_INFO, {
|
|
155
|
-
method: 'POST',
|
|
156
|
-
body: formData,
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
const GoogleAuthClientId = isProduction
|
|
160
|
-
? '289442006438-040a42cbidr6v5d178f3iqi9q95821r3.apps.googleusercontent.com'
|
|
161
|
-
: '289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com';
|
|
162
|
-
const FacebookAppId = '2759888574045636';
|
|
163
|
-
const getUserInfo = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
164
|
-
return fetchSSOApi('user/profile', {
|
|
165
|
-
method: 'POST',
|
|
166
|
-
});
|
|
167
|
-
});
|
|
168
|
-
const handleAuthSuccess = (res) => {
|
|
169
|
-
(res === null || res === void 0 ? void 0 : res.token) &&
|
|
170
|
-
setCookie(BEARER_TOKEN_COOKIE, res.token, {
|
|
171
|
-
domain: window.location.hostname === 'localhost'
|
|
172
|
-
? 'localhost'
|
|
173
|
-
: `.${domainLocales[locale]}`,
|
|
174
|
-
expires: new Date(res.expire_in * 1000).toUTCString(),
|
|
175
|
-
});
|
|
176
|
-
(res === null || res === void 0 ? void 0 : res.refresh_token) &&
|
|
177
|
-
setCookie(BEARER_REFRESH_TOKEN_COOKIE, res.refresh_token, {
|
|
178
|
-
domain: window.location.hostname === 'localhost'
|
|
179
|
-
? 'localhost'
|
|
180
|
-
: `.${domainLocales[locale]}`,
|
|
181
|
-
});
|
|
182
|
-
};
|
|
3
|
+
import { g as getUserInfo } from './index-7b052b20.js';
|
|
4
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-ab4a3bf8.js';
|
|
5
|
+
import { getCookie } from './miscCookieHelper.js';
|
|
183
6
|
|
|
184
7
|
var SSOStepTypeType;
|
|
185
8
|
(function (SSOStepTypeType) {
|
|
@@ -279,7 +102,7 @@ const useSSOV2Store = create()((set, get) => ({
|
|
|
279
102
|
triggerLogin: (params) => {
|
|
280
103
|
var _a, _b;
|
|
281
104
|
const { source, returnUrl } = params || {};
|
|
282
|
-
const alreadyHasToken = getCookie(BEARER_TOKEN_COOKIE
|
|
105
|
+
const alreadyHasToken = getCookie(BEARER_TOKEN_COOKIE);
|
|
283
106
|
if (alreadyHasToken) {
|
|
284
107
|
redirect(params === null || params === void 0 ? void 0 : params.returnUrl, params === null || params === void 0 ? void 0 : params.source, params === null || params === void 0 ? void 0 : params.forceReloadOnClose);
|
|
285
108
|
set({
|
|
@@ -592,4 +415,4 @@ const isLoginWithPhoneNotVerifedYet = (flowData, userInfo) => {
|
|
|
592
415
|
!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone_verified_at));
|
|
593
416
|
};
|
|
594
417
|
|
|
595
|
-
export {
|
|
418
|
+
export { IS_SSOV2_ENABLED as I, SSOStepTypeType as S, useSSOSteps as a, isPhoneNotVerifedYet as b, isLoginWithPhoneNotVerifedYet as c, isFlowFinishedSetup as d, isUserFinishedSetup as i, redirect as r, useSSOV2Store as u };
|
package/build/esm/subot.js
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, useImperativeHandle, memo } from 'react';
|
|
2
|
-
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { f as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, g as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY } from './index-1e3c6089.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-106e94f9.js';
|
|
4
|
+
import { f as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, g as SSO_URL } from './index-ab4a3bf8.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, u as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-3e7eec95.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, i as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, j as isFakeEmail, s as ssoIntents, k as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, g as getHelloSitesUrl, k as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, j as isFakeEmail, 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, i as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, j as isFakeEmail, s as ssoIntents, k as getHhgIdFromCookie } from './index-fc8946f6.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, g as getHelloSitesUrl, k as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, j as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-fc8946f6.js';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
14
14
|
import cn from 'classnames';
|
|
15
|
-
import { C as Container$w } from './index-
|
|
16
|
-
import { L as Loading } from './index-
|
|
15
|
+
import { C as Container$w } from './index-d2ce3850.js';
|
|
16
|
+
import { L as Loading } from './index-6a2f5018.js';
|
|
17
17
|
import { motion } from 'framer-motion';
|
|
18
18
|
import styled from '@emotion/styled';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import { B as Button } from './index-
|
|
19
|
+
import { M as MediaQueries } from './utils-53449c9d.js';
|
|
20
|
+
import { B as Button } from './index-dd5350a4.js';
|
|
21
21
|
import { Remarkable } from 'remarkable';
|
|
22
22
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
23
23
|
import { useInView } from 'react-intersection-observer';
|
|
24
24
|
import { Box, Textarea } from '@mantine/core';
|
|
25
|
-
import { C as CommonGAssets } from './index-
|
|
25
|
+
import { C as CommonGAssets } from './index-65bf95fa.js';
|
|
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-b37d9aab.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-415966ff.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-547896ee.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-1f75dde1.js';
|
|
35
|
+
import './index.styles-90e570fc.js';
|
|
36
|
+
import './translationsContext-ff52e07d.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-9578648a.js';
|
|
39
|
+
import './index-8c6ab6db.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-214eb8ef.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { I as InputDate } from './InputDate-
|
|
48
|
-
import { B as Button$1 } from './index-
|
|
49
|
-
import { D as Dropdown } from './index-
|
|
50
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
51
|
-
import { g as getURLwithSSOTracking } from './utils-
|
|
46
|
+
import { L as LOCALE } from './Locale-100fdeac.js';
|
|
47
|
+
import { I as InputDate } from './InputDate-cb433d87.js';
|
|
48
|
+
import { B as Button$1 } from './index-3fbaa18d.js';
|
|
49
|
+
import { D as Dropdown } from './index-27150fa7.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-67ecda4a.js';
|
|
51
|
+
import { g as getURLwithSSOTracking } from './utils-c3f5e7e1.js';
|
|
52
52
|
import 'date-fns/locale';
|
|
53
53
|
import './constantsSite.js';
|
|
54
54
|
import './constantsRiskScreener.js';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-fef5945b.js';
|
|
56
56
|
import './miscCookieHelper.js';
|
|
57
57
|
import 'slugify';
|
|
58
58
|
import './togetherApiPaths.js';
|
|
59
|
-
import './index-
|
|
60
|
-
import './WhatsApp-
|
|
61
|
-
import './Spinner-
|
|
62
|
-
import './index-
|
|
63
|
-
import './useScreenSize-
|
|
59
|
+
import './index-0c58a126.js';
|
|
60
|
+
import './WhatsApp-694d812e.js';
|
|
61
|
+
import './Spinner-c1b37824.js';
|
|
62
|
+
import './index-294036ac.js';
|
|
63
|
+
import './useScreenSize-e743e40e.js';
|
|
64
64
|
import '@mantine/carousel';
|
|
65
|
-
import './useUniqueId-
|
|
65
|
+
import './useUniqueId-cdbcbe28.js';
|
|
66
66
|
import '@hhgtech/icons/core';
|
|
67
67
|
import '@mantine/notifications';
|
|
68
68
|
import '@emotion/react';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './
|
|
71
|
-
import './
|
|
70
|
+
import './index-7b052b20.js';
|
|
71
|
+
import './normalizeLink-88ac1114.js';
|
|
72
|
+
import './healthTools-e1a6ef1e.js';
|
|
72
73
|
|
|
73
74
|
// extend fastdom
|
|
74
75
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1,59 +1,60 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@mantine/core';
|
|
3
|
-
export { S as SurveyOrPremiumBanner } from './index-
|
|
4
|
-
import './utils-
|
|
5
|
-
import './index-
|
|
6
|
-
import './index-
|
|
3
|
+
export { S as SurveyOrPremiumBanner } from './index-501608d0.js';
|
|
4
|
+
import './utils-3e7eec95.js';
|
|
5
|
+
import './index-294036ac.js';
|
|
6
|
+
import './index-65bf95fa.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-100fdeac.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-ab4a3bf8.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-1e3c6089.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './healthTools-
|
|
16
|
-
import './tslib.es6-
|
|
17
|
-
import './store-
|
|
15
|
+
import './healthTools-e1a6ef1e.js';
|
|
16
|
+
import './tslib.es6-106e94f9.js';
|
|
17
|
+
import './store-67ecda4a.js';
|
|
18
18
|
import 'zustand';
|
|
19
|
-
import './
|
|
19
|
+
import './index-7b052b20.js';
|
|
20
|
+
import './normalizeLink-88ac1114.js';
|
|
20
21
|
import './miscCookieHelper.js';
|
|
21
|
-
import './useScreenSize-
|
|
22
|
+
import './useScreenSize-e743e40e.js';
|
|
22
23
|
import '@emotion/styled';
|
|
23
|
-
import './utils-
|
|
24
|
+
import './utils-53449c9d.js';
|
|
24
25
|
import '@mantine/form';
|
|
25
|
-
import './index-
|
|
26
|
+
import './index-547896ee.js';
|
|
26
27
|
import '@hhgtech/icons/other';
|
|
27
28
|
import '@mantine/hooks';
|
|
28
29
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './other-
|
|
30
|
+
import './index-415966ff.js';
|
|
31
|
+
import './other-9578648a.js';
|
|
31
32
|
import './miscTheme.js';
|
|
32
|
-
import './useMantineLocale-
|
|
33
|
+
import './useMantineLocale-1f75dde1.js';
|
|
33
34
|
import '@mantine/notifications';
|
|
34
35
|
import 'dayjs';
|
|
35
|
-
import './index-
|
|
36
|
+
import './index-dd5350a4.js';
|
|
36
37
|
import 'classnames';
|
|
37
|
-
import './useUniqueId-
|
|
38
|
+
import './useUniqueId-cdbcbe28.js';
|
|
38
39
|
import '@hhgtech/icons/core';
|
|
39
40
|
import '@mantine/dates';
|
|
40
|
-
import './index.styles-
|
|
41
|
-
import './index-
|
|
41
|
+
import './index.styles-90e570fc.js';
|
|
42
|
+
import './index-8c6ab6db.js';
|
|
42
43
|
import './togetherApiPaths.js';
|
|
43
|
-
import './translationsContext-
|
|
44
|
-
import './index-
|
|
45
|
-
import './useHealthToolCache-
|
|
44
|
+
import './translationsContext-ff52e07d.js';
|
|
45
|
+
import './index-909c59e1.js';
|
|
46
|
+
import './useHealthToolCache-f6f38a54.js';
|
|
46
47
|
import './miscGetDynamicHealthTool.js';
|
|
47
|
-
import './core-
|
|
48
|
-
import './index-
|
|
49
|
-
import './WhatsApp-
|
|
50
|
-
import './Spinner-
|
|
51
|
-
import './index-
|
|
52
|
-
import './index-
|
|
48
|
+
import './core-53be81d9.js';
|
|
49
|
+
import './index-0c58a126.js';
|
|
50
|
+
import './WhatsApp-694d812e.js';
|
|
51
|
+
import './Spinner-c1b37824.js';
|
|
52
|
+
import './index-d2212d3b.js';
|
|
53
|
+
import './index-96518dbc.js';
|
|
53
54
|
import 'js-cookie';
|
|
54
55
|
import 'lodash/flatten';
|
|
55
56
|
import 'lodash/uniqBy';
|
|
56
|
-
import './index-
|
|
57
|
+
import './index-fef5945b.js';
|
|
57
58
|
import 'slugify';
|
|
58
59
|
import 'string-format';
|
|
59
|
-
import './constants-
|
|
60
|
+
import './constants-b37d9aab.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-
|
|
1
|
+
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-bf7ecb4e.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-3fbaa18d.js';
|
|
4
|
+
import './tslib.es6-106e94f9.js';
|
|
5
|
+
import './index-dd5350a4.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-415966ff.js';
|
|
8
|
+
import './other-9578648a.js';
|
|
9
|
+
import './index-909c59e1.js';
|
|
10
|
+
import './index-d1f4bf2b.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-53449c9d.js';
|
|
14
|
+
import './index-edc96538.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as Text } from './index-
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { I as Input } from './index-
|
|
6
|
-
import { T as TextArea } from './index-
|
|
2
|
+
import { B as Button } from './index-3fbaa18d.js';
|
|
3
|
+
import { T as Text } from './index-415966ff.js';
|
|
4
|
+
import { H as Heading } from './index-909c59e1.js';
|
|
5
|
+
import { I as Input } from './index-d1f4bf2b.js';
|
|
6
|
+
import { T as TextArea } from './index-edc96538.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|