@hhgtech/hhg-components 1.29.534 → 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-afcee12c.js → InputDate-e36acf43.js} +5 -5
- package/build/{LastPeriod-d3798ce6.js → LastPeriod-f3169727.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f51ce26f.js → MobileBottomNavigationIcon-0337b8c4.js} +3 -3
- package/build/{SiteWideBanner-85878628.js → SiteWideBanner-f5d39108.js} +11 -11
- package/build/{Spinner-98eea6de.js → Spinner-ac95cd49.js} +1 -1
- package/build/{WhatsApp-648f616d.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/mantine/theme/text.d.ts +15 -1
- 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/molecules/productDetail/generalInfo/GeneralInfo.d.ts +2 -1
- package/build/components/molecules/productDetail/generalInfo/constants.d.ts +2 -0
- package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +19 -0
- package/build/components/navigationV2/constants.d.ts +2 -0
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components.js +155 -152
- package/build/{constants-dee2d6f2.js → constants-3a105b5b.js} +3 -2
- package/build/constants-7afe63ff.js +26 -0
- package/build/{constants-60bca169.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-e2dda9ca.js → core-711505a4.js} +1 -1
- package/build/{dataTransform-6af4a005.js → dataTransform-1a34225a.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-36ab2eaa.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-b564ffe2.js → InputDate-1f29addf.js} +5 -5
- package/build/esm/{LastPeriod-2d1a8af5.js → LastPeriod-9d923b34.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-32a5c134.js → MobileBottomNavigationIcon-37a9bc87.js} +3 -3
- package/build/esm/{SiteWideBanner-5e66305f.js → SiteWideBanner-5ede75f5.js} +11 -11
- package/build/esm/{Spinner-1944f377.js → Spinner-743f8c63.js} +1 -1
- package/build/esm/{WhatsApp-d3a97aa7.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/mantine/theme/text.d.ts +15 -1
- 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/molecules/productDetail/generalInfo/GeneralInfo.d.ts +2 -1
- package/build/esm/components/molecules/productDetail/generalInfo/constants.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +19 -0
- package/build/esm/components/navigationV2/constants.d.ts +2 -0
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components.js +109 -108
- package/build/esm/{constants-b9de6aa4.js → constants-37007b2c.js} +3 -3
- package/build/esm/{constants-ee7660c1.js → constants-404d15d2.js} +1 -1
- package/build/esm/constants-6124668c.js +21 -0
- 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-954f8b2e.js → core-fca356d8.js} +1 -1
- package/build/esm/{dataTransform-13dbb556.js → dataTransform-9ebf9bf0.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-505d6e32.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-6c0ba920.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-644c2671.js → index-013d0e96.js} +1 -1
- package/build/esm/{index-1e8cb961.js → index-01e8d792.js} +22 -22
- package/build/esm/{index-170c7d68.js → index-060998eb.js} +1 -1
- package/build/esm/{index-a477d182.js → index-14aa58d2.js} +4 -4
- package/build/esm/{index-af4d2e05.js → index-18bc0058.js} +9 -9
- package/build/esm/{index-c6e7fc6c.js → index-203f44eb.js} +4 -4
- package/build/esm/{index-42003c77.js → index-268da16b.js} +2 -2
- package/build/esm/{index-e189aeef.js → index-2be2141f.js} +15 -15
- package/build/esm/{index-5e89000a.js → index-2f65332f.js} +2 -2
- package/build/esm/{index-c95be069.js → index-39aa5654.js} +49 -42
- package/build/esm/{index-9972f3f1.js → index-3a8b749b.js} +16 -16
- package/build/esm/{index-60e408df.js → index-3c29d9dd.js} +16 -16
- package/build/esm/{index-031b44e9.js → index-3ec1503e.js} +1 -1
- package/build/esm/{index-e94c4a25.js → index-3f9050aa.js} +16 -16
- package/build/esm/{index-8fb5fab3.js → index-3ffda36c.js} +6 -6
- package/build/esm/{index-f8d2ecda.js → index-4513ed67.js} +3 -3
- package/build/esm/{index-7695d017.js → index-47661f97.js} +11 -11
- package/build/esm/{index-52842760.js → index-4a2359b3.js} +8 -8
- package/build/esm/{index-04f30777.js → index-4be1ab00.js} +18 -18
- package/build/esm/{index-411b1e21.js → index-4cc919a5.js} +1 -1
- package/build/esm/{index-cdb4d674.js → index-4d172c08.js} +3 -3
- package/build/esm/{index-518108c6.js → index-4d502b48.js} +2 -2
- package/build/esm/{index-c43883f0.js → index-4e879372.js} +2 -2
- package/build/esm/{index-546c9175.js → index-4fc6b035.js} +3 -3
- package/build/esm/{index-83a3fab1.js → index-548eb660.js} +2 -2
- package/build/esm/{index-875e7c03.js → index-557f1490.js} +25 -25
- package/build/esm/{index-5c5d93ff.js → index-58ad4cfd.js} +32 -32
- package/build/esm/{index-3cf280c9.js → index-5eecb85b.js} +17 -17
- package/build/esm/{index-e7e76147.js → index-5f9aaacb.js} +9 -9
- package/build/esm/{index-37adc44b.js → index-640a9bd3.js} +16 -16
- package/build/esm/{index-5f5b7cda.js → index-659e2aa2.js} +1 -1
- package/build/esm/{index-2828b387.js → index-770c7a56.js} +2 -2
- package/build/esm/{index-92023d47.js → index-77a9f6ba.js} +6 -6
- package/build/esm/{index-b7cc530f.js → index-77c65088.js} +8 -3
- package/build/esm/{index-af5a71ea.js → index-7c27cc59.js} +3 -3
- package/build/esm/{index-984cd2a6.js → index-8885a39c.js} +14 -14
- package/build/esm/{index-f2b6f445.js → index-8ddb6271.js} +15 -15
- package/build/esm/{index-cebe4a5a.js → index-8f789a7c.js} +2 -2
- package/build/esm/{index-c46c6359.js → index-9a683b06.js} +15 -15
- package/build/esm/index-a03439ab.js +113 -0
- package/build/esm/{index-a3c3a3b5.js → index-a1b3080b.js} +3 -3
- package/build/esm/{index-c972f896.js → index-a3a10ecd.js} +6 -6
- package/build/esm/{index-48665c24.js → index-a69ebcc8.js} +3 -3
- package/build/esm/{index-1b8f14e2.js → index-ac875c34.js} +32 -32
- package/build/esm/{index-d4836ab1.js → index-ace53ba0.js} +1 -1
- package/build/esm/{index-01466711.js → index-b2dfc4d6.js} +2 -2
- package/build/esm/{index-6cb8cbd6.js → index-b4e87886.js} +13 -13
- package/build/esm/{index-a3d0645b.js → index-b5b1c47d.js} +3 -3
- package/build/esm/{index-a27ac794.js → index-b6102f38.js} +18 -18
- package/build/esm/{index-d9bb5f97.js → index-b7340e4e.js} +2 -2
- package/build/esm/{index-bfdaaaae.js → index-ba30c7e7.js} +5 -5
- package/build/esm/{index-96354a8e.js → index-ba7ede9c.js} +2 -2
- package/build/esm/{index-8e3a4d94.js → index-bcad4e96.js} +6 -6
- package/build/esm/{index-5bbb8b7a.js → index-c1482776.js} +14 -0
- package/build/esm/{index-9957afcb.js → index-c6c8996c.js} +25 -24
- package/build/esm/{index-11417cfa.js → index-c7b3bb8c.js} +3 -3
- package/build/esm/{index-d362abc0.js → index-c8c7be5b.js} +2 -2
- package/build/esm/{index-0b185aa8.js → index-d1f041f2.js} +2 -2
- package/build/esm/{index-3354fa7c.js → index-d3286a1d.js} +14 -14
- package/build/esm/{index-dbceef8f.js → index-d3c46c8b.js} +2 -2
- package/build/esm/{index-add54147.js → index-d92cddf2.js} +2 -2
- package/build/esm/{index-0dd981b5.js → index-e052e380.js} +20 -20
- package/build/esm/{index-6fd7580d.js → index-eb917852.js} +2 -2
- package/build/esm/{index-40ef173b.js → index-ecdc6470.js} +12 -12
- package/build/esm/{index-f54fe69a.js → index-eff1e830.js} +3 -3
- package/build/esm/{index-dee4ae40.js → index-f0ab091c.js} +13 -13
- package/build/esm/{index-031e2aab.js → index-f50cb51f.js} +3 -111
- package/build/esm/{index-72e6b26d.js → index-f5e87c86.js} +3 -3
- package/build/esm/{index-2ce0ca04.js → index-f60f746d.js} +7 -7
- package/build/esm/{index-6a21cee7.js → index-f76da51b.js} +2 -2
- package/build/esm/{index-65d31c22.js → index-f89c232a.js} +14 -14
- package/build/esm/{index-190ae112.js → index-fb11c311.js} +7 -7
- package/build/esm/{index-8152ea72.js → index-fce2eded.js} +21 -21
- package/build/esm/index.js +131 -130
- package/build/esm/{labelSorting-76a22f89.js → labelSorting-af2ed360.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-bf624741.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 -84
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +50 -49
- 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 -63
- package/build/esm/{post-9993ef39.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-948fe8b9.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-06a0f0c2.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-15f92750.js → transform-4a07e970.js} +774 -70
- package/build/esm/{translationsProvider-53a9ad8c.js → translationsProvider-bb0c7c9a.js} +1 -1
- package/build/esm/{treePopoverMenu-7cbd4446.js → treePopoverMenu-63f6fc45.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-7357b628.js → useCartCareService-1233dfaf.js} +1 -1
- package/build/esm/{useHealthToolCache-980bfe8a.js → useHealthToolCache-8cfdb24f.js} +1 -1
- package/build/esm/{usePhoneValidator-e865da22.js → usePhoneValidator-f3726c82.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-58c93fd8.js → usePlacesAutocomplete-5fdcc964.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-60b402a8.js → utils-1551ea31.js} +5 -22
- package/build/esm/{utils-5eee13ad.js → utils-224eb19d.js} +2 -2
- package/build/esm/{utils-12fb321f.js → utils-308ac86c.js} +2 -2
- package/build/esm/{utils-b460a4e9.js → utils-70ffba4c.js} +4 -4
- package/build/esm/{utils-3a042d56.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-95616f15.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-3f6f3d8c.js → index-01b8927f.js} +21 -21
- package/build/{index-7c6699fc.js → index-03830704.js} +1 -1
- package/build/{index-169e3192.js → index-07e44bbf.js} +32 -9
- package/build/{index-bc8cf290.js → index-0d8cc90a.js} +3 -3
- package/build/{index-96133bac.js → index-15758c98.js} +51 -44
- package/build/{index-8188b101.js → index-21ed1a34.js} +3 -3
- package/build/{index-acf54bc7.js → index-25ba1332.js} +2 -2
- package/build/{index-50886818.js → index-25e81413.js} +2 -2
- package/build/{index-663a9756.js → index-27f010c0.js} +2 -2
- package/build/{index-81d9c479.js → index-28ab9387.js} +32 -32
- package/build/{index-0727bd8b.js → index-2c09721b.js} +2 -2
- package/build/{index-dcc52018.js → index-2da99c24.js} +16 -16
- package/build/{index-5a579151.js → index-3200621c.js} +14 -0
- package/build/{index-fe0db5b1.js → index-322bd2f3.js} +2 -2
- package/build/{index-7893d403.js → index-3334e785.js} +2 -2
- package/build/{index-1c468647.js → index-38475940.js} +25 -25
- package/build/{index-6437a4e6.js → index-3fdc60f2.js} +32 -32
- package/build/index-405d9450.js +120 -0
- package/build/{index-1e3c9ac1.js → index-41358bbc.js} +16 -16
- package/build/{index-eddecffe.js → index-42c2f97d.js} +18 -18
- package/build/{index-ad7592fe.js → index-44509b09.js} +3 -3
- package/build/{index-2e84d50f.js → index-44ad924e.js} +2 -2
- package/build/{index-75ed3a31.js → index-484df63b.js} +2 -2
- package/build/{index-326d9b7f.js → index-4a68ca3d.js} +3 -3
- package/build/{index-2405320a.js → index-4ba6318e.js} +4 -4
- package/build/{index-3030dd04.js → index-4cc28673.js} +2 -2
- package/build/{index-ba6db1b8.js → index-4cf2b7bb.js} +14 -14
- package/build/{index-6c3ba434.js → index-507c4a88.js} +2 -2
- package/build/{index-3c8b5347.js → index-55498938.js} +3 -3
- package/build/{index-971d3d67.js → index-569e383c.js} +2 -2
- package/build/{index-0c1178d6.js → index-57221106.js} +3 -3
- package/build/{index-2ca653a5.js → index-6448dbb9.js} +2 -2
- package/build/{index-efcfe5a6.js → index-644d329e.js} +13 -13
- package/build/{index-51033326.js → index-6b18199b.js} +10 -10
- package/build/{index-39886615.js → index-6bffa5e5.js} +18 -18
- package/build/{index-c20cc0d9.js → index-6d042d7c.js} +2 -111
- package/build/{index-bedf8788.js → index-706181bc.js} +7 -7
- package/build/{index-ae781903.js → index-83c0c161.js} +6 -6
- package/build/{index-0d0c2147.js → index-864b4b32.js} +16 -16
- package/build/{index-b1295b17.js → index-8b1c3034.js} +6 -6
- package/build/{index-2b5f571f.js → index-8e144fb8.js} +16 -16
- package/build/{index-b84f4acc.js → index-8e8f123d.js} +6 -6
- package/build/{index-71f955a1.js → index-9537d005.js} +68 -67
- package/build/{index-6724c82e.js → index-953ab1e6.js} +12 -12
- package/build/{index-5d13c03b.js → index-9646bddc.js} +1 -1
- package/build/{index-83473c71.js → index-991cc8fb.js} +3 -3
- package/build/{index-b5bc66e1.js → index-9c388206.js} +2 -2
- package/build/{index-f0be2882.js → index-9d4e703c.js} +8 -8
- package/build/{index-5fa329d6.js → index-9e92966b.js} +13 -13
- package/build/{index-edb521fe.js → index-9f2c5324.js} +16 -16
- package/build/{index-11d1e58c.js → index-a2a4db79.js} +1 -1
- package/build/{index-aefd2dfc.js → index-a3042e6c.js} +1 -1
- package/build/{index-1c3fc689.js → index-a3ef9142.js} +2 -2
- package/build/{index-2b76ae5d.js → index-a59ad212.js} +9 -9
- package/build/{index-4055a5a0.js → index-ae80fd4f.js} +14 -14
- package/build/{index-411101f4.js → index-b0b0278f.js} +15 -15
- package/build/{index-c9a1d63d.js → index-b4278821.js} +4 -4
- package/build/{index-b702020a.js → index-b522e843.js} +11 -11
- package/build/{index-2cc43886.js → index-b7834790.js} +3 -3
- package/build/{index-d1fd2870.js → index-c8c107ff.js} +15 -15
- package/build/{index-5eb84192.js → index-cdc643a5.js} +2 -1
- package/build/{index-38c39406.js → index-d42b6d29.js} +3 -3
- package/build/{index-7e886488.js → index-dbdb23da.js} +17 -17
- package/build/{index-42bd03b3.js → index-dc6e15d9.js} +22 -22
- package/build/{index-ef2beb63.js → index-dcf7ccc2.js} +6 -6
- package/build/{index-8bc3a01b.js → index-dd626b07.js} +1 -1
- package/build/{index-7bc9b8e4.js → index-dd8f5c3e.js} +20 -20
- package/build/{index-7d6d8f5f.js → index-e5f0958d.js} +2 -2
- package/build/{index-0b08a7dc.js → index-e83cea31.js} +5 -5
- package/build/{index-bb8f45c4.js → index-ecaa31fa.js} +1 -1
- package/build/{index-a2d2bd91.js → index-f23745da.js} +7 -7
- package/build/{index-57541b6b.js → index-f5214cbc.js} +14 -14
- package/build/{index-9e5d3362.js → index-fd1234a6.js} +3 -3
- package/build/index.js +218 -215
- package/build/{labelSorting-ac8d9bb4.js → labelSorting-17795c3d.js} +4 -4
- package/build/lead.js +38 -38
- package/build/{logoIcon-6eff0a98.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 -84
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +50 -49
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +64 -63
- package/build/{post-6f6c4bf9.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-abaccb7a.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-d6ccd1b5.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-9c8c8e60.js → transform-35894a94.js} +779 -71
- package/build/{translationsProvider-cb71b48c.js → translationsProvider-3f727fa6.js} +1 -1
- package/build/{treePopoverMenu-65c79750.js → treePopoverMenu-150fe3d0.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-13037283.js → useCartCareService-87a7f37e.js} +1 -1
- package/build/{useHealthToolCache-1fe6d03f.js → useHealthToolCache-169934ff.js} +1 -1
- package/build/{usePhoneValidator-ad80a420.js → usePhoneValidator-e18703cb.js} +5 -5
- package/build/{usePlacesAutocomplete-c61d4f93.js → usePlacesAutocomplete-c65de69a.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-684c23d4.js → utils-20039952.js} +2 -2
- package/build/{utils-6cdcc2ff.js → utils-5aef9a5e.js} +2 -2
- package/build/{utils-900fface.js → utils-8b6e346c.js} +6 -24
- package/build/{utils-e78cf8f9.js → utils-b86a33af.js} +5 -5
- package/build/{utils-e5a2a5a8.js → utils-fca330e1.js} +3 -3
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/Close-070f618f.js +0 -29
- package/build/esm/Close-e0574388.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-48baed1a.js → BMI_BOYS.percentile.monthly-9eebe9cf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-2ca1a1e0.js → BMI_BOYS.percentile.weekly-c39d46bb.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8fc1e476.js → BMI_BOYS.percentile.yearly-94d28a84.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6e08a880.js → BMI_BOYS.zscore.monthly-01f35f7c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-53bcabcd.js → BMI_BOYS.zscore.weekly-a91ceca2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-27f1510f.js → BMI_BOYS.zscore.yearly-8acd260c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-69ebcb4f.js → BMI_GIRLS.percentile.monthly-9b2793cf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cf4b8072.js → BMI_GIRLS.percentile.weekly-264164f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-38029d35.js → BMI_GIRLS.percentile.yearly-302c5e9f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a675d12f.js → BMI_GIRLS.zscore.monthly-4ab8d703.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d8bc5e09.js → BMI_GIRLS.zscore.weekly-ad13b071.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-109043e5.js → BMI_GIRLS.zscore.yearly-716b48e1.js} +0 -0
- /package/build/{ChevronDown-91488e3c.js → ChevronDown-b8094af2.js} +0 -0
- /package/build/{Google-e2ca2229.js → Google-bc048cf0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d402dc53.js → HEAD CIRCUM_BOYS.percentile.monthly-b262e0e4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8e22260b.js → HEAD CIRCUM_BOYS.percentile.weekly-f0acf39e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0cf75833.js → HEAD CIRCUM_BOYS.percentile.yearly-b9b17895.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0a9e6771.js → HEAD CIRCUM_BOYS.zscore.monthly-fcf435b3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-48d63a80.js → HEAD CIRCUM_BOYS.zscore.weekly-1fed3af5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2eda9104.js → HEAD CIRCUM_BOYS.zscore.yearly-8da37cd4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d56d031c.js → HEAD CIRCUM_GIRLS.percentile.monthly-3f58377a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e5ad61a5.js → HEAD CIRCUM_GIRLS.percentile.weekly-dff12d6d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ba08ee02.js → HEAD CIRCUM_GIRLS.percentile.yearly-97744287.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-eead5c1d.js → HEAD CIRCUM_GIRLS.zscore.monthly-19da2e6d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cb5b8934.js → HEAD CIRCUM_GIRLS.zscore.weekly-b67d012c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6ea0383a.js → HEAD CIRCUM_GIRLS.zscore.yearly-c447c22f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5c5b8f3c.js → HEIGHT_BOYS.percentile.monthly-1119985b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e76d5e9c.js → HEIGHT_BOYS.percentile.weekly-a0e51cbd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-44d63883.js → HEIGHT_BOYS.percentile.yearly-824fd20e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4917267f.js → HEIGHT_BOYS.zscore.monthly-6c9b19b9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0b6cdec1.js → HEIGHT_BOYS.zscore.weekly-9dc59e5e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b39896f2.js → HEIGHT_BOYS.zscore.yearly-8d798ebe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9d9a6feb.js → HEIGHT_GIRLS.percentile.monthly-40da9848.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-983d4f3c.js → HEIGHT_GIRLS.percentile.weekly-fd103f47.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-68bfd9d2.js → HEIGHT_GIRLS.percentile.yearly-05375096.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-be8b0520.js → HEIGHT_GIRLS.zscore.monthly-cb1e1867.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2b4791fc.js → HEIGHT_GIRLS.zscore.weekly-057a88c4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cad4e4cc.js → HEIGHT_GIRLS.zscore.yearly-092799fc.js} +0 -0
- /package/build/{Locale-4905c35b.js → Locale-5a83f75b.js} +0 -0
- /package/build/{Visible-bf6f9fbb.js → Visible-f4f5246d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-00c2bee9.js → WEIGHT_BOYS.percentile.monthly-261c5a51.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0ae6e7b8.js → WEIGHT_BOYS.percentile.weekly-e4c63b08.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5c475fcd.js → WEIGHT_BOYS.percentile.yearly-0cfb4954.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-153fac92.js → WEIGHT_BOYS.zscore.monthly-10597603.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5190f169.js → WEIGHT_BOYS.zscore.weekly-261ef843.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c43a8cec.js → WEIGHT_BOYS.zscore.yearly-4aed196a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-945ca954.js → WEIGHT_GIRLS.percentile.monthly-847725e5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-caa8db1f.js → WEIGHT_GIRLS.percentile.weekly-52ba9466.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d62e53e4.js → WEIGHT_GIRLS.percentile.yearly-9a29980e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1bc5e9df.js → WEIGHT_GIRLS.zscore.monthly-15bc683d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-cb1b66cd.js → WEIGHT_GIRLS.zscore.weekly-42447a43.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-9f6bc1b6.js → WEIGHT_GIRLS.zscore.yearly-91e34521.js} +0 -0
- /package/build/{ageGenerate-26099050.js → ageGenerate-b6e83a57.js} +0 -0
- /package/build/{animation-01750722.js → animation-a768b8bf.js} +0 -0
- /package/build/{constants-b6b141d3.js → constants-1c149930.js} +0 -0
- /package/build/{constants-57b71829.js → constants-9f0f6639.js} +0 -0
- /package/build/{context-53cc1b1c.js → context-caa00887.js} +0 -0
- /package/build/{dataTransform-b0d2d5ed.js → dataTransform-0b9e61ff.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12ec73e9.js → BMI_BOYS.percentile.monthly-2842be47.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5558a423.js → BMI_BOYS.percentile.weekly-902057ca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-87532f90.js → BMI_BOYS.percentile.yearly-fbb96351.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c5b853f2.js → BMI_BOYS.zscore.monthly-451fdaea.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-20b469d3.js → BMI_BOYS.zscore.weekly-a785ab4d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dae526e7.js → BMI_BOYS.zscore.yearly-db13e10e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9c4ede45.js → BMI_GIRLS.percentile.monthly-c0fe420b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-31348087.js → BMI_GIRLS.percentile.weekly-362d748f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2c938442.js → BMI_GIRLS.percentile.yearly-5a1712f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a3ee0ed7.js → BMI_GIRLS.zscore.monthly-70edb826.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0dbeee0f.js → BMI_GIRLS.zscore.weekly-6bc69c43.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d4f38f0e.js → BMI_GIRLS.zscore.yearly-e118dc4b.js} +0 -0
- /package/build/esm/{ChevronDown-6e192b16.js → ChevronDown-f87b5a4f.js} +0 -0
- /package/build/esm/{Google-aab42422.js → Google-b637c4e3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9a45375c.js → HEAD CIRCUM_BOYS.percentile.monthly-ab6d52cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4f778a1b.js → HEAD CIRCUM_BOYS.percentile.weekly-9b34e936.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-ab2b1a93.js → HEAD CIRCUM_BOYS.percentile.yearly-99d4ea72.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-cd9068be.js → HEAD CIRCUM_BOYS.zscore.monthly-282c07e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c42d6558.js → HEAD CIRCUM_BOYS.zscore.weekly-1ded7174.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-faa29f77.js → HEAD CIRCUM_BOYS.zscore.yearly-8b4b0280.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-abb5319e.js → HEAD CIRCUM_GIRLS.percentile.monthly-19c8444b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3c1bfba6.js → HEAD CIRCUM_GIRLS.percentile.weekly-e02eab47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5e6c9c89.js → HEAD CIRCUM_GIRLS.percentile.yearly-b5c32bd0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7d9443b4.js → HEAD CIRCUM_GIRLS.zscore.monthly-7e2cf322.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b808ec42.js → HEAD CIRCUM_GIRLS.zscore.weekly-dd5fad66.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-afa046d5.js → HEAD CIRCUM_GIRLS.zscore.yearly-f960eb08.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c98d182c.js → HEIGHT_BOYS.percentile.monthly-c59bd914.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e0fb9e4d.js → HEIGHT_BOYS.percentile.weekly-d4d6a476.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d3c2813b.js → HEIGHT_BOYS.percentile.yearly-acb0a8bd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-0aae46de.js → HEIGHT_BOYS.zscore.monthly-088a0552.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-78e47e88.js → HEIGHT_BOYS.zscore.weekly-e53ccc3c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bdcc8248.js → HEIGHT_BOYS.zscore.yearly-d097c7f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-983e88c2.js → HEIGHT_GIRLS.percentile.monthly-9ab9df70.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e5996a35.js → HEIGHT_GIRLS.percentile.weekly-f2083094.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1a28767b.js → HEIGHT_GIRLS.percentile.yearly-d6148f91.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5af591d9.js → HEIGHT_GIRLS.zscore.monthly-271f0596.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d4e3e6db.js → HEIGHT_GIRLS.zscore.weekly-df0e9360.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-cb5f4e54.js → HEIGHT_GIRLS.zscore.yearly-a3b25558.js} +0 -0
- /package/build/esm/{Locale-41d09e42.js → Locale-908c3d6a.js} +0 -0
- /package/build/esm/{Visible-dfef3786.js → Visible-ef52c6a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4dc89c40.js → WEIGHT_BOYS.percentile.monthly-d34056bc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-34b4fa21.js → WEIGHT_BOYS.percentile.weekly-4d7338bb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5111b096.js → WEIGHT_BOYS.percentile.yearly-62356a95.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d9ced258.js → WEIGHT_BOYS.zscore.monthly-fa69edf8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d0fe4104.js → WEIGHT_BOYS.zscore.weekly-e4572889.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-54b66d08.js → WEIGHT_BOYS.zscore.yearly-8f7da5da.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bdf696bc.js → WEIGHT_GIRLS.percentile.monthly-69019ce9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-aad39ae3.js → WEIGHT_GIRLS.percentile.weekly-157f2b43.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1f27c299.js → WEIGHT_GIRLS.percentile.yearly-4cde62fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ea6ec8d3.js → WEIGHT_GIRLS.zscore.monthly-4116a769.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ee1f6632.js → WEIGHT_GIRLS.zscore.weekly-d5ba9a8d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-44b8c95e.js → WEIGHT_GIRLS.zscore.yearly-f6aa5a37.js} +0 -0
- /package/build/esm/{ageGenerate-f8441365.js → ageGenerate-7c70c394.js} +0 -0
- /package/build/esm/{animation-aed03bf3.js → animation-b1367448.js} +0 -0
- /package/build/esm/{constants-12be65ba.js → constants-445e435e.js} +0 -0
- /package/build/esm/{constants-a159433c.js → constants-ea9120e1.js} +0 -0
- /package/build/esm/{context-e7e3451c.js → context-27de34fe.js} +0 -0
- /package/build/esm/{dataTransform-e7e3d0e2.js → dataTransform-b5e39368.js} +0 -0
- /package/build/esm/{index-a198ca8e.js → index-005cdb98.js} +0 -0
- /package/build/esm/{index-7cb406e9.js → index-44f95e34.js} +0 -0
- /package/build/esm/{index-1838c494.js → index-6b0eced8.js} +0 -0
- /package/build/esm/{index-c5fc02fd.js → index-959d94f7.js} +0 -0
- /package/build/esm/{index-df8ae5b0.js → index-95a7170c.js} +0 -0
- /package/build/esm/{index-febe78cf.js → index-9d59578e.js} +0 -0
- /package/build/esm/{index-d0525a50.js → index-d53080b2.js} +0 -0
- /package/build/esm/{index-93a1e9f7.js → index-e485117d.js} +0 -0
- /package/build/esm/{index.styles-235de34d.js → index.styles-5b2ab4d6.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ca6ae426.js → localizeNumberFormat-624328c3.js} +0 -0
- /package/build/esm/{normalizeLink-23209e13.js → normalizeLink-0079beba.js} +0 -0
- /package/build/esm/{number-37c11a5f.js → number-a14446c0.js} +0 -0
- /package/build/esm/{paths-470b2657.js → paths-f64f6370.js} +0 -0
- /package/build/esm/{shared-a90a1b12.js → shared-f945f951.js} +0 -0
- /package/build/esm/{translationsContext-cd8871cf.js → translationsContext-b60af033.js} +0 -0
- /package/build/esm/{tslib.es6-d9a784b4.js → tslib.es6-94c34d9b.js} +0 -0
- /package/build/esm/{types-37879d8a.js → types-839ddc3f.js} +0 -0
- /package/build/esm/{types-c1c2792f.js → types-d43df110.js} +0 -0
- /package/build/esm/{useOutsideClick-77fe7218.js → useOutsideClick-22b6ed6b.js} +0 -0
- /package/build/esm/{useScrollbarSize-6862ffc3.js → useScrollbarSize-0a17cca1.js} +0 -0
- /package/build/esm/{useUniqueId-faea4d8a.js → useUniqueId-084faa54.js} +0 -0
- /package/build/esm/{utils-6772076f.js → utils-423094ef.js} +0 -0
- /package/build/esm/{utils-aa9ab729.js → utils-ab177407.js} +0 -0
- /package/build/{index-1148ec27.js → index-34c5f0b9.js} +0 -0
- /package/build/{index-cb026ebc.js → index-3f61aaac.js} +0 -0
- /package/build/{index-18106e28.js → index-508b0088.js} +0 -0
- /package/build/{index-515496af.js → index-982d6965.js} +0 -0
- /package/build/{index-c8f1d21f.js → index-b6fc72e1.js} +0 -0
- /package/build/{index-32fb4a93.js → index-bca19478.js} +0 -0
- /package/build/{index-06a2a79f.js → index-c8c079cd.js} +0 -0
- /package/build/{index-67b4a9ba.js → index-e42ff306.js} +0 -0
- /package/build/{index.styles-ce6433a2.js → index.styles-9d1b6157.js} +0 -0
- /package/build/{localizeNumberFormat-a32cf82b.js → localizeNumberFormat-4ce3c5aa.js} +0 -0
- /package/build/{normalizeLink-7b8802a3.js → normalizeLink-c1e55df9.js} +0 -0
- /package/build/{number-2c5609f4.js → number-06c2a1fa.js} +0 -0
- /package/build/{paths-bfb51e53.js → paths-d5dacfe0.js} +0 -0
- /package/build/{shared-20d0534b.js → shared-0deaf7e5.js} +0 -0
- /package/build/{translationsContext-890a8c7e.js → translationsContext-31246103.js} +0 -0
- /package/build/{tslib.es6-6e32661f.js → tslib.es6-98c3bd91.js} +0 -0
- /package/build/{types-d604ee26.js → types-4e3c9126.js} +0 -0
- /package/build/{types-387d2e71.js → types-a2996e06.js} +0 -0
- /package/build/{useOutsideClick-5e64f3f7.js → useOutsideClick-045370e1.js} +0 -0
- /package/build/{useScrollbarSize-175c7e30.js → useScrollbarSize-39494612.js} +0 -0
- /package/build/{useUniqueId-ebba63aa.js → useUniqueId-8886cac4.js} +0 -0
- /package/build/{utils-3ca5fccf.js → utils-62e092bd.js} +0 -0
- /package/build/{utils-5b201f29.js → utils-a7248a8c.js} +0 -0
|
@@ -1,57 +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-4905c35b.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');
|
|
65
|
+
var constants$1 = require('./constants-7afe63ff.js');
|
|
55
66
|
|
|
56
67
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
57
68
|
|
|
@@ -83,6 +94,8 @@ var id__default = /*#__PURE__*/_interopDefault(id);
|
|
|
83
94
|
var vi__default = /*#__PURE__*/_interopDefault(vi);
|
|
84
95
|
var zhTW__default = /*#__PURE__*/_interopDefault(zhTW);
|
|
85
96
|
var classNames__default = /*#__PURE__*/_interopDefault(classNames);
|
|
97
|
+
var innertext__default = /*#__PURE__*/_interopDefault(innertext);
|
|
98
|
+
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
86
99
|
var Lottie__default = /*#__PURE__*/_interopDefault(Lottie);
|
|
87
100
|
var get__default = /*#__PURE__*/_interopDefault(get);
|
|
88
101
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
@@ -2824,6 +2837,572 @@ const ShareDrawer = (_a) => {
|
|
|
2824
2837
|
}
|
|
2825
2838
|
};
|
|
2826
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
|
+
|
|
2827
3406
|
const StyledFixedAdBlock = styled__default["default"].div `
|
|
2828
3407
|
position: fixed;
|
|
2829
3408
|
z-index: 48;
|
|
@@ -4700,7 +5279,7 @@ const WidgetChatbotAi = ({}) => {
|
|
|
4700
5279
|
React__namespace["default"].createElement("form", { onSubmit: handleSubmit },
|
|
4701
5280
|
React__namespace["default"].createElement(StyleInput, { type: "text", value: value, onChange: (e) => setValue(e.target.value), name: "input-message", placeholder: "Ask anything..." }),
|
|
4702
5281
|
React__namespace["default"].createElement(core.Box, { className: "rightSection" },
|
|
4703
|
-
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' }) }))))));
|
|
4704
5283
|
};
|
|
4705
5284
|
|
|
4706
5285
|
const StyledBox = styled__default["default"].div `
|
|
@@ -4813,39 +5392,66 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
|
|
|
4813
5392
|
React__namespace["default"].createElement(index$9.Button, { className: "hpv-screener-button", onClick: onClick, size: "lg", color: "secondary" },
|
|
4814
5393
|
React__namespace["default"].createElement(StyledTextButtonBox, null,
|
|
4815
5394
|
React__namespace["default"].createElement(index$2.Text, { size: "title2", color: "primaryBase", weight: "semiBold" }, t('detail.hpvScreenerButton')),
|
|
4816
|
-
React__namespace["default"].createElement(index$
|
|
5395
|
+
React__namespace["default"].createElement(index$j.ArrowRightBlue, { style: { width: '0.5rem', height: '0.5rem' } }))))));
|
|
4817
5396
|
};
|
|
4818
5397
|
|
|
4819
5398
|
const StyledTwoItemHorizontalContainer = styled__default["default"].div `
|
|
4820
5399
|
display: grid;
|
|
4821
5400
|
grid-template-columns: 1fr 2px 1fr;
|
|
4822
|
-
column-gap: ${core.rem(
|
|
5401
|
+
column-gap: ${core.rem(10)};
|
|
5402
|
+
|
|
5403
|
+
${utils.MediaQueries.mbUp} {
|
|
5404
|
+
column-gap: ${core.rem(16)};
|
|
5405
|
+
}
|
|
4823
5406
|
`;
|
|
4824
5407
|
const StyledVerticalContainer = styled__default["default"].div `
|
|
4825
5408
|
display: grid;
|
|
4826
5409
|
grid-template-columns: repeat(2, 1fr);
|
|
4827
|
-
|
|
5410
|
+
column-gap: ${core.rem(10)};
|
|
5411
|
+
row-gap: ${core.rem(12)};
|
|
4828
5412
|
|
|
4829
5413
|
.span-2 {
|
|
4830
5414
|
grid-column: 1 / span 2;
|
|
4831
5415
|
}
|
|
5416
|
+
|
|
5417
|
+
${utils.MediaQueries.mbUp} {
|
|
5418
|
+
column-gap: ${core.rem(16)};
|
|
5419
|
+
row-gap: ${core.rem(18)};
|
|
5420
|
+
}
|
|
4832
5421
|
`;
|
|
4833
5422
|
const StyledHorizontalContainer = styled__default["default"].div `
|
|
4834
5423
|
display: flex;
|
|
4835
5424
|
align-items: center;
|
|
4836
|
-
gap:
|
|
5425
|
+
gap: ${core.rem(10)};
|
|
5426
|
+
|
|
5427
|
+
${utils.MediaQueries.mbUp} {
|
|
5428
|
+
gap: ${core.rem(16)};
|
|
5429
|
+
}
|
|
4837
5430
|
`;
|
|
4838
5431
|
const StyledVerticalContent = styled__default["default"].div `
|
|
4839
5432
|
display: flex;
|
|
4840
5433
|
flex-direction: column;
|
|
4841
|
-
gap: ${core.rem(2)};
|
|
4842
5434
|
align-items: ${({ align }) => align};
|
|
5435
|
+
max-height: ${core.rem(40)};
|
|
5436
|
+
|
|
5437
|
+
${utils.MediaQueries.mbUp} {
|
|
5438
|
+
gap: ${core.rem(2)};
|
|
5439
|
+
max-height: ${core.rem(46)};
|
|
5440
|
+
}
|
|
4843
5441
|
`;
|
|
4844
5442
|
const StyledTitle$1 = styled__default["default"].div `
|
|
4845
|
-
font-size: ${core.rem(15)};
|
|
4846
|
-
font-weight: 600;
|
|
4847
5443
|
color: #111111;
|
|
5444
|
+
font-weight: 600;
|
|
5445
|
+
|
|
5446
|
+
font-size: ${core.rem(15)};
|
|
4848
5447
|
line-height: ${core.rem(24)};
|
|
5448
|
+
letter-spacing: -0.3px;
|
|
5449
|
+
|
|
5450
|
+
${utils.MediaQueries.mbUp} {
|
|
5451
|
+
font-size: ${core.rem(17)};
|
|
5452
|
+
line-height: ${core.rem(24)};
|
|
5453
|
+
letter-spacing: -0.4px;
|
|
5454
|
+
}
|
|
4849
5455
|
`;
|
|
4850
5456
|
const StyledDescription$1 = styled__default["default"].div `
|
|
4851
5457
|
color: ${miscTheme.theme.colors.gray700};
|
|
@@ -4889,7 +5495,7 @@ function Content({ className, children, customLoading, customEmpty, }) {
|
|
|
4889
5495
|
const { loading, items } = useListContext();
|
|
4890
5496
|
const { t } = index$8.useTranslations();
|
|
4891
5497
|
if (loading) {
|
|
4892
|
-
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);
|
|
4893
5499
|
}
|
|
4894
5500
|
if (!items.length) {
|
|
4895
5501
|
return customEmpty ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customEmpty) : React__namespace["default"].createElement("div", null, t('common.noResult'));
|
|
@@ -5353,6 +5959,10 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5353
5959
|
children));
|
|
5354
5960
|
}
|
|
5355
5961
|
|
|
5962
|
+
const HERO_IMAGE_TO_TOP_CONTENT = 251;
|
|
5963
|
+
const OVERLAP_CONTENT_RADIUS = 22;
|
|
5964
|
+
const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
|
|
5965
|
+
|
|
5356
5966
|
// import CalendarDayIcon from '@/public/svg/calendar-days.svg'
|
|
5357
5967
|
// import UsersIcon from '@/public/svg/users.svg'
|
|
5358
5968
|
styled__default["default"](index$7.ImageWrap) `
|
|
@@ -5401,12 +6011,25 @@ styled__default["default"].div `
|
|
|
5401
6011
|
}
|
|
5402
6012
|
`;
|
|
5403
6013
|
const GeneralInfoContainer = styled__default["default"].div `
|
|
6014
|
+
background-color: #fff;
|
|
6015
|
+
|
|
5404
6016
|
${utils.MediaQueries.mbUp} {
|
|
5405
6017
|
display: flex;
|
|
5406
|
-
gap:
|
|
6018
|
+
gap: 0;
|
|
6019
|
+
justify-content: space-between;
|
|
5407
6020
|
border-radius: 0.75rem;
|
|
5408
|
-
padding:
|
|
6021
|
+
padding: ${core.rem(24)};
|
|
5409
6022
|
overflow: hidden;
|
|
6023
|
+
|
|
6024
|
+
& > div:first-child {
|
|
6025
|
+
width: 40%;
|
|
6026
|
+
max-width: 432px;
|
|
6027
|
+
}
|
|
6028
|
+
|
|
6029
|
+
& > div:last-child {
|
|
6030
|
+
width: 51%;
|
|
6031
|
+
max-width: 550px;
|
|
6032
|
+
}
|
|
5410
6033
|
}
|
|
5411
6034
|
|
|
5412
6035
|
#product-image-section {
|
|
@@ -5414,11 +6037,10 @@ const GeneralInfoContainer = styled__default["default"].div `
|
|
|
5414
6037
|
width: 336px;
|
|
5415
6038
|
}
|
|
5416
6039
|
}
|
|
5417
|
-
background-color: #fff;
|
|
5418
6040
|
`;
|
|
5419
6041
|
const ProductImage = styled__default["default"](index$3.ImageWrapV2) `
|
|
5420
6042
|
${utils.MediaQueries.mbUp} {
|
|
5421
|
-
width:
|
|
6043
|
+
width: 432px;
|
|
5422
6044
|
aspect-ratio: 1/1;
|
|
5423
6045
|
object-fit: cover;
|
|
5424
6046
|
border-radius: 0.5rem;
|
|
@@ -5430,7 +6052,8 @@ const ProductImage = styled__default["default"](index$3.ImageWrapV2) `
|
|
|
5430
6052
|
aspect-ratio: 375/190;
|
|
5431
6053
|
`;
|
|
5432
6054
|
const ProductContent = styled__default["default"].div `
|
|
5433
|
-
padding: 1.5rem
|
|
6055
|
+
padding: 1rem 1rem 1.5rem;
|
|
6056
|
+
|
|
5434
6057
|
${utils.MediaQueries.mbUp} {
|
|
5435
6058
|
padding: 0;
|
|
5436
6059
|
flex: 1;
|
|
@@ -5444,7 +6067,13 @@ const ProductContent = styled__default["default"].div `
|
|
|
5444
6067
|
.product-info {
|
|
5445
6068
|
display: flex;
|
|
5446
6069
|
flex-direction: column;
|
|
5447
|
-
gap:
|
|
6070
|
+
gap: 9px;
|
|
6071
|
+
}
|
|
6072
|
+
|
|
6073
|
+
${utils.MediaQueries.mbUp} {
|
|
6074
|
+
.product-info {
|
|
6075
|
+
gap: 8px;
|
|
6076
|
+
}
|
|
5448
6077
|
}
|
|
5449
6078
|
`;
|
|
5450
6079
|
const ImageCarouselContainer = styled__default["default"].div `
|
|
@@ -5483,14 +6112,14 @@ const StyledImageCarousel = styled__default["default"](index$4.Carousel) `
|
|
|
5483
6112
|
}
|
|
5484
6113
|
|
|
5485
6114
|
&[data-inactive] {
|
|
5486
|
-
opacity: 0
|
|
6115
|
+
opacity: 0;
|
|
5487
6116
|
cursor: default;
|
|
5488
6117
|
}
|
|
5489
6118
|
}
|
|
5490
6119
|
|
|
5491
6120
|
.mantine-Carousel-indicators {
|
|
5492
6121
|
gap: 0.375rem;
|
|
5493
|
-
bottom: 0.5rem;
|
|
6122
|
+
bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
|
|
5494
6123
|
}
|
|
5495
6124
|
|
|
5496
6125
|
.mantine-Carousel-indicator {
|
|
@@ -5533,38 +6162,113 @@ const CarouselImageItem = styled__default["default"](index$3.ImageWrapV2) `
|
|
|
5533
6162
|
height: 100%;
|
|
5534
6163
|
object-fit: cover;
|
|
5535
6164
|
object-position: center;
|
|
6165
|
+
`;
|
|
6166
|
+
const FixedHeroSection = styled__default["default"].div `
|
|
6167
|
+
--scrollIndex: ${({ scrollIndex }) => `${scrollIndex}px`};
|
|
6168
|
+
--heroImageHeight: ${HERO_IMAGE_HEIGHT}px;
|
|
6169
|
+
--heroImageRatio: calc(375px / var(--heroImageHeight));
|
|
6170
|
+
|
|
6171
|
+
${utils.MediaQueries.mbDown} {
|
|
6172
|
+
position: fixed;
|
|
6173
|
+
top: var(--header-height, ${constants$1.DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
6174
|
+
left: 0;
|
|
6175
|
+
right: 0;
|
|
6176
|
+
z-index: 0;
|
|
6177
|
+
overflow: hidden;
|
|
6178
|
+
display: flex;
|
|
6179
|
+
flex-direction: column;
|
|
6180
|
+
|
|
6181
|
+
width: 100vw;
|
|
6182
|
+
height: calc(100vw / var(--heroImageRatio) - var(--scrollIndex, 0px));
|
|
6183
|
+
|
|
6184
|
+
& > div {
|
|
6185
|
+
width: 100vw;
|
|
6186
|
+
height: var(--heroImageHeight);
|
|
6187
|
+
}
|
|
6188
|
+
}
|
|
6189
|
+
`;
|
|
6190
|
+
const FixedHeroSpacer = styled__default["default"].div `
|
|
6191
|
+
${utils.MediaQueries.mbDown} {
|
|
6192
|
+
width: 100%;
|
|
6193
|
+
aspect-ratio: 375 / ${HERO_IMAGE_HEIGHT};
|
|
6194
|
+
}
|
|
6195
|
+
`;
|
|
6196
|
+
const ContentOverlayWrapper = styled__default["default"].div `
|
|
6197
|
+
position: relative;
|
|
6198
|
+
z-index: 2;
|
|
6199
|
+
background-color: #fff;
|
|
6200
|
+
`;
|
|
6201
|
+
const ContentOverlayWrapperParallax = styled__default["default"].div `
|
|
6202
|
+
position: relative;
|
|
6203
|
+
z-index: 2;
|
|
6204
|
+
background-color: #fff;
|
|
6205
|
+
border-radius: 1.375rem 1.375rem 0 0;
|
|
6206
|
+
margin-top: calc(-1 * ${OVERLAP_CONTENT_RADIUS}px);
|
|
6207
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
|
|
5536
6208
|
`;
|
|
5537
6209
|
|
|
5538
|
-
function
|
|
6210
|
+
function FixedParallaxHeroSection({ children }) {
|
|
6211
|
+
const heroSectionRef = React.useRef(null);
|
|
6212
|
+
const [scrollIndex, setScrollIndex] = React.useState(0);
|
|
6213
|
+
React.useEffect(() => {
|
|
6214
|
+
const el = heroSectionRef.current;
|
|
6215
|
+
if (!el)
|
|
6216
|
+
return;
|
|
6217
|
+
const checkHasReachedTop = () => {
|
|
6218
|
+
setScrollIndex(window.scrollY);
|
|
6219
|
+
};
|
|
6220
|
+
checkHasReachedTop();
|
|
6221
|
+
window.addEventListener('scroll', checkHasReachedTop, { passive: true });
|
|
6222
|
+
return () => window.removeEventListener('scroll', checkHasReachedTop);
|
|
6223
|
+
}, []);
|
|
6224
|
+
return (React__namespace["default"].createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
|
|
6225
|
+
React__namespace["default"].createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
|
|
6226
|
+
}
|
|
6227
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
|
|
5539
6228
|
const { isMobile: isMobileFromHook } = index$7.useScreenSize();
|
|
6229
|
+
const contentRef = React.useRef(null);
|
|
5540
6230
|
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5541
6231
|
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5542
6232
|
const showCarousel = imageCarousel.length > 1;
|
|
5543
6233
|
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5544
6234
|
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5545
6235
|
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
6236
|
+
const ContentWrapper = isMobile
|
|
6237
|
+
? isCarouselParallax
|
|
6238
|
+
? ContentOverlayWrapperParallax
|
|
6239
|
+
: ContentOverlayWrapper
|
|
6240
|
+
: 'div';
|
|
6241
|
+
const carouselItemWrapperStyle = isCarouselParallax
|
|
6242
|
+
? {
|
|
6243
|
+
aspectRatio: `375 / ${HERO_IMAGE_HEIGHT}`,
|
|
6244
|
+
}
|
|
6245
|
+
: {};
|
|
6246
|
+
const heroContent = imagesSelect ? (imagesSelect) : isMobile ? (React__namespace["default"].createElement(StyledImageCarousel, Object.assign({ slidesToShow: 1, align: "start", withControls: false, withIndicators: showCarouselIndicators, dragFree: false, slideSize: "100%", slideGap: 0, draggable: showCarouselIndicators, isCarouselParallax: isCarouselParallax }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6247
|
+
React__namespace["default"].createElement(CarouselImageItemWrapperMobile, { style: carouselItemWrapperStyle, onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
6248
|
+
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
6249
|
+
React__namespace["default"].createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
6250
|
+
(typeof generalInfo.name === 'string'
|
|
6251
|
+
? generalInfo.name
|
|
6252
|
+
: 'product') }, bannerProps)),
|
|
6253
|
+
showCarousel && (React__namespace["default"].createElement(ImageCarouselContainer, null,
|
|
6254
|
+
React__namespace["default"].createElement(StyledImageCarousel, Object.assign({ slidesToShow: 4, align: "start", withControls: showCarouselControls, withIndicators: false, dragFree: true, controlSize: 24, slideSize: 76, slideGap: 10 }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6255
|
+
React__namespace["default"].createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
6256
|
+
var _a;
|
|
6257
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
6258
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
6259
|
+
} }),
|
|
6260
|
+
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))));
|
|
5546
6261
|
return (React__namespace["default"].createElement(GeneralInfoContainer, { className: className },
|
|
5547
|
-
|
|
5548
|
-
React__namespace["default"].createElement(
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
var _a;
|
|
5558
|
-
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
5559
|
-
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
5560
|
-
} }),
|
|
5561
|
-
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))))))),
|
|
5562
|
-
React__namespace["default"].createElement(ProductContent, { className: contentClassName },
|
|
5563
|
-
React__namespace["default"].createElement("div", { className: "product-info" },
|
|
5564
|
-
typeof generalInfo.name === 'string' ? (React__namespace["default"].createElement(index$2.Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
5565
|
-
generalInfo.middleContent,
|
|
5566
|
-
generalInfo.description && (React__namespace["default"].createElement(index$2.Text, { size: isMobile ? 'p3' : 'p1', color: "gray700" }, generalInfo.description))),
|
|
5567
|
-
children)));
|
|
6262
|
+
isCarouselParallax ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
6263
|
+
React__namespace["default"].createElement(FixedParallaxHeroSection, null, heroContent),
|
|
6264
|
+
React__namespace["default"].createElement(FixedHeroSpacer, { "data-section": "PseudoEl_FixedHeroSpacer" }))) : (React__namespace["default"].createElement("div", { "data-section": "HeroContent" }, heroContent)),
|
|
6265
|
+
React__namespace["default"].createElement(ContentWrapper, { "data-section": "ProductDetail_ContentWrapper", ref: contentRef },
|
|
6266
|
+
React__namespace["default"].createElement(ProductContent, { className: contentClassName },
|
|
6267
|
+
React__namespace["default"].createElement("div", { className: "product-info" },
|
|
6268
|
+
typeof generalInfo.name === 'string' ? (React__namespace["default"].createElement(index$2.Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
6269
|
+
generalInfo.middleContent,
|
|
6270
|
+
generalInfo.description && (React__namespace["default"].createElement(index$2.Text, { size: "body2", color: "gray700", "data-section": "ProductContent_Description" }, generalInfo.description))),
|
|
6271
|
+
children))));
|
|
5568
6272
|
}
|
|
5569
6273
|
GeneralInfo.Container = GeneralInfoContainer;
|
|
5570
6274
|
GeneralInfo.Image = ProductImage;
|
|
@@ -5587,9 +6291,11 @@ const GalleryMain = styled__default["default"].div `
|
|
|
5587
6291
|
min-width: 0;
|
|
5588
6292
|
height: calc(100% - 108px);
|
|
5589
6293
|
width: 100%;
|
|
6294
|
+
|
|
5590
6295
|
${utils.MediaQueries.mbUp} {
|
|
5591
6296
|
height: auto;
|
|
5592
6297
|
max-height: calc(100dvh - 10dvh);
|
|
6298
|
+
aspect-ratio: 716 / 720;
|
|
5593
6299
|
}
|
|
5594
6300
|
`;
|
|
5595
6301
|
const GallerySidebar = styled__default["default"].div `
|
|
@@ -5762,7 +6468,7 @@ const StyledCarousel = styled__default["default"](index$4.Carousel) `
|
|
|
5762
6468
|
}
|
|
5763
6469
|
|
|
5764
6470
|
&[data-inactive] {
|
|
5765
|
-
opacity: 0
|
|
6471
|
+
opacity: 0;
|
|
5766
6472
|
cursor: default;
|
|
5767
6473
|
}
|
|
5768
6474
|
}
|
|
@@ -5805,7 +6511,7 @@ function GalleryCarousel() {
|
|
|
5805
6511
|
};
|
|
5806
6512
|
return (React__namespace["default"].createElement(StyledCarousel, { align: "center", slideSize: "100%", withControls: galleryImages.length > 1 && !isMobile, withIndicators: false, dragFree: false, slideGap: 0, draggable: galleryImages.length > 1 && isMobile, getEmblaApi: handleEmblaReady, onSlideChange: handleSlideChange, loop: false, height: "100%", controlSize: 32, initialSlide: initialSlide }, galleryImages.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, { key: `${imageUrl}-${index}` },
|
|
5807
6513
|
React__namespace["default"].createElement(LargeImageWrapper, null,
|
|
5808
|
-
React__namespace["default"].createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
6514
|
+
React__namespace["default"].createElement(MainGalleryImage, { "data-section": "MainGalleryImage_section", src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5809
6515
|
}
|
|
5810
6516
|
|
|
5811
6517
|
function GalleryThumbnails({ isMobile }) {
|
|
@@ -5832,7 +6538,7 @@ function GalleryTitle({ isMobile }) {
|
|
|
5832
6538
|
return null;
|
|
5833
6539
|
}
|
|
5834
6540
|
if (typeof generalInfo.name === 'string') {
|
|
5835
|
-
return (React__namespace["default"].createElement(index$2.Text, {
|
|
6541
|
+
return (React__namespace["default"].createElement(index$2.Text, { fw: 600, size: "h5New", color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5836
6542
|
}
|
|
5837
6543
|
return React__namespace["default"].createElement(React__namespace["default"].Fragment, null, generalInfo.name);
|
|
5838
6544
|
}
|
|
@@ -5933,7 +6639,7 @@ function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = f
|
|
|
5933
6639
|
};
|
|
5934
6640
|
const modalTitle = isMobile ? title : undefined;
|
|
5935
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) }),
|
|
5936
|
-
!isMobile && (React__namespace["default"].createElement(
|
|
6642
|
+
!isMobile && (React__namespace["default"].createElement(index$l.Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
|
|
5937
6643
|
React__namespace["default"].createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
|
|
5938
6644
|
React__namespace["default"].createElement(ModalGalleryContent, null))));
|
|
5939
6645
|
}
|
|
@@ -6183,6 +6889,8 @@ exports.ListContext = ListContext;
|
|
|
6183
6889
|
exports.MAX_RATING = MAX_RATING;
|
|
6184
6890
|
exports.ModalGallery = ModalGallery;
|
|
6185
6891
|
exports.ModalGalleryProvider = ModalGalleryProvider;
|
|
6892
|
+
exports.PopupBoostArticleCard = PopupBoostArticleCard;
|
|
6893
|
+
exports.PopupBoostPageView = PopupBoostPageView;
|
|
6186
6894
|
exports.QuickFilter = QuickFilter;
|
|
6187
6895
|
exports.QuickFilterWrapLine = QuickFilterWrapLine;
|
|
6188
6896
|
exports.RadioGroup = RadioGroup;
|