@hhgtech/hhg-components 1.29.343-beta-1 → 1.29.343
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-4f4800eb.js → LastPeriod-304cc191.js} +1 -1
- package/build/{MobileBottomNavigationIcon-5c2f2f4b.js → MobileBottomNavigationIcon-b85d1605.js} +3 -3
- package/build/{Spinner-b2ca8af5.js → Spinner-49bac424.js} +1 -1
- package/build/{WhatsApp-f073e06e.js → WhatsApp-1cd8d4df.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- 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 +91 -91
- package/build/{constants-f7fdd0cb.js → constants-e44003d5.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-7d4f9b20.js → core-5483ea51.js} +1 -1
- package/build/{dataTransform-fb6ebccf.js → dataTransform-c69ef5db.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-4e15bc9a.js → editor-742b759d.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-590b8cd4.js → LastPeriod-bf500978.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-6a5e3845.js → MobileBottomNavigationIcon-8944ece4.js} +3 -3
- package/build/esm/{Spinner-01cebf3e.js → Spinner-709ca6b9.js} +1 -1
- package/build/esm/{WhatsApp-fe61789b.js → WhatsApp-0d9155f4.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- 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 +91 -91
- package/build/esm/{constants-a9f95533.js → constants-cef86263.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-64673bed.js → core-938ff907.js} +1 -1
- package/build/esm/{dataTransform-157f555d.js → dataTransform-26b9f643.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-57e412f0.js → editor-2af44121.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/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-3e810a64.js → index-067e0be1.js} +1 -1
- package/build/esm/{index-3fd51f04.js → index-15d3f436.js} +7 -7
- package/build/esm/{index-e71971eb.js → index-1e0c72b0.js} +31 -31
- package/build/esm/{index-a78c54fc.js → index-240b7763.js} +16 -16
- package/build/esm/{index-99ce1ed3.js → index-2b3ccdf7.js} +21 -21
- package/build/esm/{index-e7a439f9.js → index-2d69c8bb.js} +1 -1
- package/build/esm/{index-71f91efc.js → index-2e41ac6b.js} +12 -12
- package/build/esm/{index-6de26e1f.js → index-36914dd0.js} +2 -2
- package/build/esm/{index-b59780cf.js → index-4150ae7f.js} +13 -13
- package/build/esm/{index-8e5972ef.js → index-44e0fdd4.js} +15 -15
- package/build/esm/{index-0202bfa2.js → index-484e459e.js} +1 -1
- package/build/esm/{index-ecb8bdaa.js → index-5335d3d9.js} +2 -2
- package/build/esm/{index-4f7e0ae3.js → index-59b48bf1.js} +17 -17
- package/build/esm/{index-7b162cf2.js → index-5d84831b.js} +3 -3
- package/build/esm/{index-b4013556.js → index-5ef99f4b.js} +24 -24
- package/build/esm/{index-5da81cc1.js → index-61ae34af.js} +6 -6
- package/build/esm/{index-3c0b604a.js → index-64b550b4.js} +1 -1
- package/build/esm/{index-8340b9e5.js → index-65bdc8df.js} +16 -16
- package/build/esm/{index-34133420.js → index-65dd888a.js} +2 -2
- package/build/esm/{index-437cadc1.js → index-67fadae7.js} +2 -2
- package/build/esm/{index-d4d41266.js → index-6cafc410.js} +6 -6
- package/build/esm/{index-3a875cc9.js → index-77fec9d7.js} +5 -5
- package/build/esm/{index-b200718a.js → index-78d97aba.js} +3 -3
- package/build/esm/{index-80083ae2.js → index-7a9ed950.js} +2 -2
- package/build/esm/{index-eeb93774.js → index-7c65f196.js} +18 -18
- package/build/esm/{index-bfcf1d7f.js → index-7e6a1f56.js} +20 -20
- package/build/esm/{index-3d18283f.js → index-85708071.js} +2 -2
- package/build/esm/{index-74a3d245.js → index-8591b22e.js} +3 -3
- package/build/esm/{index-bf318c86.js → index-8a426614.js} +3 -3
- package/build/esm/{index-8bf68242.js → index-8edd6215.js} +4 -4
- package/build/esm/{index-c6bdffa6.js → index-8f8e96a0.js} +18 -18
- package/build/esm/{index-b369c3b5.js → index-91a2eccf.js} +3 -3
- package/build/esm/{index-c3f1f95c.js → index-99285f6d.js} +15 -15
- package/build/esm/{index-2c859696.js → index-9998f6bf.js} +2 -2
- package/build/esm/{index-12572cfc.js → index-9a3e3fd8.js} +32 -32
- package/build/esm/{index-82002c91.js → index-9c2c33dc.js} +2 -2
- package/build/esm/{index-2b76bd7c.js → index-9cc1d754.js} +2 -2
- package/build/esm/{index-425d255e.js → index-a2be6a4e.js} +24 -24
- package/build/esm/{index-5292e22f.js → index-ac444850.js} +2 -2
- package/build/esm/{index-1c715e77.js → index-b0c80fc5.js} +6 -6
- package/build/esm/{index-3c6aafb2.js → index-b4c31a96.js} +7 -7
- package/build/esm/{index-d55aec79.js → index-ba8ba659.js} +3 -3
- package/build/esm/{index-b0b008f2.js → index-be81a626.js} +16 -16
- package/build/esm/{index-8e2c81f3.js → index-c49ef076.js} +1 -1
- package/build/esm/{index-ca7af3b3.js → index-c4d47b77.js} +13 -13
- package/build/esm/{index-71059104.js → index-c587e0f0.js} +2 -2
- package/build/esm/{index-9bbc061e.js → index-c7543b04.js} +10 -10
- package/build/esm/{index-b996d272.js → index-d1cfc060.js} +6 -6
- package/build/esm/{index-10b1cba1.js → index-d33dd701.js} +1 -1
- package/build/esm/{index-c2de4b48.js → index-d967ca78.js} +17 -17
- package/build/esm/{index-f23501bc.js → index-dbdc359c.js} +16 -16
- package/build/esm/{index-9845603b.js → index-e4b6aa21.js} +18 -18
- package/build/esm/{index-c720e4ed.js → index-e8d8a8b4.js} +2 -2
- package/build/esm/{index-05c0528f.js → index-eac453b2.js} +1 -1
- package/build/esm/{index-3de546aa.js → index-eb1fa728.js} +2 -2
- package/build/esm/{index-1dff9c44.js → index-eda60bb5.js} +5 -5
- package/build/esm/{index-80d9a484.js → index-edd98830.js} +1 -1
- package/build/esm/{index-1f7bdad8.js → index-f57e46cf.js} +30 -30
- package/build/esm/{index-8c288f31.js → index-f5b56512.js} +3 -3
- package/build/esm/{index-8d269cea.js → index-f602bb13.js} +13 -13
- package/build/esm/{index-640e6c6e.js → index-f6cf5e01.js} +13 -13
- package/build/esm/{index-7a88dfaa.js → index-fd8aa171.js} +1 -1
- package/build/esm/index.js +113 -113
- package/build/esm/{labelSorting-aeafd799.js → labelSorting-37f7aa83.js} +4 -4
- package/build/esm/lead/components/form/formContext.d.ts +1 -3
- package/build/esm/lead/components/index.d.ts +2 -3
- package/build/esm/lead/index.d.ts +0 -2
- package/build/esm/lead/layouts/lightbox/formContext.d.ts +1 -3
- package/build/esm/lead/layouts/lightbox/index.d.ts +2 -3
- package/build/esm/lead/newLeadPopup.d.ts +2 -3
- package/build/esm/lead.js +62 -98
- package/build/esm/{logoIcon-cd55d227.js → logoIcon-5f337c82.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +16 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +44 -44
- package/build/esm/{post-012f98c8.js → post-b2b38759.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 +1 -2
- package/build/esm/ssoV2.js +36 -48
- package/build/esm/{store-014334da.js → store-96b76ace.js} +4 -4
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-7a44cee7.js → surveyThankyouCard-9bafbcd5.js} +5 -5
- package/build/esm/together.js +53 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +48 -48
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-6d2def2a.js → treePopoverMenu-0d6baa0d.js} +19 -19
- package/build/esm/{types-07be1a26.js → types-a586f061.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-57debc92.js → useCategory-16f60353.js} +5 -5
- package/build/esm/{useHealthToolCache-2743f2a9.js → useHealthToolCache-ddc094ca.js} +1 -1
- package/build/esm/{useMantineLocale-44e03144.js → useMantineLocale-19c891e6.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-e2691273.js → usePlacesAutocomplete-8c4362e3.js} +1 -1
- package/build/esm/{useScreenSize-33fe5507.js → useScreenSize-fdb63765.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-b00b9cdb.js → utils-063d5573.js} +2 -2
- package/build/esm/{utils-15b2377d.js → utils-643ff46f.js} +2 -2
- package/build/esm/{utils-cf2ff79c.js → utils-67076710.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- 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-3a654397.js → index-01db0c7f.js} +6 -6
- package/build/{index-9d496855.js → index-0ccd763b.js} +24 -24
- package/build/{index-8f8f185f.js → index-1034f70f.js} +2 -2
- package/build/{index-003b61ef.js → index-197fbeb3.js} +3 -3
- package/build/{index-be56348d.js → index-1b3f97a8.js} +1 -1
- package/build/{index-9e650b5a.js → index-1e983dd8.js} +13 -13
- package/build/{index-4ff13521.js → index-1eb2ab08.js} +13 -13
- package/build/{index-5c55794f.js → index-21a68306.js} +13 -13
- package/build/{index-f796d4b7.js → index-25c93132.js} +2 -2
- package/build/{index-28075652.js → index-26a751d1.js} +1 -1
- package/build/{index-7ee19570.js → index-2ac115e3.js} +15 -15
- package/build/{index-12e768b2.js → index-2ccbc1f7.js} +3 -3
- package/build/{index-92ec27c6.js → index-2ce3e7bc.js} +21 -21
- package/build/{index-3874fe2c.js → index-2d7676d9.js} +32 -32
- package/build/{index-ae18381c.js → index-2f9eb4f9.js} +2 -2
- package/build/{index-ab8406b6.js → index-3929881f.js} +10 -10
- package/build/{index-7daf7f81.js → index-3d29b855.js} +16 -16
- package/build/{index-7359294f.js → index-40247059.js} +3 -3
- package/build/{index-78636ebe.js → index-5428d8f8.js} +16 -16
- package/build/{index-6dc0dcc5.js → index-56179009.js} +6 -6
- package/build/{index-22c0acc2.js → index-565abc24.js} +1 -1
- package/build/{index-988be3fe.js → index-5c246510.js} +2 -2
- package/build/{index-b298a3fa.js → index-5c87f309.js} +24 -24
- package/build/{index-04c2ff6a.js → index-6029a01b.js} +1 -1
- package/build/{index-0cef1c4c.js → index-619a5616.js} +18 -18
- package/build/{index-8046630f.js → index-61c9257b.js} +3 -3
- package/build/{index-a50fdf69.js → index-6cd19d07.js} +2 -2
- package/build/{index-1db242bb.js → index-6f8b7493.js} +1 -1
- package/build/{index-5be506ba.js → index-7560a414.js} +2 -2
- package/build/{index-4621af6a.js → index-762bd00b.js} +30 -30
- package/build/{index-cf8d4497.js → index-7c52ca31.js} +2 -2
- package/build/{index-8cf46b7c.js → index-81e8c0de.js} +17 -17
- package/build/{index-491df9a7.js → index-843c271f.js} +5 -5
- package/build/{index-2e11575f.js → index-8699b66c.js} +6 -6
- package/build/{index-af95c110.js → index-8b1155ec.js} +18 -18
- package/build/{index-d93f0065.js → index-8f8f8f64.js} +17 -17
- package/build/{index-330df31b.js → index-90640190.js} +18 -18
- package/build/{index-8fc53691.js → index-96d423c9.js} +2 -2
- package/build/{index-ea0b9dc6.js → index-9c04ee42.js} +3 -3
- package/build/{index-1008fa46.js → index-9ecb90ef.js} +7 -7
- package/build/{index-995e7c1c.js → index-a1657ef7.js} +2 -2
- package/build/{index-e3afc039.js → index-a5969f59.js} +16 -16
- package/build/{index-4ff45cf7.js → index-a5faf07b.js} +1 -1
- package/build/{index-cdce07bf.js → index-aab9eb54.js} +2 -2
- package/build/{index-95309324.js → index-ae89ca58.js} +3 -3
- package/build/{index-5691041e.js → index-bb3c2da0.js} +15 -15
- package/build/{index-358568e1.js → index-bdea9c15.js} +7 -7
- package/build/{index-8dea1436.js → index-c4d0951c.js} +16 -16
- package/build/{index-8f55fcfc.js → index-cbc9339c.js} +2 -2
- package/build/{index-d2d2ce8a.js → index-cbe52605.js} +3 -3
- package/build/{index-99825c5e.js → index-cc793e43.js} +2 -2
- package/build/{index-bda8feb9.js → index-cf3b430b.js} +1 -1
- package/build/{index-6f301b3c.js → index-d06ebc65.js} +12 -12
- package/build/{index-4b634ebc.js → index-e04fa64a.js} +13 -13
- package/build/{index-8a08f01a.js → index-e5d6997a.js} +4 -4
- package/build/{index-2ad70d9a.js → index-e675f3a8.js} +1 -1
- package/build/{index-0437fc96.js → index-ec7dad8d.js} +2 -2
- package/build/{index-e4245694.js → index-f6e9d263.js} +6 -6
- package/build/{index-85abceae.js → index-f71c2632.js} +1 -1
- package/build/{index-1b0a5798.js → index-fe163f2f.js} +20 -20
- package/build/{index-dd11157e.js → index-ff3a5a51.js} +31 -31
- package/build/{index-2cf5c2ea.js → index-ffe3b7c6.js} +5 -5
- package/build/index.js +113 -113
- package/build/{labelSorting-b6758f26.js → labelSorting-f9e8c405.js} +4 -4
- package/build/lead/components/form/formContext.d.ts +1 -3
- package/build/lead/components/index.d.ts +2 -3
- package/build/lead/index.d.ts +0 -2
- package/build/lead/layouts/lightbox/formContext.d.ts +1 -3
- package/build/lead/layouts/lightbox/index.d.ts +2 -3
- package/build/lead/newLeadPopup.d.ts +2 -3
- package/build/lead.js +61 -97
- package/build/{logoIcon-e6756cb8.js → logoIcon-a2804db9.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +16 -16
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-716cde77.js → post-e9324c25.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 +1 -2
- package/build/ssoV2.js +35 -47
- package/build/{store-ce20f66e.js → store-74a275aa.js} +4 -4
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-6a8f277c.js → surveyThankyouCard-a7b7d3e9.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -48
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-5457f85f.js → treePopoverMenu-f295eadb.js} +19 -19
- package/build/{types-72988b92.js → types-2a0bcd73.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-f1c00ea6.js → useCategory-e9764e9e.js} +5 -5
- package/build/{useHealthToolCache-72a60148.js → useHealthToolCache-22128a90.js} +1 -1
- package/build/{useMantineLocale-7f3c53c7.js → useMantineLocale-1f3267ee.js} +6 -6
- package/build/{usePlacesAutocomplete-25bf3314.js → usePlacesAutocomplete-dbc4646f.js} +1 -1
- package/build/{useScreenSize-9d18c2bb.js → useScreenSize-829622f9.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-e9d3fcd3.js → utils-54f5d5d6.js} +2 -2
- package/build/{utils-e72360f4.js → utils-962e7eb5.js} +2 -2
- package/build/{utils-45f04940.js → utils-ca452207.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/lead/helpers.d.ts +0 -2
- package/build/lead/helpers.d.ts +0 -2
- /package/build/{BMI_BOYS.percentile.monthly-409d62b2.js → BMI_BOYS.percentile.monthly-954dccf0.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-375b8435.js → BMI_BOYS.percentile.weekly-f30ba705.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5a9c4a5f.js → BMI_BOYS.percentile.yearly-2daea544.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e4e36579.js → BMI_BOYS.zscore.monthly-92a6e65e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-71ffdfbe.js → BMI_BOYS.zscore.weekly-834f4ced.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-369a2a24.js → BMI_BOYS.zscore.yearly-9cc8e8fd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-6ec21a69.js → BMI_GIRLS.percentile.monthly-698ac44b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b541ef1b.js → BMI_GIRLS.percentile.weekly-062df9b3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-5e220708.js → BMI_GIRLS.percentile.yearly-dc406020.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1414425d.js → BMI_GIRLS.zscore.monthly-5a24ea71.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-188bd2c0.js → BMI_GIRLS.zscore.weekly-6d1f91fc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-47c36386.js → BMI_GIRLS.zscore.yearly-507fe396.js} +0 -0
- /package/build/{ChevronDown-7bb04921.js → ChevronDown-7820ec61.js} +0 -0
- /package/build/{Close-1bddd1e3.js → Close-6a2ba15a.js} +0 -0
- /package/build/{Google-87247aed.js → Google-f5f20be0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ad470485.js → HEAD CIRCUM_BOYS.percentile.monthly-5ba4c958.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6e1a806d.js → HEAD CIRCUM_BOYS.percentile.weekly-6dd20a60.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-904ca69b.js → HEAD CIRCUM_BOYS.percentile.yearly-d2cac553.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-29ca2424.js → HEAD CIRCUM_BOYS.zscore.monthly-5739733c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-97ee2abf.js → HEAD CIRCUM_BOYS.zscore.weekly-abb49e95.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-70d40f64.js → HEAD CIRCUM_BOYS.zscore.yearly-30adac4a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ce9aa0a0.js → HEAD CIRCUM_GIRLS.percentile.monthly-624d5eda.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9f10a04b.js → HEAD CIRCUM_GIRLS.percentile.weekly-b26469ff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-996f3acd.js → HEAD CIRCUM_GIRLS.percentile.yearly-eb6fd80b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d5fbd915.js → HEAD CIRCUM_GIRLS.zscore.monthly-09f79658.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-af65b8cc.js → HEAD CIRCUM_GIRLS.zscore.weekly-b07835a7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-76baea78.js → HEAD CIRCUM_GIRLS.zscore.yearly-3db48124.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-36fe0443.js → HEIGHT_BOYS.percentile.monthly-1c768c4d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-bec17595.js → HEIGHT_BOYS.percentile.weekly-e9c01ed7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-6809aa99.js → HEIGHT_BOYS.percentile.yearly-a7e259a3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-3d39db53.js → HEIGHT_BOYS.zscore.monthly-ff2071c3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-22d774a7.js → HEIGHT_BOYS.zscore.weekly-e6cdd367.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b5766401.js → HEIGHT_BOYS.zscore.yearly-dfeed6aa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-fefb782e.js → HEIGHT_GIRLS.percentile.monthly-a1bd4e9a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b54e6069.js → HEIGHT_GIRLS.percentile.weekly-edc25bbf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3763e853.js → HEIGHT_GIRLS.percentile.yearly-a7a96cbe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c246b1fb.js → HEIGHT_GIRLS.zscore.monthly-a2fa4bf5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3363339d.js → HEIGHT_GIRLS.zscore.weekly-b1ee6345.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-b551f049.js → HEIGHT_GIRLS.zscore.yearly-b9b63a16.js} +0 -0
- /package/build/{Locale-e84afdc8.js → Locale-a02bbc2a.js} +0 -0
- /package/build/{Visible-8d6c7a99.js → Visible-b0b66c9d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-634ea2e1.js → WEIGHT_BOYS.percentile.monthly-d6a311b3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-59080c11.js → WEIGHT_BOYS.percentile.weekly-132f3b22.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-6e272700.js → WEIGHT_BOYS.percentile.yearly-24f118f1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-a9b6fa35.js → WEIGHT_BOYS.zscore.monthly-81b0fd10.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-7223dfd7.js → WEIGHT_BOYS.zscore.weekly-38bcdea1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-da47f587.js → WEIGHT_BOYS.zscore.yearly-6547309d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-61b7ebe8.js → WEIGHT_GIRLS.percentile.monthly-bc8584aa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-c273e497.js → WEIGHT_GIRLS.percentile.weekly-619c6760.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-5e972c41.js → WEIGHT_GIRLS.percentile.yearly-18dd2b2e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d62b93bb.js → WEIGHT_GIRLS.zscore.monthly-c56e26ff.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-1f618a15.js → WEIGHT_GIRLS.zscore.weekly-64fffb64.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-853b4dd1.js → WEIGHT_GIRLS.zscore.yearly-912edcc0.js} +0 -0
- /package/build/{animation-03a0fda0.js → animation-4d7ea86c.js} +0 -0
- /package/build/{constants-23cd8836.js → constants-8b10b19d.js} +0 -0
- /package/build/{constants-4755497f.js → constants-c01829ea.js} +0 -0
- /package/build/{constants-7e7ce87a.js → constants-e47a1e86.js} +0 -0
- /package/build/{dataTransform-a2b4a589.js → dataTransform-8bf74aab.js} +0 -0
- /package/build/{doctor-1ac1cc1c.js → doctor-08136eef.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-34bdfeba.js → BMI_BOYS.percentile.monthly-65bfaf32.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-311055d8.js → BMI_BOYS.percentile.weekly-5eb329e2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c33d3c8f.js → BMI_BOYS.percentile.yearly-db070482.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6c152488.js → BMI_BOYS.zscore.monthly-087bfb31.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-36704c91.js → BMI_BOYS.zscore.weekly-388797af.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-1ddabc5d.js → BMI_BOYS.zscore.yearly-38cac998.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-793d6146.js → BMI_GIRLS.percentile.monthly-d6ebeacb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ddfaf7cf.js → BMI_GIRLS.percentile.weekly-d84a53a7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6f3baba4.js → BMI_GIRLS.percentile.yearly-281fc04f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ee40e8eb.js → BMI_GIRLS.zscore.monthly-86006aa6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9f7f3847.js → BMI_GIRLS.zscore.weekly-43ccf401.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3354078c.js → BMI_GIRLS.zscore.yearly-52a522b8.js} +0 -0
- /package/build/esm/{ChevronDown-ce551b8d.js → ChevronDown-da0beccb.js} +0 -0
- /package/build/esm/{Close-5d0ffb92.js → Close-e79a04cc.js} +0 -0
- /package/build/esm/{Google-ef64922d.js → Google-285fa3ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-335f50ef.js → HEAD CIRCUM_BOYS.percentile.monthly-05bc6559.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8b15628a.js → HEAD CIRCUM_BOYS.percentile.weekly-a73b144f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e72c8621.js → HEAD CIRCUM_BOYS.percentile.yearly-347aeb65.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3c905d15.js → HEAD CIRCUM_BOYS.zscore.monthly-bc829992.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-af878082.js → HEAD CIRCUM_BOYS.zscore.weekly-f33d258a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1734a9f4.js → HEAD CIRCUM_BOYS.zscore.yearly-8537f596.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-36ec5268.js → HEAD CIRCUM_GIRLS.percentile.monthly-5f9f57f9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1232d69c.js → HEAD CIRCUM_GIRLS.percentile.weekly-abf55b5b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-439cadf6.js → HEAD CIRCUM_GIRLS.percentile.yearly-362af6f6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1eff8ca6.js → HEAD CIRCUM_GIRLS.zscore.monthly-45809109.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-09952401.js → HEAD CIRCUM_GIRLS.zscore.weekly-3ff25304.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-92b20a36.js → HEAD CIRCUM_GIRLS.zscore.yearly-9ff36c49.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-cb4c9e10.js → HEIGHT_BOYS.percentile.monthly-535672a5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-94ab40cd.js → HEIGHT_BOYS.percentile.weekly-355bbb50.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-032398c0.js → HEIGHT_BOYS.percentile.yearly-0c66b3a8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-325c2268.js → HEIGHT_BOYS.zscore.monthly-b896b3db.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-997692da.js → HEIGHT_BOYS.zscore.weekly-9b9c43b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-5d907249.js → HEIGHT_BOYS.zscore.yearly-f98d61e1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-aad29140.js → HEIGHT_GIRLS.percentile.monthly-3d1c4b42.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-71df06a1.js → HEIGHT_GIRLS.percentile.weekly-3158dafb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f801e1d5.js → HEIGHT_GIRLS.percentile.yearly-0ab836c1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e9a45757.js → HEIGHT_GIRLS.zscore.monthly-55422516.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-35e123a3.js → HEIGHT_GIRLS.zscore.weekly-76ef39ee.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5a6b7c3f.js → HEIGHT_GIRLS.zscore.yearly-7cb0421d.js} +0 -0
- /package/build/esm/{Locale-36a1eea4.js → Locale-2342195e.js} +0 -0
- /package/build/esm/{Visible-da466f5d.js → Visible-7bf25b68.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-45054cba.js → WEIGHT_BOYS.percentile.monthly-2baff03a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-11e14670.js → WEIGHT_BOYS.percentile.weekly-aa69fd3e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-2554ebaa.js → WEIGHT_BOYS.percentile.yearly-359eea59.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-91d9b9a5.js → WEIGHT_BOYS.zscore.monthly-32168d19.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2b8fa231.js → WEIGHT_BOYS.zscore.weekly-2fa3d21d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c8ea4007.js → WEIGHT_BOYS.zscore.yearly-855a52a0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cb3decab.js → WEIGHT_GIRLS.percentile.monthly-2dc93062.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-eba107ef.js → WEIGHT_GIRLS.percentile.weekly-68b43ec1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-deab833c.js → WEIGHT_GIRLS.percentile.yearly-1d60cab6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-93a19952.js → WEIGHT_GIRLS.zscore.monthly-0c16de7b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4df0d575.js → WEIGHT_GIRLS.zscore.weekly-15816e9f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d5173117.js → WEIGHT_GIRLS.zscore.yearly-443eb52e.js} +0 -0
- /package/build/esm/{animation-a27e51ba.js → animation-6e0cbd64.js} +0 -0
- /package/build/esm/{constants-72ae558c.js → constants-11e4d3c2.js} +0 -0
- /package/build/esm/{constants-5cda6b72.js → constants-2cadb127.js} +0 -0
- /package/build/esm/{constants-a18fd441.js → constants-96119869.js} +0 -0
- /package/build/esm/{dataTransform-64a1d5a4.js → dataTransform-35e0f5ef.js} +0 -0
- /package/build/esm/{doctor-0d8fe5b1.js → doctor-2d4b6823.js} +0 -0
- /package/build/esm/{index-856b4c6d.js → index-0518d529.js} +0 -0
- /package/build/esm/{index-0b8599d6.js → index-312b80e5.js} +0 -0
- /package/build/esm/{index-b1c81304.js → index-3a4052c7.js} +0 -0
- /package/build/esm/{index-e4a1834f.js → index-521a997e.js} +0 -0
- /package/build/esm/{index-089fde3c.js → index-b05b9d7a.js} +0 -0
- /package/build/esm/{index-95eb0307.js → index-b29d2819.js} +0 -0
- /package/build/esm/{index-04bfadd0.js → index-bb8e1155.js} +0 -0
- /package/build/esm/{index-03580fa0.js → index-dcd89642.js} +0 -0
- /package/build/esm/{index-701a1dd4.js → index-f3277a5c.js} +0 -0
- /package/build/esm/{index.styles-6b9421ac.js → index.styles-0fb6722d.js} +0 -0
- /package/build/esm/{localizeNumberFormat-34915acc.js → localizeNumberFormat-3ab8c369.js} +0 -0
- /package/build/esm/{normalizeLink-3e24b406.js → normalizeLink-cd53b9d6.js} +0 -0
- /package/build/esm/{other-bfaefecc.js → other-6ba313a1.js} +0 -0
- /package/build/esm/{paths-00fd122a.js → paths-b05ee12a.js} +0 -0
- /package/build/esm/{translationsContext-feb049f0.js → translationsContext-1afbf924.js} +0 -0
- /package/build/esm/{tslib.es6-807b49a3.js → tslib.es6-69e90f6a.js} +0 -0
- /package/build/esm/{types-f36d98ba.js → types-247f9176.js} +0 -0
- /package/build/esm/{useIsInit-14b17795.js → useIsInit-959d29f5.js} +0 -0
- /package/build/esm/{useOutsideClick-bc6af8c5.js → useOutsideClick-5f6e7dc6.js} +0 -0
- /package/build/esm/{useScrollbarSize-3900cde0.js → useScrollbarSize-eeafb87f.js} +0 -0
- /package/build/esm/{useUniqueId-69a147be.js → useUniqueId-8ea18781.js} +0 -0
- /package/build/esm/{utils-4ef7a3a7.js → utils-fd96839b.js} +0 -0
- /package/build/{index-d9cdad78.js → index-24ce8087.js} +0 -0
- /package/build/{index-5e41c020.js → index-5cf20542.js} +0 -0
- /package/build/{index-e1ae0b9c.js → index-67502390.js} +0 -0
- /package/build/{index-0de1d3c9.js → index-819262c1.js} +0 -0
- /package/build/{index-80c2eff3.js → index-95dcdc49.js} +0 -0
- /package/build/{index-6efccbde.js → index-be98edaf.js} +0 -0
- /package/build/{index-a3cd9607.js → index-cec80035.js} +0 -0
- /package/build/{index-ab2c45a5.js → index-f5793751.js} +0 -0
- /package/build/{index-1a22b8a6.js → index-f8d0223d.js} +0 -0
- /package/build/{index.styles-3a62da10.js → index.styles-01fbdd8b.js} +0 -0
- /package/build/{localizeNumberFormat-06275cbd.js → localizeNumberFormat-34737d62.js} +0 -0
- /package/build/{normalizeLink-7f8ed159.js → normalizeLink-510ecf87.js} +0 -0
- /package/build/{other-4093510e.js → other-fac3524f.js} +0 -0
- /package/build/{paths-e87e7230.js → paths-53476d41.js} +0 -0
- /package/build/{translationsContext-4a27524a.js → translationsContext-62c8a5cd.js} +0 -0
- /package/build/{tslib.es6-08cfd6e4.js → tslib.es6-12078094.js} +0 -0
- /package/build/{types-851b9d4f.js → types-e9f79dcc.js} +0 -0
- /package/build/{useIsInit-55049797.js → useIsInit-1aa04459.js} +0 -0
- /package/build/{useOutsideClick-13a1f967.js → useOutsideClick-3cb22098.js} +0 -0
- /package/build/{useScrollbarSize-f5b86926.js → useScrollbarSize-ad85056f.js} +0 -0
- /package/build/{useUniqueId-8ac8559d.js → useUniqueId-12fc7e1b.js} +0 -0
- /package/build/{utils-eb7527f9.js → utils-495e1f78.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, { createContext,
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-69e90f6a.js';
|
|
2
|
+
import React__default, { createContext, useEffect, useMemo, useRef, useState, useContext, useCallback } from 'react';
|
|
3
3
|
import { createStyles, Box, Autocomplete, clsx, Input as Input$1, TextInput, NumberInput as NumberInput$1, Button as Button$2, Portal, Transition, Overlay } from '@mantine/core';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
6
|
import { createFormContext } from '@mantine/form';
|
|
7
|
-
import { u as useTranslations } from './index-
|
|
8
|
-
import { T as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-71f91efc.js';
|
|
13
|
-
import { D as DatePicker } from './index-1c715e77.js';
|
|
14
|
-
import { M as MAPPED_LOCALE } from './utils-b00b9cdb.js';
|
|
7
|
+
import { u as useTranslations } from './index-edd98830.js';
|
|
8
|
+
import { T as Text } from './index-c587e0f0.js';
|
|
9
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-2e41ac6b.js';
|
|
10
|
+
import { D as DatePicker } from './index-b0c80fc5.js';
|
|
11
|
+
import { M as MAPPED_LOCALE } from './utils-063d5573.js';
|
|
15
12
|
import '@mantine/dates';
|
|
16
|
-
import { Z as ZINDEX_SSO } from './index-
|
|
17
|
-
import './index-
|
|
18
|
-
import { C as CommonGAssets } from './index-
|
|
19
|
-
import './useMantineLocale-
|
|
20
|
-
import { B as Button$1 } from './index-
|
|
21
|
-
import './index.styles-
|
|
13
|
+
import { Z as ZINDEX_SSO } from './index-ac444850.js';
|
|
14
|
+
import './index-067e0be1.js';
|
|
15
|
+
import { C as CommonGAssets } from './index-3a4052c7.js';
|
|
16
|
+
import './useMantineLocale-19c891e6.js';
|
|
17
|
+
import { B as Button$1 } from './index-fd8aa171.js';
|
|
18
|
+
import './index.styles-0fb6722d.js';
|
|
19
|
+
import { T as TranslationsContext } from './translationsContext-1afbf924.js';
|
|
22
20
|
import { useClickOutside } from '@mantine/hooks';
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
21
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-fd96839b.js';
|
|
22
|
+
import './other-6ba313a1.js';
|
|
23
|
+
import './index-8a426614.js';
|
|
24
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-8c4362e3.js';
|
|
25
|
+
import { B as Button } from './index-67fadae7.js';
|
|
26
|
+
import { H as Heading$1 } from './index-9c2c33dc.js';
|
|
28
27
|
import { v1 } from 'uuid';
|
|
29
|
-
import { i as isVideo } from './index-
|
|
30
|
-
import { D as DrawerComponent } from './index-
|
|
31
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
28
|
+
import { i as isVideo } from './index-521a997e.js';
|
|
29
|
+
import { D as DrawerComponent } from './index-36914dd0.js';
|
|
30
|
+
import { u as useScreenSize } from './useScreenSize-fdb63765.js';
|
|
32
31
|
import { createPortal } from 'react-dom';
|
|
33
32
|
import { css } from '@emotion/react';
|
|
34
33
|
import styled from '@emotion/styled';
|
|
35
34
|
import { theme } from './miscTheme.js';
|
|
36
|
-
import {
|
|
35
|
+
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
36
|
+
import { C as Close } from './Close-e79a04cc.js';
|
|
37
37
|
import '@hhgtech/icons/other';
|
|
38
38
|
import '@mantine/carousel';
|
|
39
|
-
import './Locale-
|
|
39
|
+
import './Locale-2342195e.js';
|
|
40
40
|
import 'classnames';
|
|
41
|
-
import './useUniqueId-
|
|
41
|
+
import './useUniqueId-8ea18781.js';
|
|
42
42
|
import './constantsSite.js';
|
|
43
43
|
import '@hhgtech/icons/core';
|
|
44
44
|
import 'date-fns/locale';
|
|
@@ -135,38 +135,6 @@ const LEAD_TIMEZONE_DATA = {
|
|
|
135
135
|
9: 'Asia/Manila', // Philippines / Filipinos Site
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
-
const SSO_MAP_LEAD = ['name', 'email', 'birthday', 'phone', 'gender'];
|
|
139
|
-
const mappingSSOToLead = (userInfoProps) => {
|
|
140
|
-
if (!(userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id)) {
|
|
141
|
-
return null;
|
|
142
|
-
}
|
|
143
|
-
const user = {};
|
|
144
|
-
for (const ssoKey of SSO_MAP_LEAD) {
|
|
145
|
-
if (ssoKey in userInfoProps &&
|
|
146
|
-
typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps[ssoKey]) !== 'undefined') {
|
|
147
|
-
const initValue = userInfoProps[ssoKey];
|
|
148
|
-
if (ssoKey === 'birthday') {
|
|
149
|
-
const dob = dayjs(initValue, 'YYYY-MM-DD', true);
|
|
150
|
-
if (dob.isValid()) {
|
|
151
|
-
user.birthday = dob;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
else if (ssoKey === 'gender') {
|
|
155
|
-
user.gender = initValue.toString();
|
|
156
|
-
}
|
|
157
|
-
else if (ssoKey === 'phone' &&
|
|
158
|
-
typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code']) !== 'undefined') {
|
|
159
|
-
const areaCode = userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code'];
|
|
160
|
-
user.phone = areaCode + initValue;
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
user[ssoKey] = initValue;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
return Object.values(user).length ? user : null;
|
|
168
|
-
};
|
|
169
|
-
|
|
170
138
|
class Store {
|
|
171
139
|
constructor() {
|
|
172
140
|
this.apiLeadUrl = 'https://dev.leadgen.hellobacsi.com/';
|
|
@@ -385,9 +353,8 @@ const clearCacheUsedEmailOrPhone = () => {
|
|
|
385
353
|
|
|
386
354
|
// You can give context variables any name
|
|
387
355
|
const [LeadFormProvider$1, useLeadFormContext$1, useLeadForm$1] = createFormContext();
|
|
388
|
-
const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [],
|
|
356
|
+
const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
|
|
389
357
|
const { t } = useTranslations();
|
|
390
|
-
const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
|
|
391
358
|
useEffect(() => {
|
|
392
359
|
if (!window.intlTelInputUtils) {
|
|
393
360
|
require('intl-tel-input/build/js/utils');
|
|
@@ -547,14 +514,13 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
547
514
|
validateInputOnChange: true,
|
|
548
515
|
clearInputErrorOnChange: true,
|
|
549
516
|
validate: validateObj,
|
|
550
|
-
initialValues: userInfo,
|
|
551
517
|
});
|
|
552
518
|
const formRef = useRef(form);
|
|
553
519
|
formRef.current = form;
|
|
554
520
|
return { form, validateObj };
|
|
555
521
|
};
|
|
556
522
|
|
|
557
|
-
const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty,
|
|
523
|
+
const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, }) => {
|
|
558
524
|
var _a, _b;
|
|
559
525
|
const extraFields = campaign.extra_fields;
|
|
560
526
|
const campaignId = campaign.id;
|
|
@@ -572,7 +538,6 @@ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, sh
|
|
|
572
538
|
validatingEmailRef,
|
|
573
539
|
campaignId,
|
|
574
540
|
campaign_subot_id,
|
|
575
|
-
userInfo,
|
|
576
541
|
});
|
|
577
542
|
const [showOtpPhone, setShowOtpPhone] = useState(null);
|
|
578
543
|
const [formRef, setFormRef] = useState(null);
|
|
@@ -1582,9 +1547,8 @@ const GoogleLocation = (props) => {
|
|
|
1582
1547
|
|
|
1583
1548
|
// You can give context variables any name
|
|
1584
1549
|
const [LeadFormProvider, useLeadFormContext, useLeadForm] = createFormContext();
|
|
1585
|
-
const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [],
|
|
1550
|
+
const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
|
|
1586
1551
|
const { t } = useTranslations();
|
|
1587
|
-
const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
|
|
1588
1552
|
const validateObj = useMemo(() => {
|
|
1589
1553
|
const InputBlocks = [
|
|
1590
1554
|
'TextBlock',
|
|
@@ -1740,7 +1704,6 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1740
1704
|
validateInputOnChange: true,
|
|
1741
1705
|
clearInputErrorOnChange: true,
|
|
1742
1706
|
validate: validateObj,
|
|
1743
|
-
initialValues: userInfo,
|
|
1744
1707
|
});
|
|
1745
1708
|
const formRef = useRef(form);
|
|
1746
1709
|
formRef.current = form;
|
|
@@ -2100,20 +2063,20 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2100
2063
|
case 'SubtitleBlock':
|
|
2101
2064
|
return (React__default.createElement(SubtitleBlock, { key: index, align: align }, value));
|
|
2102
2065
|
case 'TextBlock':
|
|
2103
|
-
return (React__default.createElement(TextField, {
|
|
2104
|
-
React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder,
|
|
2066
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2067
|
+
React__default.createElement(TextInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder,
|
|
2105
2068
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2106
2069
|
// onChangeRaw={(e) => inputOnChange('text', e)}
|
|
2107
2070
|
label: placeholder, "data-control": "text", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2108
2071
|
case 'NumberBlock':
|
|
2109
|
-
return (React__default.createElement(TextField, {
|
|
2110
|
-
React__default.createElement(NumberInput$1, Object.assign({ withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder,
|
|
2072
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2073
|
+
React__default.createElement(NumberInput$1, Object.assign({ key: index, withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder,
|
|
2111
2074
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2112
2075
|
// onChange={(e) => inputOnChange('number', e)}
|
|
2113
2076
|
label: placeholder, "data-control": "number", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2114
2077
|
case 'EmailBlock':
|
|
2115
|
-
return (React__default.createElement(TextField, {
|
|
2116
|
-
React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false,
|
|
2078
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2079
|
+
React__default.createElement(TextInput, Object.assign({ key: index, withAsterisk: required, spellCheck: false,
|
|
2117
2080
|
// type="email"
|
|
2118
2081
|
placeholder: placeholder,
|
|
2119
2082
|
// className="lead-modal__form-control leadgen-form_field"
|
|
@@ -2124,22 +2087,26 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2124
2087
|
case 'PhoneBlock': {
|
|
2125
2088
|
const id = popupId + '-' + value + '-' + index;
|
|
2126
2089
|
const _b = form.getInputProps(value), { error } = _b, formPhoneInputWrapper = __rest(_b, ["error"]);
|
|
2127
|
-
return (React__default.createElement(TextField, {
|
|
2090
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: clsx('lead-modal__form-control leadgen-form_field', {
|
|
2128
2091
|
'leadgen-form_field_error': !!error,
|
|
2129
2092
|
}) },
|
|
2130
|
-
React__default.createElement(Input$1.Wrapper, { size: "md", withAsterisk: required, label: placeholder, "data-invalid": !!error, labelProps: {
|
|
2093
|
+
React__default.createElement(Input$1.Wrapper, Object.assign({ size: "md", withAsterisk: required, key: index, label: placeholder, "data-invalid": !!error, labelProps: {
|
|
2094
|
+
htmlFor: id,
|
|
2095
|
+
}, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, formPhoneInputWrapper, { error: error }),
|
|
2131
2096
|
React__default.createElement("div", { className: "mantine-Input-wrapper" },
|
|
2132
|
-
React__default.createElement(Phone,
|
|
2097
|
+
React__default.createElement(Phone, { className: "mantine-Input-input", name: value, spellCheck: false, type: "tel", placeholder: placeholder, onChange: (v) => {
|
|
2098
|
+
form.setFieldValue(value, v);
|
|
2099
|
+
},
|
|
2133
2100
|
// onBlur={(e) => inputOnBlur('tel', e)}
|
|
2134
|
-
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" }
|
|
2101
|
+
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" })))));
|
|
2135
2102
|
}
|
|
2136
2103
|
case 'LocationBlock': {
|
|
2137
|
-
return (React__default.createElement(TextField, {
|
|
2138
|
-
React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required, name: value, placeholder: placeholder, label: placeholder, "data-control": "text", locale: locale, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2104
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2105
|
+
React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required, key: index, name: value, placeholder: placeholder, label: placeholder, "data-control": "text", locale: locale, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2139
2106
|
}
|
|
2140
2107
|
case 'DateBlock':
|
|
2141
|
-
return (React__default.createElement(TextField, {
|
|
2142
|
-
React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required, type: "default", name: value, placeholder: placeholder, label: placeholder, inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2108
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2109
|
+
React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required, key: index, type: "default", name: value, placeholder: placeholder, label: placeholder, inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2143
2110
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2144
2111
|
children,
|
|
2145
2112
|
React__default.createElement("input", { type: "hidden", "data-control": "date", name: value, value: formValue })));
|
|
@@ -2152,13 +2119,13 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2152
2119
|
onOtherSubmit === null || onOtherSubmit === void 0 ? void 0 : onOtherSubmit();
|
|
2153
2120
|
} }, value))));
|
|
2154
2121
|
case 'CheckboxBlock':
|
|
2155
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox"
|
|
2122
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
|
|
2156
2123
|
isSendMailChimp && (React__default.createElement("div", { style: {
|
|
2157
2124
|
display: 'none',
|
|
2158
2125
|
}, "data-name": value + '-mailchimp' })),
|
|
2159
2126
|
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk: required,
|
|
2160
2127
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2161
|
-
label: placeholder, size: "md", sx: {
|
|
2128
|
+
key: index, label: placeholder, size: "md", sx: {
|
|
2162
2129
|
display: 'flex',
|
|
2163
2130
|
flexDirection: 'column',
|
|
2164
2131
|
flexWrap: 'wrap',
|
|
@@ -2167,19 +2134,17 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2167
2134
|
return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
|
|
2168
2135
|
} }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Checkbox, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "checkbox" }))))));
|
|
2169
2136
|
case 'RadioBlock':
|
|
2170
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio"
|
|
2137
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio" },
|
|
2171
2138
|
isSendMailChimp && (React__default.createElement(Input$1, { type: "hidden", name: value + '-mailchimp', value: isSendMailChimp })),
|
|
2172
2139
|
React__default.createElement(Radio.Group, Object.assign({ withAsterisk: required,
|
|
2173
2140
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2174
|
-
label: placeholder, size: "md", inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2141
|
+
key: index, label: placeholder, size: "md", inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2175
2142
|
return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
|
|
2176
2143
|
} }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Radio, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
|
|
2177
2144
|
case 'DropdownBlock':
|
|
2178
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field"
|
|
2145
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2179
2146
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
|
|
2180
|
-
React__default.createElement(Select
|
|
2181
|
-
// className="lead-modal__form-control leadgen-form_field"
|
|
2182
|
-
, Object.assign({
|
|
2147
|
+
React__default.createElement(Select, Object.assign({ key: index,
|
|
2183
2148
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2184
2149
|
label: placeholder, placeholder: placeholder, withAsterisk: required, name: value, data: listQuestion.map((l) => ({
|
|
2185
2150
|
value: l.value,
|
|
@@ -2187,9 +2152,9 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2187
2152
|
})) }, form.getInputProps(value)))));
|
|
2188
2153
|
case 'TncBlock':
|
|
2189
2154
|
const _c = form.getInputProps(`TNC-${b.id}`), { error } = _c, tncInputProps = __rest(_c, ["error"]);
|
|
2190
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox"
|
|
2155
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
|
|
2191
2156
|
React__default.createElement(Input$1.Wrapper, { error: error },
|
|
2192
|
-
React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + b.id, label: React__default.createElement("p", { className: "lead-modal__tnc-link", dangerouslySetInnerHTML: { __html: data.valueHTML } }), className: "tnc-block", "data-control": "checkbox" }, tncInputProps)))));
|
|
2157
|
+
React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + b.id, key: b.id, label: React__default.createElement("p", { className: "lead-modal__tnc-link", dangerouslySetInnerHTML: { __html: data.valueHTML } }), className: "tnc-block", "data-control": "checkbox" }, tncInputProps)))));
|
|
2193
2158
|
}
|
|
2194
2159
|
return null;
|
|
2195
2160
|
})));
|
|
@@ -2333,7 +2298,7 @@ const EmptyIcon = (props) => {
|
|
|
2333
2298
|
// image: campaignShow.image
|
|
2334
2299
|
// imageDestkop: campaignShow.image_desktop
|
|
2335
2300
|
const LEADGEN_LIMIT_LIGHTBOXB = 6;
|
|
2336
|
-
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty,
|
|
2301
|
+
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty, }) => {
|
|
2337
2302
|
var _a, _b, _c;
|
|
2338
2303
|
const { t } = useTranslations();
|
|
2339
2304
|
const { isMobile } = useScreenSize();
|
|
@@ -2401,7 +2366,6 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
2401
2366
|
validatingEmailRef,
|
|
2402
2367
|
campaignId,
|
|
2403
2368
|
campaign_subot_id,
|
|
2404
|
-
userInfo,
|
|
2405
2369
|
});
|
|
2406
2370
|
const middlewareOnSubmit = (e) => {
|
|
2407
2371
|
e.preventDefault();
|
|
@@ -3042,7 +3006,7 @@ function getCategoryLevel(t = 'Xin chao {{category_2}} extra') {
|
|
|
3042
3006
|
return null;
|
|
3043
3007
|
}
|
|
3044
3008
|
}
|
|
3045
|
-
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty,
|
|
3009
|
+
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty, }) => {
|
|
3046
3010
|
var _a, _b;
|
|
3047
3011
|
const { apiUrl, siteDomain } = useContext(LeadGenContext);
|
|
3048
3012
|
useEffect(() => {
|
|
@@ -3161,7 +3125,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
|
|
|
3161
3125
|
currentLayout == 'Fullscreen' ||
|
|
3162
3126
|
currentLayout == 'Sidebar' ||
|
|
3163
3127
|
currentLayout == 'Slider') {
|
|
3164
|
-
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty
|
|
3128
|
+
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }));
|
|
3165
3129
|
}
|
|
3166
3130
|
else if (currentLayout.includes('Skin')) {
|
|
3167
3131
|
return (React__default.createElement(SkinLayout, { popupId: popupIdRef.current, link: actionBlocks.linkButtonBlock.data.url, linkNewTab: !!actionBlocks.linkButtonBlock.data.newtab, linkText: actionBlocks.linkButtonBlock.data.value, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, currentLayout: currentLayout }));
|
|
@@ -3170,7 +3134,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
|
|
|
3170
3134
|
};
|
|
3171
3135
|
|
|
3172
3136
|
// mount css
|
|
3173
|
-
const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler,
|
|
3137
|
+
const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, }) => {
|
|
3174
3138
|
var _a;
|
|
3175
3139
|
const scrollEventHandlerRef = useRef();
|
|
3176
3140
|
const leadStartTimeRef = useRef(Date.now());
|
|
@@ -3438,7 +3402,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
|
|
|
3438
3402
|
}
|
|
3439
3403
|
}, [showCampaign]);
|
|
3440
3404
|
return (React__default.createElement(LeadGenContext.Provider, { value: { apiUrl, siteDomain, siteId, locale } },
|
|
3441
|
-
React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty
|
|
3405
|
+
React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
|
|
3442
3406
|
React__default.createElement(Box, { sx: { position: 'fixed', zIndex: ZINDEX_SSO - 9e6 } },
|
|
3443
3407
|
React__default.createElement(Transition, { mounted: Boolean(((_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.popupVersion) === '2.1'), transition: "fade", duration: 600, timingFunction: "ease" }, (styles) => {
|
|
3444
3408
|
var _a;
|
|
@@ -3446,7 +3410,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
|
|
|
3446
3410
|
!!showCampaign.extra_fields.currentLayout &&
|
|
3447
3411
|
!showCampaign.extra_fields.currentLayout.includes('Inline') &&
|
|
3448
3412
|
!showCampaign.extra_fields.currentLayout.includes('Sidebar') && (React__default.createElement(Overlay, { color: "#000", opacity: 0.6, center: true, zIndex: 400, pos: 'fixed', onClick: () => onClose() })),
|
|
3449
|
-
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty
|
|
3413
|
+
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty })))));
|
|
3450
3414
|
})))))));
|
|
3451
3415
|
};
|
|
3452
3416
|
const LeadGen = _LeadGen;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { memo, useMemo } from 'react';
|
|
2
|
-
import { C as CommonGAssets } from './index-
|
|
3
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
2
|
+
import { C as CommonGAssets } from './index-3a4052c7.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-fdb63765.js';
|
|
4
4
|
|
|
5
5
|
const _LogoIcon = ({ type, width, height }) => {
|
|
6
6
|
const data = useMemo(() => {
|
package/build/esm/mantine.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-
|
|
2
|
-
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-
|
|
3
|
-
export { D as DatePicker } from './index-
|
|
4
|
-
export { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
export { B as Button } from './index-
|
|
7
|
-
export { I as Indicator } from './index-
|
|
1
|
+
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-2e41ac6b.js';
|
|
2
|
+
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-2e41ac6b.js';
|
|
3
|
+
export { D as DatePicker } from './index-b0c80fc5.js';
|
|
4
|
+
export { T as Text } from './index-c587e0f0.js';
|
|
5
|
+
import { B as Button } from './index-fd8aa171.js';
|
|
6
|
+
export { B as Button } from './index-fd8aa171.js';
|
|
7
|
+
export { I as Indicator } from './index-2d69c8bb.js';
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
|
-
export { M as Modal } from './index-
|
|
10
|
-
import { _ as __rest } from './tslib.es6-
|
|
9
|
+
export { M as Modal } from './index-85708071.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-69e90f6a.js';
|
|
11
11
|
import { MantineProvider as MantineProvider$1, Badge as Badge$1, LoadingOverlay as LoadingOverlay$1, clsx, Title, Text, Button as Button$1 } from '@mantine/core';
|
|
12
12
|
import { theme } from './miscTheme.js';
|
|
13
|
-
export { S as Spoiler } from './index-
|
|
13
|
+
export { S as Spoiler } from './index-91a2eccf.js';
|
|
14
14
|
import { useDebouncedValue } from '@mantine/hooks';
|
|
15
|
-
export { S as Switch } from './index-
|
|
16
|
-
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-
|
|
17
|
-
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-
|
|
18
|
-
export { O as OTHER_THEME_CONFIG } from './other-
|
|
19
|
-
export { T as Tabs } from './index-
|
|
15
|
+
export { S as Switch } from './index-b05b9d7a.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-19c891e6.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-19c891e6.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-6ba313a1.js';
|
|
19
|
+
export { T as Tabs } from './index-8a426614.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-3a4052c7.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-2342195e.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-fdb63765.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-fd96839b.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-067e0be1.js';
|
|
30
|
+
import './index-ac444850.js';
|
|
31
31
|
import 'date-fns/locale';
|
|
32
32
|
import './constantsSite.js';
|
|
33
33
|
import './constantsRiskScreener.js';
|
|
34
34
|
import 'classnames';
|
|
35
|
-
import './useUniqueId-
|
|
35
|
+
import './useUniqueId-8ea18781.js';
|
|
36
36
|
import '@hhgtech/icons/core';
|
|
37
37
|
import '@mantine/dates';
|
|
38
|
-
import './index.styles-
|
|
39
|
-
import './index-
|
|
40
|
-
import './translationsContext-
|
|
38
|
+
import './index.styles-0fb6722d.js';
|
|
39
|
+
import './index-edd98830.js';
|
|
40
|
+
import './translationsContext-1afbf924.js';
|
|
41
41
|
import '@mantine/notifications';
|
|
42
42
|
import 'dayjs';
|
|
43
43
|
|
package/build/esm/misc.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-
|
|
2
|
-
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-
|
|
1
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-3ab8c369.js';
|
|
2
|
+
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-6e0cbd64.js';
|
|
3
3
|
export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './useMantineLocale-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
6
|
+
import './useMantineLocale-19c891e6.js';
|
|
7
|
+
import './index-067e0be1.js';
|
|
8
|
+
import './index-3a4052c7.js';
|
|
9
9
|
export { MBTheme, theme } from './miscTheme.js';
|
|
10
|
-
export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-
|
|
11
|
-
import './index-
|
|
12
|
-
export { a as abbreviateNumber, f as formatPill } from './dataTransform-
|
|
13
|
-
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-
|
|
10
|
+
export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-fd96839b.js';
|
|
11
|
+
import './index-ac444850.js';
|
|
12
|
+
export { a as abbreviateNumber, f as formatPill } from './dataTransform-35e0f5ef.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-cd53b9d6.js';
|
|
14
14
|
export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
|
|
15
15
|
export { getSocialList } from './miscGetSocialList.js';
|
|
16
16
|
export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
|
|
17
17
|
import 'dayjs';
|
|
18
18
|
import '@emotion/react';
|
|
19
|
-
import './tslib.es6-
|
|
19
|
+
import './tslib.es6-69e90f6a.js';
|
|
20
20
|
import '@mantine/notifications';
|
|
21
|
-
import './other-
|
|
22
|
-
import './Locale-
|
|
21
|
+
import './other-6ba313a1.js';
|
|
22
|
+
import './Locale-2342195e.js';
|
|
23
23
|
import './constantsDomainLocales.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
25
|
import 'date-fns/locale';
|
|
26
26
|
import './constantsSite.js';
|
|
27
27
|
import './constantsRiskScreener.js';
|
|
28
|
-
import './core-
|
|
29
|
-
import './WhatsApp-
|
|
30
|
-
import './index-
|
|
31
|
-
import './index-
|
|
28
|
+
import './core-938ff907.js';
|
|
29
|
+
import './WhatsApp-0d9155f4.js';
|
|
30
|
+
import './index-8591b22e.js';
|
|
31
|
+
import './index-bb8e1155.js';
|
|
32
32
|
import 'js-cookie';
|
|
33
33
|
import 'uuid';
|
|
34
34
|
import 'lodash/throttle';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-
|
|
3
|
-
import { g as getDataWithCache } from './core-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-69e90f6a.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-cd53b9d6.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-938ff907.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-2342195e.js';
|
|
6
6
|
import './constantsIsProduction.js';
|
|
7
7
|
|
|
8
8
|
const formatHealthTool = (healthTool, locale) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { _ as __rest } from './tslib.es6-
|
|
3
|
-
import { W as WhatsApp, I as Instagram } from './WhatsApp-
|
|
4
|
-
import { S as SocialType } from './index-
|
|
5
|
-
import { g as getHelloSitesUrl } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { L as LOCALE } from './Locale-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
2
|
+
import { _ as __rest } from './tslib.es6-69e90f6a.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-0d9155f4.js';
|
|
4
|
+
import { S as SocialType } from './index-067e0be1.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-8591b22e.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-3a4052c7.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-2342195e.js';
|
|
8
|
+
import './index-bb8e1155.js';
|
|
9
|
+
import './index-ac444850.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import './constantsSite.js';
|
|
12
12
|
import './constantsDomainLocales.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { createContext, useState, useEffect, useMemo } from 'react';
|
|
2
2
|
import throttle from 'lodash/throttle';
|
|
3
|
-
import { B as Breakpoints } from './utils-
|
|
3
|
+
import { B as Breakpoints } from './utils-fd96839b.js';
|
|
4
4
|
|
|
5
5
|
const ScreenSizeContext = createContext({
|
|
6
6
|
isInit: true,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-69e90f6a.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-
|
|
4
|
-
import './index-
|
|
3
|
+
import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-8944ece4.js';
|
|
4
|
+
import './index-c587e0f0.js';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './other-
|
|
6
|
+
import './other-6ba313a1.js';
|
|
7
7
|
import './miscTheme.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-fd96839b.js';
|
|
11
11
|
|
|
12
12
|
const MobileBottomNavigationWrapper = (_a) => {
|
|
13
13
|
var { children, isCollapsed = false, template = 'homepage' } = _a, rest = __rest(_a, ["children", "isCollapsed", "template"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-69e90f6a.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-c587e0f0.js';
|
|
4
4
|
import './miscTheme.js';
|
|
5
|
-
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-
|
|
5
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-8944ece4.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './other-
|
|
7
|
+
import './other-6ba313a1.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-fd96839b.js';
|