@hhgtech/hhg-components 1.29.402-beta-7 → 1.29.403
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-8c5e0389.js → InputDate-957372e2.js} +3 -3
- package/build/{LastPeriod-2e880567.js → LastPeriod-9ab6ff95.js} +1 -1
- package/build/{Locale-2782b64d.js → Locale-8825f9b9.js} +1 -1
- package/build/{MobileBottomNavigationIcon-95025452.js → MobileBottomNavigationIcon-6765d1a3.js} +3 -3
- package/build/{Spinner-5cb35768.js → Spinner-78791bf0.js} +1 -1
- package/build/{WhatsApp-7dfda0b9.js → WhatsApp-8c42f6a8.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-4d18a691.js → constants-3efdb800.js} +1 -1
- package/build/{constants-8463a968.js → constants-a64f47e1.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +3 -3
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-c613662c.js → core-0f630c54.js} +1 -1
- package/build/{dataTransform-917b6cf0.js → dataTransform-30fdf23a.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-527d41b2.js → editor-8bdb6975.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-da100bdb.js → InputDate-c841726d.js} +3 -3
- package/build/esm/{LastPeriod-8c256418.js → LastPeriod-46e6e56c.js} +1 -1
- package/build/esm/{Locale-790fb9e7.js → Locale-ba710a0f.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4d76ced4.js → MobileBottomNavigationIcon-aa6b519f.js} +3 -3
- package/build/esm/{Spinner-e4975734.js → Spinner-ce5e0c1d.js} +1 -1
- package/build/esm/{WhatsApp-ae7b1c4b.js → WhatsApp-2784fb3e.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-78b3bbc4.js → constants-a52fee48.js} +1 -1
- package/build/esm/{constants-7cd1ac0b.js → constants-e2ba6e30.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +3 -3
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-df8956d1.js → core-738d04bf.js} +1 -1
- package/build/esm/{dataTransform-0dcb2b93.js → dataTransform-3c7966f3.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-bc0ca2f7.js → editor-2f3002e6.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-6426385d.js → healthTools-e6ef1248.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/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +0 -7
- package/build/esm/i18n-values/hi-IN.js +0 -7
- package/build/esm/i18n-values/id-ID.js +0 -7
- package/build/esm/i18n-values/km-KH.js +0 -7
- package/build/esm/i18n-values/ms-MY.js +0 -7
- package/build/esm/i18n-values/my-MM.js +0 -7
- package/build/esm/i18n-values/th-TH.js +0 -7
- package/build/esm/i18n-values/tl-PH.js +0 -7
- package/build/esm/i18n-values/vi-VN.js +0 -7
- package/build/esm/i18n-values/vi-VN_MB.js +0 -7
- package/build/esm/i18n-values/{zh-SG.js → zh-CN.js} +2 -9
- package/build/esm/i18n-values/zh-TW.js +0 -7
- package/build/esm/i18n.js +2 -3
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-d84fad0c.js → index-0056933c.js} +7 -7
- package/build/esm/{index-0b724e6f.js → index-047ee8ca.js} +16 -16
- package/build/esm/{index-1d41b9b7.js → index-08577405.js} +5 -5
- package/build/esm/{index-d9716837.js → index-13aff547.js} +2 -2
- package/build/esm/{index-bdcdb0da.js → index-20b75eb0.js} +2 -2
- package/build/esm/{index-5fcd5532.js → index-228c55b9.js} +1 -1
- package/build/esm/{index-3aea49d5.js → index-22927fae.js} +2 -2
- package/build/esm/{index-2ec16713.js → index-2546d519.js} +13 -13
- package/build/esm/{index-bf4fb781.js → index-2b79e483.js} +5 -5
- package/build/esm/{index-0f71bcbd.js → index-2f0d1659.js} +1 -1
- package/build/esm/{index-841d6738.js → index-2f19b319.js} +25 -25
- package/build/esm/{index-e5361e87.js → index-2f8761bc.js} +2 -2
- package/build/esm/{index-6e651086.js → index-2ffca0a7.js} +3 -3
- package/build/esm/{index-7e3f9714.js → index-344c89f9.js} +11 -11
- package/build/esm/{index-692c709b.js → index-37f2457d.js} +16 -16
- package/build/esm/{index-32c506ef.js → index-3c9b77d8.js} +1 -1
- package/build/esm/{index-1d8987ee.js → index-47c5454d.js} +1 -1
- package/build/esm/{index-efbb2163.js → index-48a11e31.js} +6 -6
- package/build/esm/{index-ff415930.js → index-4b827cd1.js} +2 -2
- package/build/esm/{index-371cfff6.js → index-5829bec5.js} +17 -17
- package/build/esm/{index-0b2221bb.js → index-5945fdbc.js} +13 -13
- package/build/esm/{index-78ba2361.js → index-5b3679e3.js} +2 -2
- package/build/esm/{index-4526ceae.js → index-5d556e3e.js} +17 -17
- package/build/esm/{index-c144e1ac.js → index-66665b51.js} +11 -11
- package/build/esm/{index-35e160f2.js → index-67a923f4.js} +2 -2
- package/build/esm/{index-0dae225c.js → index-6e33cccd.js} +32 -32
- package/build/esm/{index-42c9fc60.js → index-6f5baf74.js} +6 -6
- package/build/esm/{index-60460521.js → index-75535e7e.js} +18 -18
- package/build/esm/{index-fed03ef5.js → index-78b867ae.js} +21 -21
- package/build/esm/{index-69b48a68.js → index-79d01ace.js} +17 -17
- package/build/esm/{index-22f15f1c.js → index-7df73cf0.js} +18 -18
- package/build/esm/{index-d2e923ab.js → index-7ee380c8.js} +1 -1
- package/build/esm/{index-b4db706f.js → index-7f880fc1.js} +16 -16
- package/build/esm/{index-e3073ae7.js → index-8089b2e6.js} +1 -1
- package/build/esm/{index-bb86575c.js → index-824798f2.js} +2 -2
- package/build/esm/{index-8aca4a20.js → index-8402e346.js} +15 -15
- package/build/esm/{index-694b650c.js → index-8dcfadb9.js} +3 -3
- package/build/esm/{index-7a530e42.js → index-92de8539.js} +7 -7
- package/build/esm/{index-0823d962.js → index-935beff5.js} +2 -2
- package/build/esm/{index-41707ead.js → index-95528c94.js} +1 -1
- package/build/esm/{index-f5918823.js → index-95a764bd.js} +18 -18
- package/build/esm/{index-0e62dcbf.js → index-9ab23e32.js} +6 -6
- package/build/esm/{index-ba9c4e6c.js → index-9c83d1be.js} +13 -13
- package/build/esm/{index-a9198a58.js → index-a5152cd4.js} +6 -6
- package/build/esm/{index-46bb02ad.js → index-a6d19577.js} +1 -1
- package/build/esm/{index-1b194122.js → index-a97a4f40.js} +16 -16
- package/build/esm/{index-7a66a6a6.js → index-b0ea7a33.js} +4 -4
- package/build/esm/{index-25a33d2c.js → index-b3516501.js} +4 -4
- package/build/esm/{index-e46ea1f9.js → index-bbba54f5.js} +5 -5
- package/build/esm/{index-741182d1.js → index-c59aca6b.js} +30 -30
- package/build/esm/{index-20ea75fd.js → index-c771d708.js} +2 -2
- package/build/esm/{index-71b4d3ba.js → index-d2fb0073.js} +24 -24
- package/build/esm/{index-9f6d1b07.js → index-d44e74b9.js} +3 -3
- package/build/esm/{index-a24629aa.js → index-d8562ddd.js} +2 -2
- package/build/esm/{index-d469cd30.js → index-d93de8df.js} +3 -3
- package/build/esm/{index-fa45fe35.js → index-d9669dae.js} +2 -2
- package/build/esm/{index-8397c204.js → index-d97df5ca.js} +1 -1
- package/build/esm/{index-a4074c97.js → index-db0c6652.js} +13 -13
- package/build/esm/{index-d69bef46.js → index-db614ab7.js} +10 -10
- package/build/esm/{index-c40ddd98.js → index-e025cf75.js} +2 -2
- package/build/esm/{index-ac808c6b.js → index-e85f042b.js} +22 -22
- package/build/esm/{index-442ca433.js → index-e9c562fc.js} +6 -6
- package/build/esm/{index-2546c840.js → index-f65b5958.js} +31 -31
- package/build/esm/{index-da038c03.js → index-fc392810.js} +3 -3
- package/build/esm/{index-1fc85682.js → index-ff297655.js} +3 -3
- package/build/esm/index.js +118 -118
- package/build/esm/interfaces/constants/domainLocales.d.ts +2 -2
- package/build/esm/interfaces/types/Locale.d.ts +1 -1
- package/build/esm/interfaces/types/index.d.ts +1 -1
- package/build/esm/{labelSorting-16372444.js → labelSorting-1d68ca24.js} +4 -4
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +9 -15
- package/build/esm/lead/layouts/inline.d.ts +3 -5
- package/build/esm/lead/layouts/lightbox/index.d.ts +1 -2
- package/build/esm/lead/services/index.d.ts +0 -14
- package/build/esm/lead.js +128 -308
- package/build/esm/{logoIcon-80901a2a.js → logoIcon-a128ae7b.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-566957ae.js → post-7ed3aed7.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-1eb27d6b.js → store-64db2db8.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-8ab306c7.js → surveyThankyouCard-acb6b584.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-df506e74.js → translationsProvider-bb3a592c.js} +2 -3
- package/build/esm/{treePopoverMenu-0a07f10c.js → treePopoverMenu-b99aa343.js} +19 -19
- package/build/esm/{types-d20b2433.js → types-e7f0f0e6.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-21b847d3.js → useCategory-0b5d9009.js} +7 -7
- package/build/esm/{useHealthToolCache-bc901e3d.js → useHealthToolCache-4ad3b255.js} +1 -1
- package/build/esm/{useMantineLocale-9a05b09a.js → useMantineLocale-61626c6b.js} +8 -8
- package/build/esm/{usePlacesAutocomplete-2d57f416.js → usePlacesAutocomplete-20a6a8f5.js} +1 -1
- package/build/esm/{useScreenSize-cdae21ba.js → useScreenSize-dfb24ed3.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-2d80c929.js → utils-585bee19.js} +3 -3
- package/build/esm/{utils-2e62b4d5.js → utils-9123af16.js} +2 -2
- package/build/esm/{utils-616e8258.js → utils-97d8b75d.js} +2 -2
- package/build/esm/{utils-3b721eab.js → utils-9ad7733e.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-e63390ae.js → healthTools-2689de84.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +0 -7
- package/build/i18n-values/hi-IN.js +0 -7
- package/build/i18n-values/id-ID.js +0 -7
- package/build/i18n-values/km-KH.js +0 -7
- package/build/i18n-values/ms-MY.js +0 -7
- package/build/i18n-values/my-MM.js +0 -7
- package/build/i18n-values/th-TH.js +0 -7
- package/build/i18n-values/tl-PH.js +0 -7
- package/build/i18n-values/vi-VN.js +0 -7
- package/build/i18n-values/vi-VN_MB.js +0 -7
- package/build/i18n-values/{zh-SG.js → zh-CN.js} +2 -9
- package/build/i18n-values/zh-TW.js +0 -7
- package/build/i18n.js +2 -3
- package/build/i18nV2.js +1 -1
- package/build/{index-8c15c357.js → index-0121f112.js} +6 -6
- package/build/{index-db89b2d5.js → index-0370f88c.js} +1 -1
- package/build/{index-41b69991.js → index-091d0ee4.js} +16 -16
- package/build/{index-2a51dd4d.js → index-0bcd08d2.js} +3 -3
- package/build/{index-a630a943.js → index-0debcd0b.js} +1 -1
- package/build/{index-d1cc23ad.js → index-148ac7f3.js} +2 -2
- package/build/{index-8008235b.js → index-168a4872.js} +30 -30
- package/build/{index-6cac561f.js → index-17e2e12a.js} +6 -6
- package/build/{index-67e79901.js → index-21bab332.js} +24 -24
- package/build/{index-48f7eab0.js → index-2317579e.js} +16 -16
- package/build/{index-301ebc34.js → index-297b8388.js} +6 -6
- package/build/{index-9b77e419.js → index-2e7974ec.js} +13 -13
- package/build/{index-bc2320ee.js → index-33b07fdf.js} +1 -1
- package/build/{index-32301283.js → index-33bafb78.js} +16 -16
- package/build/{index-f876237e.js → index-3979b554.js} +11 -11
- package/build/{index-53508937.js → index-3c193b1d.js} +1 -1
- package/build/{index-6584240e.js → index-4297e2d2.js} +18 -18
- package/build/{index-b1a8c232.js → index-4f794c03.js} +13 -13
- package/build/{index-88537052.js → index-54467dd6.js} +1 -1
- package/build/{index-775987e5.js → index-56c981bb.js} +25 -25
- package/build/{index-f1b4d351.js → index-56e83e18.js} +3 -3
- package/build/{index-409afa7e.js → index-56edb1ae.js} +11 -11
- package/build/{index-ada1a140.js → index-5a43d407.js} +2 -2
- package/build/{index-e409c71d.js → index-5c261cb7.js} +7 -7
- package/build/{index-f10ff159.js → index-61d942af.js} +15 -15
- package/build/{index-4306ed8b.js → index-68534a8b.js} +2 -2
- package/build/{index-23c5ed27.js → index-687855a1.js} +4 -4
- package/build/{index-07ce24ba.js → index-68c74dd7.js} +13 -13
- package/build/{index-b01f4690.js → index-69ec6e52.js} +2 -2
- package/build/{index-346a45e1.js → index-71ace722.js} +6 -6
- package/build/{index-d33470ae.js → index-71dc63e8.js} +3 -3
- package/build/{index-606d1c13.js → index-72058259.js} +2 -2
- package/build/{index-7fff3952.js → index-76587bcf.js} +5 -5
- package/build/{index-e0c252f0.js → index-7d061c3d.js} +2 -2
- package/build/{index-cd1e1cf4.js → index-7dee6e67.js} +7 -7
- package/build/{index-93e186ae.js → index-7e2357f1.js} +18 -18
- package/build/{index-17a546f7.js → index-8194af64.js} +16 -16
- package/build/{index-8469598e.js → index-81accea2.js} +1 -1
- package/build/{index-3792cb7c.js → index-865557ca.js} +17 -17
- package/build/{index-4992c2d2.js → index-87eec6c7.js} +17 -17
- package/build/{index-edb29658.js → index-87f6d8ce.js} +2 -2
- package/build/{index-847e55c4.js → index-8f673da6.js} +5 -5
- package/build/{index-9c5027f1.js → index-928d9aff.js} +18 -18
- package/build/{index-5e6a97a4.js → index-9bea86d2.js} +2 -2
- package/build/{index-650d0ca3.js → index-a1ab3c38.js} +31 -31
- package/build/{index-acb3b7a9.js → index-a62f0c8b.js} +2 -2
- package/build/{index-1b126cf8.js → index-a692c157.js} +21 -21
- package/build/{index-cf52f40f.js → index-abff07a5.js} +5 -5
- package/build/{index-c7a11bbc.js → index-adbdec7d.js} +1 -1
- package/build/{index-0d574fac.js → index-b00e4125.js} +2 -2
- package/build/{index-8a5a9459.js → index-b869196c.js} +13 -13
- package/build/{index-60c43451.js → index-bbc82d16.js} +4 -4
- package/build/{index-b3bc2367.js → index-bbfce8f8.js} +2 -2
- package/build/{index-cd8f4807.js → index-c076230a.js} +3 -3
- package/build/{index-70182fed.js → index-c0c7a7b6.js} +22 -22
- package/build/{index-b8fac10d.js → index-c3a80a06.js} +32 -32
- package/build/{index-c6ac2c05.js → index-c6649fc5.js} +3 -3
- package/build/{index-4ed2b27e.js → index-d527246f.js} +1 -1
- package/build/{index-dca0a8cf.js → index-d91dda43.js} +2 -2
- package/build/{index-bd3c0133.js → index-e2709d60.js} +17 -17
- package/build/{index-a70b228b.js → index-eb074fc8.js} +10 -10
- package/build/{index-ef248e9b.js → index-ebd7a0c5.js} +2 -2
- package/build/{index-291b7cf0.js → index-ee6767e0.js} +3 -3
- package/build/{index-2a8f346a.js → index-f04d785d.js} +6 -6
- package/build/{index-26e08989.js → index-f76b8c31.js} +1 -1
- package/build/index.js +118 -118
- package/build/interfaces/constants/domainLocales.d.ts +2 -2
- package/build/interfaces/types/Locale.d.ts +1 -1
- package/build/interfaces/types/index.d.ts +1 -1
- package/build/{labelSorting-906795a9.js → labelSorting-e244660e.js} +4 -4
- package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +9 -15
- package/build/lead/layouts/inline.d.ts +3 -5
- package/build/lead/layouts/lightbox/index.d.ts +1 -2
- package/build/lead/services/index.d.ts +0 -14
- package/build/lead.js +127 -307
- package/build/{logoIcon-04733840.js → logoIcon-090d225e.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-7fd0526c.js → post-6658dbed.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-fa7bd8f2.js → store-fc8721c5.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-9f0e8b2d.js → surveyThankyouCard-8cabed2d.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-eb644d35.js → translationsProvider-2d5dd98a.js} +2 -3
- package/build/{treePopoverMenu-8c557c8e.js → treePopoverMenu-f3967158.js} +19 -19
- package/build/{types-4400d0cd.js → types-1dcf62a3.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-73831c1f.js → useCategory-8fcd7b65.js} +7 -7
- package/build/{useHealthToolCache-d117e321.js → useHealthToolCache-c2bb37da.js} +1 -1
- package/build/{useMantineLocale-ffd79575.js → useMantineLocale-666bc54e.js} +8 -8
- package/build/{usePlacesAutocomplete-11101d94.js → usePlacesAutocomplete-34444916.js} +1 -1
- package/build/{useScreenSize-bd8c66d8.js → useScreenSize-b6482e70.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-0d558daa.js → utils-0b0a39be.js} +5 -5
- package/build/{utils-a027192f.js → utils-3a5a7522.js} +2 -2
- package/build/{utils-f4851951.js → utils-9ca8557d.js} +2 -2
- package/build/{utils-2391b4e9.js → utils-aeeb93d9.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/components/molecules/impressionTrackingWrapper/index.d.ts +0 -9
- package/build/esm/components/molecules/impressionTrackingWrapper/index.d.ts +0 -9
- /package/build/{BMI_BOYS.percentile.monthly-4aca84cf.js → BMI_BOYS.percentile.monthly-1a71b076.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-04fbc8cb.js → BMI_BOYS.percentile.weekly-36bfc0f7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-cea01a95.js → BMI_BOYS.percentile.yearly-b3097d32.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5316ab52.js → BMI_BOYS.zscore.monthly-fd0978bb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-41905f31.js → BMI_BOYS.zscore.weekly-d08974bb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fead78e5.js → BMI_BOYS.zscore.yearly-cec8538e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5b34d8da.js → BMI_GIRLS.percentile.monthly-93b42eaf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-e1c6d64f.js → BMI_GIRLS.percentile.weekly-f85f037e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d7ec75b4.js → BMI_GIRLS.percentile.yearly-9ea78bd7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8b5d9c4d.js → BMI_GIRLS.zscore.monthly-2797c94d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6821ef97.js → BMI_GIRLS.zscore.weekly-69d97813.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7957c7d4.js → BMI_GIRLS.zscore.yearly-680d687c.js} +0 -0
- /package/build/{ChevronDown-08922ad6.js → ChevronDown-496feb9e.js} +0 -0
- /package/build/{Close-c29c7f14.js → Close-0184a54c.js} +0 -0
- /package/build/{Google-ef6ba655.js → Google-2169d465.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4dc33ffd.js → HEAD CIRCUM_BOYS.percentile.monthly-4713fc16.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-91ce0b68.js → HEAD CIRCUM_BOYS.percentile.weekly-63c4bf80.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7f89a1c5.js → HEAD CIRCUM_BOYS.percentile.yearly-43184733.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-d4ad60cf.js → HEAD CIRCUM_BOYS.zscore.monthly-2ddacfe0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-46eb50fc.js → HEAD CIRCUM_BOYS.zscore.weekly-91f4dd1a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-8afe885f.js → HEAD CIRCUM_BOYS.zscore.yearly-34e97a9d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3f780a3b.js → HEAD CIRCUM_GIRLS.percentile.monthly-9417d37d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-bc6a03d4.js → HEAD CIRCUM_GIRLS.percentile.weekly-c8b4ac59.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-10f87228.js → HEAD CIRCUM_GIRLS.percentile.yearly-6cc8adf4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-81286552.js → HEAD CIRCUM_GIRLS.zscore.monthly-6da61cd0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-11c5fe2b.js → HEAD CIRCUM_GIRLS.zscore.weekly-16b57997.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8c978953.js → HEAD CIRCUM_GIRLS.zscore.yearly-7bb35663.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-baf4f1cd.js → HEIGHT_BOYS.percentile.monthly-82c92dc6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-04dbb2a5.js → HEIGHT_BOYS.percentile.weekly-aaa5fa43.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c706fc5b.js → HEIGHT_BOYS.percentile.yearly-57dacc29.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2baab953.js → HEIGHT_BOYS.zscore.monthly-4f99d53f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-b50a2808.js → HEIGHT_BOYS.zscore.weekly-04b6c056.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-713f968c.js → HEIGHT_BOYS.zscore.yearly-93eac896.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f5fc3496.js → HEIGHT_GIRLS.percentile.monthly-37c4b0dc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-3fd60223.js → HEIGHT_GIRLS.percentile.weekly-b473bbc4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8089de71.js → HEIGHT_GIRLS.percentile.yearly-e8f80647.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-2bff136f.js → HEIGHT_GIRLS.zscore.monthly-33c21117.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-723d3042.js → HEIGHT_GIRLS.zscore.weekly-13203cbd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-de31f71c.js → HEIGHT_GIRLS.zscore.yearly-2068ae5a.js} +0 -0
- /package/build/{Visible-3f7f1a7a.js → Visible-e071dea0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-cb67c54a.js → WEIGHT_BOYS.percentile.monthly-f182f1f0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a4aec6da.js → WEIGHT_BOYS.percentile.weekly-0f3ad45b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9646f496.js → WEIGHT_BOYS.percentile.yearly-28de2f75.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-a37499f8.js → WEIGHT_BOYS.zscore.monthly-b0949b89.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-600b6eb7.js → WEIGHT_BOYS.zscore.weekly-22982b77.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-1d252537.js → WEIGHT_BOYS.zscore.yearly-c085948c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-fa3e90ea.js → WEIGHT_GIRLS.percentile.monthly-ba486856.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4a0634b8.js → WEIGHT_GIRLS.percentile.weekly-932a4f50.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-03655244.js → WEIGHT_GIRLS.percentile.yearly-d6b8f418.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ae715282.js → WEIGHT_GIRLS.zscore.monthly-b8c16406.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-554f366e.js → WEIGHT_GIRLS.zscore.weekly-78daa9b3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-3dee5a91.js → WEIGHT_GIRLS.zscore.yearly-10aeb859.js} +0 -0
- /package/build/{animation-836c0fc2.js → animation-a118cf25.js} +0 -0
- /package/build/{constants-974f68da.js → constants-61731b15.js} +0 -0
- /package/build/{constants-acd6c800.js → constants-9a5d0497.js} +0 -0
- /package/build/{dataTransform-e9ba687c.js → dataTransform-cc57cf21.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ab9b4c41.js → BMI_BOYS.percentile.monthly-47de2a7a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c5ccb8f1.js → BMI_BOYS.percentile.weekly-6bca2673.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-fbdf87b0.js → BMI_BOYS.percentile.yearly-213ec584.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3ed7ed53.js → BMI_BOYS.zscore.monthly-5a25b552.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-07d3ceb7.js → BMI_BOYS.zscore.weekly-49016d06.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-123925e2.js → BMI_BOYS.zscore.yearly-12eda7a5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-5599711e.js → BMI_GIRLS.percentile.monthly-467e3dcf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-23e71fbe.js → BMI_GIRLS.percentile.weekly-c7744d45.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-a2074662.js → BMI_GIRLS.percentile.yearly-156b98b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a883ce5f.js → BMI_GIRLS.zscore.monthly-0e6ca17d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ab06d96b.js → BMI_GIRLS.zscore.weekly-cf57120f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-75dac1e1.js → BMI_GIRLS.zscore.yearly-efa917b9.js} +0 -0
- /package/build/esm/{ChevronDown-db8f8748.js → ChevronDown-3670e0eb.js} +0 -0
- /package/build/esm/{Close-8501c2ce.js → Close-96d4294c.js} +0 -0
- /package/build/esm/{Google-83dbfd6e.js → Google-b2c18960.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-2ba2a1ff.js → HEAD CIRCUM_BOYS.percentile.monthly-a4c3ddd9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-44333c6d.js → HEAD CIRCUM_BOYS.percentile.weekly-38946fa3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9e53ba16.js → HEAD CIRCUM_BOYS.percentile.yearly-0c753bd7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8f2b795c.js → HEAD CIRCUM_BOYS.zscore.monthly-842e49d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-461f5ccb.js → HEAD CIRCUM_BOYS.zscore.weekly-71c6832b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-cc2f1993.js → HEAD CIRCUM_BOYS.zscore.yearly-01375d4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a47f5077.js → HEAD CIRCUM_GIRLS.percentile.monthly-02418bc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5fc05fd1.js → HEAD CIRCUM_GIRLS.percentile.weekly-e2f8af93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-6814b964.js → HEAD CIRCUM_GIRLS.percentile.yearly-333033cd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-53be960b.js → HEAD CIRCUM_GIRLS.zscore.monthly-c3142b94.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-dd6286da.js → HEAD CIRCUM_GIRLS.zscore.weekly-bc6fa461.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1e0e0c84.js → HEAD CIRCUM_GIRLS.zscore.yearly-0f10b947.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c099df14.js → HEIGHT_BOYS.percentile.monthly-3fd41b38.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-3b4d2b10.js → HEIGHT_BOYS.percentile.weekly-9d8052ba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-0e0bb056.js → HEIGHT_BOYS.percentile.yearly-6f18ce0c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-331c0308.js → HEIGHT_BOYS.zscore.monthly-dee89536.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ed2caaeb.js → HEIGHT_BOYS.zscore.weekly-c0cc2dab.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f21d4d74.js → HEIGHT_BOYS.zscore.yearly-d12dccd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4b9c1b01.js → HEIGHT_GIRLS.percentile.monthly-63f66bdb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e2d8e65e.js → HEIGHT_GIRLS.percentile.weekly-9f827854.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-667432fe.js → HEIGHT_GIRLS.percentile.yearly-26c3de50.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-816234d6.js → HEIGHT_GIRLS.zscore.monthly-343a3da1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3ebefa80.js → HEIGHT_GIRLS.zscore.weekly-6dcdaa6c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d2da5258.js → HEIGHT_GIRLS.zscore.yearly-5751c6f4.js} +0 -0
- /package/build/esm/{Visible-3b85e424.js → Visible-74f5def3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-65bad31c.js → WEIGHT_BOYS.percentile.monthly-b0b589b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a234182a.js → WEIGHT_BOYS.percentile.weekly-7eed7acf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5643413b.js → WEIGHT_BOYS.percentile.yearly-35e45eef.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-464bde8a.js → WEIGHT_BOYS.zscore.monthly-c894db4a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a6bdcc99.js → WEIGHT_BOYS.zscore.weekly-f718461b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-090615a1.js → WEIGHT_BOYS.zscore.yearly-32bde289.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-85c6e0d2.js → WEIGHT_GIRLS.percentile.monthly-d607406a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ea8bedc8.js → WEIGHT_GIRLS.percentile.weekly-d298b34b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-d52cf04b.js → WEIGHT_GIRLS.percentile.yearly-47c4cb5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-cde6d791.js → WEIGHT_GIRLS.zscore.monthly-281e954b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-53c41fe2.js → WEIGHT_GIRLS.zscore.weekly-0a217f10.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-67a299a5.js → WEIGHT_GIRLS.zscore.yearly-1a86c778.js} +0 -0
- /package/build/esm/{animation-cc02f0f0.js → animation-7e7d6c73.js} +0 -0
- /package/build/esm/{constants-5e59579f.js → constants-b5509502.js} +0 -0
- /package/build/esm/{constants-f91f0ecd.js → constants-ebffca0a.js} +0 -0
- /package/build/esm/{dataTransform-fd40412d.js → dataTransform-6938bbce.js} +0 -0
- /package/build/esm/{index-6a8c9a87.js → index-0a22d58e.js} +0 -0
- /package/build/esm/{index-f3d0a580.js → index-132603eb.js} +0 -0
- /package/build/esm/{index-544b4dfa.js → index-265c4d0d.js} +0 -0
- /package/build/esm/{index-98dbaffc.js → index-ac66850e.js} +0 -0
- /package/build/esm/{index-b6d406fa.js → index-b30847d5.js} +0 -0
- /package/build/esm/{index-cc0127c9.js → index-c71a9339.js} +0 -0
- /package/build/esm/{index-e3241b51.js → index-e5b31a2d.js} +0 -0
- /package/build/esm/{index-00a38ce5.js → index-f43fef70.js} +0 -0
- /package/build/esm/{index.styles-e7f8bfce.js → index.styles-6de3f4f1.js} +0 -0
- /package/build/esm/{localizeNumberFormat-70440a4e.js → localizeNumberFormat-65fadc29.js} +0 -0
- /package/build/esm/{normalizeLink-3c0a783e.js → normalizeLink-85ee1c47.js} +0 -0
- /package/build/esm/{number-a4892070.js → number-9a302b7d.js} +0 -0
- /package/build/esm/{other-b8b43792.js → other-71e7e646.js} +0 -0
- /package/build/esm/{paths-c5fb4f86.js → paths-1580b8d2.js} +0 -0
- /package/build/esm/{translationsContext-4de77a00.js → translationsContext-695535ef.js} +0 -0
- /package/build/esm/{tslib.es6-b01896df.js → tslib.es6-8ffea6c1.js} +0 -0
- /package/build/esm/{types-7d324c63.js → types-6e68824e.js} +0 -0
- /package/build/esm/{useIsInit-e7265656.js → useIsInit-34a6b817.js} +0 -0
- /package/build/esm/{useOutsideClick-135298cb.js → useOutsideClick-a446e155.js} +0 -0
- /package/build/esm/{useScrollbarSize-bf9c38a7.js → useScrollbarSize-d7658955.js} +0 -0
- /package/build/esm/{useUniqueId-5baff322.js → useUniqueId-c3c6ae4f.js} +0 -0
- /package/build/esm/{utils-aee2353d.js → utils-f49609e7.js} +0 -0
- /package/build/{index-fa1d7c0b.js → index-0409ac1e.js} +0 -0
- /package/build/{index-6547b363.js → index-2120aa52.js} +0 -0
- /package/build/{index-2d1250e2.js → index-52faedda.js} +0 -0
- /package/build/{index-0f620ea0.js → index-5b02b255.js} +0 -0
- /package/build/{index-231efb7f.js → index-7843eb4e.js} +0 -0
- /package/build/{index-a4956415.js → index-86492756.js} +0 -0
- /package/build/{index-af0a4438.js → index-a9790ab0.js} +0 -0
- /package/build/{index-fc6f88e4.js → index-bab25f86.js} +0 -0
- /package/build/{index.styles-86a05e3e.js → index.styles-40bc93ba.js} +0 -0
- /package/build/{localizeNumberFormat-53f867c3.js → localizeNumberFormat-3c17f5c6.js} +0 -0
- /package/build/{normalizeLink-9a5d606e.js → normalizeLink-b7e3ae92.js} +0 -0
- /package/build/{number-4d58357c.js → number-7ad20876.js} +0 -0
- /package/build/{other-028c4a16.js → other-38830f93.js} +0 -0
- /package/build/{paths-06a94f32.js → paths-e058cabd.js} +0 -0
- /package/build/{translationsContext-f3db733d.js → translationsContext-69c22a7c.js} +0 -0
- /package/build/{tslib.es6-f0a85aa0.js → tslib.es6-8a4607c6.js} +0 -0
- /package/build/{types-10e6e7f0.js → types-299825cb.js} +0 -0
- /package/build/{useIsInit-7042f651.js → useIsInit-8aecfc9f.js} +0 -0
- /package/build/{useOutsideClick-8a41557b.js → useOutsideClick-da4de7ef.js} +0 -0
- /package/build/{useScrollbarSize-22983a1c.js → useScrollbarSize-b35f9cdf.js} +0 -0
- /package/build/{useUniqueId-b932b71a.js → useUniqueId-80f4463f.js} +0 -0
- /package/build/{utils-a695b78b.js → utils-e2eaaa3c.js} +0 -0
package/build/lead.js
CHANGED
|
@@ -2,56 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-8a4607c6.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var core = require('@mantine/core');
|
|
8
8
|
var debounce = require('lodash/debounce');
|
|
9
9
|
var form = require('@mantine/form');
|
|
10
10
|
var dayjs = require('dayjs');
|
|
11
|
-
var index = require('./index-
|
|
11
|
+
var index = require('./index-bbc82d16.js');
|
|
12
12
|
var miscCookieHelper = require('./miscCookieHelper.js');
|
|
13
|
-
var index$1 = require('./index-
|
|
14
|
-
var translationsContext = require('./translationsContext-
|
|
15
|
-
var utils$1 = require('./utils-
|
|
16
|
-
var index$2 = require('./index-
|
|
17
|
-
var index$3 = require('./index-
|
|
18
|
-
var index$5 = require('./index-
|
|
19
|
-
var index$4 = require('./index-
|
|
20
|
-
require('./index.styles-
|
|
13
|
+
var index$1 = require('./index-54467dd6.js');
|
|
14
|
+
var translationsContext = require('./translationsContext-69c22a7c.js');
|
|
15
|
+
var utils$1 = require('./utils-e2eaaa3c.js');
|
|
16
|
+
var index$2 = require('./index-72058259.js');
|
|
17
|
+
var index$3 = require('./index-56edb1ae.js');
|
|
18
|
+
var index$5 = require('./index-71ace722.js');
|
|
19
|
+
var index$4 = require('./index-33b07fdf.js');
|
|
20
|
+
require('./index.styles-40bc93ba.js');
|
|
21
21
|
var hooks = require('@mantine/hooks');
|
|
22
|
-
require('./useMantineLocale-
|
|
23
|
-
var index$9 = require('./index-
|
|
24
|
-
require('./index-
|
|
25
|
-
var index$7 = require('./index-
|
|
26
|
-
require('./other-
|
|
27
|
-
require('./index-
|
|
28
|
-
var utils = require('./utils-
|
|
22
|
+
require('./useMantineLocale-666bc54e.js');
|
|
23
|
+
var index$9 = require('./index-0370f88c.js');
|
|
24
|
+
require('./index-52faedda.js');
|
|
25
|
+
var index$7 = require('./index-76587bcf.js');
|
|
26
|
+
require('./other-38830f93.js');
|
|
27
|
+
require('./index-c6649fc5.js');
|
|
28
|
+
var utils = require('./utils-9ca8557d.js');
|
|
29
29
|
var dates = require('@mantine/dates');
|
|
30
|
-
var usePlacesAutocomplete = require('./usePlacesAutocomplete-
|
|
31
|
-
var index$6 = require('./index-
|
|
32
|
-
var translationsProvider = require('./translationsProvider-
|
|
33
|
-
var Locale = require('./Locale-
|
|
30
|
+
var usePlacesAutocomplete = require('./usePlacesAutocomplete-34444916.js');
|
|
31
|
+
var index$6 = require('./index-5a43d407.js');
|
|
32
|
+
var translationsProvider = require('./translationsProvider-2d5dd98a.js');
|
|
33
|
+
var Locale = require('./Locale-8825f9b9.js');
|
|
34
34
|
var uuid = require('uuid');
|
|
35
|
-
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
36
35
|
var PhoneInputBase = require('react-phone-number-input');
|
|
37
36
|
var styled = require('@emotion/styled');
|
|
38
37
|
var miscTheme = require('./miscTheme.js');
|
|
39
38
|
var react = require('@emotion/react');
|
|
40
|
-
var togetherComponentGlobalContext = require('./utils-
|
|
41
|
-
var index$8 = require('./index-
|
|
42
|
-
var useScreenSize = require('./useScreenSize-
|
|
39
|
+
var togetherComponentGlobalContext = require('./utils-aeeb93d9.js');
|
|
40
|
+
var index$8 = require('./index-2120aa52.js');
|
|
41
|
+
var useScreenSize = require('./useScreenSize-b6482e70.js');
|
|
43
42
|
var framerMotion = require('framer-motion');
|
|
44
43
|
var ReactDOM = require('react-dom');
|
|
45
|
-
var index$a = require('./index-
|
|
46
|
-
var InputDate = require('./InputDate-
|
|
47
|
-
var index$b = require('./index-
|
|
48
|
-
var Close = require('./Close-
|
|
44
|
+
var index$a = require('./index-148ac7f3.js');
|
|
45
|
+
var InputDate = require('./InputDate-957372e2.js');
|
|
46
|
+
var index$b = require('./index-bbfce8f8.js');
|
|
47
|
+
var Close = require('./Close-0184a54c.js');
|
|
49
48
|
require('./constantsIsProduction.js');
|
|
50
|
-
require('./normalizeLink-
|
|
49
|
+
require('./normalizeLink-b7e3ae92.js');
|
|
50
|
+
require('./constantsDomainLocales.js');
|
|
51
51
|
require('@hhgtech/icons/other');
|
|
52
52
|
require('@mantine/carousel');
|
|
53
53
|
require('classnames');
|
|
54
|
-
require('./useUniqueId-
|
|
54
|
+
require('./useUniqueId-80f4463f.js');
|
|
55
55
|
require('./constantsSite.js');
|
|
56
56
|
require('@hhgtech/icons/core');
|
|
57
57
|
require('@mantine/notifications');
|
|
@@ -67,13 +67,12 @@ require('./i18n-values/th-TH.js');
|
|
|
67
67
|
require('./i18n-values/tl-PH.js');
|
|
68
68
|
require('./i18n-values/vi-VN.js');
|
|
69
69
|
require('./i18n-values/vi-VN_MB.js');
|
|
70
|
-
require('./i18n-values/zh-SG.js');
|
|
71
70
|
require('./i18n-values/zh-TW.js');
|
|
72
|
-
require('./index-
|
|
71
|
+
require('./index-a9790ab0.js');
|
|
73
72
|
require('slugify');
|
|
74
73
|
require('string-format');
|
|
75
74
|
require('./togetherApiPaths.js');
|
|
76
|
-
require('./constants-
|
|
75
|
+
require('./constants-61731b15.js');
|
|
77
76
|
require('vaul');
|
|
78
77
|
|
|
79
78
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -188,6 +187,11 @@ const LEAD_TIMEZONE_DATA = {
|
|
|
188
187
|
9: 'Asia/Manila', // Philippines / Filipinos Site
|
|
189
188
|
};
|
|
190
189
|
|
|
190
|
+
const LEADGEN_ACTIONS = {
|
|
191
|
+
SHOW: 'SHOW',
|
|
192
|
+
SCROLL: 'SCROLL',
|
|
193
|
+
TIME: 'TIME',
|
|
194
|
+
};
|
|
191
195
|
var LEADGEN_LAYOUT;
|
|
192
196
|
(function (LEADGEN_LAYOUT) {
|
|
193
197
|
LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
|
|
@@ -586,13 +590,6 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
|
|
|
586
590
|
},
|
|
587
591
|
});
|
|
588
592
|
};
|
|
589
|
-
const trackingSubscription = (data) => {
|
|
590
|
-
return leadApi.call({
|
|
591
|
-
url: `api/collection/tracking-subscription`,
|
|
592
|
-
method: METHOD.POST,
|
|
593
|
-
data,
|
|
594
|
-
});
|
|
595
|
-
};
|
|
596
593
|
const Service = {
|
|
597
594
|
campaignGetById,
|
|
598
595
|
getCampaignByCode,
|
|
@@ -600,7 +597,6 @@ const Service = {
|
|
|
600
597
|
postSubscriptionBoxLead,
|
|
601
598
|
postUserInfoFromLeadGen,
|
|
602
599
|
campaignPostImpression,
|
|
603
|
-
trackingSubscription,
|
|
604
600
|
validateEmailOrPhoneOnSubot,
|
|
605
601
|
validateEmailOrPhoneOnLeadGen,
|
|
606
602
|
validatePhoneNumberOnLeadGen,
|
|
@@ -1634,7 +1630,7 @@ const translationsMap = {
|
|
|
1634
1630
|
'my-MM': myMM,
|
|
1635
1631
|
'km-KH': kmKH,
|
|
1636
1632
|
'zh-TW': zhTW,
|
|
1637
|
-
'zh-
|
|
1633
|
+
'zh-CN': zhTW,
|
|
1638
1634
|
'th-TH': thTH,
|
|
1639
1635
|
'tl-PH': enPH,
|
|
1640
1636
|
};
|
|
@@ -2015,30 +2011,27 @@ const LeadGenContext = React.createContext({
|
|
|
2015
2011
|
LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
|
|
2016
2012
|
return Promise.reject(value);
|
|
2017
2013
|
},
|
|
2018
|
-
impression(
|
|
2014
|
+
impression(value) {
|
|
2019
2015
|
/** Init for FAKING function */
|
|
2020
|
-
LeadLog('** LeadGen Impression : ',
|
|
2021
|
-
return Promise.reject();
|
|
2016
|
+
LeadLog('** LeadGen Impression : ', value);
|
|
2017
|
+
return Promise.reject(value);
|
|
2022
2018
|
},
|
|
2023
2019
|
/** For Subscription Box */
|
|
2024
2020
|
subscriptionIcon: '',
|
|
2025
2021
|
subscriptionTitle: '',
|
|
2026
|
-
subscriptionPhoneType: '',
|
|
2027
2022
|
});
|
|
2028
2023
|
const LeadGenContextProvider = (props) => {
|
|
2029
|
-
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children
|
|
2030
|
-
const { t } = index$1.useTranslations();
|
|
2024
|
+
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = tslib_es6.__rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
|
|
2031
2025
|
const [forceCampaign, setForceCampaign] = React.useState(forceCampaignProps);
|
|
2032
2026
|
const [subscriptionInfo, setSubscriptionInfo] = React.useState({
|
|
2033
2027
|
subscriptionIcon: '',
|
|
2034
2028
|
subscriptionTitle: '',
|
|
2035
2029
|
subscriptionType: 'TypeA',
|
|
2036
|
-
subscriptionPhoneType: '',
|
|
2037
2030
|
});
|
|
2038
2031
|
const locale = React.useMemo(() => {
|
|
2039
2032
|
return localeProps || Locale.LOCALE['PhilippinesEnglish'];
|
|
2040
2033
|
}, [localeProps]);
|
|
2041
|
-
const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title,
|
|
2034
|
+
const { url, campaign_id, campaign_code, cookie_id, ga_client_id, category_id, article_id, article_title, } = React.useMemo(() => ({
|
|
2042
2035
|
url: location.href.toLowerCase() || '',
|
|
2043
2036
|
cookie_id: miscCookieHelper.getCookie('hhg-id') || null,
|
|
2044
2037
|
ga_client_id: miscCookieHelper.getCookie('_ga'),
|
|
@@ -2047,33 +2040,27 @@ const LeadGenContextProvider = (props) => {
|
|
|
2047
2040
|
category_id: categoryId,
|
|
2048
2041
|
article_id: articleId,
|
|
2049
2042
|
article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
|
|
2050
|
-
category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
|
|
2051
2043
|
}), [
|
|
2052
2044
|
campaignCodeProps,
|
|
2053
2045
|
articleId,
|
|
2054
2046
|
categoryId,
|
|
2055
2047
|
forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
|
|
2056
2048
|
extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
|
|
2057
|
-
extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
|
|
2058
2049
|
]);
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
// },
|
|
2068
|
-
// [campaignCodeProps],
|
|
2069
|
-
// )
|
|
2050
|
+
const fetchCampaign = React.useCallback((campaign_code) => {
|
|
2051
|
+
Service.getCampaignByCode(campaign_code).then((res) => {
|
|
2052
|
+
const { _data } = res || {};
|
|
2053
|
+
const { campaigns } = _data || {};
|
|
2054
|
+
LeadLog('** LeadGen Campaign : ', campaigns);
|
|
2055
|
+
setForceCampaign(formatCampaignDetail(campaigns));
|
|
2056
|
+
});
|
|
2057
|
+
}, [campaignCodeProps]);
|
|
2070
2058
|
// TODO : Update form for LeadGen
|
|
2071
2059
|
const submit = React.useCallback((data) => {
|
|
2072
2060
|
return Service.postSubscriptionBoxLead({ data });
|
|
2073
2061
|
}, []);
|
|
2074
2062
|
const submitSubscriptionBox = React.useCallback((value) => {
|
|
2075
|
-
const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), {
|
|
2076
|
-
// campaign_id,
|
|
2063
|
+
const data = Object.assign(Object.assign(Object.assign(Object.assign({}, value), { campaign_id,
|
|
2077
2064
|
site_domain, url: (value === null || value === void 0 ? void 0 : value.url) || url, cookie_id, ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id }), extraValues), { article_id,
|
|
2078
2065
|
category_id,
|
|
2079
2066
|
article_title });
|
|
@@ -2089,36 +2076,33 @@ const LeadGenContextProvider = (props) => {
|
|
|
2089
2076
|
cookie_id,
|
|
2090
2077
|
ga_client_id,
|
|
2091
2078
|
]);
|
|
2092
|
-
const impression = React.useCallback((
|
|
2093
|
-
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
2079
|
+
const impression = React.useCallback((value) => {
|
|
2094
2080
|
const impression = {
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
article_id,
|
|
2105
|
-
category_id,
|
|
2106
|
-
category_name,
|
|
2107
|
-
type,
|
|
2081
|
+
url: (value === null || value === void 0 ? void 0 : value.url) || url,
|
|
2082
|
+
action: (value === null || value === void 0 ? void 0 : value.action) || LEADGEN_ACTIONS.SCROLL,
|
|
2083
|
+
code: (value === null || value === void 0 ? void 0 : value.code) || campaign_code,
|
|
2084
|
+
title_article: (value === null || value === void 0 ? void 0 : value.title_article) || article_title,
|
|
2085
|
+
cookie_id: (value === null || value === void 0 ? void 0 : value.cookie_id) || cookie_id,
|
|
2086
|
+
ga_client_id: (value === null || value === void 0 ? void 0 : value.ga_client_id) || ga_client_id,
|
|
2087
|
+
referrer: value === null || value === void 0 ? void 0 : value.referrer,
|
|
2088
|
+
extra: Object.assign(Object.assign(Object.assign({}, value === null || value === void 0 ? void 0 : value.extra), { cookie_id,
|
|
2089
|
+
article_id, subscription_title: subscriptionInfo.subscriptionTitle, subscription_type: subscriptionInfo.subscriptionType }), extraValues),
|
|
2108
2090
|
};
|
|
2109
|
-
|
|
2091
|
+
if (!impression.extra.subscription_title) {
|
|
2092
|
+
delete impression.extra.subscription_title;
|
|
2093
|
+
}
|
|
2094
|
+
return Service.campaignPostImpression(impression);
|
|
2110
2095
|
}, [
|
|
2096
|
+
extraValues,
|
|
2111
2097
|
campaign_id,
|
|
2112
2098
|
url,
|
|
2099
|
+
campaign_code,
|
|
2113
2100
|
article_title,
|
|
2114
2101
|
cookie_id,
|
|
2115
2102
|
ga_client_id,
|
|
2116
|
-
categoryId,
|
|
2117
2103
|
article_id,
|
|
2118
2104
|
subscriptionInfo.subscriptionTitle,
|
|
2119
|
-
|
|
2120
|
-
userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
|
|
2121
|
-
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
2105
|
+
subscriptionInfo.subscriptionType,
|
|
2122
2106
|
]);
|
|
2123
2107
|
React.useEffect(() => {
|
|
2124
2108
|
if (forceCampaignProps) {
|
|
@@ -2133,138 +2117,21 @@ const LeadGenContextProvider = (props) => {
|
|
|
2133
2117
|
slug: location === null || location === void 0 ? void 0 : location.pathname,
|
|
2134
2118
|
}).then((res) => {
|
|
2135
2119
|
const { _data } = res || {};
|
|
2136
|
-
const { item, campaign_code
|
|
2120
|
+
const { item, campaign_code } = _data || {};
|
|
2137
2121
|
const { icon, content } = item || {};
|
|
2138
2122
|
LeadLog('** LeadGen SubscriptionBox campaign_code : ', campaign_code);
|
|
2139
2123
|
LeadLog('** LeadGen SubscriptionBox subscription_icon : ', icon);
|
|
2140
2124
|
LeadLog('** LeadGen SubscriptionBox subscription_title : ', content);
|
|
2141
|
-
setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
code: '49qvztwzzlfvmk6',
|
|
2146
|
-
site: {
|
|
2147
|
-
id: index$7.LOCALE_SPECS[locale].SITE_ID || 1,
|
|
2148
|
-
name: constantsDomainLocales.domainLocales[locale],
|
|
2149
|
-
},
|
|
2150
|
-
thank_you_image: 'https://cdn-lead.hellohealthgroup.com/2025/05/1747009374_68213f5e5fa5a9.58533462.png',
|
|
2151
|
-
extra_fields: {
|
|
2152
|
-
actionBlocks: `{"submitBlock":{"data":{"value":"${t('subscriptionBox.ctaBtn')}"}},"linkButtonBlock":{"data":{"value":"Join now","url":"","newtab":true}}}`,
|
|
2153
|
-
currentLayout: 'LightBoxB',
|
|
2154
|
-
imageBlocks: '{"imageMobile":{"data":{"url":"","newtab":true}},"imageDesktop":{"data":{"url":"","newtab":true}},"imageBackground":{"data":{}},"imageOverlayMobile":{"data":{}},"imageOverlayDesktop":{"data":{}},"imageThankYou":{"data":{}}}',
|
|
2155
|
-
listBlockAdded: `[{"name":"TextBlock","id":"c9be7202-05af-4d62-94bb-0001f8ad50de","data":{"placeholder":"${t('subscriptionBox.name')}","value":"name","required":true, "requiredMessage": "${t('subscriptionBox.nameRequire')}"}},{"name":"PhoneBlock","id":1744087889773,"data":{"value":"phone","required":true,"requiredMessage": "${t('subscriptionBox.phoneRequire')}","placeholder":"${t('subscriptionBox.phone')}"}}]`,
|
|
2156
|
-
listBlockThankyou: `[{"name":"TitleBlock","id":"c74d5525-b7ae-4714-b5f1-552f50160ac1","data":{"value":"${t('subscriptionBox.thankyouTitle')}","align":"center"}},{"name":"SubtitleBlock","id":"f9a6ac63-b532-41d4-9c2e-3f3e71124e05","data":{"value":"${t('subscriptionBox.thankyou')}","align":"center"}}]`,
|
|
2157
|
-
textBlocks: '{"titleBlock":{"data":{"value":"VN - Campaign SUBSCRIPTION BOX "}},"subtitleBlock":{"data":{"value":"Sample description"}}}',
|
|
2158
|
-
},
|
|
2159
|
-
total_lead: 0,
|
|
2160
|
-
total_submit: 0,
|
|
2161
|
-
total_click: 0,
|
|
2162
|
-
started_at: null,
|
|
2163
|
-
ended_at: null,
|
|
2164
|
-
created_at: '2025-04-08 04:54:32',
|
|
2165
|
-
updated_at: '2025-05-12 00:22:54',
|
|
2166
|
-
site_logo: 'https://hhg-common.hellobacsi.com/common/logo/hellobacsi.png',
|
|
2167
|
-
custom_logo: null,
|
|
2168
|
-
status: 1,
|
|
2169
|
-
formatted_status: 1,
|
|
2170
|
-
creator: 'admin@hellohealthgroup.com',
|
|
2171
|
-
total_impression: 4237940,
|
|
2172
|
-
conversion_rate: 0,
|
|
2173
|
-
total_visitor: 0,
|
|
2174
|
-
total_habit_exit: 0,
|
|
2175
|
-
total_intentional_exit: 0,
|
|
2176
|
-
trigger_type: 'on_landing',
|
|
2177
|
-
targets: [
|
|
2178
|
-
{
|
|
2179
|
-
is_import: 0,
|
|
2180
|
-
option: 'start_with',
|
|
2181
|
-
sub_target: [],
|
|
2182
|
-
target: 'https://hellobacsi.com/sample',
|
|
2183
|
-
type: 1,
|
|
2184
|
-
},
|
|
2185
|
-
],
|
|
2186
|
-
forms: [
|
|
2187
|
-
{
|
|
2188
|
-
control: 'TextBlock',
|
|
2189
|
-
default: null,
|
|
2190
|
-
name: 'TextBlock',
|
|
2191
|
-
options: [],
|
|
2192
|
-
required: 1,
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
control: 'PhoneBlock',
|
|
2196
|
-
default: null,
|
|
2197
|
-
name: 'PhoneBlock',
|
|
2198
|
-
options: [],
|
|
2199
|
-
required: 1,
|
|
2200
|
-
requiredMessage: t('subscriptionBox.phoneRequire'),
|
|
2201
|
-
},
|
|
2202
|
-
],
|
|
2203
|
-
rules: [
|
|
2204
|
-
{
|
|
2205
|
-
rule: 'campaign_popup_exit',
|
|
2206
|
-
value: '7',
|
|
2207
|
-
},
|
|
2208
|
-
{
|
|
2209
|
-
rule: 'site_popup_exit',
|
|
2210
|
-
value: '7',
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
rule: 'show_again_after_submit',
|
|
2214
|
-
value: '0',
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
rule: 'show_again_after_exit',
|
|
2218
|
-
value: '0',
|
|
2219
|
-
},
|
|
2220
|
-
{
|
|
2221
|
-
rule: 'appearance_time',
|
|
2222
|
-
value: {
|
|
2223
|
-
endTime: null,
|
|
2224
|
-
startTime: null,
|
|
2225
|
-
},
|
|
2226
|
-
},
|
|
2227
|
-
{
|
|
2228
|
-
rule: 'exclude_sponsored',
|
|
2229
|
-
value: '1',
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
rule: 'exclude_sponsored_list',
|
|
2233
|
-
value: [],
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
rule: 'days_to_show_again',
|
|
2237
|
-
value: '7',
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
rule: 'time',
|
|
2241
|
-
value: '3',
|
|
2242
|
-
},
|
|
2243
|
-
],
|
|
2244
|
-
is_scheduled: true,
|
|
2245
|
-
last_step: null,
|
|
2246
|
-
kpis: {
|
|
2247
|
-
lead: 500,
|
|
2248
|
-
},
|
|
2249
|
-
forever: 1,
|
|
2250
|
-
is_target_import: 0,
|
|
2251
|
-
is_expired: 0,
|
|
2252
|
-
score: 6,
|
|
2253
|
-
price: 2.5,
|
|
2254
|
-
type: 0,
|
|
2255
|
-
is_testing_running: 0,
|
|
2256
|
-
campaign_group_id: 0,
|
|
2257
|
-
bot_id: [],
|
|
2258
|
-
}));
|
|
2259
|
-
// if (campaign_code) {
|
|
2260
|
-
// fetchCampaign(campaign_code)
|
|
2261
|
-
// }
|
|
2125
|
+
setSubscriptionInfo((prev) => (Object.assign(Object.assign({}, prev), { subscriptionIcon: icon, subscriptionTitle: content })));
|
|
2126
|
+
if (campaign_code) {
|
|
2127
|
+
fetchCampaign(campaign_code);
|
|
2128
|
+
}
|
|
2262
2129
|
});
|
|
2263
2130
|
return;
|
|
2264
2131
|
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2132
|
+
if (campaignCodeProps) {
|
|
2133
|
+
fetchCampaign(campaignCodeProps);
|
|
2134
|
+
}
|
|
2268
2135
|
}, [forceCampaignProps, campaignCodeProps, categoryId]);
|
|
2269
2136
|
React.useEffect(() => {
|
|
2270
2137
|
leadStore.apiSsoUrl = apiSsoUrl;
|
|
@@ -2274,7 +2141,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2274
2141
|
if (!forceCampaign || !(forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id)) {
|
|
2275
2142
|
return null;
|
|
2276
2143
|
}
|
|
2277
|
-
return (React__default["default"].createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), {
|
|
2144
|
+
return (React__default["default"].createElement(LeadGenContext.Provider, { value: Object.assign(Object.assign(Object.assign({}, restProps), subscriptionInfo), { campaign_code: campaignCodeProps, apiSsoUrl,
|
|
2278
2145
|
apiLeadUrl,
|
|
2279
2146
|
apiSubotUrl, locale: localeProps, extraValues,
|
|
2280
2147
|
articleId,
|
|
@@ -2289,35 +2156,6 @@ const useLeadGenContext = () => {
|
|
|
2289
2156
|
return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
|
|
2290
2157
|
};
|
|
2291
2158
|
|
|
2292
|
-
const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, dependency = '', }) => {
|
|
2293
|
-
const { ref, entry } = hooks.useIntersection({
|
|
2294
|
-
threshold: 1,
|
|
2295
|
-
});
|
|
2296
|
-
const [tracked, setTracked] = React.useState(false);
|
|
2297
|
-
React.useEffect(() => {
|
|
2298
|
-
let timer = null;
|
|
2299
|
-
let count = 0;
|
|
2300
|
-
if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
|
|
2301
|
-
timer = setInterval(() => {
|
|
2302
|
-
if (count > stayDuration) {
|
|
2303
|
-
setTracked(true);
|
|
2304
|
-
}
|
|
2305
|
-
else {
|
|
2306
|
-
count += 1;
|
|
2307
|
-
}
|
|
2308
|
-
}, stayDuration * 1000);
|
|
2309
|
-
}
|
|
2310
|
-
return () => clearInterval(timer);
|
|
2311
|
-
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
|
|
2312
|
-
React.useEffect(() => {
|
|
2313
|
-
tracked && onImpression();
|
|
2314
|
-
}, [tracked]);
|
|
2315
|
-
React.useEffect(() => {
|
|
2316
|
-
setTracked(false);
|
|
2317
|
-
}, [dependency]);
|
|
2318
|
-
return (React__default["default"].createElement(core.Box, { "data-impression": true, ref: ref }, children));
|
|
2319
|
-
};
|
|
2320
|
-
|
|
2321
2159
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
2322
2160
|
const customParseFormat = require('dayjs/plugin/customParseFormat');
|
|
2323
2161
|
dayjs__default["default"].extend(customParseFormat);
|
|
@@ -2354,7 +2192,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
2354
2192
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2355
2193
|
block) => {
|
|
2356
2194
|
return (value) => {
|
|
2357
|
-
var _a
|
|
2195
|
+
var _a;
|
|
2358
2196
|
const isBLockRequired = (_a = block === null || block === void 0 ? void 0 : block.data) === null || _a === void 0 ? void 0 : _a.required;
|
|
2359
2197
|
if (!formRef.current.isTouched(name))
|
|
2360
2198
|
return;
|
|
@@ -2362,7 +2200,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
2362
2200
|
typeof value === 'undefined' ||
|
|
2363
2201
|
(Array.isArray(value) && value.length === 0)) {
|
|
2364
2202
|
return isBLockRequired
|
|
2365
|
-
?
|
|
2203
|
+
? t('validator.required')
|
|
2366
2204
|
: cb === null || cb === void 0 ? void 0 : cb(value);
|
|
2367
2205
|
}
|
|
2368
2206
|
return cb === null || cb === void 0 ? void 0 : cb(value);
|
|
@@ -2611,25 +2449,12 @@ const StyledLeadGenSubscriptionBox = styled__default["default"].div `
|
|
|
2611
2449
|
border: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
2612
2450
|
background: linear-gradient(
|
|
2613
2451
|
180.71deg,
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2452
|
+
#7bc2ff -18.54%,
|
|
2453
|
+
#e3f2ff 17.12%,
|
|
2454
|
+
#ffffff 99.25%
|
|
2617
2455
|
);
|
|
2618
2456
|
border-radius: 12px;
|
|
2619
2457
|
margin-inline: auto;
|
|
2620
|
-
&[data-phone-type='zalo'] {
|
|
2621
|
-
background: linear-gradient(
|
|
2622
|
-
180.71deg,
|
|
2623
|
-
#7bc2ff -18.54%,
|
|
2624
|
-
#e3f2ff 17.12%,
|
|
2625
|
-
#ffffff 99.25%
|
|
2626
|
-
);
|
|
2627
|
-
}
|
|
2628
|
-
&[data-phone-type]:not([data-phone-type='zalo']) {
|
|
2629
|
-
.leadgen-btn {
|
|
2630
|
-
background-color: #2cb742 !important;
|
|
2631
|
-
}
|
|
2632
|
-
}
|
|
2633
2458
|
.leadgen-form_inputs {
|
|
2634
2459
|
.leadgen-form_input {
|
|
2635
2460
|
width: 100%;
|
|
@@ -3305,9 +3130,10 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3305
3130
|
const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
|
|
3306
3131
|
const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
|
|
3307
3132
|
const { submitBlock } = actionBlocks || {};
|
|
3308
|
-
const { apiLeadUrl, subscriptionIcon, subscriptionTitle,
|
|
3133
|
+
const { apiLeadUrl, subscriptionIcon, subscriptionTitle, submitSubscriptionBox, impression, onFinish, } = useLeadGenContext();
|
|
3309
3134
|
const { t } = index$1.useTranslations();
|
|
3310
3135
|
const { action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
3136
|
+
const refContainer = React.useRef(null);
|
|
3311
3137
|
const [loading, setLoading] = React.useState(false);
|
|
3312
3138
|
const [showThankyou, setShowThankyou] = React.useState(false);
|
|
3313
3139
|
const validatingEmailRef = React.useRef(false);
|
|
@@ -3327,6 +3153,17 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3327
3153
|
t('leadgen.message.title.default');
|
|
3328
3154
|
}, [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]);
|
|
3329
3155
|
const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
|
|
3156
|
+
const intersectionObserverCallback = React.useCallback((entries) => {
|
|
3157
|
+
entries.forEach((entry) => {
|
|
3158
|
+
const { isIntersecting, target } = entry;
|
|
3159
|
+
if (!showThankyou &&
|
|
3160
|
+
isIntersecting &&
|
|
3161
|
+
target === refContainer.current) {
|
|
3162
|
+
impression();
|
|
3163
|
+
}
|
|
3164
|
+
});
|
|
3165
|
+
}, [impression, showThankyou]);
|
|
3166
|
+
const IObserver = new IntersectionObserver(intersectionObserverCallback);
|
|
3330
3167
|
const middlewareOnSubmit = React.useCallback((values) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
3331
3168
|
const newValues = {
|
|
3332
3169
|
subscription_title,
|
|
@@ -3363,11 +3200,7 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3363
3200
|
setLoading(true);
|
|
3364
3201
|
try {
|
|
3365
3202
|
const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
|
|
3366
|
-
const
|
|
3367
|
-
submitSubscriptionBox(reqValues),
|
|
3368
|
-
impression('submit_form'),
|
|
3369
|
-
]);
|
|
3370
|
-
const { _data } = res || {};
|
|
3203
|
+
const { _data } = (yield submitSubscriptionBox(reqValues)) || {};
|
|
3371
3204
|
const { model } = _data || {};
|
|
3372
3205
|
if (model && (model === null || model === void 0 ? void 0 : model.id)) {
|
|
3373
3206
|
setShowThankyou(true);
|
|
@@ -3411,8 +3244,16 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3411
3244
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
|
|
3412
3245
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
3413
3246
|
]);
|
|
3414
|
-
|
|
3415
|
-
|
|
3247
|
+
React.useEffect(() => {
|
|
3248
|
+
if (refContainer.current) {
|
|
3249
|
+
IObserver.observe(refContainer.current);
|
|
3250
|
+
}
|
|
3251
|
+
return () => {
|
|
3252
|
+
IObserver.disconnect();
|
|
3253
|
+
};
|
|
3254
|
+
}, [categoryId]);
|
|
3255
|
+
return (React__default["default"].createElement("div", { ref: refContainer },
|
|
3256
|
+
React__default["default"].createElement(StyledLeadGenSubscriptionBox, { "data-type": "subscription_box_A" },
|
|
3416
3257
|
showThankyou && (React__default["default"].createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
|
|
3417
3258
|
!showThankyou && (React__default["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 })))));
|
|
3418
3259
|
};
|
|
@@ -3427,12 +3268,8 @@ const Container = () => {
|
|
|
3427
3268
|
return (React__default["default"].createElement(LeadGenSubscriptionBox$1, { locale: locale, siteId: siteId, siteDomain: siteDomain, userInfo: userInfo, forceCampaign: forceCampaign, campaign_code: campaign_code }));
|
|
3428
3269
|
};
|
|
3429
3270
|
Container.displayName = 'LeadGenSubscriptionBox';
|
|
3430
|
-
const ALLOW_LOCALE = [Locale.LOCALE.Vietnam, Locale.LOCALE.Malaysia, Locale.LOCALE.Indonesia];
|
|
3431
3271
|
const LeadGenSubscriptionBoxContainer = (props) => {
|
|
3432
|
-
const { apiUrl, apiSubotUrl
|
|
3433
|
-
if (!ALLOW_LOCALE.includes(locale)) {
|
|
3434
|
-
return null;
|
|
3435
|
-
}
|
|
3272
|
+
const { apiUrl, apiSubotUrl } = props;
|
|
3436
3273
|
return (React__default["default"].createElement(LeadGenContextProvider, Object.assign({}, props, { apiLeadUrl: apiUrl, apiSubotUrl: apiSubotUrl }),
|
|
3437
3274
|
React__default["default"].createElement(Container, null)));
|
|
3438
3275
|
};
|
|
@@ -4063,8 +3900,7 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
|
|
|
4063
3900
|
React__default["default"].createElement(index$4.Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
|
|
4064
3901
|
};
|
|
4065
3902
|
|
|
4066
|
-
const InlineLayout = ({
|
|
4067
|
-
const { apiUrl } = React.useContext(LeadGenContext$1);
|
|
3903
|
+
const InlineLayout = ({ content, inlinePosition, }) => {
|
|
4068
3904
|
const target = React.useMemo(() => {
|
|
4069
3905
|
if (!inlinePosition)
|
|
4070
3906
|
return null;
|
|
@@ -4171,22 +4007,7 @@ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
|
|
|
4171
4007
|
}, [inlinePosition]);
|
|
4172
4008
|
if (!inlinePosition || !target)
|
|
4173
4009
|
return null;
|
|
4174
|
-
return ReactDOM.createPortal(
|
|
4175
|
-
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
4176
|
-
fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
|
|
4177
|
-
method: 'POST',
|
|
4178
|
-
headers: {
|
|
4179
|
-
'Content-Type': 'application/json',
|
|
4180
|
-
},
|
|
4181
|
-
body: JSON.stringify({
|
|
4182
|
-
action,
|
|
4183
|
-
url: location.href.toLowerCase(),
|
|
4184
|
-
title_article: document.title,
|
|
4185
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
4186
|
-
ga_client_id: gaCookie,
|
|
4187
|
-
}),
|
|
4188
|
-
});
|
|
4189
|
-
}) }, content), target);
|
|
4010
|
+
return ReactDOM.createPortal(content, target);
|
|
4190
4011
|
};
|
|
4191
4012
|
|
|
4192
4013
|
const SideBarLayout = ({ content }) => {
|
|
@@ -4953,7 +4774,7 @@ const LEADGEN_SHOW_HEADER = [
|
|
|
4953
4774
|
];
|
|
4954
4775
|
// const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
|
|
4955
4776
|
const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
|
|
4956
|
-
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,
|
|
4777
|
+
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, }) => {
|
|
4957
4778
|
var _a, _b;
|
|
4958
4779
|
const { primaryColor } = React.useContext(LeadGenContext$1);
|
|
4959
4780
|
const { isMobile } = useScreenSize.useScreenSize();
|
|
@@ -5288,7 +5109,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5288
5109
|
return React__default["default"].createElement(SideBarLayout, { content: PopupContainer });
|
|
5289
5110
|
}
|
|
5290
5111
|
else if (isInline) {
|
|
5291
|
-
return (React__default["default"].createElement(InlineLayout, {
|
|
5112
|
+
return (React__default["default"].createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
|
|
5292
5113
|
}
|
|
5293
5114
|
return null;
|
|
5294
5115
|
};
|
|
@@ -5386,20 +5207,19 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5386
5207
|
const { apiUrl, siteDomain } = React.useContext(LeadGenContext$1);
|
|
5387
5208
|
React.useEffect(() => {
|
|
5388
5209
|
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
});
|
|
5210
|
+
fetch(`${apiUrl}api/campaign/${code}/impression`, {
|
|
5211
|
+
method: 'POST',
|
|
5212
|
+
headers: {
|
|
5213
|
+
'Content-Type': 'application/json',
|
|
5214
|
+
},
|
|
5215
|
+
body: JSON.stringify({
|
|
5216
|
+
action,
|
|
5217
|
+
url: location.href.toLowerCase(),
|
|
5218
|
+
title_article: document.title,
|
|
5219
|
+
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
5220
|
+
ga_client_id: gaCookie,
|
|
5221
|
+
}),
|
|
5222
|
+
});
|
|
5403
5223
|
}, []);
|
|
5404
5224
|
const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
|
|
5405
5225
|
const { currentLayout } = extra_fields;
|
|
@@ -5501,7 +5321,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5501
5321
|
currentLayout == 'Fullscreen' ||
|
|
5502
5322
|
currentLayout == 'Sidebar' ||
|
|
5503
5323
|
currentLayout == 'Slider') {
|
|
5504
|
-
return (React__default["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
|
|
5324
|
+
return (React__default["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 }));
|
|
5505
5325
|
}
|
|
5506
5326
|
else if (currentLayout.includes('Skin')) {
|
|
5507
5327
|
return (React__default["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 }));
|