@hhgtech/hhg-components 1.29.534-beta-1 → 1.29.535-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{InputDate-86de797d.js → InputDate-e36acf43.js} +5 -5
- package/build/{LastPeriod-ba0cd22f.js → LastPeriod-f3169727.js} +1 -1
- package/build/{MobileBottomNavigationIcon-5f4ed642.js → MobileBottomNavigationIcon-0337b8c4.js} +3 -3
- package/build/{SiteWideBanner-bd4944de.js → SiteWideBanner-f5d39108.js} +11 -11
- package/build/{Spinner-af8c53a5.js → Spinner-ac95cd49.js} +1 -1
- package/build/{WhatsApp-1429e6e3.js → WhatsApp-db50372b.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +54 -54
- 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 +3 -0
- package/build/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/components/molecules/popupBoostPageView/index.d.ts +31 -0
- package/build/components.js +155 -153
- package/build/{constants-917075a5.js → constants-3a105b5b.js} +3 -2
- package/build/{constants-bd0122a7.js → constants-8571c4dd.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-42752ee4.js → core-711505a4.js} +1 -1
- package/build/{dataTransform-cdb24d6c.js → dataTransform-1a34225a.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-1d2dfa5d.js → editor-eb67074b.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-78baa7d0.js → InputDate-1f29addf.js} +5 -5
- package/build/esm/{LastPeriod-55b8b191.js → LastPeriod-9d923b34.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-31a75538.js → MobileBottomNavigationIcon-37a9bc87.js} +3 -3
- package/build/esm/{SiteWideBanner-fc36132a.js → SiteWideBanner-5ede75f5.js} +11 -11
- package/build/esm/{Spinner-59adb30b.js → Spinner-743f8c63.js} +1 -1
- package/build/esm/{WhatsApp-1becb57a.js → WhatsApp-bc095155.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +53 -53
- 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 +3 -0
- package/build/esm/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/esm/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/esm/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/esm/components/molecules/popupBoostPageView/index.d.ts +31 -0
- package/build/esm/components.js +109 -109
- package/build/esm/{constants-80f7b8b8.js → constants-37007b2c.js} +3 -3
- package/build/esm/{constants-95b30aaf.js → constants-404d15d2.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-ba79ee03.js → core-fca356d8.js} +1 -1
- package/build/esm/{dataTransform-25490343.js → dataTransform-9ebf9bf0.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-dc9ea48d.js → editor-1ab6089e.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-f4ad832c.js → healthTools-0c17045e.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +11 -1
- package/build/esm/i18n-values/hi-IN.js +11 -1
- package/build/esm/i18n-values/id-ID.js +11 -1
- package/build/esm/i18n-values/km-KH.js +11 -1
- package/build/esm/i18n-values/ms-MY.js +11 -1
- package/build/esm/i18n-values/my-MM.js +11 -1
- package/build/esm/i18n-values/th-TH.js +11 -1
- package/build/esm/i18n-values/tl-PH.js +11 -1
- package/build/esm/i18n-values/vi-VN.js +11 -1
- package/build/esm/i18n-values/vi-VN_MB.js +11 -1
- package/build/esm/i18n-values/zh-SG.js +11 -1
- package/build/esm/i18n-values/zh-TW.js +11 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-a035866d.js → index-013d0e96.js} +1 -1
- package/build/esm/{index-2b7c458d.js → index-01e8d792.js} +22 -22
- package/build/esm/{index-4df53129.js → index-060998eb.js} +1 -1
- package/build/esm/{index-efab3a9d.js → index-14aa58d2.js} +4 -4
- package/build/esm/{index-ec14c53d.js → index-18bc0058.js} +9 -9
- package/build/esm/{index-bfa04b00.js → index-203f44eb.js} +4 -4
- package/build/esm/{index-2a8e5ecf.js → index-268da16b.js} +2 -2
- package/build/esm/{index-99f12eb9.js → index-2be2141f.js} +15 -15
- package/build/esm/{index-645441b6.js → index-2f65332f.js} +2 -2
- package/build/esm/{index-8c710c0f.js → index-39aa5654.js} +34 -34
- package/build/esm/{index-46167bb8.js → index-3a8b749b.js} +16 -16
- package/build/esm/{index-91d4b81b.js → index-3c29d9dd.js} +16 -16
- package/build/esm/{index-1140f6b7.js → index-3ec1503e.js} +1 -1
- package/build/esm/{index-76fdab0f.js → index-3f9050aa.js} +16 -16
- package/build/esm/{index-d17ee21a.js → index-3ffda36c.js} +6 -6
- package/build/esm/{index-e224e0e7.js → index-4513ed67.js} +3 -3
- package/build/esm/{index-5f226882.js → index-47661f97.js} +11 -11
- package/build/esm/{index-4605698e.js → index-4a2359b3.js} +8 -8
- package/build/esm/{index-7522a9e1.js → index-4be1ab00.js} +18 -18
- package/build/esm/{index-31a7824b.js → index-4cc919a5.js} +1 -1
- package/build/esm/{index-8226c0a3.js → index-4d172c08.js} +3 -3
- package/build/esm/{index-f83ccbcc.js → index-4d502b48.js} +2 -2
- package/build/esm/{index-40570a9c.js → index-4e879372.js} +2 -2
- package/build/esm/{index-c2c7b2bb.js → index-4fc6b035.js} +3 -3
- package/build/esm/{index-bb9a6878.js → index-548eb660.js} +2 -2
- package/build/esm/{index-b140a520.js → index-557f1490.js} +25 -25
- package/build/esm/{index-f793ee64.js → index-58ad4cfd.js} +32 -32
- package/build/esm/{index-8cb9122e.js → index-5eecb85b.js} +17 -17
- package/build/esm/{index-0d1da4e0.js → index-5f9aaacb.js} +9 -9
- package/build/esm/{index-06bad4b0.js → index-640a9bd3.js} +16 -16
- package/build/esm/{index-9eceee8e.js → index-659e2aa2.js} +1 -1
- package/build/esm/{index-dae3d4ca.js → index-770c7a56.js} +2 -2
- package/build/esm/{index-8f192fed.js → index-77a9f6ba.js} +6 -6
- package/build/esm/{index-eb31af51.js → index-77c65088.js} +8 -3
- package/build/esm/{index-4225fecc.js → index-7c27cc59.js} +3 -3
- package/build/esm/{index-98f7e3bc.js → index-8885a39c.js} +14 -14
- package/build/esm/{index-abf6be7b.js → index-8ddb6271.js} +15 -15
- package/build/esm/{index-6838a686.js → index-8f789a7c.js} +2 -2
- package/build/esm/{index-f2671447.js → index-9a683b06.js} +15 -15
- package/build/esm/index-a03439ab.js +113 -0
- package/build/esm/{index-49d47387.js → index-a1b3080b.js} +3 -3
- package/build/esm/{index-aee5b88c.js → index-a3a10ecd.js} +6 -6
- package/build/esm/{index-9301649c.js → index-a69ebcc8.js} +3 -3
- package/build/esm/{index-ae9d9395.js → index-ac875c34.js} +32 -32
- package/build/esm/{index-7bea5c16.js → index-ace53ba0.js} +1 -1
- package/build/esm/{index-f0b1ad20.js → index-b2dfc4d6.js} +2 -2
- package/build/esm/{index-7fcc5cf6.js → index-b4e87886.js} +13 -13
- package/build/esm/{index-d07b8a7e.js → index-b5b1c47d.js} +3 -3
- package/build/esm/{index-16bfb6a3.js → index-b6102f38.js} +18 -18
- package/build/esm/{index-a5c038b3.js → index-b7340e4e.js} +2 -2
- package/build/esm/{index-0d9432eb.js → index-ba30c7e7.js} +5 -5
- package/build/esm/{index-900eb0d7.js → index-ba7ede9c.js} +2 -2
- package/build/esm/{index-c037206f.js → index-bcad4e96.js} +6 -6
- package/build/esm/{index-ad54c812.js → index-c6c8996c.js} +25 -24
- package/build/esm/{index-d7863ee9.js → index-c7b3bb8c.js} +3 -3
- package/build/esm/{index-788e18dc.js → index-c8c7be5b.js} +2 -2
- package/build/esm/{index-80a96e77.js → index-d1f041f2.js} +2 -2
- package/build/esm/{index-b6edfcff.js → index-d3286a1d.js} +14 -14
- package/build/esm/{index-2c7b61b4.js → index-d3c46c8b.js} +2 -2
- package/build/esm/{index-7d83d9ad.js → index-d92cddf2.js} +2 -2
- package/build/esm/{index-df5b8ffe.js → index-e052e380.js} +20 -20
- package/build/esm/{index-bde721e0.js → index-eb917852.js} +2 -2
- package/build/esm/{index-f69f6993.js → index-ecdc6470.js} +12 -12
- package/build/esm/{index-7b5ff8ce.js → index-eff1e830.js} +3 -3
- package/build/esm/{index-902a9bfe.js → index-f0ab091c.js} +13 -13
- package/build/esm/{index-ece0ccac.js → index-f50cb51f.js} +3 -111
- package/build/esm/{index-3b67dff3.js → index-f5e87c86.js} +3 -3
- package/build/esm/{index-4c307478.js → index-f60f746d.js} +7 -7
- package/build/esm/{index-60026b50.js → index-f76da51b.js} +2 -2
- package/build/esm/{index-a7f7456d.js → index-f89c232a.js} +14 -14
- package/build/esm/{index-e30ed23a.js → index-fb11c311.js} +7 -7
- package/build/esm/{index-ac47436d.js → index-fce2eded.js} +21 -21
- package/build/esm/index.js +131 -131
- package/build/esm/{labelSorting-108c675b.js → labelSorting-af2ed360.js} +4 -4
- package/build/esm/lead.js +37 -38
- package/build/esm/{logoIcon-c3846269.js → logoIcon-e1715755.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 +87 -85
- 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 +64 -64
- package/build/esm/{post-9a37f09b.js → post-9f701f6b.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-77abab70.js → store-68b12d73.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-7cbc4950.js → surveyThankyouCard-1b1b3d1b.js} +5 -5
- package/build/esm/together/api/paths.d.ts +1 -0
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiPaths.js +1 -0
- 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-1efc0ff6.js → transform-4a07e970.js} +608 -32
- package/build/esm/{translationsProvider-3bcfd404.js → translationsProvider-bb0c7c9a.js} +1 -1
- package/build/esm/{treePopoverMenu-49fc3154.js → treePopoverMenu-63f6fc45.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-048079e2.js → useCartCareService-1233dfaf.js} +1 -1
- package/build/esm/{useHealthToolCache-b8b19248.js → useHealthToolCache-8cfdb24f.js} +1 -1
- package/build/esm/{usePhoneValidator-809a3365.js → usePhoneValidator-f3726c82.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-a6e19066.js → usePlacesAutocomplete-5fdcc964.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-de7b9f43.js → utils-1551ea31.js} +4 -4
- package/build/esm/{utils-7761c235.js → utils-224eb19d.js} +2 -2
- package/build/esm/{utils-975642e2.js → utils-308ac86c.js} +2 -2
- package/build/esm/{utils-3bd9323b.js → utils-70ffba4c.js} +4 -4
- package/build/esm/{utils-50dfcc29.js → utils-e856b408.js} +5 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-529d50e2.js → healthTools-ec0b971a.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +11 -1
- package/build/i18n-values/hi-IN.js +11 -1
- package/build/i18n-values/id-ID.js +11 -1
- package/build/i18n-values/km-KH.js +11 -1
- package/build/i18n-values/ms-MY.js +11 -1
- package/build/i18n-values/my-MM.js +11 -1
- package/build/i18n-values/th-TH.js +11 -1
- package/build/i18n-values/tl-PH.js +11 -1
- package/build/i18n-values/vi-VN.js +11 -1
- package/build/i18n-values/vi-VN_MB.js +11 -1
- package/build/i18n-values/zh-SG.js +11 -1
- package/build/i18n-values/zh-TW.js +11 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-9e6e0d54.js → index-01b8927f.js} +21 -21
- package/build/{index-7b189023.js → index-03830704.js} +1 -1
- package/build/{index-b8d84c57.js → index-07e44bbf.js} +32 -9
- package/build/{index-919860d2.js → index-0d8cc90a.js} +3 -3
- package/build/{index-768175b2.js → index-15758c98.js} +34 -34
- package/build/{index-e175dacf.js → index-21ed1a34.js} +3 -3
- package/build/{index-45815b9f.js → index-25ba1332.js} +2 -2
- package/build/{index-36a97f58.js → index-25e81413.js} +2 -2
- package/build/{index-067ea65b.js → index-27f010c0.js} +2 -2
- package/build/{index-37220284.js → index-28ab9387.js} +32 -32
- package/build/{index-109a08e5.js → index-2c09721b.js} +2 -2
- package/build/{index-091f5827.js → index-2da99c24.js} +16 -16
- package/build/{index-ed783f22.js → index-322bd2f3.js} +2 -2
- package/build/{index-784efbb8.js → index-3334e785.js} +2 -2
- package/build/{index-fae1782a.js → index-38475940.js} +25 -25
- package/build/{index-26d51385.js → index-3fdc60f2.js} +32 -32
- package/build/index-405d9450.js +120 -0
- package/build/{index-b78624f9.js → index-41358bbc.js} +16 -16
- package/build/{index-2774668d.js → index-42c2f97d.js} +18 -18
- package/build/{index-7f8f9717.js → index-44509b09.js} +3 -3
- package/build/{index-01db4fd9.js → index-44ad924e.js} +2 -2
- package/build/{index-4049e226.js → index-484df63b.js} +2 -2
- package/build/{index-59fa1c34.js → index-4a68ca3d.js} +3 -3
- package/build/{index-e80cecd1.js → index-4ba6318e.js} +4 -4
- package/build/{index-4442f51e.js → index-4cc28673.js} +2 -2
- package/build/{index-0d25fa68.js → index-4cf2b7bb.js} +14 -14
- package/build/{index-0a18150e.js → index-507c4a88.js} +2 -2
- package/build/{index-e64e49f7.js → index-55498938.js} +3 -3
- package/build/{index-17d07cc4.js → index-569e383c.js} +2 -2
- package/build/{index-f331fc29.js → index-57221106.js} +3 -3
- package/build/{index-736d9eab.js → index-6448dbb9.js} +2 -2
- package/build/{index-e5223b65.js → index-644d329e.js} +13 -13
- package/build/{index-1b83bc83.js → index-6b18199b.js} +10 -10
- package/build/{index-307dbd66.js → index-6bffa5e5.js} +18 -18
- package/build/{index-2920a75b.js → index-6d042d7c.js} +2 -111
- package/build/{index-31a1860d.js → index-706181bc.js} +7 -7
- package/build/{index-e61d8524.js → index-83c0c161.js} +6 -6
- package/build/{index-978d3f7d.js → index-864b4b32.js} +16 -16
- package/build/{index-4fecbf3d.js → index-8b1c3034.js} +6 -6
- package/build/{index-7ab88a80.js → index-8e144fb8.js} +16 -16
- package/build/{index-c99d3c81.js → index-8e8f123d.js} +6 -6
- package/build/{index-3499f673.js → index-9537d005.js} +68 -67
- package/build/{index-435afdba.js → index-953ab1e6.js} +12 -12
- package/build/{index-ad838cce.js → index-9646bddc.js} +1 -1
- package/build/{index-e7f64084.js → index-991cc8fb.js} +3 -3
- package/build/{index-82b9ccba.js → index-9c388206.js} +2 -2
- package/build/{index-8f0730b6.js → index-9d4e703c.js} +8 -8
- package/build/{index-30de70fb.js → index-9e92966b.js} +13 -13
- package/build/{index-f4b42a48.js → index-9f2c5324.js} +16 -16
- package/build/{index-8c06c103.js → index-a2a4db79.js} +1 -1
- package/build/{index-5889c450.js → index-a3042e6c.js} +1 -1
- package/build/{index-6b14772e.js → index-a3ef9142.js} +2 -2
- package/build/{index-0f836631.js → index-a59ad212.js} +9 -9
- package/build/{index-e702975a.js → index-ae80fd4f.js} +14 -14
- package/build/{index-68f52e0d.js → index-b0b0278f.js} +15 -15
- package/build/{index-924d41f2.js → index-b4278821.js} +4 -4
- package/build/{index-d6b27190.js → index-b522e843.js} +11 -11
- package/build/{index-6829c1c2.js → index-b7834790.js} +3 -3
- package/build/{index-27a41819.js → index-c8c107ff.js} +15 -15
- package/build/{index-52b63b54.js → index-cdc643a5.js} +2 -1
- package/build/{index-6ff5ccc5.js → index-d42b6d29.js} +3 -3
- package/build/{index-55bf14db.js → index-dbdb23da.js} +17 -17
- package/build/{index-a1df99c6.js → index-dc6e15d9.js} +22 -22
- package/build/{index-b3ef65d1.js → index-dcf7ccc2.js} +6 -6
- package/build/{index-2c23d625.js → index-dd626b07.js} +1 -1
- package/build/{index-9f10fad7.js → index-dd8f5c3e.js} +20 -20
- package/build/{index-ae282421.js → index-e5f0958d.js} +2 -2
- package/build/{index-28378242.js → index-e83cea31.js} +5 -5
- package/build/{index-0f1e1fe4.js → index-ecaa31fa.js} +1 -1
- package/build/{index-8a3522b6.js → index-f23745da.js} +7 -7
- package/build/{index-7b6e16d7.js → index-f5214cbc.js} +14 -14
- package/build/{index-d11e0531.js → index-fd1234a6.js} +3 -3
- package/build/index.js +218 -216
- package/build/{labelSorting-a146bd56.js → labelSorting-17795c3d.js} +4 -4
- package/build/lead.js +38 -39
- package/build/{logoIcon-71ffd6d5.js → logoIcon-75eea6d0.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 +89 -85
- 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 +64 -64
- package/build/{post-be7a71ed.js → post-0e795482.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-6ab5727d.js → store-5c08e3b4.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-03506fc8.js → surveyThankyouCard-9065aa5f.js} +5 -5
- package/build/together/api/paths.d.ts +1 -0
- package/build/together.js +57 -57
- package/build/togetherApiPaths.js +1 -0
- 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-173a7c14.js → transform-35894a94.js} +614 -34
- package/build/{translationsProvider-00d35e79.js → translationsProvider-3f727fa6.js} +1 -1
- package/build/{treePopoverMenu-7b8e7d57.js → treePopoverMenu-150fe3d0.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-1605c06b.js → useCartCareService-87a7f37e.js} +1 -1
- package/build/{useHealthToolCache-1f629fd2.js → useHealthToolCache-169934ff.js} +1 -1
- package/build/{usePhoneValidator-9b20cde5.js → usePhoneValidator-e18703cb.js} +5 -5
- package/build/{usePlacesAutocomplete-743245aa.js → usePlacesAutocomplete-c65de69a.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-aff98d6c.js → utils-20039952.js} +2 -2
- package/build/{utils-a0b72f1d.js → utils-5aef9a5e.js} +2 -2
- package/build/{utils-a6d441b9.js → utils-8b6e346c.js} +4 -4
- package/build/{utils-12b7d119.js → utils-b86a33af.js} +5 -5
- package/build/{utils-66f85700.js → utils-fca330e1.js} +3 -3
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/Close-2b33f552.js +0 -29
- package/build/esm/Close-95b14cab.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-f9ed063d.js → BMI_BOYS.percentile.monthly-9eebe9cf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-a29ccc6b.js → BMI_BOYS.percentile.weekly-c39d46bb.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-685403ad.js → BMI_BOYS.percentile.yearly-94d28a84.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a160abb2.js → BMI_BOYS.zscore.monthly-01f35f7c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8b6ac045.js → BMI_BOYS.zscore.weekly-a91ceca2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-744fe588.js → BMI_BOYS.zscore.yearly-8acd260c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-da166c9f.js → BMI_GIRLS.percentile.monthly-9b2793cf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-073c88c9.js → BMI_GIRLS.percentile.weekly-264164f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-90a54b95.js → BMI_GIRLS.percentile.yearly-302c5e9f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8eb4da5f.js → BMI_GIRLS.zscore.monthly-4ab8d703.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-1fcff118.js → BMI_GIRLS.zscore.weekly-ad13b071.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9e985b21.js → BMI_GIRLS.zscore.yearly-716b48e1.js} +0 -0
- /package/build/{ChevronDown-8cfe2c4e.js → ChevronDown-b8094af2.js} +0 -0
- /package/build/{Google-693ea36a.js → Google-bc048cf0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-3eca9626.js → HEAD CIRCUM_BOYS.percentile.monthly-b262e0e4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9da8b79f.js → HEAD CIRCUM_BOYS.percentile.weekly-f0acf39e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a1bf449c.js → HEAD CIRCUM_BOYS.percentile.yearly-b9b17895.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8e1c9428.js → HEAD CIRCUM_BOYS.zscore.monthly-fcf435b3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2c2c1d26.js → HEAD CIRCUM_BOYS.zscore.weekly-1fed3af5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b2aa8a47.js → HEAD CIRCUM_BOYS.zscore.yearly-8da37cd4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-59763d37.js → HEAD CIRCUM_GIRLS.percentile.monthly-3f58377a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-921c63b7.js → HEAD CIRCUM_GIRLS.percentile.weekly-dff12d6d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-174c1192.js → HEAD CIRCUM_GIRLS.percentile.yearly-97744287.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-8d11d892.js → HEAD CIRCUM_GIRLS.zscore.monthly-19da2e6d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cd1919a0.js → HEAD CIRCUM_GIRLS.zscore.weekly-b67d012c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e3168375.js → HEAD CIRCUM_GIRLS.zscore.yearly-c447c22f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-59589ba1.js → HEIGHT_BOYS.percentile.monthly-1119985b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-67a80010.js → HEIGHT_BOYS.percentile.weekly-a0e51cbd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-bfc8aa8d.js → HEIGHT_BOYS.percentile.yearly-824fd20e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6144bd52.js → HEIGHT_BOYS.zscore.monthly-6c9b19b9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-946ccb89.js → HEIGHT_BOYS.zscore.weekly-9dc59e5e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-bb60ca99.js → HEIGHT_BOYS.zscore.yearly-8d798ebe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-b9b1f2dc.js → HEIGHT_GIRLS.percentile.monthly-40da9848.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-2df0003e.js → HEIGHT_GIRLS.percentile.weekly-fd103f47.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1d9a019a.js → HEIGHT_GIRLS.percentile.yearly-05375096.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-70bec30d.js → HEIGHT_GIRLS.zscore.monthly-cb1e1867.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-bf6aa623.js → HEIGHT_GIRLS.zscore.weekly-057a88c4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-362ded74.js → HEIGHT_GIRLS.zscore.yearly-092799fc.js} +0 -0
- /package/build/{Locale-c5305b05.js → Locale-5a83f75b.js} +0 -0
- /package/build/{Visible-fa77e8aa.js → Visible-f4f5246d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b79733ed.js → WEIGHT_BOYS.percentile.monthly-261c5a51.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-3b063dd2.js → WEIGHT_BOYS.percentile.weekly-e4c63b08.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-af47b580.js → WEIGHT_BOYS.percentile.yearly-0cfb4954.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-360a3eda.js → WEIGHT_BOYS.zscore.monthly-10597603.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-299cd0ff.js → WEIGHT_BOYS.zscore.weekly-261ef843.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-3ac70840.js → WEIGHT_BOYS.zscore.yearly-4aed196a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e0f6aa04.js → WEIGHT_GIRLS.percentile.monthly-847725e5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-01735480.js → WEIGHT_GIRLS.percentile.weekly-52ba9466.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-1c8eb5af.js → WEIGHT_GIRLS.percentile.yearly-9a29980e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ee14bdfe.js → WEIGHT_GIRLS.zscore.monthly-15bc683d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-d2563431.js → WEIGHT_GIRLS.zscore.weekly-42447a43.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-ae7c09c0.js → WEIGHT_GIRLS.zscore.yearly-91e34521.js} +0 -0
- /package/build/{ageGenerate-9a3b96b7.js → ageGenerate-b6e83a57.js} +0 -0
- /package/build/{animation-d8b548c5.js → animation-a768b8bf.js} +0 -0
- /package/build/{constants-2137d7e8.js → constants-1c149930.js} +0 -0
- /package/build/{constants-5f4829e2.js → constants-7afe63ff.js} +0 -0
- /package/build/{constants-128785e4.js → constants-9f0f6639.js} +0 -0
- /package/build/{context-3a5204fb.js → context-caa00887.js} +0 -0
- /package/build/{dataTransform-4cbe1cfb.js → dataTransform-0b9e61ff.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-1ddc191f.js → BMI_BOYS.percentile.monthly-2842be47.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b9da007a.js → BMI_BOYS.percentile.weekly-902057ca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-fd23ab5d.js → BMI_BOYS.percentile.yearly-fbb96351.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-58533808.js → BMI_BOYS.zscore.monthly-451fdaea.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-58be200c.js → BMI_BOYS.zscore.weekly-a785ab4d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b012f7af.js → BMI_BOYS.zscore.yearly-db13e10e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-79152bee.js → BMI_GIRLS.percentile.monthly-c0fe420b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-3f8d8406.js → BMI_GIRLS.percentile.weekly-362d748f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c80095ea.js → BMI_GIRLS.percentile.yearly-5a1712f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a6e73f84.js → BMI_GIRLS.zscore.monthly-70edb826.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ef2268d5.js → BMI_GIRLS.zscore.weekly-6bc69c43.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8c5e9744.js → BMI_GIRLS.zscore.yearly-e118dc4b.js} +0 -0
- /package/build/esm/{ChevronDown-a5001eb1.js → ChevronDown-f87b5a4f.js} +0 -0
- /package/build/esm/{Google-7dfb06ca.js → Google-b637c4e3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d676c033.js → HEAD CIRCUM_BOYS.percentile.monthly-ab6d52cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6db71690.js → HEAD CIRCUM_BOYS.percentile.weekly-9b34e936.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-85f6f654.js → HEAD CIRCUM_BOYS.percentile.yearly-99d4ea72.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-44ec7c56.js → HEAD CIRCUM_BOYS.zscore.monthly-282c07e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-10cdb8e3.js → HEAD CIRCUM_BOYS.zscore.weekly-1ded7174.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-fceb35f0.js → HEAD CIRCUM_BOYS.zscore.yearly-8b4b0280.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-30f83f13.js → HEAD CIRCUM_GIRLS.percentile.monthly-19c8444b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-04b8a5f3.js → HEAD CIRCUM_GIRLS.percentile.weekly-e02eab47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-104bf0db.js → HEAD CIRCUM_GIRLS.percentile.yearly-b5c32bd0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9a9520e4.js → HEAD CIRCUM_GIRLS.zscore.monthly-7e2cf322.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a09f37f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-dd5fad66.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d5c340dd.js → HEAD CIRCUM_GIRLS.zscore.yearly-f960eb08.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f71ba8aa.js → HEIGHT_BOYS.percentile.monthly-c59bd914.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-669814ad.js → HEIGHT_BOYS.percentile.weekly-d4d6a476.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7f7bba10.js → HEIGHT_BOYS.percentile.yearly-acb0a8bd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a5754d62.js → HEIGHT_BOYS.zscore.monthly-088a0552.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3a20d3d6.js → HEIGHT_BOYS.zscore.weekly-e53ccc3c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6c0fe5a8.js → HEIGHT_BOYS.zscore.yearly-d097c7f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7ebab5d4.js → HEIGHT_GIRLS.percentile.monthly-9ab9df70.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-90bb6370.js → HEIGHT_GIRLS.percentile.weekly-f2083094.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4603f700.js → HEIGHT_GIRLS.percentile.yearly-d6148f91.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1c6d124f.js → HEIGHT_GIRLS.zscore.monthly-271f0596.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3d576c9c.js → HEIGHT_GIRLS.zscore.weekly-df0e9360.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f5a42540.js → HEIGHT_GIRLS.zscore.yearly-a3b25558.js} +0 -0
- /package/build/esm/{Locale-f237fbe6.js → Locale-908c3d6a.js} +0 -0
- /package/build/esm/{Visible-818d0338.js → Visible-ef52c6a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-36bb68d7.js → WEIGHT_BOYS.percentile.monthly-d34056bc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3e382cb6.js → WEIGHT_BOYS.percentile.weekly-4d7338bb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d303ff4e.js → WEIGHT_BOYS.percentile.yearly-62356a95.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-71476c5d.js → WEIGHT_BOYS.zscore.monthly-fa69edf8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0049ced9.js → WEIGHT_BOYS.zscore.weekly-e4572889.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-bef5d4b6.js → WEIGHT_BOYS.zscore.yearly-8f7da5da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-89179bdd.js → WEIGHT_GIRLS.percentile.monthly-69019ce9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1044b4dc.js → WEIGHT_GIRLS.percentile.weekly-157f2b43.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e17ee519.js → WEIGHT_GIRLS.percentile.yearly-4cde62fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3fcefdb6.js → WEIGHT_GIRLS.zscore.monthly-4116a769.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-801c5880.js → WEIGHT_GIRLS.zscore.weekly-d5ba9a8d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-54274ef5.js → WEIGHT_GIRLS.zscore.yearly-f6aa5a37.js} +0 -0
- /package/build/esm/{ageGenerate-8406e14b.js → ageGenerate-7c70c394.js} +0 -0
- /package/build/esm/{animation-c98d2ab8.js → animation-b1367448.js} +0 -0
- /package/build/esm/{constants-7c17fc63.js → constants-445e435e.js} +0 -0
- /package/build/esm/{constants-7fc4a060.js → constants-6124668c.js} +0 -0
- /package/build/esm/{constants-506e623d.js → constants-ea9120e1.js} +0 -0
- /package/build/esm/{context-f14f234c.js → context-27de34fe.js} +0 -0
- /package/build/esm/{dataTransform-b54033d9.js → dataTransform-b5e39368.js} +0 -0
- /package/build/esm/{index-06c1ee69.js → index-005cdb98.js} +0 -0
- /package/build/esm/{index-73436b9b.js → index-44f95e34.js} +0 -0
- /package/build/esm/{index-27cbc272.js → index-6b0eced8.js} +0 -0
- /package/build/esm/{index-fdb464dd.js → index-959d94f7.js} +0 -0
- /package/build/esm/{index-f2b345fd.js → index-95a7170c.js} +0 -0
- /package/build/esm/{index-0b4dbc4c.js → index-9d59578e.js} +0 -0
- /package/build/esm/{index-af19ea6b.js → index-c1482776.js} +0 -0
- /package/build/esm/{index-d1eeab74.js → index-d53080b2.js} +0 -0
- /package/build/esm/{index-b8bfda39.js → index-e485117d.js} +0 -0
- /package/build/esm/{index.styles-80500a29.js → index.styles-5b2ab4d6.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b0ea3631.js → localizeNumberFormat-624328c3.js} +0 -0
- /package/build/esm/{normalizeLink-05d204f3.js → normalizeLink-0079beba.js} +0 -0
- /package/build/esm/{number-8d780a8f.js → number-a14446c0.js} +0 -0
- /package/build/esm/{paths-67ea0d6d.js → paths-f64f6370.js} +0 -0
- /package/build/esm/{shared-ea8e82f3.js → shared-f945f951.js} +0 -0
- /package/build/esm/{translationsContext-27f431de.js → translationsContext-b60af033.js} +0 -0
- /package/build/esm/{tslib.es6-8419d6e2.js → tslib.es6-94c34d9b.js} +0 -0
- /package/build/esm/{types-01174304.js → types-839ddc3f.js} +0 -0
- /package/build/esm/{types-85a17593.js → types-d43df110.js} +0 -0
- /package/build/esm/{useOutsideClick-f9f2bdf7.js → useOutsideClick-22b6ed6b.js} +0 -0
- /package/build/esm/{useScrollbarSize-0f0c7e80.js → useScrollbarSize-0a17cca1.js} +0 -0
- /package/build/esm/{useUniqueId-759de028.js → useUniqueId-084faa54.js} +0 -0
- /package/build/esm/{utils-443e9105.js → utils-423094ef.js} +0 -0
- /package/build/esm/{utils-31a2368b.js → utils-ab177407.js} +0 -0
- /package/build/{index-8580e656.js → index-3200621c.js} +0 -0
- /package/build/{index-fe299314.js → index-34c5f0b9.js} +0 -0
- /package/build/{index-f7d128e7.js → index-3f61aaac.js} +0 -0
- /package/build/{index-76439c72.js → index-508b0088.js} +0 -0
- /package/build/{index-4622ff24.js → index-982d6965.js} +0 -0
- /package/build/{index-d86bb5d3.js → index-b6fc72e1.js} +0 -0
- /package/build/{index-87c357fd.js → index-bca19478.js} +0 -0
- /package/build/{index-1d121d04.js → index-c8c079cd.js} +0 -0
- /package/build/{index-09c8dcac.js → index-e42ff306.js} +0 -0
- /package/build/{index.styles-7cd9c8eb.js → index.styles-9d1b6157.js} +0 -0
- /package/build/{localizeNumberFormat-caf6bbbe.js → localizeNumberFormat-4ce3c5aa.js} +0 -0
- /package/build/{normalizeLink-6e07a4d8.js → normalizeLink-c1e55df9.js} +0 -0
- /package/build/{number-8680b843.js → number-06c2a1fa.js} +0 -0
- /package/build/{paths-447d14b1.js → paths-d5dacfe0.js} +0 -0
- /package/build/{shared-3b439c7e.js → shared-0deaf7e5.js} +0 -0
- /package/build/{translationsContext-286541fc.js → translationsContext-31246103.js} +0 -0
- /package/build/{tslib.es6-0519796c.js → tslib.es6-98c3bd91.js} +0 -0
- /package/build/{types-5e749e9c.js → types-4e3c9126.js} +0 -0
- /package/build/{types-ed84cdd6.js → types-a2996e06.js} +0 -0
- /package/build/{useOutsideClick-f0d26bc5.js → useOutsideClick-045370e1.js} +0 -0
- /package/build/{useScrollbarSize-a299b692.js → useScrollbarSize-39494612.js} +0 -0
- /package/build/{useUniqueId-eb9830f1.js → useUniqueId-8886cac4.js} +0 -0
- /package/build/{utils-ca91d0d5.js → utils-62e092bd.js} +0 -0
- /package/build/{utils-9152c72c.js → utils-a7248a8c.js} +0 -0
|
@@ -1,58 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-98c3bd91.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$4 = require('./index-
|
|
5
|
+
var index$4 = require('./index-a59ad212.js');
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
require('@mantine/dates');
|
|
8
|
-
var index$6 = require('./index-
|
|
9
|
-
require('./index-
|
|
10
|
-
var index$a = require('./index-
|
|
11
|
-
require('./index-
|
|
12
|
-
var index$2 = require('./index-
|
|
13
|
-
var index$
|
|
14
|
-
require('./index-
|
|
15
|
-
require('./index.styles-
|
|
16
|
-
require('./translationsContext-
|
|
17
|
-
require('@mantine/hooks');
|
|
18
|
-
var utils = require('./utils-
|
|
19
|
-
require('./index-
|
|
20
|
-
var SiteWideBanner = require('./SiteWideBanner-
|
|
8
|
+
var index$6 = require('./index-25e81413.js');
|
|
9
|
+
require('./index-9646bddc.js');
|
|
10
|
+
var index$a = require('./index-b6fc72e1.js');
|
|
11
|
+
require('./index-9d4e703c.js');
|
|
12
|
+
var index$2 = require('./index-507c4a88.js');
|
|
13
|
+
var index$g = require('./index-d42b6d29.js');
|
|
14
|
+
var index$e = require('./index-3200621c.js');
|
|
15
|
+
require('./index.styles-9d1b6157.js');
|
|
16
|
+
require('./translationsContext-31246103.js');
|
|
17
|
+
var hooks = require('@mantine/hooks');
|
|
18
|
+
var utils = require('./utils-a7248a8c.js');
|
|
19
|
+
require('./index-57221106.js');
|
|
20
|
+
var SiteWideBanner = require('./SiteWideBanner-f5d39108.js');
|
|
21
21
|
var styled = require('@emotion/styled');
|
|
22
22
|
var miscTheme = require('./miscTheme.js');
|
|
23
|
-
var index$3 = require('./index-
|
|
23
|
+
var index$3 = require('./index-9f2c5324.js');
|
|
24
24
|
var dateFns = require('date-fns');
|
|
25
25
|
var DayPickerInput = require('react-day-picker/DayPickerInput');
|
|
26
|
-
var index$5 = require('./index-
|
|
26
|
+
var index$5 = require('./index-dcf7ccc2.js');
|
|
27
27
|
var throttle = require('lodash/throttle');
|
|
28
28
|
var parse = require('html-react-parser');
|
|
29
29
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
30
30
|
var constantsIsProduction = require('./constantsIsProduction.js');
|
|
31
|
-
var useOutsideClick = require('./useOutsideClick-
|
|
31
|
+
var useOutsideClick = require('./useOutsideClick-045370e1.js');
|
|
32
32
|
var enUS = require('date-fns/locale/en-US');
|
|
33
33
|
var id = require('date-fns/locale/id');
|
|
34
34
|
var vi = require('date-fns/locale/vi');
|
|
35
35
|
var zhTW = require('date-fns/locale/zh-TW');
|
|
36
|
-
var index$9 = require('./index-
|
|
37
|
-
var index$7 = require('./index-
|
|
38
|
-
var index$8 = require('./index-
|
|
36
|
+
var index$9 = require('./index-4cc28673.js');
|
|
37
|
+
var index$7 = require('./index-3334e785.js');
|
|
38
|
+
var index$8 = require('./index-cdc643a5.js');
|
|
39
39
|
var classNames = require('classnames');
|
|
40
|
-
var index$b = require('./index-
|
|
40
|
+
var index$b = require('./index-982d6965.js');
|
|
41
41
|
var miscGetSocialList = require('./miscGetSocialList.js');
|
|
42
|
-
var index$d = require('./index-
|
|
43
|
-
var index$c = require('./index-
|
|
42
|
+
var index$d = require('./index-322bd2f3.js');
|
|
43
|
+
var index$c = require('./index-21ed1a34.js');
|
|
44
|
+
var index$h = require('./index-405d9450.js');
|
|
45
|
+
var index$i = require('./index-9c388206.js');
|
|
46
|
+
var dataTransform = require('./dataTransform-1a34225a.js');
|
|
47
|
+
var togetherApiPaths = require('./togetherApiPaths.js');
|
|
48
|
+
var togetherComponentGlobalContext = require('./utils-fca330e1.js');
|
|
49
|
+
var innertext = require('innertext');
|
|
50
|
+
var Locale = require('./Locale-5a83f75b.js');
|
|
51
|
+
var index$f = require('./index-991cc8fb.js');
|
|
52
|
+
var constants = require('./constants-3a105b5b.js');
|
|
53
|
+
var dayjs = require('dayjs');
|
|
54
|
+
var moleculesArticleCard = require('./moleculesArticleCard.js');
|
|
44
55
|
var uuid = require('uuid');
|
|
45
|
-
var Locale = require('./Locale-c5305b05.js');
|
|
46
56
|
var arrow = require('@hhgtech/icons/arrow');
|
|
47
57
|
var other = require('@hhgtech/icons/other');
|
|
48
58
|
var Lottie = require('lottie-light-react');
|
|
49
|
-
var index$
|
|
50
|
-
var index$
|
|
59
|
+
var index$j = require('./index-44509b09.js');
|
|
60
|
+
var index$k = require('./index-569e383c.js');
|
|
51
61
|
var get = require('lodash/get');
|
|
52
62
|
var debounce = require('lodash/debounce');
|
|
53
|
-
var
|
|
63
|
+
var index$l = require('./index-07e44bbf.js');
|
|
54
64
|
var carousel = require('@mantine/carousel');
|
|
55
|
-
var constants = require('./constants-
|
|
65
|
+
var constants$1 = require('./constants-7afe63ff.js');
|
|
56
66
|
|
|
57
67
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
58
68
|
|
|
@@ -84,6 +94,8 @@ var id__default = /*#__PURE__*/_interopDefault(id);
|
|
|
84
94
|
var vi__default = /*#__PURE__*/_interopDefault(vi);
|
|
85
95
|
var zhTW__default = /*#__PURE__*/_interopDefault(zhTW);
|
|
86
96
|
var classNames__default = /*#__PURE__*/_interopDefault(classNames);
|
|
97
|
+
var innertext__default = /*#__PURE__*/_interopDefault(innertext);
|
|
98
|
+
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
87
99
|
var Lottie__default = /*#__PURE__*/_interopDefault(Lottie);
|
|
88
100
|
var get__default = /*#__PURE__*/_interopDefault(get);
|
|
89
101
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
@@ -2825,6 +2837,572 @@ const ShareDrawer = (_a) => {
|
|
|
2825
2837
|
}
|
|
2826
2838
|
};
|
|
2827
2839
|
|
|
2840
|
+
const BoostCardArticleAuthorName = (props) => {
|
|
2841
|
+
const { intlKey, formatOptions, formatOptionsProps } = props;
|
|
2842
|
+
const { author_name, expert_display_name, fact_check_display_name, specialty, organisation, post_modified, } = formatOptions || {};
|
|
2843
|
+
const { author_name: formatOptionsPropsAuthorName, expert_display_name: formatOptionsPropsExpertDisplayName, fact_check_display_name: formatOptionsPropsFactCheckDisplayName, specialty: formatOptionsPropsSpecialty, organisation: formatOptionsPropsOrganisation, post_modified: formatOptionsPropsPostModified, } = formatOptionsProps || {};
|
|
2844
|
+
const { t } = index$8.useTranslations();
|
|
2845
|
+
const theme = core.useMantineTheme();
|
|
2846
|
+
const formatOptionsComp = React.useCallback((p = {}) => {
|
|
2847
|
+
const href = p.href;
|
|
2848
|
+
const Comp = href ? 'a' : 'span';
|
|
2849
|
+
const propsComp = Object.assign({}, p);
|
|
2850
|
+
if (!href) {
|
|
2851
|
+
delete propsComp.href;
|
|
2852
|
+
delete propsComp['data-event-category'];
|
|
2853
|
+
delete propsComp['data-event-action'];
|
|
2854
|
+
delete propsComp['data-event-label'];
|
|
2855
|
+
}
|
|
2856
|
+
return React__namespace["default"].createElement(Comp, Object.assign({}, propsComp));
|
|
2857
|
+
}, []);
|
|
2858
|
+
return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, index$8.format(t(intlKey), {
|
|
2859
|
+
author_name: (React__namespace["default"].createElement("span", { style: {
|
|
2860
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2861
|
+
color: theme.colors.gray[8],
|
|
2862
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, author_name), formatOptionsPropsAuthorName)))),
|
|
2863
|
+
expert_display_name: (React__namespace["default"].createElement("span", { style: {
|
|
2864
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2865
|
+
color: theme.colors.gray[8],
|
|
2866
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, expert_display_name), formatOptionsPropsExpertDisplayName)))),
|
|
2867
|
+
fact_check_display_name: (React__namespace["default"].createElement("span", { style: {
|
|
2868
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2869
|
+
color: theme.colors.gray[8],
|
|
2870
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, fact_check_display_name), formatOptionsPropsFactCheckDisplayName)))),
|
|
2871
|
+
specialty: formatOptionsComp(Object.assign(Object.assign({}, specialty), formatOptionsPropsSpecialty)),
|
|
2872
|
+
organisation: formatOptionsComp(Object.assign(Object.assign({}, organisation), formatOptionsPropsOrganisation)),
|
|
2873
|
+
post_modified: formatOptionsComp(Object.assign(Object.assign({}, post_modified), formatOptionsPropsPostModified)),
|
|
2874
|
+
})));
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
const getAuthorFormatOptionsProps = (reviewedUser) => {
|
|
2878
|
+
if (!reviewedUser) {
|
|
2879
|
+
return { children: '' };
|
|
2880
|
+
}
|
|
2881
|
+
if ((reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.profile_url) && (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.turn_off_profile)) {
|
|
2882
|
+
return { children: (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.display_name) || (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.name) || '' };
|
|
2883
|
+
}
|
|
2884
|
+
return {
|
|
2885
|
+
href: reviewedUser.profile_url || '',
|
|
2886
|
+
children: reviewedUser.display_name || reviewedUser.name || '',
|
|
2887
|
+
};
|
|
2888
|
+
};
|
|
2889
|
+
const authorConfigForAssetBase = (assetImageBase) => {
|
|
2890
|
+
const base = assetImageBase.replace(/\/$/, '');
|
|
2891
|
+
return {
|
|
2892
|
+
medical: {
|
|
2893
|
+
intlKey: {
|
|
2894
|
+
long: 'articlePage.reviewed_by.expert.medical',
|
|
2895
|
+
short: 'articlePage.reviewed_by.expert.medical.short',
|
|
2896
|
+
},
|
|
2897
|
+
indicator: `${base}/reviewer-medical.svg`,
|
|
2898
|
+
},
|
|
2899
|
+
expert: {
|
|
2900
|
+
intlKey: {
|
|
2901
|
+
long: 'articlePage.reviewed_by.expert',
|
|
2902
|
+
short: 'articlePage.reviewed_by.expert.short',
|
|
2903
|
+
},
|
|
2904
|
+
indicator: `${base}/reviewer-expert.svg`,
|
|
2905
|
+
},
|
|
2906
|
+
written_by: {
|
|
2907
|
+
intlKey: {
|
|
2908
|
+
long: 'articlePage.written_by.author',
|
|
2909
|
+
short: 'articlePage.written_by.author.short',
|
|
2910
|
+
},
|
|
2911
|
+
indicator: `${base}/reviewer-editor.svg`,
|
|
2912
|
+
},
|
|
2913
|
+
fact_checked_by: {
|
|
2914
|
+
intlKey: {
|
|
2915
|
+
long: 'articlePage.fact_checked_by.author',
|
|
2916
|
+
short: 'articlePage.fact_checked_by.author.short',
|
|
2917
|
+
},
|
|
2918
|
+
indicator: `${base}/reviewer-fact-check.svg`,
|
|
2919
|
+
},
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
function getAuthorForBoostCard({ article, locale, assetImageBase, version = 'short', }) {
|
|
2923
|
+
const AUTHOR_CONFIG = authorConfigForAssetBase(assetImageBase);
|
|
2924
|
+
const { expert, author, fact_check, is_author } = article.articleReviewed || {};
|
|
2925
|
+
const articlePostModified = article.postModified || article.modifiedTime;
|
|
2926
|
+
const { avatar: fcAvatar = '', avatar_thumbnail: fcAvatarThumb = '', display_name: fcDisplayName = '', name: fcName = '', profile_url: fcProfileUrl = '', turn_off_profile: fcTurnOffProfile, } = fact_check || {};
|
|
2927
|
+
const modifiedDate = dayjs__default["default"](articlePostModified);
|
|
2928
|
+
let authorConfig = AUTHOR_CONFIG.fact_checked_by;
|
|
2929
|
+
let avatar = fcAvatarThumb || fcAvatar;
|
|
2930
|
+
let avatar_alt = fcDisplayName || fcName;
|
|
2931
|
+
let avatar_permalink = !fcTurnOffProfile ? fcProfileUrl : '';
|
|
2932
|
+
const post_modified = modifiedDate.isValid()
|
|
2933
|
+
? modifiedDate.format(index$6.ISO_FORMAT[locale].dateFormat)
|
|
2934
|
+
: '';
|
|
2935
|
+
const formatOptions = {
|
|
2936
|
+
expert_display_name: getAuthorFormatOptionsProps(expert),
|
|
2937
|
+
author_name: getAuthorFormatOptionsProps(author),
|
|
2938
|
+
fact_check_display_name: getAuthorFormatOptionsProps(fact_check),
|
|
2939
|
+
post_modified: { children: post_modified },
|
|
2940
|
+
};
|
|
2941
|
+
if (expert) {
|
|
2942
|
+
const ex = expert;
|
|
2943
|
+
const { avatar: exAvatar = '', avatar_thumbnail: exAvatarThumb = '', display_name: exDisplayName = '', name: exName = '', profile_url: exProfileUrl = '', specialty = '', organisation = '', turn_off_profile: exTurnOffProfile, } = ex;
|
|
2944
|
+
formatOptions.specialty = { children: specialty };
|
|
2945
|
+
formatOptions.organisation = { children: organisation };
|
|
2946
|
+
avatar = exAvatarThumb || exAvatar || avatar;
|
|
2947
|
+
avatar_alt = exDisplayName || exName || avatar_alt;
|
|
2948
|
+
avatar_permalink = !exTurnOffProfile ? exProfileUrl || avatar_permalink : '';
|
|
2949
|
+
if (is_author) {
|
|
2950
|
+
authorConfig = AUTHOR_CONFIG.written_by;
|
|
2951
|
+
}
|
|
2952
|
+
else {
|
|
2953
|
+
authorConfig = AUTHOR_CONFIG.expert;
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
return {
|
|
2957
|
+
intlKey: authorConfig.intlKey[version],
|
|
2958
|
+
indicator: authorConfig.indicator,
|
|
2959
|
+
avatar,
|
|
2960
|
+
avatar_alt,
|
|
2961
|
+
avatar_permalink,
|
|
2962
|
+
formatOptions,
|
|
2963
|
+
};
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
const StyledAvatarReviewer = styled__default["default"].div `
|
|
2967
|
+
position: relative;
|
|
2968
|
+
width: 100%;
|
|
2969
|
+
height: 100%;
|
|
2970
|
+
img {
|
|
2971
|
+
border-radius: 50%;
|
|
2972
|
+
object-fit: cover;
|
|
2973
|
+
}
|
|
2974
|
+
.badge {
|
|
2975
|
+
position: absolute;
|
|
2976
|
+
right: 0;
|
|
2977
|
+
bottom: 0;
|
|
2978
|
+
display: flex;
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2981
|
+
styled__default["default"].div `
|
|
2982
|
+
width: 12px;
|
|
2983
|
+
height: 12px;
|
|
2984
|
+
`;
|
|
2985
|
+
const StyledArticleCard = styled__default["default"](moleculesArticleCard.ArticleCard) `
|
|
2986
|
+
.author .poster p span:not(.author-name) {
|
|
2987
|
+
font-weight: 400;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
.author .poster p span:not(.name) {
|
|
2991
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
.author-name {
|
|
2995
|
+
font-weight: 600;
|
|
2996
|
+
}
|
|
2997
|
+
`;
|
|
2998
|
+
const StyledItemImageContain = styled__default["default"].div `
|
|
2999
|
+
width: 100%;
|
|
3000
|
+
height: 100%;
|
|
3001
|
+
position: relative;
|
|
3002
|
+
`;
|
|
3003
|
+
|
|
3004
|
+
function renderBoostUploadTime(locale, date) {
|
|
3005
|
+
if (!date)
|
|
3006
|
+
return '';
|
|
3007
|
+
if (dayjs__default["default"](date, constants.POST_DATE_FORMAT).isValid()) {
|
|
3008
|
+
return dayjs__default["default"](date, constants.POST_DATE_FORMAT).format(index$6.ISO_FORMAT[locale].dateFormat);
|
|
3009
|
+
}
|
|
3010
|
+
return date;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
function PopupBoostArticleCard({ article, isMobile, className = 'article-card', hideBookmark = true, assetImageBase = '/images', }) {
|
|
3014
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
3015
|
+
const { locale: translationsLocale } = index$8.useTranslations();
|
|
3016
|
+
const locale = translationsLocale === 'vi-VN_MB'
|
|
3017
|
+
? Locale.LOCALE.Vietnam
|
|
3018
|
+
: translationsLocale;
|
|
3019
|
+
const authorV2 = getAuthorForBoostCard({
|
|
3020
|
+
article,
|
|
3021
|
+
locale,
|
|
3022
|
+
assetImageBase,
|
|
3023
|
+
version: 'short',
|
|
3024
|
+
});
|
|
3025
|
+
const authorUrlDomain = authorV2.avatar_permalink
|
|
3026
|
+
? `${index$f.getHelloSitesUrl(translationsLocale, true)}${authorV2.avatar_permalink}`
|
|
3027
|
+
: '';
|
|
3028
|
+
const domain = constantsDomainLocales.domainLocales[translationsLocale];
|
|
3029
|
+
const articleUrlLabel = domain && article.permalink
|
|
3030
|
+
? `https://${domain}${article.permalink}`
|
|
3031
|
+
: article.permalink || '';
|
|
3032
|
+
const uploadRendered = renderBoostUploadTime(locale, article.modifiedTime);
|
|
3033
|
+
const loc = translationsLocale;
|
|
3034
|
+
const isPremiumUi = loc !== 'vi-VN' && loc !== 'vi-VN_MB' && article.isPremium;
|
|
3035
|
+
const avatarInner = (React__namespace["default"].createElement(StyledAvatarReviewer, null,
|
|
3036
|
+
React__namespace["default"].createElement(StyledItemImageContain, null,
|
|
3037
|
+
React__namespace["default"].createElement("img", { className: "avatar", src: authorV2.avatar || constants.DEFAULT_AVATAR_IMG, alt: authorV2.avatar_alt, width: 24, height: 24, style: {
|
|
3038
|
+
borderRadius: '50%',
|
|
3039
|
+
objectFit: 'cover',
|
|
3040
|
+
display: 'block',
|
|
3041
|
+
} }))));
|
|
3042
|
+
return (React__namespace["default"].createElement(StyledArticleCard, { isPremium: isPremiumUi, isMobile: isMobile, className: className, dataEventCategoryForBookmark: "Bookmark", dataEventActionForBookmark: "Click", dataEventLabelForBookmark: articleUrlLabel, dataEventLabelForTitle: articleUrlLabel, dataEventLabelForCategory: ((_a = article.category) === null || _a === void 0 ? void 0 : _a.permalink) && domain
|
|
3043
|
+
? `https://${domain}${article.category.permalink}`
|
|
3044
|
+
: ((_b = article.category) === null || _b === void 0 ? void 0 : _b.permalink) || '', dataEventLabelForBanner: articleUrlLabel, hasAffiliate: article.hasAffiliate, articleLink: article.permalink, categoryLink: ((_c = article.category) === null || _c === void 0 ? void 0 : _c.permalink) || '#', categoryName: ((_d = article.category) === null || _d === void 0 ? void 0 : _d.displayName) ||
|
|
3045
|
+
((_e = article.category) === null || _e === void 0 ? void 0 : _e.name) ||
|
|
3046
|
+
((_g = (_f = article.categories) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.displayName) ||
|
|
3047
|
+
((_j = (_h = article.categories) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) ||
|
|
3048
|
+
'', banner: React__namespace["default"].createElement("img", { src: (isMobile ? article.featureImageMobile : article.featureImage) ||
|
|
3049
|
+
article.featureImage ||
|
|
3050
|
+
constants.DEFAULT_IMG, alt: article.postName, loading: "lazy", style: {
|
|
3051
|
+
width: '100%',
|
|
3052
|
+
height: '100%',
|
|
3053
|
+
objectFit: 'cover',
|
|
3054
|
+
display: 'block',
|
|
3055
|
+
} }), specialty: ((_k = article.expert) === null || _k === void 0 ? void 0 : _k.specialty) || ((_l = article.author) === null || _l === void 0 ? void 0 : _l.specialty) || '', type: "author", size: "md", direction: isMobile ? 'vertical' : 'horizontal', uploadTime: uploadRendered || article.modifiedTime || article.postModified || '', title: innertext__default["default"](article.postTitle || article.postName || '') || '', text: article.excerpt || article.description || article.postContent
|
|
3056
|
+
? innertext__default["default"](article.excerpt ||
|
|
3057
|
+
article.description ||
|
|
3058
|
+
((_m = article.postContent) === null || _m === void 0 ? void 0 : _m.split('\r\n')[0]) ||
|
|
3059
|
+
'')
|
|
3060
|
+
: '', avatarImg: authorV2.avatar_permalink ? (React__namespace["default"].createElement("a", { href: authorV2.avatar_permalink, className: "pointer-event-child-none", "data-event-label": authorUrlDomain }, avatarInner)) : (React__namespace["default"].createElement("span", { className: "pointer-event-child-none" }, avatarInner)), authorName: React__namespace["default"].createElement("span", { "data-event-label": authorUrlDomain, className: "pointer-event-child-none" },
|
|
3061
|
+
React__namespace["default"].createElement(BoostCardArticleAuthorName, Object.assign({}, authorV2, { formatOptionsProps: {
|
|
3062
|
+
expert_display_name: {
|
|
3063
|
+
href: '',
|
|
3064
|
+
},
|
|
3065
|
+
} })),
|
|
3066
|
+
"\u00A0"), authorLink: authorV2.avatar_permalink, isBookmarkDisplayed: !hideBookmark, isBookmark: false, onBookmark: hideBookmark ? undefined : () => undefined, styleLabel: {
|
|
3067
|
+
color: ((_o = article.category) === null || _o === void 0 ? void 0 : _o.textColor) || '#008C50',
|
|
3068
|
+
} }));
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
function PopupBoostPageView({ source, articleId, primaryCategoryId, postId, community, isMobile, basePath, getSpotlightTitle, getSpotlightImage, getSpotlightPermalink, getSpotlightContent, }) {
|
|
3072
|
+
const { t, locale } = index$8.useTranslations();
|
|
3073
|
+
const modalHeading = t('popupBoostPageView.modalHeading');
|
|
3074
|
+
const viewDetailText = t('popupBoostPageView.viewDetail');
|
|
3075
|
+
const [requestState, setRequestState] = React.useState('idle');
|
|
3076
|
+
const [boostType, setBoostType] = React.useState(null);
|
|
3077
|
+
const [boostArticle, setBoostArticle] = React.useState(null);
|
|
3078
|
+
const [boostCarePath, setBoostCarePath] = React.useState(null);
|
|
3079
|
+
const [boostCustom, setBoostCustom] = React.useState(null);
|
|
3080
|
+
const [delaySeconds, setDelaySeconds] = React.useState(0);
|
|
3081
|
+
const [sessionPopupShown, setSessionPopupShown] = React.useState(false);
|
|
3082
|
+
const [opened, { open, close }] = hooks.useDisclosure(false);
|
|
3083
|
+
const pendingOpenDeadlineRef = React.useRef(null);
|
|
3084
|
+
const suppressNextOpenRef = React.useRef(false);
|
|
3085
|
+
const getSpotlightTitleRef = React.useRef(getSpotlightTitle);
|
|
3086
|
+
const getSpotlightImageRef = React.useRef(getSpotlightImage);
|
|
3087
|
+
const getSpotlightPermalinkRef = React.useRef(getSpotlightPermalink);
|
|
3088
|
+
const getSpotlightContentRef = React.useRef(getSpotlightContent);
|
|
3089
|
+
getSpotlightTitleRef.current = getSpotlightTitle;
|
|
3090
|
+
getSpotlightImageRef.current = getSpotlightImage;
|
|
3091
|
+
getSpotlightPermalinkRef.current = getSpotlightPermalink;
|
|
3092
|
+
getSpotlightContentRef.current = getSpotlightContent;
|
|
3093
|
+
const hasSourceId = source === 'article' ? !!articleId : !!postId;
|
|
3094
|
+
React.useEffect(() => {
|
|
3095
|
+
if (!hasSourceId) {
|
|
3096
|
+
close();
|
|
3097
|
+
pendingOpenDeadlineRef.current = null;
|
|
3098
|
+
setSessionPopupShown(false);
|
|
3099
|
+
setRequestState('idle');
|
|
3100
|
+
setBoostType(null);
|
|
3101
|
+
setBoostArticle(null);
|
|
3102
|
+
setBoostCarePath(null);
|
|
3103
|
+
setBoostCustom(null);
|
|
3104
|
+
setDelaySeconds(0);
|
|
3105
|
+
return;
|
|
3106
|
+
}
|
|
3107
|
+
if (sessionPopupShown) {
|
|
3108
|
+
return;
|
|
3109
|
+
}
|
|
3110
|
+
close();
|
|
3111
|
+
setBoostType(null);
|
|
3112
|
+
setBoostArticle(null);
|
|
3113
|
+
setBoostCarePath(null);
|
|
3114
|
+
setBoostCustom(null);
|
|
3115
|
+
setDelaySeconds(0);
|
|
3116
|
+
const requestedSourceId = source === 'article' ? articleId : postId;
|
|
3117
|
+
let isActive = true;
|
|
3118
|
+
setRequestState('loading');
|
|
3119
|
+
(() => tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
3120
|
+
var _a, _b, _c;
|
|
3121
|
+
const res = yield togetherComponentGlobalContext.callApi(togetherComponentGlobalContext.getDiscoverApiPath(togetherApiPaths.DISCOVER_PATHS.GET_BOOST_POPUP_CARD, {
|
|
3122
|
+
type: source,
|
|
3123
|
+
articleId: source === 'article' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3124
|
+
primaryCategoryId: source === 'article' ? primaryCategoryId !== null && primaryCategoryId !== void 0 ? primaryCategoryId : '' : '',
|
|
3125
|
+
community: source === 'community' ? community !== null && community !== void 0 ? community : '' : '',
|
|
3126
|
+
postId: source === 'community' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3127
|
+
}), 'get');
|
|
3128
|
+
if (!isActive)
|
|
3129
|
+
return;
|
|
3130
|
+
const boostPayload = res === null || res === void 0 ? void 0 : res.data;
|
|
3131
|
+
const nextType = (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'article' ||
|
|
3132
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'carepath' ||
|
|
3133
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'custom'
|
|
3134
|
+
? boostPayload.type
|
|
3135
|
+
: null;
|
|
3136
|
+
const nextDelaySeconds = typeof (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.delay_time) === 'number' &&
|
|
3137
|
+
boostPayload.delay_time > 0
|
|
3138
|
+
? boostPayload.delay_time
|
|
3139
|
+
: 0;
|
|
3140
|
+
setBoostType(nextType);
|
|
3141
|
+
setDelaySeconds(nextDelaySeconds);
|
|
3142
|
+
if (nextType === 'article' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3143
|
+
setBoostArticle(dataTransform.formatArticle(boostPayload.boost_data));
|
|
3144
|
+
setBoostCarePath(null);
|
|
3145
|
+
setBoostCustom(null);
|
|
3146
|
+
}
|
|
3147
|
+
else if (nextType === 'carepath' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3148
|
+
const raw = boostPayload.boost_data;
|
|
3149
|
+
const title = getSpotlightTitleRef.current(raw) || '';
|
|
3150
|
+
const image = getSpotlightImageRef.current(raw) || '';
|
|
3151
|
+
const permalink = ((_a = getSpotlightPermalinkRef.current) === null || _a === void 0 ? void 0 : _a.call(getSpotlightPermalinkRef, raw)) ||
|
|
3152
|
+
String((raw === null || raw === void 0 ? void 0 : raw.permalink) || '');
|
|
3153
|
+
const content = ((_b = getSpotlightContentRef.current) === null || _b === void 0 ? void 0 : _b.call(getSpotlightContentRef, raw)) || String((raw === null || raw === void 0 ? void 0 : raw.content) || '');
|
|
3154
|
+
setBoostCarePath({ permalink, title, image, content });
|
|
3155
|
+
setBoostArticle(null);
|
|
3156
|
+
setBoostCustom(null);
|
|
3157
|
+
}
|
|
3158
|
+
else if (nextType === 'custom' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3159
|
+
const raw = boostPayload.boost_data;
|
|
3160
|
+
setBoostCustom({
|
|
3161
|
+
link: raw.link || '',
|
|
3162
|
+
title: raw.title || '',
|
|
3163
|
+
description: raw.description || '',
|
|
3164
|
+
image: typeof raw.image === 'string' && raw.image ? raw.image : null,
|
|
3165
|
+
});
|
|
3166
|
+
setBoostArticle(null);
|
|
3167
|
+
setBoostCarePath(null);
|
|
3168
|
+
}
|
|
3169
|
+
else {
|
|
3170
|
+
setBoostArticle(null);
|
|
3171
|
+
setBoostCarePath(null);
|
|
3172
|
+
setBoostCustom(null);
|
|
3173
|
+
}
|
|
3174
|
+
const hasPayloadBoost = (nextType === 'article' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3175
|
+
(nextType === 'carepath' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3176
|
+
(nextType === 'custom' &&
|
|
3177
|
+
!!((_c = boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data) === null || _c === void 0 ? void 0 : _c.link));
|
|
3178
|
+
if (!hasPayloadBoost) {
|
|
3179
|
+
pendingOpenDeadlineRef.current = null;
|
|
3180
|
+
}
|
|
3181
|
+
setRequestState('ready');
|
|
3182
|
+
}))();
|
|
3183
|
+
return () => {
|
|
3184
|
+
isActive = false;
|
|
3185
|
+
};
|
|
3186
|
+
}, [
|
|
3187
|
+
source,
|
|
3188
|
+
articleId,
|
|
3189
|
+
primaryCategoryId,
|
|
3190
|
+
postId,
|
|
3191
|
+
community,
|
|
3192
|
+
close,
|
|
3193
|
+
sessionPopupShown,
|
|
3194
|
+
]);
|
|
3195
|
+
React.useEffect(() => {
|
|
3196
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3197
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3198
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3199
|
+
if (!hasSourceId ||
|
|
3200
|
+
sessionPopupShown ||
|
|
3201
|
+
requestState !== 'ready' ||
|
|
3202
|
+
!hasBoostData) {
|
|
3203
|
+
return;
|
|
3204
|
+
}
|
|
3205
|
+
if (pendingOpenDeadlineRef.current === null) {
|
|
3206
|
+
pendingOpenDeadlineRef.current = Date.now() + delaySeconds * 1000;
|
|
3207
|
+
}
|
|
3208
|
+
const remainingMs = Math.max(0, pendingOpenDeadlineRef.current - Date.now());
|
|
3209
|
+
const timer = window.setTimeout(() => {
|
|
3210
|
+
pendingOpenDeadlineRef.current = null;
|
|
3211
|
+
setSessionPopupShown(true);
|
|
3212
|
+
open();
|
|
3213
|
+
}, remainingMs);
|
|
3214
|
+
return () => {
|
|
3215
|
+
window.clearTimeout(timer);
|
|
3216
|
+
};
|
|
3217
|
+
}, [
|
|
3218
|
+
articleId,
|
|
3219
|
+
sessionPopupShown,
|
|
3220
|
+
requestState,
|
|
3221
|
+
boostType,
|
|
3222
|
+
boostArticle,
|
|
3223
|
+
boostCarePath,
|
|
3224
|
+
boostCustom,
|
|
3225
|
+
delaySeconds,
|
|
3226
|
+
open,
|
|
3227
|
+
]);
|
|
3228
|
+
const targetUrl = boostType === 'article'
|
|
3229
|
+
? boostArticle === null || boostArticle === void 0 ? void 0 : boostArticle.permalink
|
|
3230
|
+
: boostType === 'carepath'
|
|
3231
|
+
? boostCarePath === null || boostCarePath === void 0 ? void 0 : boostCarePath.permalink
|
|
3232
|
+
: boostType === 'custom'
|
|
3233
|
+
? boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link
|
|
3234
|
+
: null;
|
|
3235
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3236
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3237
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3238
|
+
if (!hasSourceId || requestState !== 'ready' || !hasBoostData || !targetUrl) {
|
|
3239
|
+
return null;
|
|
3240
|
+
}
|
|
3241
|
+
const trimmedBase = basePath.replace(/\/$/, '');
|
|
3242
|
+
const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
|
|
3243
|
+
const handleDismiss = () => {
|
|
3244
|
+
// Drag-close/overlay-close can emit a trailing click; ignore it once.
|
|
3245
|
+
suppressNextOpenRef.current = true;
|
|
3246
|
+
pendingOpenDeadlineRef.current = null;
|
|
3247
|
+
setSessionPopupShown(true);
|
|
3248
|
+
close();
|
|
3249
|
+
};
|
|
3250
|
+
const handleOpenBoostLink = () => {
|
|
3251
|
+
if (suppressNextOpenRef.current) {
|
|
3252
|
+
suppressNextOpenRef.current = false;
|
|
3253
|
+
return;
|
|
3254
|
+
}
|
|
3255
|
+
pendingOpenDeadlineRef.current = null;
|
|
3256
|
+
setSessionPopupShown(true);
|
|
3257
|
+
const url = targetUrl.startsWith('http')
|
|
3258
|
+
? targetUrl
|
|
3259
|
+
: `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`;
|
|
3260
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
3261
|
+
close();
|
|
3262
|
+
};
|
|
3263
|
+
const contentEle = (React__namespace["default"].createElement(core.Box, { sx: { position: 'relative' } },
|
|
3264
|
+
React__namespace["default"].createElement(core.Stack, { "data-boost-type": boostType, sx: (theme) => ({
|
|
3265
|
+
gap: 12,
|
|
3266
|
+
[theme.fn.largerThan('sm')]: { gap: 16 },
|
|
3267
|
+
'.article-card': {
|
|
3268
|
+
'&[data-size=md][data-direction=horizontal]': {
|
|
3269
|
+
padding: 0,
|
|
3270
|
+
'.footer': {
|
|
3271
|
+
marginTop: 0,
|
|
3272
|
+
'& > div': {
|
|
3273
|
+
marginTop: 16,
|
|
3274
|
+
},
|
|
3275
|
+
},
|
|
3276
|
+
},
|
|
3277
|
+
'&[data-direction=vertical] .banner': {
|
|
3278
|
+
height: 192,
|
|
3279
|
+
},
|
|
3280
|
+
'.author .poster': {
|
|
3281
|
+
p: {
|
|
3282
|
+
fontSize: '12px',
|
|
3283
|
+
lineHeight: '16px',
|
|
3284
|
+
'span:not(.name)': {
|
|
3285
|
+
color: '#8c8c8c',
|
|
3286
|
+
},
|
|
3287
|
+
},
|
|
3288
|
+
a: {
|
|
3289
|
+
color: '#8c8c8c',
|
|
3290
|
+
'span:not(:has(span))': {
|
|
3291
|
+
color: '#000 !important',
|
|
3292
|
+
},
|
|
3293
|
+
},
|
|
3294
|
+
},
|
|
3295
|
+
'h3 + a': {
|
|
3296
|
+
display: 'none',
|
|
3297
|
+
},
|
|
3298
|
+
},
|
|
3299
|
+
}) },
|
|
3300
|
+
boostType === 'article' && boostArticle ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
3301
|
+
React__namespace["default"].createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
|
|
3302
|
+
React__namespace["default"].createElement(index$2.Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
|
|
3303
|
+
__html: boostArticle.excerpt || boostArticle.postContent || '',
|
|
3304
|
+
}, lineClamp: 8 }))) : null,
|
|
3305
|
+
boostType === 'carepath' && boostCarePath ? (React__namespace["default"].createElement(core.Box, { sx: {
|
|
3306
|
+
display: 'grid',
|
|
3307
|
+
gap: 12,
|
|
3308
|
+
} },
|
|
3309
|
+
React__namespace["default"].createElement(core.Box, { sx: (theme) => ({
|
|
3310
|
+
marginLeft: -16,
|
|
3311
|
+
marginRight: -16,
|
|
3312
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3313
|
+
width: 'calc(100% + 32px)',
|
|
3314
|
+
aspectRatio: '16 / 8',
|
|
3315
|
+
overflow: 'hidden',
|
|
3316
|
+
}) },
|
|
3317
|
+
React__namespace["default"].createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
|
|
3318
|
+
width: '100%',
|
|
3319
|
+
height: '100%',
|
|
3320
|
+
objectFit: 'cover',
|
|
3321
|
+
display: 'block',
|
|
3322
|
+
} })),
|
|
3323
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 3 },
|
|
3324
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3325
|
+
textTransform: 'uppercase',
|
|
3326
|
+
fontWeight: 'normal',
|
|
3327
|
+
fontSize: '12px',
|
|
3328
|
+
lineHeight: '15px',
|
|
3329
|
+
} }, constantsDomainLocales.domainLocales[locale]),
|
|
3330
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3331
|
+
fontSize: '16px',
|
|
3332
|
+
lineHeight: '19px',
|
|
3333
|
+
fontWeight: 500,
|
|
3334
|
+
} }, boostCarePath.title)),
|
|
3335
|
+
!!boostCarePath.content && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
|
|
3336
|
+
fontSize: '14px',
|
|
3337
|
+
lineHeight: '19px',
|
|
3338
|
+
color: '#65676B',
|
|
3339
|
+
}, dangerouslySetInnerHTML: {
|
|
3340
|
+
__html: boostCarePath.content,
|
|
3341
|
+
} })))) : null,
|
|
3342
|
+
boostType === 'custom' && boostCustom ? (React__namespace["default"].createElement(core.Box, { sx: {
|
|
3343
|
+
display: 'grid',
|
|
3344
|
+
gap: 12,
|
|
3345
|
+
} },
|
|
3346
|
+
boostCustom.image ? (React__namespace["default"].createElement(core.Box, { sx: (theme) => ({
|
|
3347
|
+
marginLeft: -16,
|
|
3348
|
+
marginRight: -16,
|
|
3349
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3350
|
+
width: 'calc(100% + 32px)',
|
|
3351
|
+
aspectRatio: '16 / 8',
|
|
3352
|
+
overflow: 'hidden',
|
|
3353
|
+
}) },
|
|
3354
|
+
React__namespace["default"].createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
|
|
3355
|
+
width: '100%',
|
|
3356
|
+
height: '100%',
|
|
3357
|
+
objectFit: 'cover',
|
|
3358
|
+
display: 'block',
|
|
3359
|
+
} }))) : null,
|
|
3360
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 5 },
|
|
3361
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 3 },
|
|
3362
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3363
|
+
textTransform: 'uppercase',
|
|
3364
|
+
fontWeight: 'normal',
|
|
3365
|
+
fontSize: '12px',
|
|
3366
|
+
lineHeight: '15px',
|
|
3367
|
+
color: '#65676B',
|
|
3368
|
+
} }, constantsDomainLocales.domainLocales[locale]),
|
|
3369
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3370
|
+
fontSize: '16px',
|
|
3371
|
+
lineHeight: '19px',
|
|
3372
|
+
fontWeight: 500,
|
|
3373
|
+
} }, boostCustom.title)),
|
|
3374
|
+
!!boostCustom.description && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
|
|
3375
|
+
fontSize: '14px',
|
|
3376
|
+
lineHeight: '19px',
|
|
3377
|
+
color: '#65676B',
|
|
3378
|
+
}, dangerouslySetInnerHTML: {
|
|
3379
|
+
__html: boostCustom.description,
|
|
3380
|
+
} }))))) : null,
|
|
3381
|
+
React__namespace["default"].createElement(index$g.Button, { variant: "primary", fullWidth: true }, viewDetailText)),
|
|
3382
|
+
React__namespace["default"].createElement(core.Box, { role: "button", tabIndex: 0, "aria-label": viewDetailText, onClick: handleOpenBoostLink, onKeyDown: (event) => {
|
|
3383
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
3384
|
+
event.preventDefault();
|
|
3385
|
+
handleOpenBoostLink();
|
|
3386
|
+
}
|
|
3387
|
+
}, sx: {
|
|
3388
|
+
position: 'absolute',
|
|
3389
|
+
inset: 0,
|
|
3390
|
+
zIndex: 2,
|
|
3391
|
+
cursor: 'pointer',
|
|
3392
|
+
backgroundColor: 'transparent',
|
|
3393
|
+
} })));
|
|
3394
|
+
return isMobile ? (React__namespace["default"].createElement(index$h.DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss },
|
|
3395
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
|
|
3396
|
+
React__namespace["default"].createElement(index$2.Text, { size: "s2" }, modalHeading),
|
|
3397
|
+
contentEle))) : (React__namespace["default"].createElement(index$i.Modal, { title: React__namespace["default"].createElement(index$2.Text, { size: "s2" }, modalHeading), size: 568, opened: opened, onClose: handleDismiss, zIndex: 500, styles: {
|
|
3398
|
+
body: {
|
|
3399
|
+
'&:not(:only-child)': {
|
|
3400
|
+
paddingTop: 16,
|
|
3401
|
+
},
|
|
3402
|
+
},
|
|
3403
|
+
} }, contentEle));
|
|
3404
|
+
}
|
|
3405
|
+
|
|
2828
3406
|
const StyledFixedAdBlock = styled__default["default"].div `
|
|
2829
3407
|
position: fixed;
|
|
2830
3408
|
z-index: 48;
|
|
@@ -4701,7 +5279,7 @@ const WidgetChatbotAi = ({}) => {
|
|
|
4701
5279
|
React__namespace["default"].createElement("form", { onSubmit: handleSubmit },
|
|
4702
5280
|
React__namespace["default"].createElement(StyleInput, { type: "text", value: value, onChange: (e) => setValue(e.target.value), name: "input-message", placeholder: "Ask anything..." }),
|
|
4703
5281
|
React__namespace["default"].createElement(core.Box, { className: "rightSection" },
|
|
4704
|
-
React__namespace["default"].createElement(index$
|
|
5282
|
+
React__namespace["default"].createElement(index$g.Button, { className: "submitBtn", type: "submit", variant: value ? 'primary' : 'ghost', leftIcon: React__namespace["default"].createElement(arrow.ArrowRight, { size: 16, color: value ? '#fff' : '#595959' }) }))))));
|
|
4705
5283
|
};
|
|
4706
5284
|
|
|
4707
5285
|
const StyledBox = styled__default["default"].div `
|
|
@@ -4814,7 +5392,7 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
|
|
|
4814
5392
|
React__namespace["default"].createElement(index$9.Button, { className: "hpv-screener-button", onClick: onClick, size: "lg", color: "secondary" },
|
|
4815
5393
|
React__namespace["default"].createElement(StyledTextButtonBox, null,
|
|
4816
5394
|
React__namespace["default"].createElement(index$2.Text, { size: "title2", color: "primaryBase", weight: "semiBold" }, t('detail.hpvScreenerButton')),
|
|
4817
|
-
React__namespace["default"].createElement(index$
|
|
5395
|
+
React__namespace["default"].createElement(index$j.ArrowRightBlue, { style: { width: '0.5rem', height: '0.5rem' } }))))));
|
|
4818
5396
|
};
|
|
4819
5397
|
|
|
4820
5398
|
const StyledTwoItemHorizontalContainer = styled__default["default"].div `
|
|
@@ -4917,7 +5495,7 @@ function Content({ className, children, customLoading, customEmpty, }) {
|
|
|
4917
5495
|
const { loading, items } = useListContext();
|
|
4918
5496
|
const { t } = index$8.useTranslations();
|
|
4919
5497
|
if (loading) {
|
|
4920
|
-
return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$
|
|
5498
|
+
return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$k.Loading, null);
|
|
4921
5499
|
}
|
|
4922
5500
|
if (!items.length) {
|
|
4923
5501
|
return customEmpty ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customEmpty) : React__namespace["default"].createElement("div", null, t('common.noResult'));
|
|
@@ -5592,7 +6170,7 @@ const FixedHeroSection = styled__default["default"].div `
|
|
|
5592
6170
|
|
|
5593
6171
|
${utils.MediaQueries.mbDown} {
|
|
5594
6172
|
position: fixed;
|
|
5595
|
-
top: var(--header-height, ${constants.DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
6173
|
+
top: var(--header-height, ${constants$1.DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
5596
6174
|
left: 0;
|
|
5597
6175
|
right: 0;
|
|
5598
6176
|
z-index: 0;
|
|
@@ -6061,7 +6639,7 @@ function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = f
|
|
|
6061
6639
|
};
|
|
6062
6640
|
const modalTitle = isMobile ? title : undefined;
|
|
6063
6641
|
return (React__namespace["default"].createElement(StyledModal, Object.assign({ opened: isOpen, onClose: handleClose, zIndex: index$6.ZINDEX_SSO, withCloseButton: isMobile, centered: true, size: "auto", fullScreen: isMobile, title: modalTitle, autoFocus: false }, modalProps, { transitionProps: Object.assign({ duration: TRANSITION_DURATION }, modalProps.transitionProps) }),
|
|
6064
|
-
!isMobile && (React__namespace["default"].createElement(
|
|
6642
|
+
!isMobile && (React__namespace["default"].createElement(index$l.Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
|
|
6065
6643
|
React__namespace["default"].createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
|
|
6066
6644
|
React__namespace["default"].createElement(ModalGalleryContent, null))));
|
|
6067
6645
|
}
|
|
@@ -6311,6 +6889,8 @@ exports.ListContext = ListContext;
|
|
|
6311
6889
|
exports.MAX_RATING = MAX_RATING;
|
|
6312
6890
|
exports.ModalGallery = ModalGallery;
|
|
6313
6891
|
exports.ModalGalleryProvider = ModalGalleryProvider;
|
|
6892
|
+
exports.PopupBoostArticleCard = PopupBoostArticleCard;
|
|
6893
|
+
exports.PopupBoostPageView = PopupBoostPageView;
|
|
6314
6894
|
exports.QuickFilter = QuickFilter;
|
|
6315
6895
|
exports.QuickFilterWrapLine = QuickFilterWrapLine;
|
|
6316
6896
|
exports.RadioGroup = RadioGroup;
|