@hhgtech/hhg-components 1.29.539 → 1.29.540
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-04a27fad.js → InputDate-7a0709e1.js} +5 -5
- package/build/{LastPeriod-ae3f46cc.js → LastPeriod-edb03fb7.js} +1 -1
- package/build/{MobileBottomNavigationIcon-e9cd333f.js → MobileBottomNavigationIcon-ed6b2a0c.js} +3 -3
- package/build/{SiteWideBanner-f5b1366b.js → SiteWideBanner-316c186d.js} +71 -48
- package/build/{Spinner-c6dbee0e.js → Spinner-fe5f13a8.js} +1 -1
- package/build/{WhatsApp-b5aac560.js → WhatsApp-ee9b507a.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +51 -51
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +22 -22
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +19 -19
- package/build/components/molecules/index.d.ts +1 -1
- package/build/components/molecules/videoItem/index.d.ts +15 -3
- package/build/components/molecules/videoItem/shorts/index.d.ts +1 -1
- package/build/components/molecules/videoItem/shorts/index.styles.d.ts +1 -0
- package/build/components/molecules/videoItem/types.d.ts +6 -0
- package/build/components/molecules/videoItem/video/index.d.ts +1 -1
- package/build/components/molecules/videoItem/video/index.styles.d.ts +2 -0
- package/build/components.js +107 -107
- package/build/{constants-d60c6682.js → constants-6b667238.js} +2 -2
- package/build/{constants-49edaf22.js → constants-ba5b0792.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-7940e96c.js → core-7879455a.js} +1 -1
- package/build/{dataTransform-4a0f7576.js → dataTransform-df0064ae.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-04a35f94.js → editor-624e2cbb.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-6ddfb12f.js → InputDate-42676111.js} +5 -5
- package/build/esm/{LastPeriod-7c9d1ebe.js → LastPeriod-671f31cb.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-5cfee88b.js → MobileBottomNavigationIcon-31e2d0bc.js} +3 -3
- package/build/esm/{SiteWideBanner-d2260963.js → SiteWideBanner-530faffd.js} +72 -49
- package/build/esm/{Spinner-a7300fde.js → Spinner-3b5a13ca.js} +1 -1
- package/build/esm/{WhatsApp-49fee288.js → WhatsApp-aba2a437.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +51 -51
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +22 -22
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +19 -19
- package/build/esm/components/molecules/index.d.ts +1 -1
- package/build/esm/components/molecules/videoItem/index.d.ts +15 -3
- package/build/esm/components/molecules/videoItem/shorts/index.d.ts +1 -1
- package/build/esm/components/molecules/videoItem/shorts/index.styles.d.ts +1 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +6 -0
- package/build/esm/components/molecules/videoItem/video/index.d.ts +1 -1
- package/build/esm/components/molecules/videoItem/video/index.styles.d.ts +2 -0
- package/build/esm/components.js +107 -107
- package/build/esm/{constants-63046638.js → constants-234a56e8.js} +1 -1
- package/build/esm/{constants-27ab1ac9.js → constants-fa7d38fe.js} +2 -2
- 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-cb09db67.js → core-1e5ed1ed.js} +1 -1
- package/build/esm/{dataTransform-49a5da3a.js → dataTransform-2efc1c43.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-2a9f325f.js → editor-20eb172b.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-97914a85.js → healthTools-4ae70ada.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-00a54472.js → index-0955c408.js} +16 -16
- package/build/esm/{index-9214d6d0.js → index-0f6f959b.js} +2 -2
- package/build/esm/{index-d750a3bd.js → index-12eee87b.js} +6 -6
- package/build/esm/{index-d57a332b.js → index-139dd03a.js} +14 -14
- package/build/esm/{index-75dfd6f0.js → index-15d7ec85.js} +3 -3
- package/build/esm/{index-733895ca.js → index-1fb71431.js} +17 -17
- package/build/esm/{index-8c31f669.js → index-20c5598f.js} +20 -20
- package/build/esm/{index-92201aad.js → index-22d966bf.js} +9 -9
- package/build/esm/{index-06892f27.js → index-27a7b901.js} +18 -18
- package/build/esm/{index-45b98ce5.js → index-2fd18898.js} +2 -2
- package/build/esm/{index-6fc3b1bd.js → index-31cad5b2.js} +15 -15
- package/build/esm/{index-6644f2cf.js → index-33122c2a.js} +5 -5
- package/build/esm/{index-988dcbba.js → index-333ac225.js} +32 -32
- package/build/esm/{index-8733daab.js → index-3845ef4e.js} +1 -1
- package/build/esm/{index-1bd297b9.js → index-3903ddcf.js} +2 -2
- package/build/esm/{index-f96d3480.js → index-3bbbc192.js} +2 -2
- package/build/esm/{index-0a28fd13.js → index-3c9bdce9.js} +13 -13
- package/build/esm/{index-3bd6dcfa.js → index-3e660ef5.js} +2 -2
- package/build/esm/{index-71637102.js → index-4515d48a.js} +1 -1
- package/build/esm/{index-6ff62fc7.js → index-491eaab0.js} +3 -3
- package/build/esm/{index-c571ca5b.js → index-4a178dc8.js} +2 -2
- package/build/esm/{index-010250c5.js → index-506e6b52.js} +7 -7
- package/build/esm/{index-8a721ff4.js → index-5375335f.js} +2 -2
- package/build/esm/{index-fe673290.js → index-553ce604.js} +4 -4
- package/build/esm/{index-1a2e3c48.js → index-5a222769.js} +2 -2
- package/build/esm/index-5f62d561.js +312 -0
- package/build/esm/{index-6ae14970.js → index-64b141ee.js} +3 -3
- package/build/esm/{index-2e3809bb.js → index-69dc8d9e.js} +4 -4
- package/build/esm/{index-e13b99af.js → index-6e6245bc.js} +1 -1
- package/build/esm/{index-d1b31975.js → index-70d35661.js} +18 -18
- package/build/esm/{index-b3116160.js → index-77cd9344.js} +1 -1
- package/build/esm/{index-ea99750c.js → index-7dc03b4e.js} +2 -2
- package/build/esm/{index-840dec81.js → index-7f547ed0.js} +2 -2
- package/build/esm/{index-65a58ced.js → index-8611179c.js} +1 -1
- package/build/esm/{index-93b7eac8.js → index-88601249.js} +11 -11
- package/build/esm/{index-8d14ade5.js → index-88feb89c.js} +3 -3
- package/build/esm/{index-48ea33d5.js → index-8b7b1b65.js} +7 -7
- package/build/esm/{index-8fb8017c.js → index-8c9cbc06.js} +2 -2
- package/build/esm/{index-ecd47dda.js → index-8de5d998.js} +22 -22
- package/build/esm/{index-f79d0be5.js → index-8fa2d488.js} +3 -3
- package/build/esm/{index-5c068dbb.js → index-91448c4a.js} +32 -32
- package/build/esm/{index-e6312164.js → index-9383743f.js} +1 -1
- package/build/esm/{index-dd49749d.js → index-977afaf8.js} +16 -16
- package/build/esm/{index-11ddf725.js → index-99912df6.js} +25 -25
- package/build/esm/{index-7299b589.js → index-99e3b4b3.js} +12 -12
- package/build/esm/{index-7c825f02.js → index-9db233e6.js} +34 -34
- package/build/esm/{index-0e863825.js → index-a0156da7.js} +15 -15
- package/build/esm/{index-411bb737.js → index-a3e5bcb1.js} +15 -15
- package/build/esm/{index-5293388d.js → index-a9c3aa26.js} +3 -3
- package/build/esm/{index-2a379bab.js → index-b00db157.js} +16 -16
- package/build/esm/{index-69807b8f.js → index-b74eee4c.js} +3 -3
- package/build/esm/{index-bc05f70f.js → index-bdffd2f7.js} +14 -14
- package/build/esm/{index-b8489a5c.js → index-be585408.js} +6 -6
- package/build/esm/{index-ecefe380.js → index-cbc6a854.js} +21 -21
- package/build/esm/{index-a124e73c.js → index-cbf056b3.js} +2 -2
- package/build/esm/{index-e9e17c36.js → index-d2b93970.js} +2 -2
- package/build/esm/{index-2ac6d404.js → index-d36eab24.js} +2 -2
- package/build/esm/{index-67e8610f.js → index-d8976f97.js} +2 -2
- package/build/esm/{index-68e72247.js → index-da211e96.js} +6 -6
- package/build/esm/{index-9e793b0c.js → index-daa87377.js} +16 -16
- package/build/esm/{index-490ccaf9.js → index-de616e2c.js} +8 -8
- package/build/esm/{index-638eddc7.js → index-e14d5661.js} +3 -3
- package/build/esm/{index-2261b115.js → index-e2737e63.js} +13 -13
- package/build/esm/{index-22e5a8ff.js → index-e69c2bb5.js} +3 -3
- package/build/esm/{index-9f4384bf.js → index-e986eaee.js} +1 -1
- package/build/esm/{index-1abdc655.js → index-eb0a3193.js} +14 -14
- package/build/esm/{index-8b45e7cd.js → index-ef169f53.js} +25 -25
- package/build/esm/{index-f54b4e20.js → index-f1db480b.js} +9 -9
- package/build/esm/{index-213b9bfe.js → index-f30844e7.js} +3 -3
- package/build/esm/{index-1b989b41.js → index-f30c0076.js} +2 -2
- package/build/esm/{index-c9ab3ba8.js → index-f49460ef.js} +3 -3
- package/build/esm/{index-bea8e3bc.js → index-f6bfaf6c.js} +2 -2
- package/build/esm/index.js +127 -127
- package/build/esm/{labelSorting-2192c706.js → labelSorting-162e1d87.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-cd9c5939.js → logoIcon-4091318b.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- 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 +82 -82
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +50 -50
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +63 -63
- package/build/esm/{post-552f19bf.js → post-3f73f2e9.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-c82127df.js → store-44f53ba1.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-b627ba38.js → surveyThankyouCard-95a8db00.js} +5 -5
- package/build/esm/together/components/molecules/socialLinkPreview/index.d.ts +7 -1
- package/build/esm/together/components/molecules/socialLinkPreview/index.styled.d.ts +4 -0
- package/build/esm/together/components/molecules/socialLinkPreview/youtubePlyr/index.d.ts +5 -2
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-8f2b9af2.js → transform-7207c434.js} +34 -34
- package/build/esm/{translationsProvider-eaf61c3d.js → translationsProvider-25ba3a45.js} +1 -1
- package/build/esm/{treePopoverMenu-23013708.js → treePopoverMenu-ad78ff2b.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-7f0fe1f3.js → useCartCareService-5eef6cb6.js} +1 -1
- package/build/esm/{useHealthToolCache-3d7597e2.js → useHealthToolCache-5149f3fe.js} +1 -1
- package/build/esm/{usePhoneValidator-fb2d70ab.js → usePhoneValidator-8aaea63e.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-2af36bde.js → usePlacesAutocomplete-bfaa4006.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-45a23f5b.js → utils-0a8e3f08.js} +2 -2
- package/build/esm/{utils-33f59f24.js → utils-1697e8fa.js} +5 -5
- package/build/esm/{utils-ed262964.js → utils-25058b1b.js} +4 -4
- package/build/esm/{utils-f48e30d6.js → utils-c2f5fcea.js} +2 -2
- package/build/esm/{utils-8841c559.js → utils-dc026004.js} +3 -3
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-895677c3.js → healthTools-65d8e2a8.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-cac9d2bd.js → index-019be538.js} +2 -2
- package/build/{index-a697ae99.js → index-09812e8f.js} +11 -11
- package/build/{index-cf5e4332.js → index-0b2f738a.js} +9 -9
- package/build/{index-30ebb8f0.js → index-0d8974ba.js} +14 -14
- package/build/{index-af600018.js → index-0e1e6135.js} +16 -16
- package/build/{index-b26310a7.js → index-112161ad.js} +2 -2
- package/build/{index-a87cd1d5.js → index-150dc514.js} +7 -7
- package/build/{index-049d9041.js → index-199226b5.js} +1 -1
- package/build/{index-8cc2d533.js → index-1da9cfd2.js} +2 -2
- package/build/{index-8a889fdb.js → index-1f72917e.js} +15 -15
- package/build/{index-407d63de.js → index-21e140e5.js} +13 -13
- package/build/{index-6a36d6ed.js → index-25eadff1.js} +9 -9
- package/build/{index-bc9f40a7.js → index-28cf53c2.js} +25 -25
- package/build/{index-1acd8d93.js → index-2bf67074.js} +3 -3
- package/build/{index-e01cefde.js → index-2d40ddb9.js} +2 -2
- package/build/{index-3a17b572.js → index-2d97b370.js} +3 -3
- package/build/{index-03a05925.js → index-3212a254.js} +2 -2
- package/build/{index-8738c4ae.js → index-345f9dd4.js} +3 -3
- package/build/{index-52ea018e.js → index-3608380d.js} +1 -1
- package/build/{index-96518f17.js → index-3dc5f860.js} +1 -1
- package/build/{index-897a8998.js → index-3f0073bd.js} +7 -7
- package/build/{index-17d71d9a.js → index-4283587b.js} +34 -34
- package/build/{index-c0ab322f.js → index-4662498f.js} +3 -3
- package/build/{index-c8bc500c.js → index-49760019.js} +1 -1
- package/build/{index-9119be36.js → index-4b86dedd.js} +3 -3
- package/build/{index-2b54ef1c.js → index-4c450bc2.js} +14 -14
- package/build/{index-39ad2c55.js → index-4d81d63a.js} +16 -16
- package/build/{index-01f6877c.js → index-4fd44a42.js} +16 -16
- package/build/{index-4244f0ea.js → index-5147f711.js} +2 -2
- package/build/{index-de12a847.js → index-5a0369db.js} +4 -4
- package/build/{index-cc7ffb71.js → index-5b7aea1b.js} +13 -13
- package/build/{index-83396b07.js → index-5e6e7572.js} +22 -22
- package/build/{index-3fd6fbaf.js → index-634b3738.js} +1 -1
- package/build/{index-c7c4e8b1.js → index-6b20c08b.js} +3 -3
- package/build/{index-86ee63ee.js → index-6bf48dd3.js} +5 -5
- package/build/{index-9a2e2dfa.js → index-6e34ecee.js} +6 -6
- package/build/{index-05b5ed88.js → index-6f85dbbb.js} +17 -17
- package/build/{index-dab9b6d5.js → index-73972389.js} +32 -32
- package/build/{index-5b32122b.js → index-7732ca87.js} +12 -12
- package/build/{index-08d1e419.js → index-77852a6c.js} +6 -6
- package/build/{index-e6b39191.js → index-7bd6b8ed.js} +16 -16
- package/build/{index-a4f68571.js → index-7cdbe50e.js} +21 -21
- package/build/{index-08dbe8c9.js → index-828c8a0e.js} +8 -8
- package/build/{index-a257f5cd.js → index-9510b910.js} +25 -25
- package/build/{index-631dd7be.js → index-973e83bc.js} +2 -2
- package/build/{index-8bab3807.js → index-9ce5dd88.js} +2 -2
- package/build/{index-d9eaccab.js → index-9f1f35ed.js} +6 -6
- package/build/{index-86839f4a.js → index-a0a5d3ca.js} +2 -2
- package/build/{index-4130ed21.js → index-a226ae12.js} +1 -1
- package/build/{index-2c64b334.js → index-a2438575.js} +18 -18
- package/build/{index-11746412.js → index-a2b022b1.js} +15 -15
- package/build/{index-1124e908.js → index-abb1f286.js} +3 -3
- package/build/{index-86ab6403.js → index-b5dd35e6.js} +2 -2
- package/build/{index-205ea188.js → index-b61f3caa.js} +1 -1
- package/build/{index-50f77025.js → index-b84b5b68.js} +20 -20
- package/build/{index-79feeb5b.js → index-beb41c97.js} +3 -3
- package/build/{index-efb80488.js → index-c0decf6a.js} +3 -3
- package/build/{index-1120ece6.js → index-c42f208a.js} +32 -32
- package/build/{index-740da507.js → index-c4d9dada.js} +2 -2
- package/build/{index-0350c39c.js → index-c7c478bc.js} +2 -2
- package/build/{index-3ed23994.js → index-cb4c4dfd.js} +3 -3
- package/build/{index-debf363f.js → index-d4abcb73.js} +3 -3
- package/build/{index-0f295a50.js → index-d66308dc.js} +2 -2
- package/build/{index-946f8195.js → index-d6b3cfd6.js} +139 -52
- package/build/{index-c5c9abeb.js → index-dc1a40a5.js} +15 -15
- package/build/{index-01f8cbb0.js → index-e109ebb8.js} +2 -2
- package/build/{index-ed4e6e0e.js → index-e75b33ed.js} +4 -4
- package/build/{index-539432c2.js → index-e7d362d0.js} +2 -2
- package/build/{index-afe086bb.js → index-eb697168.js} +18 -18
- package/build/{index-6a2eb1de.js → index-f1beb22d.js} +14 -14
- package/build/{index-9d614552.js → index-f5a49543.js} +2 -2
- package/build/{index-fb6f4fd3.js → index-ff2ce518.js} +2 -2
- package/build/index.js +127 -127
- package/build/{labelSorting-3cafb495.js → labelSorting-264bb988.js} +4 -4
- package/build/lead.js +37 -37
- package/build/{logoIcon-d32dd912.js → logoIcon-553b3701.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- 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 +82 -82
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +50 -50
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +63 -63
- package/build/{post-205ebcbb.js → post-0ee013d6.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-ca3305fb.js → store-51c2c500.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-1a6623e0.js → surveyThankyouCard-9392abca.js} +5 -5
- package/build/together/components/molecules/socialLinkPreview/index.d.ts +7 -1
- package/build/together/components/molecules/socialLinkPreview/index.styled.d.ts +4 -0
- package/build/together/components/molecules/socialLinkPreview/youtubePlyr/index.d.ts +5 -2
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-73cee9bd.js → transform-7b92856c.js} +34 -34
- package/build/{translationsProvider-3c4e6953.js → translationsProvider-9a001c79.js} +1 -1
- package/build/{treePopoverMenu-df48c936.js → treePopoverMenu-0ed31434.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-f7dca065.js → useCartCareService-e7c14af5.js} +1 -1
- package/build/{useHealthToolCache-f12a0e82.js → useHealthToolCache-6f8a7565.js} +1 -1
- package/build/{usePhoneValidator-e74c4e7e.js → usePhoneValidator-bc77c291.js} +5 -5
- package/build/{usePlacesAutocomplete-7a8daa58.js → usePlacesAutocomplete-8ba1a1c5.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-84c4a27d.js → utils-0565614b.js} +3 -3
- package/build/{utils-8f2896fa.js → utils-1287893e.js} +2 -2
- package/build/{utils-914fec69.js → utils-28dee61e.js} +2 -2
- package/build/{utils-be44f579.js → utils-3fefa6a3.js} +5 -5
- package/build/{utils-7bfd0e41.js → utils-f7df4d96.js} +4 -4
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-c2cf902b.js +0 -225
- /package/build/{BMI_BOYS.percentile.monthly-15965ace.js → BMI_BOYS.percentile.monthly-f4a67467.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-15e309b5.js → BMI_BOYS.percentile.weekly-540b855b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-3e7f4c0d.js → BMI_BOYS.percentile.yearly-7c3d3168.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b0ffd4d9.js → BMI_BOYS.zscore.monthly-b334b6a4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-4797174a.js → BMI_BOYS.zscore.weekly-c5f300ee.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7e109457.js → BMI_BOYS.zscore.yearly-16ffb05d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a108d306.js → BMI_GIRLS.percentile.monthly-d07e526c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-5afda9d5.js → BMI_GIRLS.percentile.weekly-8b0e3850.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-27089a43.js → BMI_GIRLS.percentile.yearly-c05ae9e6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-372c8b74.js → BMI_GIRLS.zscore.monthly-fafe6097.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-abf240c6.js → BMI_GIRLS.zscore.weekly-c0e762e8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d7666ebf.js → BMI_GIRLS.zscore.yearly-2d7cb404.js} +0 -0
- /package/build/{ChevronDown-c49218e7.js → ChevronDown-46d76c47.js} +0 -0
- /package/build/{Google-545add02.js → Google-2403b423.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d146f6de.js → HEAD CIRCUM_BOYS.percentile.monthly-22c7c2d1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-2164c119.js → HEAD CIRCUM_BOYS.percentile.weekly-0a3f962f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1d1978a0.js → HEAD CIRCUM_BOYS.percentile.yearly-22919686.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-52ed138c.js → HEAD CIRCUM_BOYS.zscore.monthly-5cc2ef96.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-fe2fca72.js → HEAD CIRCUM_BOYS.zscore.weekly-afcb4436.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-36318b26.js → HEAD CIRCUM_BOYS.zscore.yearly-99c02e07.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-11d0d8c5.js → HEAD CIRCUM_GIRLS.percentile.monthly-25a92420.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-edbc0ca0.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c90a6d8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c63a0733.js → HEAD CIRCUM_GIRLS.percentile.yearly-ec8fc3c3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a6e8f5fc.js → HEAD CIRCUM_GIRLS.zscore.monthly-d39a5939.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a5938954.js → HEAD CIRCUM_GIRLS.zscore.weekly-ab47f9d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a153a13f.js → HEAD CIRCUM_GIRLS.zscore.yearly-ac9a87de.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-533d5312.js → HEIGHT_BOYS.percentile.monthly-f5e7eddf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c7c3667d.js → HEIGHT_BOYS.percentile.weekly-51e20a38.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f0162d5d.js → HEIGHT_BOYS.percentile.yearly-b42cf46a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2c02cbc7.js → HEIGHT_BOYS.zscore.monthly-d8e9d204.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-aa1bb564.js → HEIGHT_BOYS.zscore.weekly-d02e0a8a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-d74527fa.js → HEIGHT_BOYS.zscore.yearly-3486d8fa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-28e874ec.js → HEIGHT_GIRLS.percentile.monthly-71520115.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-47b79cb6.js → HEIGHT_GIRLS.percentile.weekly-70b644ca.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5cabedc2.js → HEIGHT_GIRLS.percentile.yearly-a4d6ace0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-619eb679.js → HEIGHT_GIRLS.zscore.monthly-9af6b8aa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c33dab19.js → HEIGHT_GIRLS.zscore.weekly-a3a4d414.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3f4968b0.js → HEIGHT_GIRLS.zscore.yearly-f5a94f08.js} +0 -0
- /package/build/{Locale-6880b670.js → Locale-df39a3a9.js} +0 -0
- /package/build/{Visible-7455a980.js → Visible-65770790.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d17cf629.js → WEIGHT_BOYS.percentile.monthly-5154ed4f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-485d72bd.js → WEIGHT_BOYS.percentile.weekly-3b34f250.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-b430bd2b.js → WEIGHT_BOYS.percentile.yearly-af67b02a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-338d4363.js → WEIGHT_BOYS.zscore.monthly-7d603544.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f89a5bbe.js → WEIGHT_BOYS.zscore.weekly-31291da4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-ceedc8bf.js → WEIGHT_BOYS.zscore.yearly-56ba00f9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-80264445.js → WEIGHT_GIRLS.percentile.monthly-212241d6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-37d97d4d.js → WEIGHT_GIRLS.percentile.weekly-00c9fdc4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-85c728dd.js → WEIGHT_GIRLS.percentile.yearly-6e71f654.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-aafcba47.js → WEIGHT_GIRLS.zscore.monthly-76d2e990.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-58b3808e.js → WEIGHT_GIRLS.zscore.weekly-5790cc97.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-6384947c.js → WEIGHT_GIRLS.zscore.yearly-2152cdf6.js} +0 -0
- /package/build/{ageGenerate-a910f7c0.js → ageGenerate-023573ed.js} +0 -0
- /package/build/{animation-0828b4de.js → animation-9a387175.js} +0 -0
- /package/build/{constants-190178e7.js → constants-0c322c9a.js} +0 -0
- /package/build/{constants-e6d5ed90.js → constants-4e4d3eee.js} +0 -0
- /package/build/{constants-e0f9645c.js → constants-77b140a6.js} +0 -0
- /package/build/{context-002a01f9.js → context-e3660a82.js} +0 -0
- /package/build/{dataTransform-f5ab31e1.js → dataTransform-b8ca3470.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f03e6ab0.js → BMI_BOYS.percentile.monthly-faa75d43.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8d8f8de2.js → BMI_BOYS.percentile.weekly-2e69d5f4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-807600e1.js → BMI_BOYS.percentile.yearly-8ad0d095.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d9e9cd29.js → BMI_BOYS.zscore.monthly-1f19fab0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-87cf4869.js → BMI_BOYS.zscore.weekly-09e5eb14.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-82a4f0fb.js → BMI_BOYS.zscore.yearly-af59c41a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0352f57f.js → BMI_GIRLS.percentile.monthly-924dc8de.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8acb74ea.js → BMI_GIRLS.percentile.weekly-1f0e2858.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6118090a.js → BMI_GIRLS.percentile.yearly-c5c03d9e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-dad95e8b.js → BMI_GIRLS.zscore.monthly-7a9f2ed9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-da7a3c6a.js → BMI_GIRLS.zscore.weekly-efc80e79.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7d77b495.js → BMI_GIRLS.zscore.yearly-a8c2bce1.js} +0 -0
- /package/build/esm/{ChevronDown-b58d8bc2.js → ChevronDown-0f1e53d7.js} +0 -0
- /package/build/esm/{Google-1687c045.js → Google-42ef4276.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-2660d3f7.js → HEAD CIRCUM_BOYS.percentile.monthly-e56a318b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f0017f94.js → HEAD CIRCUM_BOYS.percentile.weekly-29a6a8c9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-69b741c3.js → HEAD CIRCUM_BOYS.percentile.yearly-20259df6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d80e1152.js → HEAD CIRCUM_BOYS.zscore.monthly-93491c47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-023d22b9.js → HEAD CIRCUM_BOYS.zscore.weekly-63cc6257.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ef92f558.js → HEAD CIRCUM_BOYS.zscore.yearly-3e8788d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-f7787122.js → HEAD CIRCUM_GIRLS.percentile.monthly-ce4fe0fe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c240c58d.js → HEAD CIRCUM_GIRLS.percentile.weekly-c3115716.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b22d72a7.js → HEAD CIRCUM_GIRLS.percentile.yearly-68d6c8f6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-08985d10.js → HEAD CIRCUM_GIRLS.zscore.monthly-de4bffcf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ec371887.js → HEAD CIRCUM_GIRLS.zscore.weekly-a5ed49a2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-52153825.js → HEAD CIRCUM_GIRLS.zscore.yearly-0b1282ae.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-12fcef27.js → HEIGHT_BOYS.percentile.monthly-70b36528.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c360c5a9.js → HEIGHT_BOYS.percentile.weekly-dc309794.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-6c8f83c4.js → HEIGHT_BOYS.percentile.yearly-103f219f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ee9e697d.js → HEIGHT_BOYS.zscore.monthly-98baae67.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-99ddf31b.js → HEIGHT_BOYS.zscore.weekly-6c6e742c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-56cee28b.js → HEIGHT_BOYS.zscore.yearly-6e34548c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c4ebe27a.js → HEIGHT_GIRLS.percentile.monthly-95363a59.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4fdeb034.js → HEIGHT_GIRLS.percentile.weekly-4c185d25.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-62efd5e1.js → HEIGHT_GIRLS.percentile.yearly-260254e5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1ad3be43.js → HEIGHT_GIRLS.zscore.monthly-2b9e700d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-143c57b3.js → HEIGHT_GIRLS.zscore.weekly-c3279716.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9826fe31.js → HEIGHT_GIRLS.zscore.yearly-88e13345.js} +0 -0
- /package/build/esm/{Locale-b4a257b5.js → Locale-319efad4.js} +0 -0
- /package/build/esm/{Visible-db9ecc70.js → Visible-f65c9b9b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1fed8de4.js → WEIGHT_BOYS.percentile.monthly-854ca2e3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-cc004e89.js → WEIGHT_BOYS.percentile.weekly-e5dce66d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-2138302d.js → WEIGHT_BOYS.percentile.yearly-0414e9fc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-15beb760.js → WEIGHT_BOYS.zscore.monthly-f3230664.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-9839084c.js → WEIGHT_BOYS.zscore.weekly-6e2cf2f1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-72675188.js → WEIGHT_BOYS.zscore.yearly-5e3f6637.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-823e5c61.js → WEIGHT_GIRLS.percentile.monthly-5a4ed2f5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-faa0084b.js → WEIGHT_GIRLS.percentile.weekly-cbeed11d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-6c74cc82.js → WEIGHT_GIRLS.percentile.yearly-f20bd84a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-db1c8d1f.js → WEIGHT_GIRLS.zscore.monthly-7bef925b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-5230ddd4.js → WEIGHT_GIRLS.zscore.weekly-2ece886e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ba14a59f.js → WEIGHT_GIRLS.zscore.yearly-92d07de3.js} +0 -0
- /package/build/esm/{ageGenerate-c14f96ca.js → ageGenerate-808039a6.js} +0 -0
- /package/build/esm/{animation-66ee8d90.js → animation-2f04f549.js} +0 -0
- /package/build/esm/{constants-af951312.js → constants-2157a5bd.js} +0 -0
- /package/build/esm/{constants-acb8cae2.js → constants-52571ab3.js} +0 -0
- /package/build/esm/{constants-e3b4efd8.js → constants-731dae04.js} +0 -0
- /package/build/esm/{context-30c1f32b.js → context-639601f2.js} +0 -0
- /package/build/esm/{dataTransform-65408dc0.js → dataTransform-54c14301.js} +0 -0
- /package/build/esm/{index-6d323d6f.js → index-143508c1.js} +0 -0
- /package/build/esm/{index-3b1881c4.js → index-14f56a8f.js} +0 -0
- /package/build/esm/{index-4a203139.js → index-18d1939d.js} +0 -0
- /package/build/esm/{index-2b5ccf4f.js → index-4a6f1d3a.js} +0 -0
- /package/build/esm/{index-6f99d75b.js → index-6875c1c8.js} +0 -0
- /package/build/esm/{index-dab0d38e.js → index-68c55440.js} +0 -0
- /package/build/esm/{index-a561a257.js → index-be08ce5f.js} +0 -0
- /package/build/esm/{index-64f2202f.js → index-c633ae73.js} +0 -0
- /package/build/esm/{index-c35cc389.js → index-da233812.js} +0 -0
- /package/build/esm/{index.styles-8e767c15.js → index.styles-384bc5ac.js} +0 -0
- /package/build/esm/{localizeNumberFormat-c8e55f14.js → localizeNumberFormat-35c87ed4.js} +0 -0
- /package/build/esm/{normalizeLink-eb43962d.js → normalizeLink-b87a6d79.js} +0 -0
- /package/build/esm/{number-a97bc0e4.js → number-56e3a367.js} +0 -0
- /package/build/esm/{paths-12e5c929.js → paths-92e7e9f3.js} +0 -0
- /package/build/esm/{shared-7b464b6a.js → shared-b138264a.js} +0 -0
- /package/build/esm/{translationsContext-42ddfdb4.js → translationsContext-23e1a5fa.js} +0 -0
- /package/build/esm/{tslib.es6-f0d09e2c.js → tslib.es6-d03f5deb.js} +0 -0
- /package/build/esm/{types-1f09aa4f.js → types-3a88393e.js} +0 -0
- /package/build/esm/{types-3fd52fab.js → types-94a693ca.js} +0 -0
- /package/build/esm/{useOutsideClick-ed2df2c0.js → useOutsideClick-62f8df5e.js} +0 -0
- /package/build/esm/{useScrollbarSize-7ef0f31c.js → useScrollbarSize-7e5e6ab8.js} +0 -0
- /package/build/esm/{useUniqueId-3255fd6d.js → useUniqueId-1ef11bd9.js} +0 -0
- /package/build/esm/{utils-ed885904.js → utils-1f4c477d.js} +0 -0
- /package/build/esm/{utils-2f779156.js → utils-3681f8cf.js} +0 -0
- /package/build/{index-f34c95b8.js → index-0ffcf0bc.js} +0 -0
- /package/build/{index-fd54d2d3.js → index-2688ff62.js} +0 -0
- /package/build/{index-6bfdffb9.js → index-4ceb0284.js} +0 -0
- /package/build/{index-a6dd4a11.js → index-50917a1e.js} +0 -0
- /package/build/{index-045b7d90.js → index-572143c9.js} +0 -0
- /package/build/{index-529b738d.js → index-6294155f.js} +0 -0
- /package/build/{index-cc53557f.js → index-91517a02.js} +0 -0
- /package/build/{index-3e6f73bf.js → index-94ccc312.js} +0 -0
- /package/build/{index-240d39cf.js → index-f94e100f.js} +0 -0
- /package/build/{index.styles-30554d5b.js → index.styles-585b1fb1.js} +0 -0
- /package/build/{localizeNumberFormat-6adfcee5.js → localizeNumberFormat-245e51fe.js} +0 -0
- /package/build/{normalizeLink-5099e9b5.js → normalizeLink-7918a385.js} +0 -0
- /package/build/{number-c4e932aa.js → number-2db20109.js} +0 -0
- /package/build/{paths-9b376540.js → paths-a6322278.js} +0 -0
- /package/build/{shared-4258d7ff.js → shared-f8a229fc.js} +0 -0
- /package/build/{translationsContext-f163c180.js → translationsContext-55e611dd.js} +0 -0
- /package/build/{tslib.es6-f69eecff.js → tslib.es6-013bd4e3.js} +0 -0
- /package/build/{types-aca98767.js → types-8f336a69.js} +0 -0
- /package/build/{types-08abdcba.js → types-fd764429.js} +0 -0
- /package/build/{useOutsideClick-c407d186.js → useOutsideClick-f4defd63.js} +0 -0
- /package/build/{useScrollbarSize-32bb0640.js → useScrollbarSize-2f92b5b2.js} +0 -0
- /package/build/{useUniqueId-8c338e50.js → useUniqueId-5055ba59.js} +0 -0
- /package/build/{utils-162c6158.js → utils-622a8cfb.js} +0 -0
- /package/build/{utils-8ba2afed.js → utils-7ce29aa4.js} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { createContext, useState, useContext, useEffect } from 'react';
|
|
3
|
-
import { T as Tabs } from './index-
|
|
4
|
-
import { L as Loading } from './index-
|
|
5
|
-
import './index-
|
|
6
|
-
import { b as formatArticle } from './dataTransform-
|
|
3
|
+
import { T as Tabs } from './index-a9c3aa26.js';
|
|
4
|
+
import { L as Loading } from './index-5a222769.js';
|
|
5
|
+
import './index-3845ef4e.js';
|
|
6
|
+
import { b as formatArticle } from './dataTransform-2efc1c43.js';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { T as TogetherComponentGlobalContext, c as callApi, f as getApiPath } from './utils-
|
|
8
|
+
import { T as TogetherComponentGlobalContext, c as callApi, f as getApiPath } from './utils-dc026004.js';
|
|
9
9
|
import { Minus, Plus } from '@hhgtech/icons/core';
|
|
10
10
|
import { Collapse } from '@mantine/core';
|
|
11
|
-
import { C as CardAuthor } from './index-
|
|
12
|
-
import { L as LOCALE } from './Locale-
|
|
11
|
+
import { C as CardAuthor } from './index-0955c408.js';
|
|
12
|
+
import { L as LOCALE } from './Locale-319efad4.js';
|
|
13
13
|
import '@hhgtech/icons/other';
|
|
14
|
-
import './index-
|
|
15
|
-
import './shared-
|
|
16
|
-
import './index-
|
|
17
|
-
import './index-
|
|
18
|
-
import './index-
|
|
19
|
-
import './translationsContext-
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
14
|
+
import './index-491eaab0.js';
|
|
15
|
+
import './shared-b138264a.js';
|
|
16
|
+
import './index-143508c1.js';
|
|
17
|
+
import './index-3bbbc192.js';
|
|
18
|
+
import './index-77cd9344.js';
|
|
19
|
+
import './translationsContext-23e1a5fa.js';
|
|
20
|
+
import './index-3e660ef5.js';
|
|
21
|
+
import './index-c633ae73.js';
|
|
22
22
|
import './miscCookieHelper.js';
|
|
23
23
|
import 'slugify';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
25
|
import 'string-format';
|
|
26
|
-
import './constants-
|
|
26
|
+
import './constants-fa7d38fe.js';
|
|
27
27
|
import 'dayjs';
|
|
28
28
|
import 'dayjs/plugin/relativeTime';
|
|
29
|
-
import './utils-
|
|
30
|
-
import './index-
|
|
31
|
-
import './paths-
|
|
32
|
-
import './constants-
|
|
33
|
-
import './index-
|
|
29
|
+
import './utils-3681f8cf.js';
|
|
30
|
+
import './index-506e6b52.js';
|
|
31
|
+
import './paths-92e7e9f3.js';
|
|
32
|
+
import './constants-52571ab3.js';
|
|
33
|
+
import './index-cbf056b3.js';
|
|
34
34
|
import 'date-fns/locale';
|
|
35
35
|
import './constantsSite.js';
|
|
36
36
|
import './constantsDomainLocales.js';
|
|
37
37
|
import './constantsRiskScreener.js';
|
|
38
|
-
import './index-
|
|
38
|
+
import './index-f30844e7.js';
|
|
39
39
|
import './miscTheme.js';
|
|
40
|
-
import './WhatsApp-
|
|
41
|
-
import './Spinner-
|
|
42
|
-
import './index-
|
|
40
|
+
import './WhatsApp-aba2a437.js';
|
|
41
|
+
import './Spinner-3b5a13ca.js';
|
|
42
|
+
import './index-d36eab24.js';
|
|
43
43
|
import '@emotion/styled';
|
|
44
|
-
import './index-
|
|
45
|
-
import './index-
|
|
46
|
-
import './index-
|
|
44
|
+
import './index-5375335f.js';
|
|
45
|
+
import './index-6875c1c8.js';
|
|
46
|
+
import './index-0f6f959b.js';
|
|
47
47
|
import '@emotion/react';
|
|
48
|
-
import './index-
|
|
49
|
-
import './index-
|
|
50
|
-
import './index.styles-
|
|
48
|
+
import './index-d8976f97.js';
|
|
49
|
+
import './index-7f547ed0.js';
|
|
50
|
+
import './index.styles-384bc5ac.js';
|
|
51
51
|
|
|
52
52
|
const ProfileDetailContext = createContext({});
|
|
53
53
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
2
|
+
import { B as Button } from './index-3e660ef5.js';
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-dc026004.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
3
|
import { createStyles, useMantineTheme, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { a as GlobalTextStyle, C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-
|
|
4
|
+
import { a as GlobalTextStyle, C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-143508c1.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { useState, useRef, useMemo, useEffect } from 'react';
|
|
3
3
|
import { BabyBoyMB, BabyGirlMB } from '@hhgtech/icons/other';
|
|
4
4
|
import { createStyles, rem, Box, Flex } from '@mantine/core';
|
|
5
|
-
import { R as Radio } from './index-
|
|
5
|
+
import { R as Radio } from './index-22d966bf.js';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index.styles-
|
|
15
|
-
import { u as useTranslations } from './index-
|
|
7
|
+
import './index-cbf056b3.js';
|
|
8
|
+
import './index-3845ef4e.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-6875c1c8.js';
|
|
10
|
+
import './index-de616e2c.js';
|
|
11
|
+
import { T as Text } from './index-3bbbc192.js';
|
|
12
|
+
import './index-491eaab0.js';
|
|
13
|
+
import './index-143508c1.js';
|
|
14
|
+
import './index.styles-384bc5ac.js';
|
|
15
|
+
import { u as useTranslations } from './index-77cd9344.js';
|
|
16
16
|
import '@mantine/hooks';
|
|
17
|
-
import './utils-
|
|
18
|
-
import './index-
|
|
17
|
+
import './utils-3681f8cf.js';
|
|
18
|
+
import './index-a9c3aa26.js';
|
|
19
19
|
|
|
20
20
|
const sizeMap = {
|
|
21
21
|
lg: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { B as Button$1 } from './index-
|
|
3
|
+
import { B as Button$1 } from './index-491eaab0.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
3
|
import { createStyles, getStylesRef, useMantineTheme, Button as Button$1 } from '@mantine/core';
|
|
4
|
-
import { A as ANIMATION_DURATION } from './shared-
|
|
5
|
-
import { C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-
|
|
4
|
+
import { A as ANIMATION_DURATION } from './shared-b138264a.js';
|
|
5
|
+
import { C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-143508c1.js';
|
|
6
6
|
|
|
7
7
|
var useStyles = createStyles((_theme, _params) => {
|
|
8
8
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import { theme } from './miscTheme.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { M as MarryBabyText } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
4
|
+
import { M as MarryBabyText } from './index-9383743f.js';
|
|
5
|
+
import { T as Text } from './index-e2737e63.js';
|
|
6
6
|
|
|
7
7
|
const StyledRadioImageGroup = styled.div `
|
|
8
8
|
display: flex;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { useState, useMemo, useCallback } from 'react';
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
3
|
+
import { u as useTranslations } from './index-77cd9344.js';
|
|
4
4
|
import { createStyles } from '@mantine/core';
|
|
5
|
-
import { P as PATHS } from './paths-
|
|
6
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
7
|
-
import { B as Button } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { c as callApi, b as getCarePath } from './utils-
|
|
5
|
+
import { P as PATHS } from './paths-92e7e9f3.js';
|
|
6
|
+
import { L as LOCALIZED_SLUGS } from './constants-52571ab3.js';
|
|
7
|
+
import { B as Button } from './index-491eaab0.js';
|
|
8
|
+
import './index-cbf056b3.js';
|
|
9
|
+
import { c as callApi, b as getCarePath } from './utils-dc026004.js';
|
|
10
10
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
11
11
|
import { isProduction } from './constantsIsProduction.js';
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { B as Breakpoints } from './utils-
|
|
3
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
+
import { B as Breakpoints } from './utils-3681f8cf.js';
|
|
3
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
|
|
6
6
|
const getIsMobile = () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { createStyles, rem, Box, Input, Chip, useMantineTheme, Flex, Switch } from '@mantine/core';
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { T as Text } from './index-3bbbc192.js';
|
|
5
|
+
import { B as Button } from './index-491eaab0.js';
|
|
6
|
+
import { u as useTranslations } from './index-77cd9344.js';
|
|
7
7
|
import flattenChildren from 'react-keyed-flatten-children';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useTranslations } from './index-
|
|
3
|
-
import { B as Button } from './index-
|
|
2
|
+
import { u as useTranslations } from './index-77cd9344.js';
|
|
3
|
+
import { B as Button } from './index-3e660ef5.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-d03f5deb.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useContext, useMemo, useCallback, useLayoutEffect } from 'react';
|
|
3
|
+
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
+
import { I as ImageWrap } from './index-5375335f.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, f as getApiPath } from './utils-dc026004.js';
|
|
6
|
+
import styled from '@emotion/styled';
|
|
7
|
+
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
+
import { a as DEFAULT_IMG } from './constants-fa7d38fe.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-3f73f2e9.js';
|
|
10
|
+
import { L as Loading } from './index-0f6f959b.js';
|
|
11
|
+
|
|
12
|
+
const StyledSocialLinkPreview = styled.div `
|
|
13
|
+
.link-info-container {
|
|
14
|
+
padding: 0.5rem 1rem;
|
|
15
|
+
background: ${(props) => props.color || '#f4faff'};
|
|
16
|
+
}
|
|
17
|
+
.link-image-wrapper {
|
|
18
|
+
position: relative;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
width: 100%;
|
|
21
|
+
background-color: #000;
|
|
22
|
+
padding-top: ${(props) => { var _a; return (_a = props.aspectPaddingTop) !== null && _a !== void 0 ? _a : (props.isShort ? '179.58%' : '56.25%'); }};
|
|
23
|
+
&.fetching {
|
|
24
|
+
background: lightgray;
|
|
25
|
+
}
|
|
26
|
+
.loading-spinner {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 50%;
|
|
29
|
+
left: 50%;
|
|
30
|
+
transform: translate(-50%, -50%);
|
|
31
|
+
}
|
|
32
|
+
.link-image {
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
object-fit: ${(props) => { var _a; return (_a = props.posterFit) !== null && _a !== void 0 ? _a : 'cover'; }};
|
|
39
|
+
object-position: center;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
a {
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
}
|
|
45
|
+
&[data-is-marrybaby='true'] {
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
border-radius: 1rem;
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
50
|
+
|
|
51
|
+
const useExternalScript = ({ url, onLoad, onError }) => {
|
|
52
|
+
const [state, setState] = useState(url ? 'loading' : 'idle');
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
if (!url) {
|
|
55
|
+
setState('idle');
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
let script = document.querySelector(`script[src="${url}"]`);
|
|
59
|
+
const handleLoadScript = () => {
|
|
60
|
+
setState('ready');
|
|
61
|
+
onLoad === null || onLoad === void 0 ? void 0 : onLoad();
|
|
62
|
+
};
|
|
63
|
+
const handleErrorScript = () => {
|
|
64
|
+
setState('error');
|
|
65
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
66
|
+
};
|
|
67
|
+
if (!script) {
|
|
68
|
+
script = document.createElement('script');
|
|
69
|
+
script.type = 'application/javascript';
|
|
70
|
+
script.src = url;
|
|
71
|
+
script.async = true;
|
|
72
|
+
document.body.appendChild(script);
|
|
73
|
+
script.addEventListener('load', handleLoadScript);
|
|
74
|
+
script.addEventListener('error', handleErrorScript);
|
|
75
|
+
}
|
|
76
|
+
script.addEventListener('load', handleLoadScript);
|
|
77
|
+
script.addEventListener('error', handleErrorScript);
|
|
78
|
+
return () => {
|
|
79
|
+
script.removeEventListener('load', handleLoadScript);
|
|
80
|
+
script.removeEventListener('error', handleErrorScript);
|
|
81
|
+
};
|
|
82
|
+
}, [url]);
|
|
83
|
+
return state;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const YoutubePlyr = ({ id, autoplay, posterFit = 'cover', }) => {
|
|
87
|
+
const ref = useRef(null);
|
|
88
|
+
const state = useExternalScript({ url: 'https://cdn.plyr.io/3.7.8/plyr.js' });
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
var _a;
|
|
91
|
+
if (!document.getElementById('hhg-plyr-player')) {
|
|
92
|
+
const link = document.createElement('link');
|
|
93
|
+
link.rel = 'stylesheet';
|
|
94
|
+
link.type = 'text/css';
|
|
95
|
+
link.href = 'https://cdn.plyr.io/3.7.8/plyr.css';
|
|
96
|
+
link.id = 'hhg-plyr-player';
|
|
97
|
+
document.head.appendChild(link);
|
|
98
|
+
}
|
|
99
|
+
const canInit = state === 'ready' || typeof Plyr !== 'undefined';
|
|
100
|
+
if (!canInit)
|
|
101
|
+
return;
|
|
102
|
+
const container = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.querySelector('[data-id="player"]');
|
|
103
|
+
if (!container)
|
|
104
|
+
return;
|
|
105
|
+
// No `ratio` here: parent `.link-image-wrapper` already sets aspect (padding-top / optional `ratio` prop).
|
|
106
|
+
// Inner Plyr aspect + maxWidth would desync iframe from that box; fill container instead.
|
|
107
|
+
const player = new Plyr(container, {
|
|
108
|
+
autoplay,
|
|
109
|
+
muted: true,
|
|
110
|
+
});
|
|
111
|
+
return () => {
|
|
112
|
+
player.destroy();
|
|
113
|
+
};
|
|
114
|
+
}, [state, autoplay, id]);
|
|
115
|
+
const posterBgSize = posterFit === 'cover' ? 'cover !important' : 'contain !important';
|
|
116
|
+
return (React__default.createElement(Box, { ref: ref, sx: {
|
|
117
|
+
position: 'absolute',
|
|
118
|
+
top: 0,
|
|
119
|
+
left: 0,
|
|
120
|
+
right: 0,
|
|
121
|
+
bottom: 0,
|
|
122
|
+
backgroundColor: '#000',
|
|
123
|
+
'&, & > div': {
|
|
124
|
+
width: '100%',
|
|
125
|
+
height: '100%',
|
|
126
|
+
},
|
|
127
|
+
'& .plyr': {
|
|
128
|
+
width: '100%',
|
|
129
|
+
height: '100%',
|
|
130
|
+
maxWidth: 'none',
|
|
131
|
+
},
|
|
132
|
+
'& .plyr__video-wrapper': {
|
|
133
|
+
height: '100%',
|
|
134
|
+
width: '100%',
|
|
135
|
+
},
|
|
136
|
+
'& .plyr__video-embed': {
|
|
137
|
+
paddingBottom: '0 !important',
|
|
138
|
+
height: '100% !important',
|
|
139
|
+
position: 'relative',
|
|
140
|
+
},
|
|
141
|
+
'& .plyr__video-embed iframe': {
|
|
142
|
+
position: 'absolute',
|
|
143
|
+
top: 0,
|
|
144
|
+
left: 0,
|
|
145
|
+
width: '100%',
|
|
146
|
+
height: '100%',
|
|
147
|
+
},
|
|
148
|
+
'& .plyr__poster': {
|
|
149
|
+
backgroundSize: posterBgSize,
|
|
150
|
+
backgroundPosition: 'center !important',
|
|
151
|
+
backgroundRepeat: 'no-repeat',
|
|
152
|
+
width: '100% !important',
|
|
153
|
+
height: '100% !important',
|
|
154
|
+
top: 0,
|
|
155
|
+
left: 0,
|
|
156
|
+
},
|
|
157
|
+
} },
|
|
158
|
+
React__default.createElement("div", { key: id, "data-id": "player", className: "plyr__video-embed" },
|
|
159
|
+
React__default.createElement("iframe", { width: "100%", height: "100%", src: `https://www.youtube.com/embed/${id}?mute=1&enablejsapi=1&rel=0`, allow: "autoplay; fullscreen", allowFullScreen: true, title: "YouTube preview", frameBorder: "0" }))));
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/** `width:height` (e.g. `16:9`, `9:16`) — sets preview box aspect via padding-top. */
|
|
163
|
+
function aspectRatioStringToPaddingTop(ratio) {
|
|
164
|
+
const m = ratio.trim().match(/^(\d+(?:\.\d+)?)\s*:\s*(\d+(?:\.\d+)?)$/);
|
|
165
|
+
if (!m)
|
|
166
|
+
return undefined;
|
|
167
|
+
const w = Number(m[1]);
|
|
168
|
+
const h = Number(m[2]);
|
|
169
|
+
if (!Number.isFinite(w) || !Number.isFinite(h) || w <= 0 || h <= 0) {
|
|
170
|
+
return undefined;
|
|
171
|
+
}
|
|
172
|
+
return `${(h / w) * 100}%`;
|
|
173
|
+
}
|
|
174
|
+
const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPlay = true, isShort = false, autoScaleByVideoType = false, ratio, posterFit = 'cover', onPushStatus, }) => {
|
|
175
|
+
const { data: { locale }, } = useContext(TogetherComponentGlobalContext);
|
|
176
|
+
const [previewData, setPreviewData] = useState(null);
|
|
177
|
+
useEffect(() => {
|
|
178
|
+
(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
179
|
+
if (image)
|
|
180
|
+
return;
|
|
181
|
+
if (!url)
|
|
182
|
+
return setPreviewData(null);
|
|
183
|
+
setPreviewData((_data) => (Object.assign(Object.assign({}, _data), { isFetching: true })));
|
|
184
|
+
// fetch('./api/fetch-meta?url=' + encodeURIComponent(url))
|
|
185
|
+
// .then((res) => res.json())
|
|
186
|
+
// .then((res) =>
|
|
187
|
+
// setPreviewData({
|
|
188
|
+
// url,
|
|
189
|
+
// image: res?.image || res?.logo,
|
|
190
|
+
// }),
|
|
191
|
+
// )
|
|
192
|
+
callApi(getApiPath(PATHS.FETCH_PREVIEW, {
|
|
193
|
+
_locale: locale,
|
|
194
|
+
}, undefined, baseUrl), 'POST', {
|
|
195
|
+
data: {
|
|
196
|
+
link: url,
|
|
197
|
+
},
|
|
198
|
+
headers: {
|
|
199
|
+
'Content-Type': 'application/json',
|
|
200
|
+
},
|
|
201
|
+
}, !!baseUrl)
|
|
202
|
+
.then((res) => {
|
|
203
|
+
var _a, _b;
|
|
204
|
+
setPreviewData({
|
|
205
|
+
url,
|
|
206
|
+
image: ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.image) || ((_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.logo),
|
|
207
|
+
});
|
|
208
|
+
})
|
|
209
|
+
.catch(() => {
|
|
210
|
+
setPreviewData(null);
|
|
211
|
+
});
|
|
212
|
+
}))();
|
|
213
|
+
}, [url, image]);
|
|
214
|
+
const displayImage = image || (previewData === null || previewData === void 0 ? void 0 : previewData.image);
|
|
215
|
+
const displayUrl = (previewData === null || previewData === void 0 ? void 0 : previewData.url) || url;
|
|
216
|
+
const youtubeVidId = useMemo(() => {
|
|
217
|
+
return youtubeVidIdGetter(displayUrl);
|
|
218
|
+
}, [displayUrl]);
|
|
219
|
+
const facebookVidId = useMemo(() => {
|
|
220
|
+
return (displayUrl.includes('facebook.com') || displayUrl.includes('fb.watch'));
|
|
221
|
+
}, [displayUrl]);
|
|
222
|
+
const isReelUrl = useMemo(() => {
|
|
223
|
+
const normalizedUrl = (displayUrl || '').toLowerCase();
|
|
224
|
+
return normalizedUrl.includes('/reel/') || normalizedUrl.includes('/reels/');
|
|
225
|
+
}, [displayUrl]);
|
|
226
|
+
const shouldRenderEmbedVideo = useMemo(() => Boolean(youtubeVidId || facebookVidId), [facebookVidId, youtubeVidId]);
|
|
227
|
+
const shouldRenderShortRatio = useMemo(() => {
|
|
228
|
+
if (!autoScaleByVideoType)
|
|
229
|
+
return false;
|
|
230
|
+
if (isShort)
|
|
231
|
+
return true;
|
|
232
|
+
return displayUrl.toLowerCase().includes('/shorts/') || isReelUrl;
|
|
233
|
+
}, [autoScaleByVideoType, displayUrl, isReelUrl, isShort]);
|
|
234
|
+
const aspectPaddingTop = useMemo(() => (ratio ? aspectRatioStringToPaddingTop(ratio) : undefined), [ratio]);
|
|
235
|
+
const embedWrapperRef = useRef(null);
|
|
236
|
+
const responsiveWidth = useRef(0);
|
|
237
|
+
const responsiveHeight = useRef(0);
|
|
238
|
+
const [forceRerenderFB, setForceRerenderFB] = useState(false);
|
|
239
|
+
/** Facebook iframe needs explicit width/height; keep in sync with `.link-image-wrapper` box. */
|
|
240
|
+
const measureFacebookIframeBox = useCallback((looseThreshold) => {
|
|
241
|
+
var _a;
|
|
242
|
+
const rect = (_a = embedWrapperRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
243
|
+
if (!(rect === null || rect === void 0 ? void 0 : rect.width))
|
|
244
|
+
return;
|
|
245
|
+
const w = Math.floor(rect.width);
|
|
246
|
+
const h = Math.floor(rect.height);
|
|
247
|
+
let toChangeSize = false;
|
|
248
|
+
if (looseThreshold) {
|
|
249
|
+
if (!responsiveWidth.current ||
|
|
250
|
+
Math.abs((responsiveWidth.current - w) / rect.width) > 0.2) {
|
|
251
|
+
responsiveWidth.current = w;
|
|
252
|
+
toChangeSize = true;
|
|
253
|
+
}
|
|
254
|
+
if (!responsiveHeight.current ||
|
|
255
|
+
Math.abs((responsiveHeight.current - h) / (rect.height || 1)) > 0.2) {
|
|
256
|
+
responsiveHeight.current = h;
|
|
257
|
+
toChangeSize = true;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
if (w !== responsiveWidth.current || h !== responsiveHeight.current) {
|
|
262
|
+
responsiveWidth.current = w;
|
|
263
|
+
responsiveHeight.current = h;
|
|
264
|
+
toChangeSize = true;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
if (toChangeSize) {
|
|
268
|
+
setForceRerenderFB((v) => !v);
|
|
269
|
+
}
|
|
270
|
+
}, []);
|
|
271
|
+
// After aspect ratio / layout updates, iframe must match `link-image-wrapper` (not only on window resize).
|
|
272
|
+
useLayoutEffect(() => {
|
|
273
|
+
measureFacebookIframeBox(false);
|
|
274
|
+
}, [
|
|
275
|
+
aspectPaddingTop,
|
|
276
|
+
ratio,
|
|
277
|
+
shouldRenderShortRatio,
|
|
278
|
+
displayUrl,
|
|
279
|
+
measureFacebookIframeBox,
|
|
280
|
+
]);
|
|
281
|
+
// FACEBOOK Video is not responsive for desktop browser
|
|
282
|
+
// => hack: set size to same as container, if size change too large, re-render facebook iframe with new config
|
|
283
|
+
useEffect(() => {
|
|
284
|
+
const handleResize = () => measureFacebookIframeBox(true);
|
|
285
|
+
handleResize();
|
|
286
|
+
window.addEventListener('resize', handleResize, {
|
|
287
|
+
passive: true,
|
|
288
|
+
});
|
|
289
|
+
return () => {
|
|
290
|
+
window.removeEventListener('resize', handleResize);
|
|
291
|
+
};
|
|
292
|
+
}, [measureFacebookIframeBox]);
|
|
293
|
+
useEffect(() => {
|
|
294
|
+
if ((previewData === null || previewData === void 0 ? void 0 : previewData.image) && (previewData === null || previewData === void 0 ? void 0 : previewData.url)) {
|
|
295
|
+
onPushStatus === null || onPushStatus === void 0 ? void 0 : onPushStatus(true);
|
|
296
|
+
}
|
|
297
|
+
}, [previewData]);
|
|
298
|
+
const _theme = useMantineTheme();
|
|
299
|
+
return (React__default.createElement(StyledSocialLinkPreview, { className: `${className} no-replace-click`, style: style, color: _theme.colors[_theme.primaryColor][0], isShort: shouldRenderShortRatio, aspectPaddingTop: aspectPaddingTop, posterFit: posterFit }, shouldRenderEmbedVideo && (!image || isReelUrl) ? (React__default.createElement("div", { ref: embedWrapperRef, className: "link-image-wrapper" }, youtubeVidId ? (React__default.createElement(YoutubePlyr, { key: `${youtubeVidId}-${ratio !== null && ratio !== void 0 ? ratio : 'auto'}`, id: youtubeVidId, autoplay: autoPlay, isShort: shouldRenderShortRatio, ratio: ratio, posterFit: posterFit })) : facebookVidId ? (React__default.createElement("iframe", { key: String(forceRerenderFB), src: `https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(displayUrl)}&autoplay=${autoPlay ? 1 : 0}&show_text=false&t=0&width=${responsiveWidth.current}&height=${responsiveHeight.current}`, style: {
|
|
300
|
+
position: 'absolute',
|
|
301
|
+
top: '50%',
|
|
302
|
+
left: '50%',
|
|
303
|
+
border: 'none',
|
|
304
|
+
overflow: 'hidden',
|
|
305
|
+
height: responsiveHeight.current,
|
|
306
|
+
width: responsiveWidth.current,
|
|
307
|
+
transform: 'translate(-50%, -50%)',
|
|
308
|
+
}, scrolling: "no", frameBorder: "0", allowFullScreen: true, allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share", loading: "lazy" })) : null)) : (React__default.createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
|
|
309
|
+
React__default.createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__default.createElement(Loading, { className: "loading-spinner" })) : (React__default.createElement(ImageWrap, { className: "link-image", src: displayImage || DEFAULT_IMG, backupSrc: DEFAULT_IMG, alt: displayUrl })))))));
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
export { SocialLinkPreview as S };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll } from './utils-
|
|
3
|
+
import { t as toggleNoScroll } from './utils-3681f8cf.js';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
8
|
-
import { T as Text } from './index-
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-2f04f549.js';
|
|
8
|
+
import { T as Text } from './index-3bbbc192.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import { isProduction } from './constantsIsProduction.js';
|
|
3
|
-
import { n as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
4
|
-
import { L as LOCALE_SPECS, k as BEARER_REFRESH_TOKEN_COOKIE } from './index-
|
|
3
|
+
import { n as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-b87a6d79.js';
|
|
4
|
+
import { L as LOCALE_SPECS, k as BEARER_REFRESH_TOKEN_COOKIE } from './index-cbf056b3.js';
|
|
5
5
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
6
|
-
import { L as LOCALE } from './Locale-
|
|
6
|
+
import { L as LOCALE } from './Locale-319efad4.js';
|
|
7
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
8
8
|
|
|
9
9
|
const SSO_V2_PATHS = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-3681f8cf.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-d03f5deb.js';
|
|
2
2
|
import React__default, { createContext, useContext, useMemo } from 'react';
|
|
3
3
|
import { useMantineTheme, clsx } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
6
|
-
import { u as useTranslations } from './index-
|
|
7
|
-
import { H as HEALTH_TOOL_TYPE } from './constants-
|
|
8
|
-
import { I as Input } from './index-
|
|
5
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-5149f3fe.js';
|
|
6
|
+
import { u as useTranslations } from './index-77cd9344.js';
|
|
7
|
+
import { H as HEALTH_TOOL_TYPE } from './constants-fa7d38fe.js';
|
|
8
|
+
import { I as Input } from './index-22d966bf.js';
|
|
9
9
|
import '@mantine/dates';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import { T as Text } from './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import './index-
|
|
17
|
-
import './index.styles-
|
|
10
|
+
import './index-cbf056b3.js';
|
|
11
|
+
import './index-3845ef4e.js';
|
|
12
|
+
import './index-6875c1c8.js';
|
|
13
|
+
import './index-de616e2c.js';
|
|
14
|
+
import { T as Text } from './index-3bbbc192.js';
|
|
15
|
+
import './index-491eaab0.js';
|
|
16
|
+
import './index-143508c1.js';
|
|
17
|
+
import './index.styles-384bc5ac.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import './utils-
|
|
20
|
-
import './index-
|
|
21
|
-
import { C as CardWrapperContext } from './context-
|
|
22
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
23
|
-
import { I as INPUT_RANGE } from './constants-
|
|
19
|
+
import './utils-3681f8cf.js';
|
|
20
|
+
import './index-a9c3aa26.js';
|
|
21
|
+
import { C as CardWrapperContext } from './context-639601f2.js';
|
|
22
|
+
import { H as HealthToolFormWrapper } from './index-553ce604.js';
|
|
23
|
+
import { I as INPUT_RANGE } from './constants-731dae04.js';
|
|
24
24
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
25
25
|
|
|
26
26
|
const PWGFormContext = createContext({});
|