@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,56 +1,67 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-94c34d9b.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useRef, useState, useEffect, useImperativeHandle, useMemo, Fragment, useCallback, forwardRef, memo, createContext, useContext } from 'react';
|
|
4
|
-
import { R as Radio, a as Carousel } from './index-
|
|
5
|
-
import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal, Grid } from '@mantine/core';
|
|
4
|
+
import { R as Radio, a as Carousel } from './index-18bc0058.js';
|
|
5
|
+
import { Stack, Group, createStyles, getStylesRef, useMantineTheme, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal as Modal$1, Grid } from '@mantine/core';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import { L as LOCALE_SPECS, F as FAVICONS, Z as ZINDEX_SSO } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import { B as Button$1 } from './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index.styles-
|
|
15
|
-
import './translationsContext-
|
|
16
|
-
import '@mantine/hooks';
|
|
17
|
-
import { M as MediaQueries } from './utils-
|
|
18
|
-
import './index-
|
|
19
|
-
import { i as isInternalLink } from './SiteWideBanner-
|
|
7
|
+
import { L as LOCALE_SPECS, F as FAVICONS, I as ISO_FORMAT, Z as ZINDEX_SSO } from './index-d3c46c8b.js';
|
|
8
|
+
import './index-659e2aa2.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-9d59578e.js';
|
|
10
|
+
import './index-4a2359b3.js';
|
|
11
|
+
import { T as Text } from './index-b2dfc4d6.js';
|
|
12
|
+
import { B as Button$1 } from './index-7c27cc59.js';
|
|
13
|
+
import { F as FontWeight } from './index-c1482776.js';
|
|
14
|
+
import './index.styles-5b2ab4d6.js';
|
|
15
|
+
import './translationsContext-b60af033.js';
|
|
16
|
+
import { useDisclosure } from '@mantine/hooks';
|
|
17
|
+
import { M as MediaQueries } from './utils-423094ef.js';
|
|
18
|
+
import './index-4d172c08.js';
|
|
19
|
+
import { i as isInternalLink } from './SiteWideBanner-5ede75f5.js';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
|
-
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-
|
|
22
|
+
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-9a683b06.js';
|
|
23
23
|
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
24
24
|
import DayPickerInput from 'react-day-picker/DayPickerInput';
|
|
25
|
-
import { L as Logo } from './index-
|
|
25
|
+
import { L as Logo } from './index-a3a10ecd.js';
|
|
26
26
|
import throttle from 'lodash/throttle';
|
|
27
27
|
import parse from 'html-react-parser';
|
|
28
28
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
29
29
|
import { isProduction } from './constantsIsProduction.js';
|
|
30
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
30
|
+
import { a as useOutsideClick } from './useOutsideClick-22b6ed6b.js';
|
|
31
31
|
import enUS from 'date-fns/locale/en-US';
|
|
32
32
|
import id from 'date-fns/locale/id';
|
|
33
33
|
import vi from 'date-fns/locale/vi';
|
|
34
34
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
35
|
-
import { B as Button } from './index-
|
|
36
|
-
import { u as useScreenSize, I as ImageWrap } from './index-
|
|
37
|
-
import { u as useTranslations } from './index-
|
|
35
|
+
import { B as Button } from './index-8f789a7c.js';
|
|
36
|
+
import { u as useScreenSize, I as ImageWrap } from './index-2f65332f.js';
|
|
37
|
+
import { u as useTranslations, f as format$1 } from './index-d1f041f2.js';
|
|
38
38
|
import classNames from 'classnames';
|
|
39
|
-
import { D as Dropdown } from './index-
|
|
39
|
+
import { D as Dropdown } from './index-959d94f7.js';
|
|
40
40
|
import { getSocialList } from './miscGetSocialList.js';
|
|
41
|
-
import { I as Input } from './index-
|
|
42
|
-
import { D as Drawer } from './index-
|
|
41
|
+
import { I as Input } from './index-b7340e4e.js';
|
|
42
|
+
import { D as Drawer } from './index-4513ed67.js';
|
|
43
|
+
import { D as DrawerBottom } from './index-a03439ab.js';
|
|
44
|
+
import { M as Modal } from './index-4d502b48.js';
|
|
45
|
+
import { b as formatArticle } from './dataTransform-9ebf9bf0.js';
|
|
46
|
+
import { DISCOVER_PATHS } from './togetherApiPaths.js';
|
|
47
|
+
import { c as callApi, g as getDiscoverApiPath } from './utils-70ffba4c.js';
|
|
48
|
+
import innertext from 'innertext';
|
|
49
|
+
import { L as LOCALE } from './Locale-908c3d6a.js';
|
|
50
|
+
import { g as getHelloSitesUrl } from './index-b5b1c47d.js';
|
|
51
|
+
import { P as POST_DATE_FORMAT, D as DEFAULT_AVATAR_IMG, a as DEFAULT_IMG } from './constants-37007b2c.js';
|
|
52
|
+
import dayjs from 'dayjs';
|
|
53
|
+
import { ArticleCard } from './moleculesArticleCard.js';
|
|
43
54
|
import { v4 } from 'uuid';
|
|
44
|
-
import { L as LOCALE } from './Locale-41d09e42.js';
|
|
45
55
|
import { ArrowRight } from '@hhgtech/icons/arrow';
|
|
46
56
|
import { MultiStar, Question } from '@hhgtech/icons/other';
|
|
47
57
|
import Lottie from 'lottie-light-react';
|
|
48
|
-
import { A as ArrowRightBlue } from './index-
|
|
49
|
-
import { L as Loading } from './index-
|
|
58
|
+
import { A as ArrowRightBlue } from './index-f5e87c86.js';
|
|
59
|
+
import { L as Loading } from './index-ba7ede9c.js';
|
|
50
60
|
import get from 'lodash/get';
|
|
51
61
|
import debounce from 'lodash/debounce';
|
|
52
|
-
import { C as Close } from './
|
|
62
|
+
import { C as Close } from './index-77c65088.js';
|
|
53
63
|
import { useAnimationOffsetEffect } from '@mantine/carousel';
|
|
64
|
+
import { D as DEFAULT_HEADER_HEIGHT_MOBILE } from './constants-6124668c.js';
|
|
54
65
|
|
|
55
66
|
const StarFull = (_a) => {
|
|
56
67
|
var { color, stroke } = _a, props = __rest(_a, ["color", "stroke"]);
|
|
@@ -2789,6 +2800,572 @@ const ShareDrawer = (_a) => {
|
|
|
2789
2800
|
}
|
|
2790
2801
|
};
|
|
2791
2802
|
|
|
2803
|
+
const BoostCardArticleAuthorName = (props) => {
|
|
2804
|
+
const { intlKey, formatOptions, formatOptionsProps } = props;
|
|
2805
|
+
const { author_name, expert_display_name, fact_check_display_name, specialty, organisation, post_modified, } = formatOptions || {};
|
|
2806
|
+
const { author_name: formatOptionsPropsAuthorName, expert_display_name: formatOptionsPropsExpertDisplayName, fact_check_display_name: formatOptionsPropsFactCheckDisplayName, specialty: formatOptionsPropsSpecialty, organisation: formatOptionsPropsOrganisation, post_modified: formatOptionsPropsPostModified, } = formatOptionsProps || {};
|
|
2807
|
+
const { t } = useTranslations();
|
|
2808
|
+
const theme = useMantineTheme();
|
|
2809
|
+
const formatOptionsComp = useCallback((p = {}) => {
|
|
2810
|
+
const href = p.href;
|
|
2811
|
+
const Comp = href ? 'a' : 'span';
|
|
2812
|
+
const propsComp = Object.assign({}, p);
|
|
2813
|
+
if (!href) {
|
|
2814
|
+
delete propsComp.href;
|
|
2815
|
+
delete propsComp['data-event-category'];
|
|
2816
|
+
delete propsComp['data-event-action'];
|
|
2817
|
+
delete propsComp['data-event-label'];
|
|
2818
|
+
}
|
|
2819
|
+
return React__default.createElement(Comp, Object.assign({}, propsComp));
|
|
2820
|
+
}, []);
|
|
2821
|
+
return (React__default.createElement(React__default.Fragment, null, format$1(t(intlKey), {
|
|
2822
|
+
author_name: (React__default.createElement("span", { style: {
|
|
2823
|
+
fontWeight: FontWeight.halfBold,
|
|
2824
|
+
color: theme.colors.gray[8],
|
|
2825
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, author_name), formatOptionsPropsAuthorName)))),
|
|
2826
|
+
expert_display_name: (React__default.createElement("span", { style: {
|
|
2827
|
+
fontWeight: FontWeight.halfBold,
|
|
2828
|
+
color: theme.colors.gray[8],
|
|
2829
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, expert_display_name), formatOptionsPropsExpertDisplayName)))),
|
|
2830
|
+
fact_check_display_name: (React__default.createElement("span", { style: {
|
|
2831
|
+
fontWeight: FontWeight.halfBold,
|
|
2832
|
+
color: theme.colors.gray[8],
|
|
2833
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, fact_check_display_name), formatOptionsPropsFactCheckDisplayName)))),
|
|
2834
|
+
specialty: formatOptionsComp(Object.assign(Object.assign({}, specialty), formatOptionsPropsSpecialty)),
|
|
2835
|
+
organisation: formatOptionsComp(Object.assign(Object.assign({}, organisation), formatOptionsPropsOrganisation)),
|
|
2836
|
+
post_modified: formatOptionsComp(Object.assign(Object.assign({}, post_modified), formatOptionsPropsPostModified)),
|
|
2837
|
+
})));
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
const getAuthorFormatOptionsProps = (reviewedUser) => {
|
|
2841
|
+
if (!reviewedUser) {
|
|
2842
|
+
return { children: '' };
|
|
2843
|
+
}
|
|
2844
|
+
if ((reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.profile_url) && (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.turn_off_profile)) {
|
|
2845
|
+
return { children: (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.display_name) || (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.name) || '' };
|
|
2846
|
+
}
|
|
2847
|
+
return {
|
|
2848
|
+
href: reviewedUser.profile_url || '',
|
|
2849
|
+
children: reviewedUser.display_name || reviewedUser.name || '',
|
|
2850
|
+
};
|
|
2851
|
+
};
|
|
2852
|
+
const authorConfigForAssetBase = (assetImageBase) => {
|
|
2853
|
+
const base = assetImageBase.replace(/\/$/, '');
|
|
2854
|
+
return {
|
|
2855
|
+
medical: {
|
|
2856
|
+
intlKey: {
|
|
2857
|
+
long: 'articlePage.reviewed_by.expert.medical',
|
|
2858
|
+
short: 'articlePage.reviewed_by.expert.medical.short',
|
|
2859
|
+
},
|
|
2860
|
+
indicator: `${base}/reviewer-medical.svg`,
|
|
2861
|
+
},
|
|
2862
|
+
expert: {
|
|
2863
|
+
intlKey: {
|
|
2864
|
+
long: 'articlePage.reviewed_by.expert',
|
|
2865
|
+
short: 'articlePage.reviewed_by.expert.short',
|
|
2866
|
+
},
|
|
2867
|
+
indicator: `${base}/reviewer-expert.svg`,
|
|
2868
|
+
},
|
|
2869
|
+
written_by: {
|
|
2870
|
+
intlKey: {
|
|
2871
|
+
long: 'articlePage.written_by.author',
|
|
2872
|
+
short: 'articlePage.written_by.author.short',
|
|
2873
|
+
},
|
|
2874
|
+
indicator: `${base}/reviewer-editor.svg`,
|
|
2875
|
+
},
|
|
2876
|
+
fact_checked_by: {
|
|
2877
|
+
intlKey: {
|
|
2878
|
+
long: 'articlePage.fact_checked_by.author',
|
|
2879
|
+
short: 'articlePage.fact_checked_by.author.short',
|
|
2880
|
+
},
|
|
2881
|
+
indicator: `${base}/reviewer-fact-check.svg`,
|
|
2882
|
+
},
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
function getAuthorForBoostCard({ article, locale, assetImageBase, version = 'short', }) {
|
|
2886
|
+
const AUTHOR_CONFIG = authorConfigForAssetBase(assetImageBase);
|
|
2887
|
+
const { expert, author, fact_check, is_author } = article.articleReviewed || {};
|
|
2888
|
+
const articlePostModified = article.postModified || article.modifiedTime;
|
|
2889
|
+
const { avatar: fcAvatar = '', avatar_thumbnail: fcAvatarThumb = '', display_name: fcDisplayName = '', name: fcName = '', profile_url: fcProfileUrl = '', turn_off_profile: fcTurnOffProfile, } = fact_check || {};
|
|
2890
|
+
const modifiedDate = dayjs(articlePostModified);
|
|
2891
|
+
let authorConfig = AUTHOR_CONFIG.fact_checked_by;
|
|
2892
|
+
let avatar = fcAvatarThumb || fcAvatar;
|
|
2893
|
+
let avatar_alt = fcDisplayName || fcName;
|
|
2894
|
+
let avatar_permalink = !fcTurnOffProfile ? fcProfileUrl : '';
|
|
2895
|
+
const post_modified = modifiedDate.isValid()
|
|
2896
|
+
? modifiedDate.format(ISO_FORMAT[locale].dateFormat)
|
|
2897
|
+
: '';
|
|
2898
|
+
const formatOptions = {
|
|
2899
|
+
expert_display_name: getAuthorFormatOptionsProps(expert),
|
|
2900
|
+
author_name: getAuthorFormatOptionsProps(author),
|
|
2901
|
+
fact_check_display_name: getAuthorFormatOptionsProps(fact_check),
|
|
2902
|
+
post_modified: { children: post_modified },
|
|
2903
|
+
};
|
|
2904
|
+
if (expert) {
|
|
2905
|
+
const ex = expert;
|
|
2906
|
+
const { avatar: exAvatar = '', avatar_thumbnail: exAvatarThumb = '', display_name: exDisplayName = '', name: exName = '', profile_url: exProfileUrl = '', specialty = '', organisation = '', turn_off_profile: exTurnOffProfile, } = ex;
|
|
2907
|
+
formatOptions.specialty = { children: specialty };
|
|
2908
|
+
formatOptions.organisation = { children: organisation };
|
|
2909
|
+
avatar = exAvatarThumb || exAvatar || avatar;
|
|
2910
|
+
avatar_alt = exDisplayName || exName || avatar_alt;
|
|
2911
|
+
avatar_permalink = !exTurnOffProfile ? exProfileUrl || avatar_permalink : '';
|
|
2912
|
+
if (is_author) {
|
|
2913
|
+
authorConfig = AUTHOR_CONFIG.written_by;
|
|
2914
|
+
}
|
|
2915
|
+
else {
|
|
2916
|
+
authorConfig = AUTHOR_CONFIG.expert;
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
return {
|
|
2920
|
+
intlKey: authorConfig.intlKey[version],
|
|
2921
|
+
indicator: authorConfig.indicator,
|
|
2922
|
+
avatar,
|
|
2923
|
+
avatar_alt,
|
|
2924
|
+
avatar_permalink,
|
|
2925
|
+
formatOptions,
|
|
2926
|
+
};
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
const StyledAvatarReviewer = styled.div `
|
|
2930
|
+
position: relative;
|
|
2931
|
+
width: 100%;
|
|
2932
|
+
height: 100%;
|
|
2933
|
+
img {
|
|
2934
|
+
border-radius: 50%;
|
|
2935
|
+
object-fit: cover;
|
|
2936
|
+
}
|
|
2937
|
+
.badge {
|
|
2938
|
+
position: absolute;
|
|
2939
|
+
right: 0;
|
|
2940
|
+
bottom: 0;
|
|
2941
|
+
display: flex;
|
|
2942
|
+
}
|
|
2943
|
+
`;
|
|
2944
|
+
styled.div `
|
|
2945
|
+
width: 12px;
|
|
2946
|
+
height: 12px;
|
|
2947
|
+
`;
|
|
2948
|
+
const StyledArticleCard = styled(ArticleCard) `
|
|
2949
|
+
.author .poster p span:not(.author-name) {
|
|
2950
|
+
font-weight: 400;
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
.author .poster p span:not(.name) {
|
|
2954
|
+
color: ${theme.colors.gray800};
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
.author-name {
|
|
2958
|
+
font-weight: 600;
|
|
2959
|
+
}
|
|
2960
|
+
`;
|
|
2961
|
+
const StyledItemImageContain = styled.div `
|
|
2962
|
+
width: 100%;
|
|
2963
|
+
height: 100%;
|
|
2964
|
+
position: relative;
|
|
2965
|
+
`;
|
|
2966
|
+
|
|
2967
|
+
function renderBoostUploadTime(locale, date) {
|
|
2968
|
+
if (!date)
|
|
2969
|
+
return '';
|
|
2970
|
+
if (dayjs(date, POST_DATE_FORMAT).isValid()) {
|
|
2971
|
+
return dayjs(date, POST_DATE_FORMAT).format(ISO_FORMAT[locale].dateFormat);
|
|
2972
|
+
}
|
|
2973
|
+
return date;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
function PopupBoostArticleCard({ article, isMobile, className = 'article-card', hideBookmark = true, assetImageBase = '/images', }) {
|
|
2977
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2978
|
+
const { locale: translationsLocale } = useTranslations();
|
|
2979
|
+
const locale = translationsLocale === 'vi-VN_MB'
|
|
2980
|
+
? LOCALE.Vietnam
|
|
2981
|
+
: translationsLocale;
|
|
2982
|
+
const authorV2 = getAuthorForBoostCard({
|
|
2983
|
+
article,
|
|
2984
|
+
locale,
|
|
2985
|
+
assetImageBase,
|
|
2986
|
+
version: 'short',
|
|
2987
|
+
});
|
|
2988
|
+
const authorUrlDomain = authorV2.avatar_permalink
|
|
2989
|
+
? `${getHelloSitesUrl(translationsLocale, true)}${authorV2.avatar_permalink}`
|
|
2990
|
+
: '';
|
|
2991
|
+
const domain = domainLocales[translationsLocale];
|
|
2992
|
+
const articleUrlLabel = domain && article.permalink
|
|
2993
|
+
? `https://${domain}${article.permalink}`
|
|
2994
|
+
: article.permalink || '';
|
|
2995
|
+
const uploadRendered = renderBoostUploadTime(locale, article.modifiedTime);
|
|
2996
|
+
const loc = translationsLocale;
|
|
2997
|
+
const isPremiumUi = loc !== 'vi-VN' && loc !== 'vi-VN_MB' && article.isPremium;
|
|
2998
|
+
const avatarInner = (React__default.createElement(StyledAvatarReviewer, null,
|
|
2999
|
+
React__default.createElement(StyledItemImageContain, null,
|
|
3000
|
+
React__default.createElement("img", { className: "avatar", src: authorV2.avatar || DEFAULT_AVATAR_IMG, alt: authorV2.avatar_alt, width: 24, height: 24, style: {
|
|
3001
|
+
borderRadius: '50%',
|
|
3002
|
+
objectFit: 'cover',
|
|
3003
|
+
display: 'block',
|
|
3004
|
+
} }))));
|
|
3005
|
+
return (React__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
|
|
3006
|
+
? `https://${domain}${article.category.permalink}`
|
|
3007
|
+
: ((_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) ||
|
|
3008
|
+
((_e = article.category) === null || _e === void 0 ? void 0 : _e.name) ||
|
|
3009
|
+
((_g = (_f = article.categories) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.displayName) ||
|
|
3010
|
+
((_j = (_h = article.categories) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) ||
|
|
3011
|
+
'', banner: React__default.createElement("img", { src: (isMobile ? article.featureImageMobile : article.featureImage) ||
|
|
3012
|
+
article.featureImage ||
|
|
3013
|
+
DEFAULT_IMG, alt: article.postName, loading: "lazy", style: {
|
|
3014
|
+
width: '100%',
|
|
3015
|
+
height: '100%',
|
|
3016
|
+
objectFit: 'cover',
|
|
3017
|
+
display: 'block',
|
|
3018
|
+
} }), 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(article.postTitle || article.postName || '') || '', text: article.excerpt || article.description || article.postContent
|
|
3019
|
+
? innertext(article.excerpt ||
|
|
3020
|
+
article.description ||
|
|
3021
|
+
((_m = article.postContent) === null || _m === void 0 ? void 0 : _m.split('\r\n')[0]) ||
|
|
3022
|
+
'')
|
|
3023
|
+
: '', avatarImg: authorV2.avatar_permalink ? (React__default.createElement("a", { href: authorV2.avatar_permalink, className: "pointer-event-child-none", "data-event-label": authorUrlDomain }, avatarInner)) : (React__default.createElement("span", { className: "pointer-event-child-none" }, avatarInner)), authorName: React__default.createElement("span", { "data-event-label": authorUrlDomain, className: "pointer-event-child-none" },
|
|
3024
|
+
React__default.createElement(BoostCardArticleAuthorName, Object.assign({}, authorV2, { formatOptionsProps: {
|
|
3025
|
+
expert_display_name: {
|
|
3026
|
+
href: '',
|
|
3027
|
+
},
|
|
3028
|
+
} })),
|
|
3029
|
+
"\u00A0"), authorLink: authorV2.avatar_permalink, isBookmarkDisplayed: !hideBookmark, isBookmark: false, onBookmark: hideBookmark ? undefined : () => undefined, styleLabel: {
|
|
3030
|
+
color: ((_o = article.category) === null || _o === void 0 ? void 0 : _o.textColor) || '#008C50',
|
|
3031
|
+
} }));
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
function PopupBoostPageView({ source, articleId, primaryCategoryId, postId, community, isMobile, basePath, getSpotlightTitle, getSpotlightImage, getSpotlightPermalink, getSpotlightContent, }) {
|
|
3035
|
+
const { t, locale } = useTranslations();
|
|
3036
|
+
const modalHeading = t('popupBoostPageView.modalHeading');
|
|
3037
|
+
const viewDetailText = t('popupBoostPageView.viewDetail');
|
|
3038
|
+
const [requestState, setRequestState] = useState('idle');
|
|
3039
|
+
const [boostType, setBoostType] = useState(null);
|
|
3040
|
+
const [boostArticle, setBoostArticle] = useState(null);
|
|
3041
|
+
const [boostCarePath, setBoostCarePath] = useState(null);
|
|
3042
|
+
const [boostCustom, setBoostCustom] = useState(null);
|
|
3043
|
+
const [delaySeconds, setDelaySeconds] = useState(0);
|
|
3044
|
+
const [sessionPopupShown, setSessionPopupShown] = useState(false);
|
|
3045
|
+
const [opened, { open, close }] = useDisclosure(false);
|
|
3046
|
+
const pendingOpenDeadlineRef = useRef(null);
|
|
3047
|
+
const suppressNextOpenRef = useRef(false);
|
|
3048
|
+
const getSpotlightTitleRef = useRef(getSpotlightTitle);
|
|
3049
|
+
const getSpotlightImageRef = useRef(getSpotlightImage);
|
|
3050
|
+
const getSpotlightPermalinkRef = useRef(getSpotlightPermalink);
|
|
3051
|
+
const getSpotlightContentRef = useRef(getSpotlightContent);
|
|
3052
|
+
getSpotlightTitleRef.current = getSpotlightTitle;
|
|
3053
|
+
getSpotlightImageRef.current = getSpotlightImage;
|
|
3054
|
+
getSpotlightPermalinkRef.current = getSpotlightPermalink;
|
|
3055
|
+
getSpotlightContentRef.current = getSpotlightContent;
|
|
3056
|
+
const hasSourceId = source === 'article' ? !!articleId : !!postId;
|
|
3057
|
+
useEffect(() => {
|
|
3058
|
+
if (!hasSourceId) {
|
|
3059
|
+
close();
|
|
3060
|
+
pendingOpenDeadlineRef.current = null;
|
|
3061
|
+
setSessionPopupShown(false);
|
|
3062
|
+
setRequestState('idle');
|
|
3063
|
+
setBoostType(null);
|
|
3064
|
+
setBoostArticle(null);
|
|
3065
|
+
setBoostCarePath(null);
|
|
3066
|
+
setBoostCustom(null);
|
|
3067
|
+
setDelaySeconds(0);
|
|
3068
|
+
return;
|
|
3069
|
+
}
|
|
3070
|
+
if (sessionPopupShown) {
|
|
3071
|
+
return;
|
|
3072
|
+
}
|
|
3073
|
+
close();
|
|
3074
|
+
setBoostType(null);
|
|
3075
|
+
setBoostArticle(null);
|
|
3076
|
+
setBoostCarePath(null);
|
|
3077
|
+
setBoostCustom(null);
|
|
3078
|
+
setDelaySeconds(0);
|
|
3079
|
+
const requestedSourceId = source === 'article' ? articleId : postId;
|
|
3080
|
+
let isActive = true;
|
|
3081
|
+
setRequestState('loading');
|
|
3082
|
+
(() => __awaiter(this, void 0, void 0, function* () {
|
|
3083
|
+
var _a, _b, _c;
|
|
3084
|
+
const res = yield callApi(getDiscoverApiPath(DISCOVER_PATHS.GET_BOOST_POPUP_CARD, {
|
|
3085
|
+
type: source,
|
|
3086
|
+
articleId: source === 'article' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3087
|
+
primaryCategoryId: source === 'article' ? primaryCategoryId !== null && primaryCategoryId !== void 0 ? primaryCategoryId : '' : '',
|
|
3088
|
+
community: source === 'community' ? community !== null && community !== void 0 ? community : '' : '',
|
|
3089
|
+
postId: source === 'community' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3090
|
+
}), 'get');
|
|
3091
|
+
if (!isActive)
|
|
3092
|
+
return;
|
|
3093
|
+
const boostPayload = res === null || res === void 0 ? void 0 : res.data;
|
|
3094
|
+
const nextType = (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'article' ||
|
|
3095
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'carepath' ||
|
|
3096
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'custom'
|
|
3097
|
+
? boostPayload.type
|
|
3098
|
+
: null;
|
|
3099
|
+
const nextDelaySeconds = typeof (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.delay_time) === 'number' &&
|
|
3100
|
+
boostPayload.delay_time > 0
|
|
3101
|
+
? boostPayload.delay_time
|
|
3102
|
+
: 0;
|
|
3103
|
+
setBoostType(nextType);
|
|
3104
|
+
setDelaySeconds(nextDelaySeconds);
|
|
3105
|
+
if (nextType === 'article' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3106
|
+
setBoostArticle(formatArticle(boostPayload.boost_data));
|
|
3107
|
+
setBoostCarePath(null);
|
|
3108
|
+
setBoostCustom(null);
|
|
3109
|
+
}
|
|
3110
|
+
else if (nextType === 'carepath' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3111
|
+
const raw = boostPayload.boost_data;
|
|
3112
|
+
const title = getSpotlightTitleRef.current(raw) || '';
|
|
3113
|
+
const image = getSpotlightImageRef.current(raw) || '';
|
|
3114
|
+
const permalink = ((_a = getSpotlightPermalinkRef.current) === null || _a === void 0 ? void 0 : _a.call(getSpotlightPermalinkRef, raw)) ||
|
|
3115
|
+
String((raw === null || raw === void 0 ? void 0 : raw.permalink) || '');
|
|
3116
|
+
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) || '');
|
|
3117
|
+
setBoostCarePath({ permalink, title, image, content });
|
|
3118
|
+
setBoostArticle(null);
|
|
3119
|
+
setBoostCustom(null);
|
|
3120
|
+
}
|
|
3121
|
+
else if (nextType === 'custom' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3122
|
+
const raw = boostPayload.boost_data;
|
|
3123
|
+
setBoostCustom({
|
|
3124
|
+
link: raw.link || '',
|
|
3125
|
+
title: raw.title || '',
|
|
3126
|
+
description: raw.description || '',
|
|
3127
|
+
image: typeof raw.image === 'string' && raw.image ? raw.image : null,
|
|
3128
|
+
});
|
|
3129
|
+
setBoostArticle(null);
|
|
3130
|
+
setBoostCarePath(null);
|
|
3131
|
+
}
|
|
3132
|
+
else {
|
|
3133
|
+
setBoostArticle(null);
|
|
3134
|
+
setBoostCarePath(null);
|
|
3135
|
+
setBoostCustom(null);
|
|
3136
|
+
}
|
|
3137
|
+
const hasPayloadBoost = (nextType === 'article' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3138
|
+
(nextType === 'carepath' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3139
|
+
(nextType === 'custom' &&
|
|
3140
|
+
!!((_c = boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data) === null || _c === void 0 ? void 0 : _c.link));
|
|
3141
|
+
if (!hasPayloadBoost) {
|
|
3142
|
+
pendingOpenDeadlineRef.current = null;
|
|
3143
|
+
}
|
|
3144
|
+
setRequestState('ready');
|
|
3145
|
+
}))();
|
|
3146
|
+
return () => {
|
|
3147
|
+
isActive = false;
|
|
3148
|
+
};
|
|
3149
|
+
}, [
|
|
3150
|
+
source,
|
|
3151
|
+
articleId,
|
|
3152
|
+
primaryCategoryId,
|
|
3153
|
+
postId,
|
|
3154
|
+
community,
|
|
3155
|
+
close,
|
|
3156
|
+
sessionPopupShown,
|
|
3157
|
+
]);
|
|
3158
|
+
useEffect(() => {
|
|
3159
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3160
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3161
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3162
|
+
if (!hasSourceId ||
|
|
3163
|
+
sessionPopupShown ||
|
|
3164
|
+
requestState !== 'ready' ||
|
|
3165
|
+
!hasBoostData) {
|
|
3166
|
+
return;
|
|
3167
|
+
}
|
|
3168
|
+
if (pendingOpenDeadlineRef.current === null) {
|
|
3169
|
+
pendingOpenDeadlineRef.current = Date.now() + delaySeconds * 1000;
|
|
3170
|
+
}
|
|
3171
|
+
const remainingMs = Math.max(0, pendingOpenDeadlineRef.current - Date.now());
|
|
3172
|
+
const timer = window.setTimeout(() => {
|
|
3173
|
+
pendingOpenDeadlineRef.current = null;
|
|
3174
|
+
setSessionPopupShown(true);
|
|
3175
|
+
open();
|
|
3176
|
+
}, remainingMs);
|
|
3177
|
+
return () => {
|
|
3178
|
+
window.clearTimeout(timer);
|
|
3179
|
+
};
|
|
3180
|
+
}, [
|
|
3181
|
+
articleId,
|
|
3182
|
+
sessionPopupShown,
|
|
3183
|
+
requestState,
|
|
3184
|
+
boostType,
|
|
3185
|
+
boostArticle,
|
|
3186
|
+
boostCarePath,
|
|
3187
|
+
boostCustom,
|
|
3188
|
+
delaySeconds,
|
|
3189
|
+
open,
|
|
3190
|
+
]);
|
|
3191
|
+
const targetUrl = boostType === 'article'
|
|
3192
|
+
? boostArticle === null || boostArticle === void 0 ? void 0 : boostArticle.permalink
|
|
3193
|
+
: boostType === 'carepath'
|
|
3194
|
+
? boostCarePath === null || boostCarePath === void 0 ? void 0 : boostCarePath.permalink
|
|
3195
|
+
: boostType === 'custom'
|
|
3196
|
+
? boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link
|
|
3197
|
+
: null;
|
|
3198
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3199
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3200
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3201
|
+
if (!hasSourceId || requestState !== 'ready' || !hasBoostData || !targetUrl) {
|
|
3202
|
+
return null;
|
|
3203
|
+
}
|
|
3204
|
+
const trimmedBase = basePath.replace(/\/$/, '');
|
|
3205
|
+
const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
|
|
3206
|
+
const handleDismiss = () => {
|
|
3207
|
+
// Drag-close/overlay-close can emit a trailing click; ignore it once.
|
|
3208
|
+
suppressNextOpenRef.current = true;
|
|
3209
|
+
pendingOpenDeadlineRef.current = null;
|
|
3210
|
+
setSessionPopupShown(true);
|
|
3211
|
+
close();
|
|
3212
|
+
};
|
|
3213
|
+
const handleOpenBoostLink = () => {
|
|
3214
|
+
if (suppressNextOpenRef.current) {
|
|
3215
|
+
suppressNextOpenRef.current = false;
|
|
3216
|
+
return;
|
|
3217
|
+
}
|
|
3218
|
+
pendingOpenDeadlineRef.current = null;
|
|
3219
|
+
setSessionPopupShown(true);
|
|
3220
|
+
const url = targetUrl.startsWith('http')
|
|
3221
|
+
? targetUrl
|
|
3222
|
+
: `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`;
|
|
3223
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
3224
|
+
close();
|
|
3225
|
+
};
|
|
3226
|
+
const contentEle = (React__default.createElement(Box, { sx: { position: 'relative' } },
|
|
3227
|
+
React__default.createElement(Stack, { "data-boost-type": boostType, sx: (theme) => ({
|
|
3228
|
+
gap: 12,
|
|
3229
|
+
[theme.fn.largerThan('sm')]: { gap: 16 },
|
|
3230
|
+
'.article-card': {
|
|
3231
|
+
'&[data-size=md][data-direction=horizontal]': {
|
|
3232
|
+
padding: 0,
|
|
3233
|
+
'.footer': {
|
|
3234
|
+
marginTop: 0,
|
|
3235
|
+
'& > div': {
|
|
3236
|
+
marginTop: 16,
|
|
3237
|
+
},
|
|
3238
|
+
},
|
|
3239
|
+
},
|
|
3240
|
+
'&[data-direction=vertical] .banner': {
|
|
3241
|
+
height: 192,
|
|
3242
|
+
},
|
|
3243
|
+
'.author .poster': {
|
|
3244
|
+
p: {
|
|
3245
|
+
fontSize: '12px',
|
|
3246
|
+
lineHeight: '16px',
|
|
3247
|
+
'span:not(.name)': {
|
|
3248
|
+
color: '#8c8c8c',
|
|
3249
|
+
},
|
|
3250
|
+
},
|
|
3251
|
+
a: {
|
|
3252
|
+
color: '#8c8c8c',
|
|
3253
|
+
'span:not(:has(span))': {
|
|
3254
|
+
color: '#000 !important',
|
|
3255
|
+
},
|
|
3256
|
+
},
|
|
3257
|
+
},
|
|
3258
|
+
'h3 + a': {
|
|
3259
|
+
display: 'none',
|
|
3260
|
+
},
|
|
3261
|
+
},
|
|
3262
|
+
}) },
|
|
3263
|
+
boostType === 'article' && boostArticle ? (React__default.createElement(React__default.Fragment, null,
|
|
3264
|
+
React__default.createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
|
|
3265
|
+
React__default.createElement(Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
|
|
3266
|
+
__html: boostArticle.excerpt || boostArticle.postContent || '',
|
|
3267
|
+
}, lineClamp: 8 }))) : null,
|
|
3268
|
+
boostType === 'carepath' && boostCarePath ? (React__default.createElement(Box, { sx: {
|
|
3269
|
+
display: 'grid',
|
|
3270
|
+
gap: 12,
|
|
3271
|
+
} },
|
|
3272
|
+
React__default.createElement(Box, { sx: (theme) => ({
|
|
3273
|
+
marginLeft: -16,
|
|
3274
|
+
marginRight: -16,
|
|
3275
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3276
|
+
width: 'calc(100% + 32px)',
|
|
3277
|
+
aspectRatio: '16 / 8',
|
|
3278
|
+
overflow: 'hidden',
|
|
3279
|
+
}) },
|
|
3280
|
+
React__default.createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
|
|
3281
|
+
width: '100%',
|
|
3282
|
+
height: '100%',
|
|
3283
|
+
objectFit: 'cover',
|
|
3284
|
+
display: 'block',
|
|
3285
|
+
} })),
|
|
3286
|
+
React__default.createElement(Stack, { spacing: 3 },
|
|
3287
|
+
React__default.createElement(Box, { sx: {
|
|
3288
|
+
textTransform: 'uppercase',
|
|
3289
|
+
fontWeight: 'normal',
|
|
3290
|
+
fontSize: '12px',
|
|
3291
|
+
lineHeight: '15px',
|
|
3292
|
+
} }, domainLocales[locale]),
|
|
3293
|
+
React__default.createElement(Box, { sx: {
|
|
3294
|
+
fontSize: '16px',
|
|
3295
|
+
lineHeight: '19px',
|
|
3296
|
+
fontWeight: 500,
|
|
3297
|
+
} }, boostCarePath.title)),
|
|
3298
|
+
!!boostCarePath.content && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
|
|
3299
|
+
fontSize: '14px',
|
|
3300
|
+
lineHeight: '19px',
|
|
3301
|
+
color: '#65676B',
|
|
3302
|
+
}, dangerouslySetInnerHTML: {
|
|
3303
|
+
__html: boostCarePath.content,
|
|
3304
|
+
} })))) : null,
|
|
3305
|
+
boostType === 'custom' && boostCustom ? (React__default.createElement(Box, { sx: {
|
|
3306
|
+
display: 'grid',
|
|
3307
|
+
gap: 12,
|
|
3308
|
+
} },
|
|
3309
|
+
boostCustom.image ? (React__default.createElement(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__default.createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
|
|
3318
|
+
width: '100%',
|
|
3319
|
+
height: '100%',
|
|
3320
|
+
objectFit: 'cover',
|
|
3321
|
+
display: 'block',
|
|
3322
|
+
} }))) : null,
|
|
3323
|
+
React__default.createElement(Stack, { spacing: 5 },
|
|
3324
|
+
React__default.createElement(Stack, { spacing: 3 },
|
|
3325
|
+
React__default.createElement(Box, { sx: {
|
|
3326
|
+
textTransform: 'uppercase',
|
|
3327
|
+
fontWeight: 'normal',
|
|
3328
|
+
fontSize: '12px',
|
|
3329
|
+
lineHeight: '15px',
|
|
3330
|
+
color: '#65676B',
|
|
3331
|
+
} }, domainLocales[locale]),
|
|
3332
|
+
React__default.createElement(Box, { sx: {
|
|
3333
|
+
fontSize: '16px',
|
|
3334
|
+
lineHeight: '19px',
|
|
3335
|
+
fontWeight: 500,
|
|
3336
|
+
} }, boostCustom.title)),
|
|
3337
|
+
!!boostCustom.description && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
|
|
3338
|
+
fontSize: '14px',
|
|
3339
|
+
lineHeight: '19px',
|
|
3340
|
+
color: '#65676B',
|
|
3341
|
+
}, dangerouslySetInnerHTML: {
|
|
3342
|
+
__html: boostCustom.description,
|
|
3343
|
+
} }))))) : null,
|
|
3344
|
+
React__default.createElement(Button$1, { variant: "primary", fullWidth: true }, viewDetailText)),
|
|
3345
|
+
React__default.createElement(Box, { role: "button", tabIndex: 0, "aria-label": viewDetailText, onClick: handleOpenBoostLink, onKeyDown: (event) => {
|
|
3346
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
3347
|
+
event.preventDefault();
|
|
3348
|
+
handleOpenBoostLink();
|
|
3349
|
+
}
|
|
3350
|
+
}, sx: {
|
|
3351
|
+
position: 'absolute',
|
|
3352
|
+
inset: 0,
|
|
3353
|
+
zIndex: 2,
|
|
3354
|
+
cursor: 'pointer',
|
|
3355
|
+
backgroundColor: 'transparent',
|
|
3356
|
+
} })));
|
|
3357
|
+
return isMobile ? (React__default.createElement(DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss },
|
|
3358
|
+
React__default.createElement(Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
|
|
3359
|
+
React__default.createElement(Text, { size: "s2" }, modalHeading),
|
|
3360
|
+
contentEle))) : (React__default.createElement(Modal, { title: React__default.createElement(Text, { size: "s2" }, modalHeading), size: 568, opened: opened, onClose: handleDismiss, zIndex: 500, styles: {
|
|
3361
|
+
body: {
|
|
3362
|
+
'&:not(:only-child)': {
|
|
3363
|
+
paddingTop: 16,
|
|
3364
|
+
},
|
|
3365
|
+
},
|
|
3366
|
+
} }, contentEle));
|
|
3367
|
+
}
|
|
3368
|
+
|
|
2792
3369
|
const StyledFixedAdBlock = styled.div `
|
|
2793
3370
|
position: fixed;
|
|
2794
3371
|
z-index: 48;
|
|
@@ -4784,33 +5361,60 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
|
|
|
4784
5361
|
const StyledTwoItemHorizontalContainer = styled.div `
|
|
4785
5362
|
display: grid;
|
|
4786
5363
|
grid-template-columns: 1fr 2px 1fr;
|
|
4787
|
-
column-gap: ${rem(
|
|
5364
|
+
column-gap: ${rem(10)};
|
|
5365
|
+
|
|
5366
|
+
${MediaQueries.mbUp} {
|
|
5367
|
+
column-gap: ${rem(16)};
|
|
5368
|
+
}
|
|
4788
5369
|
`;
|
|
4789
5370
|
const StyledVerticalContainer = styled.div `
|
|
4790
5371
|
display: grid;
|
|
4791
5372
|
grid-template-columns: repeat(2, 1fr);
|
|
4792
|
-
|
|
5373
|
+
column-gap: ${rem(10)};
|
|
5374
|
+
row-gap: ${rem(12)};
|
|
4793
5375
|
|
|
4794
5376
|
.span-2 {
|
|
4795
5377
|
grid-column: 1 / span 2;
|
|
4796
5378
|
}
|
|
5379
|
+
|
|
5380
|
+
${MediaQueries.mbUp} {
|
|
5381
|
+
column-gap: ${rem(16)};
|
|
5382
|
+
row-gap: ${rem(18)};
|
|
5383
|
+
}
|
|
4797
5384
|
`;
|
|
4798
5385
|
const StyledHorizontalContainer = styled.div `
|
|
4799
5386
|
display: flex;
|
|
4800
5387
|
align-items: center;
|
|
4801
|
-
gap:
|
|
5388
|
+
gap: ${rem(10)};
|
|
5389
|
+
|
|
5390
|
+
${MediaQueries.mbUp} {
|
|
5391
|
+
gap: ${rem(16)};
|
|
5392
|
+
}
|
|
4802
5393
|
`;
|
|
4803
5394
|
const StyledVerticalContent = styled.div `
|
|
4804
5395
|
display: flex;
|
|
4805
5396
|
flex-direction: column;
|
|
4806
|
-
gap: ${rem(2)};
|
|
4807
5397
|
align-items: ${({ align }) => align};
|
|
5398
|
+
max-height: ${rem(40)};
|
|
5399
|
+
|
|
5400
|
+
${MediaQueries.mbUp} {
|
|
5401
|
+
gap: ${rem(2)};
|
|
5402
|
+
max-height: ${rem(46)};
|
|
5403
|
+
}
|
|
4808
5404
|
`;
|
|
4809
5405
|
const StyledTitle$1 = styled.div `
|
|
4810
|
-
font-size: ${rem(15)};
|
|
4811
|
-
font-weight: 600;
|
|
4812
5406
|
color: #111111;
|
|
5407
|
+
font-weight: 600;
|
|
5408
|
+
|
|
5409
|
+
font-size: ${rem(15)};
|
|
4813
5410
|
line-height: ${rem(24)};
|
|
5411
|
+
letter-spacing: -0.3px;
|
|
5412
|
+
|
|
5413
|
+
${MediaQueries.mbUp} {
|
|
5414
|
+
font-size: ${rem(17)};
|
|
5415
|
+
line-height: ${rem(24)};
|
|
5416
|
+
letter-spacing: -0.4px;
|
|
5417
|
+
}
|
|
4814
5418
|
`;
|
|
4815
5419
|
const StyledDescription$1 = styled.div `
|
|
4816
5420
|
color: ${theme.colors.gray700};
|
|
@@ -5318,6 +5922,10 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5318
5922
|
children));
|
|
5319
5923
|
}
|
|
5320
5924
|
|
|
5925
|
+
const HERO_IMAGE_TO_TOP_CONTENT = 251;
|
|
5926
|
+
const OVERLAP_CONTENT_RADIUS = 22;
|
|
5927
|
+
const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
|
|
5928
|
+
|
|
5321
5929
|
// import CalendarDayIcon from '@/public/svg/calendar-days.svg'
|
|
5322
5930
|
// import UsersIcon from '@/public/svg/users.svg'
|
|
5323
5931
|
styled(ImageWrap) `
|
|
@@ -5366,12 +5974,25 @@ styled.div `
|
|
|
5366
5974
|
}
|
|
5367
5975
|
`;
|
|
5368
5976
|
const GeneralInfoContainer = styled.div `
|
|
5977
|
+
background-color: #fff;
|
|
5978
|
+
|
|
5369
5979
|
${MediaQueries.mbUp} {
|
|
5370
5980
|
display: flex;
|
|
5371
|
-
gap:
|
|
5981
|
+
gap: 0;
|
|
5982
|
+
justify-content: space-between;
|
|
5372
5983
|
border-radius: 0.75rem;
|
|
5373
|
-
padding:
|
|
5984
|
+
padding: ${rem(24)};
|
|
5374
5985
|
overflow: hidden;
|
|
5986
|
+
|
|
5987
|
+
& > div:first-child {
|
|
5988
|
+
width: 40%;
|
|
5989
|
+
max-width: 432px;
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5992
|
+
& > div:last-child {
|
|
5993
|
+
width: 51%;
|
|
5994
|
+
max-width: 550px;
|
|
5995
|
+
}
|
|
5375
5996
|
}
|
|
5376
5997
|
|
|
5377
5998
|
#product-image-section {
|
|
@@ -5379,11 +6000,10 @@ const GeneralInfoContainer = styled.div `
|
|
|
5379
6000
|
width: 336px;
|
|
5380
6001
|
}
|
|
5381
6002
|
}
|
|
5382
|
-
background-color: #fff;
|
|
5383
6003
|
`;
|
|
5384
6004
|
const ProductImage = styled(ImageWrapV2) `
|
|
5385
6005
|
${MediaQueries.mbUp} {
|
|
5386
|
-
width:
|
|
6006
|
+
width: 432px;
|
|
5387
6007
|
aspect-ratio: 1/1;
|
|
5388
6008
|
object-fit: cover;
|
|
5389
6009
|
border-radius: 0.5rem;
|
|
@@ -5395,7 +6015,8 @@ const ProductImage = styled(ImageWrapV2) `
|
|
|
5395
6015
|
aspect-ratio: 375/190;
|
|
5396
6016
|
`;
|
|
5397
6017
|
const ProductContent = styled.div `
|
|
5398
|
-
padding: 1.5rem
|
|
6018
|
+
padding: 1rem 1rem 1.5rem;
|
|
6019
|
+
|
|
5399
6020
|
${MediaQueries.mbUp} {
|
|
5400
6021
|
padding: 0;
|
|
5401
6022
|
flex: 1;
|
|
@@ -5409,7 +6030,13 @@ const ProductContent = styled.div `
|
|
|
5409
6030
|
.product-info {
|
|
5410
6031
|
display: flex;
|
|
5411
6032
|
flex-direction: column;
|
|
5412
|
-
gap:
|
|
6033
|
+
gap: 9px;
|
|
6034
|
+
}
|
|
6035
|
+
|
|
6036
|
+
${MediaQueries.mbUp} {
|
|
6037
|
+
.product-info {
|
|
6038
|
+
gap: 8px;
|
|
6039
|
+
}
|
|
5413
6040
|
}
|
|
5414
6041
|
`;
|
|
5415
6042
|
const ImageCarouselContainer = styled.div `
|
|
@@ -5448,14 +6075,14 @@ const StyledImageCarousel = styled(Carousel) `
|
|
|
5448
6075
|
}
|
|
5449
6076
|
|
|
5450
6077
|
&[data-inactive] {
|
|
5451
|
-
opacity: 0
|
|
6078
|
+
opacity: 0;
|
|
5452
6079
|
cursor: default;
|
|
5453
6080
|
}
|
|
5454
6081
|
}
|
|
5455
6082
|
|
|
5456
6083
|
.mantine-Carousel-indicators {
|
|
5457
6084
|
gap: 0.375rem;
|
|
5458
|
-
bottom: 0.5rem;
|
|
6085
|
+
bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
|
|
5459
6086
|
}
|
|
5460
6087
|
|
|
5461
6088
|
.mantine-Carousel-indicator {
|
|
@@ -5498,38 +6125,113 @@ const CarouselImageItem = styled(ImageWrapV2) `
|
|
|
5498
6125
|
height: 100%;
|
|
5499
6126
|
object-fit: cover;
|
|
5500
6127
|
object-position: center;
|
|
6128
|
+
`;
|
|
6129
|
+
const FixedHeroSection = styled.div `
|
|
6130
|
+
--scrollIndex: ${({ scrollIndex }) => `${scrollIndex}px`};
|
|
6131
|
+
--heroImageHeight: ${HERO_IMAGE_HEIGHT}px;
|
|
6132
|
+
--heroImageRatio: calc(375px / var(--heroImageHeight));
|
|
6133
|
+
|
|
6134
|
+
${MediaQueries.mbDown} {
|
|
6135
|
+
position: fixed;
|
|
6136
|
+
top: var(--header-height, ${DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
6137
|
+
left: 0;
|
|
6138
|
+
right: 0;
|
|
6139
|
+
z-index: 0;
|
|
6140
|
+
overflow: hidden;
|
|
6141
|
+
display: flex;
|
|
6142
|
+
flex-direction: column;
|
|
6143
|
+
|
|
6144
|
+
width: 100vw;
|
|
6145
|
+
height: calc(100vw / var(--heroImageRatio) - var(--scrollIndex, 0px));
|
|
6146
|
+
|
|
6147
|
+
& > div {
|
|
6148
|
+
width: 100vw;
|
|
6149
|
+
height: var(--heroImageHeight);
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
`;
|
|
6153
|
+
const FixedHeroSpacer = styled.div `
|
|
6154
|
+
${MediaQueries.mbDown} {
|
|
6155
|
+
width: 100%;
|
|
6156
|
+
aspect-ratio: 375 / ${HERO_IMAGE_HEIGHT};
|
|
6157
|
+
}
|
|
6158
|
+
`;
|
|
6159
|
+
const ContentOverlayWrapper = styled.div `
|
|
6160
|
+
position: relative;
|
|
6161
|
+
z-index: 2;
|
|
6162
|
+
background-color: #fff;
|
|
6163
|
+
`;
|
|
6164
|
+
const ContentOverlayWrapperParallax = styled.div `
|
|
6165
|
+
position: relative;
|
|
6166
|
+
z-index: 2;
|
|
6167
|
+
background-color: #fff;
|
|
6168
|
+
border-radius: 1.375rem 1.375rem 0 0;
|
|
6169
|
+
margin-top: calc(-1 * ${OVERLAP_CONTENT_RADIUS}px);
|
|
6170
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
|
|
5501
6171
|
`;
|
|
5502
6172
|
|
|
5503
|
-
function
|
|
6173
|
+
function FixedParallaxHeroSection({ children }) {
|
|
6174
|
+
const heroSectionRef = useRef(null);
|
|
6175
|
+
const [scrollIndex, setScrollIndex] = useState(0);
|
|
6176
|
+
useEffect(() => {
|
|
6177
|
+
const el = heroSectionRef.current;
|
|
6178
|
+
if (!el)
|
|
6179
|
+
return;
|
|
6180
|
+
const checkHasReachedTop = () => {
|
|
6181
|
+
setScrollIndex(window.scrollY);
|
|
6182
|
+
};
|
|
6183
|
+
checkHasReachedTop();
|
|
6184
|
+
window.addEventListener('scroll', checkHasReachedTop, { passive: true });
|
|
6185
|
+
return () => window.removeEventListener('scroll', checkHasReachedTop);
|
|
6186
|
+
}, []);
|
|
6187
|
+
return (React__default.createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
|
|
6188
|
+
React__default.createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
|
|
6189
|
+
}
|
|
6190
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
|
|
5504
6191
|
const { isMobile: isMobileFromHook } = useScreenSize();
|
|
6192
|
+
const contentRef = useRef(null);
|
|
5505
6193
|
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5506
6194
|
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5507
6195
|
const showCarousel = imageCarousel.length > 1;
|
|
5508
6196
|
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5509
6197
|
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5510
6198
|
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
6199
|
+
const ContentWrapper = isMobile
|
|
6200
|
+
? isCarouselParallax
|
|
6201
|
+
? ContentOverlayWrapperParallax
|
|
6202
|
+
: ContentOverlayWrapper
|
|
6203
|
+
: 'div';
|
|
6204
|
+
const carouselItemWrapperStyle = isCarouselParallax
|
|
6205
|
+
? {
|
|
6206
|
+
aspectRatio: `375 / ${HERO_IMAGE_HEIGHT}`,
|
|
6207
|
+
}
|
|
6208
|
+
: {};
|
|
6209
|
+
const heroContent = imagesSelect ? (imagesSelect) : isMobile ? (React__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__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6210
|
+
React__default.createElement(CarouselImageItemWrapperMobile, { style: carouselItemWrapperStyle, onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
6211
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))) : (React__default.createElement(React__default.Fragment, null,
|
|
6212
|
+
React__default.createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
6213
|
+
(typeof generalInfo.name === 'string'
|
|
6214
|
+
? generalInfo.name
|
|
6215
|
+
: 'product') }, bannerProps)),
|
|
6216
|
+
showCarousel && (React__default.createElement(ImageCarouselContainer, null,
|
|
6217
|
+
React__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__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6218
|
+
React__default.createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
6219
|
+
var _a;
|
|
6220
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
6221
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
6222
|
+
} }),
|
|
6223
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))));
|
|
5511
6224
|
return (React__default.createElement(GeneralInfoContainer, { className: className },
|
|
5512
|
-
|
|
5513
|
-
React__default.createElement(
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
var _a;
|
|
5523
|
-
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
5524
|
-
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
5525
|
-
} }),
|
|
5526
|
-
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))))))),
|
|
5527
|
-
React__default.createElement(ProductContent, { className: contentClassName },
|
|
5528
|
-
React__default.createElement("div", { className: "product-info" },
|
|
5529
|
-
typeof generalInfo.name === 'string' ? (React__default.createElement(Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
5530
|
-
generalInfo.middleContent,
|
|
5531
|
-
generalInfo.description && (React__default.createElement(Text, { size: isMobile ? 'p3' : 'p1', color: "gray700" }, generalInfo.description))),
|
|
5532
|
-
children)));
|
|
6225
|
+
isCarouselParallax ? (React__default.createElement(React__default.Fragment, null,
|
|
6226
|
+
React__default.createElement(FixedParallaxHeroSection, null, heroContent),
|
|
6227
|
+
React__default.createElement(FixedHeroSpacer, { "data-section": "PseudoEl_FixedHeroSpacer" }))) : (React__default.createElement("div", { "data-section": "HeroContent" }, heroContent)),
|
|
6228
|
+
React__default.createElement(ContentWrapper, { "data-section": "ProductDetail_ContentWrapper", ref: contentRef },
|
|
6229
|
+
React__default.createElement(ProductContent, { className: contentClassName },
|
|
6230
|
+
React__default.createElement("div", { className: "product-info" },
|
|
6231
|
+
typeof generalInfo.name === 'string' ? (React__default.createElement(Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
6232
|
+
generalInfo.middleContent,
|
|
6233
|
+
generalInfo.description && (React__default.createElement(Text, { size: "body2", color: "gray700", "data-section": "ProductContent_Description" }, generalInfo.description))),
|
|
6234
|
+
children))));
|
|
5533
6235
|
}
|
|
5534
6236
|
GeneralInfo.Container = GeneralInfoContainer;
|
|
5535
6237
|
GeneralInfo.Image = ProductImage;
|
|
@@ -5552,9 +6254,11 @@ const GalleryMain = styled.div `
|
|
|
5552
6254
|
min-width: 0;
|
|
5553
6255
|
height: calc(100% - 108px);
|
|
5554
6256
|
width: 100%;
|
|
6257
|
+
|
|
5555
6258
|
${MediaQueries.mbUp} {
|
|
5556
6259
|
height: auto;
|
|
5557
6260
|
max-height: calc(100dvh - 10dvh);
|
|
6261
|
+
aspect-ratio: 716 / 720;
|
|
5558
6262
|
}
|
|
5559
6263
|
`;
|
|
5560
6264
|
const GallerySidebar = styled.div `
|
|
@@ -5650,7 +6354,7 @@ const EmptyState = styled.div `
|
|
|
5650
6354
|
min-height: 240px;
|
|
5651
6355
|
text-align: center;
|
|
5652
6356
|
`;
|
|
5653
|
-
const StyledModal = styled(Modal) `
|
|
6357
|
+
const StyledModal = styled(Modal$1) `
|
|
5654
6358
|
.mantine-Modal-header {
|
|
5655
6359
|
padding: 12px 16px;
|
|
5656
6360
|
border-bottom: 1px solid #0000001a;
|
|
@@ -5727,7 +6431,7 @@ const StyledCarousel = styled(Carousel) `
|
|
|
5727
6431
|
}
|
|
5728
6432
|
|
|
5729
6433
|
&[data-inactive] {
|
|
5730
|
-
opacity: 0
|
|
6434
|
+
opacity: 0;
|
|
5731
6435
|
cursor: default;
|
|
5732
6436
|
}
|
|
5733
6437
|
}
|
|
@@ -5770,7 +6474,7 @@ function GalleryCarousel() {
|
|
|
5770
6474
|
};
|
|
5771
6475
|
return (React__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__default.createElement(Carousel.Slide, { key: `${imageUrl}-${index}` },
|
|
5772
6476
|
React__default.createElement(LargeImageWrapper, null,
|
|
5773
|
-
React__default.createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
6477
|
+
React__default.createElement(MainGalleryImage, { "data-section": "MainGalleryImage_section", src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5774
6478
|
}
|
|
5775
6479
|
|
|
5776
6480
|
function GalleryThumbnails({ isMobile }) {
|
|
@@ -5797,7 +6501,7 @@ function GalleryTitle({ isMobile }) {
|
|
|
5797
6501
|
return null;
|
|
5798
6502
|
}
|
|
5799
6503
|
if (typeof generalInfo.name === 'string') {
|
|
5800
|
-
return (React__default.createElement(Text, {
|
|
6504
|
+
return (React__default.createElement(Text, { fw: 600, size: "h5New", color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5801
6505
|
}
|
|
5802
6506
|
return React__default.createElement(React__default.Fragment, null, generalInfo.name);
|
|
5803
6507
|
}
|
|
@@ -6127,4 +6831,4 @@ const formatSiteWideBanner = (sitewideBanner, type = 'home') => {
|
|
|
6127
6831
|
};
|
|
6128
6832
|
};
|
|
6129
6833
|
|
|
6130
|
-
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D,
|
|
6834
|
+
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, StarFull as E, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, StarHalf as J, StarUpgrade as K, List as L, ModalGallery as M, PopupBoostArticleCard as P, QuickFilter as Q, RadioGroup as R, ScrollList as S, Tabs as T, VoucherItem as V, WidgetChatbotAi as W, CheckboxGroup as a, StatisticCard as b, index as c, DoctorInfo as d, CookieAcceptConfirm as e, SeoHead as f, DateRangePicker as g, ShareContainer as h, index$1 as i, ShareDrawer as j, PopupBoostPageView as k, FixedBottomAdBlock as l, SummaryInfo as m, ListContext as n, useList as o, QuickFilterWrapLine as p, CardListItem as q, useModalGalleryContext as r, ModalGalleryProvider as s, CertificateItem as t, useListContext as u, RatingStars as v, RatingStarsInput as w, MAX_RATING as x, AnsweredByDoctor as y, formatSiteWideBanner as z };
|