@hhgtech/hhg-components 1.27.127 → 1.27.129
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 +24 -24
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/bookingBtn/index.d.ts +1 -1
- package/build/components/atoms/text/index.d.ts +1 -1
- package/build/components/mantine/text/index.d.ts +8 -6
- package/build/components/mantine/text/index.styles.d.ts +1 -0
- package/build/components/mantine/theme/other.d.ts +2 -0
- package/build/components/mantine/theme/text.d.ts +11 -4
- package/build/components/molecules/index.d.ts +2 -1
- package/build/components/molecules/sidemenu/menuLink.d.ts +3 -2
- package/build/components/molecules/surveyOrPremiumBanner/index.d.ts +0 -7
- package/build/components/molecules/surveyOrPremiumBanner/types.d.ts +6 -0
- package/build/components/molecules/tabs/index.d.ts +3 -3
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-2bc73652.js → core-0d5b9513.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +41 -41
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/bookingBtn/index.d.ts +1 -1
- package/build/esm/components/atoms/text/index.d.ts +1 -1
- package/build/esm/components/mantine/text/index.d.ts +8 -6
- package/build/esm/components/mantine/text/index.styles.d.ts +1 -0
- package/build/esm/components/mantine/theme/other.d.ts +2 -0
- package/build/esm/components/mantine/theme/text.d.ts +11 -4
- package/build/esm/components/molecules/index.d.ts +2 -1
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +3 -2
- package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +0 -7
- package/build/esm/components/molecules/surveyOrPremiumBanner/types.d.ts +6 -0
- package/build/esm/components/molecules/tabs/index.d.ts +3 -3
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-49d8a502.js → core-02f45c38.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-8c9bd57c.js +1 -0
- package/build/esm/{getSocialList-b213ce09.js → getSocialList-77fab327.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-0851c0ee.js +177 -0
- package/build/esm/index-09b58b6f.js +3685 -0
- package/build/esm/index-107cb1de.js +117 -0
- package/build/esm/{index-450efba2.js → index-266c67dc.js} +3 -3
- package/build/esm/index-3366a6e9.js +50 -0
- package/build/esm/index-4350ec32.js +1 -0
- package/build/esm/index-47e3daa0.js +1 -0
- package/build/esm/index-49a14fca.js +1 -0
- package/build/esm/index-57e0f279.js +1 -0
- package/build/esm/index-6b140908.js +1 -0
- package/build/esm/index-6c42a891.js +1 -0
- package/build/esm/{index-f28481a3.js → index-74e02dfd.js} +1 -1
- package/build/esm/index-891b3114.js +1 -0
- package/build/esm/index-8d09f349.js +1 -0
- package/build/esm/{index-53644cdd.js → index-92e09492.js} +1 -1
- package/build/esm/{index-cbafff6c.js → index-989cdca7.js} +1 -1
- package/build/esm/index-9f93dfea.js +118 -0
- package/build/esm/index-a7311ffb.js +1 -0
- package/build/esm/index-b986c56a.js +113 -0
- package/build/esm/index-c744e7e4.js +1 -0
- package/build/esm/{index-a7b4afd4.js → index-cee92d8a.js} +1 -1
- package/build/esm/index-d16ed225.js +1 -0
- package/build/esm/index-d3a89a76.js +1753 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-a0ca4c2c.js → index.styled-1dae8dac.js} +1 -1
- package/build/esm/index.styled-728d25dd.js +3213 -0
- package/build/esm/index.styled-9ca36a2d.js +69 -0
- package/build/esm/index.styles-9c177634.js +1007 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/normalizeLink-ef072c61.js +1 -0
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +16 -16
- package/build/esm/pwg.js +5 -5
- package/build/esm/{normalizeLink-5c0fc968.js → routing-33a2786e.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-c18212fc.js +1 -0
- package/build/esm/{types-0e76dda3.js → types-c51bd900.js} +84 -84
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-0b8402ff.js → useCategory-8f1ab87e.js} +1 -1
- package/build/esm/{useHealthToolCache-10224e0f.js → useHealthToolCache-609f3fe7.js} +1 -1
- package/build/esm/useRafState-28c7798e.js +1 -0
- package/build/esm/useTranslations-a44fb2b8.js +1 -0
- package/build/esm/{utils-cb4f5741.js → utils-a0f349d6.js} +1 -1
- package/build/esm/utils-b9110e08.js +95 -0
- package/build/esm/vaccination.js +12 -12
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c5fcd5c6.js +1 -0
- package/build/{getSocialList-c7d68f6d.js → getSocialList-44c631af.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-15d69230.js → index-0093928a.js} +1 -1
- package/build/index-02971e91.js +53 -0
- package/build/index-08aae0d9.js +1 -0
- package/build/{index-4956b41d.js → index-09239b64.js} +1 -1
- package/build/index-2940ec0e.js +3685 -0
- package/build/index-39f43a27.js +177 -0
- package/build/index-4ab08947.js +1 -0
- package/build/index-577612da.js +1 -0
- package/build/index-5a28fed4.js +1 -0
- package/build/index-5d843121.js +1 -0
- package/build/index-6849dd22.js +1 -0
- package/build/index-6c321744.js +1 -0
- package/build/{index-9e030147.js → index-7f4c945e.js} +1 -1
- package/build/index-8812b2bb.js +113 -0
- package/build/index-8d4c708c.js +1 -0
- package/build/index-8efcec1a.js +1 -0
- package/build/index-92cb4a19.js +117 -0
- package/build/index-c18c5b42.js +1 -0
- package/build/index-ceb4a9f7.js +1753 -0
- package/build/index-d905359d.js +50 -0
- package/build/index-e314b04d.js +1 -0
- package/build/{index-dcd9dd71.js → index-fa506631.js} +1 -1
- package/build/index-fc90913a.js +118 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-e834e234.js → index.styled-5db0b157.js} +1 -1
- package/build/index.styled-8bc02b03.js +3213 -0
- package/build/index.styled-d9533d14.js +69 -0
- package/build/index.styles-ea017664.js +1007 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/normalizeLink-8330e00e.js +1 -0
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +30 -30
- package/build/pwg.js +3 -3
- package/build/routing-5c03f965.js +1 -0
- package/build/together.js +1 -1
- package/build/{types-4ffb438a.js → types-811d31d2.js} +4 -4
- package/build/types-fc602e8e.js +1 -0
- package/build/types.js +1 -1
- package/build/{useCategory-64398a2a.js → useCategory-360aa585.js} +1 -1
- package/build/useHealthToolCache-aad38373.js +1 -0
- package/build/useRafState-5287b358.js +1 -0
- package/build/useTranslations-06042dfe.js +1 -0
- package/build/utils-aecec62b.js +95 -0
- package/build/utils-c3b06e73.js +1 -0
- package/build/vaccination.js +42 -42
- package/package.json +1 -1
- package/build/esm/fixedBottomAdBlock-577de32e.js +0 -1
- package/build/esm/getDynamicHealthTool-91ba3d9a.js +0 -1
- package/build/esm/index-02db54f7.js +0 -1
- package/build/esm/index-171d67c1.js +0 -6897
- package/build/esm/index-1e2495b9.js +0 -75
- package/build/esm/index-566de400.js +0 -1
- package/build/esm/index-630cf08b.js +0 -1
- package/build/esm/index-6869f7ee.js +0 -1
- package/build/esm/index-6cfe557b.js +0 -177
- package/build/esm/index-7334bba6.js +0 -1
- package/build/esm/index-8e26259d.js +0 -113
- package/build/esm/index-9273e3b2.js +0 -1
- package/build/esm/index-c226456a.js +0 -1
- package/build/esm/index-d5210b19.js +0 -1
- package/build/esm/index-ea0c25ac.js +0 -1
- package/build/esm/index-ee911d17.js +0 -1
- package/build/esm/index-efa206f1.js +0 -1
- package/build/esm/index-fff910da.js +0 -1
- package/build/esm/index.styled-78d1127b.js +0 -1869
- package/build/esm/index.styled-b8f319aa.js +0 -50
- package/build/esm/index.styles-d8fe8135.js +0 -1212
- package/build/esm/types-0f78dd4b.js +0 -1
- package/build/esm/useRafState-463fbeda.js +0 -1
- package/build/esm/useTranslations-454144da.js +0 -1
- package/build/esm/useUniqueId-df276f71.js +0 -1
- package/build/fixedBottomAdBlock-085d717c.js +0 -1
- package/build/getDynamicHealthTool-1921295b.js +0 -1
- package/build/index-1d7e4146.js +0 -1
- package/build/index-282adc61.js +0 -1
- package/build/index-4a294ae9.js +0 -1
- package/build/index-58f58826.js +0 -1
- package/build/index-6ad2a75e.js +0 -53
- package/build/index-76ef1931.js +0 -1
- package/build/index-8a12ca99.js +0 -1
- package/build/index-8b6811c3.js +0 -1
- package/build/index-8d971ca8.js +0 -1
- package/build/index-98b0a42a.js +0 -1
- package/build/index-ad8762a3.js +0 -1
- package/build/index-adf553c0.js +0 -75
- package/build/index-b1b55783.js +0 -113
- package/build/index-bd0ab6d6.js +0 -1
- package/build/index-d740deb4.js +0 -177
- package/build/index-df0dd816.js +0 -6897
- package/build/index-ecd4fd6e.js +0 -1
- package/build/index.styled-63b983ae.js +0 -1869
- package/build/index.styled-666b46ad.js +0 -50
- package/build/index.styles-448128b5.js +0 -1212
- package/build/normalizeLink-a4f04410.js +0 -1
- package/build/types-0f655a83.js +0 -1
- package/build/useHealthToolCache-190d1b17.js +0 -1
- package/build/useRafState-549e503a.js +0 -1
- package/build/useTranslations-2beda92b.js +0 -1
- package/build/useUniqueId-512df81b.js +0 -1
- package/build/utils-4509f7b0.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-0258ed95.js → BMI_BOYS.percentile.monthly-298b4746.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ea4dc4fa.js → BMI_BOYS.percentile.weekly-812d50e5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e861672e.js → BMI_BOYS.percentile.yearly-7d088303.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-39cf78ec.js → BMI_BOYS.zscore.monthly-c1305e8f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-477d133d.js → BMI_BOYS.zscore.weekly-e54f9757.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-886854e1.js → BMI_BOYS.zscore.yearly-2d0c884f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-c0bea802.js → BMI_GIRLS.percentile.monthly-0762d9d5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-84e29950.js → BMI_GIRLS.percentile.weekly-3795e812.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-32e9d619.js → BMI_GIRLS.percentile.yearly-68213350.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e96a692e.js → BMI_GIRLS.zscore.monthly-b5b3051e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b04b14a0.js → BMI_GIRLS.zscore.weekly-8b1cc85a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4d26599c.js → BMI_GIRLS.zscore.yearly-b849c73f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2a9f45af.js → HEAD CIRCUM_BOYS.percentile.monthly-6f969c69.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-17eac933.js → HEAD CIRCUM_BOYS.percentile.weekly-4abeee50.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b0763be5.js → HEAD CIRCUM_BOYS.percentile.yearly-6b002838.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-46fc4db6.js → HEAD CIRCUM_BOYS.zscore.monthly-74c805b2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4bd80881.js → HEAD CIRCUM_BOYS.zscore.weekly-d545e598.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-762aadb6.js → HEAD CIRCUM_BOYS.zscore.yearly-683beacb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-c14939d6.js → HEAD CIRCUM_GIRLS.percentile.monthly-91a05b2c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b6b98ad7.js → HEAD CIRCUM_GIRLS.percentile.weekly-78853b41.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bcee7225.js → HEAD CIRCUM_GIRLS.percentile.yearly-5fd904c5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-28f04358.js → HEAD CIRCUM_GIRLS.zscore.monthly-c75f731e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b9a635a0.js → HEAD CIRCUM_GIRLS.zscore.weekly-6f4a44e3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a96f9e74.js → HEAD CIRCUM_GIRLS.zscore.yearly-eeaed4a5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d6467f21.js → HEIGHT_BOYS.percentile.monthly-d5661212.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-fa0353bd.js → HEIGHT_BOYS.percentile.weekly-12f74e87.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-461b01b8.js → HEIGHT_BOYS.percentile.yearly-6ca8b206.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f7503cbc.js → HEIGHT_BOYS.zscore.monthly-e804b4a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7b523393.js → HEIGHT_BOYS.zscore.weekly-b3b9bddb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ae70bdce.js → HEIGHT_BOYS.zscore.yearly-521becd6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9c8db677.js → HEIGHT_GIRLS.percentile.monthly-d80f0f31.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6e0bc61d.js → HEIGHT_GIRLS.percentile.weekly-2341b7e0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8ce35e96.js → HEIGHT_GIRLS.percentile.yearly-09b27035.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-34b39c06.js → HEIGHT_GIRLS.zscore.monthly-f96932c6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e6f59b8f.js → HEIGHT_GIRLS.zscore.weekly-61fbed7e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-9c282b46.js → HEIGHT_GIRLS.zscore.yearly-851403a5.js} +0 -0
- /package/build/{Onboarding-f1348d59.js → Onboarding-c8a9fa68.js} +0 -0
- /package/build/{Visible-b7db3cbb.js → Visible-e1eeaa8f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-59a28c54.js → WEIGHT_BOYS.percentile.monthly-e3bf439f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-c7363faf.js → WEIGHT_BOYS.percentile.weekly-8b4c74ab.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0203e7ec.js → WEIGHT_BOYS.percentile.yearly-b3c6b0f8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3316364c.js → WEIGHT_BOYS.zscore.monthly-d29cfddf.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-7e387e6d.js → WEIGHT_BOYS.zscore.weekly-62772892.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c1fa8a83.js → WEIGHT_BOYS.zscore.yearly-6da0c5d3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-bf8ee29a.js → WEIGHT_GIRLS.percentile.monthly-61cbe765.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-d9232c33.js → WEIGHT_GIRLS.percentile.weekly-4f793d08.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-70b55593.js → WEIGHT_GIRLS.percentile.yearly-a79fc432.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-befd14ac.js → WEIGHT_GIRLS.zscore.monthly-ea9c706c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6f622105.js → WEIGHT_GIRLS.zscore.weekly-0499c0bf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e78eb4b6.js → WEIGHT_GIRLS.zscore.yearly-3fdcca55.js} +0 -0
- /package/build/{constants-aaa03113.js → constants-902c1571.js} +0 -0
- /package/build/{cookieHelper-c0aededa.js → cookieHelper-e5db6abb.js} +0 -0
- /package/build/{dataTransform-fdc771ce.js → dataTransform-9d6f0426.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-1e979b15.js → BMI_BOYS.percentile.monthly-2fdfe363.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b8e09a42.js → BMI_BOYS.percentile.weekly-ce2712ec.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a5def490.js → BMI_BOYS.percentile.yearly-ff0b2dc0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e90bad53.js → BMI_BOYS.zscore.monthly-5d7e4936.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4d6ad7ec.js → BMI_BOYS.zscore.weekly-fc6ab5fe.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-4c4a5ca6.js → BMI_BOYS.zscore.yearly-f33fffdb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d03ffa98.js → BMI_GIRLS.percentile.monthly-9a01f7af.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-52f2e69e.js → BMI_GIRLS.percentile.weekly-652e4982.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-54ecd890.js → BMI_GIRLS.percentile.yearly-6ece372d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-de532cab.js → BMI_GIRLS.zscore.monthly-49a02bde.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6f34971e.js → BMI_GIRLS.zscore.weekly-bd063c2b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-62984ae0.js → BMI_GIRLS.zscore.yearly-a2b09c89.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-5be57206.js → HEAD CIRCUM_BOYS.percentile.monthly-eb60e4a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8137d3da.js → HEAD CIRCUM_BOYS.percentile.weekly-1258a0f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-05dcef8f.js → HEAD CIRCUM_BOYS.percentile.yearly-1bcd7323.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e5f356aa.js → HEAD CIRCUM_BOYS.zscore.monthly-8a5c305e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-1af0aa8b.js → HEAD CIRCUM_BOYS.zscore.weekly-0c1fb2ee.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ba1aae87.js → HEAD CIRCUM_BOYS.zscore.yearly-98aed6bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-1e35f862.js → HEAD CIRCUM_GIRLS.percentile.monthly-ca41197a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5a0622ce.js → HEAD CIRCUM_GIRLS.percentile.weekly-3c9b2239.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-571d5a23.js → HEAD CIRCUM_GIRLS.percentile.yearly-101bf6f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-510e1626.js → HEAD CIRCUM_GIRLS.zscore.monthly-304a4d78.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-660bf9e5.js → HEAD CIRCUM_GIRLS.zscore.weekly-fe8a9e1c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b85bfa47.js → HEAD CIRCUM_GIRLS.zscore.yearly-c100f447.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e782d427.js → HEIGHT_BOYS.percentile.monthly-f99d13dd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-720a81b2.js → HEIGHT_BOYS.percentile.weekly-65d4ed0d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-51c3cc3b.js → HEIGHT_BOYS.percentile.yearly-b57ddcb3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9ea5cdf4.js → HEIGHT_BOYS.zscore.monthly-d22d4c06.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7c8d7653.js → HEIGHT_BOYS.zscore.weekly-d4b9fe35.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-e89ab8b4.js → HEIGHT_BOYS.zscore.yearly-4e88e61f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1ff46afc.js → HEIGHT_GIRLS.percentile.monthly-36455751.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e0d5df76.js → HEIGHT_GIRLS.percentile.weekly-c5c5bf72.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1fcd7c60.js → HEIGHT_GIRLS.percentile.yearly-4896a58c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-77d19686.js → HEIGHT_GIRLS.zscore.monthly-dc85b4a0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fb88d837.js → HEIGHT_GIRLS.zscore.weekly-121deb13.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-869b8bfa.js → HEIGHT_GIRLS.zscore.yearly-c8893689.js} +0 -0
- /package/build/esm/{Onboarding-19a75556.js → Onboarding-d1de2167.js} +0 -0
- /package/build/esm/{Visible-b328f725.js → Visible-aa9e4118.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9272fac1.js → WEIGHT_BOYS.percentile.monthly-6c0dc237.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-29b22358.js → WEIGHT_BOYS.percentile.weekly-07a65a04.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fbf7c2f2.js → WEIGHT_BOYS.percentile.yearly-aa628354.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-29c00002.js → WEIGHT_BOYS.zscore.monthly-e6d0b956.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a5165e44.js → WEIGHT_BOYS.zscore.weekly-ac603c9e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-25dba866.js → WEIGHT_BOYS.zscore.yearly-cd0f7742.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-86eb309f.js → WEIGHT_GIRLS.percentile.monthly-18839f7e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c2b57d3b.js → WEIGHT_GIRLS.percentile.weekly-080be1e8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-95750ebb.js → WEIGHT_GIRLS.percentile.yearly-784853ca.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-a3758cb9.js → WEIGHT_GIRLS.zscore.monthly-2defab10.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2f2c1235.js → WEIGHT_GIRLS.zscore.weekly-61d73954.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0ee0100b.js → WEIGHT_GIRLS.zscore.yearly-a85b75bb.js} +0 -0
- /package/build/esm/{constants-71a01893.js → constants-578f2f80.js} +0 -0
- /package/build/esm/{cookieHelper-5c844f67.js → cookieHelper-d2984087.js} +0 -0
- /package/build/esm/{dataTransform-c7b28257.js → dataTransform-612a6d89.js} +0 -0
- /package/build/esm/{index-493f503a.js → index-fce0997f.js} +0 -0
- /package/build/esm/{isProduction-fcc32c99.js → isProduction-07258913.js} +0 -0
- /package/build/esm/{localizeNumberFormat-7d28e932.js → localizeNumberFormat-462d1e25.js} +0 -0
- /package/build/esm/{number-12b41b35.js → number-2e07c96f.js} +0 -0
- /package/build/esm/{paths-53c3e2c4.js → paths-ae60f47e.js} +0 -0
- /package/build/esm/{screenSizeContext-8a76da35.js → screenSizeContext-7d7a1fc0.js} +0 -0
- /package/build/esm/{theme-07978b9c.js → theme-9f669777.js} +0 -0
- /package/build/esm/{translationsContext-987576b6.js → translationsContext-b7816b6b.js} +0 -0
- /package/build/esm/{tslib.es6-0839263f.js → tslib.es6-94d7a71f.js} +0 -0
- /package/build/esm/{types-111f1281.js → types-f66d1b4b.js} +0 -0
- /package/build/esm/{useIsInit-e2d0fca1.js → useIsInit-37f8694a.js} +0 -0
- /package/build/esm/{useOutsideClick-030edca6.js → useOutsideClick-f8d36b09.js} +0 -0
- /package/build/esm/{useScrollbarSize-815d1b8c.js → useScrollbarSize-a6f39b18.js} +0 -0
- /package/build/{index-1dbd275d.js → index-b31bb50c.js} +0 -0
- /package/build/{isProduction-ac9d8524.js → isProduction-506752b3.js} +0 -0
- /package/build/{localizeNumberFormat-307525e2.js → localizeNumberFormat-94ff53cc.js} +0 -0
- /package/build/{number-86d1c0a6.js → number-5b2b19d0.js} +0 -0
- /package/build/{paths-4d86f325.js → paths-72973f37.js} +0 -0
- /package/build/{screenSizeContext-5f21af7a.js → screenSizeContext-eb827be1.js} +0 -0
- /package/build/{theme-2d51d4c4.js → theme-be127218.js} +0 -0
- /package/build/{translationsContext-d39d3768.js → translationsContext-b3fc59d7.js} +0 -0
- /package/build/{tslib.es6-7b28ed87.js → tslib.es6-3f32a62c.js} +0 -0
- /package/build/{types-54435a12.js → types-223d3d4b.js} +0 -0
- /package/build/{useIsInit-478d7c07.js → useIsInit-b7294356.js} +0 -0
- /package/build/{useOutsideClick-c6429596.js → useOutsideClick-42383288.js} +0 -0
- /package/build/{useScrollbarSize-86bdf7a8.js → useScrollbarSize-760a5eee.js} +0 -0
|
@@ -0,0 +1,1007 @@
|
|
|
1
|
+
import e,{css as t}from"styled-components";import{t as o}from"./theme-9f669777.js";import{M as r,s as a,e as i,b as n,f as s,c as l,g as d,a as c,d as p}from"./screenSizeContext-7d7a1fc0.js";import{_ as u,a as h}from"./tslib.es6-94d7a71f.js";import m,{useState as g,forwardRef as b,createContext as _,useEffect as x,Fragment as E}from"react";import{createStyles as v,rem as f}from"@mantine/core";import{L as w}from"./index-b986c56a.js";import{C as y}from"./index-8d09f349.js";import{T}from"./index-47e3daa0.js";import O from"react-keyed-flatten-children";import{g as A}from"./cookieHelper-d2984087.js";import I from"slugify";import"./index-989cdca7.js";import L from"string-format";import{i as S}from"./isProduction-07258913.js";const $=e.div`
|
|
2
|
+
background-color: var(--background-color, transparent);
|
|
3
|
+
color: white;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
img {
|
|
6
|
+
--width: var(--width-prop, 40px);
|
|
7
|
+
--height: var(--height-prop, 40px);
|
|
8
|
+
width: var(--width);
|
|
9
|
+
height: var(--height);
|
|
10
|
+
}
|
|
11
|
+
&[data-has-max='true'] {
|
|
12
|
+
img {
|
|
13
|
+
max-width: var(--width);
|
|
14
|
+
max-height: var(--height);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-avatar-type='square'] {
|
|
19
|
+
img {
|
|
20
|
+
--width: var(--width-prop, 72px);
|
|
21
|
+
--height: var(--height-prop, 72px);
|
|
22
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[data-avatar-type='rounded'] {
|
|
27
|
+
img {
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&[data-custom-size='true'] {
|
|
33
|
+
display: flex;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
width: var(--size);
|
|
37
|
+
height: var(--size);
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
background-size: cover;
|
|
41
|
+
font-size: calc(var(--size) / 2);
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
&[data-avatar-type='square'] {
|
|
44
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
45
|
+
}
|
|
46
|
+
&[data-avatar-type='rounded'] {
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
img {
|
|
49
|
+
--width: 100%;
|
|
50
|
+
--height: 100%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
img {
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`,R=e.div`
|
|
58
|
+
position: relative;
|
|
59
|
+
|
|
60
|
+
> div {
|
|
61
|
+
width: max-content;
|
|
62
|
+
position: relative;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
span {
|
|
66
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
|
|
71
|
+
${e=>((e,t,r,a)=>{let i="";if("numeric"===e)switch(t){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let n,s="";r&&(s="\n position: absolute;\n top: 0;\n left: 75%;\n "),r&&(n=`\n left: 70%;\n\n ${"large"===t?"\n top: -7px;\n ":"medium"===t?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let l="";switch(a){case"primary":l=`\n background: ${o.colors.primary50};\n color: ${o.colors.primary600}; \n `;break;case"error":l=`\n background: ${o.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${s}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${l}\n `;case"numeric":return`\n ${s}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${l}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
|
|
75
|
+
`,k=e.h4`
|
|
76
|
+
position: relative;
|
|
77
|
+
line-height: 18px;
|
|
78
|
+
|
|
79
|
+
&:after {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 1px;
|
|
82
|
+
left: 0;
|
|
83
|
+
width: 4px;
|
|
84
|
+
height: 18px;
|
|
85
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
86
|
+
content: '';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-size='lg'] {
|
|
90
|
+
font-size: 18px;
|
|
91
|
+
padding-left: 12px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&[data-size='sm'] {
|
|
95
|
+
font-size: 14px;
|
|
96
|
+
padding-left: 8px;
|
|
97
|
+
|
|
98
|
+
&::after {
|
|
99
|
+
width: 2px;
|
|
100
|
+
height: 15px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&[data-type='bold'] {
|
|
105
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
106
|
+
}
|
|
107
|
+
&[data-type='semiBold'] {
|
|
108
|
+
font-weight: ${e=>e.theme.sizes.fwSemiBold};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&[data-uppercase] {
|
|
112
|
+
text-transform: uppercase;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
${r.mbDown} {
|
|
116
|
+
&[data-size='lg'] {
|
|
117
|
+
font-size: 16px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`,C=e.hr`
|
|
121
|
+
border-width: 1px;
|
|
122
|
+
border-color: ${e=>e.theme.colors.neutral200};
|
|
123
|
+
border-style: ${e=>e.dividerType};
|
|
124
|
+
`,P=e.div`
|
|
125
|
+
position: relative;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
128
|
+
background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
|
|
129
|
+
background-position: right 16px center;
|
|
130
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
131
|
+
|
|
132
|
+
&[data-has-icons='true'] {
|
|
133
|
+
border: none;
|
|
134
|
+
background: ${e=>e.theme.colors.gray100};
|
|
135
|
+
|
|
136
|
+
img,
|
|
137
|
+
svg {
|
|
138
|
+
display: inline-block;
|
|
139
|
+
max-width: 16px;
|
|
140
|
+
margin-right: 6px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
span {
|
|
144
|
+
vertical-align: middle;
|
|
145
|
+
display: inline-block;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:hover {
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
}
|
|
151
|
+
> div {
|
|
152
|
+
position: relative;
|
|
153
|
+
width: 100%;
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
box-sizing: border-box;
|
|
157
|
+
}
|
|
158
|
+
> div::after {
|
|
159
|
+
content: '';
|
|
160
|
+
right: 12px;
|
|
161
|
+
top: 50%;
|
|
162
|
+
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
163
|
+
width: 10px;
|
|
164
|
+
height: 8px;
|
|
165
|
+
position: absolute;
|
|
166
|
+
background-repeat: no-repeat;
|
|
167
|
+
transform: translateY(-50%);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
box-shadow: 0 0 2px 2px
|
|
173
|
+
${e=>e.theme.colors.primary200};
|
|
174
|
+
}
|
|
175
|
+
`,N=e.div`
|
|
176
|
+
padding: 12px 18px 12px 16px;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
&[data-dropdown-open] {
|
|
179
|
+
padding: 11px 15px 11px 15px;
|
|
180
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
181
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
182
|
+
box-shadow: 0 0 2px 2px
|
|
183
|
+
${e=>e.theme.colors.primary200};
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
& > svg {
|
|
187
|
+
height: 16px;
|
|
188
|
+
width: 16px;
|
|
189
|
+
}
|
|
190
|
+
`,D=e.ul`
|
|
191
|
+
position: absolute;
|
|
192
|
+
top: 100%;
|
|
193
|
+
right: 0;
|
|
194
|
+
left: 0;
|
|
195
|
+
display: block;
|
|
196
|
+
margin-top: 4px;
|
|
197
|
+
background: ${e=>e.theme.colors.white};
|
|
198
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
199
|
+
box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
|
|
200
|
+
-2px 2px 5px rgba(67, 86, 100, 0.123689);
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
|
|
203
|
+
&[data-has-icons='true'] {
|
|
204
|
+
background: white;
|
|
205
|
+
box-shadow: none;
|
|
206
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
207
|
+
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
208
|
+
}
|
|
209
|
+
`,G=e.li`
|
|
210
|
+
margin: 8px;
|
|
211
|
+
padding: 12px 18px 12px 16px;
|
|
212
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
213
|
+
display: flex;
|
|
214
|
+
&:hover,
|
|
215
|
+
:active {
|
|
216
|
+
background: ${e=>e.theme.colors.gray100};
|
|
217
|
+
}
|
|
218
|
+
`,M=e.div`
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
margin-right: 8px;
|
|
222
|
+
|
|
223
|
+
& > svg {
|
|
224
|
+
height: 16px;
|
|
225
|
+
width: 16px;
|
|
226
|
+
}
|
|
227
|
+
`,B=e.div`
|
|
228
|
+
--columns-count: ${e=>e.theme.columns};
|
|
229
|
+
--columns-count-desktop: ${e=>e.theme.columnsDesktop};
|
|
230
|
+
|
|
231
|
+
--grid-template-columns: ${e=>e.theme.gridTemplateColumns};
|
|
232
|
+
--grid-template-columns-desktop: ${e=>e.theme.gridTemplateColumnsDesktop};
|
|
233
|
+
|
|
234
|
+
--columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
|
|
235
|
+
--columns-desktop: var(--grid-template-columns-desktop, repeat(var(--columns-count-desktop), 1fr));
|
|
236
|
+
|
|
237
|
+
--justify-children: ${e=>e.theme.justifyChildren};
|
|
238
|
+
--grid-gap: ${e=>e.theme.gap};
|
|
239
|
+
--align-items: ${e=>e.theme.alignItems};
|
|
240
|
+
|
|
241
|
+
display: grid;
|
|
242
|
+
grid-template-columns: var(--columns);
|
|
243
|
+
grid-gap: var(--grid-gap);
|
|
244
|
+
align-items: var(--align-items);
|
|
245
|
+
|
|
246
|
+
${r.tdUp} {
|
|
247
|
+
grid-template-columns: var(--columns-desktop);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
> * {
|
|
251
|
+
justify-self: var(--justify-children);
|
|
252
|
+
}
|
|
253
|
+
`;var U="xzO2I0N";const z=v((()=>({root:{}}))),H=e=>{var t,{as:o,tag:r,className:a,children:i,title:n,color:s,style:l,fontWeight:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h}=e,g=u(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=o||r,{theme:_}=z(void 0,{name:"Heading"});return m.createElement(b,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},l),"data-tag":r,"data-font-weight":d||void 0,"data-event-category":c,"data-event-action":p,"data-event-label":h,className:`${U} ${a||""}`},g),i)},j=e.div`
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
justify-content: space-between;
|
|
257
|
+
user-select: none;
|
|
258
|
+
li {
|
|
259
|
+
transition: all 0.3s ease;
|
|
260
|
+
}
|
|
261
|
+
[data-page-active] {
|
|
262
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
263
|
+
color: ${e=>e.theme.colors.white};
|
|
264
|
+
|
|
265
|
+
> a {
|
|
266
|
+
color: ${e=>e.theme.colors.white};
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
`,F=e.div`
|
|
270
|
+
display: flex;
|
|
271
|
+
width: 32px;
|
|
272
|
+
height: 32px;
|
|
273
|
+
box-sizing: border-box;
|
|
274
|
+
align-items: center;
|
|
275
|
+
justify-content: center;
|
|
276
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
277
|
+
margin: 0 2px;
|
|
278
|
+
border-radius: 4px;
|
|
279
|
+
color: ${e=>e.theme.colors.gray800};
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
font-size: 14px;
|
|
282
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
283
|
+
|
|
284
|
+
&[data-last-page] {
|
|
285
|
+
border: none;
|
|
286
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
287
|
+
cursor: not-allowed;
|
|
288
|
+
pointer-events: none;
|
|
289
|
+
|
|
290
|
+
svg {
|
|
291
|
+
path {
|
|
292
|
+
stroke: ${e=>e.theme.colors.gray300};
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
`,K=e.li`
|
|
297
|
+
display: flex;
|
|
298
|
+
width: 32px;
|
|
299
|
+
height: 32px;
|
|
300
|
+
align-items: center;
|
|
301
|
+
justify-content: center;
|
|
302
|
+
margin: 0 2px;
|
|
303
|
+
border-radius: 4px;
|
|
304
|
+
color: ${e=>e.theme.colors.gray800};
|
|
305
|
+
cursor: pointer;
|
|
306
|
+
font-size: 14px;
|
|
307
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
308
|
+
|
|
309
|
+
> a {
|
|
310
|
+
color: ${e=>e.theme.colors.gray800};
|
|
311
|
+
text-decoration: unset;
|
|
312
|
+
display: block;
|
|
313
|
+
width: 100%;
|
|
314
|
+
height: 100%;
|
|
315
|
+
line-height: 32px;
|
|
316
|
+
text-align: center;
|
|
317
|
+
}
|
|
318
|
+
`,V=e.div`
|
|
319
|
+
position: relative;
|
|
320
|
+
width: 100%;
|
|
321
|
+
|
|
322
|
+
&[data-has-error] {
|
|
323
|
+
input {
|
|
324
|
+
border-color: ${e=>e.theme.colors.red700};
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
input {
|
|
329
|
+
width: 100%;
|
|
330
|
+
padding: 12px 16px;
|
|
331
|
+
border: solid 1px ${e=>e.theme.colors.gray200};
|
|
332
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
333
|
+
|
|
334
|
+
&:active,
|
|
335
|
+
&:focus,
|
|
336
|
+
.focused & {
|
|
337
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
338
|
+
box-shadow: 0px 0px 2px 2px
|
|
339
|
+
${e=>e.theme.colors.primary200};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:disabled {
|
|
343
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
344
|
+
cursor: not-allowed;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&[data-has-action-icon] {
|
|
349
|
+
input {
|
|
350
|
+
padding: 12px 48px 12px 16px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
&[data-has-display-icon] {
|
|
354
|
+
input {
|
|
355
|
+
padding: 12px 16px 12px 48px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
&[data-has-action-icon][data-has-display-icon] {
|
|
360
|
+
input {
|
|
361
|
+
padding: 12px 48px;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&[data-size='lg'] {
|
|
366
|
+
input {
|
|
367
|
+
font-size: 16px;
|
|
368
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
369
|
+
${r.mbDown} {
|
|
370
|
+
font-size: 22px;
|
|
371
|
+
line-height: 1.2;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
${r.mbUp} {
|
|
375
|
+
font-size: 26px;
|
|
376
|
+
line-height: 1.2;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
&[data-size='md'] {
|
|
381
|
+
input {
|
|
382
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
383
|
+
${r.mbDown} {
|
|
384
|
+
font-size: 14px;
|
|
385
|
+
line-height: 1.2;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
${r.mbUp} {
|
|
389
|
+
font-size: 16px;
|
|
390
|
+
line-height: 1.2;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
&[data-size='sm'] {
|
|
395
|
+
input {
|
|
396
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
397
|
+
${r.mbDown} {
|
|
398
|
+
font-size: 13px;
|
|
399
|
+
line-height: 1.5;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
${r.mbUp} {
|
|
403
|
+
font-size: 13px;
|
|
404
|
+
line-height: 1.5;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
`;e.label`
|
|
409
|
+
display: inline-block;
|
|
410
|
+
margin-bottom: 4px;
|
|
411
|
+
color: ${e=>e.theme.colors.gray600};
|
|
412
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
413
|
+
`;const Y=e.label`
|
|
414
|
+
color: ${e=>e.theme.colors.red700};
|
|
415
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
416
|
+
`,W=e.div`
|
|
417
|
+
position: absolute;
|
|
418
|
+
top: 50%;
|
|
419
|
+
right: 16px;
|
|
420
|
+
display: inline-flex;
|
|
421
|
+
cursor: pointer;
|
|
422
|
+
transform: translateY(-50%);
|
|
423
|
+
`,X=e.div`
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 50%;
|
|
426
|
+
left: 16px;
|
|
427
|
+
display: inline-flex;
|
|
428
|
+
cursor: default;
|
|
429
|
+
transform: translateY(-50%);
|
|
430
|
+
`,q=m.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:a="off",defaultValue:i,actionIcon:n,displayIcon:s,isDeleteAction:l,onActionClick:d,label:c,placeholder:p,className:h,onChange:b,onKeyPress:_,isDisabled:x,CustomInput:E,size:v,style:f,autoFocus:y,type:T="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=u(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[$,R]=g(i);return m.createElement(V,{"data-size":v,className:h,"data-has-action-icon":!!n||void 0,"data-has-display-icon":!!s||void 0,"data-has-error":r&&r.length>0||void 0,style:f},c&&m.createElement(w,{size:"label2",htmlFor:o,className:"inputLabel"},c),m.createElement("div",{style:{position:"relative"}},E||m.createElement("input",Object.assign({id:o,name:o,placeholder:p,onChange:null!=L?L:e=>{return t=e.target.value,R(t),void b(t);var t},onKeyPress:_,type:T,"aria-label":T,disabled:x,value:$,autoComplete:a,ref:t,autoFocus:y,inputMode:O||"number"===T?"numeric":T,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),s&&m.createElement(X,{className:"displayIcon"},s),n&&m.createElement(W,{className:"actionIcon",onClick:()=>{var e;l&&(R(""),null===(e=t.current)||void 0===e||e.focus()),d&&d()}},n)),r&&r.length>0&&m.createElement(Y,{className:"errorLabel"},r))}));q.displayName="PureInput";const J=e.div`
|
|
431
|
+
&[data-type='circle'] {
|
|
432
|
+
position: relative;
|
|
433
|
+
display: flex;
|
|
434
|
+
align-items: center;
|
|
435
|
+
cursor: pointer;
|
|
436
|
+
|
|
437
|
+
input {
|
|
438
|
+
position: relative;
|
|
439
|
+
width: 20px;
|
|
440
|
+
height: 20px;
|
|
441
|
+
flex-shrink: 0;
|
|
442
|
+
border: solid 1px ${e=>e.theme.colors.gray500};
|
|
443
|
+
margin-right: 8px;
|
|
444
|
+
border-radius: 100%;
|
|
445
|
+
cursor: inherit;
|
|
446
|
+
transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
|
|
447
|
+
|
|
448
|
+
&:hover,
|
|
449
|
+
&:active {
|
|
450
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
451
|
+
box-shadow: 0 0 2px 2px
|
|
452
|
+
${e=>e.theme.colors.primary600};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
&:checked {
|
|
456
|
+
display: flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
justify-content: center;
|
|
459
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
460
|
+
&:after {
|
|
461
|
+
position: absolute;
|
|
462
|
+
top: 50%;
|
|
463
|
+
left: 50%;
|
|
464
|
+
width: 14px;
|
|
465
|
+
height: 14px;
|
|
466
|
+
//left: 3px;
|
|
467
|
+
//position: absolute;
|
|
468
|
+
//top: 4px;
|
|
469
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
470
|
+
border-radius: 50%;
|
|
471
|
+
content: '';
|
|
472
|
+
transform: translate(-50%, -50%);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
label {
|
|
478
|
+
width: calc(100% - 24px);
|
|
479
|
+
cursor: inherit;
|
|
480
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&[data-disabled='true'] {
|
|
484
|
+
color: ${e=>e.theme.colors.gray300};
|
|
485
|
+
cursor: not-allowed;
|
|
486
|
+
input {
|
|
487
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
488
|
+
|
|
489
|
+
&:hover {
|
|
490
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
491
|
+
box-shadow: none;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&[data-type='rectangle'] {
|
|
498
|
+
input {
|
|
499
|
+
display: none;
|
|
500
|
+
|
|
501
|
+
&:checked ~ label {
|
|
502
|
+
border-color: ${e=>e.theme.colors.primary600};
|
|
503
|
+
background-color: ${e=>e.theme.colors.primary600};
|
|
504
|
+
color: ${e=>e.theme.colors.white};
|
|
505
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
label {
|
|
510
|
+
display: inline-block;
|
|
511
|
+
width: auto;
|
|
512
|
+
box-sizing: border-box;
|
|
513
|
+
flex-shrink: 0;
|
|
514
|
+
border: solid 1px ${e=>e.theme.colors.gray300};
|
|
515
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
516
|
+
color: ${e=>e.theme.colors.gray800};
|
|
517
|
+
cursor: pointer;
|
|
518
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
519
|
+
text-align: center;
|
|
520
|
+
|
|
521
|
+
&:hover,
|
|
522
|
+
&:active {
|
|
523
|
+
border-color: ${e=>e.theme.colors.primary600};
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
&[data-disabled='true'] {
|
|
528
|
+
input {
|
|
529
|
+
cursor: not-allowed;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
label {
|
|
533
|
+
color: ${e=>e.theme.colors.gray300};
|
|
534
|
+
cursor: not-allowed;
|
|
535
|
+
|
|
536
|
+
&:hover {
|
|
537
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
&[data-size='small'] {
|
|
543
|
+
label {
|
|
544
|
+
height: 32px;
|
|
545
|
+
padding: 6px 12px;
|
|
546
|
+
font-size: 13px;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&[data-size='large'] {
|
|
551
|
+
label {
|
|
552
|
+
height: 48px;
|
|
553
|
+
padding: 13px 16px;
|
|
554
|
+
font-size: 14px;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
`,Q=e.div`
|
|
559
|
+
--padding-horizontal: 8px;
|
|
560
|
+
--pading-vertical: 2px;
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
justify-content: center;
|
|
564
|
+
padding: var(--pading-vertical) var(--padding-horizontal);
|
|
565
|
+
border-radius: 24px;
|
|
566
|
+
|
|
567
|
+
${e=>"sponsored"===e.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${o.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${o.sizes.fwBold};\n color: var(\n --text-props-color,\n ${o.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${o.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
|
|
568
|
+
|
|
569
|
+
${e=>e.isInline&&"\n display: inline-block;\n "}
|
|
570
|
+
|
|
571
|
+
${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
|
|
572
|
+
|
|
573
|
+
p {
|
|
574
|
+
${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${o.colors.white});\n `}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
${e=>((e,t)=>{switch(e){case"yellow":return`\n background: ${t?o.colors.yellow50:o.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${o.colors.white};\n border: 1px solid ${o.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n \n &:hover {\n background: ${o.colors.gray100};\n }\n `;case"red":return`\n background: ${t?o.colors.red50:o.colors.red500};\n `;case"green":return`\n background: ${t?o.colors.green50:o.colors.green500};\n `;case"blue":return`\n background: ${t?o.colors.primary50:o.colors.primaryBase};\n `;case"teal":return`\n background: ${t?o.colors.teal100:o.colors.teal600};\n `;case"pink":return`\n background: ${t?o.colors.pink200:o.colors.pink800};\n `;case"violet":return`\n background: ${t?o.colors.violet100:o.colors.violet500};\n `;case"grey":return`\n background: ${t?o.colors.gray100:o.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
|
|
578
|
+
|
|
579
|
+
${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
|
|
580
|
+
|
|
581
|
+
${e=>e.tagIsALink&&"\n cursor: pointer;\n "}
|
|
582
|
+
|
|
583
|
+
&[data-is-selected],
|
|
584
|
+
&:active {
|
|
585
|
+
background: ${e=>e.theme.colors.primary50};
|
|
586
|
+
}
|
|
587
|
+
`,Z=(e,t)=>b(((o,r)=>{var{className:a}=o,i=u(o,["className"]);return m.createElement(e,Object.assign({ref:r,className:`${t} ${a||""}`},i))})),ee="24px",te="hhgcomp-toggle-icon",oe=Z(e.span`
|
|
588
|
+
position: relative;
|
|
589
|
+
display: block;
|
|
590
|
+
width: 40px;
|
|
591
|
+
height: ${ee};
|
|
592
|
+
background: #c3cbd4;
|
|
593
|
+
border-radius: 100px;
|
|
594
|
+
cursor: pointer;
|
|
595
|
+
|
|
596
|
+
&:after {
|
|
597
|
+
position: absolute;
|
|
598
|
+
top: 2px;
|
|
599
|
+
left: 2px;
|
|
600
|
+
width: 20px;
|
|
601
|
+
height: 20px;
|
|
602
|
+
background: #fff;
|
|
603
|
+
border-radius: 90px;
|
|
604
|
+
content: '';
|
|
605
|
+
transition: 0.3s;
|
|
606
|
+
}
|
|
607
|
+
`,te),re=e.span`
|
|
608
|
+
padding-left: 15px;
|
|
609
|
+
`,ae=e.div`
|
|
610
|
+
height: ${ee};
|
|
611
|
+
|
|
612
|
+
input[type='checkbox'] {
|
|
613
|
+
width: 0;
|
|
614
|
+
height: 0;
|
|
615
|
+
visibility: hidden;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
label {
|
|
619
|
+
cursor: pointer;
|
|
620
|
+
display: inline-flex;
|
|
621
|
+
color: ${e=>e.theme.colors.gray600};
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
input:checked + label .${te} {
|
|
625
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
626
|
+
&:after {
|
|
627
|
+
left: calc(100% - 2px);
|
|
628
|
+
transform: translateX(-100%);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
`,ie=e.div`
|
|
632
|
+
textarea {
|
|
633
|
+
width: 100%;
|
|
634
|
+
height: var(--textarea-height, 116px);
|
|
635
|
+
padding: 1rem;
|
|
636
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
637
|
+
border-radius: 6px;
|
|
638
|
+
color: ${e=>e.theme.colors.gray800};
|
|
639
|
+
font-size: 14px;
|
|
640
|
+
resize: none;
|
|
641
|
+
|
|
642
|
+
&:focus {
|
|
643
|
+
box-shadow: 0px 0px 2px 2px #91caff;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
&::placeholder {
|
|
647
|
+
color: ${e=>e.theme.colors.gray500};
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
&:disabled {
|
|
651
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
652
|
+
cursor: not-allowed;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
`,ne=m.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:n,value:s,className:l,onKeyPress:d,disabled:c=!1},p)=>m.createElement(ie,{className:l,style:{"--textarea-height":e||"116px"}},o&&m.createElement(w,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),m.createElement("textarea",{name:i,ref:p,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>d&&d(e),value:s,disabled:c})))),se=e.div`
|
|
656
|
+
display: flex;
|
|
657
|
+
cursor: pointer;
|
|
658
|
+
|
|
659
|
+
&[data-theme='marryBaby'] {
|
|
660
|
+
input {
|
|
661
|
+
width: 20px;
|
|
662
|
+
height: 20px;
|
|
663
|
+
border: 1.3px solid ${e=>e.theme.mbColors.midGray};
|
|
664
|
+
border-radius: 9px;
|
|
665
|
+
|
|
666
|
+
cursor: inherit;
|
|
667
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
668
|
+
|
|
669
|
+
&:hover,
|
|
670
|
+
&:active {
|
|
671
|
+
border-color: ${e=>e.theme.mbColors.cobalt};
|
|
672
|
+
box-shadow: 0 0 2px 2px
|
|
673
|
+
${e=>e.theme.mbColors.cobalt};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
&:focus-visible {
|
|
677
|
+
border: 2px solid ${e=>e.theme.mbColors.cobalt};
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
&:checked {
|
|
681
|
+
border: 0;
|
|
682
|
+
background: ${e=>e.theme.mbColors.cobalt}
|
|
683
|
+
url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
684
|
+
no-repeat center center;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
label {
|
|
689
|
+
max-width: 15rem;
|
|
690
|
+
margin-left: 8px;
|
|
691
|
+
width: calc(100% - 24px);
|
|
692
|
+
cursor: inherit;
|
|
693
|
+
font-weight: 600;
|
|
694
|
+
font-size: 12px;
|
|
695
|
+
line-height: 20px;
|
|
696
|
+
letter-spacing: -0.2px;
|
|
697
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
input {
|
|
701
|
+
width: 20px;
|
|
702
|
+
height: 20px;
|
|
703
|
+
border: solid 1px ${e=>e.theme.colors.gray500};
|
|
704
|
+
border-radius: 2px;
|
|
705
|
+
|
|
706
|
+
cursor: inherit;
|
|
707
|
+
transition: border-color 0.4s, box-shadow 0.4s;
|
|
708
|
+
|
|
709
|
+
&:hover,
|
|
710
|
+
&:active {
|
|
711
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
712
|
+
box-shadow: 0 0 2px 2px
|
|
713
|
+
${e=>e.theme.colors.primary200};
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
&:focus-visible {
|
|
717
|
+
border: 2px solid
|
|
718
|
+
${e=>e.theme.colors.primaryActive};
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
&:checked {
|
|
722
|
+
border: 0;
|
|
723
|
+
background: ${e=>e.theme.colors.primaryBase}
|
|
724
|
+
url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
725
|
+
no-repeat center center;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
label {
|
|
730
|
+
max-width: 15rem;
|
|
731
|
+
margin-left: 8px;
|
|
732
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
733
|
+
width: calc(100% - 24px);
|
|
734
|
+
cursor: inherit;
|
|
735
|
+
|
|
736
|
+
${r.mbDown} {
|
|
737
|
+
font-size: 14px;
|
|
738
|
+
line-height: 24px;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
${r.mbUp} {
|
|
742
|
+
font-size: 16px;
|
|
743
|
+
line-height: 22px;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
&[data-is-rectangle] > input {
|
|
748
|
+
position: relative;
|
|
749
|
+
width: unset;
|
|
750
|
+
height: unset;
|
|
751
|
+
padding: 5px 12px;
|
|
752
|
+
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
753
|
+
border-radius: 32px;
|
|
754
|
+
|
|
755
|
+
&::after {
|
|
756
|
+
color: ${e=>e.theme.colors.gray800};
|
|
757
|
+
content: attr(data-label-text);
|
|
758
|
+
font-size: 13px;
|
|
759
|
+
}
|
|
760
|
+
&:checked {
|
|
761
|
+
border-color: ${e=>e.theme.colors.primary50};
|
|
762
|
+
&::after {
|
|
763
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
&:checked {
|
|
767
|
+
background: ${e=>e.theme.colors.primary50};
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
&[data-disabled] {
|
|
772
|
+
color: ${e=>e.theme.colors.gray300};
|
|
773
|
+
cursor: not-allowed;
|
|
774
|
+
input {
|
|
775
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
776
|
+
&:hover {
|
|
777
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
778
|
+
box-shadow: none;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
`,le=e.div`
|
|
783
|
+
background-color: var(--neutral50);
|
|
784
|
+
padding: 12px 0;
|
|
785
|
+
box-shadow: inset 0px 1px 0px #e4e8ec;
|
|
786
|
+
|
|
787
|
+
> * {
|
|
788
|
+
display: grid;
|
|
789
|
+
grid-template-columns: 32px 1fr;
|
|
790
|
+
align-content: center;
|
|
791
|
+
|
|
792
|
+
p {
|
|
793
|
+
font-weight: 600;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.icon-wrapper {
|
|
798
|
+
display: flex;
|
|
799
|
+
align-items: center;
|
|
800
|
+
}
|
|
801
|
+
`,de=({children:e,icon:t,className:o,style:r})=>m.createElement(le,{style:r,className:o},m.createElement(y,null,m.createElement("div",{className:"icon-wrapper"},t),m.createElement(T,{size:"c1",color:"var(--neutral800)"},e))),ce=e.div`
|
|
802
|
+
display: inline-flex;
|
|
803
|
+
|
|
804
|
+
gap: calc(var(--gap) * 1px);
|
|
805
|
+
> svg {
|
|
806
|
+
width: calc(var(--star-size) * 1px);
|
|
807
|
+
height: calc(var(--star-size) * 1px);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
&[data-selectable='true'] {
|
|
811
|
+
> svg {
|
|
812
|
+
cursor: pointer;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
`,pe="600ms",ue=e.div`
|
|
816
|
+
position: fixed;
|
|
817
|
+
inset: 0;
|
|
818
|
+
z-index: ${o.zIndexes.drawer};
|
|
819
|
+
pointer-events: ${e=>e.open?"auto":"none"};
|
|
820
|
+
`,he=e.div`
|
|
821
|
+
position: fixed;
|
|
822
|
+
z-index: 300;
|
|
823
|
+
background: #ffffff;
|
|
824
|
+
visibility: ${e=>e.open?"visible":"hidden"};
|
|
825
|
+
max-height: calc(100vh - 100px);
|
|
826
|
+
display: flex;
|
|
827
|
+
flex-direction: column;
|
|
828
|
+
.title {
|
|
829
|
+
display: flex;
|
|
830
|
+
align-items: center;
|
|
831
|
+
justify-content: space-between;
|
|
832
|
+
padding: 16px;
|
|
833
|
+
${e=>e.hasTitle?t`
|
|
834
|
+
border-bottom: 1px solid ${o.colors.neutral100};
|
|
835
|
+
`:null}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.close-button {
|
|
839
|
+
margin-left: auto;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
${e=>((e,o)=>{switch(e){case"top":return t`
|
|
843
|
+
top: 0;
|
|
844
|
+
width: 100%;
|
|
845
|
+
border-radius: 0px 0px 6px 6px;
|
|
846
|
+
${o?t`
|
|
847
|
+
animation: ${c} ${pe} ease-in-out forwards;
|
|
848
|
+
`:null}
|
|
849
|
+
|
|
850
|
+
&.slideOut {
|
|
851
|
+
animation: ${p} ${pe} ease-in-out forwards;
|
|
852
|
+
}
|
|
853
|
+
`;case"right":return t`
|
|
854
|
+
right: 0;
|
|
855
|
+
height: 100%;
|
|
856
|
+
min-width: 300px;
|
|
857
|
+
border-radius: 6px 0px 0px 6px;
|
|
858
|
+
|
|
859
|
+
${o?t`
|
|
860
|
+
animation: ${l} ${pe} ease-in-out forwards;
|
|
861
|
+
`:null}
|
|
862
|
+
|
|
863
|
+
&.slideOut {
|
|
864
|
+
animation: ${d} ${pe} ease-in-out forwards;
|
|
865
|
+
}
|
|
866
|
+
`;case"bottom":return t`
|
|
867
|
+
bottom: 0;
|
|
868
|
+
width: 100%;
|
|
869
|
+
border-radius: 6px 6px 0px 0px;
|
|
870
|
+
${o?t`
|
|
871
|
+
animation: ${a} ${pe} ease-in-out forwards;
|
|
872
|
+
`:null}
|
|
873
|
+
|
|
874
|
+
&.slideOut {
|
|
875
|
+
animation: ${i} ${pe} ease-in-out forwards;
|
|
876
|
+
}
|
|
877
|
+
`;case"left":return t`
|
|
878
|
+
left: 0;
|
|
879
|
+
height: 100%;
|
|
880
|
+
min-width: 300px;
|
|
881
|
+
border-radius: 0px 6px 6px 0px;
|
|
882
|
+
|
|
883
|
+
${o?t`
|
|
884
|
+
animation: ${n} ${pe} ease-in-out forwards;
|
|
885
|
+
`:null}
|
|
886
|
+
|
|
887
|
+
&.slideOut {
|
|
888
|
+
animation: ${s} ${pe} ease-in-out forwards;
|
|
889
|
+
}
|
|
890
|
+
`;default:return t`
|
|
891
|
+
left: 0;
|
|
892
|
+
height: 100%;
|
|
893
|
+
min-width: 300px;
|
|
894
|
+
border-radius: 0px 6px 6px 0px;
|
|
895
|
+
|
|
896
|
+
${o?t`
|
|
897
|
+
animation: ${a} ${pe} ease-in-out forwards;
|
|
898
|
+
`:null}
|
|
899
|
+
|
|
900
|
+
&.slideOut {
|
|
901
|
+
animation: ${i} ${pe} ease-in-out forwards;
|
|
902
|
+
}
|
|
903
|
+
`}})(e.placement,e.open)}
|
|
904
|
+
`,me=e.div`
|
|
905
|
+
min-height: 200px;
|
|
906
|
+
padding: 16px;
|
|
907
|
+
overflow-y: auto;
|
|
908
|
+
`,ge=e.div`
|
|
909
|
+
position: fixed;
|
|
910
|
+
inset: 0;
|
|
911
|
+
display: flex;
|
|
912
|
+
align-items: center;
|
|
913
|
+
justify-content: center;
|
|
914
|
+
width: 100%;
|
|
915
|
+
height: 100%;
|
|
916
|
+
overflow-x: hidden;
|
|
917
|
+
overflow-y: auto;
|
|
918
|
+
outline: 0;
|
|
919
|
+
background-color: rgba(38, 38, 38, 0.3);
|
|
920
|
+
z-index: 1;
|
|
921
|
+
&[data-open='false'] {
|
|
922
|
+
visibility: hidden;
|
|
923
|
+
pointer-events: none;
|
|
924
|
+
}
|
|
925
|
+
&[data-open='true'] {
|
|
926
|
+
visibility: visible;
|
|
927
|
+
pointer-events: auto;
|
|
928
|
+
}
|
|
929
|
+
`,be=e.div`
|
|
930
|
+
display: flex;
|
|
931
|
+
width: 100%;
|
|
932
|
+
|
|
933
|
+
&[data-direction='vertical'] {
|
|
934
|
+
flex-direction: column;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
&[data-direction='horizontal'] {
|
|
938
|
+
flex-wrap: wrap;
|
|
939
|
+
}
|
|
940
|
+
`,_e=e.div`
|
|
941
|
+
display: flex;
|
|
942
|
+
|
|
943
|
+
padding: 8px;
|
|
944
|
+
|
|
945
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
946
|
+
cursor: pointer;
|
|
947
|
+
|
|
948
|
+
& > div {
|
|
949
|
+
display: flex;
|
|
950
|
+
width: 100%;
|
|
951
|
+
height: 100%;
|
|
952
|
+
flex-direction: column;
|
|
953
|
+
align-items: center;
|
|
954
|
+
justify-content: flex-start;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
&[data-is-mb='false'] {
|
|
958
|
+
&[data-selected='true'] {
|
|
959
|
+
border: 1px solid #2d87f3;
|
|
960
|
+
background: white;
|
|
961
|
+
}
|
|
962
|
+
&[data-selected='false'] {
|
|
963
|
+
border: 1px solid #f2f2f2;
|
|
964
|
+
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
&[data-is-mb='true'] {
|
|
969
|
+
border-radius: 16px;
|
|
970
|
+
background: white;
|
|
971
|
+
padding: 16px auto;
|
|
972
|
+
|
|
973
|
+
&[data-selected='true'] {
|
|
974
|
+
border: 1px solid ${e=>e.theme.mbColors.mint};
|
|
975
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
|
|
976
|
+
}
|
|
977
|
+
&[data-selected='false'] {
|
|
978
|
+
border: none;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
&[data-disabled='true'] {
|
|
983
|
+
cursor: auto;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.radio-group-item-heading {
|
|
987
|
+
margin-top: 8px;
|
|
988
|
+
//height: 48px;
|
|
989
|
+
text-align: center;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.gender-image {
|
|
993
|
+
width: 70px;
|
|
994
|
+
height: 70px;
|
|
995
|
+
&[data-is-mobile='true'] {
|
|
996
|
+
width: 40px;
|
|
997
|
+
height: 40px;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
`;var xe=v((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const Ee=_({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),ve=({children:e,onStepChange:t})=>{const[o,r]=g(0),[a,i]=g(0),n=m.Children.count(e);x((()=>{i(n-1)}),[n]),x((()=>{null==t||t(o)}),[o]);return m.createElement(Ee.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},O(e).map(((e,t)=>{const r=t===o;return m.createElement(E,{key:t},m.isValidElement(e)?e.props.alwaysRender||r?m.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
|
|
1001
|
+
/*!
|
|
1002
|
+
* cookie
|
|
1003
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
1004
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
1005
|
+
* MIT Licensed
|
|
1006
|
+
*/
|
|
1007
|
+
var fe=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||Oe,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=Ie(l,r)}a=n+1}return o},we=function(e,t,o){var r=o||{},a=r.encode||Ae;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!Te.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!Te.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!Te.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!Te.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===ye.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},ye=Object.prototype.toString,Te=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Oe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Ae(e){return encodeURIComponent(e)}function Ie(e,t){try{return t(e)}catch(t){return e}}var Le={parse:fe,serialize:we};const Se={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}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},$e={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Re={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}"},ke={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Ce={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Pe=_({data:Ce,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Ne=Ce;const De=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,l]=g();return Ne={userInfo:o,locale:e,togetherUserId:s,router:r,env:a},x((()=>{(null==o?void 0:o.id)&&ct(tt(Se.PROFILE,{_locale:e}),"GET").then((e=>{var t;l(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),m.createElement(Pe.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:s,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i}}},t)},Ge="DD/MM/YYYY",Me="/images/avatar.jpg",Be="/images/default-image.jpg",Ue={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},ze={"id-ID":{"kalkulator-bmi":Ue.BMI,"kebutuhan-kalori":Ue.BMR,"kalkulator-hari-perkiraan-lahir":Ue.DUE_DATE,"kalkulator-masa-subur-2":Ue.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Ue.PWG,"kalkulator-detak-jantung-saat-olahraga":Ue.THR},"ms-MY":{"kalkulator-bmi":Ue.BMI,"kalkulator-bmr":Ue.BMR,"kalkulator-tarikh-bersalin":Ue.DUE_DATE,"kalkulator-kesuburan":Ue.OVULATION,"kalkulator-tambah-berat-badan-hamil":Ue.PWG,"target-heart-rate-calculator":Ue.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Ue.BMI,"tinh-chi-so-bmr":Ue.BMR,"cong-cu-tinh-ngay-du-sinh":Ue.DUE_DATE,"tinh-ngay-rung-trung":Ue.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Ue.PWG,"cong-cu-do-nhip-tim":Ue.THR},"zh-TW":{"bmi-calculator":Ue.BMI,"bmr-calculator":Ue.BMR,"due-date-calculator":Ue.DUE_DATE,"ovulation-calculator":Ue.OVULATION,"pregnancy-weight-gain-calculator":Ue.PWG,"target-heart-rate-calculator":Ue.THR},"en-PH":{"bmi-calculator":Ue.BMI,"bmr-calculator":Ue.BMR,"due-date-calculator":Ue.DUE_DATE,"ovulation-calculator":Ue.OVULATION,"pregnancy-weight-gain-calculator":Ue.PWG,"target-heart-rate-calculator":Ue.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Ue.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Ue.BMR,"เครื่องมือคำนวณกำหนดคลอด":Ue.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Ue.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Ue.PWG,"เครื่องวัดอัตราการเต้น":Ue.THR},"hi-IN":{"bmi-calculator-en":Ue.BMI,"bmi-calculator":Ue.BMI,"bmr-calculator":Ue.BMR,"delivery-date-calculator":Ue.DUE_DATE,"ovulation-calculator":Ue.OVULATION,"pregnancy-weight-gain-calculator":Ue.PWG,"target-heart-rate-calculator":Ue.THR},"km-KH":{"គណនា-bmi":Ue.BMI,"គណនា-bmr":Ue.BMR,"គណនាថ្ងៃសម្រាលកូន":Ue.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Ue.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Ue.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Ue.THR},"my-MM":{"bmi-calculator":Ue.BMI,"bmr-calculator":Ue.BMR,"due-date-calendar":Ue.DUE_DATE,"ovulation-calculator":Ue.OVULATION,"pregnaancy-weight-calculator":Ue.PWG,"target-heartrate":Ue.THR,"pregnancy-weight-calculator":Ue.PWG,"target-heart-rate":Ue.THR}},He="hhg_user_token",je="together_admin_token",Fe={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Ke={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Ve=20,Ye={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var We=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:Ge,DEFAULT_AVATAR_IMG:Me,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Be,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:Ue,LOCALE_HEALTH_TOOLS:ze,BEARER_TOKEN_COOKIE:He,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:je,Z_INDEX:Fe,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Ke,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Ye});const Xe={"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"},qe={"vi-VN":"marrybaby.vn"},Je=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Qe=e=>{const{env:{isMarryBaby:t}}=Ne;return`https://${t?qe[e]:Xe[e]}`},Ze=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},et=e=>{const{env:{isMarryBaby:t}}=Ne;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${Xe[e]}`},tt=(e,t,o)=>{let r="";o&&(r=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Ne?void 0:Ne.env)||{};let i=L(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Qe(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${r}`,a+"api/v1/"+Ze(i)},ot=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Ne?void 0:Ne.env)||{};return(!S&&o?a:r)+"wp-json/api/"+Ze(L(e,Object.assign({},t)))},rt=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Ne?void 0:Ne.env)||{};return(o&&!S?a:r)+"wp-json/api/"+Ze(L(e,Object.assign({},t)))},at=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Ne?void 0:Ne.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Ze(L(e,Object.assign({},t)))},it=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Ne?void 0:Ne.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+Ze(L(e,Object.assign({},t)))},nt=(e,t)=>{const{publicSSO:o=""}=(null==Ne?void 0:Ne.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+Ze(L(e,Object.assign({},t)))},st=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),lt=(e,t,o,r=!1)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},st(o)),{headers:Object.assign({},null==o?void 0:o.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===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),dt=(e,t="GET",o,r)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Le.parse(r||""),c=d[He]||A(He);if(!c||!c.length)return lt(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},st(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.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 lt(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),lt(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),ct=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Le.parse(r||""),i=a[He]||A(He);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},st(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),pt=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Le.parse(r||""),i=a[je]||A(je);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},st(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function ut(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const ht=(e,t,o="/community")=>{const r=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:o}=Ne.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{ut(r,e,t[e])})),ut(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},mt=(e,t,o,r)=>o&&t?`${o}-${t}`:`${I(e||"",{lower:!0,locale:r||Je})}-${t}`,gt=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=Ye[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${mt(e,t)}`},bt=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=Ye[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${mt(e,t,o)}`};var _t=v((e=>({root:{},wrapper:{gap:f(8)},groupErr:{fontSize:f(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${f(6)} ${f(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:f(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:f(26)}},itemInner:{display:"none"}})));export{ot as $,Ue as A,ct as B,tt as C,Ce as D,Se as E,it as F,Ne as G,H,Qe as I,nt as J,$ as K,qe as L,C as M,xe as N,lt as O,q as P,at as Q,He as R,ve as S,ne as T,ht as U,et as V,$e as W,Xe as X,bt as Y,Fe as Z,gt as _,de as a,Re as a0,ke as a1,pt as a2,rt as a3,ge as a4,ue as a5,he as a6,me as a7,be as a8,_e as a9,Be as aa,Ve as ab,Me as ac,Ke as ad,dt as ae,Ee as b,We as c,Pe as d,De as e,R as f,k as g,P as h,N as i,D as j,G as k,M as l,B as m,j as n,F as o,K as p,J as q,Q as r,ae as s,oe as t,re as u,se as v,ce as w,_t as x,Z as y,Ge as z};
|