@hhgtech/hhg-components 1.29.532-beta-5 → 1.29.532-beta-7
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-a85e74e2.js → InputDate-b5be8499.js} +5 -5
- package/build/{LastPeriod-f9aa634c.js → LastPeriod-a03dd478.js} +1 -1
- package/build/{MobileBottomNavigationIcon-bdcc3a65.js → MobileBottomNavigationIcon-7ba1016a.js} +3 -3
- package/build/{SiteWideBanner-6213a714.js → SiteWideBanner-cbf01715.js} +234 -85
- package/build/{Spinner-05565b18.js → Spinner-2b5068bf.js} +1 -1
- package/build/{WhatsApp-a4604ad8.js → WhatsApp-e86144fd.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/constants.d.ts +2 -0
- package/build/components/molecules/videoItem/index.d.ts +2 -2
- 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 +4 -0
- package/build/components/molecules/videoItem/utils.d.ts +7 -0
- package/build/components/molecules/videoItem/video/index.d.ts +1 -1
- package/build/components.js +107 -107
- package/build/{constants-29efed5a.js → constants-8d06a56f.js} +2 -2
- package/build/{constants-97fa8b8f.js → constants-c64123ad.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-c9a2972a.js → core-7ef86d49.js} +1 -1
- package/build/{dataTransform-674e31b6.js → dataTransform-7f50a223.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-98cfddd2.js → editor-2cb5bf67.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 +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- 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-f00f55a3.js → InputDate-280e5929.js} +5 -5
- package/build/esm/{LastPeriod-1589f5b0.js → LastPeriod-e5ca002a.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-416de8e0.js → MobileBottomNavigationIcon-d3769cbe.js} +3 -3
- package/build/esm/{SiteWideBanner-397ed0b8.js → SiteWideBanner-0beae46a.js} +235 -86
- package/build/esm/{Spinner-194b8c54.js → Spinner-5c3b964d.js} +1 -1
- package/build/esm/{WhatsApp-ea6cadf3.js → WhatsApp-91bc4edc.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/constants.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/index.d.ts +2 -2
- 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 +4 -0
- package/build/esm/components/molecules/videoItem/utils.d.ts +7 -0
- package/build/esm/components/molecules/videoItem/video/index.d.ts +1 -1
- package/build/esm/components.js +107 -107
- package/build/esm/{constants-b37f5fd0.js → constants-83a1b02a.js} +2 -2
- package/build/esm/{constants-3f65df38.js → constants-e8e41cc8.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-69ac1ac7.js → core-94fcf0bc.js} +1 -1
- package/build/esm/{dataTransform-1f9fa4ab.js → dataTransform-3399afdb.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-32b13128.js → editor-7501ac96.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 +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- 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-5cf7bd9f.js → healthTools-2924016a.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- 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-af4f1200.js → index-0392e5ef.js} +2 -2
- package/build/esm/{index-e8b1be82.js → index-0572518e.js} +6 -6
- package/build/esm/{index-14805521.js → index-0ad8859b.js} +11 -11
- package/build/esm/{index-0e2f35b3.js → index-0d4b5785.js} +3 -3
- package/build/esm/{index-d849b1c1.js → index-0ee57825.js} +5 -5
- package/build/esm/{index-0f3848fc.js → index-0f3ed062.js} +2 -2
- package/build/esm/{index-f3378463.js → index-11863426.js} +1 -1
- package/build/esm/{index-9ccb2130.js → index-1445ca62.js} +17 -17
- package/build/esm/{index-3ca35baf.js → index-15484bdf.js} +4 -4
- package/build/esm/{index-3afe7ade.js → index-1b957969.js} +3 -3
- package/build/esm/{index-187edc96.js → index-1d0665b3.js} +2 -2
- package/build/esm/{index-19b7976b.js → index-2922044d.js} +1 -1
- package/build/esm/{index-eea4968e.js → index-2de03acc.js} +7 -7
- package/build/esm/{index-d99d63b7.js → index-3372c0ac.js} +1 -1
- package/build/esm/{index-1578c4bf.js → index-35984b59.js} +18 -18
- package/build/esm/{index-c0862936.js → index-391de063.js} +2 -2
- package/build/esm/{index-2ae54051.js → index-3fb0164e.js} +3 -3
- package/build/esm/{index-7009d121.js → index-47c30514.js} +15 -15
- package/build/esm/{index-1d24f7f8.js → index-4bdf2d59.js} +13 -13
- package/build/esm/{index-b3981a65.js → index-4f45a9f1.js} +2 -2
- package/build/esm/{index-17f3944e.js → index-4fc12979.js} +14 -14
- package/build/esm/{index-96e5570e.js → index-53454c01.js} +25 -25
- package/build/esm/{index-ad64f7dd.js → index-571e5bfa.js} +15 -15
- package/build/esm/{index-ec31a5c3.js → index-591274d0.js} +4 -4
- package/build/esm/{index-88c5e243.js → index-5ec04278.js} +3 -3
- package/build/esm/{index-2a9dd867.js → index-654786ed.js} +6 -6
- package/build/esm/{index-e9dd9b45.js → index-656192b7.js} +14 -14
- package/build/esm/{index-c8c7ba68.js → index-6cbecd6b.js} +24 -24
- package/build/esm/{index-11992dd8.js → index-6fb34a1b.js} +16 -16
- package/build/esm/{index-3e2c5d38.js → index-6fdcc277.js} +1 -1
- package/build/esm/{index-a296fa23.js → index-6ffba4a0.js} +3 -3
- package/build/esm/{index-4fce4ad2.js → index-74945b0c.js} +9 -9
- package/build/esm/{index-dabf8eb5.js → index-7ee6f518.js} +2 -2
- package/build/esm/{index-93fca792.js → index-7f91692d.js} +16 -16
- package/build/esm/{index-16cc9aed.js → index-843b6c80.js} +3 -3
- package/build/esm/{index-ba6fb329.js → index-84c94310.js} +2 -2
- package/build/esm/{index-75139379.js → index-8af1c7be.js} +2 -2
- package/build/esm/{index-a581329d.js → index-9953ae0b.js} +13 -13
- package/build/esm/{index-154a2947.js → index-9bbc5199.js} +2 -2
- package/build/esm/{index-114f5729.js → index-9e12eb1c.js} +2 -2
- package/build/esm/{index-7ee6d4db.js → index-a01761ef.js} +18 -18
- package/build/esm/{index-bea97041.js → index-a319abd3.js} +7 -7
- package/build/esm/{index-3ca1122f.js → index-a8d0db54.js} +19 -19
- package/build/esm/{index-6abe94a9.js → index-a8f4e7b4.js} +9 -9
- package/build/esm/{index-de3738eb.js → index-b1a538ff.js} +6 -6
- package/build/esm/{index-26de55c0.js → index-b37d1644.js} +3 -3
- package/build/esm/{index-718b8db8.js → index-bbeab19c.js} +12 -12
- package/build/esm/{index-0f77de97.js → index-bca2a294.js} +3 -3
- package/build/esm/{index-491f790a.js → index-bd7e378b.js} +1 -1
- package/build/esm/{index-3c0e0afc.js → index-be5eb677.js} +14 -14
- package/build/esm/{index-383a8c77.js → index-c0cd95aa.js} +21 -21
- package/build/esm/{index-3a2f0c60.js → index-c0f3444b.js} +2 -2
- package/build/esm/{index-1324d488.js → index-c5c32e35.js} +15 -15
- package/build/esm/{index-04f79c8e.js → index-c7b5b84f.js} +2 -2
- package/build/esm/{index-f0548b93.js → index-c7d75343.js} +1 -1
- package/build/esm/{index-261b7354.js → index-c800c3b3.js} +2 -2
- package/build/esm/{index-f82faa80.js → index-c97d1bf8.js} +16 -16
- package/build/esm/{index-ab308409.js → index-cc04e6a4.js} +1 -1
- package/build/esm/{index-2a8abc94.js → index-cffe4b74.js} +6 -6
- package/build/esm/{index-6054dc75.js → index-d28a1acd.js} +34 -34
- package/build/esm/{index-c1b0e4cb.js → index-e6586508.js} +2 -2
- package/build/esm/{index-02333061.js → index-e6a2342b.js} +8 -8
- package/build/esm/{index-226c61bb.js → index-ef56e6d6.js} +2 -2
- package/build/esm/{index-2210c13a.js → index-ef996349.js} +16 -16
- package/build/esm/{index-07fd339a.js → index-f0319f47.js} +3 -3
- package/build/esm/{index-6a97b8ad.js → index-f1b2278b.js} +32 -32
- package/build/esm/{index-7093461b.js → index-f21723b5.js} +3 -3
- package/build/esm/{index-8269c55d.js → index-fbed4dca.js} +2 -2
- package/build/esm/{index-1e1b477b.js → index-fd0e2f21.js} +22 -22
- package/build/esm/{index-64ecfa9d.js → index-febbdcfd.js} +32 -32
- package/build/esm/{index-f17307fc.js → index-ff76be04.js} +5 -5
- package/build/esm/index.js +127 -127
- package/build/esm/{labelSorting-4ef905a2.js → labelSorting-b29082dd.js} +4 -4
- package/build/esm/lead.js +38 -38
- package/build/esm/{logoIcon-3037f7a1.js → logoIcon-1047c429.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 +80 -80
- 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-2b42a15c.js → post-d2a085c7.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-a27444fc.js → store-994bbb4a.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-457824fb.js → surveyThankyouCard-97a33e75.js} +5 -5
- 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-d19840f2.js → transform-b3b54b0e.js} +44 -34
- package/build/esm/{translationsProvider-c3fe1705.js → translationsProvider-f0a2c446.js} +1 -1
- package/build/esm/{treePopoverMenu-56059ca7.js → treePopoverMenu-085efc34.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-b6283cfb.js → useCartCareService-9c3a8240.js} +1 -1
- package/build/esm/{useHealthToolCache-3ca721a6.js → useHealthToolCache-f32fb1ff.js} +1 -1
- package/build/esm/{usePhoneValidator-da03f20b.js → usePhoneValidator-0dcd964c.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-4a7b72ff.js → usePlacesAutocomplete-76edb1e4.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-cfe977a7.js → utils-274bf862.js} +4 -4
- package/build/esm/{utils-09a4b24b.js → utils-4c929ea3.js} +5 -5
- package/build/esm/{utils-8224d1c8.js → utils-72f57b16.js} +3 -3
- package/build/esm/{utils-c3c66894.js → utils-da20a2a7.js} +2 -2
- package/build/esm/{utils-23237079.js → utils-f77013bd.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-150b0222.js → healthTools-8519af47.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-2d4e69b9.js → index-01d83c5b.js} +13 -13
- package/build/{index-5d51dbc0.js → index-034a5b3e.js} +2 -2
- package/build/{index-284b0a5b.js → index-1034eac9.js} +15 -15
- package/build/{index-ecb4cdb3.js → index-11f5aa6a.js} +2 -2
- package/build/{index-fad2b005.js → index-19c165b3.js} +2 -2
- package/build/{index-51d13409.js → index-1a34c13a.js} +1 -1
- package/build/{index-66229805.js → index-1a38ae74.js} +2 -2
- package/build/{index-e2a9cf85.js → index-1a60378c.js} +2 -2
- package/build/{index-788be526.js → index-1a99a276.js} +6 -6
- package/build/{index-8e4e983e.js → index-1f7ebb53.js} +14 -14
- package/build/{index-2757594b.js → index-26629a29.js} +1 -1
- package/build/{index-47aabb2a.js → index-267f794a.js} +15 -15
- package/build/{index-9df1560d.js → index-2803d044.js} +7 -7
- package/build/{index-0345f657.js → index-2e5c9e48.js} +2 -2
- package/build/{index-db523a7f.js → index-30404c0d.js} +19 -19
- package/build/{index-3994fc35.js → index-35bc255e.js} +15 -15
- package/build/{index-1941109c.js → index-3aaf9115.js} +1 -1
- package/build/{index-00b97fc3.js → index-400df94c.js} +8 -8
- package/build/{index-7bbfe31a.js → index-405ed9a9.js} +6 -6
- package/build/{index-a833cc1a.js → index-42530cb4.js} +1 -1
- package/build/{index-8c99a76b.js → index-51a613f1.js} +3 -3
- package/build/{index-29a296ec.js → index-51f995d0.js} +32 -32
- package/build/{index-f763f06c.js → index-67481ad3.js} +25 -25
- package/build/{index-c8a9ad06.js → index-6f277ff0.js} +2 -2
- package/build/{index-0e278931.js → index-6fdd03b6.js} +3 -3
- package/build/{index-cd1b53d0.js → index-72e193a5.js} +3 -3
- package/build/{index-14e79841.js → index-72ef0a7e.js} +3 -3
- package/build/{index-ea4eaaea.js → index-73304b07.js} +2 -2
- package/build/{index-be599e92.js → index-7648292a.js} +2 -2
- package/build/{index-621d0b9e.js → index-77796b0c.js} +2 -2
- package/build/{index-7839e850.js → index-77efe44e.js} +7 -7
- package/build/{index-03cc1a78.js → index-7b7f648a.js} +4 -4
- package/build/{index-2653d941.js → index-7ef3099e.js} +3 -3
- package/build/{index-67016a69.js → index-80a25949.js} +16 -16
- package/build/{index-4cc4be8b.js → index-813a4915.js} +3 -3
- package/build/{index-777b3e83.js → index-8224a4a5.js} +2 -2
- package/build/{index-e5e10ee9.js → index-84baedea.js} +2 -2
- package/build/{index-1edbb8ae.js → index-909274e1.js} +5 -5
- package/build/{index-903c043d.js → index-90df622a.js} +16 -16
- package/build/{index-69b0ea46.js → index-915c3f00.js} +34 -34
- package/build/{index-9c68c509.js → index-95d0eaf8.js} +11 -11
- package/build/{index-94756344.js → index-9a00e5ef.js} +14 -14
- package/build/{index-f5d2de35.js → index-a9afba66.js} +22 -22
- package/build/{index-6eb116d4.js → index-ac6fbd49.js} +2 -2
- package/build/{index-13f906e5.js → index-b3127ad2.js} +4 -4
- package/build/{index-06c6270a.js → index-b5513b11.js} +1 -1
- package/build/{index-c99ab06b.js → index-b6bd5b02.js} +3 -3
- package/build/{index-179cb56c.js → index-b9ca5e95.js} +6 -6
- package/build/{index-6272c6db.js → index-ba53974d.js} +1 -1
- package/build/{index-71830aee.js → index-bb167000.js} +9 -9
- package/build/{index-a3135eff.js → index-be4fc53d.js} +3 -3
- package/build/{index-c220427c.js → index-c0a6d088.js} +2 -2
- package/build/{index-e821943c.js → index-c4fe56db.js} +2 -2
- package/build/{index-381e5094.js → index-c9f32290.js} +24 -24
- package/build/{index-f123b943.js → index-cb122078.js} +18 -18
- package/build/{index-91483d86.js → index-d365d394.js} +1 -1
- package/build/{index-cdc66b81.js → index-d4a51905.js} +3 -3
- package/build/{index-b1e2a804.js → index-d5cd46ad.js} +16 -16
- package/build/{index-92b7ecdd.js → index-d609d560.js} +5 -5
- package/build/{index-c4aee1b0.js → index-d90f9b1e.js} +16 -16
- package/build/{index-de34e958.js → index-dc7c982c.js} +18 -18
- package/build/{index-d76f5454.js → index-e306cfaf.js} +12 -12
- package/build/{index-c9a7a40b.js → index-e355de6a.js} +13 -13
- package/build/{index-de5620bf.js → index-e542c41b.js} +2 -2
- package/build/{index-e0cab682.js → index-e59633ae.js} +32 -32
- package/build/{index-ffddb29a.js → index-e7650896.js} +6 -6
- package/build/{index-0834adf3.js → index-ea4b56ac.js} +3 -3
- package/build/{index-1f29ead8.js → index-ef82c6e9.js} +17 -17
- package/build/{index-dc194f08.js → index-f41c6fa8.js} +9 -9
- package/build/{index-5b8a6b45.js → index-f8631049.js} +14 -14
- package/build/{index-3ed045fa.js → index-f8d619f0.js} +21 -21
- package/build/index.js +127 -127
- package/build/{labelSorting-5821edd0.js → labelSorting-254c34a2.js} +4 -4
- package/build/lead.js +38 -38
- package/build/{logoIcon-bf5b987f.js → logoIcon-2761dd08.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 +80 -80
- 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-29bc6ae8.js → post-02a79bed.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-c0165a93.js → store-f154231a.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-7572a892.js → surveyThankyouCard-1857d579.js} +5 -5
- 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-ecde5903.js → transform-c8e0d0d9.js} +44 -34
- package/build/{translationsProvider-19e5b3f6.js → translationsProvider-c47e6b5c.js} +1 -1
- package/build/{treePopoverMenu-ff26aed7.js → treePopoverMenu-2b9e5d83.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-d61fdb3b.js → useCartCareService-86637c03.js} +1 -1
- package/build/{useHealthToolCache-cf7879f3.js → useHealthToolCache-3223f1de.js} +1 -1
- package/build/{usePhoneValidator-00f85e68.js → usePhoneValidator-20e9246c.js} +5 -5
- package/build/{usePlacesAutocomplete-661044ef.js → usePlacesAutocomplete-c4b05fa9.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-4f16b0cc.js → utils-a8d7dca0.js} +4 -4
- package/build/{utils-ff89d4f4.js → utils-be35a660.js} +5 -5
- package/build/{utils-44ef674e.js → utils-be3a02e4.js} +2 -2
- package/build/{utils-16310b3b.js → utils-c2fb47e0.js} +3 -3
- package/build/{utils-0fe067b2.js → utils-dc430d9c.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-92d652ff.js → BMI_BOYS.percentile.monthly-c7af2f65.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c24cb291.js → BMI_BOYS.percentile.weekly-36cc0a6f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f3bf2fbb.js → BMI_BOYS.percentile.yearly-59271405.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-2df1241f.js → BMI_BOYS.zscore.monthly-2b878080.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f25e259e.js → BMI_BOYS.zscore.weekly-c6dd04e2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2843470b.js → BMI_BOYS.zscore.yearly-8462eca3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7a936aeb.js → BMI_GIRLS.percentile.monthly-734a15a6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a7c5d5b2.js → BMI_GIRLS.percentile.weekly-76519f8f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-68799468.js → BMI_GIRLS.percentile.yearly-fe438336.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-d7fa1fe6.js → BMI_GIRLS.zscore.monthly-f170793a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-4583f2e6.js → BMI_GIRLS.zscore.weekly-da93e78e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-2c2b6c71.js → BMI_GIRLS.zscore.yearly-3db7f719.js} +0 -0
- /package/build/{ChevronDown-d857a36d.js → ChevronDown-62553d25.js} +0 -0
- /package/build/{Close-a9ee4fd1.js → Close-50c2a40a.js} +0 -0
- /package/build/{Google-073557f4.js → Google-6b9b825f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-49e33c4d.js → HEAD CIRCUM_BOYS.percentile.monthly-4f94550c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6d678c67.js → HEAD CIRCUM_BOYS.percentile.weekly-dbcacf0d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0102d43d.js → HEAD CIRCUM_BOYS.percentile.yearly-cf5b8ab6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4b11d33c.js → HEAD CIRCUM_BOYS.zscore.monthly-b0611d87.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-60c1fa22.js → HEAD CIRCUM_BOYS.zscore.weekly-81f0a2a5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5fa32114.js → HEAD CIRCUM_BOYS.zscore.yearly-f344bbb3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f823679d.js → HEAD CIRCUM_GIRLS.percentile.monthly-7847721b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a070c021.js → HEAD CIRCUM_GIRLS.percentile.weekly-ca97b695.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b4d1a985.js → HEAD CIRCUM_GIRLS.percentile.yearly-3850097c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-20d9d3f1.js → HEAD CIRCUM_GIRLS.zscore.monthly-f947b403.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a6a7b378.js → HEAD CIRCUM_GIRLS.zscore.weekly-6549b826.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e9b34744.js → HEAD CIRCUM_GIRLS.zscore.yearly-78720a12.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-c6970159.js → HEIGHT_BOYS.percentile.monthly-b9b5c234.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-507f17dc.js → HEIGHT_BOYS.percentile.weekly-a11905ea.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-9f87e658.js → HEIGHT_BOYS.percentile.yearly-34dc74fe.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-eb1f6058.js → HEIGHT_BOYS.zscore.monthly-6f414d1b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8656eaa6.js → HEIGHT_BOYS.zscore.weekly-b39f45f7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f940e754.js → HEIGHT_BOYS.zscore.yearly-a1730464.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0d272415.js → HEIGHT_GIRLS.percentile.monthly-1744f81e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-02007e16.js → HEIGHT_GIRLS.percentile.weekly-06a81f28.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-67f55832.js → HEIGHT_GIRLS.percentile.yearly-6c4417ca.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c8910bd0.js → HEIGHT_GIRLS.zscore.monthly-edced8a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c9997652.js → HEIGHT_GIRLS.zscore.weekly-27c76d41.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-4bfd5f42.js → HEIGHT_GIRLS.zscore.yearly-612184bf.js} +0 -0
- /package/build/{Locale-58d135f8.js → Locale-af990cde.js} +0 -0
- /package/build/{Visible-0971384b.js → Visible-2554a2be.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-c7eb3c2c.js → WEIGHT_BOYS.percentile.monthly-c162e94d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-bbff80c9.js → WEIGHT_BOYS.percentile.weekly-3e624536.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-29596579.js → WEIGHT_BOYS.percentile.yearly-9fee523d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-86557463.js → WEIGHT_BOYS.zscore.monthly-582bb479.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-204da4ba.js → WEIGHT_BOYS.zscore.weekly-34784825.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a11a2092.js → WEIGHT_BOYS.zscore.yearly-16070082.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8024055c.js → WEIGHT_GIRLS.percentile.monthly-c63cdfa4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-442f7f6a.js → WEIGHT_GIRLS.percentile.weekly-205c13e3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-cb2e8d6f.js → WEIGHT_GIRLS.percentile.yearly-cec310de.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4669ab52.js → WEIGHT_GIRLS.zscore.monthly-b4171521.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8856c3c3.js → WEIGHT_GIRLS.zscore.weekly-89e638be.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-698337e9.js → WEIGHT_GIRLS.zscore.yearly-c304038a.js} +0 -0
- /package/build/{ageGenerate-7f0a63a5.js → ageGenerate-521c62ad.js} +0 -0
- /package/build/{animation-69d29509.js → animation-da4eb643.js} +0 -0
- /package/build/{constants-8274a1eb.js → constants-2876ae36.js} +0 -0
- /package/build/{constants-5619116a.js → constants-2c293996.js} +0 -0
- /package/build/{constants-7802ef91.js → constants-42216473.js} +0 -0
- /package/build/{context-e1547781.js → context-ec4aa4ce.js} +0 -0
- /package/build/{dataTransform-c4a38120.js → dataTransform-8ed8fab2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a9f2728d.js → BMI_BOYS.percentile.monthly-089a1c8e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-29d8cd61.js → BMI_BOYS.percentile.weekly-074de417.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-646fc08d.js → BMI_BOYS.percentile.yearly-106825ed.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-77dc1140.js → BMI_BOYS.zscore.monthly-15d10b6c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-125e9142.js → BMI_BOYS.zscore.weekly-39bf0179.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0751033f.js → BMI_BOYS.zscore.yearly-544f6257.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-8fa87439.js → BMI_GIRLS.percentile.monthly-b602eb92.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d9184440.js → BMI_GIRLS.percentile.weekly-09da6398.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-cdec5ac6.js → BMI_GIRLS.percentile.yearly-bc7a9640.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-09e57454.js → BMI_GIRLS.zscore.monthly-2b6378ca.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8df07f48.js → BMI_GIRLS.zscore.weekly-35d09835.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8686a64a.js → BMI_GIRLS.zscore.yearly-68190224.js} +0 -0
- /package/build/esm/{ChevronDown-94fb0fc0.js → ChevronDown-a34b3bc0.js} +0 -0
- /package/build/esm/{Close-57b6690e.js → Close-e176db98.js} +0 -0
- /package/build/esm/{Google-dd197495.js → Google-f842412a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-3b944bea.js → HEAD CIRCUM_BOYS.percentile.monthly-5ab016ed.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-cecd99ce.js → HEAD CIRCUM_BOYS.percentile.weekly-d18b9306.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-60df33c2.js → HEAD CIRCUM_BOYS.percentile.yearly-4b46a7a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5d1a9704.js → HEAD CIRCUM_BOYS.zscore.monthly-e2d23f1f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3a57d8bd.js → HEAD CIRCUM_BOYS.zscore.weekly-b29ea51a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0ad73e24.js → HEAD CIRCUM_BOYS.zscore.yearly-16c06534.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-1bb6fae4.js → HEAD CIRCUM_GIRLS.percentile.monthly-20756b70.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b8de5b76.js → HEAD CIRCUM_GIRLS.percentile.weekly-c3727b8d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-13655cee.js → HEAD CIRCUM_GIRLS.percentile.yearly-c1bdfc6b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16f1e59e.js → HEAD CIRCUM_GIRLS.zscore.monthly-8c1e0201.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-480c9a3d.js → HEAD CIRCUM_GIRLS.zscore.weekly-c1f0aceb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-19f830e4.js → HEAD CIRCUM_GIRLS.zscore.yearly-bcdfabf0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-efcb8426.js → HEIGHT_BOYS.percentile.monthly-3a0d347f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-522a7b9b.js → HEIGHT_BOYS.percentile.weekly-717b3e5f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3977f0e8.js → HEIGHT_BOYS.percentile.yearly-83c681d5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d357329f.js → HEIGHT_BOYS.zscore.monthly-da9acd73.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1b1002da.js → HEIGHT_BOYS.zscore.weekly-126e3667.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-17836bbc.js → HEIGHT_BOYS.zscore.yearly-e1b18736.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4b669bbe.js → HEIGHT_GIRLS.percentile.monthly-9ab85743.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9fba46ec.js → HEIGHT_GIRLS.percentile.weekly-ee262fec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-2c2723ce.js → HEIGHT_GIRLS.percentile.yearly-1db41652.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5afdc53.js → HEIGHT_GIRLS.zscore.monthly-cd9ed0cf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-23933096.js → HEIGHT_GIRLS.zscore.weekly-257013ef.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9cd9f4de.js → HEIGHT_GIRLS.zscore.yearly-b868b09b.js} +0 -0
- /package/build/esm/{Locale-89f3e9b1.js → Locale-1e307287.js} +0 -0
- /package/build/esm/{Visible-cb9df68d.js → Visible-dd660305.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-70c34504.js → WEIGHT_BOYS.percentile.monthly-1b8b6869.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8c94f0cf.js → WEIGHT_BOYS.percentile.weekly-53dbe21f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-9f708445.js → WEIGHT_BOYS.percentile.yearly-db1233da.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-733730f6.js → WEIGHT_BOYS.zscore.monthly-97ef1043.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e3bced41.js → WEIGHT_BOYS.zscore.weekly-a45fbf91.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ed1b2558.js → WEIGHT_BOYS.zscore.yearly-27f17e46.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-37967b52.js → WEIGHT_GIRLS.percentile.monthly-6fa3c40a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-76cac057.js → WEIGHT_GIRLS.percentile.weekly-2c18fad2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-db2615ee.js → WEIGHT_GIRLS.percentile.yearly-602c52a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-8725b6c5.js → WEIGHT_GIRLS.zscore.monthly-5c745390.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-567971bc.js → WEIGHT_GIRLS.zscore.weekly-4c3c53a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2fef7e66.js → WEIGHT_GIRLS.zscore.yearly-94eabb41.js} +0 -0
- /package/build/esm/{ageGenerate-d1b9ea3f.js → ageGenerate-484187b6.js} +0 -0
- /package/build/esm/{animation-4b6d6e00.js → animation-0fd7414a.js} +0 -0
- /package/build/esm/{constants-b255eadc.js → constants-0ce77782.js} +0 -0
- /package/build/esm/{constants-e934168f.js → constants-678d1485.js} +0 -0
- /package/build/esm/{constants-fa1f6edb.js → constants-c2141ab8.js} +0 -0
- /package/build/esm/{context-de4096d0.js → context-3dba387e.js} +0 -0
- /package/build/esm/{dataTransform-7be370a0.js → dataTransform-19d01c55.js} +0 -0
- /package/build/esm/{index-12f62208.js → index-1817dccf.js} +0 -0
- /package/build/esm/{index-b2798fa4.js → index-32b8c30a.js} +0 -0
- /package/build/esm/{index-05b99ab3.js → index-5cd0932c.js} +0 -0
- /package/build/esm/{index-6bec6a09.js → index-78da0f60.js} +0 -0
- /package/build/esm/{index-a1090e0e.js → index-7fdfb911.js} +0 -0
- /package/build/esm/{index-1b814729.js → index-930997a8.js} +0 -0
- /package/build/esm/{index-db67060a.js → index-975ed8bf.js} +0 -0
- /package/build/esm/{index-97c8500a.js → index-9b48cd74.js} +0 -0
- /package/build/esm/{index-27550318.js → index-c27e728d.js} +0 -0
- /package/build/esm/{index.styles-f974fac7.js → index.styles-5c76558c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ea042af8.js → localizeNumberFormat-d573719f.js} +0 -0
- /package/build/esm/{normalizeLink-41720b91.js → normalizeLink-1bb65413.js} +0 -0
- /package/build/esm/{number-46af47c1.js → number-2e99323f.js} +0 -0
- /package/build/esm/{paths-e1609573.js → paths-33c93082.js} +0 -0
- /package/build/esm/{shared-221364be.js → shared-b290bd35.js} +0 -0
- /package/build/esm/{translationsContext-1a877efb.js → translationsContext-50a2fa73.js} +0 -0
- /package/build/esm/{tslib.es6-bffbedf2.js → tslib.es6-167c0e09.js} +0 -0
- /package/build/esm/{types-7e2dad1f.js → types-466c9244.js} +0 -0
- /package/build/esm/{types-a3bba496.js → types-4b51ad71.js} +0 -0
- /package/build/esm/{useOutsideClick-a3e9ba48.js → useOutsideClick-31c82fec.js} +0 -0
- /package/build/esm/{useScrollbarSize-9ba97064.js → useScrollbarSize-86c91409.js} +0 -0
- /package/build/esm/{useUniqueId-8dc2cdf9.js → useUniqueId-f83a1e43.js} +0 -0
- /package/build/esm/{utils-f2669309.js → utils-34f85c2c.js} +0 -0
- /package/build/esm/{utils-e50769d6.js → utils-65dce180.js} +0 -0
- /package/build/{index-59e2bfa0.js → index-30c2fdda.js} +0 -0
- /package/build/{index-cc8892e8.js → index-49450578.js} +0 -0
- /package/build/{index-d2c120b4.js → index-569c5c9f.js} +0 -0
- /package/build/{index-6a4c1a3b.js → index-625a3706.js} +0 -0
- /package/build/{index-a5ba46f2.js → index-67fea7da.js} +0 -0
- /package/build/{index-54a416a7.js → index-c3341e7c.js} +0 -0
- /package/build/{index-8aebc423.js → index-d29c8019.js} +0 -0
- /package/build/{index-c2656a67.js → index-daf56a1c.js} +0 -0
- /package/build/{index-afe7fe55.js → index-f3dcfe4f.js} +0 -0
- /package/build/{index.styles-8098674c.js → index.styles-5ab4e73f.js} +0 -0
- /package/build/{localizeNumberFormat-dff238b6.js → localizeNumberFormat-9f5cb8ba.js} +0 -0
- /package/build/{normalizeLink-437c56c2.js → normalizeLink-2f81d137.js} +0 -0
- /package/build/{number-c19f79f8.js → number-ddc6b53c.js} +0 -0
- /package/build/{paths-fc784a0c.js → paths-9a84b83d.js} +0 -0
- /package/build/{shared-a339be7f.js → shared-c50be0af.js} +0 -0
- /package/build/{translationsContext-8a27d707.js → translationsContext-d65e16fd.js} +0 -0
- /package/build/{tslib.es6-686d8875.js → tslib.es6-a95c4921.js} +0 -0
- /package/build/{types-44938a29.js → types-73a15f14.js} +0 -0
- /package/build/{types-e7619bc0.js → types-f9a0ad17.js} +0 -0
- /package/build/{useOutsideClick-a2dbd912.js → useOutsideClick-9301c309.js} +0 -0
- /package/build/{useScrollbarSize-f7b26a0f.js → useScrollbarSize-77dc5f16.js} +0 -0
- /package/build/{useUniqueId-77f22552.js → useUniqueId-200bb834.js} +0 -0
- /package/build/{utils-06cefd1c.js → utils-b2361020.js} +0 -0
- /package/build/{utils-d8d4d4b1.js → utils-da6e6733.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React__default, { useState, useMemo, useCallback, useEffect } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-a8f4e7b4.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { _ as __rest } from './tslib.es6-
|
|
8
|
-
import { a as ZINDEX_HEADER, f as VIDEO_DETAIL_TEMP_STORAGE } from './index-
|
|
9
|
-
import { V as VideoType } from './index-
|
|
10
|
-
import { createStyles, Stack, Box, AspectRatio, getStylesRef,
|
|
11
|
-
import { a as abbreviateNumber } from './number-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import { T as Text } from './index-ef56e6d6.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-9b48cd74.js';
|
|
7
|
+
import { _ as __rest } from './tslib.es6-167c0e09.js';
|
|
8
|
+
import { a as ZINDEX_HEADER, f as VIDEO_DETAIL_TEMP_STORAGE } from './index-c800c3b3.js';
|
|
9
|
+
import { V as VideoType } from './index-cc04e6a4.js';
|
|
10
|
+
import { createStyles, Stack, Box, rem, Skeleton, AspectRatio, getStylesRef, Flex } from '@mantine/core';
|
|
11
|
+
import { a as abbreviateNumber } from './number-2e99323f.js';
|
|
12
|
+
import { u as useTranslations } from './index-3372c0ac.js';
|
|
13
13
|
import { useOs } from '@mantine/hooks';
|
|
14
|
-
import { M as Modal } from './index-
|
|
15
|
-
import { S as SocialLinkPreview } from './index-
|
|
14
|
+
import { M as Modal } from './index-8af1c7be.js';
|
|
15
|
+
import { S as SocialLinkPreview } from './index-b1a538ff.js';
|
|
16
16
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
17
17
|
import { Close } from '@hhgtech/icons/core';
|
|
18
18
|
import Cookies from 'js-cookie';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
+
import { M as MediaQueries } from './utils-65dce180.js';
|
|
20
20
|
|
|
21
21
|
const ALLOW_DOMAIN_URL = [
|
|
22
22
|
'hellobacsi.com',
|
|
@@ -159,7 +159,7 @@ const LanguageLabel = ({ locale, label, href, }) => {
|
|
|
159
159
|
React__default.createElement("span", null, label)));
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
var useStyles$1 = createStyles((theme, { layout }) => {
|
|
162
|
+
var useStyles$1 = createStyles((theme, { layout, useSquareRatioThumbnail }) => {
|
|
163
163
|
return {
|
|
164
164
|
root: {
|
|
165
165
|
display: 'block',
|
|
@@ -167,16 +167,15 @@ var useStyles$1 = createStyles((theme, { layout }) => {
|
|
|
167
167
|
'&, & *': {
|
|
168
168
|
borderRadius: 4,
|
|
169
169
|
},
|
|
170
|
-
[theme.fn.largerThan('sm')]:
|
|
171
|
-
'&:hover': {
|
|
170
|
+
[theme.fn.largerThan('sm')]: {
|
|
171
|
+
'&:hover': Object.assign(Object.assign({}, (layout === 'overlay' && {
|
|
172
172
|
'.overlay-info': {
|
|
173
173
|
transform: 'translateY(-10px)',
|
|
174
174
|
},
|
|
175
|
-
|
|
175
|
+
})), { '.item-overlay-wrapper': {
|
|
176
176
|
backgroundColor: 'rgba(0,0,0,0.4)',
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
})),
|
|
177
|
+
} }),
|
|
178
|
+
},
|
|
180
179
|
},
|
|
181
180
|
inner: Object.assign({ display: 'flex', gap: 8, '&, *': {
|
|
182
181
|
pointerEvents: 'none !important',
|
|
@@ -192,10 +191,9 @@ var useStyles$1 = createStyles((theme, { layout }) => {
|
|
|
192
191
|
thumbFrame: {
|
|
193
192
|
backgroundColor: '#000',
|
|
194
193
|
},
|
|
195
|
-
thumbWrapper: Object.assign({}, (layout === 'horizon' && {
|
|
194
|
+
thumbWrapper: Object.assign({}, (layout === 'horizon' && Object.assign(Object.assign({}, (!useSquareRatioThumbnail && {
|
|
196
195
|
width: 64,
|
|
197
|
-
|
|
198
|
-
})),
|
|
196
|
+
})), { flexShrink: 0 }))),
|
|
199
197
|
overlayWrapper: { transition: 'all .3s ease' },
|
|
200
198
|
overlay: {
|
|
201
199
|
position: 'absolute',
|
|
@@ -230,36 +228,112 @@ var useStyles$1 = createStyles((theme, { layout }) => {
|
|
|
230
228
|
};
|
|
231
229
|
});
|
|
232
230
|
|
|
231
|
+
const VIDEO_THUMBNAIL_RATIO = 16 / 9;
|
|
232
|
+
const SHORT_THUMBNAIL_RATIO = 240 / 431;
|
|
233
|
+
|
|
234
|
+
function secondsTo24HoursFormat(sec_num = 0) {
|
|
235
|
+
const hours = Math.floor(sec_num / 3600);
|
|
236
|
+
const minutes = Math.floor((sec_num - hours * 3600) / 60);
|
|
237
|
+
const seconds = sec_num - hours * 3600 - minutes * 60;
|
|
238
|
+
let hoursStr = String(hours);
|
|
239
|
+
let minutesStr = String(minutes);
|
|
240
|
+
let secondsStr = String(seconds);
|
|
241
|
+
if (hours < 10) {
|
|
242
|
+
hoursStr = '0' + hours;
|
|
243
|
+
}
|
|
244
|
+
if (minutes < 10) {
|
|
245
|
+
minutesStr = '0' + minutes;
|
|
246
|
+
}
|
|
247
|
+
if (seconds < 10) {
|
|
248
|
+
secondsStr = '0' + seconds;
|
|
249
|
+
}
|
|
250
|
+
return (hours > 0 ? hoursStr + ':' : '') + minutesStr + ':' + secondsStr;
|
|
251
|
+
}
|
|
252
|
+
function buildVideoSubtitle({ totalView, createTime, formatTotalView, }) {
|
|
253
|
+
return [
|
|
254
|
+
typeof totalView === 'number' ? formatTotalView(totalView) : null,
|
|
255
|
+
createTime,
|
|
256
|
+
]
|
|
257
|
+
.filter(Boolean)
|
|
258
|
+
.join('<span class="divider"> </span>');
|
|
259
|
+
}
|
|
260
|
+
|
|
233
261
|
const ShortsItem = (_a) => {
|
|
234
|
-
var { data, layout, styles } = _a, boxProps = __rest(_a, ["data", "layout", "styles"]);
|
|
262
|
+
var { data, layout, styles, loading = false, useSquareRatioThumbnail } = _a, boxProps = __rest(_a, ["data", "layout", "styles", "loading", "useSquareRatioThumbnail"]);
|
|
235
263
|
const { title, totalView, imageMedium, createTime } = data;
|
|
236
|
-
const { classes, cx } = useStyles$1({ layout }, {
|
|
264
|
+
const { classes, cx } = useStyles$1({ layout, useSquareRatioThumbnail }, {
|
|
237
265
|
name: 'VideoItem__ShortsItem',
|
|
238
266
|
styles,
|
|
239
267
|
});
|
|
268
|
+
const thumbnailRatio = useSquareRatioThumbnail
|
|
269
|
+
? VIDEO_THUMBNAIL_RATIO
|
|
270
|
+
: SHORT_THUMBNAIL_RATIO;
|
|
240
271
|
const { t } = useTranslations();
|
|
241
|
-
const subTitle = useMemo(() =>
|
|
242
|
-
totalView
|
|
243
|
-
t('common.totalView', {
|
|
244
|
-
number: abbreviateNumber(totalView),
|
|
245
|
-
}),
|
|
272
|
+
const subTitle = useMemo(() => buildVideoSubtitle({
|
|
273
|
+
totalView,
|
|
246
274
|
createTime,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
275
|
+
formatTotalView: (view) => t('common.totalView', {
|
|
276
|
+
number: abbreviateNumber(view),
|
|
277
|
+
}),
|
|
278
|
+
}), [createTime, t, totalView]);
|
|
279
|
+
const subTitleVisible = Boolean(subTitle);
|
|
280
|
+
const infoElement = (React__default.createElement(Stack, { spacing: 4, className: cx(classes.overlayInfo, 'overlay-info') },
|
|
281
|
+
React__default.createElement(Box, { sx: {
|
|
282
|
+
position: 'relative',
|
|
283
|
+
minHeight: loading && !title ? rem(44) : undefined,
|
|
284
|
+
} },
|
|
285
|
+
React__default.createElement(Text, { size: "s3", className: cx(classes.title), lineClamp: 2, sx: {
|
|
286
|
+
visibility: loading && title ? 'hidden' : 'visible',
|
|
287
|
+
} }, title),
|
|
288
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
289
|
+
position: 'absolute',
|
|
290
|
+
left: 0,
|
|
291
|
+
right: 0,
|
|
292
|
+
top: 0,
|
|
293
|
+
display: 'flex',
|
|
294
|
+
flexDirection: 'column',
|
|
295
|
+
gap: 4,
|
|
296
|
+
} },
|
|
297
|
+
React__default.createElement(Skeleton, { height: 22, radius: "sm" }),
|
|
298
|
+
React__default.createElement(Skeleton, { height: 22, radius: "sm" })))),
|
|
299
|
+
(subTitleVisible || loading) && (React__default.createElement(Box, { sx: {
|
|
300
|
+
position: 'relative',
|
|
301
|
+
minHeight: loading && !subTitleVisible ? rem(16) : undefined,
|
|
302
|
+
} },
|
|
303
|
+
subTitleVisible && (React__default.createElement(Text, { className: classes.subTitle, size: "n1", sx: {
|
|
304
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
305
|
+
}, dangerouslySetInnerHTML: {
|
|
306
|
+
__html: subTitle,
|
|
307
|
+
} })),
|
|
308
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
309
|
+
position: 'absolute',
|
|
310
|
+
left: 0,
|
|
311
|
+
top: 0,
|
|
312
|
+
right: 0,
|
|
313
|
+
} },
|
|
314
|
+
React__default.createElement(Skeleton, { height: 16, width: "55%", radius: "sm" })))))));
|
|
255
315
|
return (React__default.createElement(Box, Object.assign({}, boxProps, { className: classes.root }),
|
|
256
316
|
React__default.createElement(Box, { className: classes.inner },
|
|
257
317
|
React__default.createElement("div", { className: classes.thumbWrapper },
|
|
258
|
-
React__default.createElement(AspectRatio, { ratio:
|
|
259
|
-
React__default.createElement(
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
318
|
+
React__default.createElement(AspectRatio, { ratio: thumbnailRatio, className: classes.thumbFrame },
|
|
319
|
+
React__default.createElement(Box, { sx: { position: 'relative', width: '100%', height: '100%' } },
|
|
320
|
+
React__default.createElement("img", { src: imageMedium || '', className: classes.itemThumbImg, alt: title, loading: "lazy", style: {
|
|
321
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
322
|
+
} }),
|
|
323
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
324
|
+
position: 'absolute',
|
|
325
|
+
top: 0,
|
|
326
|
+
left: 0,
|
|
327
|
+
right: 0,
|
|
328
|
+
bottom: 0,
|
|
329
|
+
borderRadius: 4,
|
|
330
|
+
overflow: 'hidden',
|
|
331
|
+
zIndex: 1,
|
|
332
|
+
} },
|
|
333
|
+
React__default.createElement(Skeleton, { height: "100%", radius: "sm", sx: { display: 'block', lineHeight: 1 } })))),
|
|
334
|
+
React__default.createElement(Box, { className: cx(classes.overlayWrapper, 'item-overlay-wrapper') },
|
|
335
|
+
React__default.createElement(Box, { className: cx(classes.overlay, 'item-overlay') }, layout === 'overlay' && infoElement)))),
|
|
336
|
+
layout !== 'overlay' && infoElement)));
|
|
263
337
|
};
|
|
264
338
|
|
|
265
339
|
const Play = (_a) => {
|
|
@@ -325,6 +399,11 @@ var useStyles = createStyles((theme, { active, layout }) => {
|
|
|
325
399
|
bottom: 0,
|
|
326
400
|
backgroundColor: active ? 'rgba(0, 0, 0, .55)' : 'transparent',
|
|
327
401
|
transition: 'all .2s ease',
|
|
402
|
+
'.play-icon path': {
|
|
403
|
+
'&:first-child': {
|
|
404
|
+
fill: '#262626',
|
|
405
|
+
},
|
|
406
|
+
},
|
|
328
407
|
},
|
|
329
408
|
duration: {
|
|
330
409
|
position: 'absolute',
|
|
@@ -342,17 +421,24 @@ var useStyles = createStyles((theme, { active, layout }) => {
|
|
|
342
421
|
});
|
|
343
422
|
|
|
344
423
|
const VideoItem$1 = (_a) => {
|
|
345
|
-
var { isMobile, data, styles, className, classNames, layout } = _a, boxProps = __rest(_a, ["isMobile", "data", "styles", "className", "classNames", "layout"]);
|
|
424
|
+
var { isMobile, data, styles, className, classNames, layout, playIcon, loading = false } = _a, boxProps = __rest(_a, ["isMobile", "data", "styles", "className", "classNames", "layout", "playIcon", "loading"]);
|
|
346
425
|
const { title, imageMedium, createTime, totalView, active, duration } = data;
|
|
347
426
|
const { locale, t } = useTranslations();
|
|
348
427
|
const { cx, classes, theme } = useStyles({ active, layout }, { name: 'VideoItem__VideoItem', classNames, styles });
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
428
|
+
const PlayIcon = playIcon || Play;
|
|
429
|
+
const subTitle = useMemo(() => ({
|
|
430
|
+
visible: Boolean(totalView || createTime),
|
|
431
|
+
formated: buildVideoSubtitle({
|
|
432
|
+
totalView,
|
|
433
|
+
createTime,
|
|
434
|
+
formatTotalView: (view) => t('common.totalView', { number: abbreviateNumber(view) }),
|
|
435
|
+
}),
|
|
436
|
+
}), [createTime, t, totalView]);
|
|
437
|
+
const fallbackThumbSrc = CommonGAssets.getAssetPath(`videoThumbDefault/${locale}.jpg`);
|
|
438
|
+
const thumbSrc = imageMedium || fallbackThumbSrc;
|
|
439
|
+
const durationLabel = typeof duration === 'number' && duration > 0
|
|
440
|
+
? secondsTo24HoursFormat(duration)
|
|
441
|
+
: undefined;
|
|
356
442
|
return (React__default.createElement(Box, Object.assign({}, boxProps, { className: cx(className, classes.root) }),
|
|
357
443
|
React__default.createElement(Box, { className: classes.inner },
|
|
358
444
|
React__default.createElement(Box, { className: classes.thumbWrapper },
|
|
@@ -362,24 +448,80 @@ const VideoItem$1 = (_a) => {
|
|
|
362
448
|
borderRadius: 4,
|
|
363
449
|
},
|
|
364
450
|
}) },
|
|
365
|
-
React__default.createElement(
|
|
366
|
-
React__default.createElement(
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
451
|
+
React__default.createElement(Box, { sx: { position: 'relative', width: '100%' } },
|
|
452
|
+
React__default.createElement(AspectRatio, { ratio: VIDEO_THUMBNAIL_RATIO, className: classes.thumbFrame },
|
|
453
|
+
React__default.createElement("img", { loading: "lazy", src: thumbSrc, alt: title, style: {
|
|
454
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
455
|
+
}, onError: (e) => {
|
|
456
|
+
e.currentTarget.src = fallbackThumbSrc;
|
|
457
|
+
} })),
|
|
458
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
459
|
+
position: 'absolute',
|
|
460
|
+
top: 0,
|
|
461
|
+
left: 0,
|
|
462
|
+
right: 0,
|
|
463
|
+
bottom: 0,
|
|
464
|
+
borderRadius: 4,
|
|
465
|
+
overflow: 'hidden',
|
|
466
|
+
zIndex: 2,
|
|
467
|
+
} },
|
|
468
|
+
React__default.createElement(Skeleton, { height: "100%", radius: "sm", sx: { display: 'block', lineHeight: 1 } })))),
|
|
469
|
+
durationLabel && (React__default.createElement(Box, { className: classes.duration, sx: { zIndex: loading ? 3 : undefined } },
|
|
470
|
+
React__default.createElement(Box, { sx: { position: 'relative' } },
|
|
471
|
+
React__default.createElement(Text, { size: "n1", className: classes.durationTxt, sx: {
|
|
472
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
473
|
+
} }, durationLabel),
|
|
474
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
475
|
+
position: 'absolute',
|
|
476
|
+
inset: 0,
|
|
477
|
+
display: 'flex',
|
|
478
|
+
alignItems: 'center',
|
|
479
|
+
justifyContent: 'center',
|
|
480
|
+
} },
|
|
481
|
+
React__default.createElement(Skeleton, { width: 40, height: 14, radius: "sm" })))))),
|
|
482
|
+
React__default.createElement(Flex, { className: classes.overlay, align: 'center', justify: 'center', sx: {
|
|
483
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
484
|
+
} }, active ? (React__default.createElement(Text, { size: "s3", weight: "semiBold", color: "#fff" }, t('common.playing'))) : (React__default.createElement(PlayIcon, { className: "play-icon", size: isMobile ? 32 : 46 }))))),
|
|
485
|
+
React__default.createElement(Stack, { className: "video-info", sx: { [theme.fn.largerThan('sm')]: { gap: 4 }, gap: 2 } },
|
|
486
|
+
React__default.createElement(Box, { sx: {
|
|
487
|
+
position: 'relative',
|
|
488
|
+
minHeight: loading && !title ? rem(44) : undefined,
|
|
489
|
+
} },
|
|
490
|
+
React__default.createElement(Text, { className: classes.title, size: "s3", color: active ? theme.fn.primaryColor() : '#262626', weight: "semiBold", lineClamp: 2, sx: {
|
|
491
|
+
visibility: loading && title ? 'hidden' : 'visible',
|
|
492
|
+
} }, title),
|
|
493
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
494
|
+
position: 'absolute',
|
|
495
|
+
left: 0,
|
|
496
|
+
right: 0,
|
|
497
|
+
top: 0,
|
|
498
|
+
display: 'flex',
|
|
499
|
+
flexDirection: 'column',
|
|
500
|
+
gap: 4,
|
|
501
|
+
} },
|
|
502
|
+
React__default.createElement(Skeleton, { height: 22, radius: "sm" }),
|
|
503
|
+
React__default.createElement(Skeleton, { height: 22, radius: "sm" })))),
|
|
504
|
+
(subTitle.visible || loading) && (React__default.createElement(Box, { sx: {
|
|
505
|
+
position: 'relative',
|
|
506
|
+
minHeight: loading && !subTitle.visible ? rem(16) : undefined,
|
|
507
|
+
} },
|
|
508
|
+
subTitle.visible && (React__default.createElement(Text, { className: classes.subTitle, size: "n1", color: "#595959", sx: {
|
|
509
|
+
visibility: loading ? 'hidden' : 'visible',
|
|
510
|
+
}, dangerouslySetInnerHTML: {
|
|
511
|
+
__html: subTitle.formated,
|
|
512
|
+
} })),
|
|
513
|
+
loading && (React__default.createElement(Box, { sx: {
|
|
514
|
+
position: 'absolute',
|
|
515
|
+
left: 0,
|
|
516
|
+
top: 0,
|
|
517
|
+
right: 0,
|
|
518
|
+
} },
|
|
519
|
+
React__default.createElement(Skeleton, { height: 16, width: "55%", radius: "sm" })))))))));
|
|
378
520
|
};
|
|
379
521
|
|
|
380
522
|
const VideoPlayerModal = (_a) => {
|
|
381
523
|
var { data, isMobile } = _a, rest = __rest(_a, ["data", "isMobile"]);
|
|
382
|
-
const { type,
|
|
524
|
+
const { type, url } = data;
|
|
383
525
|
const os = useOs();
|
|
384
526
|
const isIos = os === 'ios';
|
|
385
527
|
return (React__default.createElement(Modal, Object.assign({ size: type === VideoType.SHORTS ? (isMobile ? 360 : 375) : rem(1128), withCloseButton: true, styles: (theme) => ({
|
|
@@ -439,46 +581,53 @@ const VideoPlayerModal = (_a) => {
|
|
|
439
581
|
backgroundColor: 'rgba(0, 0, 0, 0.85)',
|
|
440
582
|
},
|
|
441
583
|
},
|
|
442
|
-
}) }, rest),
|
|
443
|
-
React__default.createElement(
|
|
584
|
+
}) }, rest),
|
|
585
|
+
React__default.createElement(AspectRatio, { w: '100%', ratio: type === VideoType.SHORTS ? 315 / 560 : 16 / 9, sx: {
|
|
586
|
+
'.link-image-wrapper': {
|
|
587
|
+
paddingTop: 0,
|
|
588
|
+
height: '100%',
|
|
589
|
+
},
|
|
590
|
+
} },
|
|
591
|
+
React__default.createElement(SocialLinkPreview, { key: url, url: url || '', autoPlay: !isIos }))));
|
|
444
592
|
};
|
|
445
593
|
|
|
446
594
|
const VideoItem = (_a) => {
|
|
447
|
-
var { data, layout = 'default', disableDefaultFn, redirectToLandingPage, onClick, dataEventCategory, dataEventAction, isMobile } = _a, props = __rest(_a, ["data", "layout", "disableDefaultFn", "redirectToLandingPage", "onClick", "dataEventCategory", "dataEventAction", "isMobile"]);
|
|
595
|
+
var { data, layout = 'default', disableDefaultFn, redirectToLandingPage, onClick, dataEventCategory, dataEventAction, isMobile, loading } = _a, props = __rest(_a, ["data", "layout", "disableDefaultFn", "redirectToLandingPage", "onClick", "dataEventCategory", "dataEventAction", "isMobile", "loading"]);
|
|
448
596
|
const { articleLink, id, videoId, title, url, type } = data;
|
|
449
597
|
const [showModal, setShowModal] = useState(false);
|
|
450
|
-
const href =
|
|
598
|
+
const href = articleLink || `/videos/${type}/?id=${id}`;
|
|
451
599
|
const { locale } = useTranslations();
|
|
600
|
+
const dataEventLabel = useMemo(() => `https://${domainLocales[locale]}${href}`, [href, locale]);
|
|
601
|
+
const handleDefaultClick = (e) => {
|
|
602
|
+
if (redirectToLandingPage) {
|
|
603
|
+
localStorage.setItem(VIDEO_DETAIL_TEMP_STORAGE, JSON.stringify({
|
|
604
|
+
articleLink,
|
|
605
|
+
id,
|
|
606
|
+
videoId,
|
|
607
|
+
title,
|
|
608
|
+
url,
|
|
609
|
+
type,
|
|
610
|
+
}));
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
e.preventDefault();
|
|
614
|
+
setShowModal(true);
|
|
615
|
+
};
|
|
452
616
|
const commonProps = {
|
|
453
617
|
component: 'a',
|
|
454
618
|
href,
|
|
455
619
|
target: articleLink ? '_blank' : '_self',
|
|
456
620
|
'data-event-category': dataEventCategory,
|
|
457
621
|
'data-event-action': dataEventAction,
|
|
458
|
-
'data-event-label':
|
|
622
|
+
'data-event-label': dataEventLabel,
|
|
459
623
|
onClick: disableDefaultFn
|
|
460
624
|
? onClick
|
|
461
625
|
: !articleLink
|
|
462
|
-
?
|
|
463
|
-
if (redirectToLandingPage) {
|
|
464
|
-
localStorage.setItem(VIDEO_DETAIL_TEMP_STORAGE, JSON.stringify({
|
|
465
|
-
articleLink,
|
|
466
|
-
id,
|
|
467
|
-
videoId,
|
|
468
|
-
title,
|
|
469
|
-
url,
|
|
470
|
-
type,
|
|
471
|
-
}));
|
|
472
|
-
}
|
|
473
|
-
else {
|
|
474
|
-
e.preventDefault();
|
|
475
|
-
setShowModal(true);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
626
|
+
? handleDefaultClick
|
|
478
627
|
: undefined,
|
|
479
628
|
};
|
|
480
629
|
return (React__default.createElement(React__default.Fragment, null,
|
|
481
|
-
type === VideoType.SHORTS ? (React__default.createElement(ShortsItem, Object.assign({}, props, commonProps, { data: data, layout: layout, isMobile: isMobile }))) : (React__default.createElement(VideoItem$1, Object.assign({}, props, commonProps, { layout: layout, data: data, isMobile: isMobile }))),
|
|
630
|
+
type === VideoType.SHORTS ? (React__default.createElement(ShortsItem, Object.assign({}, props, commonProps, { data: data, layout: layout, isMobile: isMobile, loading: loading }))) : (React__default.createElement(VideoItem$1, Object.assign({}, props, commonProps, { layout: layout, data: data, isMobile: isMobile, loading: loading }))),
|
|
482
631
|
!articleLink && (React__default.createElement(VideoPlayerModal, { opened: Boolean(showModal), data: data, onClose: () => setShowModal(false), isMobile: isMobile }))));
|
|
483
632
|
};
|
|
484
633
|
|
package/build/esm/adapters.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export { B as Button } from './index-
|
|
2
|
-
export { T as Text } from './index-
|
|
3
|
-
export { H as Heading } from './index-
|
|
4
|
-
import './tslib.es6-
|
|
1
|
+
export { B as Button } from './index-c7b5b84f.js';
|
|
2
|
+
export { T as Text } from './index-9953ae0b.js';
|
|
3
|
+
export { H as Heading } from './index-391de063.js';
|
|
4
|
+
import './tslib.es6-167c0e09.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-b37d1644.js';
|
|
7
7
|
import '@mantine/core';
|
|
8
|
-
import './shared-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
8
|
+
import './shared-b290bd35.js';
|
|
9
|
+
import './index-c27e728d.js';
|
|
10
|
+
import './index-a8f4e7b4.js';
|
|
11
11
|
import '@hhgtech/icons/other';
|
|
12
12
|
import '@mantine/hooks';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-9b48cd74.js';
|
|
14
14
|
import './constantsDomainLocales.js';
|
|
15
|
-
import './Locale-
|
|
15
|
+
import './Locale-1e307287.js';
|
|
16
16
|
import './constantsIsProduction.js';
|
|
17
|
-
import './index-
|
|
18
|
-
import './utils-
|
|
17
|
+
import './index-4f45a9f1.js';
|
|
18
|
+
import './utils-65dce180.js';
|
|
19
19
|
import '@emotion/styled';
|
|
20
20
|
import '@mantine/carousel';
|
|
21
|
-
import './index-
|
|
22
|
-
import './index-
|
|
21
|
+
import './index-ef56e6d6.js';
|
|
22
|
+
import './index-e6a2342b.js';
|
|
23
23
|
import 'dayjs';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-cc04e6a4.js';
|
|
25
25
|
import '@mantine/notifications';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-c800c3b3.js';
|
|
27
27
|
import 'date-fns/locale';
|
|
28
28
|
import './constantsSite.js';
|
|
29
29
|
import './constantsRiskScreener.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
31
|
import 'classnames';
|
|
32
32
|
import 'uuid';
|
|
33
|
-
import './useUniqueId-
|
|
33
|
+
import './useUniqueId-f83a1e43.js';
|
|
34
34
|
import '@emotion/react';
|
|
35
35
|
import '@hhgtech/icons/core';
|
|
36
36
|
import '@mantine/dates';
|
|
37
|
-
import './index.styles-
|
|
38
|
-
import './translationsContext-
|
|
39
|
-
import './index-
|
|
37
|
+
import './index.styles-5c76558c.js';
|
|
38
|
+
import './translationsContext-50a2fa73.js';
|
|
39
|
+
import './index-843b6c80.js';
|
package/build/esm/atoms.js
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
export { A as Alert, B as Badge, a as BorderHeading, C as CardCollapse, D as DragFreeCarousel, f as FILE_UPLOAD_ACCEPTED_RATIOS, g as FILE_UPLOAD_ACCEPTED_TYPES, F as FileDropdown, G as Grid, H as HtmlContent, I as IconHeading, e as ImageUpload, R as Radio, b as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, c as Toggle } from './index-
|
|
2
|
-
export { A as Avatar, D as DistanceTag, a as DrawerBottom, I as IconWrapper } from './index-
|
|
3
|
-
export { B as Button } from './index-
|
|
4
|
-
export { C as Checkbox, I as ImageWrapV2, P as Pagination, a as PureInput, b as SearchInput, S as StyledSearchIcon } from './index-
|
|
5
|
-
export { C as Container } from './index-
|
|
6
|
-
export { D as Divider } from './index-
|
|
7
|
-
export { D as Drawer } from './index-
|
|
8
|
-
export { F as Flag } from './index-
|
|
9
|
-
export { H as Heading } from './index-
|
|
10
|
-
export { I as Icon } from './index-
|
|
11
|
-
export { I as Input, L as Label } from './index-
|
|
12
|
-
export { L as Logo } from './index-
|
|
13
|
-
export { R as RadioImageGroup } from './index-
|
|
14
|
-
export { T as Text } from './index-
|
|
15
|
-
export { T as TextArea } from './index-
|
|
16
|
-
export { A as AuthorBadge, B as BookingBtn } from './index-
|
|
17
|
-
export { B as BtnChoice } from './index-
|
|
18
|
-
export { C as CustomReferenceDot } from './index-
|
|
19
|
-
export { I as ImageWrap } from './index-
|
|
20
|
-
export { L as LogoIcon } from './logoIcon-
|
|
21
|
-
export { G as GenderOptionControl } from './index-
|
|
22
|
-
export { L as Loading } from './index-
|
|
23
|
-
export { D as DrawerComponent } from './index-
|
|
24
|
-
export { I as InputDate } from './InputDate-
|
|
25
|
-
export { C as CartCareButton } from './index-
|
|
1
|
+
export { A as Alert, B as Badge, a as BorderHeading, C as CardCollapse, D as DragFreeCarousel, f as FILE_UPLOAD_ACCEPTED_RATIOS, g as FILE_UPLOAD_ACCEPTED_TYPES, F as FileDropdown, G as Grid, H as HtmlContent, I as IconHeading, e as ImageUpload, R as Radio, b as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, c as Toggle } from './index-74945b0c.js';
|
|
2
|
+
export { A as Avatar, D as DistanceTag, a as DrawerBottom, I as IconWrapper } from './index-0ee57825.js';
|
|
3
|
+
export { B as Button } from './index-c7b5b84f.js';
|
|
4
|
+
export { C as Checkbox, I as ImageWrapV2, P as Pagination, a as PureInput, b as SearchInput, S as StyledSearchIcon } from './index-c5c32e35.js';
|
|
5
|
+
export { C as Container } from './index-975ed8bf.js';
|
|
6
|
+
export { D as Divider } from './index-32b8c30a.js';
|
|
7
|
+
export { D as Drawer } from './index-0d4b5785.js';
|
|
8
|
+
export { F as Flag } from './index-a8f4e7b4.js';
|
|
9
|
+
export { H as Heading } from './index-391de063.js';
|
|
10
|
+
export { I as Icon } from './index-f21723b5.js';
|
|
11
|
+
export { I as Input, L as Label } from './index-9bbc5199.js';
|
|
12
|
+
export { L as Logo } from './index-654786ed.js';
|
|
13
|
+
export { R as RadioImageGroup } from './index-1d0665b3.js';
|
|
14
|
+
export { T as Text } from './index-9953ae0b.js';
|
|
15
|
+
export { T as TextArea } from './index-bd7e378b.js';
|
|
16
|
+
export { A as AuthorBadge, B as BookingBtn } from './index-2de03acc.js';
|
|
17
|
+
export { B as BtnChoice } from './index-2922044d.js';
|
|
18
|
+
export { C as CustomReferenceDot } from './index-78da0f60.js';
|
|
19
|
+
export { I as ImageWrap } from './index-4f45a9f1.js';
|
|
20
|
+
export { L as LogoIcon } from './logoIcon-1047c429.js';
|
|
21
|
+
export { G as GenderOptionControl } from './index-4bdf2d59.js';
|
|
22
|
+
export { L as Loading } from './index-0392e5ef.js';
|
|
23
|
+
export { D as DrawerComponent } from './index-84c94310.js';
|
|
24
|
+
export { I as InputDate } from './InputDate-280e5929.js';
|
|
25
|
+
export { C as CartCareButton } from './index-3fb0164e.js';
|
|
26
26
|
import 'react';
|
|
27
|
-
import './index-
|
|
28
|
-
import './tslib.es6-
|
|
27
|
+
import './index-ef56e6d6.js';
|
|
28
|
+
import './tslib.es6-167c0e09.js';
|
|
29
29
|
import '@mantine/core';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-c27e728d.js';
|
|
31
31
|
import '@emotion/styled';
|
|
32
32
|
import './miscTheme.js';
|
|
33
|
-
import './utils-
|
|
33
|
+
import './utils-65dce180.js';
|
|
34
34
|
import '@mantine/hooks';
|
|
35
35
|
import './miscDefaultClassWrapper.js';
|
|
36
36
|
import 'react-keyed-flatten-children';
|
|
37
|
-
import './Close-
|
|
38
|
-
import './index-
|
|
39
|
-
import './translationsContext-
|
|
37
|
+
import './Close-e176db98.js';
|
|
38
|
+
import './index-3372c0ac.js';
|
|
39
|
+
import './translationsContext-50a2fa73.js';
|
|
40
40
|
import '@mantine/carousel';
|
|
41
41
|
import 'vaul';
|
|
42
|
-
import './index-
|
|
42
|
+
import './index-c800c3b3.js';
|
|
43
43
|
import 'date-fns/locale';
|
|
44
|
-
import './index-
|
|
45
|
-
import './Locale-
|
|
44
|
+
import './index-cc04e6a4.js';
|
|
45
|
+
import './Locale-1e307287.js';
|
|
46
46
|
import './constantsSite.js';
|
|
47
47
|
import './constantsDomainLocales.js';
|
|
48
48
|
import './constantsRiskScreener.js';
|
|
49
49
|
import './constantsIsProduction.js';
|
|
50
|
-
import './index-
|
|
51
|
-
import './shared-
|
|
50
|
+
import './index-b37d1644.js';
|
|
51
|
+
import './shared-b290bd35.js';
|
|
52
52
|
import '@mantine/dates';
|
|
53
|
-
import './index-
|
|
54
|
-
import './index-
|
|
53
|
+
import './index-9b48cd74.js';
|
|
54
|
+
import './index-e6a2342b.js';
|
|
55
55
|
import 'dayjs';
|
|
56
56
|
import '@mantine/notifications';
|
|
57
|
-
import './index.styles-
|
|
58
|
-
import './index-
|
|
57
|
+
import './index.styles-5c76558c.js';
|
|
58
|
+
import './index-843b6c80.js';
|
|
59
59
|
import '@hhgtech/icons/other';
|
|
60
60
|
import '@emotion/react';
|
|
61
|
-
import './animation-
|
|
61
|
+
import './animation-0fd7414a.js';
|
|
62
62
|
import 'classnames';
|
|
63
63
|
import 'uuid';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-f83a1e43.js';
|
|
65
65
|
import '@hhgtech/icons/core';
|
|
66
|
-
import './WhatsApp-
|
|
67
|
-
import './Spinner-
|
|
68
|
-
import './index-
|
|
69
|
-
import './paths-
|
|
70
|
-
import './constants-
|
|
71
|
-
import './utils-
|
|
72
|
-
import './index-
|
|
66
|
+
import './WhatsApp-91bc4edc.js';
|
|
67
|
+
import './Spinner-5c3b964d.js';
|
|
68
|
+
import './index-c7d75343.js';
|
|
69
|
+
import './paths-33c93082.js';
|
|
70
|
+
import './constants-678d1485.js';
|
|
71
|
+
import './utils-72f57b16.js';
|
|
72
|
+
import './index-5cd0932c.js';
|
|
73
73
|
import './miscCookieHelper.js';
|
|
74
74
|
import 'slugify';
|
|
75
75
|
import 'string-format';
|
|
76
76
|
import './togetherApiPaths.js';
|
|
77
|
-
import './constants-
|
|
77
|
+
import './constants-83a1b02a.js';
|