@hhgtech/hhg-components 1.29.381 → 1.29.382-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-daa96c7f.js → InputDate-dd74e7d2.js} +3 -3
- package/build/{LastPeriod-b879ae50.js → LastPeriod-a2d62713.js} +1 -1
- package/build/{MobileBottomNavigationIcon-b3e43731.js → MobileBottomNavigationIcon-2ed82b88.js} +3 -3
- package/build/{Spinner-b16931e0.js → Spinner-d050e831.js} +1 -1
- package/build/{WhatsApp-d190e024.js → WhatsApp-8cd9592f.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.js +97 -97
- package/build/{constants-fbccd019.js → constants-ee4cf3a8.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-d0d9668c.js → core-28d3e135.js} +1 -1
- package/build/{dataTransform-53cc47e8.js → dataTransform-f5a1c602.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-2f4773da.js → editor-b100ddea.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-7ee4e5df.js → InputDate-a9fd40c5.js} +3 -3
- package/build/esm/{LastPeriod-aee51b8c.js → LastPeriod-5c8a67f5.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4fee4066.js → MobileBottomNavigationIcon-58c433fc.js} +3 -3
- package/build/esm/{Spinner-ced77ba5.js → Spinner-6d872fa7.js} +1 -1
- package/build/esm/{WhatsApp-5f952030.js → WhatsApp-5a80e9cd.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.js +97 -97
- package/build/esm/{constants-4ece6e19.js → constants-d4d8064c.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-f7971361.js → core-7db11293.js} +1 -1
- package/build/esm/{dataTransform-11849eaf.js → dataTransform-2a3965cb.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-580adab5.js → editor-93e7adf3.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-194e24dc.js → healthTools-79308e81.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-c33014a9.js → index-00496cd8.js} +22 -22
- package/build/esm/{index-66d47a00.js → index-05e70f45.js} +6 -6
- package/build/esm/{index-bbd07f5e.js → index-0673c345.js} +4 -4
- package/build/esm/{index-7ae5d8c5.js → index-0cbacfb3.js} +4 -4
- package/build/esm/{index-afafbfae.js → index-1c799b3a.js} +16 -16
- package/build/esm/{index-c3a29eb6.js → index-1f02659c.js} +2 -2
- package/build/esm/{index-b29faa2d.js → index-1feb78eb.js} +2 -2
- package/build/esm/{index-6c76e7d8.js → index-2770d551.js} +6 -6
- package/build/esm/{index-0ff2d5fe.js → index-28ef6646.js} +7 -7
- package/build/esm/{index-2f1762a0.js → index-2af7c0bf.js} +2 -2
- package/build/esm/{index-dedbc357.js → index-32fecc55.js} +1 -1
- package/build/esm/{index-a90040db.js → index-33354c3e.js} +3 -3
- package/build/esm/{index-9506b121.js → index-365f9c3b.js} +24 -24
- package/build/esm/{index-8a9492ed.js → index-3aff6214.js} +1 -1
- package/build/esm/{index-2610d62a.js → index-4098ebe0.js} +21 -21
- package/build/esm/{index-ad532261.js → index-41cea3ac.js} +32 -32
- package/build/esm/{index-00d20a38.js → index-451761d0.js} +3 -3
- package/build/esm/{index-f65d33cf.js → index-4b901e64.js} +1 -1
- package/build/esm/{index-10572fff.js → index-536b8afc.js} +2 -2
- package/build/esm/{index-f07069fd.js → index-5650f37e.js} +16 -16
- package/build/esm/{index-5c8237e0.js → index-58ae4cb8.js} +11 -11
- package/build/esm/{index-df429c43.js → index-591aabe5.js} +1 -1
- package/build/esm/{index-1c96b3a8.js → index-5d15b786.js} +7 -7
- package/build/esm/{index-c433dfc7.js → index-62ea9df9.js} +10 -10
- package/build/esm/{index-d1628c93.js → index-64836d69.js} +2 -2
- package/build/esm/{index-1874ebc4.js → index-648badce.js} +1 -1
- package/build/esm/{index-5f9333ac.js → index-6596e888.js} +15 -15
- package/build/esm/{index-eb223683.js → index-663f9603.js} +18 -18
- package/build/esm/{index-943f6b8d.js → index-6736253b.js} +16 -16
- package/build/esm/{index-ae5ed13b.js → index-6b00daf8.js} +6 -6
- package/build/esm/{index-fe32391b.js → index-6b8a5ac4.js} +3 -3
- package/build/esm/{index-66502ac3.js → index-75f43853.js} +2 -2
- package/build/esm/{index-63fd9bb4.js → index-78bddc62.js} +2 -2
- package/build/esm/{index-11973109.js → index-7b77fc5b.js} +2 -2
- package/build/esm/{index-c5869419.js → index-7c2d434f.js} +13 -13
- package/build/esm/{index-7196313f.js → index-7e03d5a1.js} +6 -6
- package/build/esm/{index-34cb0218.js → index-87f673cd.js} +13 -13
- package/build/esm/{index-9e32ffdf.js → index-89c6da58.js} +2 -2
- package/build/esm/{index-c5a2c320.js → index-8d88b185.js} +17 -17
- package/build/esm/{index-42126a54.js → index-8e139767.js} +31 -31
- package/build/esm/{index-17cef442.js → index-8fa916f7.js} +2 -2
- package/build/esm/{index-ed4f79cd.js → index-99ab0083.js} +17 -17
- package/build/esm/{index-7627263b.js → index-99d0530f.js} +1 -1
- package/build/esm/{index-c4cf8978.js → index-9b29864e.js} +1 -1
- package/build/esm/{index-c2ba3f97.js → index-9b43a761.js} +17 -17
- package/build/esm/{index-a48a1b89.js → index-a46292cc.js} +16 -16
- package/build/esm/{index-d1269d85.js → index-a7e66621.js} +2 -2
- package/build/esm/{index-90848846.js → index-a840f094.js} +3 -3
- package/build/esm/{index-e9e1314a.js → index-c0681b16.js} +2 -2
- package/build/esm/{index-a2db513e.js → index-c6792d8c.js} +25 -25
- package/build/esm/{index-4f7bc240.js → index-c9ab9c8b.js} +13 -13
- package/build/esm/{index-a2c0001a.js → index-ca810358.js} +2 -2
- package/build/esm/{index-c8e9c1f2.js → index-d7201eef.js} +2 -2
- package/build/esm/{index-eebcd38d.js → index-d7a20b11.js} +13 -13
- package/build/esm/{index-e7c49f2c.js → index-da9dbb7c.js} +3 -3
- package/build/esm/{index-daa926ee.js → index-e2cad5d0.js} +32 -32
- package/build/esm/{index-1a4f3604.js → index-e41c5800.js} +3 -3
- package/build/esm/{index-85962372.js → index-ea83112c.js} +5 -5
- package/build/esm/{index-2caf5d42.js → index-ef66b097.js} +1 -1
- package/build/esm/{index-a712ebff.js → index-f5ef323b.js} +18 -18
- package/build/esm/{index-222888c5.js → index-f6deff22.js} +8 -8
- package/build/esm/{index-49bfa5a5.js → index-fa295d3f.js} +6 -6
- package/build/esm/{index-2d5fe9fe.js → index-fbb8f3bc.js} +17 -17
- package/build/esm/{index-2c6b3ac1.js → index-fdf49043.js} +1 -1
- package/build/esm/{index-df94c463.js → index-ffdf00eb.js} +5 -5
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-5f53dfec.js → labelSorting-31dd532d.js} +4 -4
- package/build/esm/lead/LeadGen.type.d.ts +0 -10
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +1 -1
- package/build/esm/lead/{LeadGen.helpers.d.ts → helpers.d.ts} +0 -1
- package/build/esm/lead/layouts/lightbox/formContainer.d.ts +1 -2
- package/build/esm/lead/leadGenContext.d.ts +0 -1
- package/build/esm/lead.js +72 -249
- package/build/esm/{logoIcon-07a785f9.js → logoIcon-ee1c5aec.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 +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-4b62c29f.js → post-7076a31d.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +52 -40
- package/build/esm/{store-c1051f16.js → store-81e40bb8.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-69dd9834.js → surveyThankyouCard-39e2b7c2.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-2bc92759.js → translationsProvider-a9a231de.js} +1 -1
- package/build/esm/{treePopoverMenu-4ec3fbbe.js → treePopoverMenu-a0b7ddcb.js} +19 -19
- package/build/esm/{types-c4b0893c.js → types-3a74f86d.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-f042dcc6.js → useCategory-71db5026.js} +5 -5
- package/build/esm/{useHealthToolCache-aab71a82.js → useHealthToolCache-9e87b2a3.js} +1 -1
- package/build/esm/{useMantineLocale-5f481890.js → useMantineLocale-06ddf33f.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-f6dd9801.js → usePlacesAutocomplete-e6dcbf67.js} +1 -1
- package/build/esm/{useScreenSize-107e4476.js → useScreenSize-b81a49c4.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-4b1f4911.js → utils-091c1931.js} +2 -2
- package/build/esm/{utils-5bbddb95.js → utils-38374b69.js} +2 -2
- package/build/esm/{utils-de6d30da.js → utils-39b954b6.js} +5 -5
- package/build/esm/{utils-a2511d03.js → utils-b5926372.js} +3 -3
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-c69cd3df.js → healthTools-2dcd4813.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-8714b332.js → index-0ceda240.js} +6 -6
- package/build/{index-d2eb31c2.js → index-0f8babb6.js} +17 -17
- package/build/{index-f7808d58.js → index-0fbb1f3b.js} +13 -13
- package/build/{index-cec0e17c.js → index-0fc03f75.js} +6 -6
- package/build/{index-5af5364b.js → index-17928417.js} +32 -32
- package/build/{index-3b81de76.js → index-17cdf0e8.js} +15 -15
- package/build/{index-58d3e57f.js → index-2008ec44.js} +5 -5
- package/build/{index-c750622c.js → index-2aba1913.js} +6 -6
- package/build/{index-9f863257.js → index-2b4ef2c4.js} +31 -31
- package/build/{index-b8ddb4c8.js → index-2d739710.js} +13 -13
- package/build/{index-8707f8e5.js → index-2d7e520a.js} +11 -11
- package/build/{index-a174cf64.js → index-3140d389.js} +13 -13
- package/build/{index-d653cef0.js → index-390c4375.js} +13 -13
- package/build/{index-f1671261.js → index-3d3bc78c.js} +2 -2
- package/build/{index-236f6875.js → index-494cfa5f.js} +2 -2
- package/build/{index-043cf824.js → index-495101de.js} +3 -3
- package/build/{index-0ddd5b32.js → index-4d5c28da.js} +22 -22
- package/build/{index-5dd3f275.js → index-5232a65e.js} +18 -18
- package/build/{index-2d0ea12a.js → index-5713c607.js} +4 -4
- package/build/{index-e9cea6f1.js → index-5a866037.js} +7 -7
- package/build/{index-227f9281.js → index-5fa8a01c.js} +1 -1
- package/build/{index-08d3db5a.js → index-660d26f8.js} +32 -32
- package/build/{index-6197d4a5.js → index-6c22f1d2.js} +8 -8
- package/build/{index-97bf3563.js → index-6d24d38b.js} +18 -18
- package/build/{index-7a3a099e.js → index-75fa27ad.js} +2 -2
- package/build/{index-2d896dc1.js → index-82198655.js} +16 -16
- package/build/{index-4883b520.js → index-8500f830.js} +5 -5
- package/build/{index-b215f70d.js → index-878058c2.js} +3 -3
- package/build/{index-3ae26ee1.js → index-88d3182d.js} +16 -16
- package/build/{index-84b9dec2.js → index-8ba88539.js} +1 -1
- package/build/{index-2a07fb0b.js → index-8d709fb1.js} +1 -1
- package/build/{index-83d7e2c9.js → index-90155bc7.js} +3 -3
- package/build/{index-c0cd5e6a.js → index-90d6e11d.js} +2 -2
- package/build/{index-38598804.js → index-95a7ee76.js} +17 -17
- package/build/{index-d02f5dda.js → index-9cc84850.js} +2 -2
- package/build/{index-751084c3.js → index-a5c6919e.js} +25 -25
- package/build/{index-c539d8bf.js → index-a827f7c9.js} +2 -2
- package/build/{index-8b56b308.js → index-b267626a.js} +1 -1
- package/build/{index-089f6493.js → index-b2d67ed7.js} +2 -2
- package/build/{index-b964fa73.js → index-bd4516bf.js} +3 -3
- package/build/{index-23a4761c.js → index-bd992117.js} +4 -4
- package/build/{index-45b964ed.js → index-c07b6b7c.js} +2 -2
- package/build/{index-892e49ed.js → index-c104f499.js} +17 -17
- package/build/{index-65fd833d.js → index-c32259e8.js} +2 -2
- package/build/{index-0a3f13a5.js → index-c3f44f89.js} +1 -1
- package/build/{index-7949afde.js → index-c63110f7.js} +16 -16
- package/build/{index-b4062834.js → index-c6802c18.js} +2 -2
- package/build/{index-d901eced.js → index-c9e292ca.js} +21 -21
- package/build/{index-915c37ee.js → index-ca4765f9.js} +2 -2
- package/build/{index-ab9e8142.js → index-d3b16278.js} +1 -1
- package/build/{index-9b1cacb2.js → index-d4a8cd82.js} +6 -6
- package/build/{index-aabb26f4.js → index-d8aaa9c0.js} +2 -2
- package/build/{index-1b841142.js → index-da8861a4.js} +3 -3
- package/build/{index-eb2f4aa3.js → index-e050b229.js} +1 -1
- package/build/{index-a88b201c.js → index-e4310e64.js} +7 -7
- package/build/{index-605ebe63.js → index-e50add25.js} +2 -2
- package/build/{index-21ce2e3d.js → index-e6c3b3be.js} +17 -17
- package/build/{index-c44b93d5.js → index-efcbf497.js} +2 -2
- package/build/{index-39de8313.js → index-f21865de.js} +24 -24
- package/build/{index-e1fe161f.js → index-f3467ce0.js} +16 -16
- package/build/{index-a1155e83.js → index-f4355efb.js} +6 -6
- package/build/{index-9115436e.js → index-f936e953.js} +1 -1
- package/build/{index-b127ea92.js → index-fb67b1fb.js} +1 -1
- package/build/{index-be9995d7.js → index-fba4cac1.js} +3 -3
- package/build/{index-ebb24b00.js → index-ff41ceaa.js} +10 -10
- package/build/index.js +118 -118
- package/build/{labelSorting-857470cb.js → labelSorting-3c36654f.js} +4 -4
- package/build/lead/LeadGen.type.d.ts +0 -10
- package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +1 -1
- package/build/lead/{LeadGen.helpers.d.ts → helpers.d.ts} +0 -1
- package/build/lead/layouts/lightbox/formContainer.d.ts +1 -2
- package/build/lead/leadGenContext.d.ts +0 -1
- package/build/lead.js +74 -251
- package/build/{logoIcon-ca0c4d0b.js → logoIcon-fae0ee2a.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 +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-669e1d9a.js → post-8a3345a8.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +50 -38
- package/build/{store-95cacb23.js → store-5b0c9931.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-375dd204.js → surveyThankyouCard-afbab63a.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-ecb7bd4f.js → translationsProvider-214d415b.js} +1 -1
- package/build/{treePopoverMenu-4fa8aabb.js → treePopoverMenu-b4e148a2.js} +19 -19
- package/build/{types-6aa2dbc4.js → types-3913e41e.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-776503ae.js → useCategory-a3745399.js} +5 -5
- package/build/{useHealthToolCache-31ac363a.js → useHealthToolCache-46bbe9ae.js} +1 -1
- package/build/{useMantineLocale-db8770bf.js → useMantineLocale-de1fd5c7.js} +6 -6
- package/build/{usePlacesAutocomplete-0adbb147.js → usePlacesAutocomplete-847f2872.js} +1 -1
- package/build/{useScreenSize-b9202bdd.js → useScreenSize-1ba1a35d.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-57edd03d.js → utils-172117a5.js} +2 -2
- package/build/{utils-d479b508.js → utils-1969d799.js} +3 -3
- package/build/{utils-4b9568e0.js → utils-672a099e.js} +2 -2
- package/build/{utils-de349bcc.js → utils-da3835cf.js} +5 -5
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.d.ts +0 -3
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -21
- package/build/esm/lead/LeadGenLightBoxB/LeadGenLightBoxBTypeA.d.ts +0 -3
- package/build/esm/lead/LeadGenLightBoxB/index.d.ts +0 -1
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.d.ts +0 -3
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxB.styled.d.ts +0 -21
- package/build/lead/LeadGenLightBoxB/LeadGenLightBoxBTypeA.d.ts +0 -3
- package/build/lead/LeadGenLightBoxB/index.d.ts +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-ef387118.js → BMI_BOYS.percentile.monthly-d5bffb11.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1558f479.js → BMI_BOYS.percentile.weekly-1867a0dc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-0d694bf0.js → BMI_BOYS.percentile.yearly-d1f9a5d7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-57c9c3e3.js → BMI_BOYS.zscore.monthly-159f2169.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-01a03d38.js → BMI_BOYS.zscore.weekly-dfab6f6b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-498931d5.js → BMI_BOYS.zscore.yearly-bc8766c8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-c77f67a0.js → BMI_GIRLS.percentile.monthly-7ae8479d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a9aebe91.js → BMI_GIRLS.percentile.weekly-8af1b12b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8bfaa86b.js → BMI_GIRLS.percentile.yearly-9ac08bda.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6adedf7c.js → BMI_GIRLS.zscore.monthly-33c387ff.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f4b11125.js → BMI_GIRLS.zscore.weekly-9ea8cf69.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-024b60e0.js → BMI_GIRLS.zscore.yearly-72f7d2c9.js} +0 -0
- /package/build/{ChevronDown-5969a251.js → ChevronDown-4fbf830c.js} +0 -0
- /package/build/{Close-895f69a6.js → Close-eb958594.js} +0 -0
- /package/build/{Google-ca709f4b.js → Google-14aa3ae5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-af579aba.js → HEAD CIRCUM_BOYS.percentile.monthly-16d6b1e4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-859a4220.js → HEAD CIRCUM_BOYS.percentile.weekly-aa78f649.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c3739c6f.js → HEAD CIRCUM_BOYS.percentile.yearly-41799b5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba143599.js → HEAD CIRCUM_BOYS.zscore.monthly-07ae99f4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c9146c81.js → HEAD CIRCUM_BOYS.zscore.weekly-500e2bce.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a6788996.js → HEAD CIRCUM_BOYS.zscore.yearly-bd376b3d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-219f328a.js → HEAD CIRCUM_GIRLS.percentile.monthly-c663dca0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9290dfff.js → HEAD CIRCUM_GIRLS.percentile.weekly-f7ba7b90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-aa4b47f2.js → HEAD CIRCUM_GIRLS.percentile.yearly-063ca60d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-995fdbbb.js → HEAD CIRCUM_GIRLS.zscore.monthly-82317411.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-56e1b6f8.js → HEAD CIRCUM_GIRLS.zscore.weekly-36b0a7f7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-1412555e.js → HEAD CIRCUM_GIRLS.zscore.yearly-4d5791c4.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-39f9f415.js → HEIGHT_BOYS.percentile.monthly-fcb0cf4d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-139e64ff.js → HEIGHT_BOYS.percentile.weekly-6e2d8f76.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d2945c1b.js → HEIGHT_BOYS.percentile.yearly-25319ccc.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-569fdd24.js → HEIGHT_BOYS.zscore.monthly-efc2b062.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0d65d9fb.js → HEIGHT_BOYS.zscore.weekly-9d5077ad.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-5226ccde.js → HEIGHT_BOYS.zscore.yearly-9803a8a9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-44946be1.js → HEIGHT_GIRLS.percentile.monthly-7f4bfa8a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7f366dc1.js → HEIGHT_GIRLS.percentile.weekly-94e95dd7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-98556ce8.js → HEIGHT_GIRLS.percentile.yearly-f7cc0a5c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-50c10769.js → HEIGHT_GIRLS.zscore.monthly-45af6f76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-7c60925f.js → HEIGHT_GIRLS.zscore.weekly-250fc25f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-38130727.js → HEIGHT_GIRLS.zscore.yearly-768ba60b.js} +0 -0
- /package/build/{Locale-dd0fb27d.js → Locale-a9c49ae4.js} +0 -0
- /package/build/{Visible-4d689a04.js → Visible-cc69d36a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-809806cb.js → WEIGHT_BOYS.percentile.monthly-cd2fcc56.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-75327a5f.js → WEIGHT_BOYS.percentile.weekly-995c493b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-1812f8db.js → WEIGHT_BOYS.percentile.yearly-08431007.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e7836187.js → WEIGHT_BOYS.zscore.monthly-a51035d2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-51144c0d.js → WEIGHT_BOYS.zscore.weekly-16fd240a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-14e03eec.js → WEIGHT_BOYS.zscore.yearly-32036be6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-460178b2.js → WEIGHT_GIRLS.percentile.monthly-a414c13a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-cd904dec.js → WEIGHT_GIRLS.percentile.weekly-e22f5c35.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-44d2a801.js → WEIGHT_GIRLS.percentile.yearly-ba7f0125.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b11c83ba.js → WEIGHT_GIRLS.zscore.monthly-0969fc06.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-0dfc7251.js → WEIGHT_GIRLS.zscore.weekly-cd3d86a1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-51f05238.js → WEIGHT_GIRLS.zscore.yearly-5f160dd8.js} +0 -0
- /package/build/{animation-72de418c.js → animation-36b20cbe.js} +0 -0
- /package/build/{constants-a1c8bdc8.js → constants-25e9e11c.js} +0 -0
- /package/build/{constants-ab4ab9cf.js → constants-7e21a3d6.js} +0 -0
- /package/build/{constants-c7b3bc2b.js → constants-c2dc463e.js} +0 -0
- /package/build/{dataTransform-554bbdec.js → dataTransform-89c47b1b.js} +0 -0
- /package/build/{doctor-90899668.js → doctor-ac094911.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-62236fb0.js → BMI_BOYS.percentile.monthly-107aa692.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-9be9cf0c.js → BMI_BOYS.percentile.weekly-35776bd2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-73f632f6.js → BMI_BOYS.percentile.yearly-aa4a5ed6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-6e690633.js → BMI_BOYS.zscore.monthly-e1f220d4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-367d0fd8.js → BMI_BOYS.zscore.weekly-bddea1f2.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2d7367b6.js → BMI_BOYS.zscore.yearly-0d78437f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c0621052.js → BMI_GIRLS.percentile.monthly-57823f3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-9c8a124a.js → BMI_GIRLS.percentile.weekly-40878701.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9674fdff.js → BMI_GIRLS.percentile.yearly-7a48a234.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-9e0ceae2.js → BMI_GIRLS.zscore.monthly-ac4cdb4a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f255ae05.js → BMI_GIRLS.zscore.weekly-a2d23271.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-6ec64312.js → BMI_GIRLS.zscore.yearly-a07cec8a.js} +0 -0
- /package/build/esm/{ChevronDown-d0204928.js → ChevronDown-6de91909.js} +0 -0
- /package/build/esm/{Close-a47ae421.js → Close-728e2320.js} +0 -0
- /package/build/esm/{Google-e9e7cd67.js → Google-e30a11f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-df1bf283.js → HEAD CIRCUM_BOYS.percentile.monthly-0e81fc1a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ed342463.js → HEAD CIRCUM_BOYS.percentile.weekly-33ba06a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7ae479ad.js → HEAD CIRCUM_BOYS.percentile.yearly-83f2f1c9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-479e084c.js → HEAD CIRCUM_BOYS.zscore.monthly-eb52bab0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7b8f63b6.js → HEAD CIRCUM_BOYS.zscore.weekly-233f56bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-7cfabe9d.js → HEAD CIRCUM_BOYS.zscore.yearly-47173d2f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e6bce6a4.js → HEAD CIRCUM_GIRLS.percentile.monthly-5d291ecd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-91a76aae.js → HEAD CIRCUM_GIRLS.percentile.weekly-b48aa388.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-87d3cc55.js → HEAD CIRCUM_GIRLS.percentile.yearly-21eddd0d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c7bfea54.js → HEAD CIRCUM_GIRLS.zscore.monthly-1754ae7a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4d1d729c.js → HEAD CIRCUM_GIRLS.zscore.weekly-02e096ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-07813bd4.js → HEAD CIRCUM_GIRLS.zscore.yearly-9f40b0e6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3a0bb6c6.js → HEIGHT_BOYS.percentile.monthly-eff37a8d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-2cb349fa.js → HEIGHT_BOYS.percentile.weekly-54b18734.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ce86840d.js → HEIGHT_BOYS.percentile.yearly-47e46563.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e5e222d3.js → HEIGHT_BOYS.zscore.monthly-8072050d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-afa83e04.js → HEIGHT_BOYS.zscore.weekly-a8961b91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-432305e7.js → HEIGHT_BOYS.zscore.yearly-f1e695d9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3c46cd5a.js → HEIGHT_GIRLS.percentile.monthly-0f5d659c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4090b266.js → HEIGHT_GIRLS.percentile.weekly-56185382.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c7902854.js → HEIGHT_GIRLS.percentile.yearly-6fb0a46d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5b2fab40.js → HEIGHT_GIRLS.zscore.monthly-4bd02b5b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3a2a3438.js → HEIGHT_GIRLS.zscore.weekly-88c6e4d7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-eb5e8e6c.js → HEIGHT_GIRLS.zscore.yearly-54b9abad.js} +0 -0
- /package/build/esm/{Locale-4871b6e8.js → Locale-800b69eb.js} +0 -0
- /package/build/esm/{Visible-0003d50f.js → Visible-387f284f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e78cafa8.js → WEIGHT_BOYS.percentile.monthly-e5719dd2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-59f5198a.js → WEIGHT_BOYS.percentile.weekly-737ec589.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7967e824.js → WEIGHT_BOYS.percentile.yearly-ecc1cc0b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9d40503a.js → WEIGHT_BOYS.zscore.monthly-3ef2c471.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-29895229.js → WEIGHT_BOYS.zscore.weekly-82280aa2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8500251f.js → WEIGHT_BOYS.zscore.yearly-0aad6653.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6ffcd892.js → WEIGHT_GIRLS.percentile.monthly-7c760d64.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-36714225.js → WEIGHT_GIRLS.percentile.weekly-01b81ca7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-116177d0.js → WEIGHT_GIRLS.percentile.yearly-10c0f873.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d590db92.js → WEIGHT_GIRLS.zscore.monthly-1dff56a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0e2d6827.js → WEIGHT_GIRLS.zscore.weekly-04e3b451.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-57986709.js → WEIGHT_GIRLS.zscore.yearly-cd5dcd12.js} +0 -0
- /package/build/esm/{animation-aee7e4c4.js → animation-119d094d.js} +0 -0
- /package/build/esm/{constants-f83ae5fb.js → constants-2262f7e8.js} +0 -0
- /package/build/esm/{constants-223bc8ca.js → constants-6b33631b.js} +0 -0
- /package/build/esm/{constants-e3c63b1a.js → constants-943ebfda.js} +0 -0
- /package/build/esm/{dataTransform-e6bbdb47.js → dataTransform-7559da35.js} +0 -0
- /package/build/esm/{doctor-6f18edd9.js → doctor-c3d52d8a.js} +0 -0
- /package/build/esm/{index-59de2196.js → index-1bf9b75f.js} +0 -0
- /package/build/esm/{index-db655d85.js → index-201ec367.js} +0 -0
- /package/build/esm/{index-f15d5d74.js → index-42c4003e.js} +0 -0
- /package/build/esm/{index-10c2f9cb.js → index-50b8d42c.js} +0 -0
- /package/build/esm/{index-17d8af3e.js → index-898501c4.js} +0 -0
- /package/build/esm/{index-2b1b8099.js → index-ea2d6ebb.js} +0 -0
- /package/build/esm/{index-2a50e8f2.js → index-ed1f5e14.js} +0 -0
- /package/build/esm/{index-90b1f606.js → index-f59ce304.js} +0 -0
- /package/build/esm/{index.styles-f2d961c9.js → index.styles-a661d190.js} +0 -0
- /package/build/esm/{localizeNumberFormat-32158b38.js → localizeNumberFormat-f33de4a2.js} +0 -0
- /package/build/esm/{normalizeLink-023c379c.js → normalizeLink-4f5c21a5.js} +0 -0
- /package/build/esm/{number-d5c181fc.js → number-1384caea.js} +0 -0
- /package/build/esm/{other-1a34bf74.js → other-65025644.js} +0 -0
- /package/build/esm/{paths-b66b63fc.js → paths-6160b874.js} +0 -0
- /package/build/esm/{translationsContext-61fd6204.js → translationsContext-5b38097b.js} +0 -0
- /package/build/esm/{tslib.es6-685ff3e5.js → tslib.es6-482c9a47.js} +0 -0
- /package/build/esm/{types-9fed179e.js → types-6b2495d8.js} +0 -0
- /package/build/esm/{useIsInit-48eac93f.js → useIsInit-4c5f2322.js} +0 -0
- /package/build/esm/{useOutsideClick-0c5f11f9.js → useOutsideClick-c68ef033.js} +0 -0
- /package/build/esm/{useScrollbarSize-4a5eedc7.js → useScrollbarSize-2c778e11.js} +0 -0
- /package/build/esm/{useUniqueId-db56acba.js → useUniqueId-21d0106e.js} +0 -0
- /package/build/esm/{utils-eabfbcf9.js → utils-dadce18d.js} +0 -0
- /package/build/{index-b8a45464.js → index-2811abdb.js} +0 -0
- /package/build/{index-90e3d29b.js → index-61db837e.js} +0 -0
- /package/build/{index-1ea0b984.js → index-7b6cd3f7.js} +0 -0
- /package/build/{index-1ffee842.js → index-8094bf30.js} +0 -0
- /package/build/{index-8c3dc67b.js → index-a48680bf.js} +0 -0
- /package/build/{index-3a01b341.js → index-d15e8dcc.js} +0 -0
- /package/build/{index-4c891d77.js → index-d6390324.js} +0 -0
- /package/build/{index-6b2d6aa9.js → index-d764dfce.js} +0 -0
- /package/build/{index.styles-d7ac3518.js → index.styles-32ed231f.js} +0 -0
- /package/build/{localizeNumberFormat-112b1f89.js → localizeNumberFormat-4c94efe9.js} +0 -0
- /package/build/{normalizeLink-b3396801.js → normalizeLink-6d4e06aa.js} +0 -0
- /package/build/{number-89c4a32b.js → number-d8f5a847.js} +0 -0
- /package/build/{other-9def5955.js → other-36ab0d9f.js} +0 -0
- /package/build/{paths-1cf77b15.js → paths-c15efe94.js} +0 -0
- /package/build/{translationsContext-7a30a3fa.js → translationsContext-961ddb52.js} +0 -0
- /package/build/{tslib.es6-a6a9f13b.js → tslib.es6-71e43ffb.js} +0 -0
- /package/build/{types-6f324b7e.js → types-7ebc586f.js} +0 -0
- /package/build/{useIsInit-a984822d.js → useIsInit-cc0a7475.js} +0 -0
- /package/build/{useOutsideClick-6312cc2b.js → useOutsideClick-c27b86e3.js} +0 -0
- /package/build/{useScrollbarSize-c37e8218.js → useScrollbarSize-98e8fcdc.js} +0 -0
- /package/build/{useUniqueId-9efa6c97.js → useUniqueId-a1df85ab.js} +0 -0
- /package/build/{utils-7ee185ca.js → utils-bde2ddf0.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-482c9a47.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo } from 'react';
|
|
3
3
|
import { createStyles, Box, Button as Button$1, Input as Input$1, clsx, Autocomplete, 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 dayjs from 'dayjs';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
6
|
import { createFormContext, useForm } from '@mantine/form';
|
|
7
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
7
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-0cbacfb3.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-591aabe5.js';
|
|
10
|
+
import { T as TranslationsContext } from './translationsContext-5b38097b.js';
|
|
11
|
+
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-dadce18d.js';
|
|
12
|
+
import { T as Text } from './index-536b8afc.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-58ae4cb8.js';
|
|
14
|
+
import { D as DatePicker } from './index-05e70f45.js';
|
|
15
|
+
import { B as Button } from './index-fdf49043.js';
|
|
16
|
+
import './index.styles-a661d190.js';
|
|
17
17
|
import { useClickOutside } from '@mantine/hooks';
|
|
18
|
-
import './useMantineLocale-
|
|
19
|
-
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { 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-06ddf33f.js';
|
|
19
|
+
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-4b901e64.js';
|
|
20
|
+
import './index-50b8d42c.js';
|
|
21
|
+
import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-8fa916f7.js';
|
|
22
|
+
import './other-65025644.js';
|
|
23
|
+
import './index-451761d0.js';
|
|
24
|
+
import { M as MAPPED_LOCALE } from './utils-091c1931.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-e6dcbf67.js';
|
|
27
|
+
import { H as Heading$1 } from './index-78bddc62.js';
|
|
28
|
+
import { t as translationsMap$1 } from './translationsProvider-a9a231de.js';
|
|
29
|
+
import { L as LOCALE } from './Locale-800b69eb.js';
|
|
30
30
|
import { v1 } from 'uuid';
|
|
31
31
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
32
32
|
import styled from '@emotion/styled';
|
|
33
33
|
import { theme } from './miscTheme.js';
|
|
34
34
|
import { css } from '@emotion/react';
|
|
35
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
36
|
-
import { i as isVideo } from './index-
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
35
|
+
import { T as TogetherComponentGlobalContext } from './utils-b5926372.js';
|
|
36
|
+
import { i as isVideo } from './index-ea2d6ebb.js';
|
|
37
|
+
import { D as DrawerComponent } from './index-64836d69.js';
|
|
38
|
+
import { u as useScreenSize } from './useScreenSize-b81a49c4.js';
|
|
39
39
|
import { createPortal } from 'react-dom';
|
|
40
|
-
import { B as Button$2 } from './index-
|
|
41
|
-
import { I as InputDate } from './InputDate-
|
|
42
|
-
import { C as Close } from './Close-
|
|
40
|
+
import { B as Button$2 } from './index-7b77fc5b.js';
|
|
41
|
+
import { I as InputDate } from './InputDate-a9fd40c5.js';
|
|
42
|
+
import { C as Close } from './Close-728e2320.js';
|
|
43
43
|
import './constantsIsProduction.js';
|
|
44
|
-
import './normalizeLink-
|
|
44
|
+
import './normalizeLink-4f5c21a5.js';
|
|
45
45
|
import './constantsDomainLocales.js';
|
|
46
46
|
import '@hhgtech/icons/other';
|
|
47
47
|
import '@mantine/carousel';
|
|
48
48
|
import 'classnames';
|
|
49
|
-
import './useUniqueId-
|
|
49
|
+
import './useUniqueId-21d0106e.js';
|
|
50
50
|
import './constantsSite.js';
|
|
51
51
|
import '@hhgtech/icons/core';
|
|
52
52
|
import '@mantine/notifications';
|
|
@@ -63,11 +63,11 @@ import './i18n-values/tl-PH.js';
|
|
|
63
63
|
import './i18n-values/vi-VN.js';
|
|
64
64
|
import './i18n-values/vi-VN_MB.js';
|
|
65
65
|
import './i18n-values/zh-TW.js';
|
|
66
|
-
import './index-
|
|
66
|
+
import './index-42c4003e.js';
|
|
67
67
|
import 'slugify';
|
|
68
68
|
import 'string-format';
|
|
69
69
|
import './togetherApiPaths.js';
|
|
70
|
-
import './constants-
|
|
70
|
+
import './constants-6b33631b.js';
|
|
71
71
|
import 'vaul';
|
|
72
72
|
|
|
73
73
|
const LeadGenComponentContext = createContext({});
|
|
@@ -219,23 +219,6 @@ const leadGenFieldNamePhone = (listBlockAdded) => {
|
|
|
219
219
|
].includes(name))
|
|
220
220
|
.map(({ data }) => data.value);
|
|
221
221
|
};
|
|
222
|
-
const leadGenFieldRequired = (blocks) => {
|
|
223
|
-
if (!(blocks === null || blocks === void 0 ? void 0 : blocks.length)) {
|
|
224
|
-
return [];
|
|
225
|
-
}
|
|
226
|
-
return blocks
|
|
227
|
-
.map(({ data, name, id }) => {
|
|
228
|
-
const { required, value } = data;
|
|
229
|
-
if (name === LEADGEN_BLOCK.TncBlock && id) {
|
|
230
|
-
return `TNC-${id}`;
|
|
231
|
-
}
|
|
232
|
-
if (required) {
|
|
233
|
-
return value;
|
|
234
|
-
}
|
|
235
|
-
return;
|
|
236
|
-
})
|
|
237
|
-
.filter(Boolean);
|
|
238
|
-
};
|
|
239
222
|
const SSO_MAP_LEAD = ['name', 'email', 'birthday', 'phone', 'gender'];
|
|
240
223
|
const LEAD_LOCALE_DATA = {
|
|
241
224
|
'vi-VN': {
|
|
@@ -1973,7 +1956,7 @@ const LeadGenContext = createContext({
|
|
|
1973
1956
|
subscriptionTitle: '',
|
|
1974
1957
|
});
|
|
1975
1958
|
const LeadGenContextProvider = (props) => {
|
|
1976
|
-
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props
|
|
1959
|
+
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, } = props;
|
|
1977
1960
|
const [forceCampaign, setForceCampaign] = useState(forceCampaignProps);
|
|
1978
1961
|
const [subscriptionInfo, setSubscriptionInfo] = useState({
|
|
1979
1962
|
subscriptionIcon: '',
|
|
@@ -1983,6 +1966,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
1983
1966
|
const locale = useMemo(() => {
|
|
1984
1967
|
return localeProps || LOCALE['PhilippinesEnglish'];
|
|
1985
1968
|
}, [localeProps]);
|
|
1969
|
+
const leadGenContextValue = useMemo(() => (Object.assign(Object.assign({}, props), { forceCampaign })), [...Object.values(props), forceCampaign]);
|
|
1986
1970
|
const { url, campaign_id, campaign_code, cookie_id, ga_client_id, category_id, article_id, article_title, } = useMemo(() => ({
|
|
1987
1971
|
url: location.href.toLowerCase() || '',
|
|
1988
1972
|
cookie_id: getCookie('hhg-id') || null,
|
|
@@ -2029,21 +2013,17 @@ const LeadGenContextProvider = (props) => {
|
|
|
2029
2013
|
ga_client_id,
|
|
2030
2014
|
]);
|
|
2031
2015
|
const impression = useCallback((value) => {
|
|
2032
|
-
|
|
2016
|
+
return Service.campaignPostImpression({
|
|
2033
2017
|
url: (value === null || value === void 0 ? void 0 : value.url) || url,
|
|
2034
2018
|
action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
|
|
2035
2019
|
code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
|
|
2036
2020
|
title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
|
|
2037
2021
|
cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
|
|
2038
2022
|
ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
|
|
2023
|
+
extra: (value === null || value === void 0 ? void 0 : value.extra) || Object.assign({ cookie_id,
|
|
2024
|
+
article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }, extraValues),
|
|
2039
2025
|
referrer: value === null || value === void 0 ? void 0 : value.referrer,
|
|
2040
|
-
|
|
2041
|
-
article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }), extraValues),
|
|
2042
|
-
};
|
|
2043
|
-
if (!impression.extra.subscription_title) {
|
|
2044
|
-
delete impression.extra.subscription_title;
|
|
2045
|
-
}
|
|
2046
|
-
return Service.campaignPostImpression(impression);
|
|
2026
|
+
});
|
|
2047
2027
|
}, [
|
|
2048
2028
|
extraValues,
|
|
2049
2029
|
campaign_id,
|
|
@@ -2058,7 +2038,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2058
2038
|
]);
|
|
2059
2039
|
useEffect(() => {
|
|
2060
2040
|
if (forceCampaignProps) {
|
|
2061
|
-
setForceCampaign(
|
|
2041
|
+
setForceCampaign(forceCampaignProps);
|
|
2062
2042
|
return;
|
|
2063
2043
|
}
|
|
2064
2044
|
/** For Subscription Box */
|
|
@@ -2083,7 +2063,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2083
2063
|
if (campaignCodeProps) {
|
|
2084
2064
|
fetchCampaign(campaignCodeProps);
|
|
2085
2065
|
}
|
|
2086
|
-
}, [
|
|
2066
|
+
}, [campaignCodeProps, categoryId]);
|
|
2087
2067
|
useEffect(() => {
|
|
2088
2068
|
leadStore.apiSsoUrl = apiSsoUrl;
|
|
2089
2069
|
leadStore.apiLeadUrl = apiLeadUrl;
|
|
@@ -2092,19 +2072,14 @@ const LeadGenContextProvider = (props) => {
|
|
|
2092
2072
|
if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
|
|
2093
2073
|
return null;
|
|
2094
2074
|
}
|
|
2095
|
-
return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({},
|
|
2096
|
-
apiLeadUrl,
|
|
2097
|
-
apiSubotUrl, locale: localeProps, extraValues,
|
|
2098
|
-
articleId,
|
|
2099
|
-
categoryId, siteDomain: site_domain, forceCampaign,
|
|
2100
|
-
submit,
|
|
2075
|
+
return (React__default.createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, leadGenContextValue), subscriptionInfo), { submit,
|
|
2101
2076
|
submitSubscriptionBox,
|
|
2102
2077
|
impression }) },
|
|
2103
2078
|
React__default.createElement(LeadGenTranslationProvider, { locale: locale }, children)));
|
|
2104
2079
|
};
|
|
2105
2080
|
const useLeadGenContext = () => {
|
|
2106
2081
|
const context = useContext(LeadGenContext);
|
|
2107
|
-
return Object.assign(Object.assign({}, context), {
|
|
2082
|
+
return Object.assign(Object.assign({}, context), { apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
|
|
2108
2083
|
};
|
|
2109
2084
|
|
|
2110
2085
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -2382,17 +2357,10 @@ const StyledLeadGenSubscriptionBoxHeader = styled.div `
|
|
|
2382
2357
|
flex: 1;
|
|
2383
2358
|
min-width: 0;
|
|
2384
2359
|
color: ${theme.colors.gray900};
|
|
2385
|
-
font-size:
|
|
2360
|
+
font-size: 18px;
|
|
2386
2361
|
font-weight: 400;
|
|
2387
2362
|
line-height: 1.4;
|
|
2388
|
-
letter-spacing: -0.
|
|
2389
|
-
}
|
|
2390
|
-
|
|
2391
|
-
${MediaQueries.mbUp} {
|
|
2392
|
-
.leadgen-title {
|
|
2393
|
-
font-size: 18px;
|
|
2394
|
-
letter-spacing: -0.8px;
|
|
2395
|
-
}
|
|
2363
|
+
letter-spacing: -0.8px;
|
|
2396
2364
|
}
|
|
2397
2365
|
`;
|
|
2398
2366
|
const StyledLeadGenSubscriptionBox = styled.div `
|
|
@@ -2821,6 +2789,13 @@ const TextField$1 = (props) => {
|
|
|
2821
2789
|
const $focusEl = $textEl.item($textEl.length - 1);
|
|
2822
2790
|
if ($focusEl) {
|
|
2823
2791
|
$focusEl.focus();
|
|
2792
|
+
setTimeout(() => {
|
|
2793
|
+
$focusEl.scrollIntoView({
|
|
2794
|
+
behavior: 'auto',
|
|
2795
|
+
block: 'center',
|
|
2796
|
+
inline: 'start',
|
|
2797
|
+
});
|
|
2798
|
+
}, 100);
|
|
2824
2799
|
}
|
|
2825
2800
|
}, [shrink]);
|
|
2826
2801
|
useEffect(() => {
|
|
@@ -3289,155 +3264,6 @@ const FloatingLayout = ({ popupId, url, title, urlText, titleAlign, subtitle, su
|
|
|
3289
3264
|
React__default.createElement(CloseButton, { onClose: onClose, containerClassName: "close-button-top-right" }))))));
|
|
3290
3265
|
};
|
|
3291
3266
|
|
|
3292
|
-
const StyledLeadGenLightBoxBFooter = styled.div `
|
|
3293
|
-
padding-top: calc(var(--spacing-y, 20px) * 8 / 20);
|
|
3294
|
-
padding-inline: var(--spacing-x, 20px);
|
|
3295
|
-
padding-bottom: var(--spacing-y, 20px);
|
|
3296
|
-
`;
|
|
3297
|
-
const StyledLeadGenLightBoxBBody = styled.div `
|
|
3298
|
-
flex: 1;
|
|
3299
|
-
min-height: 0;
|
|
3300
|
-
overflow: auto;
|
|
3301
|
-
padding-inline: var(--spacing-y, 20px);
|
|
3302
|
-
padding-block: calc(var(--spacing-x, 20px) * 8 / 20);
|
|
3303
|
-
&::-webkit-scrollbar {
|
|
3304
|
-
width: 6px;
|
|
3305
|
-
height: 6px;
|
|
3306
|
-
}
|
|
3307
|
-
|
|
3308
|
-
&::-webkit-scrollbar-track {
|
|
3309
|
-
background-color: transparent;
|
|
3310
|
-
}
|
|
3311
|
-
|
|
3312
|
-
&::-webkit-scrollbar-thumb {
|
|
3313
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
3314
|
-
border-radius: 6px;
|
|
3315
|
-
}
|
|
3316
|
-
`;
|
|
3317
|
-
const StyledLeadGenLightBoxBHeader = styled.div `
|
|
3318
|
-
display: flex;
|
|
3319
|
-
padding-top: var(--spacing-y, 20px);
|
|
3320
|
-
padding-inline: var(--spacing-x, 20px);
|
|
3321
|
-
padding-bottom: calc(var(--spacing-y, 20px) * 8 / 20);
|
|
3322
|
-
`;
|
|
3323
|
-
const StyledLeadGenLightBoxBWrapper = styled.div `
|
|
3324
|
-
height: 100%;
|
|
3325
|
-
display: flex;
|
|
3326
|
-
flex-direction: column;
|
|
3327
|
-
`;
|
|
3328
|
-
const StyledLeadGenLightBoxB = styled.div `
|
|
3329
|
-
--spacing-x: 20px;
|
|
3330
|
-
--spacing-y: 20px;
|
|
3331
|
-
--close-width: 24px;
|
|
3332
|
-
--close-height: 24px;
|
|
3333
|
-
|
|
3334
|
-
// For old version, Wrap every thing in children
|
|
3335
|
-
&[data-type='LightBoxB_typeA'] {
|
|
3336
|
-
position: fixed;
|
|
3337
|
-
inset: 0;
|
|
3338
|
-
z-index: ${ZINDEX_SSO + 1};
|
|
3339
|
-
background-color: #fff;
|
|
3340
|
-
|
|
3341
|
-
.leadgen-wrapper,
|
|
3342
|
-
.leadgen-inner,
|
|
3343
|
-
.leadgen-form {
|
|
3344
|
-
height: 100%;
|
|
3345
|
-
}
|
|
3346
|
-
.leadgen-content {
|
|
3347
|
-
height: 100%;
|
|
3348
|
-
display: flex;
|
|
3349
|
-
flex-direction: column;
|
|
3350
|
-
}
|
|
3351
|
-
.leadgen-header {
|
|
3352
|
-
display: none;
|
|
3353
|
-
}
|
|
3354
|
-
.leadgen-title {
|
|
3355
|
-
padding-right: calc(var(--close-width, 24px) * 50 / 24);
|
|
3356
|
-
}
|
|
3357
|
-
.leadgen-description {
|
|
3358
|
-
display: none;
|
|
3359
|
-
}
|
|
3360
|
-
.leadgen-body {
|
|
3361
|
-
flex: 1;
|
|
3362
|
-
min-height: 0;
|
|
3363
|
-
}
|
|
3364
|
-
|
|
3365
|
-
.leadgen-close_btn {
|
|
3366
|
-
top: var(--spacing-y, 20px);
|
|
3367
|
-
right: var(--spacing-x, 20px);
|
|
3368
|
-
width: var(--close-width, 24px) !important;
|
|
3369
|
-
height: var(--close-height, 24px);
|
|
3370
|
-
box-shadow: none;
|
|
3371
|
-
font-size: 24px;
|
|
3372
|
-
}
|
|
3373
|
-
|
|
3374
|
-
.leadgen-empty_footer {
|
|
3375
|
-
.leadgen-btn {
|
|
3376
|
-
flex: 1;
|
|
3377
|
-
min-width: 0;
|
|
3378
|
-
}
|
|
3379
|
-
}
|
|
3380
|
-
|
|
3381
|
-
.leadgen-form_body {
|
|
3382
|
-
overflow: auto;
|
|
3383
|
-
animation: scrolling forwards;
|
|
3384
|
-
animation-timeline: scroll(self);
|
|
3385
|
-
}
|
|
3386
|
-
@keyframes scrolling {
|
|
3387
|
-
0%,
|
|
3388
|
-
to {
|
|
3389
|
-
border-bottom: 1px solid ${theme.colors.neutral100};
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3392
|
-
}
|
|
3393
|
-
`;
|
|
3394
|
-
|
|
3395
|
-
const PREFIX_CLS = 'LightBoxB_typeA';
|
|
3396
|
-
const LeadGenLightBoxBTypeA = (props) => {
|
|
3397
|
-
const { visible, onVisible, icon, title, buttonText, blocks, children } = props, restProps = __rest(props, ["visible", "onVisible", "icon", "title", "buttonText", "blocks", "children"]);
|
|
3398
|
-
const formRef = useRef();
|
|
3399
|
-
const [open, setOpen] = useState(visible);
|
|
3400
|
-
const onOpenChange = useCallback((open) => {
|
|
3401
|
-
onVisible === null || onVisible === void 0 ? void 0 : onVisible(open);
|
|
3402
|
-
}, [onVisible]);
|
|
3403
|
-
const iconComp = useMemo(() => {
|
|
3404
|
-
if (!icon) {
|
|
3405
|
-
return null;
|
|
3406
|
-
}
|
|
3407
|
-
return React__default.createElement(React__default.Fragment, null);
|
|
3408
|
-
}, [icon]);
|
|
3409
|
-
const titleComp = useMemo(() => {
|
|
3410
|
-
if (!title) {
|
|
3411
|
-
return null;
|
|
3412
|
-
}
|
|
3413
|
-
return title;
|
|
3414
|
-
}, [title]);
|
|
3415
|
-
const childrenComp = useMemo(() => {
|
|
3416
|
-
if (children) {
|
|
3417
|
-
return children;
|
|
3418
|
-
}
|
|
3419
|
-
return (React__default.createElement(StyledLeadGenLightBoxBWrapper, { className: `${PREFIX_CLS}_wrapper lightboxB_wrapper` },
|
|
3420
|
-
React__default.createElement(StyledLeadGenLightBoxBHeader, { className: `${PREFIX_CLS}_header lightboxB_header` },
|
|
3421
|
-
React__default.createElement("div", { className: "lightBoxB_header_icon" }, iconComp),
|
|
3422
|
-
React__default.createElement("div", { className: "lightBoxB_header_title" }, titleComp),
|
|
3423
|
-
React__default.createElement("div", { className: "lightBoxB_header_close", onClick: () => onOpenChange(false) },
|
|
3424
|
-
React__default.createElement(CloseButton, null))),
|
|
3425
|
-
React__default.createElement(StyledLeadGenLightBoxBBody, { className: `${PREFIX_CLS}_body lightboxB_body` },
|
|
3426
|
-
React__default.createElement(LeadGenForm, Object.assign({ ref: formRef, blocks: blocks }, restProps))),
|
|
3427
|
-
React__default.createElement(StyledLeadGenLightBoxBFooter, { className: `${PREFIX_CLS}_footer lightboxB_footer` },
|
|
3428
|
-
React__default.createElement(Button, { onClick: () => { var _a; return (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.submit(); } }, buttonText))));
|
|
3429
|
-
}, [children, onOpenChange]);
|
|
3430
|
-
useEffect(() => {
|
|
3431
|
-
setOpen(visible);
|
|
3432
|
-
}, [visible]);
|
|
3433
|
-
return (React__default.createElement(DrawerComponent, { open: open, onOpenChange: onOpenChange },
|
|
3434
|
-
React__default.createElement(StyledLeadGenLightBoxB, { "data-type": "LightBoxB_typeA" }, childrenComp)));
|
|
3435
|
-
};
|
|
3436
|
-
|
|
3437
|
-
const LeadGenLightBoxB = (props) => {
|
|
3438
|
-
return React__default.createElement(LeadGenLightBoxBTypeA, Object.assign({}, props));
|
|
3439
|
-
};
|
|
3440
|
-
|
|
3441
3267
|
const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkNewTab, linkText, image, }) => {
|
|
3442
3268
|
const { primaryColor } = useContext(LeadGenContext$1);
|
|
3443
3269
|
const { width: imageWidth, height: imageHeight, loaded: imageLoaded, } = useImageSize(image);
|
|
@@ -3933,6 +3759,13 @@ const TextField = (props) => {
|
|
|
3933
3759
|
const $focusEl = $textEl.item($textEl.length - 1);
|
|
3934
3760
|
if ($focusEl) {
|
|
3935
3761
|
$focusEl.focus();
|
|
3762
|
+
setTimeout(() => {
|
|
3763
|
+
$focusEl.scrollIntoView({
|
|
3764
|
+
behavior: 'auto',
|
|
3765
|
+
block: 'center',
|
|
3766
|
+
inline: 'start',
|
|
3767
|
+
});
|
|
3768
|
+
}, 100);
|
|
3936
3769
|
}
|
|
3937
3770
|
}, [shrink]);
|
|
3938
3771
|
useEffect(() => {
|
|
@@ -4119,9 +3952,8 @@ const StyledFormContainer = styled.div `
|
|
|
4119
3952
|
*
|
|
4120
3953
|
*/
|
|
4121
3954
|
const FormContainer = (_a) => {
|
|
4122
|
-
var {
|
|
3955
|
+
var { title, titleAlign, description, descriptionAlign, className, style, children, header, footer } = _a, restProps = __rest(_a, ["title", "titleAlign", "description", "descriptionAlign", "className", "style", "children", "header", "footer"]);
|
|
4123
3956
|
const HeaderContent = (React__default.createElement("div", { className: "leadgen-form_header" },
|
|
4124
|
-
iconComponent,
|
|
4125
3957
|
React__default.createElement("h2", { title: title, className: "leadgen-title", "data-align": titleAlign }, title),
|
|
4126
3958
|
!!description && (React__default.createElement("p", { title: description, className: "leadgen-description", "data-align": descriptionAlign, dangerouslySetInnerHTML: { __html: description } }))));
|
|
4127
3959
|
if (!title && !description) {
|
|
@@ -4311,7 +4143,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4311
4143
|
const [open, setOpen] = useState(!!campaignId);
|
|
4312
4144
|
const [showOtpPhone, setShowOtpPhone] = useState(null);
|
|
4313
4145
|
const [isSubmitLoading, setIsSubmitLoading] = useState(false);
|
|
4314
|
-
|
|
4146
|
+
const [snap, setSnap] = useState(0.8);
|
|
4315
4147
|
const formRef = useRef();
|
|
4316
4148
|
const onClose = () => {
|
|
4317
4149
|
if (showOtpPhone) {
|
|
@@ -4370,19 +4202,13 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4370
4202
|
userInfo,
|
|
4371
4203
|
format: (_a = (ISO_FORMAT[locale] || ISO_FORMAT['vi-VN'])) === null || _a === void 0 ? void 0 : _a.dateFormat,
|
|
4372
4204
|
});
|
|
4373
|
-
const listBlockAddedRequired = useMemo(() => leadGenFieldRequired(listBlockAdded), listBlockAdded);
|
|
4374
|
-
const disabledButtonSubmit = useMemo(() => {
|
|
4375
|
-
if (listBlockAddedRequired.length) {
|
|
4376
|
-
return listBlockAddedRequired.some((k) => !form.values[k]);
|
|
4377
|
-
}
|
|
4378
|
-
return false;
|
|
4379
|
-
}, [...listBlockAddedRequired.map((k) => form.values[k])]);
|
|
4380
4205
|
const onFocus = (e) => {
|
|
4381
|
-
e.
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4206
|
+
const target = e.target;
|
|
4207
|
+
target.scrollIntoView({
|
|
4208
|
+
block: 'center',
|
|
4209
|
+
inline: 'nearest',
|
|
4210
|
+
behavior: 'auto',
|
|
4211
|
+
});
|
|
4386
4212
|
};
|
|
4387
4213
|
const middlewareOnSubmit = (e) => {
|
|
4388
4214
|
e.preventDefault();
|
|
@@ -4469,13 +4295,8 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4469
4295
|
(isFullscreen ? imageBackgroundLoaded : true);
|
|
4470
4296
|
const ButtonSubmit = useMemo(() => {
|
|
4471
4297
|
var _a;
|
|
4472
|
-
return !((_a = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _a === void 0 ? void 0 : _a.isHide) && (React__default.createElement(Button$1, { size: "lg", id: "lead-submit", type: "submit", variant: "filled", className: "leadgen-btn leadgen-btn_action",
|
|
4473
|
-
}, [
|
|
4474
|
-
popUpSubmitText,
|
|
4475
|
-
isSubmitLoading,
|
|
4476
|
-
disabledButtonSubmit,
|
|
4477
|
-
(_b = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _b === void 0 ? void 0 : _b.isHide,
|
|
4478
|
-
]);
|
|
4298
|
+
return !((_a = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _a === void 0 ? void 0 : _a.isHide) && (React__default.createElement(Button$1, { size: "lg", id: "lead-submit", type: "submit", variant: "filled", className: "leadgen-btn leadgen-btn_action", loading: isSubmitLoading }, popUpSubmitText));
|
|
4299
|
+
}, [popUpSubmitText, isSubmitLoading, (_b = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _b === void 0 ? void 0 : _b.isHide]);
|
|
4479
4300
|
const LinkButtonBlock = listBlockAdded.filter(({ name }) => name == LEADGEN_BLOCK.LinkButtonBlock);
|
|
4480
4301
|
const ButtonLink = !!(LinkButtonBlock === null || LinkButtonBlock === void 0 ? void 0 : LinkButtonBlock.length) && (React__default.createElement(React__default.Fragment, null, LinkButtonBlock.map((item, index) => {
|
|
4481
4302
|
var _a, _b, _c;
|
|
@@ -4530,7 +4351,9 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4530
4351
|
'leadgen-inline': isInPage,
|
|
4531
4352
|
'leadgen-slider': isSlider,
|
|
4532
4353
|
});
|
|
4533
|
-
const PopupContainer = isDrawer ? (React__default.createElement(
|
|
4354
|
+
const PopupContainer = isDrawer ? (React__default.createElement(DrawerComponent, { fadeFromIndex: ZINDEX_SSO - 9e6, open: open, snapPoints: [0.8, 1], activeSnapPoint: snap, setActiveSnapPoint: setSnap, onOpenChange: onOpenChange, overlayClassName: popupContainerClassName, className: "leadgen-drawer" },
|
|
4355
|
+
PopupWrapper,
|
|
4356
|
+
React__default.createElement("div", { style: { position: 'absolute', inset: 0, zIndex: snap === 1 ? -1 : 1 }, onClick: () => setSnap(1) }))) : (React__default.createElement("div", { id: popupId, "data-popup-url": currentPath, "data-popup-type": "lightbox-inline", className: popupContainerClassName },
|
|
4534
4357
|
isFullscreen ? (React__default.createElement("img", { className: "le-only-desktop le-fullscreen-img", draggable: false, src: imageBackground || '', style: {
|
|
4535
4358
|
aspectRatio: `${imageBackgroundWidth}/${imageBackgroundHeight}`,
|
|
4536
4359
|
} })) : null,
|
|
@@ -5037,7 +4860,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5037
4860
|
return (React__default.createElement(LeadGenContext$1.Provider, { value: { primaryColor, apiUrl, siteDomain, siteId, locale } },
|
|
5038
4861
|
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, userInfo: userInfo }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
|
|
5039
4862
|
React__default.createElement(Box, { sx: { position: 'fixed', zIndex: ZINDEX_SSO - 9e6 } },
|
|
5040
|
-
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"
|
|
4863
|
+
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) => {
|
|
5041
4864
|
var _a;
|
|
5042
4865
|
return (React__default.createElement(Box, { style: styles }, ((_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.popupVersion) === '2.1' && (React__default.createElement(React__default.Fragment, null,
|
|
5043
4866
|
!!showCampaign.extra_fields.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-50b8d42c.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-b81a49c4.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-58ae4cb8.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-58ae4cb8.js';
|
|
3
|
+
export { D as DatePicker } from './index-05e70f45.js';
|
|
4
|
+
export { T as Text } from './index-536b8afc.js';
|
|
5
|
+
import { B as Button } from './index-fdf49043.js';
|
|
6
|
+
export { B as Button } from './index-fdf49043.js';
|
|
7
|
+
export { I as Indicator } from './index-32fecc55.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-89c6da58.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-482c9a47.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-6b8a5ac4.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-1bf9b75f.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-06ddf33f.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-06ddf33f.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-65025644.js';
|
|
19
|
+
export { T as Tabs } from './index-451761d0.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-50b8d42c.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-800b69eb.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-b81a49c4.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-dadce18d.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-4b901e64.js';
|
|
30
|
+
import './index-8fa916f7.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-21d0106e.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-a661d190.js';
|
|
39
|
+
import './index-591aabe5.js';
|
|
40
|
+
import './translationsContext-5b38097b.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-f33de4a2.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-119d094d.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-06ddf33f.js';
|
|
7
|
+
import './index-4b901e64.js';
|
|
8
|
+
import './index-50b8d42c.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-dadce18d.js';
|
|
11
|
+
import './index-8fa916f7.js';
|
|
12
|
+
export { a as abbreviateNumber } from './number-1384caea.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-4f5c21a5.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-7559da35.js';
|
|
18
18
|
import 'dayjs';
|
|
19
19
|
import '@emotion/react';
|
|
20
|
-
import './tslib.es6-
|
|
20
|
+
import './tslib.es6-482c9a47.js';
|
|
21
21
|
import '@mantine/notifications';
|
|
22
|
-
import './other-
|
|
23
|
-
import './Locale-
|
|
22
|
+
import './other-65025644.js';
|
|
23
|
+
import './Locale-800b69eb.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-7db11293.js';
|
|
30
|
+
import './WhatsApp-5a80e9cd.js';
|
|
31
|
+
import './index-33354c3e.js';
|
|
32
|
+
import './index-42c4003e.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-482c9a47.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-4f5c21a5.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-7db11293.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-800b69eb.js';
|
|
6
6
|
import './constantsIsProduction.js';
|
|
7
7
|
|
|
8
8
|
const formatHealthTool = (healthTool, locale) => {
|