@hhgtech/hhg-components 1.28.45 → 1.28.47
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/animation-1e5b6297.js +81 -0
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-eed0df85.js → constants-0b9aa2f4.js} +1 -1
- package/build/{constants-715f497a.js → constants-ded45618.js} +2 -2
- package/build/constants.js +1 -1
- package/build/{core-053d2b2b.js → core-d774c80a.js} +1 -1
- package/build/dataTransform-770a8af7.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/animation-4d5baff8.js +81 -0
- package/build/esm/babyGrowth.js +38 -38
- 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-474a60fc.js → constants-7f54318a.js} +2 -2
- package/build/esm/{constants-995212e1.js → constants-d7c4fed6.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-a9271475.js → core-539e7939.js} +1 -1
- package/build/esm/dataTransform-82022f0b.js +1 -0
- 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-4d3d11ac.js +1 -0
- package/build/esm/{getSocialList-2b54a130.js → getSocialList-1766c602.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-0fd0a8fb.js +2748 -0
- package/build/esm/{index-4cc27c0a.js → index-156081e2.js} +9 -9
- package/build/esm/{index-2eaf28c4.js → index-1d068cf5.js} +1 -1
- package/build/esm/{index-ab03b9dd.js → index-1fce73b8.js} +1 -1
- package/build/esm/index-2f6fbc5e.js +375 -0
- package/build/esm/index-30ecb1e3.js +1 -0
- package/build/esm/index-5581ff57.js +1 -0
- package/build/esm/index-679dd359.js +1430 -0
- package/build/esm/{index-fdc4fb0f.js → index-72664e72.js} +1 -1
- package/build/esm/{index-a2dcf4e9.js → index-7b4c9ffd.js} +1 -1
- package/build/esm/index-8e3a85f0.js +50 -0
- package/build/esm/{index-1cfc85b4.js → index-924d8b45.js} +3 -3
- package/build/esm/index-98f238b2.js +1 -0
- package/build/esm/{index-7678ada1.js → index-9b020630.js} +1 -1
- package/build/esm/index-ac89ac70.js +137 -0
- package/build/esm/index-b51813fe.js +1 -0
- package/build/esm/index-bd5220da.js +1 -0
- package/build/esm/index-c51596b2.js +1 -0
- package/build/esm/index-cff19603.js +177 -0
- package/build/esm/index-d53f330a.js +1 -0
- package/build/esm/{index-cd710e7d.js → index-f09be292.js} +1 -1
- package/build/esm/index-f5ac3469.js +1 -0
- package/build/esm/{index-a454d80b.js → index-fcb7c05d.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-4098b19f.js → index.styled-222b6ef8.js} +1 -1
- package/build/esm/index.styles-f450b969.js +839 -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/onboardingV2.js +34 -34
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-d3019505.js → routing-fa27835c.js} +1 -1
- package/build/esm/subot.js +124 -124
- package/build/esm/together.js +1 -1
- package/build/esm/{types-56ff87b5.js → types-1779ff39.js} +10 -10
- package/build/esm/types-de0e0789.js +3004 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-dc56ef34.js +1 -0
- package/build/esm/useHealthToolCache-09b61354.js +1 -0
- package/build/esm/{usePlacesAutocomplete-80551f6b.js → usePlacesAutocomplete-c2dd02dd.js} +1 -1
- package/build/esm/useTranslations-49e0430f.js +1 -0
- package/build/esm/utils-1550f4c2.js +1 -0
- package/build/esm/utils-ab3bd9a9.js +7 -0
- package/build/esm/{utils-9dae9f7b.js → utils-bc76e7d8.js} +2 -2
- package/build/esm/{utils-6577ea25.js → utils-ce8e4c84.js} +1 -1
- package/build/esm/vaccination.js +40 -40
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-91d3a539.js +1 -0
- package/build/{getSocialList-b951173d.js → getSocialList-95d4b1ab.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-031eda4d.js +50 -0
- package/build/{index-f85e80c5.js → index-04bf4b9a.js} +1 -1
- package/build/index-087d7573.js +1 -0
- package/build/{index-f1338b36.js → index-0a35e29e.js} +1 -1
- package/build/{index-5f2adc06.js → index-0e2baf55.js} +1 -1
- package/build/index-1c74e473.js +2748 -0
- package/build/{index-6e685d2b.js → index-20b8b28c.js} +1 -1
- package/build/index-22f6821f.js +177 -0
- package/build/{index-d14172a4.js → index-3183ed6e.js} +1 -1
- package/build/index-3c0d0730.js +375 -0
- package/build/index-4198e282.js +1 -0
- package/build/index-5e65f738.js +137 -0
- package/build/{index-b23382c3.js → index-84f168eb.js} +1 -1
- package/build/{index-72cfe602.js → index-8b4d8b74.js} +4 -4
- package/build/{index-718b4bad.js → index-8d147028.js} +3 -3
- package/build/{index-fe775c96.js → index-9f2fce62.js} +1 -1
- package/build/{index-b3478b6c.js → index-a1e30b09.js} +1 -1
- package/build/index-abe7bb48.js +1430 -0
- package/build/index-afd5d772.js +1 -0
- package/build/index-c53c2cf6.js +1 -0
- package/build/index-ebed7399.js +1 -0
- package/build/{index-cdf087ee.js → index-f56af2a1.js} +1 -1
- package/build/index-f80db37d.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-2bb5f5a2.js → index.styled-250b6af4.js} +1 -1
- package/build/index.styles-f2358064.js +839 -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/onboardingV2.js +34 -34
- package/build/pwg.js +2 -2
- package/build/{routing-9c9a4f25.js → routing-ed60b4e3.js} +1 -1
- package/build/subot.js +123 -123
- package/build/together.js +1 -1
- package/build/types-2602cb14.js +3004 -0
- package/build/{types-adecb2ce.js → types-662fa8fb.js} +10 -10
- package/build/types.js +1 -1
- package/build/useCategory-f58f3f7e.js +1 -0
- package/build/useHealthToolCache-d78d2251.js +1 -0
- package/build/{usePlacesAutocomplete-39be4478.js → usePlacesAutocomplete-11729974.js} +1 -1
- package/build/{useTranslations-1ddacded.js → useTranslations-eef7f548.js} +1 -1
- package/build/{utils-a5d09d21.js → utils-5af37bc5.js} +1 -1
- package/build/{utils-871f6c88.js → utils-74e9f3ab.js} +1 -1
- package/build/utils-adde2380.js +1 -0
- package/build/utils-ec00b8cb.js +1 -0
- package/build/vaccination.js +33 -33
- package/package.json +3 -2
- package/build/dataTransform-d5d1a86d.js +0 -1
- package/build/esm/dataTransform-f4d63a0a.js +0 -1
- package/build/esm/getDynamicHealthTool-9b662a1a.js +0 -1
- package/build/esm/index-303e2009.js +0 -1
- package/build/esm/index-3c4ac2ae.js +0 -1
- package/build/esm/index-4bc5ecbb.js +0 -1
- package/build/esm/index-55d2faa0.js +0 -1
- package/build/esm/index-608b4a88.js +0 -177
- package/build/esm/index-6f066011.js +0 -1
- package/build/esm/index-95a46cf3.js +0 -1
- package/build/esm/index-993a5f79.js +0 -1
- package/build/esm/index-baaa911b.js +0 -1
- package/build/esm/index-be8e7751.js +0 -1
- package/build/esm/index-cc519ac7.js +0 -3122
- package/build/esm/index-d17ea22d.js +0 -1
- package/build/esm/index-d343bc50.js +0 -1
- package/build/esm/index-ff10bc28.js +0 -1
- package/build/esm/index.styled-156505c7.js +0 -1430
- package/build/esm/index.styled-3e11e657.js +0 -3140
- package/build/esm/index.styled-be084b87.js +0 -50
- package/build/esm/index.styles-caebb95e.js +0 -846
- package/build/esm/screenSizeContext-8e3cd726.js +0 -81
- package/build/esm/types-f3a821e7.js +0 -1
- package/build/esm/useCategory-e47c3929.js +0 -1
- package/build/esm/useHealthToolCache-4a39e9dc.js +0 -1
- package/build/esm/useRafState-8fe79e7a.js +0 -1
- package/build/esm/useTranslations-2b415154.js +0 -1
- package/build/getDynamicHealthTool-ecfb21b0.js +0 -1
- package/build/index-0988dfe4.js +0 -1
- package/build/index-0f3e6076.js +0 -1
- package/build/index-10d9fdff.js +0 -177
- package/build/index-24113bb4.js +0 -1
- package/build/index-3489608d.js +0 -1
- package/build/index-4bfad06d.js +0 -1
- package/build/index-7b85f299.js +0 -1
- package/build/index-901812ad.js +0 -3122
- package/build/index-c22d32f6.js +0 -1
- package/build/index-d74ab92f.js +0 -1
- package/build/index-db0da298.js +0 -1
- package/build/index-f4356d3b.js +0 -1
- package/build/index.styled-39310ce9.js +0 -50
- package/build/index.styled-3a1748a5.js +0 -3140
- package/build/index.styled-75539e3d.js +0 -1430
- package/build/index.styles-d3c65e64.js +0 -846
- package/build/screenSizeContext-83eeed99.js +0 -81
- package/build/types-582a67ed.js +0 -1
- package/build/useCategory-957ea2a8.js +0 -1
- package/build/useHealthToolCache-260b51e2.js +0 -1
- package/build/useRafState-8a41d548.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-3ccdbf2f.js → BMI_BOYS.percentile.monthly-b574351a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-003704d5.js → BMI_BOYS.percentile.weekly-ad058945.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-51f6c930.js → BMI_BOYS.percentile.yearly-8ada8234.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-05504085.js → BMI_BOYS.zscore.monthly-f16e149c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2a93a8db.js → BMI_BOYS.zscore.weekly-776e513d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-37291e62.js → BMI_BOYS.zscore.yearly-3d6a4a73.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-97288e63.js → BMI_GIRLS.percentile.monthly-10009b9f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c701d6ff.js → BMI_GIRLS.percentile.weekly-6557eb44.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-edee3575.js → BMI_GIRLS.percentile.yearly-3f4acf36.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-0ac77300.js → BMI_GIRLS.zscore.monthly-6a304df3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f726c4f9.js → BMI_GIRLS.zscore.weekly-e0d6db84.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-c1af9dbd.js → BMI_GIRLS.zscore.yearly-a6ec380e.js} +0 -0
- /package/build/{ChevronDown-e26b6333.js → ChevronDown-a8966000.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c1dbc6d4.js → HEAD CIRCUM_BOYS.percentile.monthly-71a87239.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9c97d194.js → HEAD CIRCUM_BOYS.percentile.weekly-b862aacb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-84f770fb.js → HEAD CIRCUM_BOYS.percentile.yearly-13eada26.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8522b577.js → HEAD CIRCUM_BOYS.zscore.monthly-f9c4f89e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d05b4957.js → HEAD CIRCUM_BOYS.zscore.weekly-4e1a4178.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d1d2d682.js → HEAD CIRCUM_BOYS.zscore.yearly-554a8878.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bc7f8e45.js → HEAD CIRCUM_GIRLS.percentile.monthly-2910870c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e24f18fa.js → HEAD CIRCUM_GIRLS.percentile.weekly-0f14fedf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-65fe9b8f.js → HEAD CIRCUM_GIRLS.percentile.yearly-596b0da0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cc51585e.js → HEAD CIRCUM_GIRLS.zscore.monthly-69ae9a0c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0cdef99a.js → HEAD CIRCUM_GIRLS.zscore.weekly-114e70a3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4df0cb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6747ec7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-42701f3c.js → HEIGHT_BOYS.percentile.monthly-cb959489.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-dde65fbd.js → HEIGHT_BOYS.percentile.weekly-7955c34e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-00d00cf7.js → HEIGHT_BOYS.percentile.yearly-b073f41f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-9b22b188.js → HEIGHT_BOYS.zscore.monthly-1ae80a89.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-1e042b69.js → HEIGHT_BOYS.zscore.weekly-cd4bc068.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0c232fd2.js → HEIGHT_BOYS.zscore.yearly-7eb6af8e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1dc63069.js → HEIGHT_GIRLS.percentile.monthly-d2959962.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-4b58bd05.js → HEIGHT_GIRLS.percentile.weekly-99981d42.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-9fc93f07.js → HEIGHT_GIRLS.percentile.yearly-d1d13641.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-35400da4.js → HEIGHT_GIRLS.zscore.monthly-d9a63188.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-dd1f44e2.js → HEIGHT_GIRLS.zscore.weekly-d58b3339.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a69b75ca.js → HEIGHT_GIRLS.zscore.yearly-ae58b0a3.js} +0 -0
- /package/build/{Subot-695ffc58.js → Subot-511ff255.js} +0 -0
- /package/build/{Visible-72e550ed.js → Visible-338d5d3b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2dea455a.js → WEIGHT_BOYS.percentile.monthly-3687233c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-184f141e.js → WEIGHT_BOYS.percentile.weekly-c0915786.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c9e8aaf8.js → WEIGHT_BOYS.percentile.yearly-898b748c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c9f03466.js → WEIGHT_BOYS.zscore.monthly-e47a72be.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-413af608.js → WEIGHT_BOYS.zscore.weekly-23cc874f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-fd8ddd34.js → WEIGHT_BOYS.zscore.yearly-2c523e95.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b78e414e.js → WEIGHT_GIRLS.percentile.monthly-232c03ec.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-6979e7ca.js → WEIGHT_GIRLS.percentile.weekly-363f6163.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-be5d12e7.js → WEIGHT_GIRLS.percentile.yearly-09c2db7a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-28299624.js → WEIGHT_GIRLS.zscore.monthly-996f2f01.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8584439e.js → WEIGHT_GIRLS.zscore.weekly-1c937534.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2e04a2a2.js → WEIGHT_GIRLS.zscore.yearly-ab136277.js} +0 -0
- /package/build/{cookieHelper-2e8bb9fa.js → cookieHelper-91788da6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-486f83ee.js → BMI_BOYS.percentile.monthly-f3616831.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-fd3c15c3.js → BMI_BOYS.percentile.weekly-e94f9b0c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-da6eb7ec.js → BMI_BOYS.percentile.yearly-8f7ac99b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-62d445f2.js → BMI_BOYS.zscore.monthly-54be7428.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f67c90eb.js → BMI_BOYS.zscore.weekly-6c12aa9f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b1a41fe8.js → BMI_BOYS.zscore.yearly-1c23b3d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-66a216cc.js → BMI_GIRLS.percentile.monthly-8a502893.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b46429d6.js → BMI_GIRLS.percentile.weekly-fa839bec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6a6af348.js → BMI_GIRLS.percentile.yearly-a4566ca8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-41bb8c08.js → BMI_GIRLS.zscore.monthly-aab4d85c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-04eb8b89.js → BMI_GIRLS.zscore.weekly-f8488af5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-099feda2.js → BMI_GIRLS.zscore.yearly-a4d7a630.js} +0 -0
- /package/build/esm/{ChevronDown-c2b4123b.js → ChevronDown-7443ba17.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-53d11c4f.js → HEAD CIRCUM_BOYS.percentile.monthly-dd491a3d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19dae757.js → HEAD CIRCUM_BOYS.percentile.weekly-9a4cc487.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e744f2ee.js → HEAD CIRCUM_BOYS.percentile.yearly-5ff7c492.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-12b76190.js → HEAD CIRCUM_BOYS.zscore.monthly-921be2d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a62a347c.js → HEAD CIRCUM_BOYS.zscore.weekly-f5d468d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d1c96a90.js → HEAD CIRCUM_BOYS.zscore.yearly-5199b4a7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-52e91c35.js → HEAD CIRCUM_GIRLS.percentile.monthly-8679c7bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-51fd4b94.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e2dcb2b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fb3c718e.js → HEAD CIRCUM_GIRLS.percentile.yearly-c6203100.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d54ac23.js → HEAD CIRCUM_GIRLS.zscore.monthly-856a5b1e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-17722148.js → HEAD CIRCUM_GIRLS.zscore.weekly-0783f118.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0849bdb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-a84257a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9219856c.js → HEIGHT_BOYS.percentile.monthly-788fb5b4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f257a74f.js → HEIGHT_BOYS.percentile.weekly-f5190462.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3ed1a065.js → HEIGHT_BOYS.percentile.yearly-afe4fd67.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a58e6f2e.js → HEIGHT_BOYS.zscore.monthly-bb98f05e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-af59d81d.js → HEIGHT_BOYS.zscore.weekly-dfb95358.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d64544e6.js → HEIGHT_BOYS.zscore.yearly-055fefcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-58d712e2.js → HEIGHT_GIRLS.percentile.monthly-441d5eec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5718378.js → HEIGHT_GIRLS.percentile.weekly-df673b20.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-306e09e7.js → HEIGHT_GIRLS.percentile.yearly-b8635e96.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ad472813.js → HEIGHT_GIRLS.zscore.monthly-8350897b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e53d92d3.js → HEIGHT_GIRLS.zscore.weekly-820a7ef3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3e6e23aa.js → HEIGHT_GIRLS.zscore.yearly-b2f2d906.js} +0 -0
- /package/build/esm/{Subot-dc774172.js → Subot-3d309d90.js} +0 -0
- /package/build/esm/{Visible-302a3e45.js → Visible-45ab1e13.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-49a7ae53.js → WEIGHT_BOYS.percentile.monthly-566b72c0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-63420203.js → WEIGHT_BOYS.percentile.weekly-ae3bef15.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-26609ac2.js → WEIGHT_BOYS.percentile.yearly-fd72f182.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cb16306f.js → WEIGHT_BOYS.zscore.monthly-4ebeca1a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-291be10f.js → WEIGHT_BOYS.zscore.weekly-1edeedcc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6a25a7fa.js → WEIGHT_BOYS.zscore.yearly-b42da93c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d11ea01c.js → WEIGHT_GIRLS.percentile.monthly-ab099390.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-93c36ba6.js → WEIGHT_GIRLS.percentile.weekly-e604f0e1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5fc6d885.js → WEIGHT_GIRLS.percentile.yearly-9575be98.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f6fd15b.js → WEIGHT_GIRLS.zscore.monthly-bddddbe3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ea9c19e1.js → WEIGHT_GIRLS.zscore.weekly-f255cbfc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9665443f.js → WEIGHT_GIRLS.zscore.yearly-a99d0fd7.js} +0 -0
- /package/build/esm/{cookieHelper-d6490b00.js → cookieHelper-0acd4fc8.js} +0 -0
- /package/build/esm/{index-379f6571.js → index-550480ee.js} +0 -0
- /package/build/esm/{index-a59b0ec0.js → index-5dc45c1c.js} +0 -0
- /package/build/esm/{index-d5fe6c4e.js → index-a6ddd645.js} +0 -0
- /package/build/esm/{isProduction-7b1509aa.js → isProduction-135c9280.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b4e337ed.js → localizeNumberFormat-883148fd.js} +0 -0
- /package/build/esm/{normalizeLink-7bed1319.js → normalizeLink-75e03b67.js} +0 -0
- /package/build/esm/{number-eb39d16c.js → number-73b198fe.js} +0 -0
- /package/build/esm/{paths-2e45cb1b.js → paths-61361575.js} +0 -0
- /package/build/esm/{theme-adbee273.js → theme-0d3c8845.js} +0 -0
- /package/build/esm/{translationsContext-4623d384.js → translationsContext-ee7ec6eb.js} +0 -0
- /package/build/esm/{tslib.es6-693de4fd.js → tslib.es6-c43c14a5.js} +0 -0
- /package/build/esm/{types-054bf1d5.js → types-745b966e.js} +0 -0
- /package/build/esm/{useIsInit-7d5bf403.js → useIsInit-d5727c47.js} +0 -0
- /package/build/esm/{useOutsideClick-5c82f669.js → useOutsideClick-e4f22be5.js} +0 -0
- /package/build/esm/{useScrollbarSize-cfeb4651.js → useScrollbarSize-0d367255.js} +0 -0
- /package/build/{index-346123fd.js → index-52b005ff.js} +0 -0
- /package/build/{index-53fb3b00.js → index-983a543a.js} +0 -0
- /package/build/{index-408e11c4.js → index-f2e5a43e.js} +0 -0
- /package/build/{isProduction-87f95c7d.js → isProduction-8a3929cb.js} +0 -0
- /package/build/{localizeNumberFormat-e7196b4e.js → localizeNumberFormat-d00e3203.js} +0 -0
- /package/build/{normalizeLink-245ad49c.js → normalizeLink-e4d8df7b.js} +0 -0
- /package/build/{number-5c9d6f63.js → number-9930fc27.js} +0 -0
- /package/build/{paths-3287ee93.js → paths-ed97730a.js} +0 -0
- /package/build/{theme-785c6f0c.js → theme-0bb94193.js} +0 -0
- /package/build/{translationsContext-efee8d50.js → translationsContext-e09b4f33.js} +0 -0
- /package/build/{tslib.es6-ef1f81bf.js → tslib.es6-293338f5.js} +0 -0
- /package/build/{types-0321e2cc.js → types-140f0c7d.js} +0 -0
- /package/build/{useIsInit-311b057a.js → useIsInit-f9337a25.js} +0 -0
- /package/build/{useOutsideClick-7ddf4eaa.js → useOutsideClick-ac461ca7.js} +0 -0
- /package/build/{useScrollbarSize-6947aaa0.js → useScrollbarSize-9413af1b.js} +0 -0
|
@@ -1,846 +0,0 @@
|
|
|
1
|
-
import"dayjs";import{M as e,s as t,e as o,b as r,f as a,c as i,g as n,a as s,d as l}from"./screenSizeContext-8e3cd726.js";import d,{useState as c,forwardRef as p,createContext as u,useEffect as g,Fragment as h}from"react";import m,{css as b}from"styled-components";import{t as _}from"./theme-adbee273.js";import"./index-a454d80b.js";import{i as E}from"./isProduction-7b1509aa.js";import"./Subot-dc774172.js";import"./index-7678ada1.js";import{_ as v,a as x}from"./tslib.es6-693de4fd.js";import{createStyles as f,rem as w}from"@mantine/core";import{L as T}from"./constants-474a60fc.js";import y from"react-keyed-flatten-children";import{g as O}from"./cookieHelper-d6490b00.js";import A from"slugify";import I from"string-format";const L=m.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: ${_.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: ${_.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
|
-
`,S=m.div`
|
|
58
|
-
position: relative;
|
|
59
|
-
|
|
60
|
-
> div {
|
|
61
|
-
width: max-content;
|
|
62
|
-
position: relative;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
span {
|
|
66
|
-
font-weight: ${_.sizes.fwBold};
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
align-items: center;
|
|
70
|
-
|
|
71
|
-
${e=>((e,t,o,r)=>{let a="";if("numeric"===e)switch(t){case"medium":a="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":a="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let i,n="";o&&(n="\n position: absolute;\n top: 0;\n left: 75%;\n "),o&&(i=`\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 s="";switch(r){case"primary":s=`\n background: ${_.colors.primary50};\n color: ${_.colors.primary600}; \n `;break;case"error":s=`\n background: ${_.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${n}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${s}\n `;case"numeric":return`\n ${n}\n width: max-content;\n border-radius: 32px;\n ${a}\n ${i}\n ${s}\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
|
-
`,R=m.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: ${_.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: ${_.sizes.fwBold};
|
|
106
|
-
}
|
|
107
|
-
&[data-type='semiBold'] {
|
|
108
|
-
font-weight: ${_.sizes.fwSemiBold};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&[data-uppercase] {
|
|
112
|
-
text-transform: uppercase;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
${e.mbDown} {
|
|
116
|
-
&[data-size='lg'] {
|
|
117
|
-
font-size: 16px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
`,k=m.hr`
|
|
121
|
-
border-width: 1px;
|
|
122
|
-
border-color: ${_.colors.neutral200};
|
|
123
|
-
border-style: ${e=>e.dividerType};
|
|
124
|
-
`,$=m.div`
|
|
125
|
-
position: relative;
|
|
126
|
-
box-sizing: border-box;
|
|
127
|
-
border: 1px solid ${_.colors.gray200};
|
|
128
|
-
background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
|
|
129
|
-
background-position: right 16px center;
|
|
130
|
-
border-radius: ${_.borderRadius};
|
|
131
|
-
|
|
132
|
-
&[data-has-icons='true'] {
|
|
133
|
-
border: none;
|
|
134
|
-
background: ${_.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 ${_.colors.primary200};
|
|
173
|
-
}
|
|
174
|
-
`,C=m.div`
|
|
175
|
-
padding: 12px 18px 12px 16px;
|
|
176
|
-
cursor: pointer;
|
|
177
|
-
&[data-dropdown-open] {
|
|
178
|
-
padding: 11px 15px 11px 15px;
|
|
179
|
-
border: 1px solid ${_.colors.primaryBase};
|
|
180
|
-
border-radius: ${_.borderRadius};
|
|
181
|
-
box-shadow: 0 0 2px 2px ${_.colors.primary200};
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
& > svg {
|
|
185
|
-
height: 16px;
|
|
186
|
-
width: 16px;
|
|
187
|
-
}
|
|
188
|
-
`,P=m.ul`
|
|
189
|
-
position: absolute;
|
|
190
|
-
top: 100%;
|
|
191
|
-
right: 0;
|
|
192
|
-
left: 0;
|
|
193
|
-
display: block;
|
|
194
|
-
margin-top: 4px;
|
|
195
|
-
background: ${_.colors.white};
|
|
196
|
-
border-radius: ${_.borderRadius};
|
|
197
|
-
box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
|
|
198
|
-
-2px 2px 5px rgba(67, 86, 100, 0.123689);
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
|
|
201
|
-
&[data-has-icons='true'] {
|
|
202
|
-
background: white;
|
|
203
|
-
box-shadow: none;
|
|
204
|
-
border: 1px solid ${_.colors.gray200};
|
|
205
|
-
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
206
|
-
}
|
|
207
|
-
`,N=m.li`
|
|
208
|
-
margin: 8px;
|
|
209
|
-
padding: 12px 18px 12px 16px;
|
|
210
|
-
border-radius: ${_.borderRadius};
|
|
211
|
-
display: flex;
|
|
212
|
-
&:hover,
|
|
213
|
-
:active {
|
|
214
|
-
background: ${_.colors.gray100};
|
|
215
|
-
}
|
|
216
|
-
`,D=m.div`
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
margin-right: 8px;
|
|
220
|
-
|
|
221
|
-
& > svg {
|
|
222
|
-
height: 16px;
|
|
223
|
-
width: 16px;
|
|
224
|
-
}
|
|
225
|
-
`,G=m.div`
|
|
226
|
-
--columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
|
|
227
|
-
--columns-desktop: var(
|
|
228
|
-
--grid-template-columns-desktop,
|
|
229
|
-
repeat(var(--columns-count-desktop), 1fr)
|
|
230
|
-
);
|
|
231
|
-
display: grid;
|
|
232
|
-
grid-template-columns: var(--columns);
|
|
233
|
-
grid-gap: var(--grid-gap);
|
|
234
|
-
align-items: var(--align-items);
|
|
235
|
-
|
|
236
|
-
${e.tdUp} {
|
|
237
|
-
grid-template-columns: var(--columns-desktop);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
> * {
|
|
241
|
-
justify-self: var(--justify-children);
|
|
242
|
-
}
|
|
243
|
-
`;var M="xzO2I0N";const U=f((()=>({root:{}}))),B=e=>{var t,{as:o,tag:r,className:a,children:i,title:n,color:s,style:l,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:g}=e,h=v(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const m=o||r,{theme:b}=U(void 0,{name:"Heading"});return d.createElement(m,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==b?void 0:b.other)||void 0===t?void 0:t.template)?b.colors.gray[9]:b.colors.gray[8])},l),"data-tag":r,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":g,className:`${M} ${a||""}`},h),i)},z=m.div`
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
246
|
-
justify-content: space-between;
|
|
247
|
-
user-select: none;
|
|
248
|
-
li {
|
|
249
|
-
transition: all 0.3s ease;
|
|
250
|
-
}
|
|
251
|
-
[data-page-active] {
|
|
252
|
-
background: ${_.colors.primaryBase};
|
|
253
|
-
color: ${_.colors.white};
|
|
254
|
-
|
|
255
|
-
> a {
|
|
256
|
-
color: ${_.colors.white};
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
`,H=m.div`
|
|
260
|
-
display: flex;
|
|
261
|
-
width: 32px;
|
|
262
|
-
height: 32px;
|
|
263
|
-
box-sizing: border-box;
|
|
264
|
-
align-items: center;
|
|
265
|
-
justify-content: center;
|
|
266
|
-
border: 1px solid ${_.colors.gray200};
|
|
267
|
-
margin: 0 2px;
|
|
268
|
-
border-radius: 4px;
|
|
269
|
-
color: ${_.colors.gray800};
|
|
270
|
-
cursor: pointer;
|
|
271
|
-
font-size: 14px;
|
|
272
|
-
font-weight: ${_.sizes.fwBold};
|
|
273
|
-
|
|
274
|
-
&[data-last-page] {
|
|
275
|
-
border: none;
|
|
276
|
-
background-color: ${_.colors.gray100};
|
|
277
|
-
cursor: not-allowed;
|
|
278
|
-
pointer-events: none;
|
|
279
|
-
|
|
280
|
-
svg {
|
|
281
|
-
path {
|
|
282
|
-
stroke: ${_.colors.gray300};
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
`,j=m.li`
|
|
287
|
-
display: flex;
|
|
288
|
-
width: 32px;
|
|
289
|
-
height: 32px;
|
|
290
|
-
align-items: center;
|
|
291
|
-
justify-content: center;
|
|
292
|
-
margin: 0 2px;
|
|
293
|
-
border-radius: 4px;
|
|
294
|
-
color: ${_.colors.gray800};
|
|
295
|
-
cursor: pointer;
|
|
296
|
-
font-size: 14px;
|
|
297
|
-
font-weight: ${_.sizes.fwBold};
|
|
298
|
-
|
|
299
|
-
> a {
|
|
300
|
-
color: ${_.colors.gray800};
|
|
301
|
-
text-decoration: unset;
|
|
302
|
-
display: block;
|
|
303
|
-
width: 100%;
|
|
304
|
-
height: 100%;
|
|
305
|
-
line-height: 32px;
|
|
306
|
-
text-align: center;
|
|
307
|
-
}
|
|
308
|
-
`,F=m.div`
|
|
309
|
-
position: relative;
|
|
310
|
-
width: 100%;
|
|
311
|
-
|
|
312
|
-
&[data-has-error] {
|
|
313
|
-
input {
|
|
314
|
-
border-color: ${_.colors.red700};
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
input {
|
|
319
|
-
width: 100%;
|
|
320
|
-
padding: 12px 16px;
|
|
321
|
-
border: solid 1px ${_.colors.gray200};
|
|
322
|
-
border-radius: ${_.borderRadius};
|
|
323
|
-
|
|
324
|
-
&:active,
|
|
325
|
-
&:focus,
|
|
326
|
-
.focused & {
|
|
327
|
-
border-color: ${_.colors.primaryBase};
|
|
328
|
-
box-shadow: 0px 0px 2px 2px ${_.colors.primary200};
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
&:disabled {
|
|
332
|
-
background-color: ${_.colors.gray100};
|
|
333
|
-
cursor: not-allowed;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
&[data-has-action-icon] {
|
|
338
|
-
input {
|
|
339
|
-
padding: 12px 48px 12px 16px;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
&[data-has-display-icon] {
|
|
343
|
-
input {
|
|
344
|
-
padding: 12px 16px 12px 48px;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
&[data-has-action-icon][data-has-display-icon] {
|
|
349
|
-
input {
|
|
350
|
-
padding: 12px 48px;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
&[data-size='lg'] {
|
|
355
|
-
input {
|
|
356
|
-
font-size: 16px;
|
|
357
|
-
font-weight: ${_.sizes.fwRegular};
|
|
358
|
-
${e.mbDown} {
|
|
359
|
-
font-size: 22px;
|
|
360
|
-
line-height: 1.2;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
${e.mbUp} {
|
|
364
|
-
font-size: 26px;
|
|
365
|
-
line-height: 1.2;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
&[data-size='md'] {
|
|
370
|
-
input {
|
|
371
|
-
font-weight: ${_.sizes.fwRegular};
|
|
372
|
-
${e.mbDown} {
|
|
373
|
-
font-size: 14px;
|
|
374
|
-
line-height: 1.2;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
${e.mbUp} {
|
|
378
|
-
font-size: 16px;
|
|
379
|
-
line-height: 1.2;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
&[data-size='sm'] {
|
|
384
|
-
input {
|
|
385
|
-
font-weight: ${_.sizes.fwRegular};
|
|
386
|
-
${e.mbDown} {
|
|
387
|
-
font-size: 13px;
|
|
388
|
-
line-height: 1.5;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
${e.mbUp} {
|
|
392
|
-
font-size: 13px;
|
|
393
|
-
line-height: 1.5;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
`;m.label`
|
|
398
|
-
display: inline-block;
|
|
399
|
-
margin-bottom: 4px;
|
|
400
|
-
color: ${_.colors.gray600};
|
|
401
|
-
font-weight: ${_.sizes.fwBold};
|
|
402
|
-
`;const K=m.label`
|
|
403
|
-
color: ${_.colors.red700};
|
|
404
|
-
font-weight: ${_.sizes.fwRegular};
|
|
405
|
-
`,V=m.div`
|
|
406
|
-
position: absolute;
|
|
407
|
-
top: 50%;
|
|
408
|
-
right: 16px;
|
|
409
|
-
display: inline-flex;
|
|
410
|
-
cursor: pointer;
|
|
411
|
-
transform: translateY(-50%);
|
|
412
|
-
`,Y=m.div`
|
|
413
|
-
position: absolute;
|
|
414
|
-
top: 50%;
|
|
415
|
-
left: 16px;
|
|
416
|
-
display: inline-flex;
|
|
417
|
-
cursor: default;
|
|
418
|
-
transform: translateY(-50%);
|
|
419
|
-
`,W=d.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:a="off",defaultValue:i,actionIcon:n,displayIcon:s,isDeleteAction:l,onActionClick:p,label:u,placeholder:g,className:h,onChange:m,onKeyPress:b,isDisabled:_,CustomInput:E,size:x,style:f,autoFocus:w,type:y="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=v(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,k]=c(i);return d.createElement(F,{"data-size":x,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},u&&d.createElement(T,{size:"label2",htmlFor:o,className:"inputLabel"},u),d.createElement("div",{style:{position:"relative"}},E||d.createElement("input",Object.assign({id:o,name:o,placeholder:g,onChange:null!=L?L:e=>{return t=e.target.value,k(t),void m(t);var t},onKeyPress:b,type:y,"aria-label":y,disabled:_,value:R,autoComplete:a,ref:t,autoFocus:w,inputMode:O||"number"===y?"numeric":y,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),s&&d.createElement(Y,{className:"displayIcon"},s),n&&d.createElement(V,{className:"actionIcon",onClick:()=>{var e;l&&(k(""),null===(e=t.current)||void 0===e||e.focus()),p&&p()}},n)),r&&r.length>0&&d.createElement(K,{className:"errorLabel"},r))}));W.displayName="PureInput";const X=m.div`
|
|
420
|
-
--padding-horizontal: 8px;
|
|
421
|
-
--pading-vertical: 2px;
|
|
422
|
-
display: flex;
|
|
423
|
-
align-items: center;
|
|
424
|
-
justify-content: center;
|
|
425
|
-
padding: var(--pading-vertical) var(--padding-horizontal);
|
|
426
|
-
border-radius: 24px;
|
|
427
|
-
|
|
428
|
-
${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 ${_.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${_.sizes.fwBold};\n color: var(\n --text-props-color,\n ${_.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: ${_.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 `}
|
|
429
|
-
|
|
430
|
-
${e=>e.isInline&&"\n display: inline-block;\n "}
|
|
431
|
-
|
|
432
|
-
${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
|
|
433
|
-
|
|
434
|
-
p {
|
|
435
|
-
${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${_.colors.white});\n `}
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
${e=>((e,t)=>{switch(e){case"yellow":return`\n background: ${t?_.colors.yellow50:_.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${_.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${_.colors.white};\n border: 1px solid ${_.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${_.colors.gray800}\n );\n }\n \n &:hover {\n background: ${_.colors.gray100};\n }\n `;case"red":return`\n background: ${t?_.colors.red50:_.colors.red500};\n `;case"green":return`\n background: ${t?_.colors.green50:_.colors.green500};\n `;case"blue":return`\n background: ${t?_.colors.primary50:_.colors.primaryBase};\n `;case"teal":return`\n background: ${t?_.colors.teal100:_.colors.teal600};\n `;case"pink":return`\n background: ${t?_.colors.pink200:_.colors.pink800};\n `;case"violet":return`\n background: ${t?_.colors.violet100:_.colors.violet500};\n `;case"grey":return`\n background: ${t?_.colors.gray100:_.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
|
|
439
|
-
|
|
440
|
-
${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
|
|
441
|
-
|
|
442
|
-
${e=>e.tagIsALink&&"\n cursor: pointer;\n "}
|
|
443
|
-
|
|
444
|
-
&[data-is-selected],
|
|
445
|
-
&:active {
|
|
446
|
-
background: ${_.colors.primary50};
|
|
447
|
-
}
|
|
448
|
-
`,q=(e,t)=>p(((o,r)=>{var{className:a}=o,i=v(o,["className"]);return d.createElement(e,Object.assign({ref:r,className:`${t} ${a||""}`},i))})),J="24px",Q="hhgcomp-toggle-icon",Z=q(m.span`
|
|
449
|
-
position: relative;
|
|
450
|
-
display: block;
|
|
451
|
-
width: 40px;
|
|
452
|
-
height: ${J};
|
|
453
|
-
background: #c3cbd4;
|
|
454
|
-
border-radius: 100px;
|
|
455
|
-
cursor: pointer;
|
|
456
|
-
|
|
457
|
-
&:after {
|
|
458
|
-
position: absolute;
|
|
459
|
-
top: 2px;
|
|
460
|
-
left: 2px;
|
|
461
|
-
width: 20px;
|
|
462
|
-
height: 20px;
|
|
463
|
-
background: #fff;
|
|
464
|
-
border-radius: 90px;
|
|
465
|
-
content: '';
|
|
466
|
-
transition: 0.3s;
|
|
467
|
-
}
|
|
468
|
-
`,Q),ee=m.span`
|
|
469
|
-
padding-left: 15px;
|
|
470
|
-
`,te=m.div`
|
|
471
|
-
height: ${J};
|
|
472
|
-
|
|
473
|
-
input[type='checkbox'] {
|
|
474
|
-
width: 0;
|
|
475
|
-
height: 0;
|
|
476
|
-
visibility: hidden;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
label {
|
|
480
|
-
cursor: pointer;
|
|
481
|
-
display: inline-flex;
|
|
482
|
-
color: ${_.colors.gray600};
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
input:checked + label .${Q} {
|
|
486
|
-
background: ${_.colors.primaryBase};
|
|
487
|
-
&:after {
|
|
488
|
-
left: calc(100% - 2px);
|
|
489
|
-
transform: translateX(-100%);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
`,oe=m.div`
|
|
493
|
-
textarea {
|
|
494
|
-
width: 100%;
|
|
495
|
-
height: var(--textarea-height, 116px);
|
|
496
|
-
padding: 1rem;
|
|
497
|
-
border: 1px solid ${_.colors.gray200};
|
|
498
|
-
border-radius: 6px;
|
|
499
|
-
color: ${_.colors.gray800};
|
|
500
|
-
font-size: 14px;
|
|
501
|
-
resize: none;
|
|
502
|
-
|
|
503
|
-
&:focus {
|
|
504
|
-
box-shadow: 0px 0px 2px 2px #91caff;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
&::placeholder {
|
|
508
|
-
color: ${_.colors.gray500};
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
&:disabled {
|
|
512
|
-
background-color: ${_.colors.neutral50};
|
|
513
|
-
cursor: not-allowed;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
`,re=d.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:n,value:s,className:l,onKeyPress:c,disabled:p=!1},u)=>d.createElement(oe,{className:l,style:{"--textarea-height":e||"116px"}},o&&d.createElement(T,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),d.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:p})))),ae=m.div`
|
|
517
|
-
display: flex;
|
|
518
|
-
cursor: pointer;
|
|
519
|
-
|
|
520
|
-
&[data-theme='marryBaby'] {
|
|
521
|
-
input {
|
|
522
|
-
width: 20px;
|
|
523
|
-
height: 20px;
|
|
524
|
-
border: 1.3px solid ${_.mbColors.midGray};
|
|
525
|
-
border-radius: 9px;
|
|
526
|
-
|
|
527
|
-
cursor: inherit;
|
|
528
|
-
transition: border-color 0.4s, box-shadow 0.4s;
|
|
529
|
-
|
|
530
|
-
&:hover,
|
|
531
|
-
&:active {
|
|
532
|
-
border-color: ${_.mbColors.cobalt};
|
|
533
|
-
box-shadow: 0 0 2px 2px ${_.mbColors.cobalt};
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
&:focus-visible {
|
|
537
|
-
border: 2px solid ${_.mbColors.cobalt};
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
&:checked {
|
|
541
|
-
border: 0;
|
|
542
|
-
background: ${_.mbColors.cobalt}
|
|
543
|
-
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")
|
|
544
|
-
no-repeat center center;
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
label {
|
|
549
|
-
max-width: 15rem;
|
|
550
|
-
margin-left: 8px;
|
|
551
|
-
width: calc(100% - 24px);
|
|
552
|
-
cursor: inherit;
|
|
553
|
-
font-weight: 600;
|
|
554
|
-
font-size: 12px;
|
|
555
|
-
line-height: 20px;
|
|
556
|
-
letter-spacing: -0.2px;
|
|
557
|
-
color: ${_.mbColors.gray};
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
input {
|
|
561
|
-
width: 20px;
|
|
562
|
-
height: 20px;
|
|
563
|
-
border: solid 1px ${_.colors.gray500};
|
|
564
|
-
border-radius: 2px;
|
|
565
|
-
|
|
566
|
-
cursor: inherit;
|
|
567
|
-
transition: border-color 0.4s, box-shadow 0.4s;
|
|
568
|
-
|
|
569
|
-
&:hover,
|
|
570
|
-
&:active {
|
|
571
|
-
border-color: ${_.colors.primaryBase};
|
|
572
|
-
box-shadow: 0 0 2px 2px ${_.colors.primary200};
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
&:focus-visible {
|
|
576
|
-
border: 2px solid ${_.colors.primaryActive};
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
&:checked {
|
|
580
|
-
border: 0;
|
|
581
|
-
background: ${_.colors.primaryBase}
|
|
582
|
-
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")
|
|
583
|
-
no-repeat center center;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
label {
|
|
588
|
-
max-width: 15rem;
|
|
589
|
-
margin-left: 8px;
|
|
590
|
-
font-weight: ${_.sizes.fwRegular};
|
|
591
|
-
width: calc(100% - 24px);
|
|
592
|
-
cursor: inherit;
|
|
593
|
-
|
|
594
|
-
${e.mbDown} {
|
|
595
|
-
font-size: 14px;
|
|
596
|
-
line-height: 24px;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
${e.mbUp} {
|
|
600
|
-
font-size: 16px;
|
|
601
|
-
line-height: 22px;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
&[data-is-rectangle] > input {
|
|
606
|
-
position: relative;
|
|
607
|
-
width: unset;
|
|
608
|
-
height: unset;
|
|
609
|
-
padding: 5px 12px;
|
|
610
|
-
border: 1px solid ${_.colors.neutral100};
|
|
611
|
-
border-radius: 32px;
|
|
612
|
-
|
|
613
|
-
&::after {
|
|
614
|
-
color: ${_.colors.gray800};
|
|
615
|
-
content: attr(data-label-text);
|
|
616
|
-
font-size: 13px;
|
|
617
|
-
}
|
|
618
|
-
&:checked {
|
|
619
|
-
border-color: ${_.colors.primary50};
|
|
620
|
-
&::after {
|
|
621
|
-
color: ${_.colors.primaryBase};
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
&:checked {
|
|
625
|
-
background: ${_.colors.primary50};
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
&[data-disabled] {
|
|
630
|
-
color: ${_.colors.gray300};
|
|
631
|
-
cursor: not-allowed;
|
|
632
|
-
input {
|
|
633
|
-
border-color: ${_.colors.gray300};
|
|
634
|
-
&:hover {
|
|
635
|
-
border-color: ${_.colors.gray300};
|
|
636
|
-
box-shadow: none;
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
`,ie=m.div`
|
|
641
|
-
display: inline-flex;
|
|
642
|
-
|
|
643
|
-
gap: calc(var(--gap) * 1px);
|
|
644
|
-
> svg {
|
|
645
|
-
width: calc(var(--star-size) * 1px);
|
|
646
|
-
height: calc(var(--star-size) * 1px);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
&[data-selectable='true'] {
|
|
650
|
-
> svg {
|
|
651
|
-
cursor: pointer;
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
`,ne="600ms",se=m.div`
|
|
655
|
-
position: fixed;
|
|
656
|
-
inset: 0;
|
|
657
|
-
z-index: ${_.zIndexes.drawer};
|
|
658
|
-
pointer-events: ${e=>e.open?"auto":"none"};
|
|
659
|
-
`,le=m.div`
|
|
660
|
-
position: fixed;
|
|
661
|
-
z-index: 300;
|
|
662
|
-
background: #ffffff;
|
|
663
|
-
visibility: ${e=>e.open?"visible":"hidden"};
|
|
664
|
-
max-height: calc(100vh - 100px);
|
|
665
|
-
display: flex;
|
|
666
|
-
flex-direction: column;
|
|
667
|
-
.title {
|
|
668
|
-
display: flex;
|
|
669
|
-
align-items: center;
|
|
670
|
-
justify-content: space-between;
|
|
671
|
-
padding: 16px;
|
|
672
|
-
${e=>e.hasTitle?b`
|
|
673
|
-
border-bottom: 1px solid ${_.colors.neutral100};
|
|
674
|
-
`:null}
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
.close-button {
|
|
678
|
-
margin-left: auto;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
${e=>((e,d)=>{switch(e){case"top":return b`
|
|
682
|
-
top: 0;
|
|
683
|
-
width: 100%;
|
|
684
|
-
border-radius: 0px 0px 6px 6px;
|
|
685
|
-
${d?b`
|
|
686
|
-
animation: ${s} ${ne} ease-in-out forwards;
|
|
687
|
-
`:null}
|
|
688
|
-
|
|
689
|
-
&.slideOut {
|
|
690
|
-
animation: ${l} ${ne} ease-in-out forwards;
|
|
691
|
-
}
|
|
692
|
-
`;case"right":return b`
|
|
693
|
-
right: 0;
|
|
694
|
-
height: 100%;
|
|
695
|
-
min-width: 300px;
|
|
696
|
-
border-radius: 6px 0px 0px 6px;
|
|
697
|
-
|
|
698
|
-
${d?b`
|
|
699
|
-
animation: ${i} ${ne} ease-in-out forwards;
|
|
700
|
-
`:null}
|
|
701
|
-
|
|
702
|
-
&.slideOut {
|
|
703
|
-
animation: ${n} ${ne} ease-in-out forwards;
|
|
704
|
-
}
|
|
705
|
-
`;case"bottom":return b`
|
|
706
|
-
bottom: 0;
|
|
707
|
-
width: 100%;
|
|
708
|
-
border-radius: 6px 6px 0px 0px;
|
|
709
|
-
${d?b`
|
|
710
|
-
animation: ${t} ${ne} ease-in-out forwards;
|
|
711
|
-
`:null}
|
|
712
|
-
|
|
713
|
-
&.slideOut {
|
|
714
|
-
animation: ${o} ${ne} ease-in-out forwards;
|
|
715
|
-
}
|
|
716
|
-
`;case"left":return b`
|
|
717
|
-
left: 0;
|
|
718
|
-
height: 100%;
|
|
719
|
-
min-width: 300px;
|
|
720
|
-
border-radius: 0px 6px 6px 0px;
|
|
721
|
-
|
|
722
|
-
${d?b`
|
|
723
|
-
animation: ${r} ${ne} ease-in-out forwards;
|
|
724
|
-
`:null}
|
|
725
|
-
|
|
726
|
-
&.slideOut {
|
|
727
|
-
animation: ${a} ${ne} ease-in-out forwards;
|
|
728
|
-
}
|
|
729
|
-
`;default:return b`
|
|
730
|
-
left: 0;
|
|
731
|
-
height: 100%;
|
|
732
|
-
min-width: 300px;
|
|
733
|
-
border-radius: 0px 6px 6px 0px;
|
|
734
|
-
|
|
735
|
-
${d?b`
|
|
736
|
-
animation: ${t} ${ne} ease-in-out forwards;
|
|
737
|
-
`:null}
|
|
738
|
-
|
|
739
|
-
&.slideOut {
|
|
740
|
-
animation: ${o} ${ne} ease-in-out forwards;
|
|
741
|
-
}
|
|
742
|
-
`}})(e.placement,e.open)}
|
|
743
|
-
`,de=m.div`
|
|
744
|
-
min-height: 200px;
|
|
745
|
-
padding: 16px;
|
|
746
|
-
overflow-y: auto;
|
|
747
|
-
`,ce=m.div`
|
|
748
|
-
position: fixed;
|
|
749
|
-
inset: 0;
|
|
750
|
-
display: flex;
|
|
751
|
-
align-items: center;
|
|
752
|
-
justify-content: center;
|
|
753
|
-
width: 100%;
|
|
754
|
-
height: 100%;
|
|
755
|
-
overflow-x: hidden;
|
|
756
|
-
overflow-y: auto;
|
|
757
|
-
outline: 0;
|
|
758
|
-
background-color: rgba(38, 38, 38, 0.3);
|
|
759
|
-
z-index: 1;
|
|
760
|
-
&[data-open='false'] {
|
|
761
|
-
visibility: hidden;
|
|
762
|
-
pointer-events: none;
|
|
763
|
-
}
|
|
764
|
-
&[data-open='true'] {
|
|
765
|
-
visibility: visible;
|
|
766
|
-
pointer-events: auto;
|
|
767
|
-
}
|
|
768
|
-
`,pe=m.div`
|
|
769
|
-
display: flex;
|
|
770
|
-
width: 100%;
|
|
771
|
-
|
|
772
|
-
&[data-direction='vertical'] {
|
|
773
|
-
flex-direction: column;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
&[data-direction='horizontal'] {
|
|
777
|
-
flex-wrap: wrap;
|
|
778
|
-
}
|
|
779
|
-
`,ue=m.div`
|
|
780
|
-
display: flex;
|
|
781
|
-
|
|
782
|
-
padding: 8px;
|
|
783
|
-
|
|
784
|
-
border-radius: ${_.borderRadius};
|
|
785
|
-
cursor: pointer;
|
|
786
|
-
|
|
787
|
-
& > div {
|
|
788
|
-
display: flex;
|
|
789
|
-
width: 100%;
|
|
790
|
-
height: 100%;
|
|
791
|
-
flex-direction: column;
|
|
792
|
-
align-items: center;
|
|
793
|
-
justify-content: flex-start;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
&[data-is-mb='false'] {
|
|
797
|
-
&[data-selected='true'] {
|
|
798
|
-
border: 1px solid #2d87f3;
|
|
799
|
-
background: white;
|
|
800
|
-
}
|
|
801
|
-
&[data-selected='false'] {
|
|
802
|
-
border: 1px solid #f2f2f2;
|
|
803
|
-
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
&[data-is-mb='true'] {
|
|
808
|
-
border-radius: 16px;
|
|
809
|
-
background: white;
|
|
810
|
-
padding: 16px auto;
|
|
811
|
-
|
|
812
|
-
&[data-selected='true'] {
|
|
813
|
-
border: 1px solid ${_.mbColors.mint};
|
|
814
|
-
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
|
|
815
|
-
}
|
|
816
|
-
&[data-selected='false'] {
|
|
817
|
-
border: none;
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
&[data-disabled='true'] {
|
|
822
|
-
cursor: auto;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.radio-group-item-heading {
|
|
826
|
-
margin-top: 8px;
|
|
827
|
-
//height: 48px;
|
|
828
|
-
text-align: center;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.gender-image {
|
|
832
|
-
width: 70px;
|
|
833
|
-
height: 70px;
|
|
834
|
-
&[data-is-mobile='true'] {
|
|
835
|
-
width: 40px;
|
|
836
|
-
height: 40px;
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
`;var ge=f((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 he=u({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),me=({children:e,onStepChange:t})=>{const[o,r]=c(0),[a,i]=c(0),n=d.Children.count(e);g((()=>{i(n-1)}),[n]),g((()=>{null==t||t(o)}),[o]);return d.createElement(he.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},y(e).map(((e,t)=>{const r=t===o;return d.createElement(h,{key:t},d.isValidElement(e)?e.props.alwaysRender||r?d.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
|
|
840
|
-
/*!
|
|
841
|
-
* cookie
|
|
842
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
843
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
844
|
-
* MIT Licensed
|
|
845
|
-
*/
|
|
846
|
-
var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||xe,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]=we(l,r)}a=n+1}return o},_e=function(e,t,o){var r=o||{},a=r.encode||fe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ve.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ve.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(!ve.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ve.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]"===Ee.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},Ee=Object.prototype.toString,ve=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function xe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function fe(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Te={parse:be,serialize:_e};const ye={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}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={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}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=u({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});let Re=Le;const ke=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1),formatMessage:s})=>{const[l,p]=c();return Re={userInfo:o,locale:e,togetherUserId:l,router:r,env:a},g((()=>{(null==o?void 0:o.id)&&nt(Je(ye.PROFILE,{_locale:e}),"GET").then((e=>{var t;p(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),d.createElement(Se.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:l,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i},formatMessage:s}},t)},$e="DD/MM/YYYY",Ce="/images/avatar.jpg",Pe="/images/default-image.jpg",Ne={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},De={"id-ID":{"kalkulator-bmi":Ne.BMI,"kebutuhan-kalori":Ne.BMR,"kalkulator-hari-perkiraan-lahir":Ne.DUE_DATE,"kalkulator-masa-subur-2":Ne.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Ne.PWG,"kalkulator-detak-jantung-saat-olahraga":Ne.THR},"ms-MY":{"kalkulator-bmi":Ne.BMI,"kalkulator-bmr":Ne.BMR,"kalkulator-tarikh-bersalin":Ne.DUE_DATE,"kalkulator-kesuburan":Ne.OVULATION,"kalkulator-tambah-berat-badan-hamil":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Ne.BMI,"tinh-chi-so-bmr":Ne.BMR,"cong-cu-tinh-ngay-du-sinh":Ne.DUE_DATE,"tinh-ngay-rung-trung":Ne.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Ne.PWG,"cong-cu-do-nhip-tim":Ne.THR},"zh-TW":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"en-PH":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Ne.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Ne.BMR,"เครื่องมือคำนวณกำหนดคลอด":Ne.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Ne.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Ne.PWG,"เครื่องวัดอัตราการเต้น":Ne.THR},"hi-IN":{"bmi-calculator-en":Ne.BMI,"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"delivery-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"km-KH":{"គណនា-bmi":Ne.BMI,"គណនា-bmr":Ne.BMR,"គណនាថ្ងៃសម្រាលកូន":Ne.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Ne.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Ne.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Ne.THR},"my-MM":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calendar":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnaancy-weight-calculator":Ne.PWG,"target-heartrate":Ne.THR,"pregnancy-weight-calculator":Ne.PWG,"target-heart-rate":Ne.THR}},Ge="hhg_user_token",Me="together_admin_token",Ue={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Be="hhg-id",ze={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"}},He=20,je={"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 Fe=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:$e,DEFAULT_AVATAR_IMG:Ce,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Pe,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:Ne,LOCALE_HEALTH_TOOLS:De,BEARER_TOKEN_COOKIE:Ge,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Me,Z_INDEX:Ue,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:Be,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:ze,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:je});const Ke={"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"},Ve={"vi-VN":"marrybaby.vn"},Ye=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",We=e=>{const{env:{isMarryBaby:t}}=Re;return`https://${t?Ve[e]:Ke[e]}`},Xe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},qe=e=>{const{env:{isMarryBaby:t}}=Re;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.":""}${Ke[e]}`},Je=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null==Re?void 0:Re.env)||{};let n=I(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:We(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+Xe(n)},Qe=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(!E&&o?a:r)+"wp-json/api/"+Xe(I(e,Object.assign({},t)))},Ze=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(o&&!E?a:r)+"wp-json/api/"+Xe(I(e,Object.assign({},t)))},et=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Xe(I(e,Object.assign({},t)))},tt=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+Xe(I(e,Object.assign({},t)))},ot=(e,t)=>{const{publicSSO:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+Xe(I(e,Object.assign({},t)))},rt=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),at=(e,t,o,r=!1)=>x(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},rt(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})),it=(e,t="GET",o,r)=>x(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=Te.parse(r||""),c=d[Ge]||O(Ge);if(!c||!c.length)return at(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},rt(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 at(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}),at(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})),nt=(e,t,o,r)=>x(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Ge]||O(Ge);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(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})),st=(e,t,o,r)=>x(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Me]||O(Me);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(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 lt(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 dt=(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}=Re.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{lt(r,e,t[e])})),lt(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},ct=(e,t,o,r)=>o&&t?`${o}-${t}`:`${A(e||"",{lower:!0,locale:r||Ye})}-${t}`,pt=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=je[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${ct(e,t)}`},ut=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=je[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${ct(e,t,o)}`};var gt=f((e=>({root:{},wrapper:{gap:w(8)},groupErr:{fontSize:w(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:`${w(6)} ${w(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:w(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:w(26)}},itemInner:{display:"none"}})));export{ut as $,Je as A,ye as B,tt as C,Le as D,We as E,ot as F,Re as G,B as H,k as I,ce as J,se as K,le as L,de as M,pe as N,ue as O,W as P,q as Q,ge as R,me as S,re as T,at as U,et as V,Ge as W,dt as X,qe as Y,Oe as Z,Ke as _,he as a,pt as a0,Qe as a1,Ae as a2,Ie as a3,st as a4,Ze as a5,Ue as a6,Pe as a7,He as a8,Ce as a9,ze as aa,it as ab,Ve as ac,Te as ad,Ye as ae,Be as af,Se as b,Fe as c,ke as d,L as e,S as f,R as g,$ as h,C as i,P as j,N as k,D as l,G as m,z as n,H as o,j as p,X as q,te as r,Z as s,ee as t,ae as u,ie as v,gt as w,$e as x,Ne as y,nt as z};
|