@hhgtech/hhg-components 1.25.44 → 1.25.57
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/babyGrowth.js +22 -18
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/authorBadge/index.styles.d.ts +4 -2
- package/build/components/atoms/btnChoice/index.d.ts +2 -1
- package/build/components/atoms/customReferenceDot/index.d.ts +1 -1
- package/build/components/atoms/icons/ACharacter.d.ts +4 -0
- package/build/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/components/atoms/icons/Post.d.ts +4 -0
- package/build/components/atoms/icons/Smile.d.ts +4 -0
- package/build/components/atoms/icons/Video.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +6 -0
- package/build/components/atoms/imageWithHandler/index.d.ts +1 -1
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +3 -1
- package/build/components/mantine/anchor/index.styles.d.ts +4 -2
- package/build/components/mantine/breadcrumbs/index.d.ts +3 -2
- package/build/components/mantine/breadcrumbs/index.styled.d.ts +1 -1
- package/build/components/mantine/breadcrumbs/item.d.ts +1 -1
- package/build/components/mantine/button/index.d.ts +3 -3
- package/build/components/mantine/button/index.styles.d.ts +6 -2
- package/build/components/mantine/datepicker/index.d.ts +4 -8
- package/build/components/mantine/index.d.ts +2 -1
- package/build/components/mantine/indicator/index.d.ts +1 -1
- package/build/components/mantine/input/number.d.ts +2 -2
- package/build/components/mantine/loadingOverlay/useLockBodyScroll.d.ts +1 -0
- package/build/components/mantine/modal/index.d.ts +1 -1
- package/build/components/mantine/modal/index.styles.d.ts +15 -0
- package/build/components/mantine/otp/index.d.ts +2 -2
- package/build/components/mantine/phone/index.d.ts +1 -1
- package/build/components/mantine/tabs/index.styles.d.ts +4 -2
- package/build/components/mantine/text/index.d.ts +1 -1
- package/build/components/mantine/text/index.styles.d.ts +4 -2
- package/build/components/mantine/theme/heading.d.ts +7 -0
- package/build/components/mantine/theme/index.d.ts +2 -0
- package/build/components/mantine/theme/input.d.ts +4 -3
- package/build/components/mantine/theme/other.d.ts +2 -2
- package/build/components/mantine/theme/radio.d.ts +1 -13
- package/build/components/mantine/theme/text.d.ts +38 -38
- package/build/components/molecules/adBlock/fixedBottomAdBlock.d.ts +16 -0
- package/build/components/molecules/adBlock/index.d.ts +45 -0
- package/build/components/molecules/adBlock/index.styled.d.ts +4 -0
- package/build/components/molecules/bmiForm/index.styled.d.ts +2 -2
- package/build/components/molecules/bmrForm/index.styled.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +4 -3
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styles.d.ts +20 -0
- package/build/components/molecules/index.d.ts +4 -0
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/molecules/tabs/index.styles.d.ts +8 -2
- package/build/components/molecules/thrForm/index.styled.d.ts +2 -2
- package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ItemNav/index.d.ts +4 -0
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Categories/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/Item/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/careSpotlights.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useNavConfig.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/types.d.ts +1 -0
- package/build/components/onboarding/onboardingForm/index.d.ts +1 -0
- package/build/components/organisms/index.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +1 -1
- package/build/components/ui/cardAuthor/index.d.ts +2 -1
- package/build/components/vaccination/helpers.d.ts +4 -1
- package/build/components/vaccination/shared/dose.d.ts +3 -1
- package/build/components/vaccination/vaccinationFilter/index.d.ts +1 -2
- package/build/components/vaccination/vaccineCard/immunization.d.ts +3 -0
- package/build/components/vaccination/vaccineCard/index.d.ts +10 -3
- package/build/components/vaccination/vaccineCard/modal.d.ts +1 -1
- package/build/components/vaccination/vaccineCard/timeline.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/default.d.ts +16 -0
- package/build/components/vaccination/vaccineDetailPopup/immunization.d.ts +14 -0
- package/build/components/vaccination/vaccineDetailPopup/index.d.ts +6 -3
- package/build/components/vaccination/vaccineImmunization/header.d.ts +7 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +8 -1
- package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +2 -1
- package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-d9f96c6a.js +1 -0
- package/build/{dataTransform-1e9a98a0.js → dataTransform-fa65027d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +12 -8
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-888ce0b6.js → core-6aca234b.js} +1 -1
- package/build/esm/{dataTransform-1aace1cf.js → dataTransform-f0b20c52.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-4186a1b3.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-d4164724.js → getDynamicHealthTool-166b41ad.js} +1 -1
- package/build/esm/{getSocialList-9bbe3519.js → getSocialList-a0e2abab.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index.styled-e932039c.js → index-07b43ec9.js} +397 -498
- package/build/esm/index-25f89f9a.js +1 -0
- package/build/esm/index-2b1c04b6.js +1 -0
- package/build/esm/{index-8577ea62.js → index-2c16e4ce.js} +1 -1
- package/build/esm/index-3aa67b79.js +1 -0
- package/build/esm/index-403e15b0.js +1 -0
- package/build/esm/index-4c924334.js +1 -0
- package/build/esm/{index-41369cea.js → index-4ff4ad08.js} +1 -1
- package/build/esm/{index-7f78c1bc.js → index-50bf97c0.js} +1 -1
- package/build/esm/index-639b52f7.js +1 -0
- package/build/esm/index-67ac025d.js +1 -0
- package/build/esm/{index-190d545a.js → index-7ed95870.js} +1 -1
- package/build/esm/{index-461a784c.js → index-833a8c3f.js} +1 -1
- package/build/esm/{index-32077d77.js → index-9a3842f5.js} +1 -1
- package/build/esm/index-a9cb1435.js +1 -0
- package/build/esm/{index-868ce16c.js → index-a9f54377.js} +1 -1
- package/build/esm/{index-010050d2.js → index-bb9dafcf.js} +1 -1
- package/build/esm/{index-dfc596d6.js → index-bf3a4367.js} +6 -6
- package/build/esm/{index-3c1037ff.js → index-da233326.js} +1 -1
- package/build/esm/index-e6051fb1.js +112 -0
- package/build/esm/{index-0e069d4b.js → index-ef658ac8.js} +2 -2
- package/build/esm/{index-aa5d0a03.js → index-f55060fd.js} +1 -1
- package/build/esm/{index-5675d68c.js → index-f643ff94.js} +1 -1
- package/build/esm/{index-fe381963.js → index-f958f081.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-4392a597.js → index.styled-0de03bf5.js} +6 -6
- package/build/esm/index.styled-5b95b0fa.js +1249 -0
- package/build/esm/{index.styled-242af167.js → index.styled-942b236f.js} +1 -1
- package/build/esm/{index.styled-a0d1d77a.js → index.styled-e699b40f.js} +687 -676
- 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/pwg.js +2 -2
- package/build/esm/{routing-d0fafd64.js → routing-d5d0943b.js} +1 -1
- package/build/esm/{screenSizeContext-5ad313e1.js → screenSizeContext-f1ed7d16.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-847f0e27.js +1 -0
- package/build/esm/translationsProvider-7ddb7375.js +1 -0
- package/build/esm/{types-384aee6f.js → types-5244a7e4.js} +1 -1
- package/build/esm/types-912a9d14.js +3079 -0
- package/build/esm/types.js +1 -1
- package/build/esm/unifyEnv.js +1 -1
- package/build/esm/useHealthToolCache-2607d952.js +1 -0
- package/build/esm/{useRafState-3fc0de62.js → useRafState-3e0f61cc.js} +1 -1
- package/build/esm/{useTranslations-da42eb2d.js → useTranslations-f64ca572.js} +1 -1
- package/build/esm/utils-c139be0c.js +166 -0
- package/build/esm/vaccination.js +63 -43
- package/build/fixedBottomAdBlock-e877754b.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-54b7323e.js → getDynamicHealthTool-b3a9e649.js} +1 -1
- package/build/{getSocialList-9b9c40c0.js → getSocialList-584af62c.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-469ce011.js → index-05217952.js} +1 -1
- package/build/{index-cecb2064.js → index-10c6d3be.js} +1 -1
- package/build/{index-bb912bc9.js → index-18010e95.js} +1 -1
- package/build/{index-a4851e92.js → index-221dccaf.js} +1 -1
- package/build/index-24ebf0b7.js +112 -0
- package/build/index-3bfb5929.js +1 -0
- package/build/{index-2cef4c8f.js → index-3df20add.js} +1 -1
- package/build/{index-ca13a251.js → index-3f125166.js} +1 -1
- package/build/index-6c804adb.js +1 -0
- package/build/{index-3c98c950.js → index-70fe3bc5.js} +1 -1
- package/build/index-76e04636.js +1 -0
- package/build/{index-13d8f287.js → index-7c43b23b.js} +1 -1
- package/build/{index-92a9b471.js → index-9408d632.js} +1 -1
- package/build/{index.styled-969b28ec.js → index-97cca6d5.js} +297 -398
- package/build/index-9a51525b.js +1 -0
- package/build/index-a3d869c3.js +1 -0
- package/build/index-af942077.js +1 -0
- package/build/index-b0ecb439.js +1 -0
- package/build/{index-57685a19.js → index-d0e6dec3.js} +1 -1
- package/build/index-d55bdf58.js +1 -0
- package/build/index-dc848204.js +1 -0
- package/build/{index-514e8363.js → index-eb12c43f.js} +1 -1
- package/build/{index-787a0001.js → index-ee3318d8.js} +1 -1
- package/build/{index-1f1e148b.js → index-ffc2b4fe.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-309fe10c.js +1249 -0
- package/build/{index.styled-5bfe45d1.js → index.styled-6de79d1e.js} +666 -655
- package/build/{index.styled-94953918.js → index.styled-9cfb5478.js} +6 -6
- package/build/{index.styled-012f80c2.js → index.styled-e7a24c86.js} +1 -1
- package/build/interfaces/constants/index.d.ts +2 -0
- package/build/interfaces/types/BabyVaccination.d.ts +4 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/callApi/helpers.d.ts +4 -0
- package/build/misc/callApi/index.d.ts +24 -0
- package/build/misc/callApi/instance.d.ts +11 -0
- package/build/misc/callApi/interceptors.d.ts +6 -0
- package/build/misc/noop.d.ts +1 -0
- package/build/misc/unifyEnv.d.ts +4 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-a7b0169e.js → routing-fcdfce19.js} +1 -1
- package/build/{screenSizeContext-ec28d0a9.js → screenSizeContext-c4a1c827.js} +10 -10
- package/build/together/components/atoms/tagTopic/index.d.ts +6 -2
- package/build/together/components/molecules/cardAuthor/index.d.ts +2 -2
- package/build/together/components/molecules/cardAuthor/index.styles.d.ts +5 -2
- package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -1
- package/build/together/components/molecules/postContent/index.d.ts +2 -1
- package/build/together/components/molecules/postContent/index.styles.d.ts +4 -2
- package/build/together/components/molecules/profileDetail/context.d.ts +2 -1
- package/build/together/components/molecules/profileDetail/index.d.ts +2 -1
- package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -1
- package/build/together/components/molecules/topicSelectList/index.d.ts +3 -2
- package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
- package/build/together/components/organisms/sourceList/index.d.ts +2 -1
- package/build/together/interfaces/types.d.ts +1 -16
- package/build/together.js +1 -1
- package/build/translationsContext-ca842755.js +1 -0
- package/build/translationsProvider-e50b87e4.js +1 -0
- package/build/types-7d927e08.js +3079 -0
- package/build/{types-9a1f7b49.js → types-d0943884.js} +37 -37
- package/build/types.js +1 -1
- package/build/unifyEnv.js +1 -1
- package/build/useHealthToolCache-c8147646.js +1 -0
- package/build/{useRafState-b6ec3a9b.js → useRafState-ef70e2c8.js} +1 -1
- package/build/useTranslations-e241e21a.js +1 -0
- package/build/utils-82043344.js +166 -0
- package/build/vaccination.js +58 -38
- package/package.json +13 -17
- package/build/components/atoms/icons/Alert.d.ts +0 -4
- package/build/components/mantine/datepicker/index.styled.d.ts +0 -3
- package/build/components/mantine/datepicker/range.d.ts +0 -5
- package/build/components/mantine/modal/index.styled.d.ts +0 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +0 -21
- package/build/components/vaccination/vaccineDetailPopup/form.d.ts +0 -14
- package/build/core-10f69c01.js +0 -1
- package/build/esm/index-190bc500.js +0 -1
- package/build/esm/index-214703a2.js +0 -1
- package/build/esm/index-54068dae.js +0 -1
- package/build/esm/index-5a1af70b.js +0 -1
- package/build/esm/index-99d18c36.js +0 -1
- package/build/esm/index-a299cbab.js +0 -1
- package/build/esm/index-a89c2508.js +0 -1
- package/build/esm/index-aea51f7e.js +0 -1
- package/build/esm/index-f9100c7a.js +0 -115
- package/build/esm/index.styled-8ef8af11.js +0 -1249
- package/build/esm/translationsContext-a9e714b6.js +0 -1
- package/build/esm/translationsProvider-256e5540.js +0 -1
- package/build/esm/types-f6f19702.js +0 -3078
- package/build/esm/useHealthToolCache-8d783509.js +0 -1
- package/build/esm/useScreenSize-659ec89f.js +0 -1
- package/build/esm/utils-6a7659ea.js +0 -166
- package/build/index-27246b79.js +0 -1
- package/build/index-2d4d4013.js +0 -115
- package/build/index-3ae5499c.js +0 -1
- package/build/index-4721e57c.js +0 -1
- package/build/index-50caa7e2.js +0 -1
- package/build/index-5b7b2586.js +0 -1
- package/build/index-6b0e0f4f.js +0 -1
- package/build/index-6eefddc7.js +0 -1
- package/build/index-b9f36738.js +0 -1
- package/build/index-f2dd5437.js +0 -1
- package/build/index.styled-385b0213.js +0 -1249
- package/build/translationsContext-d30cff67.js +0 -1
- package/build/translationsProvider-ba37c644.js +0 -1
- package/build/types-b6c32bfa.js +0 -3078
- package/build/useHealthToolCache-576c5d14.js +0 -1
- package/build/useScreenSize-f756ef52.js +0 -1
- package/build/useTranslations-e9278035.js +0 -1
- package/build/utils-d25182fc.js +0 -166
- /package/build/{BMI_BOYS.percentile.monthly-d2abdecb.js → BMI_BOYS.percentile.monthly-de91e806.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1452dbfc.js → BMI_BOYS.percentile.weekly-810def48.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c7b99f55.js → BMI_BOYS.percentile.yearly-50355acd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d41fba58.js → BMI_BOYS.zscore.monthly-d72fb8f6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0ba20aa6.js → BMI_BOYS.zscore.weekly-8fc6be69.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0429f0c2.js → BMI_BOYS.zscore.yearly-644c2d8d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b826dd5c.js → BMI_GIRLS.percentile.monthly-4019be93.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-74e865cd.js → BMI_GIRLS.percentile.weekly-854852bf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-fb3827f4.js → BMI_GIRLS.percentile.yearly-c0ddde1d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-f983829b.js → BMI_GIRLS.zscore.monthly-50e9e93c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6edd1a66.js → BMI_GIRLS.zscore.weekly-a5d035f0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-81fc38d6.js → BMI_GIRLS.zscore.yearly-b186c1a5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8172b3a1.js → HEAD CIRCUM_BOYS.percentile.monthly-6608b832.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9b481925.js → HEAD CIRCUM_BOYS.percentile.weekly-9c8eac7e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-dbc4c7a4.js → HEAD CIRCUM_BOYS.percentile.yearly-193efcdf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-58ac8847.js → HEAD CIRCUM_BOYS.zscore.monthly-d4b0ecff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-12e8a3e9.js → HEAD CIRCUM_BOYS.zscore.weekly-fecff98e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ee05bd18.js → HEAD CIRCUM_BOYS.zscore.yearly-edb240ef.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2413ac75.js → HEAD CIRCUM_GIRLS.percentile.monthly-8af837c2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-88625ca5.js → HEAD CIRCUM_GIRLS.percentile.weekly-f89a721e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-23a80aeb.js → HEAD CIRCUM_GIRLS.percentile.yearly-880b2d08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6f787df5.js → HEAD CIRCUM_GIRLS.zscore.monthly-7e898436.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-561e03ee.js → HEAD CIRCUM_GIRLS.zscore.weekly-a28ed42c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4ddedd7.js → HEAD CIRCUM_GIRLS.zscore.yearly-918e3543.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ef6a749a.js → HEIGHT_BOYS.percentile.monthly-86e93644.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d9f828fb.js → HEIGHT_BOYS.percentile.weekly-583a8f12.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-20cf4783.js → HEIGHT_BOYS.percentile.yearly-ea3c1503.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-51913587.js → HEIGHT_BOYS.zscore.monthly-14711619.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-1738f4f4.js → HEIGHT_BOYS.zscore.weekly-4adeea59.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ac4a2fee.js → HEIGHT_BOYS.zscore.yearly-11513a76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a6a41fda.js → HEIGHT_GIRLS.percentile.monthly-6c6b0024.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-329a50ad.js → HEIGHT_GIRLS.percentile.weekly-04de7259.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2165853e.js → HEIGHT_GIRLS.percentile.yearly-d290b60f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-712d35b1.js → HEIGHT_GIRLS.zscore.monthly-af444d64.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-34e307be.js → HEIGHT_GIRLS.zscore.weekly-382f704e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-280be713.js → HEIGHT_GIRLS.zscore.yearly-1d6f27a4.js} +0 -0
- /package/build/{Onboarding-58182d80.js → Onboarding-3623ec04.js} +0 -0
- /package/build/{Visible-1fbe2af3.js → Visible-ee82fd46.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-83f8e007.js → WEIGHT_BOYS.percentile.monthly-ce84fb34.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-09743884.js → WEIGHT_BOYS.percentile.weekly-3fab9bb5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-aff42eea.js → WEIGHT_BOYS.percentile.yearly-71c9c082.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1ff93805.js → WEIGHT_BOYS.zscore.monthly-28ec774a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e5f55c1e.js → WEIGHT_BOYS.zscore.weekly-b5914ab1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-828478cb.js → WEIGHT_BOYS.zscore.yearly-a39a7b59.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e315d110.js → WEIGHT_GIRLS.percentile.monthly-483b0563.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f1219a6a.js → WEIGHT_GIRLS.percentile.weekly-d230ef8e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-436aeadf.js → WEIGHT_GIRLS.percentile.yearly-a56eccd8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-077e06ca.js → WEIGHT_GIRLS.zscore.monthly-fd518d7d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a31f3992.js → WEIGHT_GIRLS.zscore.weekly-74f1cb9d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e9f38cb1.js → WEIGHT_GIRLS.zscore.yearly-efd33c7e.js} +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ArrowLeftPopupIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ClosePopupIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/HamburgerIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/PopupWrapper/btnClosePopup.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/PopupWrapper/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/SearchIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/searchInput/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Categories/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Spotlights/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Spotlights/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/categorySpotlights.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuServiceList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuServiceList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/bookingButton/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/spotlightNoData/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/spotlightNoData/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/constants.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useHeaderHeight.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useInsider.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useNavServices.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/navigationContext.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/utils.d.ts +0 -0
- /package/build/{constants-56ca0bdd.js → constants-9b8da9ca.js} +0 -0
- /package/build/{cookieHelper-a822b7c4.js → cookieHelper-c911bc96.js} +0 -0
- /package/build/{dataTransform-b004a5ef.js → dataTransform-05311344.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a9939fd8.js → BMI_BOYS.percentile.monthly-9137fba5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-776a5c0a.js → BMI_BOYS.percentile.weekly-e892e2c1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5271988d.js → BMI_BOYS.percentile.yearly-dcedc68d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-93f3b63e.js → BMI_BOYS.zscore.monthly-89d4ecda.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f35bd4fb.js → BMI_BOYS.zscore.weekly-eb24bc29.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3eb8fbf3.js → BMI_BOYS.zscore.yearly-96bcbb54.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-36c03f04.js → BMI_GIRLS.percentile.monthly-6a391a62.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f7b786ff.js → BMI_GIRLS.percentile.weekly-cc9ace02.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-52e0098a.js → BMI_GIRLS.percentile.yearly-72d1907f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-44b7133e.js → BMI_GIRLS.zscore.monthly-757e2731.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f210ffb5.js → BMI_GIRLS.zscore.weekly-d4794d60.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7af18b5e.js → BMI_GIRLS.zscore.yearly-c44aa342.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-2203e6cc.js → HEAD CIRCUM_BOYS.percentile.monthly-447a9a4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-fb81cb82.js → HEAD CIRCUM_BOYS.percentile.weekly-fb0e3872.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3eddd3f1.js → HEAD CIRCUM_BOYS.percentile.yearly-db004cb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ca761ca0.js → HEAD CIRCUM_BOYS.zscore.monthly-14e654b5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cdb0eb9f.js → HEAD CIRCUM_BOYS.zscore.weekly-21b7772b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-db8e5b39.js → HEAD CIRCUM_BOYS.zscore.yearly-67869ebf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-03df8001.js → HEAD CIRCUM_GIRLS.percentile.monthly-2d86d11a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7ce92c77.js → HEAD CIRCUM_GIRLS.percentile.weekly-eae959c5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0f12536e.js → HEAD CIRCUM_GIRLS.percentile.yearly-2958a4f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-2b59c2be.js → HEAD CIRCUM_GIRLS.zscore.monthly-45802598.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-731afffd.js → HEAD CIRCUM_GIRLS.zscore.weekly-e81cf4e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-769dda2a.js → HEAD CIRCUM_GIRLS.zscore.yearly-8a51af78.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-37fc516a.js → HEIGHT_BOYS.percentile.monthly-1faef801.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-02cd6f1d.js → HEIGHT_BOYS.percentile.weekly-053b4ffa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ae96cae2.js → HEIGHT_BOYS.percentile.yearly-6e56f0ec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-642907df.js → HEIGHT_BOYS.zscore.monthly-52daf5bf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-37e2db49.js → HEIGHT_BOYS.zscore.weekly-4b7485c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-1ef99cb6.js → HEIGHT_BOYS.zscore.yearly-aea8faec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b84251ff.js → HEIGHT_GIRLS.percentile.monthly-034269c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b54501a7.js → HEIGHT_GIRLS.percentile.weekly-ee765a49.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8ddd423a.js → HEIGHT_GIRLS.percentile.yearly-c2391a8a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-439ba31b.js → HEIGHT_GIRLS.zscore.monthly-3142ee0d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5320751a.js → HEIGHT_GIRLS.zscore.weekly-7921b8d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-85e8fc2e.js → HEIGHT_GIRLS.zscore.yearly-8d628c57.js} +0 -0
- /package/build/esm/{Onboarding-408706e0.js → Onboarding-edd90346.js} +0 -0
- /package/build/esm/{Visible-4242efe9.js → Visible-b784a437.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bcae0f8e.js → WEIGHT_BOYS.percentile.monthly-d03728b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-047d6c3a.js → WEIGHT_BOYS.percentile.weekly-338755a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8ed75bda.js → WEIGHT_BOYS.percentile.yearly-76b5b1b3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-371ef476.js → WEIGHT_BOYS.zscore.monthly-401f0904.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c6c6ff46.js → WEIGHT_BOYS.zscore.weekly-3c087e83.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-44631f23.js → WEIGHT_BOYS.zscore.yearly-daa822fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cd36978a.js → WEIGHT_GIRLS.percentile.monthly-5cebf07b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f7ddbc67.js → WEIGHT_GIRLS.percentile.weekly-76638fc7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-58759d43.js → WEIGHT_GIRLS.percentile.yearly-b73802c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2bfc306f.js → WEIGHT_GIRLS.zscore.monthly-2d4d5df9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-98f69b55.js → WEIGHT_GIRLS.zscore.weekly-72619a34.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2b0e22ca.js → WEIGHT_GIRLS.zscore.yearly-d890ace2.js} +0 -0
- /package/build/esm/{constants-bc63287f.js → constants-08000e14.js} +0 -0
- /package/build/esm/{cookieHelper-b1f1798d.js → cookieHelper-71d9b25d.js} +0 -0
- /package/build/esm/{dataTransform-b927f586.js → dataTransform-9a91ff47.js} +0 -0
- /package/build/esm/{index-75cefdbb.js → index-762a0cac.js} +0 -0
- /package/build/esm/{index-43b41960.js → index-ef3b5990.js} +0 -0
- /package/build/esm/{isProduction-ae9181a5.js → isProduction-2f5b17a9.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1a2ae455.js → localizeNumberFormat-e5cf0365.js} +0 -0
- /package/build/esm/{normalizeLink-4ca3ff21.js → normalizeLink-b88810dd.js} +0 -0
- /package/build/esm/{theme-ffbfb9b9.js → theme-09b5027a.js} +0 -0
- /package/build/esm/{tslib.es6-a5547e68.js → tslib.es6-5507553a.js} +0 -0
- /package/build/esm/{types-ca48a347.js → types-d98a9662.js} +0 -0
- /package/build/esm/{useIsInit-38adc0b3.js → useIsInit-297b332c.js} +0 -0
- /package/build/esm/{useOutsideClick-5a52aab4.js → useOutsideClick-6f6a50fd.js} +0 -0
- /package/build/esm/{useScrollbarSize-0d039002.js → useScrollbarSize-966d1d2c.js} +0 -0
- /package/build/esm/{useUniqueId-14284cf9.js → useUniqueId-9985f6b8.js} +0 -0
- /package/build/esm/{utils-271bd0e0.js → utils-2554a96d.js} +0 -0
- /package/build/{index-7d70eca2.js → index-6684512f.js} +0 -0
- /package/build/{index-f8aa0ca2.js → index-bd764537.js} +0 -0
- /package/build/{isProduction-49ad1944.js → isProduction-4f943370.js} +0 -0
- /package/build/{localizeNumberFormat-ec3aff26.js → localizeNumberFormat-1d70eacf.js} +0 -0
- /package/build/{normalizeLink-a12107c7.js → normalizeLink-049dd7a4.js} +0 -0
- /package/build/{theme-6a1e2932.js → theme-2cb6485a.js} +0 -0
- /package/build/{tslib.es6-975fdf2d.js → tslib.es6-01a734a9.js} +0 -0
- /package/build/{types-adba7c8d.js → types-7f927b9f.js} +0 -0
- /package/build/{useIsInit-f7d180a7.js → useIsInit-6f805bcb.js} +0 -0
- /package/build/{useOutsideClick-bb507e56.js → useOutsideClick-56ef539b.js} +0 -0
- /package/build/{useScrollbarSize-c064bcbc.js → useScrollbarSize-7eadc7e9.js} +0 -0
- /package/build/{useUniqueId-b49d85f4.js → useUniqueId-d52efb9f.js} +0 -0
- /package/build/{utils-b76f3a57.js → utils-37e02909.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-
|
|
1
|
+
"use strict";var e=require("./utils-37e02909.js"),t=require("styled-components"),i=require("./theme-2cb6485a.js"),o=require("./index.styled-309fe10c.js"),a=require("react"),r=require("./useTranslations-e241e21a.js"),l=require("./gAssets.js"),n=require("./tslib.es6-01a734a9.js"),s=require("./index-221dccaf.js"),d=require("./cookieHelper-c911bc96.js"),p=require("slugify"),u=require("string-format"),c=require("./isProduction-4f943370.js"),m=require("./routing-fcdfce19.js"),g=require("dayjs"),h=require("dayjs/plugin/relativeTime");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=x(t),b=x(a),y=x(p),_=x(u),v=x(g),w=x(h);const E=f.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
display: inline-block;
|
|
106
106
|
`,N=f.default.div`
|
|
107
107
|
position: relative;
|
|
108
|
-
`,
|
|
108
|
+
`,B=f.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
|
+
`,U=f.default.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
height: 40px;
|
|
139
139
|
align-items: center;
|
|
@@ -472,298 +472,267 @@
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ie(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=f.default.div`
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
width: 100%;
|
|
480
|
-
height: calc(100vh - var(--header-bottom));
|
|
481
|
-
overflow-x: hidden;
|
|
482
|
-
overflow-y: auto;
|
|
483
|
-
background: white;
|
|
484
|
-
display: flex;
|
|
485
|
-
flex-direction: column;
|
|
486
|
-
padding-bottom: 0;
|
|
487
|
-
left: 0;
|
|
488
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
489
|
-
position: unset;
|
|
475
|
+
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ie(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=a.memo((()=>b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.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"}))));f.default.div`
|
|
476
|
+
& > a:not(:last-child) > div {
|
|
477
|
+
border-bottom: 1px solid
|
|
478
|
+
${e=>e.theme.colors.neutral100};
|
|
490
479
|
}
|
|
491
|
-
`;f.default.div`
|
|
492
|
-
position: fixed;
|
|
493
|
-
bottom: 0;
|
|
494
|
-
left: 0;
|
|
495
|
-
display: flex;
|
|
496
|
-
width: 100%;
|
|
497
|
-
height: 72px;
|
|
498
|
-
align-items: flex-start;
|
|
499
|
-
justify-content: center;
|
|
500
|
-
|
|
501
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
502
480
|
|
|
503
|
-
|
|
504
|
-
|
|
481
|
+
&[data-category-list-type='sub'] {
|
|
482
|
+
padding-bottom: 72px;
|
|
505
483
|
}
|
|
506
484
|
|
|
507
|
-
&[data-
|
|
508
|
-
|
|
509
|
-
.category-button {
|
|
510
|
-
width: 100%;
|
|
511
|
-
height: 48px;
|
|
512
|
-
}
|
|
485
|
+
&[data-is-displayed='false'] {
|
|
486
|
+
display: none;
|
|
513
487
|
}
|
|
514
|
-
|
|
515
|
-
display:
|
|
488
|
+
`;const De=f.default.div`
|
|
489
|
+
display: grid;
|
|
516
490
|
|
|
517
|
-
|
|
518
|
-
|
|
491
|
+
grid-template-columns: repeat(3, 1fr);
|
|
492
|
+
gap: 24px;
|
|
519
493
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
flex: 1;
|
|
523
|
-
margin: 0 -1px;
|
|
524
|
-
}
|
|
494
|
+
${e.MediaQueries.tdDown} {
|
|
495
|
+
grid-template-columns: repeat(1, 1fr);
|
|
525
496
|
}
|
|
497
|
+
`,Me=f.default.div`
|
|
498
|
+
height: 152px; // 120 + 16 * 2
|
|
499
|
+
position: absolute;
|
|
500
|
+
top: 0;
|
|
501
|
+
left: 0;
|
|
502
|
+
z-index: 3;
|
|
503
|
+
overflow: hidden;
|
|
504
|
+
border-radius: 4px;
|
|
505
|
+
padding: 16px;
|
|
506
|
+
width: 100%;
|
|
526
507
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
& > div {
|
|
531
|
-
flex: 1;
|
|
532
|
-
margin: 0 4px;
|
|
533
|
-
}
|
|
508
|
+
.img-container {
|
|
509
|
+
width: 100%;
|
|
510
|
+
height: 100%;
|
|
534
511
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
512
|
+
img {
|
|
513
|
+
width: 100%;
|
|
514
|
+
height: 100%;
|
|
515
|
+
display: block;
|
|
516
|
+
object-fit: contain;
|
|
517
|
+
}
|
|
518
|
+
${e.MediaQueries.tdDown} {
|
|
519
|
+
margin-bottom: 0;
|
|
520
|
+
padding: 0;
|
|
521
|
+
height: 100%;
|
|
522
|
+
position: unset;
|
|
523
|
+
width: 150px;
|
|
524
|
+
}
|
|
525
|
+
${e.MediaQueries.mbDown} {
|
|
526
|
+
width: 80px;
|
|
527
|
+
}
|
|
528
|
+
`,Re=f.default.div`
|
|
529
|
+
background-color: #ffffff;
|
|
530
|
+
border-radius: 4px;
|
|
541
531
|
width: 100%;
|
|
532
|
+
height: 100%;
|
|
533
|
+
`,ke=f.default.div`
|
|
534
|
+
display: flex;
|
|
535
|
+
margin-top: 1rem;
|
|
542
536
|
align-items: center;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
537
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
538
|
+
font-weight: 400;
|
|
539
|
+
font-size: 14px;
|
|
540
|
+
text-decoration: none;
|
|
541
|
+
${e.MediaQueries.tdDown} {
|
|
542
|
+
display: none;
|
|
547
543
|
}
|
|
548
|
-
`,f.default.
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
544
|
+
`,Pe=f.default.p`
|
|
545
|
+
font-size: 16px;
|
|
546
|
+
font-weight: 600;
|
|
547
|
+
line-height: 1.6;
|
|
548
|
+
color: ${e=>e.theme.colors.gray800};
|
|
549
|
+
${e.MediaQueries.tdDown} {
|
|
550
|
+
padding: 0;
|
|
551
|
+
}
|
|
552
|
+
`,Ge=f.default.p`
|
|
553
|
+
font-size: 14px;
|
|
554
|
+
line-height: 1.6;
|
|
555
|
+
font-weight: 400;
|
|
556
|
+
color: ${e=>e.theme.colors.gray600};
|
|
557
|
+
height: 40px;
|
|
558
|
+
text-overflow: ellipsis;
|
|
559
|
+
overflow: hidden;
|
|
560
|
+
display: -webkit-box;
|
|
561
|
+
-webkit-line-clamp: 2;
|
|
562
|
+
-webkit-box-orient: vertical;
|
|
563
|
+
margin-bottom: auto;
|
|
564
|
+
${e.MediaQueries.tdDown} {
|
|
565
|
+
height: unset;
|
|
566
|
+
padding: 0;
|
|
567
|
+
}
|
|
568
|
+
`,Ne=f.default.div`
|
|
559
569
|
display: flex;
|
|
560
|
-
flex-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
570
|
+
flex-direction: column;
|
|
571
|
+
gap: 8px;
|
|
572
|
+
flex: 1;
|
|
573
|
+
z-index: 1;
|
|
574
|
+
${e.MediaQueries.tdDown} {
|
|
575
|
+
gap: 4px;
|
|
576
|
+
}
|
|
577
|
+
`,Be="hhgcomp-navigation-menucareitem-contentwrapper",Ue=o.getDefaultClassWrapper(Ne,Be),He=f.default.a`
|
|
578
|
+
text-decoration: none;
|
|
579
|
+
border-radius: 4px;
|
|
580
|
+
background: ${i.theme.colors.white};
|
|
565
581
|
position: relative;
|
|
582
|
+
overflow: hidden;
|
|
583
|
+
padding: 16px;
|
|
566
584
|
display: flex;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
&[data-disabled-divider='false'] {
|
|
571
|
-
border-right: 1px solid #e4e8ec;
|
|
572
|
-
}
|
|
573
|
-
`,f.default.div`
|
|
574
|
-
width: 20%;
|
|
575
|
-
padding-right: 16px;
|
|
576
|
-
margin-bottom: 12px;
|
|
577
|
-
|
|
578
|
-
& > a {
|
|
579
|
-
color: ${e=>e.theme.colors.gray800};
|
|
580
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
581
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
582
|
-
line-height: 22px;
|
|
585
|
+
padding-top: 166px;
|
|
586
|
+
* {
|
|
587
|
+
pointer-events: none;
|
|
583
588
|
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
589
|
+
${e.MediaQueries.tdUp} {
|
|
590
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
591
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
592
|
+
gap: 30px;
|
|
593
|
+
flex-direction: column;
|
|
594
|
+
a {
|
|
595
|
+
display: flex;
|
|
596
|
+
width: 100%;
|
|
597
|
+
}
|
|
587
598
|
}
|
|
588
|
-
|
|
589
|
-
|
|
599
|
+
${e.MediaQueries.tdDown} {
|
|
600
|
+
padding-top: 16px;
|
|
601
|
+
a {
|
|
602
|
+
display: none;
|
|
603
|
+
}
|
|
604
|
+
grid-template-columns: 2fr 1fr;
|
|
605
|
+
gap: 10px;
|
|
606
|
+
display: grid;
|
|
607
|
+
max-height: 110px;
|
|
590
608
|
display: flex;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
align-items: center;
|
|
598
|
-
margin-right: 16px;
|
|
609
|
+
flex-direction: row-reverse;
|
|
610
|
+
> .${Be} {
|
|
611
|
+
flex: 1;
|
|
612
|
+
}
|
|
613
|
+
img {
|
|
614
|
+
width: 150px;
|
|
599
615
|
}
|
|
600
616
|
}
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
width: 33%;
|
|
605
|
-
height: 48px;
|
|
606
|
-
padding-right: 16px;
|
|
607
|
-
margin-bottom: 12px;
|
|
608
|
-
|
|
609
|
-
& > a {
|
|
617
|
+
${e.MediaQueries.mbDown} {
|
|
618
|
+
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
619
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
610
620
|
display: flex;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
line-height: 22px;
|
|
616
|
-
|
|
617
|
-
& > :first-child {
|
|
618
|
-
margin-right: 16px;
|
|
621
|
+
flex-direction: row-reverse;
|
|
622
|
+
img {
|
|
623
|
+
width: 80px;
|
|
624
|
+
height: 80px;
|
|
619
625
|
}
|
|
620
626
|
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
627
|
+
${e.MediaQueries.tdOnly} {
|
|
628
|
+
border: 1px solid ${i.theme.colors.neutral100};
|
|
624
629
|
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
634
|
-
line-height: 24px;
|
|
635
|
-
|
|
636
|
-
&[data-theme='marryBaby'] {
|
|
637
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
630
|
+
.bg-svg {
|
|
631
|
+
width: 100%;
|
|
632
|
+
max-width: 245px;
|
|
633
|
+
height: 100%;
|
|
634
|
+
top: 0;
|
|
635
|
+
right: -40px;
|
|
636
|
+
position: absolute;
|
|
637
|
+
display: inline-block;
|
|
638
638
|
}
|
|
639
|
-
`,f.default.div`
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
right: 0;
|
|
648
|
-
display: flex;
|
|
649
|
-
align-items: center;
|
|
650
|
-
cursor: pointer;
|
|
651
|
-
`,f.default.div`
|
|
652
|
-
display: block;
|
|
653
|
-
`,f.default.div`
|
|
654
|
-
.categories__spotlight {
|
|
655
|
-
display: grid;
|
|
656
|
-
margin: 16px;
|
|
657
|
-
margin-bottom: 32px;
|
|
658
|
-
grid-gap: 8px;
|
|
659
|
-
grid-template-columns: 1fr 1fr;
|
|
660
|
-
|
|
661
|
-
a {
|
|
662
|
-
text-decoration: none;
|
|
663
|
-
}
|
|
639
|
+
`,ze=f.default.div`
|
|
640
|
+
padding: 16px;
|
|
641
|
+
border-radius: 8px;
|
|
642
|
+
position: relative;
|
|
643
|
+
z-index: 1;
|
|
644
|
+
overflow: hidden;
|
|
645
|
+
a {
|
|
646
|
+
text-decoration: none;
|
|
664
647
|
}
|
|
665
648
|
|
|
666
|
-
.
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
svg {
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
background: ${e=>e.theme.colors.primaryBase};
|
|
681
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
682
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
683
|
-
color: white;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
&:not(.active) {
|
|
687
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
688
|
-
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
649
|
+
.bg-svg {
|
|
650
|
+
height: 100%;
|
|
651
|
+
position: absolute;
|
|
652
|
+
top: 0;
|
|
653
|
+
left: 0;
|
|
654
|
+
z-index: -1;
|
|
655
|
+
}
|
|
656
|
+
${e.MediaQueries.mbDown} {
|
|
657
|
+
display: block;
|
|
658
|
+
.bg-svg {
|
|
659
|
+
right: -24px;
|
|
660
|
+
left: unset;
|
|
661
|
+
top: 0;
|
|
662
|
+
transform: rotateY(180deg);
|
|
689
663
|
}
|
|
690
664
|
}
|
|
691
665
|
|
|
692
|
-
.
|
|
666
|
+
${e.MediaQueries.mbUp} {
|
|
693
667
|
display: grid;
|
|
694
|
-
grid-
|
|
695
|
-
|
|
696
|
-
svg {
|
|
697
|
-
margin-left: 16px;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
> div {
|
|
701
|
-
align-self: center;
|
|
702
|
-
|
|
703
|
-
&:nth-child(2) {
|
|
704
|
-
justify-self: center;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
668
|
+
grid-gap: 10px;
|
|
669
|
+
grid-template-columns: 1fr 3fr;
|
|
707
670
|
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
671
|
+
`,Qe=f.default.div`
|
|
672
|
+
font-weight: 400;
|
|
673
|
+
font-size: 14px;
|
|
674
|
+
line-height: 24px;
|
|
675
|
+
color: ${e=>e.theme.colors.gray600};
|
|
676
|
+
margin-bottom: 15px;
|
|
677
|
+
`,je=f.default.div`
|
|
678
|
+
font-weight: 600;
|
|
679
|
+
font-size: 16px;
|
|
680
|
+
line-height: 26px;
|
|
681
|
+
color: #000000;
|
|
682
|
+
margin-bottom: 4px;
|
|
683
|
+
`,Fe=f.default.div`
|
|
684
|
+
background: #fff;
|
|
685
|
+
padding: 5px;
|
|
686
|
+
display: flex;
|
|
687
|
+
align-items: center;
|
|
688
|
+
justify-content: center;
|
|
689
|
+
border-radius: 50px;
|
|
690
|
+
`,Ve=f.default.div`
|
|
691
|
+
display: flex;
|
|
692
|
+
justify-content: center;
|
|
693
|
+
align-items: center;
|
|
694
|
+
position: relative;
|
|
695
|
+
${e.MediaQueries.mbDown} {
|
|
696
|
+
justify-content: end;
|
|
697
|
+
min-height: 100px;
|
|
711
698
|
}
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
699
|
+
`,We=f.default.div`
|
|
700
|
+
margin-top: 10px;
|
|
701
|
+
background: #ffffff;
|
|
702
|
+
padding: 5px 15px;
|
|
703
|
+
position: relative;
|
|
704
|
+
${e.MediaQueries.mbDown} {
|
|
705
|
+
&:after {
|
|
706
|
+
position: absolute;
|
|
707
|
+
top: 0;
|
|
708
|
+
left: 0;
|
|
718
709
|
width: 100%;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
${e=>e.theme.colors.neutral100};
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
a {
|
|
726
|
-
display: block;
|
|
727
|
-
margin: 12px 0;
|
|
728
|
-
color: ${e=>e.theme.colors.gray800};
|
|
729
|
-
text-decoration: none;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
`,f.default.div`
|
|
734
|
-
width: 20%;
|
|
735
|
-
height: 2px;
|
|
736
|
-
|
|
737
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
738
|
-
border-radius: 2px;
|
|
739
|
-
`;const De=f.default.div`
|
|
740
|
-
padding: 16px;
|
|
741
|
-
padding-bottom: 12px;
|
|
742
|
-
.fake-search-input {
|
|
743
|
-
pointer-events: none;
|
|
744
|
-
input {
|
|
745
|
-
line-height: 20px;
|
|
746
|
-
padding-top: 10px;
|
|
747
|
-
padding-bottom: 10px;
|
|
710
|
+
height: 4px;
|
|
711
|
+
background-color: ${e=>e.theme.colors.neutral100};
|
|
712
|
+
content: '';
|
|
748
713
|
}
|
|
749
714
|
}
|
|
715
|
+
`,Ye=f.default.div`
|
|
716
|
+
margin: 15px 0;
|
|
717
|
+
display: flex;
|
|
718
|
+
`,Ke=f.default.a`
|
|
719
|
+
padding-left: 10px;
|
|
720
|
+
display: flex;
|
|
721
|
+
align-items: center;
|
|
722
|
+
text-decoration: none;
|
|
723
|
+
font-weight: 400;
|
|
724
|
+
font-size: 14px;
|
|
725
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
750
726
|
&[data-theme='marryBaby'] {
|
|
751
|
-
|
|
752
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
753
|
-
border-radius: 16px;
|
|
754
|
-
border: none;
|
|
755
|
-
}
|
|
727
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
756
728
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
overflow-y: auto;
|
|
760
|
-
flex: 1;
|
|
761
|
-
padding-bottom: 16px;
|
|
762
|
-
&::-webkit-scrollbar {
|
|
763
|
-
width: 0;
|
|
764
|
-
display: none;
|
|
729
|
+
img {
|
|
730
|
+
padding-left: 5px;
|
|
765
731
|
}
|
|
766
|
-
|
|
732
|
+
${e.MediaQueries.mbDown} {
|
|
733
|
+
margin-left: auto;
|
|
734
|
+
}
|
|
735
|
+
`,qe=f.default.div`
|
|
767
736
|
padding-right: 1rem;
|
|
768
737
|
margin-top: 10px;
|
|
769
738
|
background: #ffffff;
|
|
@@ -771,7 +740,7 @@
|
|
|
771
740
|
${e.MediaQueries.mbUp} {
|
|
772
741
|
border-right: 1px solid #e4e8ec;
|
|
773
742
|
}
|
|
774
|
-
`,
|
|
743
|
+
`,Xe=f.default.a`
|
|
775
744
|
padding: 10px 0;
|
|
776
745
|
position: relative;
|
|
777
746
|
|
|
@@ -819,19 +788,19 @@
|
|
|
819
788
|
}
|
|
820
789
|
}
|
|
821
790
|
}
|
|
822
|
-
`,
|
|
791
|
+
`,Ze=f.default.div`
|
|
823
792
|
margin: 15px 0;
|
|
824
793
|
${e.MediaQueries.mbDown} {
|
|
825
794
|
display: none;
|
|
826
795
|
}
|
|
827
|
-
`,
|
|
796
|
+
`,Je=f.default.div`
|
|
828
797
|
display: flex;
|
|
829
798
|
position: absolute;
|
|
830
799
|
right: 0;
|
|
831
800
|
${e.MediaQueries.mbUp} {
|
|
832
801
|
display: none;
|
|
833
802
|
}
|
|
834
|
-
`,
|
|
803
|
+
`,et=f.default.div`
|
|
835
804
|
display: flex;
|
|
836
805
|
align-items: center;
|
|
837
806
|
color: ${e=>e.theme.colors.primaryBase};
|
|
@@ -846,11 +815,11 @@
|
|
|
846
815
|
&[data-theme='marryBaby'] {
|
|
847
816
|
color: ${e=>e.theme.mbColors.pink};
|
|
848
817
|
}
|
|
849
|
-
`,
|
|
818
|
+
`,tt=f.default.div`
|
|
850
819
|
display: flex;
|
|
851
820
|
align-items: center;
|
|
852
821
|
margin-left: 10px;
|
|
853
|
-
`,
|
|
822
|
+
`,it=f.default.a`
|
|
854
823
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
855
824
|
&[data-theme='marryBaby'] {
|
|
856
825
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -862,269 +831,12 @@
|
|
|
862
831
|
position: relative;
|
|
863
832
|
display: flex;
|
|
864
833
|
align-items: center;
|
|
865
|
-
justify-content: center;
|
|
866
|
-
padding: 6px;
|
|
867
|
-
border-radius: 5px;
|
|
868
|
-
margin-top: 20px;
|
|
869
|
-
${e.MediaQueries.mbDown} {
|
|
870
|
-
display: none;
|
|
871
|
-
}
|
|
872
|
-
`;f.default.div`
|
|
873
|
-
& > a:not(:last-child) > div {
|
|
874
|
-
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
&[data-category-list-type='sub'] {
|
|
878
|
-
padding-bottom: 72px;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
&[data-is-displayed='false'] {
|
|
882
|
-
display: none;
|
|
883
|
-
}
|
|
884
|
-
`;const ze=f.default.div`
|
|
885
|
-
display: grid;
|
|
886
|
-
|
|
887
|
-
grid-template-columns: repeat(3, 1fr);
|
|
888
|
-
gap: 24px;
|
|
889
|
-
|
|
890
|
-
${e.MediaQueries.tdDown} {
|
|
891
|
-
grid-template-columns: repeat(1, 1fr);
|
|
892
|
-
}
|
|
893
|
-
`,Qe=f.default.div`
|
|
894
|
-
height: 152px; // 120 + 16 * 2
|
|
895
|
-
position: absolute;
|
|
896
|
-
top: 0;
|
|
897
|
-
left: 0;
|
|
898
|
-
z-index: 3;
|
|
899
|
-
overflow: hidden;
|
|
900
|
-
border-radius: 4px;
|
|
901
|
-
padding: 16px;
|
|
902
|
-
width: 100%;
|
|
903
|
-
|
|
904
|
-
.img-container {
|
|
905
|
-
width: 100%;
|
|
906
|
-
height: 100%;
|
|
907
|
-
}
|
|
908
|
-
img {
|
|
909
|
-
width: 100%;
|
|
910
|
-
height: 100%;
|
|
911
|
-
display: block;
|
|
912
|
-
object-fit: contain;
|
|
913
|
-
}
|
|
914
|
-
${e.MediaQueries.tdDown} {
|
|
915
|
-
margin-bottom: 0;
|
|
916
|
-
padding: 0;
|
|
917
|
-
height: 100%;
|
|
918
|
-
position: unset;
|
|
919
|
-
width: 150px;
|
|
920
|
-
}
|
|
921
|
-
${e.MediaQueries.mbDown} {
|
|
922
|
-
width: 80px;
|
|
923
|
-
}
|
|
924
|
-
`,je=f.default.div`
|
|
925
|
-
background-color: #ffffff;
|
|
926
|
-
border-radius: 4px;
|
|
927
|
-
width: 100%;
|
|
928
|
-
height: 100%;
|
|
929
|
-
`,Fe=f.default.div`
|
|
930
|
-
display: flex;
|
|
931
|
-
margin-top: 1rem;
|
|
932
|
-
align-items: center;
|
|
933
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
934
|
-
font-weight: 400;
|
|
935
|
-
font-size: 14px;
|
|
936
|
-
text-decoration: none;
|
|
937
|
-
${e.MediaQueries.tdDown} {
|
|
938
|
-
display: none;
|
|
939
|
-
}
|
|
940
|
-
`,Ve=f.default.p`
|
|
941
|
-
font-size: 16px;
|
|
942
|
-
font-weight: 600;
|
|
943
|
-
line-height: 1.6;
|
|
944
|
-
color: ${e=>e.theme.colors.gray800};
|
|
945
|
-
${e.MediaQueries.tdDown} {
|
|
946
|
-
padding: 0;
|
|
947
|
-
}
|
|
948
|
-
`,We=f.default.p`
|
|
949
|
-
font-size: 14px;
|
|
950
|
-
line-height: 1.6;
|
|
951
|
-
font-weight: 400;
|
|
952
|
-
color: ${e=>e.theme.colors.gray600};
|
|
953
|
-
height: 40px;
|
|
954
|
-
text-overflow: ellipsis;
|
|
955
|
-
overflow: hidden;
|
|
956
|
-
display: -webkit-box;
|
|
957
|
-
-webkit-line-clamp: 2;
|
|
958
|
-
-webkit-box-orient: vertical;
|
|
959
|
-
margin-bottom: auto;
|
|
960
|
-
${e.MediaQueries.tdDown} {
|
|
961
|
-
height: unset;
|
|
962
|
-
padding: 0;
|
|
963
|
-
}
|
|
964
|
-
`,Ye=f.default.div`
|
|
965
|
-
display: flex;
|
|
966
|
-
flex-direction: column;
|
|
967
|
-
gap: 8px;
|
|
968
|
-
flex: 1;
|
|
969
|
-
z-index: 1;
|
|
970
|
-
${e.MediaQueries.tdDown} {
|
|
971
|
-
gap: 4px;
|
|
972
|
-
}
|
|
973
|
-
`,Ke="hhgcomp-navigation-menucareitem-contentwrapper",qe=o.getDefaultClassWrapper(Ye,Ke),Xe=f.default.a`
|
|
974
|
-
text-decoration: none;
|
|
975
|
-
border-radius: 4px;
|
|
976
|
-
background: ${i.theme.colors.white};
|
|
977
|
-
position: relative;
|
|
978
|
-
overflow: hidden;
|
|
979
|
-
padding: 16px;
|
|
980
|
-
display: flex;
|
|
981
|
-
padding-top: 166px;
|
|
982
|
-
* {
|
|
983
|
-
pointer-events: none;
|
|
984
|
-
}
|
|
985
|
-
${e.MediaQueries.tdUp} {
|
|
986
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
987
|
-
gap: 30px;
|
|
988
|
-
flex-direction: column;
|
|
989
|
-
a {
|
|
990
|
-
display: flex;
|
|
991
|
-
width: 100%;
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
${e.MediaQueries.tdDown} {
|
|
995
|
-
padding-top: 16px;
|
|
996
|
-
a {
|
|
997
|
-
display: none;
|
|
998
|
-
}
|
|
999
|
-
grid-template-columns: 2fr 1fr;
|
|
1000
|
-
gap: 10px;
|
|
1001
|
-
display: grid;
|
|
1002
|
-
max-height: 110px;
|
|
1003
|
-
display: flex;
|
|
1004
|
-
flex-direction: row-reverse;
|
|
1005
|
-
> .${Ke} {
|
|
1006
|
-
flex: 1;
|
|
1007
|
-
}
|
|
1008
|
-
img {
|
|
1009
|
-
width: 150px;
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
${e.MediaQueries.mbDown} {
|
|
1013
|
-
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1014
|
-
display: flex;
|
|
1015
|
-
flex-direction: row-reverse;
|
|
1016
|
-
img {
|
|
1017
|
-
width: 80px;
|
|
1018
|
-
height: 80px;
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
${e.MediaQueries.tdOnly} {
|
|
1022
|
-
border: 1px solid ${i.theme.colors.neutral100};
|
|
1023
|
-
}
|
|
1024
|
-
.bg-svg {
|
|
1025
|
-
width: 100%;
|
|
1026
|
-
max-width: 245px;
|
|
1027
|
-
height: 100%;
|
|
1028
|
-
top: 0;
|
|
1029
|
-
right: -40px;
|
|
1030
|
-
position: absolute;
|
|
1031
|
-
display: inline-block;
|
|
1032
|
-
}
|
|
1033
|
-
`,Ze=f.default.div`
|
|
1034
|
-
padding: 16px;
|
|
1035
|
-
border-radius: 8px;
|
|
1036
|
-
position: relative;
|
|
1037
|
-
z-index: 1;
|
|
1038
|
-
overflow: hidden;
|
|
1039
|
-
a {
|
|
1040
|
-
text-decoration: none;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.bg-svg {
|
|
1044
|
-
height: 100%;
|
|
1045
|
-
position: absolute;
|
|
1046
|
-
top: 0;
|
|
1047
|
-
left: 0;
|
|
1048
|
-
z-index: -1;
|
|
1049
|
-
}
|
|
1050
|
-
${e.MediaQueries.mbDown} {
|
|
1051
|
-
display: block;
|
|
1052
|
-
.bg-svg {
|
|
1053
|
-
right: -24px;
|
|
1054
|
-
left: unset;
|
|
1055
|
-
top: 0;
|
|
1056
|
-
transform: rotateY(180deg);
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
${e.MediaQueries.mbUp} {
|
|
1061
|
-
display: grid;
|
|
1062
|
-
grid-gap: 10px;
|
|
1063
|
-
grid-template-columns: 1fr 3fr;
|
|
1064
|
-
}
|
|
1065
|
-
`,Je=f.default.div`
|
|
1066
|
-
font-weight: 400;
|
|
1067
|
-
font-size: 14px;
|
|
1068
|
-
line-height: 24px;
|
|
1069
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1070
|
-
margin-bottom: 15px;
|
|
1071
|
-
`,et=f.default.div`
|
|
1072
|
-
font-weight: 600;
|
|
1073
|
-
font-size: 16px;
|
|
1074
|
-
line-height: 26px;
|
|
1075
|
-
color: #000000;
|
|
1076
|
-
margin-bottom: 4px;
|
|
1077
|
-
`,tt=f.default.div`
|
|
1078
|
-
background: #fff;
|
|
1079
|
-
padding: 5px;
|
|
1080
|
-
display: flex;
|
|
1081
|
-
align-items: center;
|
|
1082
|
-
justify-content: center;
|
|
1083
|
-
border-radius: 50px;
|
|
1084
|
-
`,it=f.default.div`
|
|
1085
|
-
display: flex;
|
|
1086
|
-
justify-content: center;
|
|
1087
|
-
align-items: center;
|
|
1088
|
-
position: relative;
|
|
1089
|
-
${e.MediaQueries.mbDown} {
|
|
1090
|
-
justify-content: end;
|
|
1091
|
-
min-height: 100px;
|
|
1092
|
-
}
|
|
1093
|
-
`,ot=f.default.div`
|
|
1094
|
-
margin-top: 10px;
|
|
1095
|
-
background: #ffffff;
|
|
1096
|
-
padding: 5px 15px;
|
|
1097
|
-
position: relative;
|
|
1098
|
-
${e.MediaQueries.mbDown} {
|
|
1099
|
-
&:after {
|
|
1100
|
-
position: absolute;
|
|
1101
|
-
top: 0;
|
|
1102
|
-
left: 0;
|
|
1103
|
-
width: 100%;
|
|
1104
|
-
height: 4px;
|
|
1105
|
-
background-color: ${e=>e.theme.colors.neutral100};
|
|
1106
|
-
content: '';
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
`,at=f.default.div`
|
|
1110
|
-
margin: 15px 0;
|
|
1111
|
-
display: flex;
|
|
1112
|
-
`,rt=f.default.a`
|
|
1113
|
-
padding-left: 10px;
|
|
1114
|
-
display: flex;
|
|
1115
|
-
align-items: center;
|
|
1116
|
-
text-decoration: none;
|
|
1117
|
-
font-weight: 400;
|
|
1118
|
-
font-size: 14px;
|
|
1119
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1120
|
-
&[data-theme='marryBaby'] {
|
|
1121
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1122
|
-
}
|
|
1123
|
-
img {
|
|
1124
|
-
padding-left: 5px;
|
|
1125
|
-
}
|
|
834
|
+
justify-content: center;
|
|
835
|
+
padding: 6px;
|
|
836
|
+
border-radius: 5px;
|
|
837
|
+
margin-top: 20px;
|
|
1126
838
|
${e.MediaQueries.mbDown} {
|
|
1127
|
-
|
|
839
|
+
display: none;
|
|
1128
840
|
}
|
|
1129
841
|
`;f.default.div`
|
|
1130
842
|
&[data-category-list-type='sub'] {
|
|
@@ -1139,7 +851,7 @@
|
|
|
1139
851
|
width: 100%;
|
|
1140
852
|
margin-bottom: 8px;
|
|
1141
853
|
}
|
|
1142
|
-
`;const
|
|
854
|
+
`;const ot=f.default.div`
|
|
1143
855
|
display: grid;
|
|
1144
856
|
|
|
1145
857
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -1148,7 +860,7 @@
|
|
|
1148
860
|
gap: 12px;
|
|
1149
861
|
grid-template-columns: 1fr;
|
|
1150
862
|
}
|
|
1151
|
-
`,
|
|
863
|
+
`,at=f.default.a`
|
|
1152
864
|
width: 100%;
|
|
1153
865
|
display: flex;
|
|
1154
866
|
align-items: center;
|
|
@@ -1156,7 +868,7 @@
|
|
|
1156
868
|
* {
|
|
1157
869
|
pointer-events: none;
|
|
1158
870
|
}
|
|
1159
|
-
`,
|
|
871
|
+
`,rt=f.default.div`
|
|
1160
872
|
border-radius: 5px;
|
|
1161
873
|
display: block;
|
|
1162
874
|
overflow: hidden;
|
|
@@ -1177,7 +889,7 @@
|
|
|
1177
889
|
width: 72px;
|
|
1178
890
|
padding-top: 100px;
|
|
1179
891
|
}
|
|
1180
|
-
`,
|
|
892
|
+
`,lt=f.default.p`
|
|
1181
893
|
font-size: 16px;
|
|
1182
894
|
font-weight: 400;
|
|
1183
895
|
padding: 4px 15px;
|
|
@@ -1189,11 +901,13 @@
|
|
|
1189
901
|
}
|
|
1190
902
|
`;f.default.div`
|
|
1191
903
|
& > :not(:last-child) {
|
|
1192
|
-
border-bottom: 1px solid
|
|
904
|
+
border-bottom: 1px solid
|
|
905
|
+
${e=>e.theme.colors.neutral100};
|
|
1193
906
|
}
|
|
1194
907
|
|
|
1195
908
|
& > div > :not(:last-child) {
|
|
1196
|
-
border-bottom: 1px solid
|
|
909
|
+
border-bottom: 1px solid
|
|
910
|
+
${e=>e.theme.colors.neutral100};
|
|
1197
911
|
}
|
|
1198
912
|
|
|
1199
913
|
&[data-category-list-type='sub'] {
|
|
@@ -1208,7 +922,7 @@
|
|
|
1208
922
|
width: 100%;
|
|
1209
923
|
margin-bottom: 8px;
|
|
1210
924
|
}
|
|
1211
|
-
`;const
|
|
925
|
+
`;const nt=f.default.div`
|
|
1212
926
|
display: grid;
|
|
1213
927
|
grid-template-columns: repeat(2, 1fr);
|
|
1214
928
|
grid-gap: 48px;
|
|
@@ -1219,7 +933,7 @@
|
|
|
1219
933
|
${e.MediaQueries.mbDown} {
|
|
1220
934
|
grid-gap: 24px;
|
|
1221
935
|
}
|
|
1222
|
-
`,
|
|
936
|
+
`,st=f.default.div`
|
|
1223
937
|
width: ${e=>e.size||40}px;
|
|
1224
938
|
height: ${e=>e.size||40}px;
|
|
1225
939
|
flex-shrink: 0;
|
|
@@ -1252,15 +966,15 @@
|
|
|
1252
966
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
1253
967
|
}
|
|
1254
968
|
}
|
|
1255
|
-
`,
|
|
969
|
+
`,dt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(be),u="boolean"==typeof i?i:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),b.default.createElement(st,Object.assign({"data-is-marrybaby":u,className:t,style:o,size:s},d),r&&!c?b.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):b.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},pt=f.default.div`
|
|
1256
970
|
padding: 5px;
|
|
1257
971
|
flex: 1;
|
|
1258
|
-
`,
|
|
972
|
+
`,ut=f.default.img`
|
|
1259
973
|
width: 88px;
|
|
1260
974
|
height: 88px;
|
|
1261
975
|
border-radius: 4px;
|
|
1262
976
|
object-fit: cover;
|
|
1263
|
-
`,
|
|
977
|
+
`,ct=f.default.div`
|
|
1264
978
|
font-size: 12px;
|
|
1265
979
|
font-weight: 600;
|
|
1266
980
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1269,7 +983,7 @@
|
|
|
1269
983
|
font-weight: 400;
|
|
1270
984
|
letter-spacing: -0.2px;
|
|
1271
985
|
}
|
|
1272
|
-
`,
|
|
986
|
+
`,mt=f.default.div`
|
|
1273
987
|
text-decoration: none;
|
|
1274
988
|
font-size: 12px;
|
|
1275
989
|
font-weight: 400;
|
|
@@ -1278,15 +992,15 @@
|
|
|
1278
992
|
font-weight: 400;
|
|
1279
993
|
letter-spacing: -0.2px;
|
|
1280
994
|
}
|
|
1281
|
-
`,
|
|
995
|
+
`,gt=f.default.div`
|
|
1282
996
|
font-size: 12px;
|
|
1283
997
|
font-weight: 400;
|
|
1284
998
|
color: ${e=>e.theme.colors.gray600};
|
|
1285
|
-
`,
|
|
999
|
+
`,ht=f.default.div`
|
|
1286
1000
|
font-size: 12px;
|
|
1287
1001
|
font-weight: 400;
|
|
1288
1002
|
color: ${e=>e.theme.colors.gray600};
|
|
1289
|
-
`,
|
|
1003
|
+
`,xt=f.default.a`
|
|
1290
1004
|
display: flex;
|
|
1291
1005
|
gap: 10px;
|
|
1292
1006
|
text-decoration: none;
|
|
@@ -1296,7 +1010,8 @@
|
|
|
1296
1010
|
display: block;
|
|
1297
1011
|
width: 100%;
|
|
1298
1012
|
height: 1px;
|
|
1299
|
-
border-top: 1px dashed
|
|
1013
|
+
border-top: 1px dashed
|
|
1014
|
+
${e=>e.theme.colors.neutral100};
|
|
1300
1015
|
position: absolute;
|
|
1301
1016
|
bottom: -24px;
|
|
1302
1017
|
${e.MediaQueries.tdOnly} {
|
|
@@ -1318,12 +1033,12 @@
|
|
|
1318
1033
|
}
|
|
1319
1034
|
}
|
|
1320
1035
|
}
|
|
1321
|
-
`,
|
|
1036
|
+
`,ft=f.default.div`
|
|
1322
1037
|
display: flex;
|
|
1323
1038
|
gap: 10px;
|
|
1324
1039
|
vertical-align: middle;
|
|
1325
1040
|
align-items: center;
|
|
1326
|
-
`,
|
|
1041
|
+
`,bt=f.default.div`
|
|
1327
1042
|
margin-top: 8px;
|
|
1328
1043
|
font-size: 16px;
|
|
1329
1044
|
font-weight: 600;
|
|
@@ -1335,12 +1050,12 @@
|
|
|
1335
1050
|
line-height: 24px;
|
|
1336
1051
|
letter-spacing: -0.2px;
|
|
1337
1052
|
}
|
|
1338
|
-
`,
|
|
1053
|
+
`,yt=f.default.div`
|
|
1339
1054
|
display: flex;
|
|
1340
1055
|
flex-wrap: wrap;
|
|
1341
1056
|
align-items: center;
|
|
1342
1057
|
column-gap: 5px;
|
|
1343
|
-
`,
|
|
1058
|
+
`,_t=f.default.div`
|
|
1344
1059
|
display: flex;
|
|
1345
1060
|
gap: 4px;
|
|
1346
1061
|
flex-direction: column;
|
|
@@ -1348,7 +1063,7 @@
|
|
|
1348
1063
|
&[data-is-display='false'] {
|
|
1349
1064
|
display: none;
|
|
1350
1065
|
}
|
|
1351
|
-
`;const
|
|
1066
|
+
`;const vt=f.default.div`
|
|
1352
1067
|
display: grid;
|
|
1353
1068
|
|
|
1354
1069
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1357,7 +1072,7 @@
|
|
|
1357
1072
|
grid-template-columns: 1fr;
|
|
1358
1073
|
gap: 12px;
|
|
1359
1074
|
}
|
|
1360
|
-
`,
|
|
1075
|
+
`,wt=f.default.a`
|
|
1361
1076
|
text-decoration: none;
|
|
1362
1077
|
border-radius: 4px;
|
|
1363
1078
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1388,7 +1103,7 @@
|
|
|
1388
1103
|
display: flex;
|
|
1389
1104
|
align-items: center;
|
|
1390
1105
|
}
|
|
1391
|
-
`,
|
|
1106
|
+
`,Et=f.default.div`
|
|
1392
1107
|
width: 64px;
|
|
1393
1108
|
height: 64px;
|
|
1394
1109
|
background: white;
|
|
@@ -1411,19 +1126,19 @@
|
|
|
1411
1126
|
top: unset;
|
|
1412
1127
|
right: unset;
|
|
1413
1128
|
}
|
|
1414
|
-
`,
|
|
1129
|
+
`,Tt=f.default.div`
|
|
1415
1130
|
display: flex;
|
|
1416
1131
|
align-items: center;
|
|
1417
1132
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1418
1133
|
font-weight: 400;
|
|
1419
1134
|
font-size: 14px;
|
|
1420
1135
|
text-decoration: none;
|
|
1421
|
-
`,
|
|
1136
|
+
`,At=f.default.p`
|
|
1422
1137
|
font-size: 16px;
|
|
1423
1138
|
font-weight: 600;
|
|
1424
1139
|
line-height: 1.4;
|
|
1425
1140
|
color: ${e=>e.theme.colors.gray800};
|
|
1426
|
-
`,
|
|
1141
|
+
`,Ot=f.default.p`
|
|
1427
1142
|
font-size: 14px;
|
|
1428
1143
|
line-height: 1.4;
|
|
1429
1144
|
font-weight: 400;
|
|
@@ -1438,7 +1153,7 @@
|
|
|
1438
1153
|
${e.MediaQueries.tdDown} {
|
|
1439
1154
|
display: none;
|
|
1440
1155
|
}
|
|
1441
|
-
|
|
1156
|
+
`,St=f.default.div`
|
|
1442
1157
|
display: flex;
|
|
1443
1158
|
flex-direction: column;
|
|
1444
1159
|
flex: 1;
|
|
@@ -1450,7 +1165,7 @@
|
|
|
1450
1165
|
gap: 4px;
|
|
1451
1166
|
flex: 1;
|
|
1452
1167
|
}
|
|
1453
|
-
`,
|
|
1168
|
+
`,It=f.default.a`
|
|
1454
1169
|
text-decoration: none;
|
|
1455
1170
|
border-radius: 12px;
|
|
1456
1171
|
|
|
@@ -1530,125 +1245,416 @@
|
|
|
1530
1245
|
display: none;
|
|
1531
1246
|
}
|
|
1532
1247
|
}
|
|
1533
|
-
`,
|
|
1534
|
-
width: 48px;
|
|
1248
|
+
`,Lt=f.default.div`
|
|
1249
|
+
width: 48px;
|
|
1250
|
+
height: 48px;
|
|
1251
|
+
background: white;
|
|
1252
|
+
position: absolute;
|
|
1253
|
+
right: 25px;
|
|
1254
|
+
top: 35px;
|
|
1255
|
+
z-index: 3;
|
|
1256
|
+
border-radius: 50%;
|
|
1257
|
+
img {
|
|
1258
|
+
position: absolute;
|
|
1259
|
+
width: 36px;
|
|
1260
|
+
height: 36px;
|
|
1261
|
+
top: 50%;
|
|
1262
|
+
left: 50%;
|
|
1263
|
+
display: block;
|
|
1264
|
+
transform: translate(-50%, -50%);
|
|
1265
|
+
}
|
|
1266
|
+
${e.MediaQueries.tdDown} {
|
|
1267
|
+
position: relative;
|
|
1268
|
+
top: unset;
|
|
1269
|
+
right: unset;
|
|
1270
|
+
}
|
|
1271
|
+
${e.MediaQueries.mbDown} {
|
|
1272
|
+
position: absolute;
|
|
1273
|
+
left: 32px;
|
|
1274
|
+
top: 28px;
|
|
1275
|
+
}
|
|
1276
|
+
`,$t=f.default.div`
|
|
1277
|
+
display: flex;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
background: white;
|
|
1280
|
+
font-weight: 400;
|
|
1281
|
+
font-size: 14px;
|
|
1282
|
+
text-decoration: none;
|
|
1283
|
+
border-radius: 50%;
|
|
1284
|
+
width: 20px;
|
|
1285
|
+
height: 20px;
|
|
1286
|
+
|
|
1287
|
+
svg path {
|
|
1288
|
+
fill: ${e=>e.theme.mbColors.gray};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
${e.MediaQueries.tdDown} {
|
|
1292
|
+
background: none;
|
|
1293
|
+
width: 100%;
|
|
1294
|
+
font-weight: 400;
|
|
1295
|
+
font-size: 12px;
|
|
1296
|
+
line-height: 18px;
|
|
1297
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1298
|
+
padding-left: 16px;
|
|
1299
|
+
}
|
|
1300
|
+
`,Ct=f.default.p`
|
|
1301
|
+
font-weight: 600;
|
|
1302
|
+
font-size: 14px;
|
|
1303
|
+
line-height: 24px;
|
|
1304
|
+
letter-spacing: -0.2px;
|
|
1305
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1306
|
+
`,Dt=f.default.p`
|
|
1307
|
+
font-weight: 400;
|
|
1308
|
+
font-size: 12px;
|
|
1309
|
+
line-height: 18px;
|
|
1310
|
+
letter-spacing: -0.2px;
|
|
1311
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1312
|
+
height: 54px;
|
|
1313
|
+
text-overflow: ellipsis;
|
|
1314
|
+
overflow: hidden;
|
|
1315
|
+
display: -webkit-box;
|
|
1316
|
+
-webkit-line-clamp: 3;
|
|
1317
|
+
-webkit-box-orient: vertical;
|
|
1318
|
+
margin-bottom: auto;
|
|
1319
|
+
${e.MediaQueries.tdDown} {
|
|
1320
|
+
display: none;
|
|
1321
|
+
}
|
|
1322
|
+
`,Mt=f.default.div`
|
|
1323
|
+
display: flex;
|
|
1324
|
+
flex: 1;
|
|
1325
|
+
z-index: 1;
|
|
1326
|
+
align-items: flex-end;
|
|
1327
|
+
justify-content: flex-end;
|
|
1328
|
+
${e.MediaQueries.tdUp} {
|
|
1329
|
+
gap: 8px;
|
|
1330
|
+
flex-direction: row;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
${e.MediaQueries.tdDown} {
|
|
1334
|
+
align-items: flex-start;
|
|
1335
|
+
justify-content: flex-start;
|
|
1336
|
+
gap: 4px;
|
|
1337
|
+
}
|
|
1338
|
+
`,Rt=f.default.div`
|
|
1339
|
+
display: flex;
|
|
1340
|
+
flex-direction: column;
|
|
1341
|
+
flex: 1;
|
|
1342
|
+
z-index: 1;
|
|
1343
|
+
${e.MediaQueries.tdUp} {
|
|
1344
|
+
gap: 8px;
|
|
1345
|
+
}
|
|
1346
|
+
${e.MediaQueries.tdDown} {
|
|
1347
|
+
gap: 4px;
|
|
1348
|
+
flex: 1;
|
|
1349
|
+
padding-left: 16px;
|
|
1350
|
+
}
|
|
1351
|
+
`,kt=f.default.div`
|
|
1352
|
+
display: flex;
|
|
1353
|
+
flex-direction: row;
|
|
1354
|
+
flex: 1;
|
|
1355
|
+
z-index: 1;
|
|
1356
|
+
${e.MediaQueries.tdUp} {
|
|
1357
|
+
gap: 8px;
|
|
1358
|
+
justify-content: flex-end;
|
|
1359
|
+
align-items: flex-end;
|
|
1360
|
+
}
|
|
1361
|
+
${e.MediaQueries.tdDown} {
|
|
1362
|
+
flex-direction: column;
|
|
1363
|
+
justify-content: flex-start;
|
|
1364
|
+
align-items: flex-start;
|
|
1365
|
+
}
|
|
1366
|
+
`,Pt=f.default.div`
|
|
1367
|
+
position: fixed;
|
|
1368
|
+
z-index: 201;
|
|
1369
|
+
top: calc(100% + 1px); // border 1px
|
|
1370
|
+
width: 100%;
|
|
1371
|
+
height: calc(100vh - var(--header-bottom));
|
|
1372
|
+
overflow-x: hidden;
|
|
1373
|
+
overflow-y: auto;
|
|
1374
|
+
background: white;
|
|
1375
|
+
display: flex;
|
|
1376
|
+
flex-direction: column;
|
|
1377
|
+
padding-bottom: 0;
|
|
1378
|
+
left: 0;
|
|
1379
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
1380
|
+
position: unset;
|
|
1381
|
+
}
|
|
1382
|
+
`;f.default.div`
|
|
1383
|
+
position: fixed;
|
|
1384
|
+
bottom: 0;
|
|
1385
|
+
left: 0;
|
|
1386
|
+
display: flex;
|
|
1387
|
+
width: 100%;
|
|
1388
|
+
height: 72px;
|
|
1389
|
+
align-items: flex-start;
|
|
1390
|
+
justify-content: center;
|
|
1391
|
+
|
|
1392
|
+
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
1393
|
+
|
|
1394
|
+
.button-image {
|
|
1395
|
+
stroke-color: blue;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
&[data-site-type='marryBaby'] {
|
|
1399
|
+
padding: 0 16px;
|
|
1400
|
+
.category-button {
|
|
1401
|
+
width: 100%;
|
|
1402
|
+
height: 48px;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
`,f.default.div`
|
|
1406
|
+
display: flex;
|
|
1407
|
+
|
|
1408
|
+
&[data-card-array-no-margin-style='true'] {
|
|
1409
|
+
margin: 8px 0;
|
|
1410
|
+
|
|
1411
|
+
& > div {
|
|
1412
|
+
width: 0;
|
|
1413
|
+
flex: 1;
|
|
1414
|
+
margin: 0 -1px;
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
&[data-card-array-no-margin-style='false'] {
|
|
1419
|
+
margin: 8px -4px;
|
|
1420
|
+
|
|
1421
|
+
& > div {
|
|
1422
|
+
flex: 1;
|
|
1423
|
+
margin: 0 4px;
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
`,f.default.div`
|
|
1427
|
+
margin-top: 64px;
|
|
1428
|
+
`,f.default.div`
|
|
1429
|
+
padding: 24px 0;
|
|
1430
|
+
`,f.default.div`
|
|
1431
|
+
display: flex;
|
|
1432
|
+
width: 100%;
|
|
1433
|
+
align-items: center;
|
|
1434
|
+
justify-content: center;
|
|
1435
|
+
|
|
1436
|
+
& > div:first-child {
|
|
1437
|
+
margin-right: 8px;
|
|
1438
|
+
}
|
|
1439
|
+
`,f.default.div`
|
|
1440
|
+
z-index: ${re};
|
|
1441
|
+
align-items: center;
|
|
1442
|
+
|
|
1443
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
1444
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1445
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
1446
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1447
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1448
|
+
`,f.default.div`
|
|
1449
|
+
position: relative;
|
|
1450
|
+
display: flex;
|
|
1451
|
+
flex-wrap: wrap;
|
|
1452
|
+
align-items: flex-start;
|
|
1453
|
+
justify-content: flex-start;
|
|
1454
|
+
padding: 48px 0;
|
|
1455
|
+
`,f.default.div`
|
|
1456
|
+
position: relative;
|
|
1457
|
+
display: flex;
|
|
1458
|
+
flex-wrap: wrap;
|
|
1459
|
+
align-items: flex-start;
|
|
1460
|
+
justify-content: flex-start;
|
|
1461
|
+
&[data-disabled-divider='false'] {
|
|
1462
|
+
border-right: 1px solid #e4e8ec;
|
|
1463
|
+
}
|
|
1464
|
+
`,f.default.div`
|
|
1465
|
+
width: 20%;
|
|
1466
|
+
padding-right: 16px;
|
|
1467
|
+
margin-bottom: 12px;
|
|
1468
|
+
|
|
1469
|
+
& > a {
|
|
1470
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1471
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1472
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1473
|
+
line-height: 22px;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
& > a:hover {
|
|
1477
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.iconMenu {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
align-items: center;
|
|
1483
|
+
|
|
1484
|
+
> .imageContainer {
|
|
1485
|
+
display: flex;
|
|
1486
|
+
width: 32px;
|
|
1487
|
+
min-width: 32px;
|
|
1488
|
+
align-items: center;
|
|
1489
|
+
margin-right: 16px;
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
`,f.default.div`
|
|
1493
|
+
display: none;
|
|
1494
|
+
`,f.default.div`
|
|
1495
|
+
width: 33%;
|
|
1535
1496
|
height: 48px;
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
height:
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1497
|
+
padding-right: 16px;
|
|
1498
|
+
margin-bottom: 12px;
|
|
1499
|
+
|
|
1500
|
+
& > a {
|
|
1501
|
+
display: flex;
|
|
1502
|
+
align-items: center;
|
|
1503
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1504
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1505
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1506
|
+
line-height: 22px;
|
|
1507
|
+
|
|
1508
|
+
& > :first-child {
|
|
1509
|
+
margin-right: 16px;
|
|
1510
|
+
}
|
|
1550
1511
|
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
right: unset;
|
|
1512
|
+
|
|
1513
|
+
& > a > p:hover {
|
|
1514
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1555
1515
|
}
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1516
|
+
`,f.default.div`
|
|
1517
|
+
display: flex;
|
|
1518
|
+
align-items: center;
|
|
1519
|
+
|
|
1520
|
+
padding-right: 16px;
|
|
1521
|
+
margin-bottom: 12px;
|
|
1522
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1523
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1524
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
1525
|
+
line-height: 24px;
|
|
1526
|
+
|
|
1527
|
+
&[data-theme='marryBaby'] {
|
|
1528
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1560
1529
|
}
|
|
1561
|
-
`,
|
|
1530
|
+
`,f.default.div`
|
|
1562
1531
|
display: flex;
|
|
1563
1532
|
align-items: center;
|
|
1564
|
-
background: white;
|
|
1565
|
-
font-weight: 400;
|
|
1566
|
-
font-size: 14px;
|
|
1567
|
-
text-decoration: none;
|
|
1568
|
-
border-radius: 50%;
|
|
1569
|
-
width: 20px;
|
|
1570
|
-
height: 20px;
|
|
1571
1533
|
|
|
1572
|
-
|
|
1573
|
-
|
|
1534
|
+
margin-left: 10px;
|
|
1535
|
+
`,f.default.div`
|
|
1536
|
+
position: absolute;
|
|
1537
|
+
top: 16px;
|
|
1538
|
+
right: 0;
|
|
1539
|
+
display: flex;
|
|
1540
|
+
align-items: center;
|
|
1541
|
+
cursor: pointer;
|
|
1542
|
+
`,f.default.div`
|
|
1543
|
+
display: block;
|
|
1544
|
+
`,f.default.div`
|
|
1545
|
+
.categories__spotlight {
|
|
1546
|
+
display: grid;
|
|
1547
|
+
margin: 16px;
|
|
1548
|
+
margin-bottom: 32px;
|
|
1549
|
+
grid-gap: 8px;
|
|
1550
|
+
grid-template-columns: 1fr 1fr;
|
|
1551
|
+
|
|
1552
|
+
a {
|
|
1553
|
+
text-decoration: none;
|
|
1554
|
+
}
|
|
1574
1555
|
}
|
|
1575
1556
|
|
|
1576
|
-
|
|
1577
|
-
|
|
1557
|
+
.categoryCard {
|
|
1558
|
+
display: flex;
|
|
1578
1559
|
width: 100%;
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1560
|
+
flex-direction: column;
|
|
1561
|
+
align-items: center;
|
|
1562
|
+
padding: 16px;
|
|
1563
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1564
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1565
|
+
|
|
1566
|
+
svg {
|
|
1567
|
+
margin-bottom: 4px;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
&.active {
|
|
1571
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
1572
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
1573
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1574
|
+
color: white;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
&:not(.active) {
|
|
1578
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1579
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1580
|
+
}
|
|
1584
1581
|
}
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
-webkit-line-clamp: 3;
|
|
1602
|
-
-webkit-box-orient: vertical;
|
|
1603
|
-
margin-bottom: auto;
|
|
1604
|
-
${e.MediaQueries.tdDown} {
|
|
1605
|
-
display: none;
|
|
1582
|
+
|
|
1583
|
+
.amp__menu-header {
|
|
1584
|
+
display: grid;
|
|
1585
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
1586
|
+
|
|
1587
|
+
svg {
|
|
1588
|
+
margin-left: 16px;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
> div {
|
|
1592
|
+
align-self: center;
|
|
1593
|
+
|
|
1594
|
+
&:nth-child(2) {
|
|
1595
|
+
justify-self: center;
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1606
1598
|
}
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
z-index: 1;
|
|
1611
|
-
align-items: flex-end;
|
|
1612
|
-
justify-content: flex-end;
|
|
1613
|
-
${e.MediaQueries.tdUp} {
|
|
1614
|
-
gap: 8px;
|
|
1615
|
-
flex-direction: row;
|
|
1599
|
+
|
|
1600
|
+
.logo {
|
|
1601
|
+
margin: 22px 0;
|
|
1616
1602
|
}
|
|
1617
1603
|
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1604
|
+
.categories {
|
|
1605
|
+
margin: 0 16px;
|
|
1606
|
+
|
|
1607
|
+
li {
|
|
1608
|
+
display: block;
|
|
1609
|
+
width: 100%;
|
|
1610
|
+
|
|
1611
|
+
+ li {
|
|
1612
|
+
border-top: 1px solid
|
|
1613
|
+
${e=>e.theme.colors.neutral100};
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
a {
|
|
1617
|
+
display: block;
|
|
1618
|
+
margin: 12px 0;
|
|
1619
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1620
|
+
text-decoration: none;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1622
1623
|
}
|
|
1623
|
-
`,
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1624
|
+
`,f.default.div`
|
|
1625
|
+
width: 20%;
|
|
1626
|
+
height: 2px;
|
|
1627
|
+
|
|
1628
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1629
|
+
border-radius: 2px;
|
|
1630
|
+
`;const Gt=f.default.div`
|
|
1631
|
+
padding: 16px;
|
|
1632
|
+
padding-bottom: 12px;
|
|
1633
|
+
.fake-search-input {
|
|
1634
|
+
pointer-events: none;
|
|
1635
|
+
input {
|
|
1636
|
+
line-height: 20px;
|
|
1637
|
+
padding-top: 10px;
|
|
1638
|
+
padding-bottom: 10px;
|
|
1639
|
+
}
|
|
1630
1640
|
}
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1641
|
+
&[data-theme='marryBaby'] {
|
|
1642
|
+
input {
|
|
1643
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
1644
|
+
border-radius: 16px;
|
|
1645
|
+
border: none;
|
|
1646
|
+
}
|
|
1635
1647
|
}
|
|
1636
1648
|
`,Nt=f.default.div`
|
|
1637
|
-
display:
|
|
1638
|
-
|
|
1649
|
+
display: block;
|
|
1650
|
+
overflow-y: auto;
|
|
1639
1651
|
flex: 1;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
align-items: flex-end;
|
|
1645
|
-
}
|
|
1646
|
-
${e.MediaQueries.tdDown} {
|
|
1647
|
-
flex-direction: column;
|
|
1648
|
-
justify-content: flex-start;
|
|
1649
|
-
align-items: flex-start;
|
|
1652
|
+
padding-bottom: 16px;
|
|
1653
|
+
&::-webkit-scrollbar {
|
|
1654
|
+
width: 0;
|
|
1655
|
+
display: none;
|
|
1650
1656
|
}
|
|
1651
|
-
`,
|
|
1657
|
+
`,Bt=f.default.div`
|
|
1652
1658
|
z-index: 201;
|
|
1653
1659
|
width: 100%;
|
|
1654
1660
|
align-items: center;
|
|
@@ -1661,7 +1667,9 @@
|
|
|
1661
1667
|
border-bottom: 1px solid
|
|
1662
1668
|
${e=>e.theme.colors.neutral100};
|
|
1663
1669
|
}
|
|
1664
|
-
|
|
1670
|
+
&[data-sponsored='true'] {
|
|
1671
|
+
border-bottom: none;
|
|
1672
|
+
}
|
|
1665
1673
|
&[data-marry-baby-tone='pink'] {
|
|
1666
1674
|
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1667
1675
|
}
|
|
@@ -1732,7 +1740,7 @@
|
|
|
1732
1740
|
right: 16px;
|
|
1733
1741
|
}
|
|
1734
1742
|
}
|
|
1735
|
-
`,
|
|
1743
|
+
`,Ut=f.default.div`
|
|
1736
1744
|
display: flex;
|
|
1737
1745
|
height: 100%;
|
|
1738
1746
|
align-items: center;
|
|
@@ -1774,11 +1782,14 @@
|
|
|
1774
1782
|
display: flex;
|
|
1775
1783
|
align-items: center;
|
|
1776
1784
|
height: 100%;
|
|
1777
|
-
flex-shrink: 0
|
|
1785
|
+
flex-shrink: 0;
|
|
1786
|
+
${e.MediaQueries.tdDown} {
|
|
1787
|
+
flex-shrink: 0.6;
|
|
1788
|
+
}
|
|
1778
1789
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1779
1790
|
gap: 2px;
|
|
1780
1791
|
${e.MediaQueries.pcUp} {
|
|
1781
|
-
padding: 0
|
|
1792
|
+
padding: 0 10px;
|
|
1782
1793
|
}
|
|
1783
1794
|
${e.MediaQueries.pcDown} {
|
|
1784
1795
|
padding: 0 6px;
|
|
@@ -1860,4 +1871,4 @@
|
|
|
1860
1871
|
font-weight: 700;
|
|
1861
1872
|
line-height: 22px;
|
|
1862
1873
|
text-decoration: none;
|
|
1863
|
-
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="ecom"===t,u="ecom"===t,c=m.getCurrentBaseUrl(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=U,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Bt,exports.StyledHeaderWrapper=Ut,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Be,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Ue,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=ot,exports.StyledLanguageChangeLink=P,exports.StyledLeft=it,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=B,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,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.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|
|
1874
|
+
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(xt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(pt,null,b.default.createElement(ft,null,b.default.createElement(dt,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(_t,null,b.default.createElement(ct,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(yt,null,b.default.createElement(mt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(ht,null,"•"),b.default.createElement(gt,{"data-theme":p},x)))),b.default.createElement(bt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(ut,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="marryBaby"!==o&&s.ECOM_LOCALES.includes(e),u="ecom"===t;let c=m.getCurrentBaseUrl(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Ce,exports.StyleSelectionPopup=B,exports.StyledAvatar=Y,exports.StyledBtnView=ke,exports.StyledBtnView$1=Tt,exports.StyledBtnView$2=$t,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=De,exports.StyledContainerItems$1=ot,exports.StyledContainerItems$2=nt,exports.StyledContainerItems$3=vt,exports.StyledContainerNoPosts=ze,exports.StyledContent=Rt,exports.StyledContentLeft=Fe,exports.StyledContentWrapper=Ue,exports.StyledContentWrapper$1=St,exports.StyledContentWrapper$2=Mt,exports.StyledDes=Ge,exports.StyledDes$1=Ot,exports.StyledDes$2=Dt,exports.StyledDescription=Qe,exports.StyledDisplayWrapper=z,exports.StyledHeader=Ut,exports.StyledHeaderWrapper=Bt,exports.StyledHeading=Ye,exports.StyledHeading$1=Ze,exports.StyledIconNav=Je,exports.StyledImageCard=Me,exports.StyledImageCard$1=rt,exports.StyledImageCard$2=Et,exports.StyledImageCard$3=Lt,exports.StyledImageCardInner=Re,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=tt,exports.StyledItem=He,exports.StyledItem$1=Xe,exports.StyledItem$2=at,exports.StyledItem$3=wt,exports.StyledItem$4=It,exports.StyledItemAll=et,exports.StyledItemGridLeft=qe,exports.StyledItemGridRight=We,exports.StyledLanguageChangeLink=P,exports.StyledLeft=Ve,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Pt,exports.StyledOption=U,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=Gt,exports.StyledTitle=Pe,exports.StyledTitle$1=je,exports.StyledTitle$2=lt,exports.StyledTitle$3=At,exports.StyledTitle$4=Ct,exports.StyledViewMore=Ke,exports.StyledViewMore$1=it,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=kt,exports.StyledWrapper=Nt,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.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=dt,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|