@hhgtech/hhg-components 1.29.349-beta-2 → 1.29.350
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/{LastPeriod-089bebf1.js → LastPeriod-fa62c38f.js} +1 -1
- package/build/{MobileBottomNavigationIcon-12497f73.js → MobileBottomNavigationIcon-c9a7bab2.js} +3 -3
- package/build/{Spinner-445fd763.js → Spinner-eee4bad2.js} +1 -1
- package/build/{WhatsApp-fefb1d6f.js → WhatsApp-adce873a.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/icons/Play.d.ts +4 -0
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components/molecules/videoItem/index.d.ts +4 -0
- package/build/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/components/molecules/videoItem/types.d.ts +13 -0
- package/build/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -2
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +2 -1
- package/build/components/navigationV2/index.d.ts +9 -0
- package/build/components/navigationV2/types.d.ts +2 -2
- package/build/components/navigationV2/utils.d.ts +2 -0
- package/build/components.js +97 -91
- package/build/{constants-ea411d36.js → constants-68bbb45a.js} +1 -1
- package/build/constants.js +5 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-a47d2c1c.js → core-493a4c1f.js} +1 -1
- package/build/dataTransform-7c8a111b.js +13 -0
- package/build/{dataTransform-2cc339d2.js → dataTransform-c05d6333.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-0508ae59.js → editor-dbfb4abe.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{LastPeriod-acb34093.js → LastPeriod-3c4f0e35.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4389343b.js → MobileBottomNavigationIcon-b8bde94a.js} +3 -3
- package/build/esm/{Spinner-475df4f2.js → Spinner-79a257a6.js} +1 -1
- package/build/esm/{WhatsApp-15966b61.js → WhatsApp-b0c3210b.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/icons/Play.d.ts +4 -0
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/esm/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +13 -0
- package/build/esm/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/esm/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/esm/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -2
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +2 -1
- package/build/esm/components/navigationV2/index.d.ts +9 -0
- package/build/esm/components/navigationV2/types.d.ts +2 -2
- package/build/esm/components/navigationV2/utils.d.ts +2 -0
- package/build/esm/components.js +95 -91
- package/build/esm/{constants-a82a6e91.js → constants-08a665ac.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-6c44324b.js → core-222a8145.js} +1 -1
- package/build/esm/{dataTransform-4df32cf8.js → dataTransform-bda7b271.js} +1 -1
- package/build/esm/dataTransform-e1e08d96.js +11 -0
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-317d9124.js → editor-ab4e1225.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +0 -1
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +9 -0
- package/build/esm/i18n-values/hi-IN.js +9 -0
- package/build/esm/i18n-values/id-ID.js +9 -0
- package/build/esm/i18n-values/km-KH.js +9 -0
- package/build/esm/i18n-values/ms-MY.js +9 -0
- package/build/esm/i18n-values/my-MM.js +9 -0
- package/build/esm/i18n-values/th-TH.js +9 -0
- package/build/esm/i18n-values/tl-PH.js +9 -0
- package/build/esm/i18n-values/vi-VN.js +9 -0
- package/build/esm/i18n-values/vi-VN_MB.js +9 -0
- package/build/esm/i18n-values/zh-TW.js +9 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-08f499b0.js → index-0ba2e93a.js} +3 -3
- package/build/esm/{index-2c4bc44f.js → index-109b0adb.js} +6 -6
- package/build/esm/{index-91cc806f.js → index-191f79c5.js} +1 -1
- package/build/esm/{index-3473b82f.js → index-1deea983.js} +18 -18
- package/build/esm/{index-3a050552.js → index-1df79247.js} +1 -1
- package/build/esm/{index-91771376.js → index-1ff60d24.js} +11 -11
- package/build/esm/{index-0aa4d9e8.js → index-29d67804.js} +2 -2
- package/build/esm/{index-43de00be.js → index-2e886c27.js} +2 -2
- package/build/esm/{index-496d9467.js → index-2fc1d07d.js} +16 -16
- package/build/esm/index-31a5e478.js +494 -0
- package/build/esm/{index-93555fa2.js → index-3bd9b3a9.js} +31 -30
- package/build/esm/{index-aba6f2df.js → index-3e7cea05.js} +2 -2
- package/build/esm/{index-9d29074b.js → index-44b26820.js} +3 -3
- package/build/esm/{index-a9cbda6e.js → index-4829411b.js} +2 -2
- package/build/esm/{index-d0ec6d4d.js → index-4be89ef5.js} +182 -124
- package/build/esm/{index-8e2ceb9e.js → index-4d082898.js} +16 -16
- package/build/esm/{index-6e914144.js → index-5106ea4a.js} +2 -2
- package/build/esm/{index-5f383396.js → index-590fcd6a.js} +1 -1
- package/build/esm/{index-3fd084f2.js → index-5b7bbbf3.js} +2 -2
- package/build/esm/{index-ac93851c.js → index-5ce16595.js} +6 -6
- package/build/esm/{index-8d1b5cd1.js → index-5dad2bfd.js} +1 -1
- package/build/esm/{index-cf6b4c6d.js → index-5eed82b8.js} +13 -13
- package/build/esm/{index-f1f466e3.js → index-62006031.js} +5 -5
- package/build/esm/{index-7d49189c.js → index-64de7793.js} +6 -6
- package/build/esm/{index-1ee4edd2.js → index-65a88a2f.js} +3 -3
- package/build/esm/{index-302d7800.js → index-66edc002.js} +6 -6
- package/build/esm/{index-d2a1a2ef.js → index-72e7fffe.js} +2 -2
- package/build/esm/{index-3b39b8a1.js → index-749063ff.js} +1 -1
- package/build/esm/{index-8071431d.js → index-7c6f1a51.js} +11 -3
- package/build/esm/{index-0b50df23.js → index-7e95d2d7.js} +17 -17
- package/build/esm/{index-17448dae.js → index-8420b22c.js} +16 -16
- package/build/esm/{index-cde2a194.js → index-8468f319.js} +2 -2
- package/build/esm/{index-09023bd8.js → index-86529a88.js} +17 -63
- package/build/esm/{index-7222c08e.js → index-86593428.js} +2 -2
- package/build/esm/{index-3ff5fcdd.js → index-894c4097.js} +15 -15
- package/build/esm/{index-2cc0d391.js → index-8a3797fe.js} +8 -4
- package/build/esm/{index-0dd7e8ad.js → index-8e933797.js} +4 -4
- package/build/esm/{index-1f770e72.js → index-8eb6f06d.js} +24 -24
- package/build/esm/{index-c145990e.js → index-91981f41.js} +19 -233
- package/build/esm/{index-8cc56454.js → index-9de22e34.js} +7 -7
- package/build/esm/{index-53f41082.js → index-a7479d55.js} +2 -2
- package/build/esm/{index-6edaed4b.js → index-a85f8807.js} +24 -24
- package/build/esm/{index-723ff6e9.js → index-b13ff4b9.js} +1 -1
- package/build/esm/{index-d548a188.js → index-bc4e8cd1.js} +13 -13
- package/build/esm/{index-be81f9bd.js → index-c072d314.js} +22 -20
- package/build/esm/{index-ded25d29.js → index-c15c044c.js} +5 -5
- package/build/esm/{index-1129ebfe.js → index-c40798d0.js} +18 -18
- package/build/esm/index-c52fbd75.js +225 -0
- package/build/esm/{index-bd5c1be3.js → index-c82dce54.js} +16 -16
- package/build/esm/{index-ad134d53.js → index-c9d2aaa2.js} +21 -21
- package/build/esm/{index-8566e747.js → index-ccc8a486.js} +3 -3
- package/build/esm/{index-b180d462.js → index-cd9b1e18.js} +11 -18
- package/build/esm/{index-655dba99.js → index-cf54a904.js} +2 -2
- package/build/esm/{index-bbb0c029.js → index-d3b10ec3.js} +1 -1
- package/build/esm/{index-3fddfa7f.js → index-dc3faa75.js} +3 -3
- package/build/esm/{index-3bf1efd3.js → index-dcb29363.js} +2 -2
- package/build/esm/{index-d898ad6e.js → index-e4677ebe.js} +1 -1
- package/build/esm/{index-4dfa5af4.js → index-e95307ee.js} +32 -31
- package/build/esm/index-eda053dd.js +54 -0
- package/build/esm/{index-a1831827.js → index-ee3bb0fc.js} +13 -13
- package/build/esm/{index-3077bc1d.js → index-eec8b1cc.js} +3 -3
- package/build/esm/{index-3d727fa4.js → index-f58997c6.js} +17 -17
- package/build/esm/{index-e2f81320.js → index-fc65cc57.js} +13 -13
- package/build/esm/{index-a0846c1f.js → index-fd1bc715.js} +7 -7
- package/build/esm/index.js +116 -113
- package/build/esm/interfaces/constants/index.d.ts +2 -0
- package/build/esm/interfaces/healthTools.d.ts +0 -1
- package/build/esm/interfaces/types/Video.d.ts +36 -0
- package/build/esm/interfaces/types/index.d.ts +1 -0
- package/build/esm/{labelSorting-f1e71c6b.js → labelSorting-4e353373.js} +4 -4
- package/build/esm/lead/helpers.d.ts +0 -31
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +180 -287
- package/build/esm/{logoIcon-30d5d029.js → logoIcon-3ddc78e3.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -16
- 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 +73 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +50 -45
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/{dataTransform-a5ab808a.js → number-7cd2ed1c.js} +1 -11
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +53 -48
- package/build/esm/{post-52b2f121.js → post-25e22605.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2/index.d.ts +0 -1
- package/build/esm/ssoV2/utils.d.ts +0 -6
- package/build/esm/ssoV2.js +56 -50
- package/build/esm/{store-bbfc4f26.js → store-c0abd1a4.js} +4 -4
- package/build/esm/subot.js +42 -43
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-37f5fd4c.js → surveyThankyouCard-d9a3f7c8.js} +5 -5
- package/build/esm/together.js +55 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +50 -48
- package/build/esm/togetherMoleculesCardAuthor.js +28 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +38 -37
- package/build/esm/togetherOrganisms.js +56 -54
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-74c6e0bd.js → treePopoverMenu-601f64f4.js} +19 -19
- package/build/esm/{types-a2aca465.js → types-34a4a8fc.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a9f4c1b8.js → useCategory-3eadc946.js} +5 -5
- package/build/esm/{useHealthToolCache-79b7dfd8.js → useHealthToolCache-d0dd546a.js} +1 -1
- package/build/esm/{useMantineLocale-4f902908.js → useMantineLocale-f17968c0.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-d00892cc.js → usePlacesAutocomplete-e826c24b.js} +1 -1
- package/build/esm/{useScreenSize-85657dee.js → useScreenSize-11fc92d3.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-84250289.js → utils-1af61383.js} +3 -3
- package/build/esm/{utils-be995f45.js → utils-356b57cf.js} +2 -2
- package/build/esm/{utils-1bc35f03.js → utils-f14dd095.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/useCSSFocusPopupHelper.d.ts +0 -1
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +9 -0
- package/build/i18n-values/hi-IN.js +9 -0
- package/build/i18n-values/id-ID.js +9 -0
- package/build/i18n-values/km-KH.js +9 -0
- package/build/i18n-values/ms-MY.js +9 -0
- package/build/i18n-values/my-MM.js +9 -0
- package/build/i18n-values/th-TH.js +9 -0
- package/build/i18n-values/tl-PH.js +9 -0
- package/build/i18n-values/vi-VN.js +9 -0
- package/build/i18n-values/vi-VN_MB.js +9 -0
- package/build/i18n-values/zh-TW.js +9 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-aec56057.js → index-0ae0683e.js} +1 -1
- package/build/{index-114fb2b3.js → index-0bb69a29.js} +1 -1
- package/build/{index-1a991ca9.js → index-0c39fb9a.js} +31 -30
- package/build/{index-4f8e7d82.js → index-0e3a9ce5.js} +2 -2
- package/build/{index-014ddce9.js → index-12c0405a.js} +5 -5
- package/build/{index-aeddd5e1.js → index-1a670332.js} +1 -1
- package/build/{index-a7fe505b.js → index-1e05e5e9.js} +5 -5
- package/build/{index-a00fb687.js → index-2594073e.js} +6 -6
- package/build/{index-9e6471fa.js → index-26574e0f.js} +3 -3
- package/build/{index-e5f27c0f.js → index-26e97252.js} +19 -234
- package/build/{index-f3c705d0.js → index-2b7732a8.js} +16 -16
- package/build/{index-c9f46119.js → index-2d9bcaeb.js} +18 -18
- package/build/{index-a48132cf.js → index-2dd85aab.js} +2 -2
- package/build/{index-448f6fae.js → index-3154eb57.js} +13 -13
- package/build/{index-59e72f25.js → index-32f95d0a.js} +6 -6
- package/build/{index-717e254d.js → index-347809f9.js} +1 -1
- package/build/{index-b4a480c2.js → index-36927fc3.js} +18 -18
- package/build/{index-f378fe9e.js → index-36ac7272.js} +3 -3
- package/build/{index-bbc8a07f.js → index-44bf2ce1.js} +10 -2
- package/build/{index-28bf0a58.js → index-4b2fa3e2.js} +2 -2
- package/build/{index-366d3e02.js → index-4c7a785b.js} +6 -6
- package/build/{index-b6cc9ce2.js → index-4d6e6a6f.js} +13 -13
- package/build/{index-b8d4aa12.js → index-4d8a8f2a.js} +2 -2
- package/build/{index-66d19270.js → index-4ea6199f.js} +4 -4
- package/build/{index-752ddc7e.js → index-4f002d8f.js} +11 -11
- package/build/{index-a22f8c1a.js → index-4ff1cefe.js} +189 -131
- package/build/{index-d0270b0a.js → index-50880e9a.js} +2 -2
- package/build/{index-8c578ae7.js → index-52f4d9ac.js} +3 -3
- package/build/{index-f1ea8e8c.js → index-585064ac.js} +2 -2
- package/build/{index-91201153.js → index-5c3e82a8.js} +16 -16
- package/build/{index-e8720f16.js → index-5e555a2c.js} +2 -2
- package/build/{index-151f3098.js → index-5efb2208.js} +37 -36
- package/build/{index-2f55674b.js → index-620e269f.js} +17 -17
- package/build/{index-1b2b41ad.js → index-6c1fbee0.js} +34 -32
- package/build/{index-4c10dff8.js → index-80f1173f.js} +13 -13
- package/build/{index-0a9bd5e0.js → index-82a721a9.js} +13 -13
- package/build/{index-df93237b.js → index-88bffee6.js} +2 -2
- package/build/{index-ec2c0de7.js → index-89d3b1dd.js} +1 -1
- package/build/{index-69bfd97f.js → index-8b7337b6.js} +2 -2
- package/build/index-8d6980aa.js +61 -0
- package/build/{index-aa13fadc.js → index-8ea58f0a.js} +16 -16
- package/build/{index-4c8c7a4f.js → index-9395f53e.js} +1 -1
- package/build/{index-6132d9b0.js → index-9642ac3c.js} +21 -21
- package/build/{index-1edfb3c4.js → index-9fba1db4.js} +2 -2
- package/build/{index-e3a8f461.js → index-a2146821.js} +11 -18
- package/build/{index-a9ff5150.js → index-a47352b7.js} +17 -17
- package/build/{index-48939e16.js → index-a52b0815.js} +2 -2
- package/build/{index-7440d34d.js → index-a64f9470.js} +9 -3
- package/build/index-a701bc62.js +504 -0
- package/build/{index-c030e9f8.js → index-aee0f71e.js} +1 -1
- package/build/{index-4b4894dd.js → index-af34cbca.js} +7 -7
- package/build/{index-54c82239.js → index-b0338dab.js} +7 -7
- package/build/{index-daf3f551.js → index-b039a2f5.js} +3 -3
- package/build/{index-99266313.js → index-bb0404b6.js} +3 -3
- package/build/{index-71a4bbd7.js → index-c0a1f14f.js} +3 -3
- package/build/{index-49f29546.js → index-c182ddcd.js} +6 -6
- package/build/{index-c1d68c39.js → index-c3d5b656.js} +24 -24
- package/build/{index-03574a1f.js → index-c5c8c633.js} +15 -15
- package/build/{index-d6a7d261.js → index-cc632370.js} +31 -78
- package/build/{index-8ad47f17.js → index-d68340ee.js} +1 -1
- package/build/{index-0e2bb8f0.js → index-e4b83bc5.js} +2 -2
- package/build/{index-e3f90421.js → index-f9428b8a.js} +24 -24
- package/build/{index-4b9a133d.js → index-fa38fcaf.js} +16 -16
- package/build/index-fcc65dbf.js +232 -0
- package/build/index.js +128 -123
- package/build/interfaces/constants/index.d.ts +2 -0
- package/build/interfaces/healthTools.d.ts +0 -1
- package/build/interfaces/types/Video.d.ts +36 -0
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/{labelSorting-eb55018c.js → labelSorting-564e4df0.js} +4 -4
- package/build/lead/helpers.d.ts +0 -31
- package/build/lead.css +1 -1
- package/build/lead.js +181 -288
- package/build/{logoIcon-e18f5cc4.js → logoIcon-144a4c63.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +19 -18
- 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 +75 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +50 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/{dataTransform-6886fcfb.js → number-0a06f73a.js} +0 -11
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +53 -48
- package/build/{post-1b7acd8a.js → post-e81b3399.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2/index.d.ts +0 -1
- package/build/ssoV2/utils.d.ts +0 -6
- package/build/ssoV2.js +71 -65
- package/build/{store-f338d5dc.js → store-3db31396.js} +4 -4
- package/build/subot.js +41 -42
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-3f669e41.js → surveyThankyouCard-dcfc997b.js} +5 -5
- package/build/together.js +63 -61
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -49
- package/build/togetherMoleculesCardAuthor.js +28 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +38 -37
- package/build/togetherOrganisms.js +56 -54
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-d3fd723a.js → treePopoverMenu-49b646ab.js} +19 -19
- package/build/{types-0cd7d9fe.js → types-a7bacf6e.js} +2 -2
- package/build/types.js +6 -2
- package/build/{useCategory-871fa470.js → useCategory-993eb216.js} +5 -5
- package/build/{useHealthToolCache-8c51e63b.js → useHealthToolCache-68c4213c.js} +1 -1
- package/build/{useMantineLocale-1c9f789e.js → useMantineLocale-5e96023c.js} +6 -6
- package/build/{usePlacesAutocomplete-dd6c1d8f.js → usePlacesAutocomplete-680d7e89.js} +1 -1
- package/build/{useScreenSize-da937aaf.js → useScreenSize-58be1181.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-09a1a009.js → utils-130c6b01.js} +2 -2
- package/build/{utils-15c8b901.js → utils-d40974e0.js} +2 -2
- package/build/{utils-e0ea8233.js → utils-da16f93d.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-b61f2526.js +0 -148
- package/build/esm/lead/layouts/lightbox/emptyComponent.d.ts +0 -6
- package/build/esm/lead/layouts/lightbox/formContainer.d.ts +0 -17
- package/build/esm/lead/layouts/lightbox/headerImage.d.ts +0 -11
- package/build/esm/utils-397cbdd3.js +0 -55
- package/build/index-53165e12.js +0 -156
- package/build/lead/layouts/lightbox/emptyComponent.d.ts +0 -6
- package/build/lead/layouts/lightbox/formContainer.d.ts +0 -17
- package/build/lead/layouts/lightbox/headerImage.d.ts +0 -11
- package/build/utils-0b30517e.js +0 -61
- /package/build/{BMI_BOYS.percentile.monthly-c17aac56.js → BMI_BOYS.percentile.monthly-5c94c639.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a895bf04.js → BMI_BOYS.percentile.weekly-28e88e2e.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-19441d71.js → BMI_BOYS.percentile.yearly-1ee7fccd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6b11c95e.js → BMI_BOYS.zscore.monthly-b38b3ddb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-cc38154a.js → BMI_BOYS.zscore.weekly-3d9ad8ee.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-dc4989c2.js → BMI_BOYS.zscore.yearly-679822f7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-08fa757f.js → BMI_GIRLS.percentile.monthly-82392190.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6a244736.js → BMI_GIRLS.percentile.weekly-700710e2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c7c3ccc5.js → BMI_GIRLS.percentile.yearly-9dfd637a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-d0965294.js → BMI_GIRLS.zscore.monthly-cd692b93.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-628e7381.js → BMI_GIRLS.zscore.weekly-0a966dd2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-6f0a8074.js → BMI_GIRLS.zscore.yearly-ef73d8ac.js} +0 -0
- /package/build/{ChevronDown-fb474f6b.js → ChevronDown-2195239e.js} +0 -0
- /package/build/{Close-b4092a2c.js → Close-dc4cd6ac.js} +0 -0
- /package/build/{Google-3b1bed90.js → Google-84f1002c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-54403ab9.js → HEAD CIRCUM_BOYS.percentile.monthly-0ba798f6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-57b5d37f.js → HEAD CIRCUM_BOYS.percentile.weekly-04c41a40.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e803b122.js → HEAD CIRCUM_BOYS.percentile.yearly-64684d2d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ee739f33.js → HEAD CIRCUM_BOYS.zscore.monthly-32f63213.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2ae5b077.js → HEAD CIRCUM_BOYS.zscore.weekly-ab53405b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2f226b05.js → HEAD CIRCUM_BOYS.zscore.yearly-6f79051f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-9d60aa36.js → HEAD CIRCUM_GIRLS.percentile.monthly-13232833.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-16723f2b.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad125882.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-51c54e25.js → HEAD CIRCUM_GIRLS.percentile.yearly-e884a146.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c8f657fb.js → HEAD CIRCUM_GIRLS.zscore.monthly-ec02e3a1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b0fe3384.js → HEAD CIRCUM_GIRLS.zscore.weekly-80c1c6ee.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-928a944f.js → HEAD CIRCUM_GIRLS.zscore.yearly-1d5ea97f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-243c316c.js → HEIGHT_BOYS.percentile.monthly-f935d161.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-bc5d696a.js → HEIGHT_BOYS.percentile.weekly-7d761d57.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-8f78af31.js → HEIGHT_BOYS.percentile.yearly-0e546d9a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b76b1bec.js → HEIGHT_BOYS.zscore.monthly-c3a67ea8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d92a6b67.js → HEIGHT_BOYS.zscore.weekly-2a1ca99b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3ddfe7b7.js → HEIGHT_BOYS.zscore.yearly-97929b26.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-3b6182fa.js → HEIGHT_GIRLS.percentile.monthly-81d19228.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-d9c04d42.js → HEIGHT_GIRLS.percentile.weekly-0b638b75.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-834e580a.js → HEIGHT_GIRLS.percentile.yearly-ce047683.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-313615bb.js → HEIGHT_GIRLS.zscore.monthly-6a1972e9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2af22b07.js → HEIGHT_GIRLS.zscore.weekly-0d1c2e90.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3c24bf7d.js → HEIGHT_GIRLS.zscore.yearly-38affac7.js} +0 -0
- /package/build/{Locale-f15df359.js → Locale-efeb4779.js} +0 -0
- /package/build/{Visible-0e9aa746.js → Visible-6dbbaff6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-cdcbf67d.js → WEIGHT_BOYS.percentile.monthly-25144bea.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-10b15769.js → WEIGHT_BOYS.percentile.weekly-b3470080.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-584c1cc7.js → WEIGHT_BOYS.percentile.yearly-70f4a7fb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b9ea0ad4.js → WEIGHT_BOYS.zscore.monthly-b554e353.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b12404f4.js → WEIGHT_BOYS.zscore.weekly-84d15584.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5b7fbfd6.js → WEIGHT_BOYS.zscore.yearly-be23fa9b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1abf7637.js → WEIGHT_GIRLS.percentile.monthly-940078af.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-888fae52.js → WEIGHT_GIRLS.percentile.weekly-f48f3860.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-44a2c319.js → WEIGHT_GIRLS.percentile.yearly-177afa98.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-da2d8dbb.js → WEIGHT_GIRLS.zscore.monthly-411af9f6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-9323bcae.js → WEIGHT_GIRLS.zscore.weekly-0bb114d8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e2d9a792.js → WEIGHT_GIRLS.zscore.yearly-636f226d.js} +0 -0
- /package/build/{animation-af4faf0b.js → animation-4f0b0b74.js} +0 -0
- /package/build/{constants-f8e0dd0e.js → constants-121d4cd0.js} +0 -0
- /package/build/{constants-ce3d3b8b.js → constants-77bd9f3d.js} +0 -0
- /package/build/{constants-eb523cb6.js → constants-b45a0f52.js} +0 -0
- /package/build/{doctor-dd0d103b.js → doctor-30b5162b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-bd832825.js → BMI_BOYS.percentile.monthly-743ccd9b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8e2acc11.js → BMI_BOYS.percentile.weekly-148a81d2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c9bf53a3.js → BMI_BOYS.percentile.yearly-12920321.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ed6d48f4.js → BMI_BOYS.zscore.monthly-5297d265.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0e02f5f3.js → BMI_BOYS.zscore.weekly-76892b16.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4deae064.js → BMI_BOYS.zscore.yearly-0966fa1b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4f191f94.js → BMI_GIRLS.percentile.monthly-c638e53a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e6ad6d25.js → BMI_GIRLS.percentile.weekly-72717163.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-7188f959.js → BMI_GIRLS.percentile.yearly-32b08dcb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d0a5801b.js → BMI_GIRLS.zscore.monthly-bde76796.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-086edf15.js → BMI_GIRLS.zscore.weekly-b4a056fe.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-cd3e79ee.js → BMI_GIRLS.zscore.yearly-a92152aa.js} +0 -0
- /package/build/esm/{ChevronDown-9d25a195.js → ChevronDown-cb59d640.js} +0 -0
- /package/build/esm/{Close-7b5e9bc9.js → Close-095f247b.js} +0 -0
- /package/build/esm/{Google-c5999908.js → Google-6c595880.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a856ff74.js → HEAD CIRCUM_BOYS.percentile.monthly-a11d918b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-cc51ab10.js → HEAD CIRCUM_BOYS.percentile.weekly-d40d3946.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-800521da.js → HEAD CIRCUM_BOYS.percentile.yearly-8012449c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ec1534f2.js → HEAD CIRCUM_BOYS.zscore.monthly-8e5c5a31.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-885f7cf5.js → HEAD CIRCUM_BOYS.zscore.weekly-b35ad21d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-003386ce.js → HEAD CIRCUM_BOYS.zscore.yearly-6c013887.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-b0dfd90e.js → HEAD CIRCUM_GIRLS.percentile.monthly-aa3cb27d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e2ee80c1.js → HEAD CIRCUM_GIRLS.percentile.weekly-c017508e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-712655ed.js → HEAD CIRCUM_GIRLS.percentile.yearly-ccca55e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-55657637.js → HEAD CIRCUM_GIRLS.zscore.monthly-fc6208ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-609d2713.js → HEAD CIRCUM_GIRLS.zscore.weekly-150dfa94.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9f55b53e.js → HEAD CIRCUM_GIRLS.zscore.yearly-f5d7f469.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-80f7420b.js → HEIGHT_BOYS.percentile.monthly-6876a69b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e1dd99a1.js → HEIGHT_BOYS.percentile.weekly-864ef15a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-30131879.js → HEIGHT_BOYS.percentile.yearly-45e10964.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e838b883.js → HEIGHT_BOYS.zscore.monthly-987d02ad.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-69c83b23.js → HEIGHT_BOYS.zscore.weekly-bdb660be.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6b866c7f.js → HEIGHT_BOYS.zscore.yearly-1517b945.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1db14cb0.js → HEIGHT_GIRLS.percentile.monthly-b67f99aa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d74ce56e.js → HEIGHT_GIRLS.percentile.weekly-712b9a31.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5f168225.js → HEIGHT_GIRLS.percentile.yearly-55f644c9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-20d2eb78.js → HEIGHT_GIRLS.zscore.monthly-38bd1a84.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-80ea3af1.js → HEIGHT_GIRLS.zscore.weekly-0e74d6b7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-647732cc.js → HEIGHT_GIRLS.zscore.yearly-157cc38c.js} +0 -0
- /package/build/esm/{Locale-3abad08e.js → Locale-fee93066.js} +0 -0
- /package/build/esm/{Visible-57dae06e.js → Visible-c8ccf9f4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-065eae23.js → WEIGHT_BOYS.percentile.monthly-8e22e1ff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-289170df.js → WEIGHT_BOYS.percentile.weekly-c44d533c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5e310ae7.js → WEIGHT_BOYS.percentile.yearly-9ae7822a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e6cb4ad6.js → WEIGHT_BOYS.zscore.monthly-bdd76b6a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-268cd85c.js → WEIGHT_BOYS.zscore.weekly-95b328c5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d702814b.js → WEIGHT_BOYS.zscore.yearly-814536f9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6c3ca315.js → WEIGHT_GIRLS.percentile.monthly-bddd4f3b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-289d2a9f.js → WEIGHT_GIRLS.percentile.weekly-18a34d13.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e8c38916.js → WEIGHT_GIRLS.percentile.yearly-9fea7e32.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-844f37e0.js → WEIGHT_GIRLS.zscore.monthly-b31d7444.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-b8266dad.js → WEIGHT_GIRLS.zscore.weekly-506c8f97.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-1245be65.js → WEIGHT_GIRLS.zscore.yearly-3af998e9.js} +0 -0
- /package/build/esm/{animation-9daf7ea1.js → animation-6a677c4c.js} +0 -0
- /package/build/esm/{constants-82aa6ead.js → constants-0c2f7d1b.js} +0 -0
- /package/build/esm/{constants-372dadc3.js → constants-7688da28.js} +0 -0
- /package/build/esm/{constants-1ef5e1e7.js → constants-e3bf1dcd.js} +0 -0
- /package/build/esm/{doctor-03f23031.js → doctor-a8bf8262.js} +0 -0
- /package/build/esm/{index-7c541c07.js → index-2469d657.js} +0 -0
- /package/build/esm/{index-76afd60a.js → index-40c8f198.js} +0 -0
- /package/build/esm/{index-86c5c2a0.js → index-76eff284.js} +0 -0
- /package/build/esm/{index-51ee83c5.js → index-77acd039.js} +0 -0
- /package/build/esm/{index-f539d727.js → index-7ad01fa4.js} +0 -0
- /package/build/esm/{index-ed0b6c0a.js → index-b7299a9c.js} +0 -0
- /package/build/esm/{index-81d8a522.js → index-c4b2f711.js} +0 -0
- /package/build/esm/{index-93f6c20b.js → index-cc333222.js} +0 -0
- /package/build/esm/{index-dfbb7a48.js → index-f7168e69.js} +0 -0
- /package/build/esm/{index.styles-d205a442.js → index.styles-61d70f9e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6fa87239.js → localizeNumberFormat-9bb2897c.js} +0 -0
- /package/build/esm/{normalizeLink-6fa9140b.js → normalizeLink-a852ea86.js} +0 -0
- /package/build/esm/{other-f3acbf3b.js → other-ff97cf3a.js} +0 -0
- /package/build/esm/{paths-14459239.js → paths-1c1c94aa.js} +0 -0
- /package/build/esm/{translationsContext-348395fa.js → translationsContext-d3dcfbcf.js} +0 -0
- /package/build/esm/{tslib.es6-3f882546.js → tslib.es6-3d0d57aa.js} +0 -0
- /package/build/esm/{types-e778085b.js → types-512c7e58.js} +0 -0
- /package/build/esm/{useIsInit-666a0622.js → useIsInit-3a60ce11.js} +0 -0
- /package/build/esm/{useOutsideClick-c1bd33d2.js → useOutsideClick-0af5e699.js} +0 -0
- /package/build/esm/{useScrollbarSize-52945f1b.js → useScrollbarSize-32e71bd5.js} +0 -0
- /package/build/esm/{useUniqueId-a4987374.js → useUniqueId-d85246b9.js} +0 -0
- /package/build/esm/{utils-751f26c2.js → utils-24a5fc0b.js} +0 -0
- /package/build/{index-b9ef6287.js → index-17123607.js} +0 -0
- /package/build/{index-5e0006ed.js → index-232df9c6.js} +0 -0
- /package/build/{index-58d8c932.js → index-2c357711.js} +0 -0
- /package/build/{index-b499805d.js → index-546256c8.js} +0 -0
- /package/build/{index-b021372e.js → index-d46c2bee.js} +0 -0
- /package/build/{index-89c3d7b8.js → index-d65d2702.js} +0 -0
- /package/build/{index-42ca0cd7.js → index-dd2622f2.js} +0 -0
- /package/build/{index-17762e76.js → index-e89d6ea8.js} +0 -0
- /package/build/{index-e811bc9e.js → index-faa8ac60.js} +0 -0
- /package/build/{index.styles-1994f67b.js → index.styles-7eb232b9.js} +0 -0
- /package/build/{localizeNumberFormat-0321c0eb.js → localizeNumberFormat-b4acc554.js} +0 -0
- /package/build/{normalizeLink-0cf91164.js → normalizeLink-ed076d28.js} +0 -0
- /package/build/{other-927d70d3.js → other-5db125e1.js} +0 -0
- /package/build/{paths-890c6157.js → paths-8c7855d4.js} +0 -0
- /package/build/{translationsContext-8c59d7af.js → translationsContext-58c99c1f.js} +0 -0
- /package/build/{tslib.es6-821c3e9d.js → tslib.es6-7610e8e4.js} +0 -0
- /package/build/{types-194b4c0d.js → types-149e0fce.js} +0 -0
- /package/build/{useIsInit-2e69dc0a.js → useIsInit-3a02c33f.js} +0 -0
- /package/build/{useOutsideClick-f3383a8a.js → useOutsideClick-59fd150e.js} +0 -0
- /package/build/{useScrollbarSize-5d5dfb69.js → useScrollbarSize-17773592.js} +0 -0
- /package/build/{useUniqueId-b1afd50f.js → useUniqueId-17e9a8d5.js} +0 -0
- /package/build/{utils-dd2ba00a.js → utils-62602343.js} +0 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-3d0d57aa.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useContext, useMemo } from 'react';
|
|
3
|
+
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
+
import { I as ImageWrap } from './useScreenSize-11fc92d3.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-1af61383.js';
|
|
6
|
+
import styled from '@emotion/styled';
|
|
7
|
+
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
+
import { D as DEFAULT_IMG } from './constants-e3bf1dcd.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-25e22605.js';
|
|
10
|
+
import { L as Loading } from './index-eda053dd.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
|
+
padding-top: 56.25%;
|
|
22
|
+
&.fetching {
|
|
23
|
+
background: lightgray;
|
|
24
|
+
}
|
|
25
|
+
.loading-spinner {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 50%;
|
|
28
|
+
left: 50%;
|
|
29
|
+
transform: translate(-50%, -50%);
|
|
30
|
+
}
|
|
31
|
+
.link-image {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
left: 0;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
object-fit: cover;
|
|
38
|
+
object-position: center;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
a {
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
&[data-is-marrybaby='true'] {
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
border-radius: 1rem;
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
const useExternalScript = ({ url, onLoad, onError }) => {
|
|
51
|
+
const [state, setState] = useState(url ? 'loading' : 'idle');
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
if (!url) {
|
|
54
|
+
setState('idle');
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
let script = document.querySelector(`script[src="${url}"]`);
|
|
58
|
+
const handleLoadScript = () => {
|
|
59
|
+
setState('ready');
|
|
60
|
+
onLoad === null || onLoad === void 0 ? void 0 : onLoad();
|
|
61
|
+
};
|
|
62
|
+
const handleErrorScript = () => {
|
|
63
|
+
setState('error');
|
|
64
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
65
|
+
};
|
|
66
|
+
if (!script) {
|
|
67
|
+
script = document.createElement('script');
|
|
68
|
+
script.type = 'application/javascript';
|
|
69
|
+
script.src = url;
|
|
70
|
+
script.async = true;
|
|
71
|
+
document.body.appendChild(script);
|
|
72
|
+
script.addEventListener('load', handleLoadScript);
|
|
73
|
+
script.addEventListener('error', handleErrorScript);
|
|
74
|
+
}
|
|
75
|
+
script.addEventListener('load', handleLoadScript);
|
|
76
|
+
script.addEventListener('error', handleErrorScript);
|
|
77
|
+
return () => {
|
|
78
|
+
script.removeEventListener('load', handleLoadScript);
|
|
79
|
+
script.removeEventListener('error', handleErrorScript);
|
|
80
|
+
};
|
|
81
|
+
}, [url]);
|
|
82
|
+
return state;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const YoutubePlyr = ({ id, autoplay }) => {
|
|
86
|
+
const ref = useRef(null);
|
|
87
|
+
const state = useExternalScript({ url: 'https://cdn.plyr.io/3.7.8/plyr.js' });
|
|
88
|
+
useEffect(() => {
|
|
89
|
+
if (!document.getElementById('hhg-plyr-player')) {
|
|
90
|
+
const link = document.createElement('link');
|
|
91
|
+
link.rel = 'stylesheet';
|
|
92
|
+
link.type = 'text/css';
|
|
93
|
+
link.href = 'https://cdn.plyr.io/3.7.8/plyr.css';
|
|
94
|
+
link.id = 'hhg-plyr-player';
|
|
95
|
+
document.head.appendChild(link);
|
|
96
|
+
}
|
|
97
|
+
if (state === 'ready' || typeof Plyr !== 'undefined') {
|
|
98
|
+
new Plyr(ref.current.querySelector('[data-id="player"]'), {
|
|
99
|
+
autoplay,
|
|
100
|
+
muted: true,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}, [state]);
|
|
104
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
105
|
+
React__default.createElement(Box, { ref: ref, sx: {
|
|
106
|
+
position: 'absolute',
|
|
107
|
+
top: 0,
|
|
108
|
+
left: 0,
|
|
109
|
+
right: 0,
|
|
110
|
+
bottom: 0,
|
|
111
|
+
backgroundColor: '#000',
|
|
112
|
+
'&, > div': {
|
|
113
|
+
width: '100%',
|
|
114
|
+
height: '100%',
|
|
115
|
+
},
|
|
116
|
+
} },
|
|
117
|
+
React__default.createElement("div", { "data-id": "player" },
|
|
118
|
+
React__default.createElement("iframe", { width: "100%", height: "100%", src: `https://www.youtube.com/embed/${id}?&mute=1&enablejsapi=1&rel=0`, allowFullScreen: true, frameBorder: "0" })))));
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPlay = true, onPushStatus, }) => {
|
|
122
|
+
const { data: { locale }, } = useContext(TogetherComponentGlobalContext);
|
|
123
|
+
const [previewData, setPreviewData] = useState(null);
|
|
124
|
+
useEffect(() => {
|
|
125
|
+
(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
126
|
+
if (image)
|
|
127
|
+
return;
|
|
128
|
+
if (!url)
|
|
129
|
+
return setPreviewData(null);
|
|
130
|
+
setPreviewData((_data) => (Object.assign(Object.assign({}, _data), { isFetching: true })));
|
|
131
|
+
// fetch('./api/fetch-meta?url=' + encodeURIComponent(url))
|
|
132
|
+
// .then((res) => res.json())
|
|
133
|
+
// .then((res) =>
|
|
134
|
+
// setPreviewData({
|
|
135
|
+
// url,
|
|
136
|
+
// image: res?.image || res?.logo,
|
|
137
|
+
// }),
|
|
138
|
+
// )
|
|
139
|
+
callApi(getApiPath(PATHS.FETCH_PREVIEW, {
|
|
140
|
+
_locale: locale,
|
|
141
|
+
}, undefined, baseUrl), 'POST', {
|
|
142
|
+
data: {
|
|
143
|
+
link: url,
|
|
144
|
+
},
|
|
145
|
+
headers: {
|
|
146
|
+
'Content-Type': 'application/json',
|
|
147
|
+
},
|
|
148
|
+
}, !!baseUrl)
|
|
149
|
+
.then((res) => {
|
|
150
|
+
var _a, _b;
|
|
151
|
+
setPreviewData({
|
|
152
|
+
url,
|
|
153
|
+
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),
|
|
154
|
+
});
|
|
155
|
+
})
|
|
156
|
+
.catch(() => {
|
|
157
|
+
setPreviewData(null);
|
|
158
|
+
});
|
|
159
|
+
}))();
|
|
160
|
+
}, [url, image]);
|
|
161
|
+
const displayImage = image || (previewData === null || previewData === void 0 ? void 0 : previewData.image);
|
|
162
|
+
const displayUrl = (previewData === null || previewData === void 0 ? void 0 : previewData.url) || url;
|
|
163
|
+
const youtubeVidId = useMemo(() => {
|
|
164
|
+
return youtubeVidIdGetter(displayUrl);
|
|
165
|
+
}, [displayUrl]);
|
|
166
|
+
const facebookVidId = useMemo(() => {
|
|
167
|
+
return (displayUrl.includes('facebook.com') || displayUrl.includes('fb.watch'));
|
|
168
|
+
}, [displayUrl]);
|
|
169
|
+
const responsiveWidth = useRef(0);
|
|
170
|
+
const responsiveHeight = useRef(0);
|
|
171
|
+
const [forceRerenderFB, setForceRerenderFB] = useState(false);
|
|
172
|
+
// FACEBOOK Video is not responsive for desktop browser
|
|
173
|
+
// => hack: set size to same as container, if size change too large, re-render facebook iframe with new config
|
|
174
|
+
useEffect(() => {
|
|
175
|
+
const handleResize = () => {
|
|
176
|
+
var _a;
|
|
177
|
+
const containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
178
|
+
let toChangeSize = false;
|
|
179
|
+
if (containerRect &&
|
|
180
|
+
(!responsiveWidth.current ||
|
|
181
|
+
Math.abs((responsiveWidth.current - containerRect.width) /
|
|
182
|
+
(containerRect === null || containerRect === void 0 ? void 0 : containerRect.width)) > 0.2)) {
|
|
183
|
+
responsiveWidth.current = Math.floor(containerRect.width);
|
|
184
|
+
toChangeSize = true;
|
|
185
|
+
}
|
|
186
|
+
if (containerRect &&
|
|
187
|
+
(!responsiveHeight.current ||
|
|
188
|
+
Math.abs((responsiveHeight.current - containerRect.height) /
|
|
189
|
+
(containerRect === null || containerRect === void 0 ? void 0 : containerRect.height)) > 0.2)) {
|
|
190
|
+
responsiveHeight.current = Math.floor(containerRect.height);
|
|
191
|
+
toChangeSize = true;
|
|
192
|
+
}
|
|
193
|
+
if (toChangeSize) {
|
|
194
|
+
setForceRerenderFB((v) => !v);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
handleResize();
|
|
198
|
+
window.addEventListener('resize', handleResize, {
|
|
199
|
+
passive: true,
|
|
200
|
+
});
|
|
201
|
+
return () => {
|
|
202
|
+
window.removeEventListener('resize', handleResize);
|
|
203
|
+
};
|
|
204
|
+
}, []);
|
|
205
|
+
useEffect(() => {
|
|
206
|
+
if ((previewData === null || previewData === void 0 ? void 0 : previewData.image) && (previewData === null || previewData === void 0 ? void 0 : previewData.url)) {
|
|
207
|
+
onPushStatus === null || onPushStatus === void 0 ? void 0 : onPushStatus(true);
|
|
208
|
+
}
|
|
209
|
+
}, [previewData]);
|
|
210
|
+
const containerRef = useRef(null);
|
|
211
|
+
const _theme = useMantineTheme();
|
|
212
|
+
return (React__default.createElement(StyledSocialLinkPreview, { className: `${className} no-replace-click`, style: style, ref: containerRef, color: _theme.colors[_theme.primaryColor][0] }, !image && (youtubeVidId || facebookVidId) ? (React__default.createElement("div", { className: "link-image-wrapper" }, youtubeVidId ? (React__default.createElement(YoutubePlyr, { id: youtubeVidId, autoplay: autoPlay })) : 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: {
|
|
213
|
+
position: 'absolute',
|
|
214
|
+
top: '50%',
|
|
215
|
+
left: '50%',
|
|
216
|
+
border: 'none',
|
|
217
|
+
overflow: 'hidden',
|
|
218
|
+
height: responsiveHeight.current,
|
|
219
|
+
width: responsiveWidth.current,
|
|
220
|
+
transform: 'translate(-50%, -50%)',
|
|
221
|
+
}, 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" },
|
|
222
|
+
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 })))))));
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export { SocialLinkPreview as S };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Container } from './index-
|
|
2
|
+
import { C as Container } from './index-c4b2f711.js';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
4
|
+
import './index-8a3797fe.js';
|
|
5
|
+
import './index-1ff60d24.js';
|
|
6
6
|
import { Flex, Stack, Box } from '@mantine/core';
|
|
7
7
|
import '@mantine/dates';
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index.styles-
|
|
14
|
-
import './translationsContext-
|
|
8
|
+
import './index-7c6f1a51.js';
|
|
9
|
+
import './index-76eff284.js';
|
|
10
|
+
import './useMantineLocale-f17968c0.js';
|
|
11
|
+
import { T as Text } from './index-2e886c27.js';
|
|
12
|
+
import './index-749063ff.js';
|
|
13
|
+
import './index.styles-61d70f9e.js';
|
|
14
|
+
import './translationsContext-d3dcfbcf.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import { M as MediaQueries } from './utils-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
19
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
16
|
+
import { M as MediaQueries } from './utils-24a5fc0b.js';
|
|
17
|
+
import './other-ff97cf3a.js';
|
|
18
|
+
import './index-eec8b1cc.js';
|
|
19
|
+
import { u as useScreenSize } from './useScreenSize-11fc92d3.js';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
22
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
23
|
-
import { L as Logo } from './index-
|
|
24
|
-
import { M as MarryBabyText } from './index-
|
|
23
|
+
import { L as Logo } from './index-64de7793.js';
|
|
24
|
+
import { M as MarryBabyText } from './index-1df79247.js';
|
|
25
25
|
|
|
26
26
|
const StyledFooter$1 = styled.footer `
|
|
27
27
|
background-color: #1b3250;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default, { useState, useContext, useMemo, useRef, useEffect, createContext } from 'react';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import { T as Tabs } from './index-
|
|
5
|
-
import { L as Loading } from './index-
|
|
6
|
-
import { b as formatPost, a as formatCommunity, g as formatArticle } from './dataTransform-
|
|
4
|
+
import { T as Tabs } from './index-eec8b1cc.js';
|
|
5
|
+
import { L as Loading } from './index-dcb29363.js';
|
|
6
|
+
import { b as formatPost, a as formatCommunity, g as formatArticle } from './dataTransform-bda7b271.js';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, b as callApiWithAuth } from './utils-
|
|
8
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, b as callApiWithAuth } from './utils-1af61383.js';
|
|
9
9
|
import { Plus } from '@hhgtech/icons/core';
|
|
10
10
|
import { createStyles, Anchor, Accordion, Flex, useMantineTheme } from '@mantine/core';
|
|
11
|
-
import { C as CommonGAssets } from './index-
|
|
12
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
13
|
-
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-
|
|
14
|
-
import { S as SocialType } from './index-
|
|
15
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { C as CommonGAssets } from './index-76eff284.js';
|
|
12
|
+
import { I as ImageWrap } from './useScreenSize-11fc92d3.js';
|
|
13
|
+
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-86529a88.js';
|
|
14
|
+
import { S as SocialType } from './index-7c6f1a51.js';
|
|
15
|
+
import { u as useTranslations } from './index-b13ff4b9.js';
|
|
16
16
|
import { theme } from './miscTheme.js';
|
|
17
17
|
import { CrossLogo, ArrowDown } from '@hhgtech/icons/other';
|
|
18
|
-
import { A as Anchor$1 } from './index-
|
|
18
|
+
import { A as Anchor$1 } from './index-1ff60d24.js';
|
|
19
19
|
import '@mantine/dates';
|
|
20
|
-
import './index-
|
|
21
|
-
import './useMantineLocale-
|
|
22
|
-
import { T as Text } from './index-
|
|
23
|
-
import { B as Button } from './index-
|
|
24
|
-
import './index.styles-
|
|
20
|
+
import './index-8a3797fe.js';
|
|
21
|
+
import './useMantineLocale-f17968c0.js';
|
|
22
|
+
import { T as Text } from './index-2e886c27.js';
|
|
23
|
+
import { B as Button } from './index-749063ff.js';
|
|
24
|
+
import './index.styles-61d70f9e.js';
|
|
25
25
|
import '@mantine/hooks';
|
|
26
|
-
import './utils-
|
|
27
|
-
import './other-
|
|
26
|
+
import './utils-24a5fc0b.js';
|
|
27
|
+
import './other-ff97cf3a.js';
|
|
28
28
|
import styled from '@emotion/styled';
|
|
29
29
|
import { useTogetherAuthRequiredAction } from './useTogetherAuthRequiredAction.js';
|
|
30
|
-
import { d as decodeMention, b as decodePostUrl } from './post-
|
|
31
|
-
import { B as Button$1 } from './index-
|
|
32
|
-
import './translationsContext-
|
|
30
|
+
import { d as decodeMention, b as decodePostUrl } from './post-25e22605.js';
|
|
31
|
+
import { B as Button$1 } from './index-29d67804.js';
|
|
32
|
+
import './translationsContext-d3dcfbcf.js';
|
|
33
33
|
|
|
34
34
|
const StyledPostContent = styled.div `
|
|
35
35
|
padding: 0.5rem 1rem 1rem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as cookie } from './index-
|
|
2
|
-
import {
|
|
3
|
-
import { N as NodeIntentType } from './index-
|
|
1
|
+
import { c as cookie } from './index-cc333222.js';
|
|
2
|
+
import { e as BEARER_TOKEN_COOKIE } from './index-8a3797fe.js';
|
|
3
|
+
import { N as NodeIntentType } from './index-7c6f1a51.js';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default, { useRef, useState, useMemo } from 'react';
|
|
3
3
|
import { User } from '@hhgtech/icons/core';
|
|
4
|
-
import { S as Spinner } from './Spinner-
|
|
5
|
-
import { a as Avatar } from './index-
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
import { T as Text } from './index-
|
|
8
|
-
import { u as useTranslations } from './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
+
import { S as Spinner } from './Spinner-79a257a6.js';
|
|
5
|
+
import { a as Avatar } from './index-1ff60d24.js';
|
|
6
|
+
import { B as Button } from './index-749063ff.js';
|
|
7
|
+
import { T as Text } from './index-2e886c27.js';
|
|
8
|
+
import { u as useTranslations } from './index-b13ff4b9.js';
|
|
9
|
+
import './index-7c6f1a51.js';
|
|
10
|
+
import { C as CommonGAssets } from './index-76eff284.js';
|
|
11
11
|
import { theme } from './miscTheme.js';
|
|
12
12
|
import styled from '@emotion/styled';
|
|
13
|
-
import { M as MediaQueries } from './utils-
|
|
13
|
+
import { M as MediaQueries } from './utils-24a5fc0b.js';
|
|
14
14
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
15
15
|
import { ProfileNavigation } from './profileNavigation.js';
|
|
16
16
|
import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
17
|
-
import { L as LOCALE } from './Locale-
|
|
17
|
+
import { L as LOCALE } from './Locale-fee93066.js';
|
|
18
18
|
|
|
19
19
|
const useCSSFocusPopupHelper = (configs) => {
|
|
20
|
-
const { allowBgScroll
|
|
20
|
+
const { allowBgScroll } = configs || {};
|
|
21
21
|
const ref = useRef();
|
|
22
22
|
return {
|
|
23
23
|
containerRef: ref,
|
|
@@ -31,16 +31,9 @@ const useCSSFocusPopupHelper = (configs) => {
|
|
|
31
31
|
},
|
|
32
32
|
onButtonMouseDown: (e) => {
|
|
33
33
|
// this close popup when click, run after REact init
|
|
34
|
-
const elmSiteHeader = document.querySelector('#site-header');
|
|
35
|
-
if (enableNavTarotGame && elmSiteHeader) {
|
|
36
|
-
elmSiteHeader.style.backgroundColor = '#fff';
|
|
37
|
-
}
|
|
38
34
|
if (ref.current &&
|
|
39
35
|
(document.activeElement === ref.current ||
|
|
40
36
|
ref.current.contains(document.activeElement))) {
|
|
41
|
-
if (enableNavTarotGame && elmSiteHeader) {
|
|
42
|
-
elmSiteHeader.style.backgroundColor = 'transparent';
|
|
43
|
-
}
|
|
44
37
|
ref.current.blur();
|
|
45
38
|
document.activeElement.blur();
|
|
46
39
|
e.preventDefault();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { Modal as Modal$1 } from '@mantine/core';
|
|
4
|
-
import { u as useStyles } from './index.styles-
|
|
4
|
+
import { u as useStyles } from './index.styles-61d70f9e.js';
|
|
5
5
|
|
|
6
6
|
const Modal = (_a) => {
|
|
7
7
|
var { styles, classNames, transitionProps } = _a, rest = __rest(_a, ["styles", "classNames", "transitionProps"]);
|
|
@@ -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-24a5fc0b.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -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-24a5fc0b.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-6a677c4c.js';
|
|
8
|
+
import { T as Text } from './index-2e886c27.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|
|
@@ -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-b13ff4b9.js';
|
|
3
|
+
import { B as Button } from './index-29d67804.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { theme } from './miscTheme.js';
|
|
4
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
4
|
+
import { I as ImageWrap } from './useScreenSize-11fc92d3.js';
|
|
5
5
|
|
|
6
6
|
const StyledAvatar = styled.div `
|
|
7
7
|
background-color: var(--background-color, transparent);
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useCallback, useContext, useMemo } from 'react';
|
|
3
3
|
import { Info, Ask } from '@hhgtech/icons/other';
|
|
4
|
-
import { D as Dropdown } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { D as Dropdown } from './index-7ad01fa4.js';
|
|
5
|
+
import { u as useTranslations } from './index-b13ff4b9.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
8
|
+
import { I as Input$1 } from './index-1ff60d24.js';
|
|
9
9
|
import { useMantineTheme, Switch, Popover } from '@mantine/core';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import './index.styles-
|
|
11
|
+
import './index-8a3797fe.js';
|
|
12
|
+
import './index-7c6f1a51.js';
|
|
13
|
+
import './index-76eff284.js';
|
|
14
|
+
import './useMantineLocale-f17968c0.js';
|
|
15
|
+
import { T as Text } from './index-2e886c27.js';
|
|
16
|
+
import { B as Button } from './index-749063ff.js';
|
|
17
|
+
import './index.styles-61d70f9e.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { u as useImagePicker, a as PopupFrame,
|
|
23
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-
|
|
19
|
+
import { M as MediaQueries } from './utils-24a5fc0b.js';
|
|
20
|
+
import './other-ff97cf3a.js';
|
|
21
|
+
import './index-eec8b1cc.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-91981f41.js';
|
|
23
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-1af61383.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-
|
|
26
|
-
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-
|
|
27
|
-
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-
|
|
28
|
-
import { C as CardAuthor
|
|
29
|
-
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-
|
|
30
|
-
import { I as Input } from './index-
|
|
25
|
+
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-bda7b271.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-e3bf1dcd.js';
|
|
27
|
+
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-25e22605.js';
|
|
28
|
+
import { C as CardAuthor } from './index-86529a88.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-ab4e1225.js';
|
|
30
|
+
import { I as Input } from './index-72e7fffe.js';
|
|
31
31
|
import debounce from 'lodash/debounce';
|
|
32
32
|
import ContentEditable from 'react-contenteditable';
|
|
33
33
|
import { PATHS, ADMIN_PATHS } from './togetherApiPaths.js';
|
|
34
|
-
import { L as Loading } from './index-
|
|
35
|
-
import { C as CardLink } from './index-
|
|
36
|
-
import { B as BtnChoice } from './index-
|
|
37
|
-
import { L as LOCALE } from './Locale-
|
|
34
|
+
import { L as Loading } from './index-3e7cea05.js';
|
|
35
|
+
import { C as CardLink } from './index-c15c044c.js';
|
|
36
|
+
import { B as BtnChoice } from './index-590fcd6a.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-fee93066.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
39
|
+
import { L as Loading$1 } from './index-eda053dd.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-109b0adb.js';
|
|
41
|
+
import { B as Button$1 } from './index-29d67804.js';
|
|
41
42
|
import { getCookie } from './miscCookieHelper.js';
|
|
42
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
43
|
-
import { U as UserAvatar } from './index-
|
|
44
|
-
import { P as PopoverMenu } from './index-
|
|
43
|
+
import { a as useUniqueId } from './useUniqueId-d85246b9.js';
|
|
44
|
+
import { U as UserAvatar } from './index-8468f319.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-4829411b.js';
|
|
45
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
46
47
|
|
|
47
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { B as Button } from './index-29d67804.js';
|
|
3
|
+
import { u as useTranslations } from './index-b13ff4b9.js';
|
|
4
|
+
import { keyframes } from '@emotion/react';
|
|
5
|
+
import styled from '@emotion/styled';
|
|
6
|
+
import { theme } from './miscTheme.js';
|
|
7
|
+
|
|
8
|
+
const StyledLoading = styled.div `
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
padding: 1em;
|
|
13
|
+
button {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
const circle = keyframes `
|
|
18
|
+
0% {
|
|
19
|
+
transform: rotate(0deg);
|
|
20
|
+
}
|
|
21
|
+
100% {
|
|
22
|
+
transform: rotate(360deg);
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
styled.div `
|
|
26
|
+
display: flex;
|
|
27
|
+
width: fit-content;
|
|
28
|
+
width: -moz-fit-content;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
padding: 1rem 2rem;
|
|
33
|
+
background: white;
|
|
34
|
+
border-radius: ${theme.borderRadius};
|
|
35
|
+
box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
|
|
36
|
+
-2px 2px 5px rgba(67, 86, 100, 0.123689);
|
|
37
|
+
.loading-spinner {
|
|
38
|
+
width: 24px;
|
|
39
|
+
height: 24px;
|
|
40
|
+
margin-bottom: 0.5rem;
|
|
41
|
+
animation: ${circle} 1.2s linear infinite;
|
|
42
|
+
}
|
|
43
|
+
&[data-is-marrybaby='true'] {
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
}
|
|
46
|
+
`;
|
|
47
|
+
|
|
48
|
+
const Loading = ({ className, size = 'md' }) => {
|
|
49
|
+
const { t } = useTranslations();
|
|
50
|
+
return (React__default.createElement(StyledLoading, { className: className },
|
|
51
|
+
React__default.createElement(Button, { size: size, color: "transparent", isLoading: true }, t('loading'))));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { Loading as L };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-1ff60d24.js';
|
|
4
4
|
import '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text$1 } from './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import './index-8a3797fe.js';
|
|
7
|
+
import './index-7c6f1a51.js';
|
|
8
|
+
import './index-76eff284.js';
|
|
9
|
+
import './useMantineLocale-f17968c0.js';
|
|
10
|
+
import { T as Text$1 } from './index-2e886c27.js';
|
|
11
|
+
import './index-749063ff.js';
|
|
12
|
+
import './index.styles-61d70f9e.js';
|
|
13
|
+
import './translationsContext-d3dcfbcf.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
15
|
+
import './utils-24a5fc0b.js';
|
|
16
|
+
import './other-ff97cf3a.js';
|
|
17
|
+
import './index-eec8b1cc.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Consider to use import { Text } from '@hhgtech/hhg-components/mantine'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-3d0d57aa.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { ArrowLeft, ArrowRight } from '@hhgtech/icons/other';
|
|
4
4
|
import { createStyles, rem, Tabs as Tabs$1, ScrollArea } from '@mantine/core';
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
import { T as Text } from './index-
|
|
5
|
+
import { B as Button } from './index-749063ff.js';
|
|
6
|
+
import { T as Text } from './index-2e886c27.js';
|
|
7
7
|
|
|
8
8
|
var useStyles = createStyles((theme, params) => {
|
|
9
9
|
const { variant } = params;
|