@hhgtech/hhg-components 1.29.402-beta-2 → 1.29.402-beta-4
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-0f4db13a.js → InputDate-53639644.js} +3 -3
- package/build/{LastPeriod-9ac168f7.js → LastPeriod-d8700672.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1e59fcb6.js → MobileBottomNavigationIcon-a816c8b0.js} +3 -3
- package/build/{Spinner-049ad97c.js → Spinner-40d8ebc8.js} +1 -1
- package/build/{WhatsApp-406753f5.js → WhatsApp-93a0c63f.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/molecules/impressionTrackingWrapper/index.d.ts +2 -1
- package/build/components.js +97 -97
- package/build/{constants-95469593.js → constants-0568a551.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-820ef7c0.js → core-8705d8f1.js} +1 -1
- package/build/{dataTransform-20f4db39.js → dataTransform-089f4711.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-2234f86a.js → editor-21cab58e.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-fcbc1a34.js → InputDate-35854595.js} +3 -3
- package/build/esm/{LastPeriod-6ded23a7.js → LastPeriod-d0d09cb3.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-818be6de.js → MobileBottomNavigationIcon-52cdb8fc.js} +3 -3
- package/build/esm/{Spinner-f6227071.js → Spinner-ae59654e.js} +1 -1
- package/build/esm/{WhatsApp-dba3504c.js → WhatsApp-f7132b36.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/molecules/impressionTrackingWrapper/index.d.ts +2 -1
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-e2b46567.js → constants-8e22c423.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-7565866f.js → core-8740936f.js} +1 -1
- package/build/esm/{dataTransform-e8323710.js → dataTransform-ae28c2fd.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-7bbb6c34.js → editor-8f9d219b.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-e9c77c5b.js → healthTools-a07e4f28.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.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-228167f1.js → index-01514bd9.js} +4 -4
- package/build/esm/{index-db1958d8.js → index-07044954.js} +1 -1
- package/build/esm/{index-1634e0e8.js → index-07343770.js} +1 -1
- package/build/esm/{index-9224c242.js → index-18f1ac7e.js} +10 -10
- package/build/esm/{index-40f845e7.js → index-1a13cd33.js} +6 -6
- package/build/esm/{index-e1607a67.js → index-1ad88096.js} +16 -16
- package/build/esm/{index-b016366e.js → index-1bfadd57.js} +2 -2
- package/build/esm/{index-0c2b0368.js → index-215711d6.js} +1 -1
- package/build/esm/{index-2886979c.js → index-232505e4.js} +2 -2
- package/build/esm/{index-95356278.js → index-24b5abd0.js} +11 -11
- package/build/esm/{index-38e78a86.js → index-2956aa40.js} +2 -2
- package/build/esm/{index-0c088c54.js → index-325f45d8.js} +30 -30
- package/build/esm/{index-54c01351.js → index-34fceece.js} +7 -7
- package/build/esm/{index-b25cfee9.js → index-360b32a1.js} +1 -1
- package/build/esm/{index-84377777.js → index-3ace15ab.js} +1 -1
- package/build/esm/{index-6d3c5aa0.js → index-3b2a0f90.js} +17 -17
- package/build/esm/{index-932f592b.js → index-3bb163ec.js} +6 -6
- package/build/esm/{index-f4f4acaf.js → index-435de5fb.js} +1 -1
- package/build/esm/{index-82885041.js → index-44b23d6f.js} +2 -2
- package/build/esm/{index-e689e152.js → index-490e1aac.js} +2 -2
- package/build/esm/{index-431cec75.js → index-4dfa0354.js} +6 -6
- package/build/esm/{index-8f8d974e.js → index-538411d7.js} +22 -22
- package/build/esm/{index-34210312.js → index-590541f7.js} +2 -2
- package/build/esm/{index-e0b1d507.js → index-59a2009f.js} +3 -3
- package/build/esm/{index-243ad9da.js → index-59e1fa1d.js} +2 -2
- package/build/esm/{index-766a0e0f.js → index-5a7d9cc4.js} +31 -31
- package/build/esm/{index-572e2fc3.js → index-67d0cf37.js} +3 -3
- package/build/esm/{index-99e2abb2.js → index-6b1fb636.js} +5 -5
- package/build/esm/{index-d85cc105.js → index-6d739afc.js} +3 -3
- package/build/esm/{index-28d9146f.js → index-6ffe40c5.js} +5 -5
- package/build/esm/{index-01c117e8.js → index-72061b7c.js} +13 -13
- package/build/esm/{index-0dcef7b4.js → index-72b846db.js} +7 -7
- package/build/esm/{index-d9f4c00c.js → index-7367c512.js} +18 -18
- package/build/esm/{index-222cd61c.js → index-7a846088.js} +6 -6
- package/build/esm/{index-d83d015f.js → index-7d63e241.js} +1 -1
- package/build/esm/{index-1f841d85.js → index-8196b445.js} +16 -16
- package/build/esm/{index-aa4ddc0f.js → index-865ab10c.js} +17 -17
- package/build/esm/{index-022a1bee.js → index-86bc973d.js} +21 -21
- package/build/esm/{index-0bfabcfb.js → index-8938f8ab.js} +17 -17
- package/build/esm/{index-21acdfcb.js → index-8a3d0d81.js} +2 -2
- package/build/esm/{index-7abcd4bd.js → index-8b178fa6.js} +11 -11
- package/build/esm/{index-b89b93da.js → index-8d877939.js} +24 -24
- package/build/esm/{index-ae06d1b2.js → index-8f8524f4.js} +2 -2
- package/build/esm/{index-23b7c630.js → index-93dba981.js} +13 -13
- package/build/esm/{index-f5317565.js → index-96252d60.js} +3 -3
- package/build/esm/{index-95196145.js → index-99ae95da.js} +25 -25
- package/build/esm/{index-ed86b8f8.js → index-9a03f7da.js} +3 -3
- package/build/esm/{index-2bbe223e.js → index-9ef94db0.js} +2 -2
- package/build/esm/{index-7b760a68.js → index-a621b237.js} +16 -16
- package/build/esm/{index-9b4dc7d5.js → index-ad6a1f43.js} +2 -2
- package/build/esm/{index-47fb00f8.js → index-b40e76e0.js} +13 -13
- package/build/esm/{index-21955a1a.js → index-b86c12c5.js} +2 -2
- package/build/esm/{index-218a69fa.js → index-c8734c33.js} +15 -15
- package/build/esm/{index-6fcdba9b.js → index-cb12c7b8.js} +13 -13
- package/build/esm/{index-7ab4272e.js → index-cea9f9d6.js} +1 -1
- package/build/esm/{index-3e0c90f2.js → index-dc318d34.js} +17 -17
- package/build/esm/{index-825c7595.js → index-df810b27.js} +2 -2
- package/build/esm/{index-9a0fda9f.js → index-e530d64c.js} +16 -16
- package/build/esm/{index-da19df57.js → index-e5d03ab0.js} +1 -1
- package/build/esm/{index-ef03a3c8.js → index-e86e216e.js} +6 -6
- package/build/esm/{index-89ee0668.js → index-ec956b49.js} +2 -2
- package/build/esm/{index-5eb93891.js → index-edbdb40c.js} +4 -4
- package/build/esm/{index-d0b2fd33.js → index-ee7e5462.js} +18 -18
- package/build/esm/{index-f3d8dc71.js → index-fc568334.js} +3 -3
- package/build/esm/{index-f9663d21.js → index-fd456360.js} +32 -32
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-52248c10.js → labelSorting-8448636c.js} +4 -4
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +13 -9
- package/build/esm/lead/layouts/inline.d.ts +5 -3
- package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/esm/lead/services/index.d.ts +14 -0
- package/build/esm/lead.js +119 -112
- package/build/esm/{logoIcon-15290840.js → logoIcon-10150032.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +26 -26
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-ad01438d.js → post-f9506505.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2.js +30 -30
- package/build/esm/{store-e64c0fec.js → store-d54ef209.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-ebe6d0cb.js → surveyThankyouCard-66887edc.js} +5 -5
- package/build/esm/together.js +56 -56
- 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 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-9da008c6.js → translationsProvider-36c4f946.js} +1 -1
- package/build/esm/{treePopoverMenu-b1962a04.js → treePopoverMenu-1b67add7.js} +19 -19
- package/build/esm/{types-70f5924b.js → types-4be1d17f.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-61fb8f64.js → useCategory-f13b30b7.js} +5 -5
- package/build/esm/{useHealthToolCache-0176c5b4.js → useHealthToolCache-d2011b8d.js} +1 -1
- package/build/esm/{useMantineLocale-d414da46.js → useMantineLocale-88e62144.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-bcb8d5fe.js → usePlacesAutocomplete-c722d235.js} +1 -1
- package/build/esm/{useScreenSize-ad5b74e5.js → useScreenSize-62e99dd7.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-6b931ca6.js → utils-04bdf070.js} +3 -3
- package/build/esm/{utils-e2554287.js → utils-2a69d200.js} +2 -2
- package/build/esm/{utils-f87b8801.js → utils-b4ff3f1f.js} +2 -2
- package/build/esm/{utils-55c6b45d.js → utils-d193dbec.js} +5 -5
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-445a04ec.js → healthTools-7b572e01.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-5f2c96f2.js → index-028d46a7.js} +16 -16
- package/build/{index-a1762467.js → index-0ba4f6d2.js} +7 -7
- package/build/{index-6ebdc8b6.js → index-0cded76b.js} +13 -13
- package/build/{index-59bb1b40.js → index-11eca80b.js} +32 -32
- package/build/{index-d20a3d96.js → index-14765fbb.js} +13 -13
- package/build/{index-c50748dc.js → index-18ed7b3b.js} +2 -2
- package/build/{index-fabb5fef.js → index-1a43ff55.js} +2 -2
- package/build/{index-25620da9.js → index-1b74e24b.js} +1 -1
- package/build/{index-0a741b18.js → index-1d2c6143.js} +13 -13
- package/build/{index-c2455486.js → index-2037914a.js} +3 -3
- package/build/{index-b22653c4.js → index-209520a9.js} +6 -6
- package/build/{index-0a8e7d37.js → index-236f2991.js} +2 -2
- package/build/{index-958565ef.js → index-33bf446b.js} +1 -1
- package/build/{index-91b95c7a.js → index-35d960dc.js} +17 -17
- package/build/{index-09869dfd.js → index-388cb10d.js} +10 -10
- package/build/{index-0628d2ea.js → index-3dcb9f32.js} +6 -6
- package/build/{index-acf2f720.js → index-3e331d8a.js} +18 -18
- package/build/{index-9b5531a2.js → index-41317410.js} +6 -6
- package/build/{index-6e8d0776.js → index-44b615fa.js} +2 -2
- package/build/{index-0ffed5cf.js → index-4757310a.js} +5 -5
- package/build/{index-c2dbad5b.js → index-4a784cfb.js} +16 -16
- package/build/{index-6f7907a9.js → index-4bcd6cf8.js} +5 -5
- package/build/{index-8882de29.js → index-4e685660.js} +18 -18
- package/build/{index-14495570.js → index-4fa409e9.js} +21 -21
- package/build/{index-e4f24955.js → index-5219fe6c.js} +1 -1
- package/build/{index-2f6c95c0.js → index-59d707b0.js} +6 -6
- package/build/{index-3cf9fbf4.js → index-6d73836f.js} +17 -17
- package/build/{index-0f808537.js → index-721431d8.js} +11 -11
- package/build/{index-d0a2f32b.js → index-728d24fd.js} +1 -1
- package/build/{index-784e70b0.js → index-765eb2ec.js} +4 -4
- package/build/{index-2e8284a9.js → index-7bfbc5ba.js} +2 -2
- package/build/{index-ec237d16.js → index-8001598c.js} +1 -1
- package/build/{index-cbce891a.js → index-81c9b3e1.js} +3 -3
- package/build/{index-05eeb683.js → index-87822903.js} +2 -2
- package/build/{index-252f0586.js → index-87a1713d.js} +1 -1
- package/build/{index-9ae76386.js → index-88d11de3.js} +2 -2
- package/build/{index-1d48661b.js → index-89d09f17.js} +2 -2
- package/build/{index-aae11b5a.js → index-9fd56e08.js} +17 -17
- package/build/{index-c9883562.js → index-a85fabbf.js} +17 -17
- package/build/{index-feaa82fd.js → index-aa39e3e8.js} +2 -2
- package/build/{index-d805eba0.js → index-ac07bb5b.js} +31 -31
- package/build/{index-0f00e5b6.js → index-acf01d22.js} +2 -2
- package/build/{index-6b969fd7.js → index-b1f4167d.js} +2 -2
- package/build/{index-a46d8bae.js → index-b4ea2e06.js} +1 -1
- package/build/{index-fa380cd9.js → index-b5512147.js} +13 -13
- package/build/{index-4aa08964.js → index-ba115362.js} +2 -2
- package/build/{index-eecf76d3.js → index-bcffa889.js} +3 -3
- package/build/{index-07fe4c6c.js → index-c535a8ae.js} +25 -25
- package/build/{index-300e66fb.js → index-c6caf668.js} +7 -7
- package/build/{index-3ce98941.js → index-ca7750a7.js} +3 -3
- package/build/{index-14c4044c.js → index-ce2831a9.js} +3 -3
- package/build/{index-d431afb1.js → index-d5bf77c6.js} +2 -2
- package/build/{index-76e816bb.js → index-d5f6d7d0.js} +16 -16
- package/build/{index-a22cc3db.js → index-d7380fa4.js} +15 -15
- package/build/{index-97b250e2.js → index-d7d6923a.js} +6 -6
- package/build/{index-d2df6979.js → index-d884d2d2.js} +1 -1
- package/build/{index-b9995e22.js → index-d9241762.js} +2 -2
- package/build/{index-cc9aa9eb.js → index-dfd45925.js} +4 -4
- package/build/{index-7200d66a.js → index-e07f167c.js} +24 -24
- package/build/{index-647af648.js → index-e781a4c2.js} +3 -3
- package/build/{index-53a6e597.js → index-eb53842d.js} +1 -1
- package/build/{index-8c817697.js → index-ef369e5d.js} +30 -30
- package/build/{index-231001c3.js → index-f115fa43.js} +16 -16
- package/build/{index-d251f228.js → index-f4c24c7f.js} +11 -11
- package/build/{index-2938dbe8.js → index-f6adc295.js} +22 -22
- package/build/index.js +118 -118
- package/build/{labelSorting-2b8bc1b7.js → labelSorting-71e90a6a.js} +4 -4
- package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +13 -9
- package/build/lead/layouts/inline.d.ts +5 -3
- package/build/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/lead/services/index.d.ts +14 -0
- package/build/lead.js +119 -112
- package/build/{logoIcon-c73ced8e.js → logoIcon-cdbfc07a.js} +2 -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 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +26 -26
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-a6948df8.js → post-db2f859e.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +28 -28
- package/build/{store-396d5cbd.js → store-ef189961.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-36fa4f82.js → surveyThankyouCard-a1b15d42.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-e31bc008.js → translationsProvider-1c3dbc8e.js} +1 -1
- package/build/{treePopoverMenu-e75708e7.js → treePopoverMenu-10175491.js} +19 -19
- package/build/{types-6a688975.js → types-1416d5bd.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-4ae4d91b.js → useCategory-842b0dcb.js} +5 -5
- package/build/{useHealthToolCache-c88f8ad4.js → useHealthToolCache-10719122.js} +1 -1
- package/build/{useMantineLocale-cd39a460.js → useMantineLocale-0f0b5a7d.js} +6 -6
- package/build/{usePlacesAutocomplete-bb5eba05.js → usePlacesAutocomplete-7b0ae60a.js} +1 -1
- package/build/{useScreenSize-d209de5b.js → useScreenSize-333df8af.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-52e57624.js → utils-4cb094cd.js} +2 -2
- package/build/{utils-9eeed425.js → utils-67896250.js} +5 -5
- package/build/{utils-f5efba7f.js → utils-8fbd2450.js} +2 -2
- package/build/{utils-59430eab.js → utils-b4d8f00b.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-e1bfccf0.js → BMI_BOYS.percentile.monthly-0e71eafc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-9bb43808.js → BMI_BOYS.percentile.weekly-23291ef4.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-622f803a.js → BMI_BOYS.percentile.yearly-b6aafb44.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0ccd75a7.js → BMI_BOYS.zscore.monthly-f8926069.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-030f990f.js → BMI_BOYS.zscore.weekly-accd7f70.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-de02cd58.js → BMI_BOYS.zscore.yearly-f07022a3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-02eba0b8.js → BMI_GIRLS.percentile.monthly-9584caf9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c5da0aba.js → BMI_GIRLS.percentile.weekly-8080ccd0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-60e2d32c.js → BMI_GIRLS.percentile.yearly-ac6fe332.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e85b87d1.js → BMI_GIRLS.zscore.monthly-1593f574.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5075f16c.js → BMI_GIRLS.zscore.weekly-74a4b245.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-45fd5ea1.js → BMI_GIRLS.zscore.yearly-ea9ebfa2.js} +0 -0
- /package/build/{ChevronDown-3c05e385.js → ChevronDown-866f67a8.js} +0 -0
- /package/build/{Close-a2a29b6f.js → Close-33afcdb1.js} +0 -0
- /package/build/{Google-98df63b1.js → Google-4716baba.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d38b79b3.js → HEAD CIRCUM_BOYS.percentile.monthly-e758325c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a3b88213.js → HEAD CIRCUM_BOYS.percentile.weekly-6447bdcb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b0f4233b.js → HEAD CIRCUM_BOYS.percentile.yearly-9620ee3c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-468ce5bd.js → HEAD CIRCUM_BOYS.zscore.monthly-f7c76f95.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2f430e5d.js → HEAD CIRCUM_BOYS.zscore.weekly-bd2c9308.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9a9e196b.js → HEAD CIRCUM_BOYS.zscore.yearly-7c71874d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b9d03243.js → HEAD CIRCUM_GIRLS.percentile.monthly-f68ec76c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-873d5322.js → HEAD CIRCUM_GIRLS.percentile.weekly-c021606a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-213794f4.js → HEAD CIRCUM_GIRLS.percentile.yearly-9ba78589.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ad66c530.js → HEAD CIRCUM_GIRLS.zscore.monthly-065ae35e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b1ee41c3.js → HEAD CIRCUM_GIRLS.zscore.weekly-fda8b13b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-75ed6ef8.js → HEAD CIRCUM_GIRLS.zscore.yearly-5ecdbe8b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-2b403b5b.js → HEIGHT_BOYS.percentile.monthly-b5f0e0ad.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-8debab9e.js → HEIGHT_BOYS.percentile.weekly-94039f30.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b73a8f22.js → HEIGHT_BOYS.percentile.yearly-6dfe2c72.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ab2a7620.js → HEIGHT_BOYS.zscore.monthly-796af7f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d475ea99.js → HEIGHT_BOYS.zscore.weekly-5bb38251.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-17613d0d.js → HEIGHT_BOYS.zscore.yearly-438fc17a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-bb4d4acb.js → HEIGHT_GIRLS.percentile.monthly-eadd6c89.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-79a12467.js → HEIGHT_GIRLS.percentile.weekly-4fd4d362.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-cb357d46.js → HEIGHT_GIRLS.percentile.yearly-a094c982.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-095f8a85.js → HEIGHT_GIRLS.zscore.monthly-a16525af.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-4cbc5f15.js → HEIGHT_GIRLS.zscore.weekly-531361ef.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1d427b44.js → HEIGHT_GIRLS.zscore.yearly-acaec27a.js} +0 -0
- /package/build/{Locale-23e83c99.js → Locale-a19bf906.js} +0 -0
- /package/build/{Visible-f15bf7a2.js → Visible-8345a62d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-83679c3b.js → WEIGHT_BOYS.percentile.monthly-4cd8f3b8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e30676cf.js → WEIGHT_BOYS.percentile.weekly-6bf7db12.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-05e8987d.js → WEIGHT_BOYS.percentile.yearly-a9790801.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3b24475d.js → WEIGHT_BOYS.zscore.monthly-9a9deabc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5e6d05f0.js → WEIGHT_BOYS.zscore.weekly-5ef6dc50.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-061930fe.js → WEIGHT_BOYS.zscore.yearly-51a3d26a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3a22798f.js → WEIGHT_GIRLS.percentile.monthly-b495af15.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-fcc35b0f.js → WEIGHT_GIRLS.percentile.weekly-ba1d71a1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9e105691.js → WEIGHT_GIRLS.percentile.yearly-3fcbcbd1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e99c5c83.js → WEIGHT_GIRLS.zscore.monthly-12e9c725.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6e9318c9.js → WEIGHT_GIRLS.zscore.weekly-1a26cddf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7c47d16d.js → WEIGHT_GIRLS.zscore.yearly-f8d2b07a.js} +0 -0
- /package/build/{animation-3e9c19cf.js → animation-4ad5b6c6.js} +0 -0
- /package/build/{constants-a65a6f22.js → constants-1be3f6bb.js} +0 -0
- /package/build/{constants-6c84584a.js → constants-65b2c33a.js} +0 -0
- /package/build/{constants-a2b7e4cc.js → constants-b8c36b70.js} +0 -0
- /package/build/{dataTransform-58c8ea05.js → dataTransform-1ef0598c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-484bec31.js → BMI_BOYS.percentile.monthly-b4bfc3da.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-0064cf13.js → BMI_BOYS.percentile.weekly-5ba927fb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-2ee610d1.js → BMI_BOYS.percentile.yearly-283a22fd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-359cff4f.js → BMI_BOYS.zscore.monthly-df7178a3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c05c47f7.js → BMI_BOYS.zscore.weekly-a91f82e3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-587cd6f5.js → BMI_BOYS.zscore.yearly-94e24499.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4a5afd5e.js → BMI_GIRLS.percentile.monthly-1a0be11c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2aa4d816.js → BMI_GIRLS.percentile.weekly-1cbfefce.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-92d84687.js → BMI_GIRLS.percentile.yearly-7acb39e1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b73ae047.js → BMI_GIRLS.zscore.monthly-477fd94e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f16d5b1d.js → BMI_GIRLS.zscore.weekly-b6d5f690.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5af94f45.js → BMI_GIRLS.zscore.yearly-e647e146.js} +0 -0
- /package/build/esm/{ChevronDown-a9e1a704.js → ChevronDown-f5385821.js} +0 -0
- /package/build/esm/{Close-bc02a632.js → Close-b9d6a9c2.js} +0 -0
- /package/build/esm/{Google-04c91ad8.js → Google-66973775.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-977521f8.js → HEAD CIRCUM_BOYS.percentile.monthly-cbf4821c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b0a72bbd.js → HEAD CIRCUM_BOYS.percentile.weekly-b140048b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8427e5f4.js → HEAD CIRCUM_BOYS.percentile.yearly-f1eb7995.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-448a0d4c.js → HEAD CIRCUM_BOYS.zscore.monthly-ed1a665e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f7a841cf.js → HEAD CIRCUM_BOYS.zscore.weekly-63a1d89a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-264be00f.js → HEAD CIRCUM_BOYS.zscore.yearly-613bd00a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d57d9ba4.js → HEAD CIRCUM_GIRLS.percentile.monthly-a844aaa6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b8764b58.js → HEAD CIRCUM_GIRLS.percentile.weekly-a75a59c9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-eae1bd1a.js → HEAD CIRCUM_GIRLS.percentile.yearly-8f19892f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fdba405e.js → HEAD CIRCUM_GIRLS.zscore.monthly-49a1d711.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ba1442a0.js → HEAD CIRCUM_GIRLS.zscore.weekly-a9699584.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-22b8404c.js → HEAD CIRCUM_GIRLS.zscore.yearly-9f5b2052.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-b41c690c.js → HEIGHT_BOYS.percentile.monthly-c17023eb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-38500db6.js → HEIGHT_BOYS.percentile.weekly-c71e351a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-13b55109.js → HEIGHT_BOYS.percentile.yearly-29e192ad.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b57b9f3b.js → HEIGHT_BOYS.zscore.monthly-efae6251.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-76545cd8.js → HEIGHT_BOYS.zscore.weekly-dbeb171f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3d8aea0.js → HEIGHT_BOYS.zscore.yearly-412a2ea8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c1b21071.js → HEIGHT_GIRLS.percentile.monthly-526c687f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b9a5f9b7.js → HEIGHT_GIRLS.percentile.weekly-dc453153.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f651e724.js → HEIGHT_GIRLS.percentile.yearly-ddac9f56.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-85bca55c.js → HEIGHT_GIRLS.zscore.monthly-44aea232.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-540bc640.js → HEIGHT_GIRLS.zscore.weekly-a6cde31f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a367575e.js → HEIGHT_GIRLS.zscore.yearly-d1d7f45f.js} +0 -0
- /package/build/esm/{Locale-1064ff3c.js → Locale-c20e820b.js} +0 -0
- /package/build/esm/{Visible-280f1ce0.js → Visible-ba783ed0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-32597494.js → WEIGHT_BOYS.percentile.monthly-bf623a01.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5b1564a4.js → WEIGHT_BOYS.percentile.weekly-af5541b9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-122f6526.js → WEIGHT_BOYS.percentile.yearly-86ecad92.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d9d060a6.js → WEIGHT_BOYS.zscore.monthly-d461215a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-79471670.js → WEIGHT_BOYS.zscore.weekly-0912f9df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f17eb2b1.js → WEIGHT_BOYS.zscore.yearly-e2c6f1c5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fc6491ea.js → WEIGHT_GIRLS.percentile.monthly-95a2ae24.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-766651a5.js → WEIGHT_GIRLS.percentile.weekly-bbc4ebde.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-dce9783f.js → WEIGHT_GIRLS.percentile.yearly-cc120517.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2e24a999.js → WEIGHT_GIRLS.zscore.monthly-c0a3925c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4f922182.js → WEIGHT_GIRLS.zscore.weekly-32579bec.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2ccde1fd.js → WEIGHT_GIRLS.zscore.yearly-88329aea.js} +0 -0
- /package/build/esm/{animation-cde9d582.js → animation-4bd5a73b.js} +0 -0
- /package/build/esm/{constants-76e60b46.js → constants-901e609e.js} +0 -0
- /package/build/esm/{constants-96829d24.js → constants-c79cc585.js} +0 -0
- /package/build/esm/{constants-7ae4f5d1.js → constants-df1570b5.js} +0 -0
- /package/build/esm/{dataTransform-4a6328f2.js → dataTransform-16c87119.js} +0 -0
- /package/build/esm/{index-11124dfa.js → index-35ccc890.js} +0 -0
- /package/build/esm/{index-7f07a2fa.js → index-5614585e.js} +0 -0
- /package/build/esm/{index-1e888aa3.js → index-5d5d1f50.js} +0 -0
- /package/build/esm/{index-94e2aa83.js → index-5eb4c55b.js} +0 -0
- /package/build/esm/{index-c41a2f99.js → index-73f9d87e.js} +0 -0
- /package/build/esm/{index-0f7e913b.js → index-7d22d078.js} +0 -0
- /package/build/esm/{index-bb8be834.js → index-88c7a454.js} +0 -0
- /package/build/esm/{index-d4947c80.js → index-8ff53aad.js} +0 -0
- /package/build/esm/{index.styles-1dad4509.js → index.styles-068b0511.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a430ab2e.js → localizeNumberFormat-e2335137.js} +0 -0
- /package/build/esm/{normalizeLink-9966781a.js → normalizeLink-268800f5.js} +0 -0
- /package/build/esm/{number-5b2a0102.js → number-002267a0.js} +0 -0
- /package/build/esm/{other-f771317b.js → other-cf8c159f.js} +0 -0
- /package/build/esm/{paths-d0f47d58.js → paths-02b2c736.js} +0 -0
- /package/build/esm/{translationsContext-4c4d30a3.js → translationsContext-5ba74e34.js} +0 -0
- /package/build/esm/{tslib.es6-1b94ff29.js → tslib.es6-56c0452a.js} +0 -0
- /package/build/esm/{types-118a378a.js → types-ad09c752.js} +0 -0
- /package/build/esm/{useIsInit-9a03e03f.js → useIsInit-e22ca1b3.js} +0 -0
- /package/build/esm/{useOutsideClick-5a6b991e.js → useOutsideClick-f980eb26.js} +0 -0
- /package/build/esm/{useScrollbarSize-4716ec1d.js → useScrollbarSize-65e16953.js} +0 -0
- /package/build/esm/{useUniqueId-d80ee3dd.js → useUniqueId-eeb89b5b.js} +0 -0
- /package/build/esm/{utils-d1cda983.js → utils-6ce85d0a.js} +0 -0
- /package/build/{index-d3767c2b.js → index-06bbb934.js} +0 -0
- /package/build/{index-75e5775d.js → index-420d1458.js} +0 -0
- /package/build/{index-384aa8f9.js → index-47fae815.js} +0 -0
- /package/build/{index-a3c05ce2.js → index-b5d54614.js} +0 -0
- /package/build/{index-c33ce3a1.js → index-e0698566.js} +0 -0
- /package/build/{index-a0631ca0.js → index-e6f8ce41.js} +0 -0
- /package/build/{index-288778a5.js → index-f9427132.js} +0 -0
- /package/build/{index-b4f798a1.js → index-ffeae7eb.js} +0 -0
- /package/build/{index.styles-e0a8880f.js → index.styles-690dfb28.js} +0 -0
- /package/build/{localizeNumberFormat-41122e59.js → localizeNumberFormat-15d782a1.js} +0 -0
- /package/build/{normalizeLink-1f8449ac.js → normalizeLink-24ab7638.js} +0 -0
- /package/build/{number-e5b47f38.js → number-445bc4e5.js} +0 -0
- /package/build/{other-b8ca7fcf.js → other-30fb5962.js} +0 -0
- /package/build/{paths-e4e032bc.js → paths-4947866a.js} +0 -0
- /package/build/{translationsContext-2e09f8fb.js → translationsContext-d2ddc699.js} +0 -0
- /package/build/{tslib.es6-a526d011.js → tslib.es6-06a68eb7.js} +0 -0
- /package/build/{types-60ab04b1.js → types-d0e2720d.js} +0 -0
- /package/build/{useIsInit-04cdde41.js → useIsInit-ebe2cf46.js} +0 -0
- /package/build/{useOutsideClick-a5a20069.js → useOutsideClick-9c35fd64.js} +0 -0
- /package/build/{useScrollbarSize-3d87479c.js → useScrollbarSize-0b8ee625.js} +0 -0
- /package/build/{useUniqueId-94fce545.js → useUniqueId-c1977f7a.js} +0 -0
- /package/build/{utils-53474e62.js → utils-af2cab2a.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-56c0452a.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo, useLayoutEffect } from 'react';
|
|
3
3
|
import { createStyles, Box, Button as Button$1, Input as Input$1, Autocomplete, clsx, Checkbox as Checkbox$1, Radio as Radio$1, Select as Select$1, TextInput, NumberInput as NumberInput$1, Portal, Transition, Overlay } from '@mantine/core';
|
|
4
4
|
import debounce from 'lodash/debounce';
|
|
5
5
|
import { createFormContext, useForm } from '@mantine/form';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
7
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-01514bd9.js';
|
|
8
8
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
9
|
-
import { u as useTranslations } from './index-
|
|
10
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
11
|
-
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-
|
|
12
|
-
import { T as Text } from './index-
|
|
13
|
-
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-
|
|
14
|
-
import { D as DatePicker } from './index-
|
|
15
|
-
import { B as Button } from './index-
|
|
16
|
-
import './index.styles-
|
|
9
|
+
import { u as useTranslations } from './index-07343770.js';
|
|
10
|
+
import { T as TranslationsContext } from './translationsContext-5ba74e34.js';
|
|
11
|
+
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-6ce85d0a.js';
|
|
12
|
+
import { T as Text } from './index-590541f7.js';
|
|
13
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-24b5abd0.js';
|
|
14
|
+
import { D as DatePicker } from './index-e86e216e.js';
|
|
15
|
+
import { B as Button } from './index-07044954.js';
|
|
16
|
+
import './index.styles-068b0511.js';
|
|
17
17
|
import { useIntersection, useClickOutside } from '@mantine/hooks';
|
|
18
|
-
import './useMantineLocale-
|
|
19
|
-
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-
|
|
22
|
-
import './other-
|
|
23
|
-
import './index-
|
|
24
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
18
|
+
import './useMantineLocale-88e62144.js';
|
|
19
|
+
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-360b32a1.js';
|
|
20
|
+
import './index-73f9d87e.js';
|
|
21
|
+
import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-8f8524f4.js';
|
|
22
|
+
import './other-cf8c159f.js';
|
|
23
|
+
import './index-6d739afc.js';
|
|
24
|
+
import { M as MAPPED_LOCALE } from './utils-b4ff3f1f.js';
|
|
25
25
|
import { DateInput } from '@mantine/dates';
|
|
26
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-
|
|
27
|
-
import { H as Heading$1 } from './index-
|
|
28
|
-
import { t as translationsMap$1 } from './translationsProvider-
|
|
29
|
-
import { L as LOCALE } from './Locale-
|
|
26
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-c722d235.js';
|
|
27
|
+
import { H as Heading$1 } from './index-1bfadd57.js';
|
|
28
|
+
import { t as translationsMap$1 } from './translationsProvider-36c4f946.js';
|
|
29
|
+
import { L as LOCALE } from './Locale-c20e820b.js';
|
|
30
30
|
import { v1 } from 'uuid';
|
|
31
31
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
32
32
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
33
33
|
import styled from '@emotion/styled';
|
|
34
34
|
import { theme } from './miscTheme.js';
|
|
35
35
|
import { css } from '@emotion/react';
|
|
36
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
37
|
-
import { i as isVideo } from './index-
|
|
38
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
36
|
+
import { T as TogetherComponentGlobalContext } from './utils-04bdf070.js';
|
|
37
|
+
import { i as isVideo } from './index-5eb4c55b.js';
|
|
38
|
+
import { u as useScreenSize } from './useScreenSize-62e99dd7.js';
|
|
39
39
|
import { motion } from 'framer-motion';
|
|
40
40
|
import { createPortal } from 'react-dom';
|
|
41
|
-
import { B as Button$2 } from './index-
|
|
42
|
-
import { I as InputDate } from './InputDate-
|
|
43
|
-
import { D as DrawerComponent } from './index-
|
|
44
|
-
import { C as Close } from './Close-
|
|
41
|
+
import { B as Button$2 } from './index-df810b27.js';
|
|
42
|
+
import { I as InputDate } from './InputDate-35854595.js';
|
|
43
|
+
import { D as DrawerComponent } from './index-44b23d6f.js';
|
|
44
|
+
import { C as Close } from './Close-b9d6a9c2.js';
|
|
45
45
|
import './constantsIsProduction.js';
|
|
46
|
-
import './normalizeLink-
|
|
46
|
+
import './normalizeLink-268800f5.js';
|
|
47
47
|
import '@hhgtech/icons/other';
|
|
48
48
|
import '@mantine/carousel';
|
|
49
49
|
import 'classnames';
|
|
50
|
-
import './useUniqueId-
|
|
50
|
+
import './useUniqueId-eeb89b5b.js';
|
|
51
51
|
import './constantsSite.js';
|
|
52
52
|
import '@hhgtech/icons/core';
|
|
53
53
|
import '@mantine/notifications';
|
|
@@ -64,11 +64,11 @@ import './i18n-values/tl-PH.js';
|
|
|
64
64
|
import './i18n-values/vi-VN.js';
|
|
65
65
|
import './i18n-values/vi-VN_MB.js';
|
|
66
66
|
import './i18n-values/zh-TW.js';
|
|
67
|
-
import './index-
|
|
67
|
+
import './index-88c7a454.js';
|
|
68
68
|
import 'slugify';
|
|
69
69
|
import 'string-format';
|
|
70
70
|
import './togetherApiPaths.js';
|
|
71
|
-
import './constants-
|
|
71
|
+
import './constants-901e609e.js';
|
|
72
72
|
import 'vaul';
|
|
73
73
|
|
|
74
74
|
const LeadGenComponentContext = createContext({});
|
|
@@ -158,11 +158,6 @@ const LEAD_TIMEZONE_DATA = {
|
|
|
158
158
|
9: 'Asia/Manila', // Philippines / Filipinos Site
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
const LEADGEN_ACTIONS = {
|
|
162
|
-
SHOW: 'SHOW',
|
|
163
|
-
SCROLL: 'SCROLL',
|
|
164
|
-
TIME: 'TIME',
|
|
165
|
-
};
|
|
166
161
|
var LEADGEN_LAYOUT;
|
|
167
162
|
(function (LEADGEN_LAYOUT) {
|
|
168
163
|
LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
|
|
@@ -561,6 +556,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
|
|
|
561
556
|
},
|
|
562
557
|
});
|
|
563
558
|
};
|
|
559
|
+
const trackingSubscription = (data) => {
|
|
560
|
+
return leadApi.call({
|
|
561
|
+
url: `api/collection/tracking-subscription`,
|
|
562
|
+
method: METHOD.POST,
|
|
563
|
+
data,
|
|
564
|
+
});
|
|
565
|
+
};
|
|
564
566
|
const Service = {
|
|
565
567
|
campaignGetById,
|
|
566
568
|
getCampaignByCode,
|
|
@@ -568,6 +570,7 @@ const Service = {
|
|
|
568
570
|
postSubscriptionBoxLead,
|
|
569
571
|
postUserInfoFromLeadGen,
|
|
570
572
|
campaignPostImpression,
|
|
573
|
+
trackingSubscription,
|
|
571
574
|
validateEmailOrPhoneOnSubot,
|
|
572
575
|
validateEmailOrPhoneOnLeadGen,
|
|
573
576
|
validatePhoneNumberOnLeadGen,
|
|
@@ -1982,10 +1985,10 @@ const LeadGenContext = createContext({
|
|
|
1982
1985
|
LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
|
|
1983
1986
|
return Promise.reject(value);
|
|
1984
1987
|
},
|
|
1985
|
-
impression(
|
|
1988
|
+
impression(type) {
|
|
1986
1989
|
/** Init for FAKING function */
|
|
1987
|
-
LeadLog('** LeadGen Impression : ',
|
|
1988
|
-
return Promise.reject(
|
|
1990
|
+
LeadLog('** LeadGen Impression : ', type);
|
|
1991
|
+
return Promise.reject();
|
|
1989
1992
|
},
|
|
1990
1993
|
/** For Subscription Box */
|
|
1991
1994
|
subscriptionIcon: '',
|
|
@@ -1993,7 +1996,7 @@ const LeadGenContext = createContext({
|
|
|
1993
1996
|
subscriptionPhoneType: '',
|
|
1994
1997
|
});
|
|
1995
1998
|
const LeadGenContextProvider = (props) => {
|
|
1996
|
-
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
|
|
1999
|
+
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, userInfo } = props, restProps = __rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children", "userInfo"]);
|
|
1997
2000
|
const { t } = useTranslations();
|
|
1998
2001
|
const [forceCampaign, setForceCampaign] = useState(forceCampaignProps);
|
|
1999
2002
|
const [subscriptionInfo, setSubscriptionInfo] = useState({
|
|
@@ -2005,7 +2008,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2005
2008
|
const locale = useMemo(() => {
|
|
2006
2009
|
return localeProps || LOCALE['PhilippinesEnglish'];
|
|
2007
2010
|
}, [localeProps]);
|
|
2008
|
-
const { url, campaign_id,
|
|
2011
|
+
const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title, category_name, } = useMemo(() => ({
|
|
2009
2012
|
url: location.href.toLowerCase() || '',
|
|
2010
2013
|
cookie_id: getCookie('hhg-id') || null,
|
|
2011
2014
|
ga_client_id: getCookie('_ga'),
|
|
@@ -2014,12 +2017,14 @@ const LeadGenContextProvider = (props) => {
|
|
|
2014
2017
|
category_id: categoryId,
|
|
2015
2018
|
article_id: articleId,
|
|
2016
2019
|
article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
|
|
2020
|
+
category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
|
|
2017
2021
|
}), [
|
|
2018
2022
|
campaignCodeProps,
|
|
2019
2023
|
articleId,
|
|
2020
2024
|
categoryId,
|
|
2021
2025
|
forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
|
|
2022
2026
|
extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
|
|
2027
|
+
extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
|
|
2023
2028
|
]);
|
|
2024
2029
|
// const fetchCampaign = useCallback(
|
|
2025
2030
|
// (campaign_code: string) => {
|
|
@@ -2054,33 +2059,36 @@ const LeadGenContextProvider = (props) => {
|
|
|
2054
2059
|
cookie_id,
|
|
2055
2060
|
ga_client_id,
|
|
2056
2061
|
]);
|
|
2057
|
-
const impression = useCallback((
|
|
2062
|
+
const impression = useCallback((type) => {
|
|
2063
|
+
const gaCookie = getCookie('_ga') || null;
|
|
2058
2064
|
const impression = {
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2065
|
+
subscription_title: subscriptionInfo.subscriptionTitle,
|
|
2066
|
+
name: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || '',
|
|
2067
|
+
area_code: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code) || '',
|
|
2068
|
+
phone_number: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) || '',
|
|
2069
|
+
site_domain: domainLocales[locale],
|
|
2070
|
+
url: location.href.toLowerCase(),
|
|
2071
|
+
cookie_id: getCookie('hhg-id'),
|
|
2072
|
+
ga_client_id: gaCookie,
|
|
2073
|
+
article_title,
|
|
2074
|
+
article_id,
|
|
2075
|
+
category_id,
|
|
2076
|
+
category_name,
|
|
2077
|
+
type,
|
|
2068
2078
|
};
|
|
2069
|
-
|
|
2070
|
-
delete impression.extra.subscription_title;
|
|
2071
|
-
}
|
|
2072
|
-
return Service.campaignPostImpression(impression);
|
|
2079
|
+
return Service.trackingSubscription(impression);
|
|
2073
2080
|
}, [
|
|
2074
|
-
extraValues,
|
|
2075
2081
|
campaign_id,
|
|
2076
2082
|
url,
|
|
2077
|
-
campaign_code,
|
|
2078
2083
|
article_title,
|
|
2079
2084
|
cookie_id,
|
|
2080
2085
|
ga_client_id,
|
|
2086
|
+
categoryId,
|
|
2081
2087
|
article_id,
|
|
2082
2088
|
subscriptionInfo.subscriptionTitle,
|
|
2083
|
-
|
|
2089
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.name,
|
|
2090
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
|
|
2091
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
2084
2092
|
]);
|
|
2085
2093
|
useEffect(() => {
|
|
2086
2094
|
if (forceCampaignProps) {
|
|
@@ -2236,7 +2244,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2236
2244
|
if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
|
|
2237
2245
|
return null;
|
|
2238
2246
|
}
|
|
2239
|
-
return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { campaign_code: campaignCodeProps, apiSsoUrl,
|
|
2247
|
+
return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { userInfo, campaign_code: campaignCodeProps, apiSsoUrl,
|
|
2240
2248
|
apiLeadUrl,
|
|
2241
2249
|
apiSubotUrl, locale: localeProps, extraValues,
|
|
2242
2250
|
articleId,
|
|
@@ -2251,18 +2259,16 @@ const useLeadGenContext = () => {
|
|
|
2251
2259
|
return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
|
|
2252
2260
|
};
|
|
2253
2261
|
|
|
2254
|
-
const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, }) => {
|
|
2262
|
+
const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, dependency = '', }) => {
|
|
2255
2263
|
const { ref, entry } = useIntersection({
|
|
2256
2264
|
threshold: 1,
|
|
2257
2265
|
});
|
|
2258
2266
|
const [tracked, setTracked] = useState(false);
|
|
2259
2267
|
useEffect(() => {
|
|
2260
|
-
if (!tracked)
|
|
2261
|
-
return;
|
|
2262
2268
|
let timer = null;
|
|
2263
2269
|
let count = 0;
|
|
2264
|
-
if (entry === null || entry === void 0 ? void 0 : entry.isIntersecting) {
|
|
2265
|
-
timer =
|
|
2270
|
+
if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
|
|
2271
|
+
timer = setInterval(() => {
|
|
2266
2272
|
if (count > stayDuration) {
|
|
2267
2273
|
setTracked(true);
|
|
2268
2274
|
}
|
|
@@ -2271,15 +2277,15 @@ const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, }
|
|
|
2271
2277
|
}
|
|
2272
2278
|
}, stayDuration * 1000);
|
|
2273
2279
|
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
}
|
|
2277
|
-
return () => clearTimeout(timer);
|
|
2278
|
-
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting]);
|
|
2280
|
+
return () => clearInterval(timer);
|
|
2281
|
+
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
|
|
2279
2282
|
useEffect(() => {
|
|
2280
2283
|
tracked && onImpression();
|
|
2281
2284
|
}, [tracked]);
|
|
2282
|
-
|
|
2285
|
+
useEffect(() => {
|
|
2286
|
+
setTracked(false);
|
|
2287
|
+
}, [dependency]);
|
|
2288
|
+
return (React__default.createElement(Box, { "data-impression": true, ref: ref }, children));
|
|
2283
2289
|
};
|
|
2284
2290
|
|
|
2285
2291
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -3269,10 +3275,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3269
3275
|
const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
|
|
3270
3276
|
const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
|
|
3271
3277
|
const { submitBlock } = actionBlocks || {};
|
|
3272
|
-
const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox,
|
|
3278
|
+
const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
|
|
3273
3279
|
const { t } = useTranslations();
|
|
3274
3280
|
const { action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
3275
|
-
const refContainer = useRef(null);
|
|
3276
3281
|
const [loading, setLoading] = useState(false);
|
|
3277
3282
|
const [showThankyou, setShowThankyou] = useState(false);
|
|
3278
3283
|
const validatingEmailRef = useRef(false);
|
|
@@ -3292,17 +3297,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3292
3297
|
t('leadgen.message.title.default');
|
|
3293
3298
|
}, [subscriptionTitle, (_b = (_a = textBlocks === null || textBlocks === void 0 ? void 0 : textBlocks.titleBlock) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.value]);
|
|
3294
3299
|
const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
|
|
3295
|
-
const intersectionObserverCallback = useCallback((entries) => {
|
|
3296
|
-
entries.forEach((entry) => {
|
|
3297
|
-
const { isIntersecting, target } = entry;
|
|
3298
|
-
if (!showThankyou &&
|
|
3299
|
-
isIntersecting &&
|
|
3300
|
-
target === refContainer.current) {
|
|
3301
|
-
impression();
|
|
3302
|
-
}
|
|
3303
|
-
});
|
|
3304
|
-
}, [impression, showThankyou]);
|
|
3305
|
-
const IObserver = new IntersectionObserver(intersectionObserverCallback);
|
|
3306
3300
|
const middlewareOnSubmit = useCallback((values) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3307
3301
|
const newValues = {
|
|
3308
3302
|
subscription_title,
|
|
@@ -3339,7 +3333,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3339
3333
|
setLoading(true);
|
|
3340
3334
|
try {
|
|
3341
3335
|
const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
|
|
3342
|
-
const
|
|
3336
|
+
const [res] = yield Promise.all([
|
|
3337
|
+
submitSubscriptionBox(reqValues),
|
|
3338
|
+
impression('submit_form'),
|
|
3339
|
+
]);
|
|
3340
|
+
const { _data } = res || {};
|
|
3343
3341
|
const { model } = _data || {};
|
|
3344
3342
|
if (model && (model === null || model === void 0 ? void 0 : model.id)) {
|
|
3345
3343
|
setShowThankyou(true);
|
|
@@ -3383,15 +3381,7 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3383
3381
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
|
|
3384
3382
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
3385
3383
|
]);
|
|
3386
|
-
|
|
3387
|
-
if (refContainer.current) {
|
|
3388
|
-
IObserver.observe(refContainer.current);
|
|
3389
|
-
}
|
|
3390
|
-
return () => {
|
|
3391
|
-
IObserver.disconnect();
|
|
3392
|
-
};
|
|
3393
|
-
}, [categoryId]);
|
|
3394
|
-
return (React__default.createElement(ImpressionTrackingWrapper, { onImpression: impression },
|
|
3384
|
+
return (React__default.createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
|
|
3395
3385
|
React__default.createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
|
|
3396
3386
|
showThankyou && (React__default.createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
|
|
3397
3387
|
!showThankyou && (React__default.createElement(LeadGenSubscriptionBoxA, { loading: loading, image: subscriptionIcon || image, title: subscription_title, submitText: (_c = submitBlock === null || submitBlock === void 0 ? void 0 : submitBlock.data) === null || _c === void 0 ? void 0 : _c.value, blocks: listBlockAdded, locale: locale, form: form, rules: validateObj, onFinish: middlewareOnSubmit })))));
|
|
@@ -4043,7 +4033,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
|
|
|
4043
4033
|
React__default.createElement(Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
|
|
4044
4034
|
};
|
|
4045
4035
|
|
|
4046
|
-
const InlineLayout = ({ content, inlinePosition, }) => {
|
|
4036
|
+
const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
|
|
4037
|
+
const { apiUrl } = useContext(LeadGenContext$1);
|
|
4047
4038
|
const target = useMemo(() => {
|
|
4048
4039
|
if (!inlinePosition)
|
|
4049
4040
|
return null;
|
|
@@ -4150,7 +4141,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
|
|
|
4150
4141
|
}, [inlinePosition]);
|
|
4151
4142
|
if (!inlinePosition || !target)
|
|
4152
4143
|
return null;
|
|
4153
|
-
return createPortal(
|
|
4144
|
+
return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
4145
|
+
const gaCookie = getCookie('_ga') || null;
|
|
4146
|
+
fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
|
|
4147
|
+
method: 'POST',
|
|
4148
|
+
headers: {
|
|
4149
|
+
'Content-Type': 'application/json',
|
|
4150
|
+
},
|
|
4151
|
+
body: JSON.stringify({
|
|
4152
|
+
action,
|
|
4153
|
+
url: location.href.toLowerCase(),
|
|
4154
|
+
title_article: document.title,
|
|
4155
|
+
cookie_id: getCookie('hhg-id'),
|
|
4156
|
+
ga_client_id: gaCookie,
|
|
4157
|
+
}),
|
|
4158
|
+
});
|
|
4159
|
+
}) }, content), target);
|
|
4154
4160
|
};
|
|
4155
4161
|
|
|
4156
4162
|
const SideBarLayout = ({ content }) => {
|
|
@@ -4917,7 +4923,7 @@ const LEADGEN_SHOW_HEADER = [
|
|
|
4917
4923
|
];
|
|
4918
4924
|
// const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
|
|
4919
4925
|
const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
|
|
4920
|
-
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, }) => {
|
|
4926
|
+
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, }) => {
|
|
4921
4927
|
var _a, _b;
|
|
4922
4928
|
const { primaryColor } = useContext(LeadGenContext$1);
|
|
4923
4929
|
const { isMobile } = useScreenSize();
|
|
@@ -5252,7 +5258,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5252
5258
|
return React__default.createElement(SideBarLayout, { content: PopupContainer });
|
|
5253
5259
|
}
|
|
5254
5260
|
else if (isInline) {
|
|
5255
|
-
return (React__default.createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
|
|
5261
|
+
return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
|
|
5256
5262
|
}
|
|
5257
5263
|
return null;
|
|
5258
5264
|
};
|
|
@@ -5350,19 +5356,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5350
5356
|
const { apiUrl, siteDomain } = useContext(LeadGenContext$1);
|
|
5351
5357
|
useEffect(() => {
|
|
5352
5358
|
const gaCookie = getCookie('_ga') || null;
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5359
|
+
!currentLayout.includes('Inline') &&
|
|
5360
|
+
fetch(`${apiUrl}api/campaign/${code}/impression`, {
|
|
5361
|
+
method: 'POST',
|
|
5362
|
+
headers: {
|
|
5363
|
+
'Content-Type': 'application/json',
|
|
5364
|
+
},
|
|
5365
|
+
body: JSON.stringify({
|
|
5366
|
+
action,
|
|
5367
|
+
url: location.href.toLowerCase(),
|
|
5368
|
+
title_article: document.title,
|
|
5369
|
+
cookie_id: getCookie('hhg-id'),
|
|
5370
|
+
ga_client_id: gaCookie,
|
|
5371
|
+
}),
|
|
5372
|
+
});
|
|
5366
5373
|
}, []);
|
|
5367
5374
|
const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
|
|
5368
5375
|
const { currentLayout } = extra_fields;
|
|
@@ -5464,7 +5471,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5464
5471
|
currentLayout == 'Fullscreen' ||
|
|
5465
5472
|
currentLayout == 'Sidebar' ||
|
|
5466
5473
|
currentLayout == 'Slider') {
|
|
5467
|
-
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }));
|
|
5474
|
+
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo, action: action }));
|
|
5468
5475
|
}
|
|
5469
5476
|
else if (currentLayout.includes('Skin')) {
|
|
5470
5477
|
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 }));
|
|
@@ -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-73f9d87e.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-62e99dd7.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-24b5abd0.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-24b5abd0.js';
|
|
3
|
+
export { D as DatePicker } from './index-e86e216e.js';
|
|
4
|
+
export { T as Text } from './index-590541f7.js';
|
|
5
|
+
import { B as Button } from './index-07044954.js';
|
|
6
|
+
export { B as Button } from './index-07044954.js';
|
|
7
|
+
export { I as Indicator } from './index-215711d6.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-59e1fa1d.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-56c0452a.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-9a03f7da.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-5d5d1f50.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-88e62144.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-88e62144.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-cf8c159f.js';
|
|
19
|
+
export { T as Tabs } from './index-6d739afc.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-73f9d87e.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-c20e820b.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-62e99dd7.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-6ce85d0a.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-360b32a1.js';
|
|
30
|
+
import './index-8f8524f4.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-eeb89b5b.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-068b0511.js';
|
|
39
|
+
import './index-07343770.js';
|
|
40
|
+
import './translationsContext-5ba74e34.js';
|
|
41
41
|
import '@mantine/notifications';
|
|
42
42
|
import 'dayjs';
|
|
43
43
|
|
package/build/esm/misc.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
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-e2335137.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-4bd5a73b.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-88e62144.js';
|
|
7
|
+
import './index-360b32a1.js';
|
|
8
|
+
import './index-73f9d87e.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 } from './number-
|
|
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-6ce85d0a.js';
|
|
11
|
+
import './index-8f8524f4.js';
|
|
12
|
+
export { a as abbreviateNumber } from './number-002267a0.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-268800f5.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
|
-
export { f as formatPill } from './dataTransform-
|
|
17
|
+
export { f as formatPill } from './dataTransform-16c87119.js';
|
|
18
18
|
import 'dayjs';
|
|
19
19
|
import '@emotion/react';
|
|
20
|
-
import './tslib.es6-
|
|
20
|
+
import './tslib.es6-56c0452a.js';
|
|
21
21
|
import '@mantine/notifications';
|
|
22
|
-
import './other-
|
|
23
|
-
import './Locale-
|
|
22
|
+
import './other-cf8c159f.js';
|
|
23
|
+
import './Locale-c20e820b.js';
|
|
24
24
|
import './constantsDomainLocales.js';
|
|
25
25
|
import './constantsIsProduction.js';
|
|
26
26
|
import 'date-fns/locale';
|
|
27
27
|
import './constantsSite.js';
|
|
28
28
|
import './constantsRiskScreener.js';
|
|
29
|
-
import './core-
|
|
30
|
-
import './WhatsApp-
|
|
31
|
-
import './index-
|
|
32
|
-
import './index-
|
|
29
|
+
import './core-8740936f.js';
|
|
30
|
+
import './WhatsApp-f7132b36.js';
|
|
31
|
+
import './index-fc568334.js';
|
|
32
|
+
import './index-88c7a454.js';
|
|
33
33
|
import 'js-cookie';
|
|
34
34
|
import 'uuid';
|
|
35
35
|
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-56c0452a.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-268800f5.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-8740936f.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-c20e820b.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-56c0452a.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-f7132b36.js';
|
|
4
|
+
import { S as SocialType } from './index-360b32a1.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-fc568334.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-73f9d87e.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-c20e820b.js';
|
|
8
|
+
import './index-88c7a454.js';
|
|
9
|
+
import './index-8f8524f4.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-6ce85d0a.js';
|
|
4
4
|
|
|
5
5
|
const ScreenSizeContext = createContext({
|
|
6
6
|
isInit: true,
|