@hhgtech/hhg-components 1.27.98 → 1.27.99
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/_topic-b21cc467.js +6897 -0
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
- package/build/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
- package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
- package/build/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
- package/build/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
- package/build/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
- package/build/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
- package/build/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
- package/build/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
- package/build/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
- package/build/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
- package/build/components/molecules/premiumTopicSelect/index.d.ts +13 -0
- package/build/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
- package/build/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
- package/build/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
- package/build/components/molecules/sideBannerModal/index.d.ts +23 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-7fb000f5.js → core-992821b1.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/_topic-616fda4c.js +6897 -0
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
- package/build/esm/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
- package/build/esm/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
- package/build/esm/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
- package/build/esm/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
- package/build/esm/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
- package/build/esm/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
- package/build/esm/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
- package/build/esm/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
- package/build/esm/components/molecules/premiumTopicSelect/index.d.ts +13 -0
- package/build/esm/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
- package/build/esm/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
- package/build/esm/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
- package/build/esm/components/molecules/sideBannerModal/index.d.ts +23 -0
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-187952aa.js → core-85cc6a99.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-21089974.js +1 -0
- package/build/esm/{getSocialList-05e5f819.js → getSocialList-b3d002ba.js} +1 -1
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/useCategory.d.ts +14 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -1
- package/build/esm/i18n-values/hi-IN.js +1 -1
- package/build/esm/i18n-values/id-ID.js +1 -1
- package/build/esm/i18n-values/km-KH.js +1 -1
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n-values/my-MM.js +1 -1
- package/build/esm/i18n-values/th-TH.js +1 -1
- package/build/esm/i18n-values/tl-PH.js +1 -1
- package/build/esm/i18n-values/vi-VN.js +1 -1
- package/build/esm/i18n-values/vi-VN_MB.js +1 -1
- package/build/esm/i18n-values/zh-TW.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-c9cc7be1.js → index-15d7660d.js} +1 -1
- package/build/esm/{index-f339366f.js → index-2c0ef308.js} +1 -1
- package/build/esm/{index-cbaed28e.js → index-4c061256.js} +1 -1
- package/build/esm/{index-35490a0a.js → index-4d69e3a6.js} +2 -2
- package/build/esm/{index-30c165ba.js → index-4db4b3b2.js} +2 -2
- package/build/esm/{index-0556b3df.js → index-5968a9b1.js} +1 -1
- package/build/esm/index-634bfb22.js +1 -0
- package/build/esm/{index-71da6f92.js → index-656071c0.js} +1 -1
- package/build/esm/index-6f45922a.js +1 -0
- package/build/esm/index-6fc847b9.js +1 -0
- package/build/esm/{index-2344d3ad.js → index-7433ba52.js} +1 -1
- package/build/esm/index-8299b7e3.js +1 -0
- package/build/esm/index-890f07f7.js +1 -0
- package/build/esm/index-94b1edc9.js +1 -0
- package/build/esm/{index-3ed43f67.js → index-c0d7abdb.js} +1 -1
- package/build/esm/{index-3b17ef20.js → index-d3a5ab49.js} +1 -1
- package/build/esm/{index-210a893e.js → index-da6144c5.js} +1 -1
- package/build/esm/{index-39cce1ad.js → index-dae69259.js} +1 -1
- package/build/esm/{index-bfb5a151.js → index-de57ecd9.js} +1 -1
- package/build/esm/{index-c3121b12.js → index-fb88d784.js} +4 -4
- package/build/esm/index-fe39531b.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-6f51ff04.js → index.styled-76288999.js} +238 -238
- package/build/esm/{index.styled-5ef76fb6.js → index.styled-894b40c7.js} +6 -6
- package/build/esm/{index.styled-59da24b1.js → index.styled-a2b780e4.js} +1 -1
- package/build/esm/{index.styles-6a17b45b.js → index.styles-82f67895.js} +13 -13
- package/build/esm/interfaces/constants/index.d.ts +1 -0
- package/build/esm/interfaces/healthTools.d.ts +27 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +6 -6
- package/build/esm/premiumNewsletter/api/paths.d.ts +9 -0
- package/build/esm/premiumNewsletter/interfaces/constants.d.ts +2 -0
- package/build/esm/premiumNewsletter/interfaces/types.d.ts +30 -0
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-3f588609.js → routing-210e19d0.js} +1 -1
- package/build/esm/sso/api/paths.d.ts +3 -0
- package/build/esm/together/api/paths.d.ts +4 -0
- package/build/esm/together/api/utils.d.ts +6 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +2 -0
- package/build/esm/together.js +1 -1
- package/build/esm/types-0e6afe78.js +1 -0
- package/build/esm/{types-18f79c15.js → types-25c3154a.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-a175adb8.js +1 -0
- package/build/esm/{useHealthToolCache-954db9f5.js → useHealthToolCache-d4fccf30.js} +1 -1
- package/build/esm/{useRafState-cff05e58.js → useRafState-85f8c6df.js} +1 -1
- package/build/esm/{useTranslations-9882b03a.js → useTranslations-7b0b4bfb.js} +1 -1
- package/build/esm/{utils-dc56aa2f.js → utils-f23fae06.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-782fd9d5.js → getDynamicHealthTool-80f4de9f.js} +1 -1
- package/build/{getSocialList-54e928ea.js → getSocialList-71e1d219.js} +1 -1
- package/build/hooks/index.d.ts +1 -0
- package/build/hooks/useCategory.d.ts +14 -0
- package/build/hooks.js +1 -1
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -1
- package/build/i18n-values/hi-IN.js +1 -1
- package/build/i18n-values/id-ID.js +1 -1
- package/build/i18n-values/km-KH.js +1 -1
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n-values/my-MM.js +1 -1
- package/build/i18n-values/th-TH.js +1 -1
- package/build/i18n-values/tl-PH.js +1 -1
- package/build/i18n-values/vi-VN.js +1 -1
- package/build/i18n-values/vi-VN_MB.js +1 -1
- package/build/i18n-values/zh-TW.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-de5b72ee.js → index-0ce8e0b9.js} +1 -1
- package/build/{index-6319021b.js → index-0dade44f.js} +1 -1
- package/build/{index-fd895747.js → index-2a1223e3.js} +1 -1
- package/build/index-2ac25800.js +1 -0
- package/build/{index-31779e81.js → index-3614a1ab.js} +2 -2
- package/build/index-4b503825.js +1 -0
- package/build/index-4bdc08c4.js +1 -0
- package/build/{index-af436848.js → index-634e6cf3.js} +1 -1
- package/build/{index-145299d0.js → index-66174ebd.js} +1 -1
- package/build/index-66a9881f.js +1 -0
- package/build/{index-93b92b6f.js → index-68568f2e.js} +1 -1
- package/build/{index-93bcb3e5.js → index-791704b6.js} +1 -1
- package/build/{index-ec1b532a.js → index-8d1b7346.js} +1 -1
- package/build/{index-0479d15b.js → index-9401241f.js} +1 -1
- package/build/{index-246df4a6.js → index-9ea69966.js} +2 -2
- package/build/{index-63b49748.js → index-b3de5132.js} +1 -1
- package/build/{index-911ffc15.js → index-b8f6c5c9.js} +1 -1
- package/build/{index-3e50bee9.js → index-d1457a44.js} +1 -1
- package/build/{index-0d269680.js → index-db04774b.js} +1 -1
- package/build/{index-34ed10b7.js → index-def3eb4f.js} +1 -1
- package/build/index-fe18ea3b.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0309afe3.js → index.styled-402ee1f1.js} +238 -238
- package/build/{index.styled-fb8f60da.js → index.styled-c401faed.js} +1 -1
- package/build/{index.styled-4a0688a2.js → index.styled-c659adf9.js} +5 -5
- package/build/{index.styles-a552ab61.js → index.styles-115763fd.js} +22 -22
- package/build/interfaces/constants/index.d.ts +1 -0
- package/build/interfaces/healthTools.d.ts +27 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/premiumNewsletter/api/paths.d.ts +9 -0
- package/build/premiumNewsletter/interfaces/constants.d.ts +2 -0
- package/build/premiumNewsletter/interfaces/types.d.ts +30 -0
- package/build/pwg.js +1 -1
- package/build/{routing-499baa6c.js → routing-e973d1a5.js} +1 -1
- package/build/sso/api/paths.d.ts +3 -0
- package/build/together/api/paths.d.ts +4 -0
- package/build/together/api/utils.d.ts +6 -0
- package/build/together/togetherComponentGlobalContext.d.ts +2 -0
- package/build/together.js +1 -1
- package/build/{types-dd38e3cb.js → types-25b9dcb3.js} +1 -1
- package/build/types-64ce4439.js +1 -0
- package/build/types.js +1 -1
- package/build/useCategory-5f321f01.js +1 -0
- package/build/{useHealthToolCache-f00d0cc8.js → useHealthToolCache-774a87a2.js} +1 -1
- package/build/{useRafState-f6f6f8d3.js → useRafState-a286772a.js} +1 -1
- package/build/{useTranslations-c236ab74.js → useTranslations-3f02a526.js} +1 -1
- package/build/{utils-a550efa1.js → utils-b83c9a04.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/dataTransform-24bedead.js +0 -1
- package/build/esm/dataTransform-e8d64748.js +0 -1
- package/build/esm/fixedBottomAdBlock-83b64030.js +0 -1
- package/build/esm/getDynamicHealthTool-4b3518ba.js +0 -1
- package/build/esm/index-07225642.js +0 -1
- package/build/esm/index-12373cc2.js +0 -1
- package/build/esm/index-3411ef1e.js +0 -3820
- package/build/esm/index-4c9963db.js +0 -1
- package/build/esm/index-590e02cc.js +0 -1
- package/build/esm/index-d38342fe.js +0 -1
- package/build/esm/index-ff1cf893.js +0 -1
- package/build/esm/types-0ec3c0cc.js +0 -3078
- package/build/fixedBottomAdBlock-9a91ff71.js +0 -1
- package/build/index-0847f1e2.js +0 -1
- package/build/index-23aaf78a.js +0 -1
- package/build/index-3be097bd.js +0 -1
- package/build/index-49507d09.js +0 -3820
- package/build/index-5a831a3a.js +0 -1
- package/build/types-6e6d01ea.js +0 -3078
- /package/build/{BMI_BOYS.percentile.monthly-b29b7d25.js → BMI_BOYS.percentile.monthly-c1dbab88.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-305e75a2.js → BMI_BOYS.percentile.weekly-539f4089.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-81e652c5.js → BMI_BOYS.percentile.yearly-3d737312.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-eda3bbad.js → BMI_BOYS.zscore.monthly-8d104361.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-76c0a736.js → BMI_BOYS.zscore.weekly-7fed0e1e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b38a7013.js → BMI_BOYS.zscore.yearly-ada0c66a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-524fac60.js → BMI_GIRLS.percentile.monthly-72df6a2c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b4937b23.js → BMI_GIRLS.percentile.weekly-b717b845.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-2931b160.js → BMI_GIRLS.percentile.yearly-e2319817.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-08095452.js → BMI_GIRLS.zscore.monthly-7b0a8452.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6add00a5.js → BMI_GIRLS.zscore.weekly-10fa981a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4ffbc1ea.js → BMI_GIRLS.zscore.yearly-86482964.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-94f9d4e1.js → HEAD CIRCUM_BOYS.percentile.monthly-c87d51e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-55fa6aaf.js → HEAD CIRCUM_BOYS.percentile.weekly-cc1d1a22.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1afc66c7.js → HEAD CIRCUM_BOYS.percentile.yearly-76cc4d8a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dec5b6fb.js → HEAD CIRCUM_BOYS.zscore.monthly-18a9a090.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0e94e407.js → HEAD CIRCUM_BOYS.zscore.weekly-312a883d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-809379e9.js → HEAD CIRCUM_BOYS.zscore.yearly-c918f331.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-5f97e918.js → HEAD CIRCUM_GIRLS.percentile.monthly-0a9191d1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c003a12e.js → HEAD CIRCUM_GIRLS.percentile.weekly-18442675.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6925a91b.js → HEAD CIRCUM_GIRLS.percentile.yearly-691ccbf9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e828c97e.js → HEAD CIRCUM_GIRLS.zscore.monthly-c96d67dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-df2219b7.js → HEAD CIRCUM_GIRLS.zscore.weekly-eed0f3ee.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9f871f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-2e6de873.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5b221fa5.js → HEIGHT_BOYS.percentile.monthly-b8a74983.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ec2f3579.js → HEIGHT_BOYS.percentile.weekly-944fbdd3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-1c73bf05.js → HEIGHT_BOYS.percentile.yearly-c4541aa4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d4ea6134.js → HEIGHT_BOYS.zscore.monthly-fa19c71b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-928a3714.js → HEIGHT_BOYS.zscore.weekly-0a460484.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-07b624f0.js → HEIGHT_BOYS.zscore.yearly-16dbb592.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-82357f73.js → HEIGHT_GIRLS.percentile.monthly-c3a6a864.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-145738ed.js → HEIGHT_GIRLS.percentile.weekly-05a915e9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-26912a21.js → HEIGHT_GIRLS.percentile.yearly-9942185e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0ae26540.js → HEIGHT_GIRLS.zscore.monthly-011e55d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ce673a65.js → HEIGHT_GIRLS.zscore.weekly-ae0032a1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-41fd5ca1.js → HEIGHT_GIRLS.zscore.yearly-9515029f.js} +0 -0
- /package/build/{Onboarding-ba71adc3.js → Onboarding-cfad3b99.js} +0 -0
- /package/build/{Visible-354ba861.js → Visible-99c68f0f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-505120ee.js → WEIGHT_BOYS.percentile.monthly-2e0886ff.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-3565b0fe.js → WEIGHT_BOYS.percentile.weekly-eaa5a8dd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-35450c1a.js → WEIGHT_BOYS.percentile.yearly-c9594485.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6c3a51bd.js → WEIGHT_BOYS.zscore.monthly-e0379a2e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-627d184d.js → WEIGHT_BOYS.zscore.weekly-f74730d3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-86ea502b.js → WEIGHT_BOYS.zscore.yearly-a0b2bc51.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9e45cb97.js → WEIGHT_GIRLS.percentile.monthly-f24efff6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-70f01638.js → WEIGHT_GIRLS.percentile.weekly-3ad4f689.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ea6d829c.js → WEIGHT_GIRLS.percentile.yearly-7cf6c50e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-895f6903.js → WEIGHT_GIRLS.zscore.monthly-e3cb6ae2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-4314562e.js → WEIGHT_GIRLS.zscore.weekly-a1fc7740.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-cedaf71a.js → WEIGHT_GIRLS.zscore.yearly-e83afc07.js} +0 -0
- /package/build/{constants-1506b462.js → constants-9c242146.js} +0 -0
- /package/build/{cookieHelper-203db1c2.js → cookieHelper-6203f88a.js} +0 -0
- /package/build/{dataTransform-d21c13a7.js → dataTransform-f2bc6834.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f6ec5d22.js → BMI_BOYS.percentile.monthly-0d5ad19b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-6ab2141c.js → BMI_BOYS.percentile.weekly-13c1ca9b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-4ea5c0ef.js → BMI_BOYS.percentile.yearly-12ac07ce.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-11d4d7a0.js → BMI_BOYS.zscore.monthly-e4c1507f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-74a9b9dd.js → BMI_BOYS.zscore.weekly-f4f793ea.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7f895cc8.js → BMI_BOYS.zscore.yearly-8119ce03.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-6ac9c53a.js → BMI_GIRLS.percentile.monthly-acca1a4a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-4578e686.js → BMI_GIRLS.percentile.weekly-5ef50131.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c02b901c.js → BMI_GIRLS.percentile.yearly-1443032d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-33620eb8.js → BMI_GIRLS.zscore.monthly-1bf65223.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-7de9ce2e.js → BMI_GIRLS.zscore.weekly-801084c2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-189ebddf.js → BMI_GIRLS.zscore.yearly-9115acc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c9939d53.js → HEAD CIRCUM_BOYS.percentile.monthly-1bf37859.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c01450ec.js → HEAD CIRCUM_BOYS.percentile.weekly-e7738c0f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-63e161ca.js → HEAD CIRCUM_BOYS.percentile.yearly-a3fc108f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ef0f25f1.js → HEAD CIRCUM_BOYS.zscore.monthly-e6407117.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e9967927.js → HEAD CIRCUM_BOYS.zscore.weekly-feee7729.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1c9f2bd1.js → HEAD CIRCUM_BOYS.zscore.yearly-d6a14c6b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5a0d2846.js → HEAD CIRCUM_GIRLS.percentile.monthly-7730cf69.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0e08eee3.js → HEAD CIRCUM_GIRLS.percentile.weekly-818f5e5c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8c2c00f0.js → HEAD CIRCUM_GIRLS.percentile.yearly-e2fdd121.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-29ef0b07.js → HEAD CIRCUM_GIRLS.zscore.monthly-646e4faf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-248696b8.js → HEAD CIRCUM_GIRLS.zscore.weekly-56af23ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b91b431f.js → HEAD CIRCUM_GIRLS.zscore.yearly-078974f7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1b553b9e.js → HEIGHT_BOYS.percentile.monthly-bee990fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8b209bc6.js → HEIGHT_BOYS.percentile.weekly-aac39bfa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-cfa159e3.js → HEIGHT_BOYS.percentile.yearly-32b4134f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8c083cd1.js → HEIGHT_BOYS.zscore.monthly-5778778e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4652d599.js → HEIGHT_BOYS.zscore.weekly-83a94045.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4afbfbe2.js → HEIGHT_BOYS.zscore.yearly-de0adda9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1934b785.js → HEIGHT_GIRLS.percentile.monthly-5837e957.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-eb1c046d.js → HEIGHT_GIRLS.percentile.weekly-1b5acb53.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-49116442.js → HEIGHT_GIRLS.percentile.yearly-6e9c04aa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-530eaaea.js → HEIGHT_GIRLS.zscore.monthly-a67d2e19.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-6d36ad4b.js → HEIGHT_GIRLS.zscore.weekly-4e941b69.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9f6bf4c5.js → HEIGHT_GIRLS.zscore.yearly-99bedd54.js} +0 -0
- /package/build/esm/{Onboarding-281862b8.js → Onboarding-c0cfac18.js} +0 -0
- /package/build/esm/{Visible-79002b2e.js → Visible-c2e42d8a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ce064184.js → WEIGHT_BOYS.percentile.monthly-6037d7a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e313ef04.js → WEIGHT_BOYS.percentile.weekly-c15e5fe8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f72c9207.js → WEIGHT_BOYS.percentile.yearly-28119750.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-73375ec8.js → WEIGHT_BOYS.zscore.monthly-70f9cb8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3f1c9e1a.js → WEIGHT_BOYS.zscore.weekly-b51300d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-baa65e16.js → WEIGHT_BOYS.zscore.yearly-94939ebc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-51f563ac.js → WEIGHT_GIRLS.percentile.monthly-03bc9790.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-18abae85.js → WEIGHT_GIRLS.percentile.weekly-0edda13d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8d9957c8.js → WEIGHT_GIRLS.percentile.yearly-135c174a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b4eab87f.js → WEIGHT_GIRLS.zscore.monthly-6e2701b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-50dbc44f.js → WEIGHT_GIRLS.zscore.weekly-b32a18db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d21a7799.js → WEIGHT_GIRLS.zscore.yearly-c8f8b146.js} +0 -0
- /package/build/esm/{constants-015643bc.js → constants-92019619.js} +0 -0
- /package/build/esm/{cookieHelper-329ff362.js → cookieHelper-4e12ad4b.js} +0 -0
- /package/build/esm/{dataTransform-cc7e9e82.js → dataTransform-e5408977.js} +0 -0
- /package/build/esm/{index-73927836.js → index-7a0ab473.js} +0 -0
- /package/build/esm/{isProduction-cd379466.js → isProduction-b2d88eb1.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2f80cedc.js → localizeNumberFormat-ea835d1b.js} +0 -0
- /package/build/esm/{normalizeLink-6e8953be.js → normalizeLink-3bc92ac0.js} +0 -0
- /package/build/esm/{number-6cd7cd8e.js → number-9f092e4b.js} +0 -0
- /package/build/esm/{paths-54287a83.js → paths-24013383.js} +0 -0
- /package/build/esm/{screenSizeContext-b0b4af70.js → screenSizeContext-4855603d.js} +0 -0
- /package/build/esm/{theme-054cfe5e.js → theme-05390e1a.js} +0 -0
- /package/build/esm/{translationsContext-b47c4665.js → translationsContext-9d561788.js} +0 -0
- /package/build/esm/{tslib.es6-d74bc98c.js → tslib.es6-a59ac7f2.js} +0 -0
- /package/build/esm/{types-cb822d75.js → types-f88531b2.js} +0 -0
- /package/build/esm/{useIsInit-eac04318.js → useIsInit-5ace6ff2.js} +0 -0
- /package/build/esm/{useOutsideClick-e85b99fd.js → useOutsideClick-b2f40fe8.js} +0 -0
- /package/build/esm/{useScrollbarSize-76c280fd.js → useScrollbarSize-c8dc6432.js} +0 -0
- /package/build/esm/{useUniqueId-2fd9d44b.js → useUniqueId-6cb9ddef.js} +0 -0
- /package/build/{index-d7610fbd.js → index-6b40de15.js} +0 -0
- /package/build/{isProduction-0b37ac3b.js → isProduction-b32e7dc2.js} +0 -0
- /package/build/{localizeNumberFormat-5afc54fc.js → localizeNumberFormat-7bc188f6.js} +0 -0
- /package/build/{normalizeLink-102f5871.js → normalizeLink-5e6d567b.js} +0 -0
- /package/build/{number-799bbd0f.js → number-311438cc.js} +0 -0
- /package/build/{paths-a8f7657b.js → paths-8700fdcd.js} +0 -0
- /package/build/{screenSizeContext-6a5a4c05.js → screenSizeContext-19c4826a.js} +0 -0
- /package/build/{theme-e648ff92.js → theme-30b54bf9.js} +0 -0
- /package/build/{translationsContext-6717baca.js → translationsContext-1ff6fee5.js} +0 -0
- /package/build/{tslib.es6-705eff5c.js → tslib.es6-b6b32e47.js} +0 -0
- /package/build/{types-e93fdd24.js → types-af3ec16f.js} +0 -0
- /package/build/{useIsInit-e2c5804b.js → useIsInit-3403ada4.js} +0 -0
- /package/build/{useOutsideClick-05b182eb.js → useOutsideClick-6917a729.js} +0 -0
- /package/build/{useScrollbarSize-06f015e4.js → useScrollbarSize-45efedb6.js} +0 -0
- /package/build/{useUniqueId-c0ab995a.js → useUniqueId-b9c05ea1.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("react"),t=require("./screenSizeContext-19c4826a.js"),i=require("styled-components"),o=require("./tslib.es6-b6b32e47.js"),a=require("./theme-30b54bf9.js"),r=require("./index.styles-115763fd.js"),n=require("./useTranslations-3f02a526.js"),l=require("./gAssets.js"),d=require("./index-2a1223e3.js"),s=require("./routing-e973d1a5.js"),p=require("dayjs"),u=require("dayjs/plugin/relativeTime");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=m(e),g=m(i),x=m(p),f=m(u);const h=g.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
&[data-type='form'] {
|
|
35
35
|
width: 496px;
|
|
36
36
|
height: 548px;
|
|
37
|
-
${
|
|
37
|
+
${t.MediaQueries.mbDown} {
|
|
38
38
|
width: 340px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&[data-type='confirm'] {
|
|
43
|
-
${
|
|
43
|
+
${t.MediaQueries.mbDown} {
|
|
44
44
|
width: calc(100% - 32px);
|
|
45
45
|
}
|
|
46
|
-
${
|
|
46
|
+
${t.MediaQueries.mbUp} {
|
|
47
47
|
width: 100%;
|
|
48
48
|
max-width: 407px;
|
|
49
49
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
border-radius: 50%;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
`,
|
|
71
|
+
`,v=g.default.div`
|
|
72
72
|
position: fixed;
|
|
73
73
|
z-index: 110;
|
|
74
74
|
top: 0;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
&[data-open='false'] {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
|
-
`,b=m.default.a`
|
|
84
|
+
`,y=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},b=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},w=e=>void 0!==e&&e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:null,_=e=>{if(!e)return{};const{button_text:t,button_url:i,status:a,banner_desktop:r,banner_mobile:n}=e,l=o.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:t||"",buttonUrl:i||"",status:Boolean(a),bannerDesktop:r||"",bannerMobile:n||""},l)},$={EN:"English",FIL:"Filipino"},k=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((t=>({label:t.toUpperCase()in $?$[t.toUpperCase()]:t.toUpperCase(),value:"/"===e[t].slice(-1)?e[t]:`${e[t]}/`}))),C=e=>{var t,i,o,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?M(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:y(e.author),reviewer:e.reviewed_by&&y(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:S(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.author),editor:S(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.editor),expert:S(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:S(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:D(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(D),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:b(e.expert),metaTag:e.meta_tag||null,spotlight:w(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:k(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:D(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:y(e.edit_last),subscriptionBanner:_(e.subscription_banner)}:{}},S=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,M=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},B=e=>({postTitle:e.post_title,permalink:e.permalink}),D=e=>{var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?M(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>D(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?B(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>Q(e))):null}:{}},Q=e=>({title:e.title,content:e.content}),z=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},I=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},T=e=>{var t,i,o,a;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(a=e.community)||void 0===a?void 0:a.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},A=e=>e?{answer:null==e?void 0:e.answer.map(P),expert:null==e?void 0:e.expert}:{},E=e=>{var t,i,o,a,r,n,l,d,s,p,u,m,c,g,x,f,h,v,y,b,w;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((t=>{var i,o,a,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(a=e.community)||void 0===a?void 0:a.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(a=e.community)||void 0===a?void 0:a.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(n=e.user)||void 0===n?void 0:n.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(p=e.user)||void 0===p?void 0:p.avatar)||"",role:(null===(u=e.user)||void 0===u?void 0:u.role)?null===(c=null===(m=e.user)||void 0===m?void 0:m.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(g=e.user)||void 0===g?void 0:g.type)||"",partnerId:(null===(x=e.user)||void 0===x?void 0:x.partner_id)?String(null===(f=e.user)||void 0===f?void 0:f.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(v=e.user)||void 0===v?void 0:v.doctor_id)?String(null===(y=e.user)||void 0===y?void 0:y.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:A(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},P=e=>{var t,i,o,a,r,n,l,d,s,p,u,m,c,g,x,f,h,v,y,b,w,_,$,k,C,S,M,B,D,Q,z,I;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(P):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(a=e.user)||void 0===a?void 0:a.role)?null===(n=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===n?void 0:n.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(p=e.user)||void 0===p?void 0:p.partner_id)?String(null===(u=e.user)||void 0===u?void 0:u.partner_id):"",title:(null===(m=e.user)||void 0===m?void 0:m.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(g=e.user)||void 0===g?void 0:g.doctor_id):"",hospitalId:(null===(x=e.user)||void 0===x?void 0:x.hospital_id)?String(null===(f=e.user)||void 0===f?void 0:f.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(v=e.mentioned)||void 0===v?void 0:v.user_name)||"",name:(null===(y=e.mentioned)||void 0===y?void 0:y.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(_=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===_?void 0:_.toLowerCase():"",avatar:(null===($=e.mentioned)||void 0===$?void 0:$.avatar)||"",type:(null===(k=e.mentioned)||void 0===k?void 0:k.type)||"",email:(null===(C=e.mentioned)||void 0===C?void 0:C.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(M=e.mentioned)||void 0===M?void 0:M.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(Q=e.mentioned)||void 0===Q?void 0:Q.hospital_id)?String(null===(z=e.mentioned)||void 0===z?void 0:z.hospital_id):"",title:(null===(I=e.mentioned)||void 0===I?void 0:I.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},j=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var U=Object.freeze({__proto__:null,formatAuthor:y,formatArticleExpert:b,formatSpotlightsSummary:w,TRANSLATE_LANGUAGES:$,formatTranslateOptions:k,formatArticle:C,formatUserProfile:S,formatBMIResult:e=>{var t,i,o,a,r,n,l,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(a=null==e?void 0:e.suggestion)&&void 0!==a?a:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(n=null==e?void 0:e.disclaimer)&&void 0!==n?n:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:M,formatReviewedCategory:B,formatCategory:D,formatCategoryApi:e=>e?{categoryInfo:D(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(C),subCategories:(e.data.sub_categories||[]).map(D)}:{},formatFaqsCategory:Q,formatHealthTool:z,formatHealthToolTypeCategory:e=>{var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((e=>z(e))))&&void 0!==i?i:[]}:{}},formatCommunity:I,formatTopic:T,formatExpertAnswer:A,formatPost:E,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:P,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,t)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?S(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:j,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?S(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:j(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});const N=g.default.a`
|
|
85
85
|
display: inline-flex;
|
|
86
86
|
position: relative;
|
|
87
87
|
flex-direction: row;
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
text-decoration: none;
|
|
101
101
|
|
|
102
102
|
cursor: pointer;
|
|
103
|
-
`,
|
|
103
|
+
`,O=g.default.div`
|
|
104
104
|
position: relative;
|
|
105
105
|
display: inline-block;
|
|
106
|
-
`,
|
|
106
|
+
`,L=g.default.div`
|
|
107
107
|
position: relative;
|
|
108
|
-
|
|
108
|
+
`,R=g.default.div`
|
|
109
109
|
position: absolute;
|
|
110
110
|
z-index: 21;
|
|
111
111
|
top: 100%;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
`,
|
|
136
|
+
`,G=g.default.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
height: 40px;
|
|
139
139
|
align-items: center;
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
&[data-selected='false'] {
|
|
151
151
|
background-color: ${e=>e.theme.colors.gray100};
|
|
152
152
|
}
|
|
153
|
-
`,
|
|
153
|
+
`,H=g.default.div`
|
|
154
154
|
position: fixed;
|
|
155
155
|
z-index: 20;
|
|
156
156
|
top: 0;
|
|
@@ -158,9 +158,42 @@
|
|
|
158
158
|
width: 100%;
|
|
159
159
|
height: 100%;
|
|
160
160
|
cursor: default;
|
|
161
|
-
`,
|
|
161
|
+
`,q=g.default.div`
|
|
162
|
+
width: ${e=>e.size||40}px;
|
|
163
|
+
height: ${e=>e.size||40}px;
|
|
164
|
+
flex-shrink: 0;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
|
|
167
|
+
img {
|
|
168
|
+
border-radius: 50%;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.avatar {
|
|
172
|
+
width: 100%;
|
|
173
|
+
height: 100%;
|
|
174
|
+
object-fit: cover;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.avatar-default {
|
|
178
|
+
display: flex;
|
|
179
|
+
align-items: center;
|
|
180
|
+
justify-content: center;
|
|
181
|
+
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
182
|
+
border-radius: 50%;
|
|
183
|
+
color: white;
|
|
184
|
+
font-size: 1em;
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
line-height: 1;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&[data-is-marrybaby='true'] {
|
|
190
|
+
.avatar-default {
|
|
191
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
`,W=t=>{var{className:i,isMarryBaby:a,style:n,avatar:l,username:d,size:s}=t,p=o.__rest(t,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:u}}}=e.useContext(r.TogetherComponentGlobalContext),m="boolean"==typeof a?a:u,[g,x]=e.useState(!1);return e.useEffect((()=>{const e=new Image;e.onerror=()=>{x(!0)},e.src=l}),[]),c.default.createElement(q,Object.assign({"data-is-marrybaby":m,className:i,style:n,size:s},p),l&&!g?c.default.createElement("img",{loading:"lazy",src:l,className:"avatar",alt:"avatar",onError:()=>{x(!0)}}):c.default.createElement("div",{className:"avatar avatar-default"},d&&(null==d?void 0:d.length)>0?d[0].toUpperCase():"A"))},F=g.default.div`
|
|
162
195
|
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
163
|
-
`,
|
|
196
|
+
`,V=g.default.div`
|
|
164
197
|
position: absolute;
|
|
165
198
|
right: 0;
|
|
166
199
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -192,13 +225,13 @@
|
|
|
192
225
|
|
|
193
226
|
&[data-type='welcome'] {
|
|
194
227
|
position: fixed;
|
|
195
|
-
${
|
|
228
|
+
${t.MediaQueries.mbDown} {
|
|
196
229
|
width: 100%;
|
|
197
230
|
height: 424px;
|
|
198
231
|
bottom: 0;
|
|
199
232
|
top: unset;
|
|
200
233
|
}
|
|
201
|
-
${
|
|
234
|
+
${t.MediaQueries.mbUp} {
|
|
202
235
|
top: 50%;
|
|
203
236
|
left: 50%;
|
|
204
237
|
transform: translate(-50%, -50%);
|
|
@@ -210,14 +243,14 @@
|
|
|
210
243
|
|
|
211
244
|
&[data-type='due-date'] {
|
|
212
245
|
position: fixed;
|
|
213
|
-
${
|
|
246
|
+
${t.MediaQueries.mbDown} {
|
|
214
247
|
width: 100%;
|
|
215
248
|
height: 100%;
|
|
216
249
|
overflow-y: scroll;
|
|
217
250
|
bottom: 0;
|
|
218
251
|
top: unset;
|
|
219
252
|
}
|
|
220
|
-
${
|
|
253
|
+
${t.MediaQueries.mbUp} {
|
|
221
254
|
top: 50%;
|
|
222
255
|
left: 50%;
|
|
223
256
|
transform: translate(-50%, -50%);
|
|
@@ -231,7 +264,7 @@
|
|
|
231
264
|
.popup-content {
|
|
232
265
|
z-index: 111;
|
|
233
266
|
height: 100%;
|
|
234
|
-
${
|
|
267
|
+
${t.MediaQueries.mbDown} {
|
|
235
268
|
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
236
269
|
}
|
|
237
270
|
overflow: auto;
|
|
@@ -249,7 +282,7 @@
|
|
|
249
282
|
|
|
250
283
|
&[data-type='profile'] {
|
|
251
284
|
/* min-height: 415px; */
|
|
252
|
-
${
|
|
285
|
+
${t.MediaQueries.mbUp} {
|
|
253
286
|
border-radius: ${e=>e.theme.borderRadius};
|
|
254
287
|
box-shadow: 0px 4px 8px
|
|
255
288
|
${e=>e.theme.colors.gray200};
|
|
@@ -266,13 +299,13 @@
|
|
|
266
299
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
267
300
|
}
|
|
268
301
|
}
|
|
269
|
-
${
|
|
302
|
+
${t.MediaQueries.mbDown} {
|
|
270
303
|
position: fixed;
|
|
271
304
|
left: 0;
|
|
272
305
|
width: 100%;
|
|
273
|
-
border-top: 1px solid ${
|
|
306
|
+
border-top: 1px solid ${a.theme.colors.neutral100};
|
|
274
307
|
}
|
|
275
|
-
${
|
|
308
|
+
${t.MediaQueries.mbUp} {
|
|
276
309
|
width: 368px;
|
|
277
310
|
}
|
|
278
311
|
}
|
|
@@ -291,7 +324,7 @@
|
|
|
291
324
|
border-radius: 50%;
|
|
292
325
|
}
|
|
293
326
|
}
|
|
294
|
-
`,
|
|
327
|
+
`,Y="hhgcomp-navprofilebutton-popup",Z=r.getDefaultClassWrapper(V,Y),K=g.default.div`
|
|
295
328
|
position: fixed;
|
|
296
329
|
z-index: 150;
|
|
297
330
|
top: var(--header-bottom, 69px);
|
|
@@ -300,7 +333,7 @@
|
|
|
300
333
|
height: 100%;
|
|
301
334
|
align-items: center;
|
|
302
335
|
|
|
303
|
-
${
|
|
336
|
+
${t.MediaQueries.mbUp} {
|
|
304
337
|
background-color: transparent;
|
|
305
338
|
&[data-type='welcome'] {
|
|
306
339
|
background: rgba(38, 38, 38, 0.3);
|
|
@@ -310,7 +343,7 @@
|
|
|
310
343
|
}
|
|
311
344
|
}
|
|
312
345
|
|
|
313
|
-
${
|
|
346
|
+
${t.MediaQueries.mbDown} {
|
|
314
347
|
background: rgba(38, 38, 38, 0.3);
|
|
315
348
|
}
|
|
316
349
|
|
|
@@ -321,7 +354,7 @@
|
|
|
321
354
|
&[data-open='false'] {
|
|
322
355
|
display: none;
|
|
323
356
|
}
|
|
324
|
-
`,
|
|
357
|
+
`,X="hhgcomp-navprofilebutton-popupwrapper";r.getDefaultClassWrapper(K,X);const J=g.default.div`
|
|
325
358
|
width: 40px;
|
|
326
359
|
height: 40px;
|
|
327
360
|
cursor: pointer;
|
|
@@ -346,7 +379,7 @@
|
|
|
346
379
|
font-size: 20px;
|
|
347
380
|
font-weight: bold;
|
|
348
381
|
}
|
|
349
|
-
`,
|
|
382
|
+
`,ee=g.default.a`
|
|
350
383
|
display: inline-flex;
|
|
351
384
|
position: relative;
|
|
352
385
|
width: 40px;
|
|
@@ -368,50 +401,50 @@
|
|
|
368
401
|
.user-avatar {
|
|
369
402
|
display: none;
|
|
370
403
|
}
|
|
371
|
-
.${
|
|
404
|
+
.${Y} {
|
|
372
405
|
z-index: 200;
|
|
373
406
|
top: 120%;
|
|
374
407
|
opacity: 1;
|
|
375
408
|
visibility: visible;
|
|
376
409
|
display: initial;
|
|
377
410
|
&[data-type='profile'] {
|
|
378
|
-
${
|
|
411
|
+
${t.MediaQueries.mbDown} {
|
|
379
412
|
top: 100%;
|
|
380
413
|
}
|
|
381
414
|
}
|
|
382
415
|
}
|
|
383
|
-
.${
|
|
416
|
+
.${X} {
|
|
384
417
|
display: initial;
|
|
385
418
|
}
|
|
386
419
|
}
|
|
387
|
-
`,
|
|
420
|
+
`,te=g.default.a`
|
|
388
421
|
display: inline-flex;
|
|
389
422
|
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
390
423
|
padding-left: 12px;
|
|
391
424
|
padding-right: 12px;
|
|
392
425
|
}
|
|
393
426
|
.mobile-only {
|
|
394
|
-
${
|
|
427
|
+
${t.MediaQueries.mbUp} {
|
|
395
428
|
display: none;
|
|
396
429
|
}
|
|
397
430
|
}
|
|
398
431
|
.login-btn {
|
|
399
432
|
display: none;
|
|
400
|
-
${
|
|
433
|
+
${t.MediaQueries.mbUp} {
|
|
401
434
|
display: block;
|
|
402
435
|
}
|
|
403
436
|
}
|
|
404
|
-
`;var
|
|
437
|
+
`;var ie="fVk18fq",oe="v8TCvUb",ae="mx7T4V3";const re={myHealth:a.theme.mbColors.toneYellow,myCommunity:a.theme.mbColors.toneBlue,mySaved:a.theme.mbColors.toneGreen},ne={helloSites:{myBooking:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},le=99,de=300,se=400,pe=210,ue=g.default.div`
|
|
405
438
|
background-color: white;
|
|
406
439
|
text-align: center;
|
|
407
440
|
.cancle-img {
|
|
408
441
|
margin-top: 24px;
|
|
409
|
-
${
|
|
442
|
+
${t.MediaQueries.mbDown} {
|
|
410
443
|
width: 80px;
|
|
411
444
|
height: 80px;
|
|
412
445
|
}
|
|
413
446
|
|
|
414
|
-
${
|
|
447
|
+
${t.MediaQueries.mbUp} {
|
|
415
448
|
width: 100px;
|
|
416
449
|
height: 100px;
|
|
417
450
|
}
|
|
@@ -422,12 +455,12 @@
|
|
|
422
455
|
color: ${e=>e.theme.colors.gray800};
|
|
423
456
|
font-style: normal;
|
|
424
457
|
font-weight: bold;
|
|
425
|
-
${
|
|
458
|
+
${t.MediaQueries.mbDown} {
|
|
426
459
|
font-size: 24px;
|
|
427
460
|
line-height: 32px;
|
|
428
461
|
}
|
|
429
462
|
|
|
430
|
-
${
|
|
463
|
+
${t.MediaQueries.mbUp} {
|
|
431
464
|
font-size: 32px;
|
|
432
465
|
line-height: 42px;
|
|
433
466
|
}
|
|
@@ -438,24 +471,24 @@
|
|
|
438
471
|
color: ${e=>e.theme.colors.gray600};
|
|
439
472
|
font-style: normal;
|
|
440
473
|
font-weight: normal;
|
|
441
|
-
${
|
|
474
|
+
${t.MediaQueries.mbDown} {
|
|
442
475
|
font-size: 16px;
|
|
443
476
|
line-height: 24px;
|
|
444
477
|
}
|
|
445
478
|
|
|
446
|
-
${
|
|
479
|
+
${t.MediaQueries.mbUp} {
|
|
447
480
|
font-size: 16px;
|
|
448
481
|
line-height: 24px;
|
|
449
482
|
}
|
|
450
483
|
}
|
|
451
|
-
`,
|
|
484
|
+
`,me=g.default.div`
|
|
452
485
|
display: flex;
|
|
453
486
|
|
|
454
|
-
${
|
|
487
|
+
${t.MediaQueries.mbDown} {
|
|
455
488
|
margin-top: 24px;
|
|
456
489
|
}
|
|
457
490
|
|
|
458
|
-
${
|
|
491
|
+
${t.MediaQueries.mbUp} {
|
|
459
492
|
margin-top: 32px;
|
|
460
493
|
}
|
|
461
494
|
justify-content: space-around;
|
|
@@ -465,7 +498,7 @@
|
|
|
465
498
|
}
|
|
466
499
|
|
|
467
500
|
${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
|
|
468
|
-
`,
|
|
501
|
+
`,ce=c.default.createContext({}),ge=g.default.div`
|
|
469
502
|
position: fixed;
|
|
470
503
|
z-index: 201;
|
|
471
504
|
top: calc(100% + 1px); // border 1px
|
|
@@ -481,7 +514,7 @@
|
|
|
481
514
|
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
482
515
|
position: unset;
|
|
483
516
|
}
|
|
484
|
-
`;
|
|
517
|
+
`;g.default.div`
|
|
485
518
|
position: fixed;
|
|
486
519
|
bottom: 0;
|
|
487
520
|
left: 0;
|
|
@@ -504,7 +537,7 @@
|
|
|
504
537
|
height: 48px;
|
|
505
538
|
}
|
|
506
539
|
}
|
|
507
|
-
`,
|
|
540
|
+
`,g.default.div`
|
|
508
541
|
display: flex;
|
|
509
542
|
|
|
510
543
|
&[data-card-array-no-margin-style='true'] {
|
|
@@ -525,11 +558,11 @@
|
|
|
525
558
|
margin: 0 4px;
|
|
526
559
|
}
|
|
527
560
|
}
|
|
528
|
-
`,
|
|
561
|
+
`,g.default.div`
|
|
529
562
|
margin-top: 64px;
|
|
530
|
-
`,
|
|
563
|
+
`,g.default.div`
|
|
531
564
|
padding: 24px 0;
|
|
532
|
-
`,
|
|
565
|
+
`,g.default.div`
|
|
533
566
|
display: flex;
|
|
534
567
|
width: 100%;
|
|
535
568
|
align-items: center;
|
|
@@ -538,8 +571,8 @@
|
|
|
538
571
|
& > div:first-child {
|
|
539
572
|
margin-right: 8px;
|
|
540
573
|
}
|
|
541
|
-
`,
|
|
542
|
-
z-index: ${
|
|
574
|
+
`,g.default.div`
|
|
575
|
+
z-index: ${pe};
|
|
543
576
|
align-items: center;
|
|
544
577
|
|
|
545
578
|
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
@@ -547,14 +580,14 @@
|
|
|
547
580
|
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
548
581
|
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
549
582
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
550
|
-
`,
|
|
583
|
+
`,g.default.div`
|
|
551
584
|
position: relative;
|
|
552
585
|
display: flex;
|
|
553
586
|
flex-wrap: wrap;
|
|
554
587
|
align-items: flex-start;
|
|
555
588
|
justify-content: flex-start;
|
|
556
589
|
padding: 48px 0;
|
|
557
|
-
`,
|
|
590
|
+
`,g.default.div`
|
|
558
591
|
position: relative;
|
|
559
592
|
display: flex;
|
|
560
593
|
flex-wrap: wrap;
|
|
@@ -563,7 +596,7 @@
|
|
|
563
596
|
&[data-disabled-divider='false'] {
|
|
564
597
|
border-right: 1px solid #e4e8ec;
|
|
565
598
|
}
|
|
566
|
-
`,
|
|
599
|
+
`,g.default.div`
|
|
567
600
|
width: 20%;
|
|
568
601
|
padding-right: 16px;
|
|
569
602
|
margin-bottom: 12px;
|
|
@@ -591,9 +624,9 @@
|
|
|
591
624
|
margin-right: 16px;
|
|
592
625
|
}
|
|
593
626
|
}
|
|
594
|
-
`,
|
|
627
|
+
`,g.default.div`
|
|
595
628
|
display: none;
|
|
596
|
-
`,
|
|
629
|
+
`,g.default.div`
|
|
597
630
|
width: 33%;
|
|
598
631
|
height: 48px;
|
|
599
632
|
padding-right: 16px;
|
|
@@ -615,7 +648,7 @@
|
|
|
615
648
|
& > a > p:hover {
|
|
616
649
|
color: ${e=>e.theme.colors.primaryBase};
|
|
617
650
|
}
|
|
618
|
-
`,
|
|
651
|
+
`,g.default.div`
|
|
619
652
|
display: flex;
|
|
620
653
|
align-items: center;
|
|
621
654
|
|
|
@@ -629,21 +662,21 @@
|
|
|
629
662
|
&[data-theme='marryBaby'] {
|
|
630
663
|
color: ${e=>e.theme.mbColors.pink};
|
|
631
664
|
}
|
|
632
|
-
`,
|
|
665
|
+
`,g.default.div`
|
|
633
666
|
display: flex;
|
|
634
667
|
align-items: center;
|
|
635
668
|
|
|
636
669
|
margin-left: 10px;
|
|
637
|
-
`,
|
|
670
|
+
`,g.default.div`
|
|
638
671
|
position: absolute;
|
|
639
672
|
top: 16px;
|
|
640
673
|
right: 0;
|
|
641
674
|
display: flex;
|
|
642
675
|
align-items: center;
|
|
643
676
|
cursor: pointer;
|
|
644
|
-
`,
|
|
677
|
+
`,g.default.div`
|
|
645
678
|
display: block;
|
|
646
|
-
`,
|
|
679
|
+
`,g.default.div`
|
|
647
680
|
.categories__spotlight {
|
|
648
681
|
display: grid;
|
|
649
682
|
margin: 16px;
|
|
@@ -723,13 +756,13 @@
|
|
|
723
756
|
}
|
|
724
757
|
}
|
|
725
758
|
}
|
|
726
|
-
`,
|
|
759
|
+
`,g.default.div`
|
|
727
760
|
width: 20%;
|
|
728
761
|
height: 2px;
|
|
729
762
|
|
|
730
763
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
731
764
|
border-radius: 2px;
|
|
732
|
-
`;const
|
|
765
|
+
`;const xe=g.default.div`
|
|
733
766
|
padding: 16px;
|
|
734
767
|
padding-bottom: 12px;
|
|
735
768
|
.fake-search-input {
|
|
@@ -747,7 +780,7 @@
|
|
|
747
780
|
border: none;
|
|
748
781
|
}
|
|
749
782
|
}
|
|
750
|
-
`,
|
|
783
|
+
`,fe=g.default.div`
|
|
751
784
|
display: block;
|
|
752
785
|
overflow-y: auto;
|
|
753
786
|
flex: 1;
|
|
@@ -756,15 +789,15 @@
|
|
|
756
789
|
width: 0;
|
|
757
790
|
display: none;
|
|
758
791
|
}
|
|
759
|
-
`,
|
|
792
|
+
`,he=e.memo((()=>c.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),ve=g.default.div`
|
|
760
793
|
padding-right: 1rem;
|
|
761
794
|
margin-top: 10px;
|
|
762
795
|
background: #ffffff;
|
|
763
796
|
padding: 5px 15px;
|
|
764
|
-
${
|
|
797
|
+
${t.MediaQueries.mbUp} {
|
|
765
798
|
border-right: 1px solid #e4e8ec;
|
|
766
799
|
}
|
|
767
|
-
`,
|
|
800
|
+
`,ye=g.default.a`
|
|
768
801
|
padding: 10px 0;
|
|
769
802
|
position: relative;
|
|
770
803
|
|
|
@@ -812,19 +845,19 @@
|
|
|
812
845
|
}
|
|
813
846
|
}
|
|
814
847
|
}
|
|
815
|
-
`,
|
|
848
|
+
`,be=g.default.div`
|
|
816
849
|
margin: 15px 0;
|
|
817
|
-
${
|
|
850
|
+
${t.MediaQueries.mbDown} {
|
|
818
851
|
display: none;
|
|
819
852
|
}
|
|
820
|
-
`,
|
|
853
|
+
`,we=g.default.div`
|
|
821
854
|
display: flex;
|
|
822
855
|
position: absolute;
|
|
823
856
|
right: 0;
|
|
824
|
-
${
|
|
857
|
+
${t.MediaQueries.mbUp} {
|
|
825
858
|
display: none;
|
|
826
859
|
}
|
|
827
|
-
`,
|
|
860
|
+
`,_e=g.default.div`
|
|
828
861
|
display: flex;
|
|
829
862
|
align-items: center;
|
|
830
863
|
color: ${e=>e.theme.colors.primaryBase};
|
|
@@ -839,11 +872,11 @@
|
|
|
839
872
|
&[data-theme='marryBaby'] {
|
|
840
873
|
color: ${e=>e.theme.mbColors.pink};
|
|
841
874
|
}
|
|
842
|
-
|
|
875
|
+
`,$e=g.default.div`
|
|
843
876
|
display: flex;
|
|
844
877
|
align-items: center;
|
|
845
878
|
margin-left: 10px;
|
|
846
|
-
`,
|
|
879
|
+
`,ke=g.default.a`
|
|
847
880
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
848
881
|
&[data-theme='marryBaby'] {
|
|
849
882
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -859,10 +892,10 @@
|
|
|
859
892
|
padding: 6px;
|
|
860
893
|
border-radius: 5px;
|
|
861
894
|
margin-top: 20px;
|
|
862
|
-
${
|
|
895
|
+
${t.MediaQueries.mbDown} {
|
|
863
896
|
display: none;
|
|
864
897
|
}
|
|
865
|
-
`;
|
|
898
|
+
`;g.default.div`
|
|
866
899
|
& > a:not(:last-child) > div {
|
|
867
900
|
border-bottom: 1px solid
|
|
868
901
|
${e=>e.theme.colors.neutral100};
|
|
@@ -875,16 +908,16 @@
|
|
|
875
908
|
&[data-is-displayed='false'] {
|
|
876
909
|
display: none;
|
|
877
910
|
}
|
|
878
|
-
`;const
|
|
911
|
+
`;const Ce=g.default.div`
|
|
879
912
|
display: grid;
|
|
880
913
|
|
|
881
914
|
grid-template-columns: repeat(3, 1fr);
|
|
882
915
|
gap: 24px;
|
|
883
916
|
margin-bottom: 3.5rem;
|
|
884
|
-
${
|
|
917
|
+
${t.MediaQueries.tdDown} {
|
|
885
918
|
grid-template-columns: repeat(1, 1fr);
|
|
886
919
|
}
|
|
887
|
-
`,
|
|
920
|
+
`,Se=g.default.div`
|
|
888
921
|
height: 152px; // 120 + 16 * 2
|
|
889
922
|
position: absolute;
|
|
890
923
|
top: 0;
|
|
@@ -905,22 +938,22 @@
|
|
|
905
938
|
display: block;
|
|
906
939
|
object-fit: contain;
|
|
907
940
|
}
|
|
908
|
-
${
|
|
941
|
+
${t.MediaQueries.tdDown} {
|
|
909
942
|
margin-bottom: 0;
|
|
910
943
|
padding: 0;
|
|
911
944
|
height: 100%;
|
|
912
945
|
position: unset;
|
|
913
946
|
width: 150px;
|
|
914
947
|
}
|
|
915
|
-
${
|
|
948
|
+
${t.MediaQueries.mbDown} {
|
|
916
949
|
width: 80px;
|
|
917
950
|
}
|
|
918
|
-
`,
|
|
951
|
+
`,Me=g.default.div`
|
|
919
952
|
background-color: #ffffff;
|
|
920
953
|
border-radius: 4px;
|
|
921
954
|
width: 100%;
|
|
922
955
|
height: 100%;
|
|
923
|
-
`,
|
|
956
|
+
`,Be=g.default.div`
|
|
924
957
|
display: flex;
|
|
925
958
|
margin-top: 1rem;
|
|
926
959
|
align-items: center;
|
|
@@ -928,18 +961,18 @@
|
|
|
928
961
|
font-weight: 400;
|
|
929
962
|
font-size: 14px;
|
|
930
963
|
text-decoration: none;
|
|
931
|
-
${
|
|
964
|
+
${t.MediaQueries.tdDown} {
|
|
932
965
|
display: none;
|
|
933
966
|
}
|
|
934
|
-
`,
|
|
967
|
+
`,De=g.default.p`
|
|
935
968
|
font-size: 16px;
|
|
936
969
|
font-weight: 600;
|
|
937
970
|
line-height: 1.6;
|
|
938
971
|
color: ${e=>e.theme.colors.gray800};
|
|
939
|
-
${
|
|
972
|
+
${t.MediaQueries.tdDown} {
|
|
940
973
|
padding: 0;
|
|
941
974
|
}
|
|
942
|
-
`,
|
|
975
|
+
`,Qe=g.default.p`
|
|
943
976
|
font-size: 14px;
|
|
944
977
|
line-height: 1.6;
|
|
945
978
|
font-weight: 400;
|
|
@@ -951,23 +984,23 @@
|
|
|
951
984
|
-webkit-line-clamp: 2;
|
|
952
985
|
-webkit-box-orient: vertical;
|
|
953
986
|
margin-bottom: auto;
|
|
954
|
-
${
|
|
987
|
+
${t.MediaQueries.tdDown} {
|
|
955
988
|
height: unset;
|
|
956
989
|
padding: 0;
|
|
957
990
|
}
|
|
958
|
-
`,
|
|
991
|
+
`,ze=g.default.div`
|
|
959
992
|
display: flex;
|
|
960
993
|
flex-direction: column;
|
|
961
994
|
gap: 8px;
|
|
962
995
|
flex: 1;
|
|
963
996
|
z-index: 1;
|
|
964
|
-
${
|
|
997
|
+
${t.MediaQueries.tdDown} {
|
|
965
998
|
gap: 4px;
|
|
966
999
|
}
|
|
967
|
-
`,
|
|
1000
|
+
`,Ie="hhgcomp-navigation-menucareitem-contentwrapper",Te=r.getDefaultClassWrapper(ze,Ie),Ae=g.default.a`
|
|
968
1001
|
text-decoration: none;
|
|
969
1002
|
border-radius: 4px;
|
|
970
|
-
background: ${
|
|
1003
|
+
background: ${a.theme.colors.white};
|
|
971
1004
|
position: relative;
|
|
972
1005
|
overflow: hidden;
|
|
973
1006
|
padding: 16px;
|
|
@@ -976,7 +1009,7 @@
|
|
|
976
1009
|
* {
|
|
977
1010
|
pointer-events: none;
|
|
978
1011
|
}
|
|
979
|
-
${
|
|
1012
|
+
${t.MediaQueries.tdUp} {
|
|
980
1013
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
981
1014
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
982
1015
|
gap: 30px;
|
|
@@ -986,7 +1019,7 @@
|
|
|
986
1019
|
width: 100%;
|
|
987
1020
|
}
|
|
988
1021
|
}
|
|
989
|
-
${
|
|
1022
|
+
${t.MediaQueries.tdDown} {
|
|
990
1023
|
padding-top: 16px;
|
|
991
1024
|
a {
|
|
992
1025
|
display: none;
|
|
@@ -997,14 +1030,14 @@
|
|
|
997
1030
|
max-height: 110px;
|
|
998
1031
|
display: flex;
|
|
999
1032
|
flex-direction: row-reverse;
|
|
1000
|
-
> .${
|
|
1033
|
+
> .${Ie} {
|
|
1001
1034
|
flex: 1;
|
|
1002
1035
|
}
|
|
1003
1036
|
img {
|
|
1004
1037
|
width: 150px;
|
|
1005
1038
|
}
|
|
1006
1039
|
}
|
|
1007
|
-
${
|
|
1040
|
+
${t.MediaQueries.mbDown} {
|
|
1008
1041
|
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1009
1042
|
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1010
1043
|
display: flex;
|
|
@@ -1014,8 +1047,8 @@
|
|
|
1014
1047
|
height: 80px;
|
|
1015
1048
|
}
|
|
1016
1049
|
}
|
|
1017
|
-
${
|
|
1018
|
-
border: 1px solid ${
|
|
1050
|
+
${t.MediaQueries.tdOnly} {
|
|
1051
|
+
border: 1px solid ${a.theme.colors.neutral100};
|
|
1019
1052
|
}
|
|
1020
1053
|
.bg-svg {
|
|
1021
1054
|
width: 100%;
|
|
@@ -1026,7 +1059,7 @@
|
|
|
1026
1059
|
position: absolute;
|
|
1027
1060
|
display: inline-block;
|
|
1028
1061
|
}
|
|
1029
|
-
`,
|
|
1062
|
+
`,Ee=g.default.div`
|
|
1030
1063
|
padding: 16px;
|
|
1031
1064
|
border-radius: 8px;
|
|
1032
1065
|
position: relative;
|
|
@@ -1043,7 +1076,7 @@
|
|
|
1043
1076
|
left: 0;
|
|
1044
1077
|
z-index: -1;
|
|
1045
1078
|
}
|
|
1046
|
-
${
|
|
1079
|
+
${t.MediaQueries.mbDown} {
|
|
1047
1080
|
display: block;
|
|
1048
1081
|
.bg-svg {
|
|
1049
1082
|
right: -24px;
|
|
@@ -1053,45 +1086,45 @@
|
|
|
1053
1086
|
}
|
|
1054
1087
|
}
|
|
1055
1088
|
|
|
1056
|
-
${
|
|
1089
|
+
${t.MediaQueries.mbUp} {
|
|
1057
1090
|
display: grid;
|
|
1058
1091
|
grid-gap: 10px;
|
|
1059
1092
|
grid-template-columns: 1fr 3fr;
|
|
1060
1093
|
}
|
|
1061
|
-
`,
|
|
1094
|
+
`,Pe=g.default.div`
|
|
1062
1095
|
font-weight: 400;
|
|
1063
1096
|
font-size: 14px;
|
|
1064
1097
|
line-height: 24px;
|
|
1065
1098
|
color: ${e=>e.theme.colors.gray600};
|
|
1066
1099
|
margin-bottom: 15px;
|
|
1067
|
-
`,
|
|
1100
|
+
`,je=g.default.div`
|
|
1068
1101
|
font-weight: 600;
|
|
1069
1102
|
font-size: 16px;
|
|
1070
1103
|
line-height: 26px;
|
|
1071
1104
|
color: #000000;
|
|
1072
1105
|
margin-bottom: 4px;
|
|
1073
|
-
`,
|
|
1106
|
+
`,Ue=g.default.div`
|
|
1074
1107
|
background: #fff;
|
|
1075
1108
|
padding: 5px;
|
|
1076
1109
|
display: flex;
|
|
1077
1110
|
align-items: center;
|
|
1078
1111
|
justify-content: center;
|
|
1079
1112
|
border-radius: 50px;
|
|
1080
|
-
`,
|
|
1113
|
+
`,Ne=g.default.div`
|
|
1081
1114
|
display: flex;
|
|
1082
1115
|
justify-content: center;
|
|
1083
1116
|
align-items: center;
|
|
1084
1117
|
position: relative;
|
|
1085
|
-
${
|
|
1118
|
+
${t.MediaQueries.mbDown} {
|
|
1086
1119
|
justify-content: end;
|
|
1087
1120
|
min-height: 100px;
|
|
1088
1121
|
}
|
|
1089
|
-
`,
|
|
1122
|
+
`,Oe=g.default.div`
|
|
1090
1123
|
margin-top: 10px;
|
|
1091
1124
|
background: #ffffff;
|
|
1092
1125
|
padding: 5px 15px;
|
|
1093
1126
|
position: relative;
|
|
1094
|
-
${
|
|
1127
|
+
${t.MediaQueries.mbDown} {
|
|
1095
1128
|
&:after {
|
|
1096
1129
|
position: absolute;
|
|
1097
1130
|
top: 0;
|
|
@@ -1102,10 +1135,10 @@
|
|
|
1102
1135
|
content: '';
|
|
1103
1136
|
}
|
|
1104
1137
|
}
|
|
1105
|
-
`,
|
|
1138
|
+
`,Le=g.default.div`
|
|
1106
1139
|
margin: 15px 0;
|
|
1107
1140
|
display: flex;
|
|
1108
|
-
`,
|
|
1141
|
+
`,Re=g.default.a`
|
|
1109
1142
|
padding-left: 10px;
|
|
1110
1143
|
display: flex;
|
|
1111
1144
|
align-items: center;
|
|
@@ -1119,10 +1152,10 @@
|
|
|
1119
1152
|
img {
|
|
1120
1153
|
padding-left: 5px;
|
|
1121
1154
|
}
|
|
1122
|
-
${
|
|
1155
|
+
${t.MediaQueries.mbDown} {
|
|
1123
1156
|
margin-left: auto;
|
|
1124
1157
|
}
|
|
1125
|
-
`;
|
|
1158
|
+
`;g.default.div`
|
|
1126
1159
|
&[data-category-list-type='sub'] {
|
|
1127
1160
|
padding-bottom: 72px;
|
|
1128
1161
|
}
|
|
@@ -1130,21 +1163,21 @@
|
|
|
1130
1163
|
&[data-is-displayed='false'] {
|
|
1131
1164
|
display: none;
|
|
1132
1165
|
}
|
|
1133
|
-
`,
|
|
1166
|
+
`,g.default.div`
|
|
1134
1167
|
& > div {
|
|
1135
1168
|
width: 100%;
|
|
1136
1169
|
margin-bottom: 8px;
|
|
1137
1170
|
}
|
|
1138
|
-
`;const
|
|
1171
|
+
`;const Ge=g.default.div`
|
|
1139
1172
|
display: grid;
|
|
1140
1173
|
|
|
1141
1174
|
grid-template-columns: repeat(4, 1fr);
|
|
1142
1175
|
gap: 24px;
|
|
1143
|
-
${
|
|
1176
|
+
${t.MediaQueries.tdDown} {
|
|
1144
1177
|
gap: 12px;
|
|
1145
1178
|
grid-template-columns: 1fr;
|
|
1146
1179
|
}
|
|
1147
|
-
|
|
1180
|
+
`,He=g.default.a`
|
|
1148
1181
|
width: 100%;
|
|
1149
1182
|
display: flex;
|
|
1150
1183
|
align-items: center;
|
|
@@ -1152,7 +1185,7 @@
|
|
|
1152
1185
|
* {
|
|
1153
1186
|
pointer-events: none;
|
|
1154
1187
|
}
|
|
1155
|
-
`,
|
|
1188
|
+
`,qe=g.default.div`
|
|
1156
1189
|
border-radius: 5px;
|
|
1157
1190
|
display: block;
|
|
1158
1191
|
overflow: hidden;
|
|
@@ -1169,21 +1202,21 @@
|
|
|
1169
1202
|
top: 0;
|
|
1170
1203
|
left: 0;
|
|
1171
1204
|
}
|
|
1172
|
-
${
|
|
1205
|
+
${t.MediaQueries.tdDown} {
|
|
1173
1206
|
width: 72px;
|
|
1174
1207
|
padding-top: 100px;
|
|
1175
1208
|
}
|
|
1176
|
-
`,
|
|
1209
|
+
`,We=g.default.p`
|
|
1177
1210
|
font-size: 16px;
|
|
1178
1211
|
font-weight: 400;
|
|
1179
1212
|
padding: 4px 15px;
|
|
1180
1213
|
line-height: 1.4;
|
|
1181
1214
|
color: ${e=>e.theme.colors.gray800};
|
|
1182
1215
|
flex: 1;
|
|
1183
|
-
${
|
|
1216
|
+
${t.MediaQueries.tdUp} {
|
|
1184
1217
|
display: none;
|
|
1185
1218
|
}
|
|
1186
|
-
`;
|
|
1219
|
+
`;g.default.div`
|
|
1187
1220
|
& > :not(:last-child) {
|
|
1188
1221
|
border-bottom: 1px solid
|
|
1189
1222
|
${e=>e.theme.colors.neutral100};
|
|
@@ -1201,64 +1234,31 @@
|
|
|
1201
1234
|
&[data-is-displayed='false'] {
|
|
1202
1235
|
display: none;
|
|
1203
1236
|
}
|
|
1204
|
-
`,
|
|
1237
|
+
`,g.default.div`
|
|
1205
1238
|
& > div {
|
|
1206
1239
|
width: 100%;
|
|
1207
1240
|
margin-bottom: 8px;
|
|
1208
1241
|
}
|
|
1209
|
-
`;const
|
|
1242
|
+
`;const Fe=g.default.div`
|
|
1210
1243
|
display: grid;
|
|
1211
1244
|
grid-template-columns: repeat(2, 1fr);
|
|
1212
1245
|
grid-gap: 48px;
|
|
1213
|
-
${
|
|
1246
|
+
${t.MediaQueries.tdDown} {
|
|
1214
1247
|
grid-template-columns: 1fr;
|
|
1215
1248
|
grid-gap: 32px;
|
|
1216
1249
|
}
|
|
1217
|
-
${
|
|
1250
|
+
${t.MediaQueries.mbDown} {
|
|
1218
1251
|
grid-gap: 24px;
|
|
1219
1252
|
}
|
|
1220
|
-
`,
|
|
1221
|
-
width: ${e=>e.size||40}px;
|
|
1222
|
-
height: ${e=>e.size||40}px;
|
|
1223
|
-
flex-shrink: 0;
|
|
1224
|
-
cursor: pointer;
|
|
1225
|
-
|
|
1226
|
-
img {
|
|
1227
|
-
border-radius: 50%;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
.avatar {
|
|
1231
|
-
width: 100%;
|
|
1232
|
-
height: 100%;
|
|
1233
|
-
object-fit: cover;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
.avatar-default {
|
|
1237
|
-
display: flex;
|
|
1238
|
-
align-items: center;
|
|
1239
|
-
justify-content: center;
|
|
1240
|
-
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
1241
|
-
border-radius: 50%;
|
|
1242
|
-
color: white;
|
|
1243
|
-
font-size: 1em;
|
|
1244
|
-
font-weight: bold;
|
|
1245
|
-
line-height: 1;
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
&[data-is-marrybaby='true'] {
|
|
1249
|
-
.avatar-default {
|
|
1250
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
`,Qe=e=>{var{className:t,isMarryBaby:i,style:r,avatar:n,username:l,size:p}=e,s=d.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:x}}}=a.useContext(o.TogetherComponentGlobalContext),g="boolean"==typeof i?i:x,[m,u]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{u(!0)},e.src=n}),[]),h.default.createElement(Se,Object.assign({"data-is-marrybaby":g,className:t,style:r,size:p},s),n&&!m?h.default.createElement("img",{loading:"lazy",src:n,className:"avatar",alt:"avatar",onError:()=>{u(!0)}}):h.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},ze=m.default.div`
|
|
1253
|
+
`,Ve=g.default.div`
|
|
1254
1254
|
padding: 5px;
|
|
1255
1255
|
flex: 1;
|
|
1256
|
-
`,
|
|
1256
|
+
`,Ye=g.default.img`
|
|
1257
1257
|
width: 88px;
|
|
1258
1258
|
height: 88px;
|
|
1259
1259
|
border-radius: 4px;
|
|
1260
1260
|
object-fit: cover;
|
|
1261
|
-
`,
|
|
1261
|
+
`,Ze=g.default.div`
|
|
1262
1262
|
font-size: 12px;
|
|
1263
1263
|
font-weight: 600;
|
|
1264
1264
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1267,7 +1267,7 @@
|
|
|
1267
1267
|
font-weight: 400;
|
|
1268
1268
|
letter-spacing: -0.2px;
|
|
1269
1269
|
}
|
|
1270
|
-
`,
|
|
1270
|
+
`,Ke=g.default.div`
|
|
1271
1271
|
text-decoration: none;
|
|
1272
1272
|
font-size: 12px;
|
|
1273
1273
|
font-weight: 400;
|
|
@@ -1276,15 +1276,15 @@
|
|
|
1276
1276
|
font-weight: 400;
|
|
1277
1277
|
letter-spacing: -0.2px;
|
|
1278
1278
|
}
|
|
1279
|
-
`,
|
|
1279
|
+
`,Xe=g.default.div`
|
|
1280
1280
|
font-size: 12px;
|
|
1281
1281
|
font-weight: 400;
|
|
1282
1282
|
color: ${e=>e.theme.colors.gray600};
|
|
1283
|
-
`,
|
|
1283
|
+
`,Je=g.default.div`
|
|
1284
1284
|
font-size: 12px;
|
|
1285
1285
|
font-weight: 400;
|
|
1286
1286
|
color: ${e=>e.theme.colors.gray600};
|
|
1287
|
-
`,
|
|
1287
|
+
`,et=g.default.a`
|
|
1288
1288
|
display: flex;
|
|
1289
1289
|
gap: 10px;
|
|
1290
1290
|
text-decoration: none;
|
|
@@ -1298,10 +1298,10 @@
|
|
|
1298
1298
|
${e=>e.theme.colors.neutral100};
|
|
1299
1299
|
position: absolute;
|
|
1300
1300
|
bottom: -24px;
|
|
1301
|
-
${
|
|
1301
|
+
${t.MediaQueries.tdOnly} {
|
|
1302
1302
|
bottom: -16px;
|
|
1303
1303
|
}
|
|
1304
|
-
${
|
|
1304
|
+
${t.MediaQueries.mbDown} {
|
|
1305
1305
|
bottom: -12px;
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
@@ -1310,19 +1310,19 @@
|
|
|
1310
1310
|
display: none;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
${
|
|
1313
|
+
${t.MediaQueries.tdUp} {
|
|
1314
1314
|
&:nth-last-child(2) {
|
|
1315
1315
|
&::after {
|
|
1316
1316
|
display: none;
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
|
-
`,
|
|
1320
|
+
`,tt=g.default.div`
|
|
1321
1321
|
display: flex;
|
|
1322
1322
|
gap: 10px;
|
|
1323
1323
|
vertical-align: middle;
|
|
1324
1324
|
align-items: center;
|
|
1325
|
-
`,
|
|
1325
|
+
`,it=g.default.div`
|
|
1326
1326
|
margin-top: 8px;
|
|
1327
1327
|
font-size: 16px;
|
|
1328
1328
|
font-weight: 600;
|
|
@@ -1334,29 +1334,29 @@
|
|
|
1334
1334
|
line-height: 24px;
|
|
1335
1335
|
letter-spacing: -0.2px;
|
|
1336
1336
|
}
|
|
1337
|
-
`,
|
|
1337
|
+
`,ot=g.default.div`
|
|
1338
1338
|
display: flex;
|
|
1339
1339
|
flex-wrap: wrap;
|
|
1340
1340
|
align-items: center;
|
|
1341
1341
|
column-gap: 5px;
|
|
1342
|
-
`,
|
|
1342
|
+
`,at=g.default.div`
|
|
1343
1343
|
display: flex;
|
|
1344
1344
|
gap: 4px;
|
|
1345
1345
|
flex-direction: column;
|
|
1346
|
-
`;
|
|
1346
|
+
`;x.default.extend(f.default);g.default.div`
|
|
1347
1347
|
&[data-is-display='false'] {
|
|
1348
1348
|
display: none;
|
|
1349
1349
|
}
|
|
1350
|
-
`;const
|
|
1350
|
+
`;const rt=g.default.div`
|
|
1351
1351
|
display: grid;
|
|
1352
1352
|
|
|
1353
1353
|
grid-template-columns: repeat(3, 1fr);
|
|
1354
1354
|
gap: 24px;
|
|
1355
|
-
${
|
|
1355
|
+
${t.MediaQueries.tdDown} {
|
|
1356
1356
|
grid-template-columns: 1fr;
|
|
1357
1357
|
gap: 12px;
|
|
1358
1358
|
}
|
|
1359
|
-
`,
|
|
1359
|
+
`,nt=g.default.a`
|
|
1360
1360
|
text-decoration: none;
|
|
1361
1361
|
border-radius: 4px;
|
|
1362
1362
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
right: 0;
|
|
1373
1373
|
height: 100%;
|
|
1374
1374
|
position: absolute;
|
|
1375
|
-
${
|
|
1375
|
+
${t.MediaQueries.tdDown} {
|
|
1376
1376
|
top: calc(51% - 68px);
|
|
1377
1377
|
right: -8px;
|
|
1378
1378
|
}
|
|
@@ -1382,12 +1382,12 @@
|
|
|
1382
1382
|
display: flex;
|
|
1383
1383
|
width: 100%;
|
|
1384
1384
|
}
|
|
1385
|
-
${
|
|
1385
|
+
${t.MediaQueries.tdDown} {
|
|
1386
1386
|
padding-top: 16px;
|
|
1387
1387
|
display: flex;
|
|
1388
1388
|
align-items: center;
|
|
1389
1389
|
}
|
|
1390
|
-
`,
|
|
1390
|
+
`,lt=g.default.div`
|
|
1391
1391
|
width: 64px;
|
|
1392
1392
|
height: 64px;
|
|
1393
1393
|
background: white;
|
|
@@ -1405,24 +1405,24 @@
|
|
|
1405
1405
|
display: block;
|
|
1406
1406
|
transform: translate(-50%, -50%);
|
|
1407
1407
|
}
|
|
1408
|
-
${
|
|
1408
|
+
${t.MediaQueries.tdDown} {
|
|
1409
1409
|
position: relative;
|
|
1410
1410
|
top: unset;
|
|
1411
1411
|
right: unset;
|
|
1412
1412
|
}
|
|
1413
|
-
`,
|
|
1413
|
+
`,dt=g.default.div`
|
|
1414
1414
|
display: flex;
|
|
1415
1415
|
align-items: center;
|
|
1416
1416
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1417
1417
|
font-weight: 400;
|
|
1418
1418
|
font-size: 14px;
|
|
1419
1419
|
text-decoration: none;
|
|
1420
|
-
`,
|
|
1420
|
+
`,st=g.default.p`
|
|
1421
1421
|
font-size: 16px;
|
|
1422
1422
|
font-weight: 600;
|
|
1423
1423
|
line-height: 1.4;
|
|
1424
1424
|
color: ${e=>e.theme.colors.gray800};
|
|
1425
|
-
`,
|
|
1425
|
+
`,pt=g.default.p`
|
|
1426
1426
|
font-size: 14px;
|
|
1427
1427
|
line-height: 1.4;
|
|
1428
1428
|
font-weight: 400;
|
|
@@ -1434,22 +1434,22 @@
|
|
|
1434
1434
|
-webkit-line-clamp: 2;
|
|
1435
1435
|
-webkit-box-orient: vertical;
|
|
1436
1436
|
margin-bottom: auto;
|
|
1437
|
-
${
|
|
1437
|
+
${t.MediaQueries.tdDown} {
|
|
1438
1438
|
display: none;
|
|
1439
1439
|
}
|
|
1440
|
-
`,
|
|
1440
|
+
`,ut=g.default.div`
|
|
1441
1441
|
display: flex;
|
|
1442
1442
|
flex-direction: column;
|
|
1443
1443
|
flex: 1;
|
|
1444
1444
|
z-index: 1;
|
|
1445
|
-
${
|
|
1445
|
+
${t.MediaQueries.tdUp} {
|
|
1446
1446
|
gap: 8px;
|
|
1447
1447
|
}
|
|
1448
|
-
${
|
|
1448
|
+
${t.MediaQueries.tdDown} {
|
|
1449
1449
|
gap: 4px;
|
|
1450
1450
|
flex: 1;
|
|
1451
1451
|
}
|
|
1452
|
-
`,
|
|
1452
|
+
`,mt=g.default.a`
|
|
1453
1453
|
text-decoration: none;
|
|
1454
1454
|
border-radius: 12px;
|
|
1455
1455
|
|
|
@@ -1498,13 +1498,13 @@
|
|
|
1498
1498
|
display: flex;
|
|
1499
1499
|
width: 100%;
|
|
1500
1500
|
}
|
|
1501
|
-
${
|
|
1501
|
+
${t.MediaQueries.tdDown} {
|
|
1502
1502
|
padding-top: 16px;
|
|
1503
1503
|
display: flex;
|
|
1504
1504
|
align-items: flex-start;
|
|
1505
1505
|
justify-content: flex-start;
|
|
1506
1506
|
}
|
|
1507
|
-
${
|
|
1507
|
+
${t.MediaQueries.mbDown} {
|
|
1508
1508
|
padding-top: 0;
|
|
1509
1509
|
padding-left: 80px;
|
|
1510
1510
|
height: 96px;
|
|
@@ -1516,20 +1516,20 @@
|
|
|
1516
1516
|
left: 16px;
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
${
|
|
1519
|
+
${t.MediaQueries.tdUp} {
|
|
1520
1520
|
min-height: 296px;
|
|
1521
1521
|
}
|
|
1522
1522
|
.mobile-only {
|
|
1523
|
-
${
|
|
1523
|
+
${t.MediaQueries.tdUp} {
|
|
1524
1524
|
display: none;
|
|
1525
1525
|
}
|
|
1526
1526
|
}
|
|
1527
1527
|
.desktop-only {
|
|
1528
|
-
${
|
|
1528
|
+
${t.MediaQueries.tdDown} {
|
|
1529
1529
|
display: none;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
`,
|
|
1532
|
+
`,ct=g.default.div`
|
|
1533
1533
|
width: 48px;
|
|
1534
1534
|
height: 48px;
|
|
1535
1535
|
background: white;
|
|
@@ -1547,17 +1547,17 @@
|
|
|
1547
1547
|
display: block;
|
|
1548
1548
|
transform: translate(-50%, -50%);
|
|
1549
1549
|
}
|
|
1550
|
-
${
|
|
1550
|
+
${t.MediaQueries.tdDown} {
|
|
1551
1551
|
position: relative;
|
|
1552
1552
|
top: unset;
|
|
1553
1553
|
right: unset;
|
|
1554
1554
|
}
|
|
1555
|
-
${
|
|
1555
|
+
${t.MediaQueries.mbDown} {
|
|
1556
1556
|
position: absolute;
|
|
1557
1557
|
left: 32px;
|
|
1558
1558
|
top: 28px;
|
|
1559
1559
|
}
|
|
1560
|
-
`,
|
|
1560
|
+
`,gt=g.default.div`
|
|
1561
1561
|
display: flex;
|
|
1562
1562
|
align-items: center;
|
|
1563
1563
|
background: white;
|
|
@@ -1572,7 +1572,7 @@
|
|
|
1572
1572
|
fill: ${e=>e.theme.mbColors.gray};
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
|
-
${
|
|
1575
|
+
${t.MediaQueries.tdDown} {
|
|
1576
1576
|
background: none;
|
|
1577
1577
|
width: 100%;
|
|
1578
1578
|
font-weight: 400;
|
|
@@ -1581,13 +1581,13 @@
|
|
|
1581
1581
|
color: ${e=>e.theme.mbColors.pink};
|
|
1582
1582
|
padding-left: 16px;
|
|
1583
1583
|
}
|
|
1584
|
-
`,
|
|
1584
|
+
`,xt=g.default.p`
|
|
1585
1585
|
font-weight: 600;
|
|
1586
1586
|
font-size: 14px;
|
|
1587
1587
|
line-height: 24px;
|
|
1588
1588
|
letter-spacing: -0.2px;
|
|
1589
1589
|
color: ${e=>e.theme.colors.gray800};
|
|
1590
|
-
`,
|
|
1590
|
+
`,ft=g.default.p`
|
|
1591
1591
|
font-weight: 400;
|
|
1592
1592
|
font-size: 12px;
|
|
1593
1593
|
line-height: 18px;
|
|
@@ -1600,54 +1600,54 @@
|
|
|
1600
1600
|
-webkit-line-clamp: 3;
|
|
1601
1601
|
-webkit-box-orient: vertical;
|
|
1602
1602
|
margin-bottom: auto;
|
|
1603
|
-
${
|
|
1603
|
+
${t.MediaQueries.tdDown} {
|
|
1604
1604
|
display: none;
|
|
1605
1605
|
}
|
|
1606
|
-
`,
|
|
1606
|
+
`,ht=g.default.div`
|
|
1607
1607
|
display: flex;
|
|
1608
1608
|
flex: 1;
|
|
1609
1609
|
z-index: 1;
|
|
1610
1610
|
align-items: flex-end;
|
|
1611
1611
|
justify-content: flex-end;
|
|
1612
|
-
${
|
|
1612
|
+
${t.MediaQueries.tdUp} {
|
|
1613
1613
|
gap: 8px;
|
|
1614
1614
|
flex-direction: row;
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
|
-
${
|
|
1617
|
+
${t.MediaQueries.tdDown} {
|
|
1618
1618
|
align-items: flex-start;
|
|
1619
1619
|
justify-content: flex-start;
|
|
1620
1620
|
gap: 4px;
|
|
1621
1621
|
}
|
|
1622
|
-
`,
|
|
1622
|
+
`,vt=g.default.div`
|
|
1623
1623
|
display: flex;
|
|
1624
1624
|
flex-direction: column;
|
|
1625
1625
|
flex: 1;
|
|
1626
1626
|
z-index: 1;
|
|
1627
|
-
${
|
|
1627
|
+
${t.MediaQueries.tdUp} {
|
|
1628
1628
|
gap: 8px;
|
|
1629
1629
|
}
|
|
1630
|
-
${
|
|
1630
|
+
${t.MediaQueries.tdDown} {
|
|
1631
1631
|
gap: 4px;
|
|
1632
1632
|
flex: 1;
|
|
1633
1633
|
padding-left: 16px;
|
|
1634
1634
|
}
|
|
1635
|
-
`,
|
|
1635
|
+
`,yt=g.default.div`
|
|
1636
1636
|
display: flex;
|
|
1637
1637
|
flex-direction: row;
|
|
1638
1638
|
flex: 1;
|
|
1639
1639
|
z-index: 1;
|
|
1640
|
-
${
|
|
1640
|
+
${t.MediaQueries.tdUp} {
|
|
1641
1641
|
gap: 8px;
|
|
1642
1642
|
justify-content: flex-end;
|
|
1643
1643
|
align-items: flex-end;
|
|
1644
1644
|
}
|
|
1645
|
-
${
|
|
1645
|
+
${t.MediaQueries.tdDown} {
|
|
1646
1646
|
flex-direction: column;
|
|
1647
1647
|
justify-content: flex-start;
|
|
1648
1648
|
align-items: flex-start;
|
|
1649
1649
|
}
|
|
1650
|
-
`,
|
|
1650
|
+
`,bt=g.default.div`
|
|
1651
1651
|
z-index: 201;
|
|
1652
1652
|
width: 100%;
|
|
1653
1653
|
align-items: center;
|
|
@@ -1667,12 +1667,12 @@
|
|
|
1667
1667
|
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1668
1668
|
}
|
|
1669
1669
|
|
|
1670
|
-
${
|
|
1670
|
+
${t.MediaQueries.mbUp} {
|
|
1671
1671
|
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1672
1672
|
transform: translateY(-64px);
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
1675
|
-
${
|
|
1675
|
+
${t.MediaQueries.mbDown} {
|
|
1676
1676
|
&[data-site-type='marryBaby'] {
|
|
1677
1677
|
border-bottom: none;
|
|
1678
1678
|
}
|
|
@@ -1700,17 +1700,17 @@
|
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
1702
|
&[data-header-type='home'] {
|
|
1703
|
-
z-index: ${
|
|
1703
|
+
z-index: ${le};
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
1706
1706
|
&[data-header-type='popup'] {
|
|
1707
1707
|
position: absolute;
|
|
1708
|
-
z-index: ${
|
|
1708
|
+
z-index: ${de};
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
&[data-header-type='popup-sub-level'] {
|
|
1712
1712
|
position: absolute;
|
|
1713
|
-
z-index: ${
|
|
1713
|
+
z-index: ${se};
|
|
1714
1714
|
}
|
|
1715
1715
|
|
|
1716
1716
|
&[data-is-displayed='false'] {
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
right: 16px;
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
|
-
`,
|
|
1736
|
+
`,wt=g.default.div`
|
|
1737
1737
|
display: flex;
|
|
1738
1738
|
height: 100%;
|
|
1739
1739
|
align-items: center;
|
|
@@ -1741,11 +1741,11 @@
|
|
|
1741
1741
|
justify-content: space-between;
|
|
1742
1742
|
padding: 0 2rem;
|
|
1743
1743
|
height: 69px;
|
|
1744
|
-
${
|
|
1744
|
+
${t.MediaQueries.pcDown} {
|
|
1745
1745
|
padding: 0 1rem;
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
|
-
${
|
|
1748
|
+
${t.MediaQueries.mbDown} {
|
|
1749
1749
|
position: relative;
|
|
1750
1750
|
height: 64px;
|
|
1751
1751
|
background: white;
|
|
@@ -1756,50 +1756,50 @@
|
|
|
1756
1756
|
width: 100%;
|
|
1757
1757
|
margin: 0 auto;
|
|
1758
1758
|
padding: 0 16px;
|
|
1759
|
-
${
|
|
1759
|
+
${t.MediaQueries.tdUp} {
|
|
1760
1760
|
max-width: 1064px;
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
|
-
`,
|
|
1763
|
+
`,_t=g.default.div`
|
|
1764
1764
|
display: flex;
|
|
1765
1765
|
align-items: center;
|
|
1766
1766
|
height: 100%;
|
|
1767
1767
|
gap: 24px;
|
|
1768
|
-
${
|
|
1768
|
+
${t.MediaQueries.pcDown} {
|
|
1769
1769
|
flex-shrink: 0;
|
|
1770
1770
|
gap: 16px;
|
|
1771
1771
|
}
|
|
1772
|
-
${
|
|
1772
|
+
${t.MediaQueries.pcDown} {
|
|
1773
1773
|
gap: 12px;
|
|
1774
1774
|
}
|
|
1775
1775
|
&[data-site-type='marryBaby'] {
|
|
1776
1776
|
gap: 26px;
|
|
1777
1777
|
}
|
|
1778
|
-
|
|
1778
|
+
`,$t=g.default.div``,kt=g.default.div`
|
|
1779
1779
|
display: flex;
|
|
1780
1780
|
align-items: center;
|
|
1781
1781
|
height: 100%;
|
|
1782
1782
|
flex-shrink: 0;
|
|
1783
1783
|
/* gap: 16px; */
|
|
1784
|
-
${
|
|
1784
|
+
${t.MediaQueries.tdDown} {
|
|
1785
1785
|
flex-shrink: 0.6;
|
|
1786
1786
|
}
|
|
1787
1787
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1788
1788
|
gap: 2px;
|
|
1789
|
-
${
|
|
1789
|
+
${t.MediaQueries.pcUp} {
|
|
1790
1790
|
padding: 0 10px;
|
|
1791
1791
|
}
|
|
1792
|
-
${
|
|
1792
|
+
${t.MediaQueries.pcDown} {
|
|
1793
1793
|
padding: 0 6px;
|
|
1794
1794
|
}
|
|
1795
|
-
${
|
|
1795
|
+
${t.MediaQueries.mbDown} {
|
|
1796
1796
|
display: none;
|
|
1797
1797
|
}
|
|
1798
1798
|
a {
|
|
1799
1799
|
text-decoration: none;
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
|
-
`;
|
|
1802
|
+
`;g.default.div`
|
|
1803
1803
|
.fake-search-input {
|
|
1804
1804
|
pointer-events: none;
|
|
1805
1805
|
input {
|
|
@@ -1808,33 +1808,33 @@
|
|
|
1808
1808
|
padding-bottom: 10px;
|
|
1809
1809
|
}
|
|
1810
1810
|
}
|
|
1811
|
-
`;const
|
|
1811
|
+
`;const Ct=g.default.div`
|
|
1812
1812
|
margin-left: 16px;
|
|
1813
1813
|
display: flex;
|
|
1814
1814
|
gap: 12px;
|
|
1815
1815
|
align-items: center;
|
|
1816
1816
|
flex-shrink: 0;
|
|
1817
|
-
${
|
|
1817
|
+
${t.MediaQueries.pcDown} {
|
|
1818
1818
|
margin-left: 8px;
|
|
1819
1819
|
gap: 8px;
|
|
1820
1820
|
}
|
|
1821
|
-
${
|
|
1821
|
+
${t.MediaQueries.mbDown} {
|
|
1822
1822
|
margin-left: 0;
|
|
1823
1823
|
gap: 10px;
|
|
1824
1824
|
}
|
|
1825
|
-
`,
|
|
1825
|
+
`,St=g.default.div`
|
|
1826
1826
|
display: flex;
|
|
1827
1827
|
align-items: center;
|
|
1828
1828
|
height: 100%;
|
|
1829
1829
|
&[data-site-type='marryBaby'] {
|
|
1830
1830
|
gap: 26px;
|
|
1831
1831
|
}
|
|
1832
|
-
`,
|
|
1832
|
+
`,Mt=g.default.div`
|
|
1833
1833
|
--header-z-index: 305;
|
|
1834
1834
|
top: 0;
|
|
1835
1835
|
z-index: var(--header-z-index);
|
|
1836
1836
|
|
|
1837
|
-
${
|
|
1837
|
+
${t.MediaQueries.mbDown} {
|
|
1838
1838
|
width: 100vw;
|
|
1839
1839
|
max-width: 100%;
|
|
1840
1840
|
}
|
|
@@ -1854,11 +1854,11 @@
|
|
|
1854
1854
|
> section * {
|
|
1855
1855
|
pointer-events: auto;
|
|
1856
1856
|
}
|
|
1857
|
-
`;
|
|
1857
|
+
`;g.default.div`
|
|
1858
1858
|
display: flex;
|
|
1859
1859
|
align-items: center;
|
|
1860
1860
|
gap: 8px;
|
|
1861
|
-
`,
|
|
1861
|
+
`,g.default.a`
|
|
1862
1862
|
&[data-is-active='true'] {
|
|
1863
1863
|
color: unset;
|
|
1864
1864
|
}
|
|
@@ -1866,4 +1866,4 @@
|
|
|
1866
1866
|
font-weight: 700;
|
|
1867
1867
|
line-height: 22px;
|
|
1868
1868
|
text-decoration: none;
|
|
1869
|
-
`,exports.Item=({post:
|
|
1869
|
+
`,exports.Item=({post:t,index:i=0})=>{var o,a,r,n,l,d,s;const{siteType:p,configs:{statics:u}}=e.useContext(ce);if(!t)return null;const m=[u.TOGETHER_URL_FE,null===(o=t.community)||void 0===o?void 0:o.slug].join("/"),g=[m,t.slug].join("/"),f=t.createdAt,h=f?isNaN(new Date(f).getTime())?null:new Date(f):null,v=h?x.default(h).toNow(!0):f;return c.default.createElement(et,{href:g,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${i+1}`,"data-event-label":g},c.default.createElement(Ve,null,c.default.createElement(tt,null,c.default.createElement(W,{avatar:null===(a=t.author)||void 0===a?void 0:a.avatar,username:(null===(r=t.author)||void 0===r?void 0:r.name)||(null===(n=t.author)||void 0===n?void 0:n.username)}),c.default.createElement(at,null,c.default.createElement(Ze,{"data-theme":p},null===(l=t.author)||void 0===l?void 0:l.name),c.default.createElement(ot,null,c.default.createElement(Ke,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${i+1}`,"data-event-label":m,onClick:e=>{e.preventDefault(),location.href=m},"data-theme":p},null===(d=t.community)||void 0===d?void 0:d.name),c.default.createElement(Je,null,"•"),c.default.createElement(Xe,{"data-theme":p},v)))),c.default.createElement(it,null,t.title)),!!(null===(s=t.photos)||void 0===s?void 0:s.length)&&c.default.createElement(Ye,{loading:"lazy",src:t.photos[0]}))},exports.NavigationCard=({type:t,themeName:i,className:o,onClick:a=(()=>{})})=>{const{t:r}=n.useTranslations(),l=e.useMemo((()=>{var e,o;return(null===(o=null===(e=ne[i])||void 0===e?void 0:e[t])||void 0===o?void 0:o.call(e))||""}),[t,i]),d=e.useMemo((()=>"marryBaby"!==i?"transparent":re[t]),[t,i]);return c.default.createElement("div",{onClick:function(){a(t)},className:`${ie} ${o}`},c.default.createElement("div",{className:ae,style:{backgroundColor:d,backgroundImage:`url("${l}")`}}),c.default.createElement("h3",{className:oe},r(`userProfile.nav.card.${t}`)))},exports.NavigationContext=ce,exports.NavigationProvider=t=>{var{children:i}=t,a=o.__rest(t,["children"]);const[n,l]=c.default.useState((()=>a.currentUrl||`https://${"marryBaby"===a.siteType?r.domainLocalesMarryBaby[a.locale||"en-PH"]:d.domainLocales[a.locale||"en-PH"]}${"together"===a.projectType?"/community":"ecom"===a.projectType?"/ecom":"care"===a.projectType?"/care":""}/`));e.useEffect((()=>{const e=()=>{l(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const p=(({locale:t,projectType:i,isMobile:o,siteType:a,enableBookingBtn:r})=>e.useMemo((()=>{const e=!(!o&&"profile"===i),n="discover"===i||"marryBaby"===i||"profile"===i&&"marryBaby"===a,l="marryBaby"!==a&&"marryBaby"!==i&&d.CARE_LOCALES.includes(t),p=r&&"marryBaby"!==i&&"discover"===i&&"marryBaby"!==a&&d.CARE_BOOKING_LOCALES.includes(t),u="marryBaby"===i||d.TOGETHER_LOCALES.includes(t),m="marryBaby"!==a&&d.ECOM_LOCALES.includes(t),c="ecom"===i;let g=s.getCurrentBaseUrl(t,"marryBaby"===a);"undefined"!=typeof window&&(g.includes("//id.")&&(g=g.replace("id.","")),g.includes("//staging-id.")&&(g=g.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:e,enableSearchBar:n,enableNavCare:l,enableNavCareBooking:p,enableNavTogether:u,enableNavEcom:m,enableProfileEcom:c,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:g,CARE_URL_FE:`${g}/care`,TOGETHER_URL_FE:`${g}/community`,SSO_URL:s.getCurrentSsoUrl(t,"marryBaby"===a),TOGETHER_API:s.getTogetherApiDomain(),DISCOVER_API:s.getDiscoverApiDomain(t)}}}),[t,i,o]))({locale:a.locale,projectType:a.projectType,isMobile:a.isMobile,siteType:a.siteType,enableBookingBtn:a.enableBookingBtn});return c.default.createElement(ce.Provider,{value:Object.assign(Object.assign({},a),{configs:Object.assign(Object.assign({},p),a.configs),currentUrl:a.currentUrl||n})},i)},exports.Popup=({type:e="lead",closeIcon:t,isOpen:i=!0,onClose:o,children:a,className:r="",enableAnimation:n=!0})=>c.default.createElement(c.default.Fragment,null,c.default.createElement(h,{"data-open":i,"data-type":e,"data-animation":n},c.default.createElement("div",{className:`${r||""} popup-content`},!!t&&c.default.createElement("div",{className:"close-button",onClick:o},t),a)),c.default.createElement(v,{"data-open":i,onClick:o})),exports.SearchIcon=he,exports.StyleSelectionPopup=R,exports.StyledAvatar=J,exports.StyledBtnView=Be,exports.StyledBtnView$1=dt,exports.StyledBtnView$2=gt,exports.StyledButtonGroup=me,exports.StyledContainer=Mt,exports.StyledContainerItems=Ce,exports.StyledContainerItems$1=Ge,exports.StyledContainerItems$2=Fe,exports.StyledContainerItems$3=rt,exports.StyledContainerNoPosts=Ee,exports.StyledContent=vt,exports.StyledContentLeft=Ue,exports.StyledContentWrapper=Te,exports.StyledContentWrapper$1=ut,exports.StyledContentWrapper$2=ht,exports.StyledDes=Qe,exports.StyledDes$1=pt,exports.StyledDes$2=ft,exports.StyledDescription=Pe,exports.StyledDisplayWrapper=F,exports.StyledHeader=wt,exports.StyledHeaderWrapper=bt,exports.StyledHeading=be,exports.StyledHeading$1=Le,exports.StyledIconNav=we,exports.StyledImageCard=Se,exports.StyledImageCard$1=qe,exports.StyledImageCard$2=lt,exports.StyledImageCard$3=ct,exports.StyledImageCardInner=Me,exports.StyledImageWrapper=ee,exports.StyledImageWrapper$1=$e,exports.StyledItem=ye,exports.StyledItem$1=Ae,exports.StyledItem$2=He,exports.StyledItem$3=nt,exports.StyledItem$4=mt,exports.StyledItemAll=_e,exports.StyledItemGridLeft=ve,exports.StyledItemGridRight=Oe,exports.StyledLanguageChangeLink=N,exports.StyledLeft=Ne,exports.StyledLeftGroup=_t,exports.StyledLoggedOutAnchor=te,exports.StyledLogoWrapper=$t,exports.StyledMasterMenuContainer=ge,exports.StyledOption=G,exports.StyledPopup=Z,exports.StyledPopup$1=ue,exports.StyledPopupBackground=H,exports.StyledProfileNavGroup=Ct,exports.StyledRightGroup=kt,exports.StyledSelectionContainer=O,exports.StyledSelectionLabel=L,exports.StyledServiceListMenuSearchInputWrapper=xe,exports.StyledTitle=De,exports.StyledTitle$1=je,exports.StyledTitle$2=We,exports.StyledTitle$3=st,exports.StyledTitle$4=xt,exports.StyledViewMore=ke,exports.StyledViewMore$1=Re,exports.StyledWrapMenuItems=St,exports.StyledWrapName=yt,exports.StyledWrapper=fe,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.UserAvatar=W,exports.dataTransform=U,exports.formatArticle=C,exports.formatCategory=D,exports.formatComment=P,exports.formatCommunity=I,exports.formatPost=E,exports.formatTopic=T,exports.formatUserProfileUrl=j;
|