@hhgtech/hhg-components 1.29.534 → 1.29.535-beta-2
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-2a423c97.js} +5 -5
- package/build/{LastPeriod-d3798ce6.js → LastPeriod-94481b56.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f51ce26f.js → MobileBottomNavigationIcon-e5dbcfd3.js} +3 -3
- package/build/{SiteWideBanner-85878628.js → SiteWideBanner-2bd6f48e.js} +11 -11
- package/build/{Spinner-98eea6de.js → Spinner-f2e87552.js} +1 -1
- package/build/{WhatsApp-648f616d.js → WhatsApp-4b888799.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-105ba154.js} +3 -2
- package/build/constants-7360717d.js +26 -0
- package/build/{constants-60bca169.js → constants-7fd0c621.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-ac04cb20.js} +1 -1
- package/build/{dataTransform-6af4a005.js → dataTransform-b5c4110e.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-36ab2eaa.js → editor-245e1055.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-7dc81a7a.js} +5 -5
- package/build/esm/{LastPeriod-2d1a8af5.js → LastPeriod-4a48c024.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-32a5c134.js → MobileBottomNavigationIcon-b670a1f7.js} +3 -3
- package/build/esm/{SiteWideBanner-5e66305f.js → SiteWideBanner-4d8c572f.js} +11 -11
- package/build/esm/{Spinner-1944f377.js → Spinner-d467f7fd.js} +1 -1
- package/build/esm/{WhatsApp-d3a97aa7.js → WhatsApp-9064a88c.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-ee7660c1.js → constants-2b3d5ab1.js} +1 -1
- package/build/esm/constants-733a083e.js +21 -0
- package/build/esm/{constants-b9de6aa4.js → constants-d7bb1525.js} +3 -3
- 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-46cae1b3.js} +1 -1
- package/build/esm/{dataTransform-13dbb556.js → dataTransform-d273a324.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-505d6e32.js → editor-03b6041c.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-1e24a04c.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-c43883f0.js → index-03ff60bd.js} +2 -2
- package/build/esm/{index-01466711.js → index-05dafa28.js} +2 -2
- package/build/esm/{index-a3d0645b.js → index-09837c0c.js} +3 -3
- package/build/esm/{index-546c9175.js → index-0a52d122.js} +3 -3
- package/build/esm/{index-c972f896.js → index-0d14ecef.js} +6 -6
- package/build/esm/{index-add54147.js → index-0e5d4556.js} +2 -2
- package/build/esm/{index-dee4ae40.js → index-10e8454d.js} +13 -13
- package/build/esm/index-12c69bed.js +113 -0
- package/build/esm/{index-1b8f14e2.js → index-1cb03141.js} +32 -32
- package/build/esm/{index-f8d2ecda.js → index-2158f0b7.js} +3 -3
- package/build/esm/{index-6a21cee7.js → index-224a2428.js} +2 -2
- package/build/esm/{index-5f5b7cda.js → index-24cf2e33.js} +1 -1
- package/build/esm/{index-9972f3f1.js → index-25b0f9ca.js} +16 -16
- package/build/esm/{index-c95be069.js → index-2b3bfcde.js} +49 -42
- package/build/esm/{index-8e3a4d94.js → index-30dbf87e.js} +6 -6
- package/build/esm/{index-875e7c03.js → index-375a4f26.js} +25 -25
- package/build/esm/{index-8152ea72.js → index-3b6dd77d.js} +21 -21
- package/build/esm/{index-5bbb8b7a.js → index-3cbb3735.js} +14 -0
- package/build/esm/{index-031b44e9.js → index-3fb8e21d.js} +1 -1
- package/build/esm/{index-e94c4a25.js → index-4054bdfb.js} +16 -16
- package/build/esm/{index-a3c3a3b5.js → index-43cc88d3.js} +3 -3
- package/build/esm/{index-37adc44b.js → index-471aa4a2.js} +16 -16
- package/build/esm/{index-92023d47.js → index-4e22c1e5.js} +6 -6
- package/build/esm/{index-d9bb5f97.js → index-4f58613e.js} +2 -2
- package/build/esm/{index-cebe4a5a.js → index-502160fe.js} +2 -2
- package/build/esm/{index-5e89000a.js → index-554dac0f.js} +2 -2
- package/build/esm/{index-0dd981b5.js → index-56dd7a84.js} +20 -20
- package/build/esm/{index-bfdaaaae.js → index-56e7ca3d.js} +5 -5
- package/build/esm/{index-42003c77.js → index-57d6d19e.js} +2 -2
- package/build/esm/{index-cdb4d674.js → index-592d9a3b.js} +3 -3
- package/build/esm/{index-b7cc530f.js → index-5f670ba1.js} +8 -3
- package/build/esm/{index-1e8cb961.js → index-645061cb.js} +22 -22
- package/build/esm/{index-60e408df.js → index-66f8a5de.js} +16 -16
- package/build/esm/{index-a477d182.js → index-69f5e42b.js} +4 -4
- package/build/esm/{index-52842760.js → index-6db01f6c.js} +8 -8
- package/build/esm/{index-af5a71ea.js → index-6fd3fd66.js} +3 -3
- package/build/esm/{index-6cb8cbd6.js → index-73c6d04d.js} +13 -13
- package/build/esm/{index-3354fa7c.js → index-79d77dd7.js} +14 -14
- package/build/esm/{index-d362abc0.js → index-7aace5d4.js} +2 -2
- package/build/esm/{index-170c7d68.js → index-7ae648b5.js} +1 -1
- package/build/esm/{index-c46c6359.js → index-7e79a6d3.js} +15 -15
- package/build/esm/{index-48665c24.js → index-86c0b2eb.js} +3 -3
- package/build/esm/{index-96354a8e.js → index-87f2a896.js} +2 -2
- package/build/esm/{index-518108c6.js → index-9675a87f.js} +2 -2
- package/build/esm/{index-f2b6f445.js → index-9cf210e4.js} +15 -15
- package/build/esm/{index-411b1e21.js → index-9edc75e2.js} +1 -1
- package/build/esm/{index-7695d017.js → index-a66c7fe8.js} +11 -11
- package/build/esm/{index-3cf280c9.js → index-a825fc6c.js} +17 -17
- package/build/esm/{index-40ef173b.js → index-a8b3d16f.js} +12 -12
- package/build/esm/{index-d4836ab1.js → index-a8bbd3c3.js} +1 -1
- package/build/esm/{index-984cd2a6.js → index-a8ed5512.js} +14 -14
- package/build/esm/{index-65d31c22.js → index-ae99e9e1.js} +14 -14
- package/build/esm/{index-72e6b26d.js → index-b82f1af9.js} +3 -3
- package/build/esm/{index-031e2aab.js → index-befdc230.js} +3 -111
- package/build/esm/{index-190ae112.js → index-c900d995.js} +7 -7
- package/build/esm/{index-e189aeef.js → index-cb25707b.js} +15 -15
- package/build/esm/{index-2ce0ca04.js → index-cc806b05.js} +7 -7
- package/build/esm/{index-04f30777.js → index-cd5b82fe.js} +18 -18
- package/build/esm/{index-8fb5fab3.js → index-cee58d1e.js} +6 -6
- package/build/esm/{index-dbceef8f.js → index-d16102c1.js} +2 -2
- package/build/esm/{index-5c5d93ff.js → index-d19d1e5e.js} +32 -32
- package/build/esm/{index-af4d2e05.js → index-d89e6a88.js} +9 -9
- package/build/esm/{index-0b185aa8.js → index-d95353c4.js} +2 -2
- package/build/esm/{index-6fd7580d.js → index-e14d8eaa.js} +2 -2
- package/build/esm/{index-644c2671.js → index-e44f3c30.js} +1 -1
- package/build/esm/{index-11417cfa.js → index-e69fc887.js} +3 -3
- package/build/esm/{index-a27ac794.js → index-e701ee65.js} +18 -18
- package/build/esm/{index-9957afcb.js → index-e7a72b27.js} +25 -24
- package/build/esm/{index-c6e7fc6c.js → index-ebfaea67.js} +4 -4
- package/build/esm/{index-2828b387.js → index-ec32239b.js} +2 -2
- package/build/esm/{index-f54fe69a.js → index-f0064f09.js} +3 -3
- package/build/esm/{index-e7e76147.js → index-f0597d08.js} +9 -9
- package/build/esm/{index-83a3fab1.js → index-fc4e4ecc.js} +2 -2
- package/build/esm/index.js +131 -130
- package/build/esm/{labelSorting-76a22f89.js → labelSorting-b760f314.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-bf624741.js → logoIcon-b34f51ea.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-9379897d.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-50d6fc2d.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-06912802.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-709e2331.js} +784 -70
- package/build/esm/{translationsProvider-53a9ad8c.js → translationsProvider-4921a678.js} +1 -1
- package/build/esm/{treePopoverMenu-7cbd4446.js → treePopoverMenu-12f658c8.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-7357b628.js → useCartCareService-24962d62.js} +1 -1
- package/build/esm/{useHealthToolCache-980bfe8a.js → useHealthToolCache-6b87d1a8.js} +1 -1
- package/build/esm/{usePhoneValidator-e865da22.js → usePhoneValidator-233aeab3.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-58c93fd8.js → usePlacesAutocomplete-695e8975.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-b460a4e9.js → utils-3cd753e5.js} +4 -4
- package/build/esm/{utils-60b402a8.js → utils-6296feca.js} +5 -22
- package/build/esm/{utils-12fb321f.js → utils-6dde2774.js} +2 -2
- package/build/esm/{utils-5eee13ad.js → utils-90b13f46.js} +2 -2
- package/build/esm/{utils-3a042d56.js → utils-9b41a525.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-df911697.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-663a9756.js → index-03a5c7a9.js} +2 -2
- package/build/{index-ae781903.js → index-03c1a2a4.js} +6 -6
- package/build/{index-ef2beb63.js → index-04dd433f.js} +6 -6
- package/build/{index-7d6d8f5f.js → index-08380182.js} +2 -2
- package/build/{index-81d9c479.js → index-1423e3b9.js} +32 -32
- package/build/{index-b5bc66e1.js → index-16f5e74e.js} +2 -2
- package/build/{index-bedf8788.js → index-18cf280f.js} +7 -7
- package/build/{index-3030dd04.js → index-1b161029.js} +2 -2
- package/build/{index-b1295b17.js → index-1c2ac20f.js} +6 -6
- package/build/{index-edb521fe.js → index-1f2935d0.js} +16 -16
- package/build/{index-c20cc0d9.js → index-27c33fb1.js} +2 -111
- package/build/{index-2ca653a5.js → index-2bd3c771.js} +2 -2
- package/build/{index-eddecffe.js → index-2c93d942.js} +18 -18
- package/build/{index-3f6f3d8c.js → index-2f64f4a7.js} +21 -21
- package/build/{index-1c468647.js → index-33790b0a.js} +25 -25
- package/build/{index-6437a4e6.js → index-39343934.js} +32 -32
- package/build/{index-75ed3a31.js → index-3e03ea19.js} +2 -2
- package/build/{index-2b5f571f.js → index-42c5ff2d.js} +16 -16
- package/build/{index-bb8f45c4.js → index-43e5f0e2.js} +1 -1
- package/build/index-441659db.js +120 -0
- package/build/{index-169e3192.js → index-480ed7a9.js} +32 -9
- package/build/{index-9e5d3362.js → index-493a09c1.js} +3 -3
- package/build/{index-96133bac.js → index-4a34624a.js} +51 -44
- package/build/{index-2405320a.js → index-4bb4388a.js} +4 -4
- package/build/{index-ba6db1b8.js → index-4bc234b4.js} +14 -14
- package/build/{index-50886818.js → index-4c125734.js} +2 -2
- package/build/{index-0727bd8b.js → index-4c349f86.js} +2 -2
- package/build/{index-b702020a.js → index-4d30cf05.js} +11 -11
- package/build/{index-dcc52018.js → index-4fd53b21.js} +16 -16
- package/build/{index-6c3ba434.js → index-6175e81a.js} +2 -2
- package/build/{index-5eb84192.js → index-65402024.js} +2 -1
- package/build/{index-ad7592fe.js → index-666b4e07.js} +3 -3
- package/build/{index-7893d403.js → index-69d2bab0.js} +2 -2
- package/build/{index-2e84d50f.js → index-6a013447.js} +2 -2
- package/build/{index-1e3c9ac1.js → index-6ce54dba.js} +16 -16
- package/build/{index-acf54bc7.js → index-7ebbc8e8.js} +2 -2
- package/build/{index-3c8b5347.js → index-7f2dd33d.js} +3 -3
- package/build/{index-2cc43886.js → index-7f5cc389.js} +3 -3
- package/build/{index-326d9b7f.js → index-80f972d8.js} +3 -3
- package/build/{index-6724c82e.js → index-819b890e.js} +12 -12
- package/build/{index-8188b101.js → index-81d2c98a.js} +3 -3
- package/build/{index-42bd03b3.js → index-83d5f5b9.js} +22 -22
- package/build/{index-51033326.js → index-8433e8f6.js} +10 -10
- package/build/{index-39886615.js → index-9364cfda.js} +18 -18
- package/build/{index-7bc9b8e4.js → index-95492061.js} +20 -20
- package/build/{index-5a579151.js → index-9750fa8a.js} +14 -0
- package/build/{index-fe0db5b1.js → index-9cc611ec.js} +2 -2
- package/build/{index-c9a1d63d.js → index-a0dc125a.js} +4 -4
- package/build/{index-0d0c2147.js → index-a1533e93.js} +16 -16
- package/build/{index-7e886488.js → index-a9acfabd.js} +17 -17
- package/build/{index-aefd2dfc.js → index-aab7b228.js} +1 -1
- package/build/{index-2b76ae5d.js → index-ace0dcdc.js} +9 -9
- package/build/{index-83473c71.js → index-b809712f.js} +3 -3
- package/build/{index-b84f4acc.js → index-bec6346e.js} +6 -6
- package/build/{index-efcfe5a6.js → index-becbb8b3.js} +13 -13
- package/build/{index-7c6699fc.js → index-cdcb8572.js} +1 -1
- package/build/{index-0c1178d6.js → index-d55da6c6.js} +3 -3
- package/build/{index-38c39406.js → index-d6741b03.js} +3 -3
- package/build/{index-5fa329d6.js → index-d8dd6973.js} +13 -13
- package/build/{index-5d13c03b.js → index-dc39e3b4.js} +1 -1
- package/build/{index-11d1e58c.js → index-de852c53.js} +1 -1
- package/build/{index-a2d2bd91.js → index-e689aba4.js} +7 -7
- package/build/{index-4055a5a0.js → index-e89f9647.js} +14 -14
- package/build/{index-971d3d67.js → index-ea84c5fe.js} +2 -2
- package/build/{index-8bc3a01b.js → index-f00b777d.js} +1 -1
- package/build/{index-0b08a7dc.js → index-f051ef6c.js} +5 -5
- package/build/{index-411101f4.js → index-f06ea3a2.js} +15 -15
- package/build/{index-bc8cf290.js → index-f1948580.js} +3 -3
- package/build/{index-71f955a1.js → index-f41be2d2.js} +68 -67
- package/build/{index-f0be2882.js → index-f7fa1059.js} +8 -8
- package/build/{index-d1fd2870.js → index-f83e7766.js} +15 -15
- package/build/{index-1c3fc689.js → index-f86fdff9.js} +2 -2
- package/build/{index-57541b6b.js → index-fcc1ea04.js} +14 -14
- package/build/index.js +218 -215
- package/build/{labelSorting-ac8d9bb4.js → labelSorting-5f509f10.js} +4 -4
- package/build/lead.js +38 -38
- package/build/{logoIcon-6eff0a98.js → logoIcon-2db218d0.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-aa4864a8.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-5278bd26.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-52925770.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-b9bb2bfc.js} +789 -71
- package/build/{translationsProvider-cb71b48c.js → translationsProvider-291e9ea0.js} +1 -1
- package/build/{treePopoverMenu-65c79750.js → treePopoverMenu-efc82dd6.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-13037283.js → useCartCareService-277ab850.js} +1 -1
- package/build/{useHealthToolCache-1fe6d03f.js → useHealthToolCache-b23aa814.js} +1 -1
- package/build/{usePhoneValidator-ad80a420.js → usePhoneValidator-6183ce12.js} +5 -5
- package/build/{usePlacesAutocomplete-c61d4f93.js → usePlacesAutocomplete-f593ba65.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-900fface.js → utils-159365f3.js} +6 -24
- package/build/{utils-e5a2a5a8.js → utils-62e1a392.js} +3 -3
- package/build/{utils-6cdcc2ff.js → utils-9c9b77c1.js} +2 -2
- package/build/{utils-684c23d4.js → utils-c37a6c44.js} +2 -2
- package/build/{utils-e78cf8f9.js → utils-f322ee2e.js} +5 -5
- 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-ea095ffd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-2ca1a1e0.js → BMI_BOYS.percentile.weekly-50944d48.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8fc1e476.js → BMI_BOYS.percentile.yearly-4bab212b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6e08a880.js → BMI_BOYS.zscore.monthly-ecd868a7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-53bcabcd.js → BMI_BOYS.zscore.weekly-29a3ad61.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-27f1510f.js → BMI_BOYS.zscore.yearly-7209646c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-69ebcb4f.js → BMI_GIRLS.percentile.monthly-396363ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cf4b8072.js → BMI_GIRLS.percentile.weekly-7522d4c4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-38029d35.js → BMI_GIRLS.percentile.yearly-7bb71bf0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a675d12f.js → BMI_GIRLS.zscore.monthly-47e7c57c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d8bc5e09.js → BMI_GIRLS.zscore.weekly-40164ec0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-109043e5.js → BMI_GIRLS.zscore.yearly-90103780.js} +0 -0
- /package/build/{ChevronDown-91488e3c.js → ChevronDown-6a01a2c7.js} +0 -0
- /package/build/{Google-e2ca2229.js → Google-f19b9bd2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d402dc53.js → HEAD CIRCUM_BOYS.percentile.monthly-b7c2b0c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8e22260b.js → HEAD CIRCUM_BOYS.percentile.weekly-0ed920b8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0cf75833.js → HEAD CIRCUM_BOYS.percentile.yearly-0399c059.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0a9e6771.js → HEAD CIRCUM_BOYS.zscore.monthly-83a5be15.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-48d63a80.js → HEAD CIRCUM_BOYS.zscore.weekly-57520296.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2eda9104.js → HEAD CIRCUM_BOYS.zscore.yearly-888ba71a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d56d031c.js → HEAD CIRCUM_GIRLS.percentile.monthly-2a045e50.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e5ad61a5.js → HEAD CIRCUM_GIRLS.percentile.weekly-837d1630.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ba08ee02.js → HEAD CIRCUM_GIRLS.percentile.yearly-51b0de84.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-eead5c1d.js → HEAD CIRCUM_GIRLS.zscore.monthly-951093e3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cb5b8934.js → HEAD CIRCUM_GIRLS.zscore.weekly-999c2aea.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6ea0383a.js → HEAD CIRCUM_GIRLS.zscore.yearly-05342dd5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5c5b8f3c.js → HEIGHT_BOYS.percentile.monthly-0a04e6f1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e76d5e9c.js → HEIGHT_BOYS.percentile.weekly-be0778ff.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-44d63883.js → HEIGHT_BOYS.percentile.yearly-b305bcdf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4917267f.js → HEIGHT_BOYS.zscore.monthly-57d72d7f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0b6cdec1.js → HEIGHT_BOYS.zscore.weekly-c88d80a8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b39896f2.js → HEIGHT_BOYS.zscore.yearly-18a1ad85.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9d9a6feb.js → HEIGHT_GIRLS.percentile.monthly-72d45bdd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-983d4f3c.js → HEIGHT_GIRLS.percentile.weekly-ebe3a2b0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-68bfd9d2.js → HEIGHT_GIRLS.percentile.yearly-466a9c6a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-be8b0520.js → HEIGHT_GIRLS.zscore.monthly-3a5e2daa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2b4791fc.js → HEIGHT_GIRLS.zscore.weekly-58414c61.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cad4e4cc.js → HEIGHT_GIRLS.zscore.yearly-581cbea8.js} +0 -0
- /package/build/{Locale-4905c35b.js → Locale-0909ccf4.js} +0 -0
- /package/build/{Visible-bf6f9fbb.js → Visible-88a0bf77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-00c2bee9.js → WEIGHT_BOYS.percentile.monthly-5d1beb8f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0ae6e7b8.js → WEIGHT_BOYS.percentile.weekly-4a39c2c0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5c475fcd.js → WEIGHT_BOYS.percentile.yearly-8a7bdadf.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-153fac92.js → WEIGHT_BOYS.zscore.monthly-bfbcb433.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5190f169.js → WEIGHT_BOYS.zscore.weekly-6104a9d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c43a8cec.js → WEIGHT_BOYS.zscore.yearly-f0062c41.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-945ca954.js → WEIGHT_GIRLS.percentile.monthly-b0ff59aa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-caa8db1f.js → WEIGHT_GIRLS.percentile.weekly-585ae8b4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d62e53e4.js → WEIGHT_GIRLS.percentile.yearly-92d39e20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1bc5e9df.js → WEIGHT_GIRLS.zscore.monthly-4f78dc20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-cb1b66cd.js → WEIGHT_GIRLS.zscore.weekly-3453f57f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-9f6bc1b6.js → WEIGHT_GIRLS.zscore.yearly-ecafaf08.js} +0 -0
- /package/build/{ageGenerate-26099050.js → ageGenerate-9de3dc36.js} +0 -0
- /package/build/{animation-01750722.js → animation-e81d569a.js} +0 -0
- /package/build/{constants-57b71829.js → constants-3d9246b3.js} +0 -0
- /package/build/{constants-b6b141d3.js → constants-e235d2f9.js} +0 -0
- /package/build/{context-53cc1b1c.js → context-f7ea8fe9.js} +0 -0
- /package/build/{dataTransform-b0d2d5ed.js → dataTransform-d21586ff.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12ec73e9.js → BMI_BOYS.percentile.monthly-c8c76a55.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5558a423.js → BMI_BOYS.percentile.weekly-76486c06.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-87532f90.js → BMI_BOYS.percentile.yearly-552b870a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c5b853f2.js → BMI_BOYS.zscore.monthly-353f7c29.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-20b469d3.js → BMI_BOYS.zscore.weekly-ae245fee.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dae526e7.js → BMI_BOYS.zscore.yearly-b6de0ac3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9c4ede45.js → BMI_GIRLS.percentile.monthly-5232dc3a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-31348087.js → BMI_GIRLS.percentile.weekly-6b93ddd3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2c938442.js → BMI_GIRLS.percentile.yearly-f6e80477.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a3ee0ed7.js → BMI_GIRLS.zscore.monthly-daf7397b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0dbeee0f.js → BMI_GIRLS.zscore.weekly-449a8001.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d4f38f0e.js → BMI_GIRLS.zscore.yearly-f45118c1.js} +0 -0
- /package/build/esm/{ChevronDown-6e192b16.js → ChevronDown-4ad55752.js} +0 -0
- /package/build/esm/{Google-aab42422.js → Google-081ef8d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9a45375c.js → HEAD CIRCUM_BOYS.percentile.monthly-c9a561ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4f778a1b.js → HEAD CIRCUM_BOYS.percentile.weekly-49be309f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-ab2b1a93.js → HEAD CIRCUM_BOYS.percentile.yearly-1659fb58.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-cd9068be.js → HEAD CIRCUM_BOYS.zscore.monthly-a3e7b3f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c42d6558.js → HEAD CIRCUM_BOYS.zscore.weekly-4091a331.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-faa29f77.js → HEAD CIRCUM_BOYS.zscore.yearly-4e1a1d3c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-abb5319e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e3416db0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3c1bfba6.js → HEAD CIRCUM_GIRLS.percentile.weekly-dfe2935a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5e6c9c89.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b20b798.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7d9443b4.js → HEAD CIRCUM_GIRLS.zscore.monthly-5622c484.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b808ec42.js → HEAD CIRCUM_GIRLS.zscore.weekly-62d4c513.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-afa046d5.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e4a7624.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c98d182c.js → HEIGHT_BOYS.percentile.monthly-d83eff57.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e0fb9e4d.js → HEIGHT_BOYS.percentile.weekly-533ac98c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d3c2813b.js → HEIGHT_BOYS.percentile.yearly-8035df17.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-0aae46de.js → HEIGHT_BOYS.zscore.monthly-66fe859d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-78e47e88.js → HEIGHT_BOYS.zscore.weekly-cb774068.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bdcc8248.js → HEIGHT_BOYS.zscore.yearly-4d0efa48.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-983e88c2.js → HEIGHT_GIRLS.percentile.monthly-741ad237.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e5996a35.js → HEIGHT_GIRLS.percentile.weekly-d73d6dcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1a28767b.js → HEIGHT_GIRLS.percentile.yearly-f727ae1f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5af591d9.js → HEIGHT_GIRLS.zscore.monthly-acb5d38f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d4e3e6db.js → HEIGHT_GIRLS.zscore.weekly-1a371de1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-cb5f4e54.js → HEIGHT_GIRLS.zscore.yearly-723c5bfa.js} +0 -0
- /package/build/esm/{Locale-41d09e42.js → Locale-27f35798.js} +0 -0
- /package/build/esm/{Visible-dfef3786.js → Visible-5b571040.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4dc89c40.js → WEIGHT_BOYS.percentile.monthly-6697b2ca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-34b4fa21.js → WEIGHT_BOYS.percentile.weekly-755eef43.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5111b096.js → WEIGHT_BOYS.percentile.yearly-cf746f74.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d9ced258.js → WEIGHT_BOYS.zscore.monthly-17548713.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d0fe4104.js → WEIGHT_BOYS.zscore.weekly-5c3c35d6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-54b66d08.js → WEIGHT_BOYS.zscore.yearly-615c7841.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bdf696bc.js → WEIGHT_GIRLS.percentile.monthly-33a35ca0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-aad39ae3.js → WEIGHT_GIRLS.percentile.weekly-cbbd2a3d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1f27c299.js → WEIGHT_GIRLS.percentile.yearly-bf6d1153.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ea6ec8d3.js → WEIGHT_GIRLS.zscore.monthly-168dbdd5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ee1f6632.js → WEIGHT_GIRLS.zscore.weekly-4262c848.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-44b8c95e.js → WEIGHT_GIRLS.zscore.yearly-a93fdf6a.js} +0 -0
- /package/build/esm/{ageGenerate-f8441365.js → ageGenerate-0294401c.js} +0 -0
- /package/build/esm/{animation-aed03bf3.js → animation-806fb6e8.js} +0 -0
- /package/build/esm/{constants-12be65ba.js → constants-01b95c1b.js} +0 -0
- /package/build/esm/{constants-a159433c.js → constants-e3b3ac47.js} +0 -0
- /package/build/esm/{context-e7e3451c.js → context-887ff972.js} +0 -0
- /package/build/esm/{dataTransform-e7e3d0e2.js → dataTransform-64bf286e.js} +0 -0
- /package/build/esm/{index-a198ca8e.js → index-42dc479f.js} +0 -0
- /package/build/esm/{index-df8ae5b0.js → index-526bca6e.js} +0 -0
- /package/build/esm/{index-c5fc02fd.js → index-6419519d.js} +0 -0
- /package/build/esm/{index-7cb406e9.js → index-6a32addb.js} +0 -0
- /package/build/esm/{index-febe78cf.js → index-8a21c4ad.js} +0 -0
- /package/build/esm/{index-93a1e9f7.js → index-94b0f440.js} +0 -0
- /package/build/esm/{index-1838c494.js → index-d23d7582.js} +0 -0
- /package/build/esm/{index-d0525a50.js → index-ea790043.js} +0 -0
- /package/build/esm/{index.styles-235de34d.js → index.styles-f323630e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ca6ae426.js → localizeNumberFormat-5b040877.js} +0 -0
- /package/build/esm/{normalizeLink-23209e13.js → normalizeLink-2d965a42.js} +0 -0
- /package/build/esm/{number-37c11a5f.js → number-1c474454.js} +0 -0
- /package/build/esm/{paths-470b2657.js → paths-6818d658.js} +0 -0
- /package/build/esm/{shared-a90a1b12.js → shared-a4e49deb.js} +0 -0
- /package/build/esm/{translationsContext-cd8871cf.js → translationsContext-d55d981f.js} +0 -0
- /package/build/esm/{tslib.es6-d9a784b4.js → tslib.es6-bbd9b109.js} +0 -0
- /package/build/esm/{types-37879d8a.js → types-cd20e1cc.js} +0 -0
- /package/build/esm/{types-c1c2792f.js → types-d3d68d8a.js} +0 -0
- /package/build/esm/{useOutsideClick-77fe7218.js → useOutsideClick-93b53566.js} +0 -0
- /package/build/esm/{useScrollbarSize-6862ffc3.js → useScrollbarSize-88d38e7f.js} +0 -0
- /package/build/esm/{useUniqueId-faea4d8a.js → useUniqueId-4786adfd.js} +0 -0
- /package/build/esm/{utils-6772076f.js → utils-63affba3.js} +0 -0
- /package/build/esm/{utils-aa9ab729.js → utils-e1060fbf.js} +0 -0
- /package/build/{index-32fb4a93.js → index-277181cf.js} +0 -0
- /package/build/{index-67b4a9ba.js → index-714081ea.js} +0 -0
- /package/build/{index-18106e28.js → index-79073424.js} +0 -0
- /package/build/{index-06a2a79f.js → index-8d7a9d4a.js} +0 -0
- /package/build/{index-515496af.js → index-8dc724b2.js} +0 -0
- /package/build/{index-cb026ebc.js → index-98dfd515.js} +0 -0
- /package/build/{index-c8f1d21f.js → index-e5160f48.js} +0 -0
- /package/build/{index-1148ec27.js → index-f1d77f82.js} +0 -0
- /package/build/{index.styles-ce6433a2.js → index.styles-81edc09a.js} +0 -0
- /package/build/{localizeNumberFormat-a32cf82b.js → localizeNumberFormat-768fdcdb.js} +0 -0
- /package/build/{normalizeLink-7b8802a3.js → normalizeLink-0fedc39f.js} +0 -0
- /package/build/{number-2c5609f4.js → number-0a5e0c40.js} +0 -0
- /package/build/{paths-bfb51e53.js → paths-c2dd1859.js} +0 -0
- /package/build/{shared-20d0534b.js → shared-3d2b433a.js} +0 -0
- /package/build/{translationsContext-890a8c7e.js → translationsContext-458ee96f.js} +0 -0
- /package/build/{tslib.es6-6e32661f.js → tslib.es6-a2f835ba.js} +0 -0
- /package/build/{types-d604ee26.js → types-3f11c860.js} +0 -0
- /package/build/{types-387d2e71.js → types-40c63f06.js} +0 -0
- /package/build/{useOutsideClick-5e64f3f7.js → useOutsideClick-ac28b690.js} +0 -0
- /package/build/{useScrollbarSize-175c7e30.js → useScrollbarSize-528d6b64.js} +0 -0
- /package/build/{useUniqueId-ebba63aa.js → useUniqueId-5bb29394.js} +0 -0
- /package/build/{utils-3ca5fccf.js → utils-229f4252.js} +0 -0
- /package/build/{utils-5b201f29.js → utils-24c55aa0.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-bbd9b109.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-d89e6a88.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-d16102c1.js';
|
|
8
|
+
import './index-24cf2e33.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-8a21c4ad.js';
|
|
10
|
+
import './index-6db01f6c.js';
|
|
11
|
+
import { T as Text } from './index-05dafa28.js';
|
|
12
|
+
import { B as Button$1 } from './index-6fd3fd66.js';
|
|
13
|
+
import { F as FontWeight } from './index-3cbb3735.js';
|
|
14
|
+
import './index.styles-f323630e.js';
|
|
15
|
+
import './translationsContext-d55d981f.js';
|
|
16
|
+
import { useDisclosure } from '@mantine/hooks';
|
|
17
|
+
import { M as MediaQueries } from './utils-63affba3.js';
|
|
18
|
+
import './index-592d9a3b.js';
|
|
19
|
+
import { i as isInternalLink } from './SiteWideBanner-4d8c572f.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-7e79a6d3.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-0d14ecef.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-93b53566.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-502160fe.js';
|
|
36
|
+
import { u as useScreenSize, I as ImageWrap } from './index-554dac0f.js';
|
|
37
|
+
import { u as useTranslations, f as format$1 } from './index-d95353c4.js';
|
|
38
38
|
import classNames from 'classnames';
|
|
39
|
-
import { D as Dropdown } from './index-
|
|
39
|
+
import { D as Dropdown } from './index-6419519d.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-4f58613e.js';
|
|
42
|
+
import { D as Drawer } from './index-2158f0b7.js';
|
|
43
|
+
import { D as DrawerBottom } from './index-12c69bed.js';
|
|
44
|
+
import { M as Modal } from './index-9675a87f.js';
|
|
45
|
+
import { b as formatArticle } from './dataTransform-d273a324.js';
|
|
46
|
+
import { DISCOVER_PATHS } from './togetherApiPaths.js';
|
|
47
|
+
import { c as callApi, g as getDiscoverApiPath } from './utils-3cd753e5.js';
|
|
48
|
+
import innertext from 'innertext';
|
|
49
|
+
import { L as LOCALE } from './Locale-27f35798.js';
|
|
50
|
+
import { g as getHelloSitesUrl } from './index-09837c0c.js';
|
|
51
|
+
import { P as POST_DATE_FORMAT, D as DEFAULT_AVATAR_IMG, a as DEFAULT_IMG } from './constants-d7bb1525.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-b82f1af9.js';
|
|
59
|
+
import { L as Loading } from './index-87f2a896.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-5f670ba1.js';
|
|
53
63
|
import { useAnimationOffsetEffect } from '@mantine/carousel';
|
|
64
|
+
import { D as DEFAULT_HEADER_HEIGHT_MOBILE } from './constants-733a083e.js';
|
|
54
65
|
|
|
55
66
|
const StarFull = (_a) => {
|
|
56
67
|
var { color, stroke } = _a, props = __rest(_a, ["color", "stroke"]);
|
|
@@ -2789,6 +2800,582 @@ 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 boostingUrl = targetUrl
|
|
3199
|
+
? targetUrl.startsWith('http')
|
|
3200
|
+
? targetUrl
|
|
3201
|
+
: `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`
|
|
3202
|
+
: null;
|
|
3203
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3204
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3205
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3206
|
+
if (!hasSourceId ||
|
|
3207
|
+
requestState !== 'ready' ||
|
|
3208
|
+
!hasBoostData ||
|
|
3209
|
+
!boostingUrl) {
|
|
3210
|
+
return null;
|
|
3211
|
+
}
|
|
3212
|
+
const trimmedBase = basePath.replace(/\/$/, '');
|
|
3213
|
+
const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
|
|
3214
|
+
const handleDismiss = () => {
|
|
3215
|
+
// Drag-close/overlay-close can emit a trailing click; ignore it once.
|
|
3216
|
+
suppressNextOpenRef.current = true;
|
|
3217
|
+
pendingOpenDeadlineRef.current = null;
|
|
3218
|
+
setSessionPopupShown(true);
|
|
3219
|
+
if (!isMobile) {
|
|
3220
|
+
window.open(boostingUrl, '_blank', 'noopener,noreferrer');
|
|
3221
|
+
close();
|
|
3222
|
+
return;
|
|
3223
|
+
}
|
|
3224
|
+
close();
|
|
3225
|
+
};
|
|
3226
|
+
const handleOpenBoostLink = () => {
|
|
3227
|
+
if (suppressNextOpenRef.current) {
|
|
3228
|
+
suppressNextOpenRef.current = false;
|
|
3229
|
+
return;
|
|
3230
|
+
}
|
|
3231
|
+
pendingOpenDeadlineRef.current = null;
|
|
3232
|
+
setSessionPopupShown(true);
|
|
3233
|
+
window.open(boostingUrl, '_blank', 'noopener,noreferrer');
|
|
3234
|
+
close();
|
|
3235
|
+
};
|
|
3236
|
+
const contentEle = (React__default.createElement(Box, { sx: { position: 'relative' } },
|
|
3237
|
+
React__default.createElement(Stack, { "data-boost-type": boostType, sx: (theme) => ({
|
|
3238
|
+
gap: 12,
|
|
3239
|
+
[theme.fn.largerThan('sm')]: { gap: 16 },
|
|
3240
|
+
'.article-card': {
|
|
3241
|
+
'&[data-size=md][data-direction=horizontal]': {
|
|
3242
|
+
padding: 0,
|
|
3243
|
+
'.footer': {
|
|
3244
|
+
marginTop: 0,
|
|
3245
|
+
'& > div': {
|
|
3246
|
+
marginTop: 16,
|
|
3247
|
+
},
|
|
3248
|
+
},
|
|
3249
|
+
},
|
|
3250
|
+
'&[data-direction=vertical] .banner': {
|
|
3251
|
+
height: 192,
|
|
3252
|
+
},
|
|
3253
|
+
'.author .poster': {
|
|
3254
|
+
p: {
|
|
3255
|
+
fontSize: '12px',
|
|
3256
|
+
lineHeight: '16px',
|
|
3257
|
+
'span:not(.name)': {
|
|
3258
|
+
color: '#8c8c8c',
|
|
3259
|
+
},
|
|
3260
|
+
},
|
|
3261
|
+
a: {
|
|
3262
|
+
color: '#8c8c8c',
|
|
3263
|
+
'span:not(:has(span))': {
|
|
3264
|
+
color: '#000 !important',
|
|
3265
|
+
},
|
|
3266
|
+
},
|
|
3267
|
+
},
|
|
3268
|
+
'h3 + a': {
|
|
3269
|
+
display: 'none',
|
|
3270
|
+
},
|
|
3271
|
+
},
|
|
3272
|
+
}) },
|
|
3273
|
+
boostType === 'article' && boostArticle ? (React__default.createElement(React__default.Fragment, null,
|
|
3274
|
+
React__default.createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
|
|
3275
|
+
React__default.createElement(Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
|
|
3276
|
+
__html: boostArticle.excerpt || boostArticle.postContent || '',
|
|
3277
|
+
}, lineClamp: 8 }))) : null,
|
|
3278
|
+
boostType === 'carepath' && boostCarePath ? (React__default.createElement(Box, { sx: {
|
|
3279
|
+
display: 'grid',
|
|
3280
|
+
gap: 12,
|
|
3281
|
+
} },
|
|
3282
|
+
React__default.createElement(Box, { sx: (theme) => ({
|
|
3283
|
+
marginLeft: -16,
|
|
3284
|
+
marginRight: -16,
|
|
3285
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3286
|
+
width: 'calc(100% + 32px)',
|
|
3287
|
+
aspectRatio: '16 / 8',
|
|
3288
|
+
overflow: 'hidden',
|
|
3289
|
+
}) },
|
|
3290
|
+
React__default.createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
|
|
3291
|
+
width: '100%',
|
|
3292
|
+
height: '100%',
|
|
3293
|
+
objectFit: 'cover',
|
|
3294
|
+
display: 'block',
|
|
3295
|
+
} })),
|
|
3296
|
+
React__default.createElement(Stack, { spacing: 3 },
|
|
3297
|
+
React__default.createElement(Box, { sx: {
|
|
3298
|
+
textTransform: 'uppercase',
|
|
3299
|
+
fontWeight: 'normal',
|
|
3300
|
+
fontSize: '12px',
|
|
3301
|
+
lineHeight: '15px',
|
|
3302
|
+
} }, domainLocales[locale]),
|
|
3303
|
+
React__default.createElement(Box, { sx: {
|
|
3304
|
+
fontSize: '16px',
|
|
3305
|
+
lineHeight: '19px',
|
|
3306
|
+
fontWeight: 500,
|
|
3307
|
+
} }, boostCarePath.title)),
|
|
3308
|
+
!!boostCarePath.content && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
|
|
3309
|
+
fontSize: '14px',
|
|
3310
|
+
lineHeight: '19px',
|
|
3311
|
+
color: '#65676B',
|
|
3312
|
+
}, dangerouslySetInnerHTML: {
|
|
3313
|
+
__html: boostCarePath.content,
|
|
3314
|
+
} })))) : null,
|
|
3315
|
+
boostType === 'custom' && boostCustom ? (React__default.createElement(Box, { sx: {
|
|
3316
|
+
display: 'grid',
|
|
3317
|
+
gap: 12,
|
|
3318
|
+
} },
|
|
3319
|
+
boostCustom.image ? (React__default.createElement(Box, { sx: (theme) => ({
|
|
3320
|
+
marginLeft: -16,
|
|
3321
|
+
marginRight: -16,
|
|
3322
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3323
|
+
width: 'calc(100% + 32px)',
|
|
3324
|
+
aspectRatio: '16 / 8',
|
|
3325
|
+
overflow: 'hidden',
|
|
3326
|
+
}) },
|
|
3327
|
+
React__default.createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
|
|
3328
|
+
width: '100%',
|
|
3329
|
+
height: '100%',
|
|
3330
|
+
objectFit: 'cover',
|
|
3331
|
+
display: 'block',
|
|
3332
|
+
} }))) : null,
|
|
3333
|
+
React__default.createElement(Stack, { spacing: 5 },
|
|
3334
|
+
React__default.createElement(Stack, { spacing: 3 },
|
|
3335
|
+
React__default.createElement(Box, { sx: {
|
|
3336
|
+
textTransform: 'uppercase',
|
|
3337
|
+
fontWeight: 'normal',
|
|
3338
|
+
fontSize: '12px',
|
|
3339
|
+
lineHeight: '15px',
|
|
3340
|
+
color: '#65676B',
|
|
3341
|
+
} }, domainLocales[locale]),
|
|
3342
|
+
React__default.createElement(Box, { sx: {
|
|
3343
|
+
fontSize: '16px',
|
|
3344
|
+
lineHeight: '19px',
|
|
3345
|
+
fontWeight: 500,
|
|
3346
|
+
} }, boostCustom.title)),
|
|
3347
|
+
!!boostCustom.description && (React__default.createElement(Text, { size: "p3", lineClamp: 2, sx: {
|
|
3348
|
+
fontSize: '14px',
|
|
3349
|
+
lineHeight: '19px',
|
|
3350
|
+
color: '#65676B',
|
|
3351
|
+
}, dangerouslySetInnerHTML: {
|
|
3352
|
+
__html: boostCustom.description,
|
|
3353
|
+
} }))))) : null,
|
|
3354
|
+
React__default.createElement(Button$1, { variant: "primary", fullWidth: true }, viewDetailText)),
|
|
3355
|
+
React__default.createElement(Box, { role: "button", tabIndex: 0, "aria-label": viewDetailText, onClick: handleOpenBoostLink, onKeyDown: (event) => {
|
|
3356
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
3357
|
+
event.preventDefault();
|
|
3358
|
+
handleOpenBoostLink();
|
|
3359
|
+
}
|
|
3360
|
+
}, sx: {
|
|
3361
|
+
position: 'absolute',
|
|
3362
|
+
inset: 0,
|
|
3363
|
+
zIndex: 2,
|
|
3364
|
+
cursor: 'pointer',
|
|
3365
|
+
backgroundColor: 'transparent',
|
|
3366
|
+
} })));
|
|
3367
|
+
return isMobile ? (React__default.createElement(DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss },
|
|
3368
|
+
React__default.createElement(Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
|
|
3369
|
+
React__default.createElement(Text, { size: "s2" }, modalHeading),
|
|
3370
|
+
contentEle))) : (React__default.createElement(Modal, { title: React__default.createElement(Text, { size: "s2" }, modalHeading), size: 568, opened: opened, onClose: handleDismiss, zIndex: 500, styles: {
|
|
3371
|
+
body: {
|
|
3372
|
+
'&:not(:only-child)': {
|
|
3373
|
+
paddingTop: 16,
|
|
3374
|
+
},
|
|
3375
|
+
},
|
|
3376
|
+
} }, contentEle));
|
|
3377
|
+
}
|
|
3378
|
+
|
|
2792
3379
|
const StyledFixedAdBlock = styled.div `
|
|
2793
3380
|
position: fixed;
|
|
2794
3381
|
z-index: 48;
|
|
@@ -4784,33 +5371,60 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
|
|
|
4784
5371
|
const StyledTwoItemHorizontalContainer = styled.div `
|
|
4785
5372
|
display: grid;
|
|
4786
5373
|
grid-template-columns: 1fr 2px 1fr;
|
|
4787
|
-
column-gap: ${rem(
|
|
5374
|
+
column-gap: ${rem(10)};
|
|
5375
|
+
|
|
5376
|
+
${MediaQueries.mbUp} {
|
|
5377
|
+
column-gap: ${rem(16)};
|
|
5378
|
+
}
|
|
4788
5379
|
`;
|
|
4789
5380
|
const StyledVerticalContainer = styled.div `
|
|
4790
5381
|
display: grid;
|
|
4791
5382
|
grid-template-columns: repeat(2, 1fr);
|
|
4792
|
-
|
|
5383
|
+
column-gap: ${rem(10)};
|
|
5384
|
+
row-gap: ${rem(12)};
|
|
4793
5385
|
|
|
4794
5386
|
.span-2 {
|
|
4795
5387
|
grid-column: 1 / span 2;
|
|
4796
5388
|
}
|
|
5389
|
+
|
|
5390
|
+
${MediaQueries.mbUp} {
|
|
5391
|
+
column-gap: ${rem(16)};
|
|
5392
|
+
row-gap: ${rem(18)};
|
|
5393
|
+
}
|
|
4797
5394
|
`;
|
|
4798
5395
|
const StyledHorizontalContainer = styled.div `
|
|
4799
5396
|
display: flex;
|
|
4800
5397
|
align-items: center;
|
|
4801
|
-
gap:
|
|
5398
|
+
gap: ${rem(10)};
|
|
5399
|
+
|
|
5400
|
+
${MediaQueries.mbUp} {
|
|
5401
|
+
gap: ${rem(16)};
|
|
5402
|
+
}
|
|
4802
5403
|
`;
|
|
4803
5404
|
const StyledVerticalContent = styled.div `
|
|
4804
5405
|
display: flex;
|
|
4805
5406
|
flex-direction: column;
|
|
4806
|
-
gap: ${rem(2)};
|
|
4807
5407
|
align-items: ${({ align }) => align};
|
|
5408
|
+
max-height: ${rem(40)};
|
|
5409
|
+
|
|
5410
|
+
${MediaQueries.mbUp} {
|
|
5411
|
+
gap: ${rem(2)};
|
|
5412
|
+
max-height: ${rem(46)};
|
|
5413
|
+
}
|
|
4808
5414
|
`;
|
|
4809
5415
|
const StyledTitle$1 = styled.div `
|
|
4810
|
-
font-size: ${rem(15)};
|
|
4811
|
-
font-weight: 600;
|
|
4812
5416
|
color: #111111;
|
|
5417
|
+
font-weight: 600;
|
|
5418
|
+
|
|
5419
|
+
font-size: ${rem(15)};
|
|
4813
5420
|
line-height: ${rem(24)};
|
|
5421
|
+
letter-spacing: -0.3px;
|
|
5422
|
+
|
|
5423
|
+
${MediaQueries.mbUp} {
|
|
5424
|
+
font-size: ${rem(17)};
|
|
5425
|
+
line-height: ${rem(24)};
|
|
5426
|
+
letter-spacing: -0.4px;
|
|
5427
|
+
}
|
|
4814
5428
|
`;
|
|
4815
5429
|
const StyledDescription$1 = styled.div `
|
|
4816
5430
|
color: ${theme.colors.gray700};
|
|
@@ -5318,6 +5932,10 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5318
5932
|
children));
|
|
5319
5933
|
}
|
|
5320
5934
|
|
|
5935
|
+
const HERO_IMAGE_TO_TOP_CONTENT = 251;
|
|
5936
|
+
const OVERLAP_CONTENT_RADIUS = 22;
|
|
5937
|
+
const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
|
|
5938
|
+
|
|
5321
5939
|
// import CalendarDayIcon from '@/public/svg/calendar-days.svg'
|
|
5322
5940
|
// import UsersIcon from '@/public/svg/users.svg'
|
|
5323
5941
|
styled(ImageWrap) `
|
|
@@ -5366,12 +5984,25 @@ styled.div `
|
|
|
5366
5984
|
}
|
|
5367
5985
|
`;
|
|
5368
5986
|
const GeneralInfoContainer = styled.div `
|
|
5987
|
+
background-color: #fff;
|
|
5988
|
+
|
|
5369
5989
|
${MediaQueries.mbUp} {
|
|
5370
5990
|
display: flex;
|
|
5371
|
-
gap:
|
|
5991
|
+
gap: 0;
|
|
5992
|
+
justify-content: space-between;
|
|
5372
5993
|
border-radius: 0.75rem;
|
|
5373
|
-
padding:
|
|
5994
|
+
padding: ${rem(24)};
|
|
5374
5995
|
overflow: hidden;
|
|
5996
|
+
|
|
5997
|
+
& > div:first-child {
|
|
5998
|
+
width: 40%;
|
|
5999
|
+
max-width: 432px;
|
|
6000
|
+
}
|
|
6001
|
+
|
|
6002
|
+
& > div:last-child {
|
|
6003
|
+
width: 51%;
|
|
6004
|
+
max-width: 550px;
|
|
6005
|
+
}
|
|
5375
6006
|
}
|
|
5376
6007
|
|
|
5377
6008
|
#product-image-section {
|
|
@@ -5379,11 +6010,10 @@ const GeneralInfoContainer = styled.div `
|
|
|
5379
6010
|
width: 336px;
|
|
5380
6011
|
}
|
|
5381
6012
|
}
|
|
5382
|
-
background-color: #fff;
|
|
5383
6013
|
`;
|
|
5384
6014
|
const ProductImage = styled(ImageWrapV2) `
|
|
5385
6015
|
${MediaQueries.mbUp} {
|
|
5386
|
-
width:
|
|
6016
|
+
width: 432px;
|
|
5387
6017
|
aspect-ratio: 1/1;
|
|
5388
6018
|
object-fit: cover;
|
|
5389
6019
|
border-radius: 0.5rem;
|
|
@@ -5395,7 +6025,8 @@ const ProductImage = styled(ImageWrapV2) `
|
|
|
5395
6025
|
aspect-ratio: 375/190;
|
|
5396
6026
|
`;
|
|
5397
6027
|
const ProductContent = styled.div `
|
|
5398
|
-
padding: 1.5rem
|
|
6028
|
+
padding: 1rem 1rem 1.5rem;
|
|
6029
|
+
|
|
5399
6030
|
${MediaQueries.mbUp} {
|
|
5400
6031
|
padding: 0;
|
|
5401
6032
|
flex: 1;
|
|
@@ -5409,7 +6040,13 @@ const ProductContent = styled.div `
|
|
|
5409
6040
|
.product-info {
|
|
5410
6041
|
display: flex;
|
|
5411
6042
|
flex-direction: column;
|
|
5412
|
-
gap:
|
|
6043
|
+
gap: 9px;
|
|
6044
|
+
}
|
|
6045
|
+
|
|
6046
|
+
${MediaQueries.mbUp} {
|
|
6047
|
+
.product-info {
|
|
6048
|
+
gap: 8px;
|
|
6049
|
+
}
|
|
5413
6050
|
}
|
|
5414
6051
|
`;
|
|
5415
6052
|
const ImageCarouselContainer = styled.div `
|
|
@@ -5448,14 +6085,14 @@ const StyledImageCarousel = styled(Carousel) `
|
|
|
5448
6085
|
}
|
|
5449
6086
|
|
|
5450
6087
|
&[data-inactive] {
|
|
5451
|
-
opacity: 0
|
|
6088
|
+
opacity: 0;
|
|
5452
6089
|
cursor: default;
|
|
5453
6090
|
}
|
|
5454
6091
|
}
|
|
5455
6092
|
|
|
5456
6093
|
.mantine-Carousel-indicators {
|
|
5457
6094
|
gap: 0.375rem;
|
|
5458
|
-
bottom: 0.5rem;
|
|
6095
|
+
bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
|
|
5459
6096
|
}
|
|
5460
6097
|
|
|
5461
6098
|
.mantine-Carousel-indicator {
|
|
@@ -5498,38 +6135,113 @@ const CarouselImageItem = styled(ImageWrapV2) `
|
|
|
5498
6135
|
height: 100%;
|
|
5499
6136
|
object-fit: cover;
|
|
5500
6137
|
object-position: center;
|
|
6138
|
+
`;
|
|
6139
|
+
const FixedHeroSection = styled.div `
|
|
6140
|
+
--scrollIndex: ${({ scrollIndex }) => `${scrollIndex}px`};
|
|
6141
|
+
--heroImageHeight: ${HERO_IMAGE_HEIGHT}px;
|
|
6142
|
+
--heroImageRatio: calc(375px / var(--heroImageHeight));
|
|
6143
|
+
|
|
6144
|
+
${MediaQueries.mbDown} {
|
|
6145
|
+
position: fixed;
|
|
6146
|
+
top: var(--header-height, ${DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
6147
|
+
left: 0;
|
|
6148
|
+
right: 0;
|
|
6149
|
+
z-index: 0;
|
|
6150
|
+
overflow: hidden;
|
|
6151
|
+
display: flex;
|
|
6152
|
+
flex-direction: column;
|
|
6153
|
+
|
|
6154
|
+
width: 100vw;
|
|
6155
|
+
height: calc(100vw / var(--heroImageRatio) - var(--scrollIndex, 0px));
|
|
6156
|
+
|
|
6157
|
+
& > div {
|
|
6158
|
+
width: 100vw;
|
|
6159
|
+
height: var(--heroImageHeight);
|
|
6160
|
+
}
|
|
6161
|
+
}
|
|
6162
|
+
`;
|
|
6163
|
+
const FixedHeroSpacer = styled.div `
|
|
6164
|
+
${MediaQueries.mbDown} {
|
|
6165
|
+
width: 100%;
|
|
6166
|
+
aspect-ratio: 375 / ${HERO_IMAGE_HEIGHT};
|
|
6167
|
+
}
|
|
6168
|
+
`;
|
|
6169
|
+
const ContentOverlayWrapper = styled.div `
|
|
6170
|
+
position: relative;
|
|
6171
|
+
z-index: 2;
|
|
6172
|
+
background-color: #fff;
|
|
6173
|
+
`;
|
|
6174
|
+
const ContentOverlayWrapperParallax = styled.div `
|
|
6175
|
+
position: relative;
|
|
6176
|
+
z-index: 2;
|
|
6177
|
+
background-color: #fff;
|
|
6178
|
+
border-radius: 1.375rem 1.375rem 0 0;
|
|
6179
|
+
margin-top: calc(-1 * ${OVERLAP_CONTENT_RADIUS}px);
|
|
6180
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
|
|
5501
6181
|
`;
|
|
5502
6182
|
|
|
5503
|
-
function
|
|
6183
|
+
function FixedParallaxHeroSection({ children }) {
|
|
6184
|
+
const heroSectionRef = useRef(null);
|
|
6185
|
+
const [scrollIndex, setScrollIndex] = useState(0);
|
|
6186
|
+
useEffect(() => {
|
|
6187
|
+
const el = heroSectionRef.current;
|
|
6188
|
+
if (!el)
|
|
6189
|
+
return;
|
|
6190
|
+
const checkHasReachedTop = () => {
|
|
6191
|
+
setScrollIndex(window.scrollY);
|
|
6192
|
+
};
|
|
6193
|
+
checkHasReachedTop();
|
|
6194
|
+
window.addEventListener('scroll', checkHasReachedTop, { passive: true });
|
|
6195
|
+
return () => window.removeEventListener('scroll', checkHasReachedTop);
|
|
6196
|
+
}, []);
|
|
6197
|
+
return (React__default.createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
|
|
6198
|
+
React__default.createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
|
|
6199
|
+
}
|
|
6200
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
|
|
5504
6201
|
const { isMobile: isMobileFromHook } = useScreenSize();
|
|
6202
|
+
const contentRef = useRef(null);
|
|
5505
6203
|
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5506
6204
|
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5507
6205
|
const showCarousel = imageCarousel.length > 1;
|
|
5508
6206
|
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5509
6207
|
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5510
6208
|
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
6209
|
+
const ContentWrapper = isMobile
|
|
6210
|
+
? isCarouselParallax
|
|
6211
|
+
? ContentOverlayWrapperParallax
|
|
6212
|
+
: ContentOverlayWrapper
|
|
6213
|
+
: 'div';
|
|
6214
|
+
const carouselItemWrapperStyle = isCarouselParallax
|
|
6215
|
+
? {
|
|
6216
|
+
aspectRatio: `375 / ${HERO_IMAGE_HEIGHT}`,
|
|
6217
|
+
}
|
|
6218
|
+
: {};
|
|
6219
|
+
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),
|
|
6220
|
+
React__default.createElement(CarouselImageItemWrapperMobile, { style: carouselItemWrapperStyle, onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
6221
|
+
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,
|
|
6222
|
+
React__default.createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
6223
|
+
(typeof generalInfo.name === 'string'
|
|
6224
|
+
? generalInfo.name
|
|
6225
|
+
: 'product') }, bannerProps)),
|
|
6226
|
+
showCarousel && (React__default.createElement(ImageCarouselContainer, null,
|
|
6227
|
+
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),
|
|
6228
|
+
React__default.createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
6229
|
+
var _a;
|
|
6230
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
6231
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
6232
|
+
} }),
|
|
6233
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))));
|
|
5511
6234
|
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)));
|
|
6235
|
+
isCarouselParallax ? (React__default.createElement(React__default.Fragment, null,
|
|
6236
|
+
React__default.createElement(FixedParallaxHeroSection, null, heroContent),
|
|
6237
|
+
React__default.createElement(FixedHeroSpacer, { "data-section": "PseudoEl_FixedHeroSpacer" }))) : (React__default.createElement("div", { "data-section": "HeroContent" }, heroContent)),
|
|
6238
|
+
React__default.createElement(ContentWrapper, { "data-section": "ProductDetail_ContentWrapper", ref: contentRef },
|
|
6239
|
+
React__default.createElement(ProductContent, { className: contentClassName },
|
|
6240
|
+
React__default.createElement("div", { className: "product-info" },
|
|
6241
|
+
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 :
|
|
6242
|
+
generalInfo.middleContent,
|
|
6243
|
+
generalInfo.description && (React__default.createElement(Text, { size: "body2", color: "gray700", "data-section": "ProductContent_Description" }, generalInfo.description))),
|
|
6244
|
+
children))));
|
|
5533
6245
|
}
|
|
5534
6246
|
GeneralInfo.Container = GeneralInfoContainer;
|
|
5535
6247
|
GeneralInfo.Image = ProductImage;
|
|
@@ -5552,9 +6264,11 @@ const GalleryMain = styled.div `
|
|
|
5552
6264
|
min-width: 0;
|
|
5553
6265
|
height: calc(100% - 108px);
|
|
5554
6266
|
width: 100%;
|
|
6267
|
+
|
|
5555
6268
|
${MediaQueries.mbUp} {
|
|
5556
6269
|
height: auto;
|
|
5557
6270
|
max-height: calc(100dvh - 10dvh);
|
|
6271
|
+
aspect-ratio: 716 / 720;
|
|
5558
6272
|
}
|
|
5559
6273
|
`;
|
|
5560
6274
|
const GallerySidebar = styled.div `
|
|
@@ -5650,7 +6364,7 @@ const EmptyState = styled.div `
|
|
|
5650
6364
|
min-height: 240px;
|
|
5651
6365
|
text-align: center;
|
|
5652
6366
|
`;
|
|
5653
|
-
const StyledModal = styled(Modal) `
|
|
6367
|
+
const StyledModal = styled(Modal$1) `
|
|
5654
6368
|
.mantine-Modal-header {
|
|
5655
6369
|
padding: 12px 16px;
|
|
5656
6370
|
border-bottom: 1px solid #0000001a;
|
|
@@ -5727,7 +6441,7 @@ const StyledCarousel = styled(Carousel) `
|
|
|
5727
6441
|
}
|
|
5728
6442
|
|
|
5729
6443
|
&[data-inactive] {
|
|
5730
|
-
opacity: 0
|
|
6444
|
+
opacity: 0;
|
|
5731
6445
|
cursor: default;
|
|
5732
6446
|
}
|
|
5733
6447
|
}
|
|
@@ -5770,7 +6484,7 @@ function GalleryCarousel() {
|
|
|
5770
6484
|
};
|
|
5771
6485
|
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
6486
|
React__default.createElement(LargeImageWrapper, null,
|
|
5773
|
-
React__default.createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
6487
|
+
React__default.createElement(MainGalleryImage, { "data-section": "MainGalleryImage_section", src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5774
6488
|
}
|
|
5775
6489
|
|
|
5776
6490
|
function GalleryThumbnails({ isMobile }) {
|
|
@@ -5797,7 +6511,7 @@ function GalleryTitle({ isMobile }) {
|
|
|
5797
6511
|
return null;
|
|
5798
6512
|
}
|
|
5799
6513
|
if (typeof generalInfo.name === 'string') {
|
|
5800
|
-
return (React__default.createElement(Text, {
|
|
6514
|
+
return (React__default.createElement(Text, { fw: 600, size: "h5New", color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5801
6515
|
}
|
|
5802
6516
|
return React__default.createElement(React__default.Fragment, null, generalInfo.name);
|
|
5803
6517
|
}
|
|
@@ -6127,4 +6841,4 @@ const formatSiteWideBanner = (sitewideBanner, type = 'home') => {
|
|
|
6127
6841
|
};
|
|
6128
6842
|
};
|
|
6129
6843
|
|
|
6130
|
-
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D,
|
|
6844
|
+
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 };
|