@hhgtech/hhg-components 1.23.95 → 1.24.0
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/Visible-5cc9afc6.js +1 -0
- package/build/babyGrowth.js +283 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants-c4903a50.js +1 -0
- package/build/constants.js +1 -1
- package/build/cookieHelper-9f080637.js +1 -0
- package/build/core-b2fe46dd.js +1 -0
- package/build/dataTransform-a110e001.js +1 -0
- package/build/dataTransform-fcf0a572.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/Visible-7eca30b5.js +1 -0
- package/build/esm/babyGrowth.js +283 -1
- 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-d1288784.js +1 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/cookieHelper-e007aa92.js +1 -0
- package/build/esm/core-8afe5a4d.js +1 -0
- package/build/esm/dataTransform-2fba1b2c.js +1 -0
- package/build/esm/dataTransform-915aed8c.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-5bc53bc9.js +1 -0
- package/build/esm/getSocialList-278ea87c.js +1 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-05542543.js +93 -0
- package/build/esm/index-150d757e.js +31 -0
- package/build/esm/index-18a9e3fb.js +1 -0
- package/build/esm/index-21b4181b.js +1 -0
- package/build/esm/index-2c15a988.js +1 -0
- package/build/esm/index-364770a0.js +1 -0
- package/build/esm/{index-0601e093.js → index-5923c954.js} +1 -1
- package/build/esm/index-5a00107b.js +1 -0
- package/build/esm/index-653fcb30.js +1 -0
- package/build/esm/index-78cd9f91.js +1 -0
- package/build/esm/index-7b6296d5.js +1 -0
- package/build/esm/index-87ee0d76.js +1 -0
- package/build/esm/index-9d45815e.js +90 -0
- package/build/esm/index-a2e77867.js +177 -0
- package/build/esm/index-b5e35ec5.js +1 -0
- package/build/esm/index-b5f6d798.js +1 -0
- package/build/esm/index-c4acfb04.js +1 -0
- package/build/esm/index-c9e0a1b5.js +1 -0
- package/build/esm/index-cb50aeb8.js +170 -0
- package/build/esm/index-d02e0f58.js +1 -0
- package/build/esm/index-f98bb958.js +1 -0
- package/build/esm/index-fe31b09c.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-2465841d.js +69 -0
- package/build/esm/index.styled-67c29a17.js +4471 -0
- package/build/esm/index.styled-6abf9e6a.js +45 -0
- package/build/esm/index.styled-6b6e612e.js +1240 -0
- package/build/esm/index.styled-7f0b774b.js +113 -0
- package/build/esm/index.styled-c65f9df8.js +1863 -0
- package/build/esm/{isProduction-ed99c990.js → isProduction-fab10892.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/localizeNumberFormat-0724d25a.js +1 -0
- 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-2ec03ba7.js +1 -0
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +73 -1
- package/build/esm/routing-e4b4ee8f.js +1 -0
- package/build/esm/screenSizeContext-b29efdb0.js +81 -0
- package/build/esm/theme-a631c5ab.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-756d3cf7.js → translationsContext-fc21efad.js} +1 -1
- package/build/esm/translationsProvider-84f592ea.js +1 -0
- package/build/esm/tslib.es6-0039c19c.js +1 -0
- package/build/esm/types-2bbcf540.js +1 -0
- package/build/esm/types-978544c0.js +3013 -0
- package/build/esm/types-d532ba8d.js +336 -0
- package/build/esm/types.js +1 -1
- package/build/esm/unifyEnv.js +1 -1
- package/build/esm/useHealthToolCache-23715185.js +1 -0
- package/build/esm/useIsInit-e1781437.js +1 -0
- package/build/esm/useOutsideClick-68a3714e.js +1 -0
- package/build/esm/useRafState-a50dc032.js +1 -0
- package/build/esm/useScrollbarSize-3d17e421.js +1 -0
- package/build/esm/useTranslations-7f736d5f.js +1 -0
- package/build/esm/useUniqueId-818c7708.js +1 -0
- package/build/esm/utils-7ce226e8.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-e361a825.js +1 -0
- package/build/getSocialList-e0fa1cc8.js +1 -0
- package/build/hooks/index.d.ts +7 -0
- package/build/hooks/useInitialMount.d.ts +3 -0
- package/build/hooks/useOutsideClick.d.ts +7 -2
- package/build/hooks/usePrevious.d.ts +3 -0
- package/build/hooks/useRafState.d.ts +3 -0
- package/build/hooks/useUniqueId.d.ts +5 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-0207c31b.js +1 -0
- package/build/index-0cad5f1b.js +1 -0
- package/build/index-11f0284b.js +170 -0
- package/build/index-2b30377d.js +1 -0
- package/build/index-2cbdb4bf.js +1 -0
- package/build/index-2d563c87.js +1 -0
- package/build/index-635e21cc.js +1 -0
- package/build/index-8a6a7cc0.js +1 -0
- package/build/index-8f5c7ee3.js +90 -0
- package/build/index-9152ca1d.js +1 -0
- package/build/index-94d7557e.js +31 -0
- package/build/index-a1d07633.js +93 -0
- package/build/index-a83a062e.js +1 -0
- package/build/index-aa3c9ce0.js +1 -0
- package/build/index-af3b3f09.js +1 -0
- package/build/index-b4ea7a21.js +1 -0
- package/build/index-b6acdcae.js +1 -0
- package/build/{index-5b82f2d4.js → index-c8db56b7.js} +1 -1
- package/build/index-d8eec019.js +1 -0
- package/build/index-e98fdd8c.js +1 -0
- package/build/index-f8b86c53.js +177 -0
- package/build/index-f9086275.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-642f11f7.js +69 -0
- package/build/index.styled-6e461cdf.js +45 -0
- package/build/index.styled-6ff0df3f.js +1863 -0
- package/build/index.styled-805b1f85.js +1240 -0
- package/build/index.styled-e3aa6f73.js +113 -0
- package/build/index.styled-eb8f4b1e.js +4471 -0
- package/build/isProduction-e392487d.js +1 -0
- package/build/lead.js +1 -1
- package/build/localizeNumberFormat-eda96ba2.js +1 -0
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/normalizeLink-62e8417c.js +1 -0
- package/build/onboarding.js +1 -1
- package/build/pwg.js +73 -1
- package/build/routing-72b2705b.js +1 -0
- package/build/screenSizeContext-aa77f70a.js +81 -0
- package/build/together.js +1 -1
- package/build/{translationsContext-0f386388.js → translationsContext-c77a479e.js} +1 -1
- package/build/translationsProvider-631b95ce.js +1 -0
- package/build/tslib.es6-c8b5aa16.js +1 -0
- package/build/types-02e3f27e.js +3013 -0
- package/build/types-5a9b3c87.js +1 -0
- package/build/types-8aaea47a.js +336 -0
- package/build/types.js +1 -1
- package/build/unifyEnv.js +1 -1
- package/build/useHealthToolCache-7f3b83ae.js +1 -0
- package/build/useIsInit-e8b04977.js +1 -0
- package/build/useOutsideClick-f11e7192.js +1 -0
- package/build/useRafState-012ffb1f.js +1 -0
- package/build/useScrollbarSize-328d9797.js +1 -0
- package/build/useTranslations-fa071ccf.js +1 -0
- package/build/useUniqueId-5a393d9b.js +1 -0
- package/build/utils-d98a0819.js +1 -0
- package/package.json +1 -1
- package/build/Visible-c356e2cc.js +0 -1
- package/build/constants-5da55816.js +0 -1
- package/build/cookieHelper-3ea64507.js +0 -1
- package/build/core-7c4c66eb.js +0 -1
- package/build/dataTransform-7d303092.js +0 -1
- package/build/dataTransform-febb0411.js +0 -1
- package/build/esm/Visible-6b2f87e5.js +0 -1
- package/build/esm/constants-46185a2d.js +0 -1
- package/build/esm/cookieHelper-86379154.js +0 -1
- package/build/esm/core-35e83fed.js +0 -1
- package/build/esm/dataTransform-1de0ed54.js +0 -1
- package/build/esm/dataTransform-4311f1e5.js +0 -1
- package/build/esm/getDynamicHealthTool-dae634c8.js +0 -1
- package/build/esm/getSocialList-82ca09ce.js +0 -1
- package/build/esm/index-28b79270.js +0 -1
- package/build/esm/index-37aca8a9.js +0 -1
- package/build/esm/index-38b1d14a.js +0 -1
- package/build/esm/index-42c2b164.js +0 -1
- package/build/esm/index-57b82a3e.js +0 -1
- package/build/esm/index-580f3548.js +0 -1
- package/build/esm/index-5e06e747.js +0 -1
- package/build/esm/index-655da503.js +0 -1
- package/build/esm/index-6f704d90.js +0 -1
- package/build/esm/index-7849d335.js +0 -1
- package/build/esm/index-875335e9.js +0 -1
- package/build/esm/index-8fcb797e.js +0 -1
- package/build/esm/index-9d3ce5dc.js +0 -1
- package/build/esm/index-a1f6083f.js +0 -1
- package/build/esm/index-a48ebada.js +0 -1
- package/build/esm/index-bdf9be91.js +0 -1
- package/build/esm/index-cb9ac275.js +0 -1
- package/build/esm/index-d010ecd6.js +0 -1
- package/build/esm/index-d6937f63.js +0 -1
- package/build/esm/index-e554d5bf.js +0 -1
- package/build/esm/index-eebfcc43.js +0 -1
- package/build/esm/index.styled-48a1ed77.js +0 -1
- package/build/esm/index.styled-63f68a3e.js +0 -1
- package/build/esm/index.styled-65958960.js +0 -1
- package/build/esm/index.styled-66fc7c5f.js +0 -1
- package/build/esm/index.styled-6d78f117.js +0 -1
- package/build/esm/index.styled-e471935e.js +0 -1
- package/build/esm/localizeNumberFormat-f4e30ccf.js +0 -1
- package/build/esm/normalizeLink-8fac6c47.js +0 -1
- package/build/esm/routing-4e7aa6fd.js +0 -1
- package/build/esm/screenSizeContext-37d224b4.js +0 -1
- package/build/esm/theme-b08a28c9.js +0 -1
- package/build/esm/translationsProvider-3c76690a.js +0 -1
- package/build/esm/tslib.es6-e2029ed4.js +0 -1
- package/build/esm/types-09bb40f8.js +0 -1
- package/build/esm/types-58de17a3.js +0 -1
- package/build/esm/types-8c4a142a.js +0 -1
- package/build/esm/useFbDataLayer-809c90ff.js +0 -1
- package/build/esm/useHealthToolCache-6e86b0e2.js +0 -1
- package/build/esm/useOutsideClick-9e8071c8.js +0 -1
- package/build/esm/useScrollbarSize-3cee648e.js +0 -1
- package/build/esm/useTranslations-196efd52.js +0 -1
- package/build/esm/utils-4cde1f47.js +0 -1
- package/build/getDynamicHealthTool-90ac669e.js +0 -1
- package/build/getSocialList-65431038.js +0 -1
- package/build/index-00598df1.js +0 -1
- package/build/index-022c51fc.js +0 -1
- package/build/index-242570b3.js +0 -1
- package/build/index-394b8279.js +0 -1
- package/build/index-39a1b290.js +0 -1
- package/build/index-48d65ca0.js +0 -1
- package/build/index-4fa987c2.js +0 -1
- package/build/index-56158ce8.js +0 -1
- package/build/index-5c6bd99b.js +0 -1
- package/build/index-5ee59f43.js +0 -1
- package/build/index-64aabf18.js +0 -1
- package/build/index-657ffd96.js +0 -1
- package/build/index-6e20eff9.js +0 -1
- package/build/index-80dc645c.js +0 -1
- package/build/index-8f8ed2b8.js +0 -1
- package/build/index-99a84402.js +0 -1
- package/build/index-99eedaee.js +0 -1
- package/build/index-9fbc4b43.js +0 -1
- package/build/index-a6f735ce.js +0 -1
- package/build/index-a819bd69.js +0 -1
- package/build/index-df61e2ff.js +0 -1
- package/build/index.styled-1a8c7c4f.js +0 -1
- package/build/index.styled-51043358.js +0 -1
- package/build/index.styled-7a45352a.js +0 -1
- package/build/index.styled-a78b0c96.js +0 -1
- package/build/index.styled-e79fe777.js +0 -1
- package/build/index.styled-f92d80d2.js +0 -1
- package/build/isProduction-4af2792f.js +0 -1
- package/build/localizeNumberFormat-5cf1661a.js +0 -1
- package/build/normalizeLink-cd625196.js +0 -1
- package/build/routing-7108efd0.js +0 -1
- package/build/screenSizeContext-75c9a3db.js +0 -1
- package/build/translationsProvider-edf1222e.js +0 -1
- package/build/tslib.es6-b82d1fe8.js +0 -1
- package/build/types-4ea5c8a1.js +0 -1
- package/build/types-6efb7ad5.js +0 -1
- package/build/types-d33c181e.js +0 -1
- package/build/useFbDataLayer-5c35c985.js +0 -1
- package/build/useHealthToolCache-a66ba355.js +0 -1
- package/build/useOutsideClick-4db060d0.js +0 -1
- package/build/useScrollbarSize-50614437.js +0 -1
- package/build/useTranslations-3c887aa1.js +0 -1
- package/build/utils-79130e92.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-2f9f904c.js → BMI_BOYS.percentile.monthly-49a7e033.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-83a42eaf.js → BMI_BOYS.percentile.weekly-c3647a26.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9154d55f.js → BMI_BOYS.percentile.yearly-b182554a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e71b1ea8.js → BMI_BOYS.zscore.monthly-6e49f68e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-b2e1f699.js → BMI_BOYS.zscore.weekly-473f821a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7d4295cd.js → BMI_BOYS.zscore.yearly-91a7ef2e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2fa3c1e8.js → BMI_GIRLS.percentile.monthly-489e52dc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-f607bfbf.js → BMI_GIRLS.percentile.weekly-232aa9fd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-4c86adda.js → BMI_GIRLS.percentile.yearly-fe7db447.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1a9546db.js → BMI_GIRLS.zscore.monthly-1eeee735.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-03109d93.js → BMI_GIRLS.zscore.weekly-27ad267f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1388885a.js → BMI_GIRLS.zscore.yearly-ddb674d8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-02ec93e8.js → HEAD CIRCUM_BOYS.percentile.monthly-0a67b15b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f675e1e0.js → HEAD CIRCUM_BOYS.percentile.weekly-7ef9f7a7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-73903cb8.js → HEAD CIRCUM_BOYS.percentile.yearly-22d0bdda.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6976b1c3.js → HEAD CIRCUM_BOYS.zscore.monthly-d07fa700.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9215198c.js → HEAD CIRCUM_BOYS.zscore.weekly-85731a7c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-7a5512d0.js → HEAD CIRCUM_BOYS.zscore.yearly-3dbc3d23.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-75be4f18.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c94c219.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4feedfc7.js → HEAD CIRCUM_GIRLS.percentile.weekly-3d6afa9f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-56df58a3.js → HEAD CIRCUM_GIRLS.percentile.yearly-23f85bb3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-25465d66.js → HEAD CIRCUM_GIRLS.zscore.monthly-9e2e4574.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-944b3db5.js → HEAD CIRCUM_GIRLS.zscore.weekly-970f3868.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-cfe6c01a.js → HEAD CIRCUM_GIRLS.zscore.yearly-5f91a7be.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-fc57b84b.js → HEIGHT_BOYS.percentile.monthly-fc85d952.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-9fac0d94.js → HEIGHT_BOYS.percentile.weekly-f90cdf3c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3c151944.js → HEIGHT_BOYS.percentile.yearly-69d74ff2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-e7fdc467.js → HEIGHT_BOYS.zscore.monthly-c4c6ec23.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-566bb729.js → HEIGHT_BOYS.zscore.weekly-5e246b85.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-310d1a18.js → HEIGHT_BOYS.zscore.yearly-a9a6c560.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-5950a6a1.js → HEIGHT_GIRLS.percentile.monthly-ad9e6190.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-7b8ad3b9.js → HEIGHT_GIRLS.percentile.weekly-6ad975ae.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fab58cb5.js → HEIGHT_GIRLS.percentile.yearly-a5be7a5c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3a92487d.js → HEIGHT_GIRLS.zscore.monthly-8be73103.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ea18a824.js → HEIGHT_GIRLS.zscore.weekly-9e844863.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-8579d856.js → HEIGHT_GIRLS.zscore.yearly-3794c302.js} +0 -0
- /package/build/{Locale-192c846f.js → Locale-0c6090ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-f28d87f2.js → WEIGHT_BOYS.percentile.monthly-ec4e917a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-ef9d4727.js → WEIGHT_BOYS.percentile.weekly-cf18e9d9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-6b2b22f1.js → WEIGHT_BOYS.percentile.yearly-0d17cbec.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-999ee870.js → WEIGHT_BOYS.zscore.monthly-8055934c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b06fadda.js → WEIGHT_BOYS.zscore.weekly-42499533.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-dd336d61.js → WEIGHT_BOYS.zscore.yearly-f566a157.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ea9100b3.js → WEIGHT_GIRLS.percentile.monthly-378ceed4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-1732a8d2.js → WEIGHT_GIRLS.percentile.weekly-097016f4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-8a9125ed.js → WEIGHT_GIRLS.percentile.yearly-b8cab7d6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-21584d87.js → WEIGHT_GIRLS.zscore.monthly-18e50eb6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-292c95ee.js → WEIGHT_GIRLS.zscore.weekly-07eb577d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7f260043.js → WEIGHT_GIRLS.zscore.yearly-61d9aba2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f2fddb6c.js → BMI_BOYS.percentile.monthly-6162dbd1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-3710b048.js → BMI_BOYS.percentile.weekly-ff0abf39.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-481d467d.js → BMI_BOYS.percentile.yearly-0a5cbf88.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-831598a6.js → BMI_BOYS.zscore.monthly-3bb589cb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-bd812770.js → BMI_BOYS.zscore.weekly-f5d0d55b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-afd0eaf4.js → BMI_BOYS.zscore.yearly-168bb8ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-06f18fa7.js → BMI_GIRLS.percentile.monthly-1bf2c569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-0fad228e.js → BMI_GIRLS.percentile.weekly-fb2f3e86.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-14832942.js → BMI_GIRLS.percentile.yearly-506acc36.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-aeae4a95.js → BMI_GIRLS.zscore.monthly-b64e0a5b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-62b682f3.js → BMI_GIRLS.zscore.weekly-f1a9c248.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-239f1167.js → BMI_GIRLS.zscore.yearly-eff14fa8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-70ee54a9.js → HEAD CIRCUM_BOYS.percentile.monthly-4b557dea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-bee0786c.js → HEAD CIRCUM_BOYS.percentile.weekly-d301205d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c1e42d22.js → HEAD CIRCUM_BOYS.percentile.yearly-cbf0239b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-41f4c56c.js → HEAD CIRCUM_BOYS.zscore.monthly-1e472bf5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2f081d9e.js → HEAD CIRCUM_BOYS.zscore.weekly-5fc4fbf2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-20695f18.js → HEAD CIRCUM_BOYS.zscore.yearly-7fd04beb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-89699e2c.js → HEAD CIRCUM_GIRLS.percentile.monthly-0af48708.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-98cabba3.js → HEAD CIRCUM_GIRLS.percentile.weekly-d6b698bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d6bb4448.js → HEAD CIRCUM_GIRLS.percentile.yearly-f7b231b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1517dec0.js → HEAD CIRCUM_GIRLS.zscore.monthly-83186826.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8e7cd2eb.js → HEAD CIRCUM_GIRLS.zscore.weekly-c0791949.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b578cf13.js → HEAD CIRCUM_GIRLS.zscore.yearly-dfa2a71e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-69293a9d.js → HEIGHT_BOYS.percentile.monthly-b39865ac.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-4a29c5b5.js → HEIGHT_BOYS.percentile.weekly-df5a99f1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7a3d2683.js → HEIGHT_BOYS.percentile.yearly-7e0b7ed8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2f1b6d3d.js → HEIGHT_BOYS.zscore.monthly-559b4b5d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9140e611.js → HEIGHT_BOYS.zscore.weekly-544455a6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-73576141.js → HEIGHT_BOYS.zscore.yearly-81690a5c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-89639c25.js → HEIGHT_GIRLS.percentile.monthly-4fa737ad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6f2efc7c.js → HEIGHT_GIRLS.percentile.weekly-2c85d07d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-225ce366.js → HEIGHT_GIRLS.percentile.yearly-1b366b28.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a6b546d0.js → HEIGHT_GIRLS.zscore.monthly-d26f368c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fa29aa0d.js → HEIGHT_GIRLS.zscore.weekly-5e356b98.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-6cb328a7.js → HEIGHT_GIRLS.zscore.yearly-82c23bb8.js} +0 -0
- /package/build/esm/{Locale-c470a3bf.js → Locale-00425d00.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4cee99f0.js → WEIGHT_BOYS.percentile.monthly-b4bf9069.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-68ca4340.js → WEIGHT_BOYS.percentile.weekly-28cf566c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-edae8237.js → WEIGHT_BOYS.percentile.yearly-22454f28.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-779f33d7.js → WEIGHT_BOYS.zscore.monthly-7c5c813b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-acd33795.js → WEIGHT_BOYS.zscore.weekly-58a385f6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-1f58cd7f.js → WEIGHT_BOYS.zscore.yearly-e4806377.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9c3e5d3f.js → WEIGHT_GIRLS.percentile.monthly-26c96203.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b25deb8a.js → WEIGHT_GIRLS.percentile.weekly-a75e2e5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-00f34613.js → WEIGHT_GIRLS.percentile.yearly-08ff921c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f3201cf4.js → WEIGHT_GIRLS.zscore.monthly-88a3e7cd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-84a15d8e.js → WEIGHT_GIRLS.zscore.weekly-e5bfd844.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-eaa4e649.js → WEIGHT_GIRLS.zscore.yearly-547bc55e.js} +0 -0
- /package/build/{theme-c9c31ab2.js → theme-9a2f5576.js} +0 -0
|
@@ -0,0 +1,1863 @@
|
|
|
1
|
+
"use strict";var e=require("./utils-d98a0819.js"),t=require("styled-components"),i=require("./theme-9a2f5576.js"),o=require("./index.styled-805b1f85.js"),a=require("react"),r=require("./useTranslations-fa071ccf.js"),l=require("./gAssets.js"),n=require("./tslib.es6-c8b5aa16.js"),s=require("./index-b6acdcae.js"),d=require("./cookieHelper-9f080637.js"),p=require("slugify"),u=require("string-format"),c=require("./routing-72b2705b.js"),m=require("dayjs"),g=require("dayjs/plugin/relativeTime");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var x=h(t),f=h(a),b=h(p),y=h(u),_=h(m),v=h(g);const w=x.default.div`
|
|
2
|
+
position: fixed;
|
|
3
|
+
left: 50%;
|
|
4
|
+
|
|
5
|
+
padding: 0 16px 32px;
|
|
6
|
+
background-color: ${e=>e.theme.colors.white};
|
|
7
|
+
border-radius: 6px;
|
|
8
|
+
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
9
|
+
transform: translate(-50%, -50%);
|
|
10
|
+
transition: all 0.5s ease-in-out;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
|
|
13
|
+
&[data-open='true'] {
|
|
14
|
+
z-index: 400;
|
|
15
|
+
top: 50%;
|
|
16
|
+
opacity: 1;
|
|
17
|
+
visibility: visible;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&[data-open='false'] {
|
|
21
|
+
top: -50%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&[data-type='lead'] {
|
|
25
|
+
width: 332px;
|
|
26
|
+
height: 460px;
|
|
27
|
+
|
|
28
|
+
div {
|
|
29
|
+
top: -15px;
|
|
30
|
+
right: -15px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&[data-type='form'] {
|
|
35
|
+
width: 496px;
|
|
36
|
+
height: 548px;
|
|
37
|
+
${e.MediaQueries.mbDown} {
|
|
38
|
+
width: 340px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[data-type='confirm'] {
|
|
43
|
+
${e.MediaQueries.mbDown} {
|
|
44
|
+
width: calc(100% - 32px);
|
|
45
|
+
}
|
|
46
|
+
${e.MediaQueries.mbUp} {
|
|
47
|
+
width: 100%;
|
|
48
|
+
max-width: 407px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.popup-content {
|
|
53
|
+
position: relative;
|
|
54
|
+
z-index: 111;
|
|
55
|
+
height: 100%;
|
|
56
|
+
padding: 16px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.close-button {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 16px;
|
|
62
|
+
right: 0;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
|
|
65
|
+
img {
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`,E=x.default.div`
|
|
72
|
+
position: fixed;
|
|
73
|
+
z-index: 110;
|
|
74
|
+
top: 0;
|
|
75
|
+
left: 0;
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
align-items: center;
|
|
79
|
+
background: rgba(38, 38, 38, 0.3);
|
|
80
|
+
|
|
81
|
+
&[data-open='false'] {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
`,T="DD/MM/YYYY",A="/images/avatar.jpg",O="/images/default-image.jpg",S={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},I={"id-ID":{"kalkulator-bmi":S.BMI,"kebutuhan-kalori":S.BMR,"kalkulator-hari-perkiraan-lahir":S.DUE_DATE,"kalkulator-masa-subur-2":S.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":S.PWG,"kalkulator-detak-jantung-saat-olahraga":S.THR},"ms-MY":{"kalkulator-bmi":S.BMI,"kalkulator-bmr":S.BMR,"kalkulator-tarikh-bersalin":S.DUE_DATE,"kalkulator-kesuburan":S.OVULATION,"kalkulator-tambah-berat-badan-hamil":S.PWG,"target-heart-rate-calculator":S.THR},"vi-VN":{"cach-tinh-chi-so-bmi":S.BMI,"tinh-chi-so-bmr":S.BMR,"cong-cu-tinh-ngay-du-sinh":S.DUE_DATE,"tinh-ngay-rung-trung":S.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":S.PWG,"cong-cu-do-nhip-tim":S.THR},"zh-TW":{"bmi-calculator":S.BMI,"bmr-calculator":S.BMR,"due-date-calculator":S.DUE_DATE,"ovulation-calculator":S.OVULATION,"pregnancy-weight-gain-calculator":S.PWG,"target-heart-rate-calculator":S.THR},"en-PH":{"bmi-calculator":S.BMI,"bmr-calculator":S.BMR,"due-date-calculator":S.DUE_DATE,"ovulation-calculator":S.OVULATION,"pregnancy-weight-gain-calculator":S.PWG,"target-heart-rate-calculator":S.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":S.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":S.BMR,"เครื่องมือคำนวณกำหนดคลอด":S.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":S.OVULATION,"เครื่องคำนวณน้ำหนักตัว":S.PWG,"เครื่องวัดอัตราการเต้น":S.THR},"hi-IN":{"bmi-calculator-en":S.BMI,"bmi-calculator":S.BMI,"bmr-calculator":S.BMR,"delivery-date-calculator":S.DUE_DATE,"ovulation-calculator":S.OVULATION,"pregnancy-weight-gain-calculator":S.PWG,"target-heart-rate-calculator":S.THR},"km-KH":{"គណនា-bmi":S.BMI,"គណនា-bmr":S.BMR,"គណនាថ្ងៃសម្រាលកូន":S.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":S.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":S.PWG,"គណនារកចង្វាក់បេះដូងល្អ":S.THR},"my-MM":{"bmi-calculator":S.BMI,"bmr-calculator":S.BMR,"due-date-calendar":S.DUE_DATE,"ovulation-calculator":S.OVULATION,"pregnaancy-weight-calculator":S.PWG,"target-heartrate":S.THR,"pregnancy-weight-calculator":S.PWG,"target-heart-rate":S.THR}},L="hhg_user_token",$="together_admin_token",C={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},D={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"}},M={"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 R=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:T,DEFAULT_AVATAR_IMG:A,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:O,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:S,LOCALE_HEALTH_TOOLS:I,BEARER_TOKEN_COOKIE:L,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:$,Z_INDEX:C,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:D,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:M});const k=x.default.a`
|
|
85
|
+
display: inline-flex;
|
|
86
|
+
position: relative;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
align-items: center;
|
|
89
|
+
padding: 7px 11px;
|
|
90
|
+
gap: 2px;
|
|
91
|
+
|
|
92
|
+
background: ${e=>e.theme.colors.white};
|
|
93
|
+
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
94
|
+
border-radius: 20px;
|
|
95
|
+
|
|
96
|
+
color: ${e=>e.theme.colors.gray600};
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
line-height: 18px;
|
|
100
|
+
text-decoration: none;
|
|
101
|
+
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
`,P=x.default.div`
|
|
104
|
+
position: relative;
|
|
105
|
+
display: inline-block;
|
|
106
|
+
`,G=x.default.div`
|
|
107
|
+
position: relative;
|
|
108
|
+
`,N=x.default.div`
|
|
109
|
+
position: absolute;
|
|
110
|
+
z-index: 21;
|
|
111
|
+
top: 100%;
|
|
112
|
+
right: 0;
|
|
113
|
+
width: 327px;
|
|
114
|
+
padding: 8px;
|
|
115
|
+
background: white;
|
|
116
|
+
border-radius: 4px;
|
|
117
|
+
filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
|
|
118
|
+
|
|
119
|
+
&[data-is-open='false'] {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
&[data-show-indicator='true'] {
|
|
123
|
+
&:before {
|
|
124
|
+
position: absolute;
|
|
125
|
+
right: 11px;
|
|
126
|
+
bottom: 100%;
|
|
127
|
+
width: 0;
|
|
128
|
+
height: 0;
|
|
129
|
+
border: 0.5rem solid transparent;
|
|
130
|
+
border-top: none;
|
|
131
|
+
border-bottom-color: #fff;
|
|
132
|
+
content: '';
|
|
133
|
+
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`,U=x.default.div`
|
|
137
|
+
display: flex;
|
|
138
|
+
height: 40px;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
|
|
142
|
+
padding: 0 16px;
|
|
143
|
+
border-radius: 6px;
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
|
|
146
|
+
.check-icon {
|
|
147
|
+
width: 16px;
|
|
148
|
+
height: 16px;
|
|
149
|
+
}
|
|
150
|
+
&[data-selected='false'] {
|
|
151
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
152
|
+
}
|
|
153
|
+
`,B=x.default.div`
|
|
154
|
+
position: fixed;
|
|
155
|
+
z-index: 20;
|
|
156
|
+
top: 0;
|
|
157
|
+
left: 0;
|
|
158
|
+
width: 100%;
|
|
159
|
+
height: 100%;
|
|
160
|
+
cursor: default;
|
|
161
|
+
`,H=x.default.div`
|
|
162
|
+
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
163
|
+
`,z=x.default.div`
|
|
164
|
+
background-color: white;
|
|
165
|
+
text-align: center;
|
|
166
|
+
.cancle-img {
|
|
167
|
+
margin-top: 24px;
|
|
168
|
+
${e.MediaQueries.mbDown} {
|
|
169
|
+
width: 80px;
|
|
170
|
+
height: 80px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
${e.MediaQueries.mbUp} {
|
|
174
|
+
width: 100px;
|
|
175
|
+
height: 100px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
h2 {
|
|
180
|
+
margin-top: 32px;
|
|
181
|
+
color: ${e=>e.theme.colors.gray800};
|
|
182
|
+
font-style: normal;
|
|
183
|
+
font-weight: bold;
|
|
184
|
+
${e.MediaQueries.mbDown} {
|
|
185
|
+
font-size: 24px;
|
|
186
|
+
line-height: 32px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
${e.MediaQueries.mbUp} {
|
|
190
|
+
font-size: 32px;
|
|
191
|
+
line-height: 42px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
p {
|
|
196
|
+
margin-top: 8px;
|
|
197
|
+
color: ${e=>e.theme.colors.gray600};
|
|
198
|
+
font-style: normal;
|
|
199
|
+
font-weight: normal;
|
|
200
|
+
${e.MediaQueries.mbDown} {
|
|
201
|
+
font-size: 16px;
|
|
202
|
+
line-height: 24px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
${e.MediaQueries.mbUp} {
|
|
206
|
+
font-size: 16px;
|
|
207
|
+
line-height: 24px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
`,Q=x.default.div`
|
|
211
|
+
display: flex;
|
|
212
|
+
|
|
213
|
+
${e.MediaQueries.mbDown} {
|
|
214
|
+
margin-top: 24px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
${e.MediaQueries.mbUp} {
|
|
218
|
+
margin-top: 32px;
|
|
219
|
+
}
|
|
220
|
+
justify-content: space-around;
|
|
221
|
+
button {
|
|
222
|
+
flex: 1;
|
|
223
|
+
margin: 4px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
|
|
227
|
+
`,j=x.default.div`
|
|
228
|
+
position: absolute;
|
|
229
|
+
right: 0;
|
|
230
|
+
background-color: ${e=>e.theme.colors.white};
|
|
231
|
+
|
|
232
|
+
&[data-animation='true'] {
|
|
233
|
+
transition: all 0.5s ease-in-out;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&[data-open='true'] {
|
|
237
|
+
z-index: 200;
|
|
238
|
+
top: 120%;
|
|
239
|
+
opacity: 1;
|
|
240
|
+
visibility: visible;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&[data-open='false'] {
|
|
244
|
+
display: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&[data-type='lead'] {
|
|
248
|
+
width: 332px;
|
|
249
|
+
height: 460px;
|
|
250
|
+
|
|
251
|
+
div {
|
|
252
|
+
top: -15px;
|
|
253
|
+
right: -15px;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&[data-type='welcome'] {
|
|
258
|
+
position: fixed;
|
|
259
|
+
${e.MediaQueries.mbDown} {
|
|
260
|
+
width: 100%;
|
|
261
|
+
height: 424px;
|
|
262
|
+
bottom: 0;
|
|
263
|
+
top: unset;
|
|
264
|
+
}
|
|
265
|
+
${e.MediaQueries.mbUp} {
|
|
266
|
+
top: 50%;
|
|
267
|
+
left: 50%;
|
|
268
|
+
transform: translate(-50%, -50%);
|
|
269
|
+
width: 100%;
|
|
270
|
+
min-height: 445px;
|
|
271
|
+
max-width: 407px;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&[data-type='due-date'] {
|
|
276
|
+
position: fixed;
|
|
277
|
+
${e.MediaQueries.mbDown} {
|
|
278
|
+
width: 100%;
|
|
279
|
+
height: 100%;
|
|
280
|
+
overflow-y: scroll;
|
|
281
|
+
bottom: 0;
|
|
282
|
+
top: unset;
|
|
283
|
+
}
|
|
284
|
+
${e.MediaQueries.mbUp} {
|
|
285
|
+
top: 50%;
|
|
286
|
+
left: 50%;
|
|
287
|
+
transform: translate(-50%, -50%);
|
|
288
|
+
width: 100vw;
|
|
289
|
+
height: 55vw;
|
|
290
|
+
max-height: 598px;
|
|
291
|
+
max-width: 1080px;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.popup-content {
|
|
296
|
+
z-index: 111;
|
|
297
|
+
height: 100%;
|
|
298
|
+
${e.MediaQueries.mbDown} {
|
|
299
|
+
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
300
|
+
}
|
|
301
|
+
overflow: auto;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&[data-type='form'] {
|
|
305
|
+
width: 496px;
|
|
306
|
+
height: 548px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&[data-type='confirm'] {
|
|
310
|
+
width: 380px;
|
|
311
|
+
height: 252px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&[data-type='profile'] {
|
|
315
|
+
/* min-height: 415px; */
|
|
316
|
+
${e.MediaQueries.mbUp} {
|
|
317
|
+
border-radius: 6px;
|
|
318
|
+
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
319
|
+
&:before {
|
|
320
|
+
position: absolute;
|
|
321
|
+
right: 11px;
|
|
322
|
+
bottom: 100%;
|
|
323
|
+
width: 0;
|
|
324
|
+
height: 0;
|
|
325
|
+
border: 0.5rem solid transparent;
|
|
326
|
+
border-top: none;
|
|
327
|
+
border-bottom-color: #fff;
|
|
328
|
+
content: '';
|
|
329
|
+
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
${e.MediaQueries.mbDown} {
|
|
333
|
+
position: fixed;
|
|
334
|
+
left: 0;
|
|
335
|
+
width: 100%;
|
|
336
|
+
border-top: 1px solid ${i.theme.colors.neutral100};
|
|
337
|
+
}
|
|
338
|
+
${e.MediaQueries.mbUp} {
|
|
339
|
+
width: 368px;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.close-button {
|
|
344
|
+
position: absolute;
|
|
345
|
+
top: 0;
|
|
346
|
+
right: 0;
|
|
347
|
+
width: 32px;
|
|
348
|
+
height: 32px;
|
|
349
|
+
cursor: pointer;
|
|
350
|
+
|
|
351
|
+
img {
|
|
352
|
+
width: 100%;
|
|
353
|
+
height: 100%;
|
|
354
|
+
border-radius: 50%;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
`,F="hhgcomp-navprofilebutton-popup",V=o.getDefaultClassWrapper(j,F),W=x.default.div`
|
|
358
|
+
position: fixed;
|
|
359
|
+
z-index: 150;
|
|
360
|
+
top: var(--header-bottom, 69px);
|
|
361
|
+
left: 0;
|
|
362
|
+
width: 100%;
|
|
363
|
+
height: 100%;
|
|
364
|
+
align-items: center;
|
|
365
|
+
|
|
366
|
+
${e.MediaQueries.mbUp} {
|
|
367
|
+
background-color: transparent;
|
|
368
|
+
&[data-type='welcome'] {
|
|
369
|
+
background: rgba(38, 38, 38, 0.3);
|
|
370
|
+
}
|
|
371
|
+
&[data-type='due-date'] {
|
|
372
|
+
background: rgba(38, 38, 38, 0.3);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
${e.MediaQueries.mbDown} {
|
|
377
|
+
background: rgba(38, 38, 38, 0.3);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
&[data-type='welcome'] {
|
|
381
|
+
top: 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
&[data-open='false'] {
|
|
385
|
+
display: none;
|
|
386
|
+
}
|
|
387
|
+
`,Y="hhgcomp-navprofilebutton-popupwrapper";o.getDefaultClassWrapper(W,Y);const K=x.default.div`
|
|
388
|
+
width: 40px;
|
|
389
|
+
height: 40px;
|
|
390
|
+
cursor: pointer;
|
|
391
|
+
|
|
392
|
+
img {
|
|
393
|
+
border-radius: 50%;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.avatar {
|
|
397
|
+
width: 40px;
|
|
398
|
+
height: 40px;
|
|
399
|
+
object-fit: cover;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.avatar-default {
|
|
403
|
+
display: flex;
|
|
404
|
+
align-items: center;
|
|
405
|
+
justify-content: center;
|
|
406
|
+
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
407
|
+
border-radius: 50%;
|
|
408
|
+
color: white;
|
|
409
|
+
font-size: 20px;
|
|
410
|
+
font-weight: bold;
|
|
411
|
+
}
|
|
412
|
+
`,q=x.default.a`
|
|
413
|
+
display: inline-flex;
|
|
414
|
+
position: relative;
|
|
415
|
+
width: 40px;
|
|
416
|
+
height: 40px;
|
|
417
|
+
display: flex;
|
|
418
|
+
align-items: center;
|
|
419
|
+
justify-content: center;
|
|
420
|
+
text-decoration: none;
|
|
421
|
+
flex-shrink: 0;
|
|
422
|
+
|
|
423
|
+
.user-close-icon {
|
|
424
|
+
display: none;
|
|
425
|
+
}
|
|
426
|
+
&:focus-within {
|
|
427
|
+
.user-close-icon {
|
|
428
|
+
display: block;
|
|
429
|
+
}
|
|
430
|
+
.user-avatar {
|
|
431
|
+
display: none;
|
|
432
|
+
}
|
|
433
|
+
.${F} {
|
|
434
|
+
z-index: 200;
|
|
435
|
+
top: 120%;
|
|
436
|
+
opacity: 1;
|
|
437
|
+
visibility: visible;
|
|
438
|
+
display: initial;
|
|
439
|
+
&[data-type='profile'] {
|
|
440
|
+
${e.MediaQueries.mbDown} {
|
|
441
|
+
top: 100%;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
.${Y} {
|
|
446
|
+
display: initial;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
`,X=x.default.a`
|
|
450
|
+
display: inline-flex;
|
|
451
|
+
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
452
|
+
padding-left: 12px;
|
|
453
|
+
padding-right: 12px;
|
|
454
|
+
}
|
|
455
|
+
.mobile-only {
|
|
456
|
+
${e.MediaQueries.mbUp} {
|
|
457
|
+
display: none;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
.login-btn {
|
|
461
|
+
padding-left: 10px;
|
|
462
|
+
padding-right: 10px;
|
|
463
|
+
display: none;
|
|
464
|
+
${e.MediaQueries.mbUp} {
|
|
465
|
+
display: block;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
`,Z=99,J=300,ee=400,te=210;var ie="fVk18fq",oe="v8TCvUb",ae="mx7T4V3";const re={myHealth:i.theme.mbColors.toneYellow,myCommunity:i.theme.mbColors.toneBlue,mySaved:i.theme.mbColors.toneGreen},le={helloSites:{myBooking:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}};
|
|
469
|
+
/*!
|
|
470
|
+
* cookie
|
|
471
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
472
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
473
|
+
* MIT Licensed
|
|
474
|
+
*/
|
|
475
|
+
var ne=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ue,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=me(s,o)}a=l+1}return i},se=function(e,t,i){var o=i||{},a=o.encode||ce;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!pe.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!pe.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!pe.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!pe.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===de.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},de=Object.prototype.toString,pe=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ue(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ce(e){return encodeURIComponent(e)}function me(e,t){try{return t(e)}catch(t){return e}}var ge={parse:ne,serialize:se};const he={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}"}},xe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},fe=a.createContext({data:xe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=xe;const be={"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"},ye={"vi-VN":"marrybaby.vn"},_e=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",ve=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?ye[e]:be[e]}`},we=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ee=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=y.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:ve(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+we(r)},Te=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),Ae=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Te(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Oe=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=ge.parse(o||""),r=a[L]||d.getCookie(L);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Te(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Se(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Ie=(e,t,i,o)=>i&&t?`${i}-${t}`:`${b.default(e||"",{lower:!0,locale:o||_e})}-${t}`,Le=f.default.createContext({}),$e=a.memo((()=>f.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),Ce=x.default.div`
|
|
476
|
+
padding-right: 1rem;
|
|
477
|
+
margin-top: 10px;
|
|
478
|
+
background: #ffffff;
|
|
479
|
+
padding: 5px 15px;
|
|
480
|
+
${e.MediaQueries.mbUp} {
|
|
481
|
+
border-right: 1px solid #e4e8ec;
|
|
482
|
+
}
|
|
483
|
+
`,De=x.default.a`
|
|
484
|
+
padding: 10px 0;
|
|
485
|
+
position: relative;
|
|
486
|
+
|
|
487
|
+
display: flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
text-decoration: none;
|
|
490
|
+
color: ${e=>e.theme.colors.gray800};
|
|
491
|
+
* {
|
|
492
|
+
pointer-events: none;
|
|
493
|
+
}
|
|
494
|
+
p {
|
|
495
|
+
font-size: 16px;
|
|
496
|
+
font-weight: 400;
|
|
497
|
+
padding: 0 0.4rem;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
&[data-theme='marryBaby']:hover {
|
|
501
|
+
p {
|
|
502
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
503
|
+
}
|
|
504
|
+
.icon {
|
|
505
|
+
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
&[data-theme='helloSite']:hover {
|
|
509
|
+
p {
|
|
510
|
+
color: ${e=>e.theme.colors.primaryActive};
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
a {
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&[data-theme='marryBaby'] {
|
|
517
|
+
.icon {
|
|
518
|
+
display: flex;
|
|
519
|
+
align-items: center;
|
|
520
|
+
justify-content: center;
|
|
521
|
+
max-width: 40px;
|
|
522
|
+
width: 100%;
|
|
523
|
+
height: 40px;
|
|
524
|
+
border-radius: 50%;
|
|
525
|
+
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
526
|
+
img {
|
|
527
|
+
border-radius: 50%;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
`,Me=x.default.div`
|
|
532
|
+
margin: 15px 0;
|
|
533
|
+
${e.MediaQueries.mbDown} {
|
|
534
|
+
display: none;
|
|
535
|
+
}
|
|
536
|
+
`,Re=x.default.div`
|
|
537
|
+
display: flex;
|
|
538
|
+
position: absolute;
|
|
539
|
+
right: 0;
|
|
540
|
+
${e.MediaQueries.mbUp} {
|
|
541
|
+
display: none;
|
|
542
|
+
}
|
|
543
|
+
`,ke=x.default.div`
|
|
544
|
+
display: flex;
|
|
545
|
+
align-items: center;
|
|
546
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
547
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
548
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
549
|
+
line-height: 24px;
|
|
550
|
+
font-size: 14px;
|
|
551
|
+
font-weight: 600;
|
|
552
|
+
&[data-event-category] * {
|
|
553
|
+
pointer-events: none;
|
|
554
|
+
}
|
|
555
|
+
&[data-theme='marryBaby'] {
|
|
556
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
557
|
+
}
|
|
558
|
+
`,Pe=x.default.div`
|
|
559
|
+
display: flex;
|
|
560
|
+
align-items: center;
|
|
561
|
+
margin-left: 10px;
|
|
562
|
+
`,Ge=x.default.a`
|
|
563
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
564
|
+
&[data-theme='marryBaby'] {
|
|
565
|
+
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
566
|
+
|
|
567
|
+
svg path {
|
|
568
|
+
stroke: ${e=>e.theme.mbColors.pink};
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
position: relative;
|
|
572
|
+
display: flex;
|
|
573
|
+
align-items: center;
|
|
574
|
+
justify-content: center;
|
|
575
|
+
padding: 6px;
|
|
576
|
+
border-radius: 5px;
|
|
577
|
+
margin-top: 20px;
|
|
578
|
+
${e.MediaQueries.mbDown} {
|
|
579
|
+
display: none;
|
|
580
|
+
}
|
|
581
|
+
`,Ne=x.default.div`
|
|
582
|
+
padding: 16px;
|
|
583
|
+
border-radius: 8px;
|
|
584
|
+
position: relative;
|
|
585
|
+
z-index: 1;
|
|
586
|
+
overflow: hidden;
|
|
587
|
+
a {
|
|
588
|
+
text-decoration: none;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.bg-svg {
|
|
592
|
+
height: 100%;
|
|
593
|
+
position: absolute;
|
|
594
|
+
top: 0;
|
|
595
|
+
left: 0;
|
|
596
|
+
z-index: -1;
|
|
597
|
+
}
|
|
598
|
+
${e.MediaQueries.mbDown} {
|
|
599
|
+
display: block;
|
|
600
|
+
.bg-svg {
|
|
601
|
+
right: -24px;
|
|
602
|
+
left: unset;
|
|
603
|
+
top: 0;
|
|
604
|
+
transform: rotateY(180deg);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
${e.MediaQueries.mbUp} {
|
|
609
|
+
display: grid;
|
|
610
|
+
grid-gap: 10px;
|
|
611
|
+
grid-template-columns: 1fr 3fr;
|
|
612
|
+
}
|
|
613
|
+
`,Ue=x.default.div`
|
|
614
|
+
font-weight: 400;
|
|
615
|
+
font-size: 14px;
|
|
616
|
+
line-height: 24px;
|
|
617
|
+
color: ${e=>e.theme.colors.gray600};
|
|
618
|
+
margin-bottom: 15px;
|
|
619
|
+
`,Be=x.default.div`
|
|
620
|
+
font-weight: 600;
|
|
621
|
+
font-size: 16px;
|
|
622
|
+
line-height: 26px;
|
|
623
|
+
color: #000000;
|
|
624
|
+
margin-bottom: 4px;
|
|
625
|
+
`,He=x.default.div`
|
|
626
|
+
background: #fff;
|
|
627
|
+
padding: 5px;
|
|
628
|
+
display: flex;
|
|
629
|
+
align-items: center;
|
|
630
|
+
justify-content: center;
|
|
631
|
+
border-radius: 50px;
|
|
632
|
+
`,ze=x.default.div`
|
|
633
|
+
display: flex;
|
|
634
|
+
justify-content: center;
|
|
635
|
+
align-items: center;
|
|
636
|
+
position: relative;
|
|
637
|
+
${e.MediaQueries.mbDown} {
|
|
638
|
+
justify-content: end;
|
|
639
|
+
min-height: 100px;
|
|
640
|
+
}
|
|
641
|
+
`,Qe=x.default.div`
|
|
642
|
+
margin-top: 10px;
|
|
643
|
+
background: #ffffff;
|
|
644
|
+
padding: 5px 15px;
|
|
645
|
+
position: relative;
|
|
646
|
+
${e.MediaQueries.mbDown} {
|
|
647
|
+
&:after {
|
|
648
|
+
position: absolute;
|
|
649
|
+
top: 0;
|
|
650
|
+
left: 0;
|
|
651
|
+
width: 100%;
|
|
652
|
+
height: 4px;
|
|
653
|
+
background-color: ${e=>e.theme.colors.neutral100};
|
|
654
|
+
content: '';
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
`,je=x.default.div`
|
|
658
|
+
margin: 15px 0;
|
|
659
|
+
display: flex;
|
|
660
|
+
`,Fe=x.default.a`
|
|
661
|
+
padding-left: 10px;
|
|
662
|
+
display: flex;
|
|
663
|
+
align-items: center;
|
|
664
|
+
text-decoration: none;
|
|
665
|
+
font-weight: 400;
|
|
666
|
+
font-size: 14px;
|
|
667
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
668
|
+
&[data-theme='marryBaby'] {
|
|
669
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
670
|
+
}
|
|
671
|
+
img {
|
|
672
|
+
padding-left: 5px;
|
|
673
|
+
}
|
|
674
|
+
${e.MediaQueries.mbDown} {
|
|
675
|
+
margin-left: auto;
|
|
676
|
+
}
|
|
677
|
+
`;x.default.div`
|
|
678
|
+
& > a:not(:last-child) > div {
|
|
679
|
+
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
&[data-category-list-type='sub'] {
|
|
683
|
+
padding-bottom: 72px;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&[data-is-displayed='false'] {
|
|
687
|
+
display: none;
|
|
688
|
+
}
|
|
689
|
+
`;const Ve=x.default.div`
|
|
690
|
+
display: grid;
|
|
691
|
+
|
|
692
|
+
grid-template-columns: repeat(3, 1fr);
|
|
693
|
+
gap: 24px;
|
|
694
|
+
|
|
695
|
+
${e.MediaQueries.tdDown} {
|
|
696
|
+
grid-template-columns: repeat(1, 1fr);
|
|
697
|
+
}
|
|
698
|
+
`,We=x.default.div`
|
|
699
|
+
height: 152px; // 120 + 16 * 2
|
|
700
|
+
position: absolute;
|
|
701
|
+
top: 0;
|
|
702
|
+
left: 0;
|
|
703
|
+
z-index: 3;
|
|
704
|
+
overflow: hidden;
|
|
705
|
+
border-radius: 4px;
|
|
706
|
+
padding: 16px;
|
|
707
|
+
width: 100%;
|
|
708
|
+
|
|
709
|
+
.img-container {
|
|
710
|
+
width: 100%;
|
|
711
|
+
height: 100%;
|
|
712
|
+
}
|
|
713
|
+
img {
|
|
714
|
+
width: 100%;
|
|
715
|
+
height: 100%;
|
|
716
|
+
display: block;
|
|
717
|
+
object-fit: contain;
|
|
718
|
+
}
|
|
719
|
+
${e.MediaQueries.tdDown} {
|
|
720
|
+
margin-bottom: 0;
|
|
721
|
+
padding: 0;
|
|
722
|
+
height: 100%;
|
|
723
|
+
position: unset;
|
|
724
|
+
width: 150px;
|
|
725
|
+
}
|
|
726
|
+
${e.MediaQueries.mbDown} {
|
|
727
|
+
width: 80px;
|
|
728
|
+
}
|
|
729
|
+
`,Ye=x.default.div`
|
|
730
|
+
background-color: #ffffff;
|
|
731
|
+
border-radius: 4px;
|
|
732
|
+
width: 100%;
|
|
733
|
+
height: 100%;
|
|
734
|
+
`,Ke=x.default.div`
|
|
735
|
+
display: flex;
|
|
736
|
+
margin-top: 1rem;
|
|
737
|
+
align-items: center;
|
|
738
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
739
|
+
font-weight: 400;
|
|
740
|
+
font-size: 14px;
|
|
741
|
+
text-decoration: none;
|
|
742
|
+
${e.MediaQueries.tdDown} {
|
|
743
|
+
display: none;
|
|
744
|
+
}
|
|
745
|
+
`,qe=x.default.p`
|
|
746
|
+
font-size: 16px;
|
|
747
|
+
font-weight: 600;
|
|
748
|
+
line-height: 1.6;
|
|
749
|
+
color: ${e=>e.theme.colors.gray800};
|
|
750
|
+
${e.MediaQueries.tdDown} {
|
|
751
|
+
padding: 0;
|
|
752
|
+
}
|
|
753
|
+
`,Xe=x.default.p`
|
|
754
|
+
font-size: 14px;
|
|
755
|
+
line-height: 1.6;
|
|
756
|
+
font-weight: 400;
|
|
757
|
+
color: ${e=>e.theme.colors.gray600};
|
|
758
|
+
height: 40px;
|
|
759
|
+
text-overflow: ellipsis;
|
|
760
|
+
overflow: hidden;
|
|
761
|
+
display: -webkit-box;
|
|
762
|
+
-webkit-line-clamp: 2;
|
|
763
|
+
-webkit-box-orient: vertical;
|
|
764
|
+
margin-bottom: auto;
|
|
765
|
+
${e.MediaQueries.tdDown} {
|
|
766
|
+
height: unset;
|
|
767
|
+
padding: 0;
|
|
768
|
+
}
|
|
769
|
+
`,Ze=x.default.div`
|
|
770
|
+
display: flex;
|
|
771
|
+
flex-direction: column;
|
|
772
|
+
gap: 8px;
|
|
773
|
+
flex: 1;
|
|
774
|
+
z-index: 1;
|
|
775
|
+
${e.MediaQueries.tdDown} {
|
|
776
|
+
gap: 4px;
|
|
777
|
+
}
|
|
778
|
+
`,Je="hhgcomp-navigation-menucareitem-contentwrapper",et=o.getDefaultClassWrapper(Ze,Je),tt=x.default.a`
|
|
779
|
+
text-decoration: none;
|
|
780
|
+
border-radius: 4px;
|
|
781
|
+
background: ${i.theme.colors.white};
|
|
782
|
+
position: relative;
|
|
783
|
+
overflow: hidden;
|
|
784
|
+
padding: 16px;
|
|
785
|
+
display: flex;
|
|
786
|
+
padding-top: 166px;
|
|
787
|
+
* {
|
|
788
|
+
pointer-events: none;
|
|
789
|
+
}
|
|
790
|
+
${e.MediaQueries.tdUp} {
|
|
791
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
792
|
+
gap: 30px;
|
|
793
|
+
flex-direction: column;
|
|
794
|
+
a {
|
|
795
|
+
display: flex;
|
|
796
|
+
width: 100%;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
${e.MediaQueries.tdDown} {
|
|
800
|
+
padding-top: 16px;
|
|
801
|
+
a {
|
|
802
|
+
display: none;
|
|
803
|
+
}
|
|
804
|
+
grid-template-columns: 2fr 1fr;
|
|
805
|
+
gap: 10px;
|
|
806
|
+
display: grid;
|
|
807
|
+
max-height: 110px;
|
|
808
|
+
display: flex;
|
|
809
|
+
flex-direction: row-reverse;
|
|
810
|
+
> .${Je} {
|
|
811
|
+
flex: 1;
|
|
812
|
+
}
|
|
813
|
+
img {
|
|
814
|
+
width: 150px;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
${e.MediaQueries.mbDown} {
|
|
818
|
+
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
819
|
+
display: flex;
|
|
820
|
+
flex-direction: row-reverse;
|
|
821
|
+
img {
|
|
822
|
+
width: 80px;
|
|
823
|
+
height: 80px;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
${e.MediaQueries.tdOnly} {
|
|
827
|
+
border: 1px solid ${i.theme.colors.neutral100};
|
|
828
|
+
}
|
|
829
|
+
.bg-svg {
|
|
830
|
+
width: 100%;
|
|
831
|
+
max-width: 245px;
|
|
832
|
+
height: 100%;
|
|
833
|
+
top: 0;
|
|
834
|
+
right: -40px;
|
|
835
|
+
position: absolute;
|
|
836
|
+
display: inline-block;
|
|
837
|
+
}
|
|
838
|
+
`;x.default.div`
|
|
839
|
+
&[data-category-list-type='sub'] {
|
|
840
|
+
padding-bottom: 72px;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
&[data-is-displayed='false'] {
|
|
844
|
+
display: none;
|
|
845
|
+
}
|
|
846
|
+
`,x.default.div`
|
|
847
|
+
& > div {
|
|
848
|
+
width: 100%;
|
|
849
|
+
margin-bottom: 8px;
|
|
850
|
+
}
|
|
851
|
+
`;const it=x.default.div`
|
|
852
|
+
display: grid;
|
|
853
|
+
|
|
854
|
+
grid-template-columns: repeat(4, 1fr);
|
|
855
|
+
gap: 24px;
|
|
856
|
+
${e.MediaQueries.tdDown} {
|
|
857
|
+
gap: 12px;
|
|
858
|
+
grid-template-columns: 1fr;
|
|
859
|
+
}
|
|
860
|
+
`,ot=x.default.a`
|
|
861
|
+
width: 100%;
|
|
862
|
+
display: flex;
|
|
863
|
+
align-items: center;
|
|
864
|
+
text-decoration: none;
|
|
865
|
+
* {
|
|
866
|
+
pointer-events: none;
|
|
867
|
+
}
|
|
868
|
+
`,at=x.default.div`
|
|
869
|
+
border-radius: 5px;
|
|
870
|
+
display: block;
|
|
871
|
+
overflow: hidden;
|
|
872
|
+
padding-top: 140%;
|
|
873
|
+
width: 100%;
|
|
874
|
+
position: relative;
|
|
875
|
+
height: 0;
|
|
876
|
+
img {
|
|
877
|
+
position: absolute;
|
|
878
|
+
width: 100%;
|
|
879
|
+
height: 100%;
|
|
880
|
+
display: block;
|
|
881
|
+
object-fit: cover;
|
|
882
|
+
top: 0;
|
|
883
|
+
left: 0;
|
|
884
|
+
}
|
|
885
|
+
${e.MediaQueries.tdDown} {
|
|
886
|
+
width: 72px;
|
|
887
|
+
padding-top: 100px;
|
|
888
|
+
}
|
|
889
|
+
`,rt=x.default.p`
|
|
890
|
+
font-size: 16px;
|
|
891
|
+
font-weight: 400;
|
|
892
|
+
padding: 4px 15px;
|
|
893
|
+
line-height: 1.4;
|
|
894
|
+
color: ${e=>e.theme.colors.gray800};
|
|
895
|
+
flex: 1;
|
|
896
|
+
${e.MediaQueries.tdUp} {
|
|
897
|
+
display: none;
|
|
898
|
+
}
|
|
899
|
+
`;x.default.div`
|
|
900
|
+
& > :not(:last-child) {
|
|
901
|
+
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
& > div > :not(:last-child) {
|
|
905
|
+
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
&[data-category-list-type='sub'] {
|
|
909
|
+
padding-bottom: 72px;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
&[data-is-displayed='false'] {
|
|
913
|
+
display: none;
|
|
914
|
+
}
|
|
915
|
+
`,x.default.div`
|
|
916
|
+
& > div {
|
|
917
|
+
width: 100%;
|
|
918
|
+
margin-bottom: 8px;
|
|
919
|
+
}
|
|
920
|
+
`;const lt=x.default.div`
|
|
921
|
+
display: grid;
|
|
922
|
+
grid-template-columns: repeat(2, 1fr);
|
|
923
|
+
grid-gap: 48px;
|
|
924
|
+
${e.MediaQueries.tdDown} {
|
|
925
|
+
grid-template-columns: 1fr;
|
|
926
|
+
grid-gap: 32px;
|
|
927
|
+
}
|
|
928
|
+
${e.MediaQueries.mbDown} {
|
|
929
|
+
grid-gap: 24px;
|
|
930
|
+
}
|
|
931
|
+
`,nt=x.default.div`
|
|
932
|
+
width: ${e=>e.size||40}px;
|
|
933
|
+
height: ${e=>e.size||40}px;
|
|
934
|
+
flex-shrink: 0;
|
|
935
|
+
cursor: pointer;
|
|
936
|
+
|
|
937
|
+
img {
|
|
938
|
+
border-radius: 50%;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.avatar {
|
|
942
|
+
width: 100%;
|
|
943
|
+
height: 100%;
|
|
944
|
+
object-fit: cover;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.avatar-default {
|
|
948
|
+
display: flex;
|
|
949
|
+
align-items: center;
|
|
950
|
+
justify-content: center;
|
|
951
|
+
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
952
|
+
border-radius: 50%;
|
|
953
|
+
color: white;
|
|
954
|
+
font-size: 1em;
|
|
955
|
+
font-weight: bold;
|
|
956
|
+
line-height: 1;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
&[data-is-marrybaby='true'] {
|
|
960
|
+
.avatar-default {
|
|
961
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
`,st=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(fe),u="boolean"==typeof i?i:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),f.default.createElement(nt,Object.assign({"data-is-marrybaby":u,className:t,style:o,size:s},d),r&&!c?f.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):f.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},dt=x.default.div`
|
|
965
|
+
padding: 5px;
|
|
966
|
+
flex: 1;
|
|
967
|
+
`,pt=x.default.img`
|
|
968
|
+
width: 88px;
|
|
969
|
+
height: 88px;
|
|
970
|
+
border-radius: 4px;
|
|
971
|
+
object-fit: cover;
|
|
972
|
+
`,ut=x.default.div`
|
|
973
|
+
font-size: 12px;
|
|
974
|
+
font-weight: 600;
|
|
975
|
+
color: ${e=>e.theme.colors.gray800};
|
|
976
|
+
text-decoration: none;
|
|
977
|
+
&[data-theme='marryBaby'] {
|
|
978
|
+
font-weight: 400;
|
|
979
|
+
letter-spacing: -0.2px;
|
|
980
|
+
}
|
|
981
|
+
`,ct=x.default.div`
|
|
982
|
+
text-decoration: none;
|
|
983
|
+
font-size: 12px;
|
|
984
|
+
font-weight: 400;
|
|
985
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
986
|
+
&[data-theme='marryBaby'] {
|
|
987
|
+
font-weight: 400;
|
|
988
|
+
letter-spacing: -0.2px;
|
|
989
|
+
}
|
|
990
|
+
`,mt=x.default.div`
|
|
991
|
+
font-size: 12px;
|
|
992
|
+
font-weight: 400;
|
|
993
|
+
color: ${e=>e.theme.colors.gray600};
|
|
994
|
+
`,gt=x.default.div`
|
|
995
|
+
font-size: 12px;
|
|
996
|
+
font-weight: 400;
|
|
997
|
+
color: ${e=>e.theme.colors.gray600};
|
|
998
|
+
`,ht=x.default.a`
|
|
999
|
+
display: flex;
|
|
1000
|
+
gap: 10px;
|
|
1001
|
+
text-decoration: none;
|
|
1002
|
+
position: relative;
|
|
1003
|
+
&::after {
|
|
1004
|
+
content: '';
|
|
1005
|
+
display: block;
|
|
1006
|
+
width: 100%;
|
|
1007
|
+
height: 1px;
|
|
1008
|
+
border-top: 1px dashed ${e=>e.theme.colors.neutral100};
|
|
1009
|
+
position: absolute;
|
|
1010
|
+
bottom: -24px;
|
|
1011
|
+
${e.MediaQueries.tdOnly} {
|
|
1012
|
+
bottom: -16px;
|
|
1013
|
+
}
|
|
1014
|
+
${e.MediaQueries.mbDown} {
|
|
1015
|
+
bottom: -12px;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
&:last-child {
|
|
1019
|
+
&::after {
|
|
1020
|
+
display: none;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
${e.MediaQueries.tdUp} {
|
|
1024
|
+
&:nth-last-child(2) {
|
|
1025
|
+
&::after {
|
|
1026
|
+
display: none;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
`,xt=x.default.div`
|
|
1031
|
+
display: flex;
|
|
1032
|
+
gap: 10px;
|
|
1033
|
+
vertical-align: middle;
|
|
1034
|
+
align-items: center;
|
|
1035
|
+
`,ft=x.default.div`
|
|
1036
|
+
margin-top: 8px;
|
|
1037
|
+
font-size: 16px;
|
|
1038
|
+
font-weight: 600;
|
|
1039
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1040
|
+
&[data-theme='marryBaby'] {
|
|
1041
|
+
margin-top: 12px;
|
|
1042
|
+
font-weight: 400;
|
|
1043
|
+
font-size: 14px;
|
|
1044
|
+
line-height: 24px;
|
|
1045
|
+
letter-spacing: -0.2px;
|
|
1046
|
+
}
|
|
1047
|
+
`,bt=x.default.div`
|
|
1048
|
+
display: flex;
|
|
1049
|
+
flex-wrap: wrap;
|
|
1050
|
+
align-items: center;
|
|
1051
|
+
column-gap: 5px;
|
|
1052
|
+
`,yt=x.default.div`
|
|
1053
|
+
display: flex;
|
|
1054
|
+
gap: 4px;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
`;_.default.extend(v.default);x.default.div`
|
|
1057
|
+
&[data-is-display='false'] {
|
|
1058
|
+
display: none;
|
|
1059
|
+
}
|
|
1060
|
+
`;const _t=x.default.div`
|
|
1061
|
+
display: grid;
|
|
1062
|
+
|
|
1063
|
+
grid-template-columns: repeat(3, 1fr);
|
|
1064
|
+
gap: 24px;
|
|
1065
|
+
${e.MediaQueries.tdDown} {
|
|
1066
|
+
grid-template-columns: 1fr;
|
|
1067
|
+
gap: 12px;
|
|
1068
|
+
}
|
|
1069
|
+
`,vt=x.default.a`
|
|
1070
|
+
text-decoration: none;
|
|
1071
|
+
border-radius: 4px;
|
|
1072
|
+
background: #e3f2ff;
|
|
1073
|
+
position: relative;
|
|
1074
|
+
overflow: hidden;
|
|
1075
|
+
display: flex;
|
|
1076
|
+
* {
|
|
1077
|
+
pointer-events: none;
|
|
1078
|
+
}
|
|
1079
|
+
.bg-svg {
|
|
1080
|
+
width: 245px;
|
|
1081
|
+
top: 0;
|
|
1082
|
+
right: 0;
|
|
1083
|
+
height: 100%;
|
|
1084
|
+
position: absolute;
|
|
1085
|
+
${e.MediaQueries.tdDown} {
|
|
1086
|
+
top: calc(51% - 68px);
|
|
1087
|
+
right: -8px;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
padding: 180px 24px 16px;
|
|
1091
|
+
a {
|
|
1092
|
+
display: flex;
|
|
1093
|
+
width: 100%;
|
|
1094
|
+
}
|
|
1095
|
+
${e.MediaQueries.tdDown} {
|
|
1096
|
+
padding-top: 16px;
|
|
1097
|
+
display: flex;
|
|
1098
|
+
align-items: center;
|
|
1099
|
+
}
|
|
1100
|
+
`,wt=x.default.div`
|
|
1101
|
+
width: 64px;
|
|
1102
|
+
height: 64px;
|
|
1103
|
+
background: white;
|
|
1104
|
+
position: absolute;
|
|
1105
|
+
right: 25px;
|
|
1106
|
+
top: 35px;
|
|
1107
|
+
z-index: 3;
|
|
1108
|
+
border-radius: 50%;
|
|
1109
|
+
img {
|
|
1110
|
+
position: absolute;
|
|
1111
|
+
width: 64px;
|
|
1112
|
+
height: 64px;
|
|
1113
|
+
top: 50%;
|
|
1114
|
+
left: 50%;
|
|
1115
|
+
display: block;
|
|
1116
|
+
transform: translate(-50%, -50%);
|
|
1117
|
+
}
|
|
1118
|
+
${e.MediaQueries.tdDown} {
|
|
1119
|
+
position: relative;
|
|
1120
|
+
top: unset;
|
|
1121
|
+
right: unset;
|
|
1122
|
+
}
|
|
1123
|
+
`,Et=x.default.div`
|
|
1124
|
+
display: flex;
|
|
1125
|
+
align-items: center;
|
|
1126
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1127
|
+
font-weight: 400;
|
|
1128
|
+
font-size: 14px;
|
|
1129
|
+
text-decoration: none;
|
|
1130
|
+
`,Tt=x.default.p`
|
|
1131
|
+
font-size: 16px;
|
|
1132
|
+
font-weight: 600;
|
|
1133
|
+
line-height: 1.4;
|
|
1134
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1135
|
+
`,At=x.default.p`
|
|
1136
|
+
font-size: 14px;
|
|
1137
|
+
line-height: 1.4;
|
|
1138
|
+
font-weight: 400;
|
|
1139
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1140
|
+
height: 40px;
|
|
1141
|
+
text-overflow: ellipsis;
|
|
1142
|
+
overflow: hidden;
|
|
1143
|
+
display: -webkit-box;
|
|
1144
|
+
-webkit-line-clamp: 2;
|
|
1145
|
+
-webkit-box-orient: vertical;
|
|
1146
|
+
margin-bottom: auto;
|
|
1147
|
+
${e.MediaQueries.tdDown} {
|
|
1148
|
+
display: none;
|
|
1149
|
+
}
|
|
1150
|
+
`,Ot=x.default.div`
|
|
1151
|
+
display: flex;
|
|
1152
|
+
flex-direction: column;
|
|
1153
|
+
flex: 1;
|
|
1154
|
+
z-index: 1;
|
|
1155
|
+
${e.MediaQueries.tdUp} {
|
|
1156
|
+
gap: 8px;
|
|
1157
|
+
}
|
|
1158
|
+
${e.MediaQueries.tdDown} {
|
|
1159
|
+
gap: 4px;
|
|
1160
|
+
flex: 1;
|
|
1161
|
+
}
|
|
1162
|
+
`,St=x.default.a`
|
|
1163
|
+
text-decoration: none;
|
|
1164
|
+
border-radius: 12px;
|
|
1165
|
+
|
|
1166
|
+
position: relative;
|
|
1167
|
+
overflow: hidden;
|
|
1168
|
+
display: flex;
|
|
1169
|
+
* {
|
|
1170
|
+
pointer-events: none;
|
|
1171
|
+
}
|
|
1172
|
+
.bg-svg {
|
|
1173
|
+
top: 0;
|
|
1174
|
+
left: 0;
|
|
1175
|
+
position: absolute;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.dot-svg {
|
|
1179
|
+
width: 40px;
|
|
1180
|
+
height: 30px;
|
|
1181
|
+
top: 36px;
|
|
1182
|
+
left: 16px;
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
stroke-width: 0;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
&[data-color='pink'] {
|
|
1188
|
+
background: ${e=>e.theme.mbColors.tonePink};
|
|
1189
|
+
.bg-svg {
|
|
1190
|
+
fill: ${e=>e.theme.mbColors.peach};
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
&[data-color='orange'] {
|
|
1194
|
+
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1195
|
+
.bg-svg {
|
|
1196
|
+
fill: ${e=>e.theme.mbColors.orange};
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
&[data-color='green'] {
|
|
1200
|
+
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1201
|
+
.bg-svg {
|
|
1202
|
+
fill: ${e=>e.theme.mbColors.mint};
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
padding: 180px 24px 16px;
|
|
1207
|
+
a {
|
|
1208
|
+
display: flex;
|
|
1209
|
+
width: 100%;
|
|
1210
|
+
}
|
|
1211
|
+
${e.MediaQueries.tdDown} {
|
|
1212
|
+
padding-top: 16px;
|
|
1213
|
+
display: flex;
|
|
1214
|
+
align-items: flex-start;
|
|
1215
|
+
justify-content: flex-start;
|
|
1216
|
+
}
|
|
1217
|
+
${e.MediaQueries.mbDown} {
|
|
1218
|
+
padding-top: 0;
|
|
1219
|
+
padding-left: 80px;
|
|
1220
|
+
height: 96px;
|
|
1221
|
+
align-items: flex-start;
|
|
1222
|
+
justify-content: center;
|
|
1223
|
+
flex-direction: column;
|
|
1224
|
+
.dot-svg {
|
|
1225
|
+
top: 22px;
|
|
1226
|
+
left: 16px;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
${e.MediaQueries.tdUp} {
|
|
1230
|
+
min-height: 296px;
|
|
1231
|
+
}
|
|
1232
|
+
.mobile-only {
|
|
1233
|
+
${e.MediaQueries.tdUp} {
|
|
1234
|
+
display: none;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
.desktop-only {
|
|
1238
|
+
${e.MediaQueries.tdDown} {
|
|
1239
|
+
display: none;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
`,It=x.default.div`
|
|
1243
|
+
width: 48px;
|
|
1244
|
+
height: 48px;
|
|
1245
|
+
background: white;
|
|
1246
|
+
position: absolute;
|
|
1247
|
+
right: 25px;
|
|
1248
|
+
top: 35px;
|
|
1249
|
+
z-index: 3;
|
|
1250
|
+
border-radius: 50%;
|
|
1251
|
+
img {
|
|
1252
|
+
position: absolute;
|
|
1253
|
+
width: 36px;
|
|
1254
|
+
height: 36px;
|
|
1255
|
+
top: 50%;
|
|
1256
|
+
left: 50%;
|
|
1257
|
+
display: block;
|
|
1258
|
+
transform: translate(-50%, -50%);
|
|
1259
|
+
}
|
|
1260
|
+
${e.MediaQueries.tdDown} {
|
|
1261
|
+
position: relative;
|
|
1262
|
+
top: unset;
|
|
1263
|
+
right: unset;
|
|
1264
|
+
}
|
|
1265
|
+
${e.MediaQueries.mbDown} {
|
|
1266
|
+
position: absolute;
|
|
1267
|
+
left: 32px;
|
|
1268
|
+
top: 28px;
|
|
1269
|
+
}
|
|
1270
|
+
`,Lt=x.default.div`
|
|
1271
|
+
display: flex;
|
|
1272
|
+
align-items: center;
|
|
1273
|
+
background: white;
|
|
1274
|
+
font-weight: 400;
|
|
1275
|
+
font-size: 14px;
|
|
1276
|
+
text-decoration: none;
|
|
1277
|
+
border-radius: 50%;
|
|
1278
|
+
width: 20px;
|
|
1279
|
+
height: 20px;
|
|
1280
|
+
|
|
1281
|
+
svg path {
|
|
1282
|
+
fill: ${e=>e.theme.mbColors.gray};
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
${e.MediaQueries.tdDown} {
|
|
1286
|
+
background: none;
|
|
1287
|
+
width: 100%;
|
|
1288
|
+
font-weight: 400;
|
|
1289
|
+
font-size: 12px;
|
|
1290
|
+
line-height: 18px;
|
|
1291
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1292
|
+
padding-left: 16px;
|
|
1293
|
+
}
|
|
1294
|
+
`,$t=x.default.p`
|
|
1295
|
+
font-weight: 600;
|
|
1296
|
+
font-size: 14px;
|
|
1297
|
+
line-height: 24px;
|
|
1298
|
+
letter-spacing: -0.2px;
|
|
1299
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1300
|
+
`,Ct=x.default.p`
|
|
1301
|
+
font-weight: 400;
|
|
1302
|
+
font-size: 12px;
|
|
1303
|
+
line-height: 18px;
|
|
1304
|
+
letter-spacing: -0.2px;
|
|
1305
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1306
|
+
height: 54px;
|
|
1307
|
+
text-overflow: ellipsis;
|
|
1308
|
+
overflow: hidden;
|
|
1309
|
+
display: -webkit-box;
|
|
1310
|
+
-webkit-line-clamp: 3;
|
|
1311
|
+
-webkit-box-orient: vertical;
|
|
1312
|
+
margin-bottom: auto;
|
|
1313
|
+
${e.MediaQueries.tdDown} {
|
|
1314
|
+
display: none;
|
|
1315
|
+
}
|
|
1316
|
+
`,Dt=x.default.div`
|
|
1317
|
+
display: flex;
|
|
1318
|
+
flex: 1;
|
|
1319
|
+
z-index: 1;
|
|
1320
|
+
align-items: flex-end;
|
|
1321
|
+
justify-content: flex-end;
|
|
1322
|
+
${e.MediaQueries.tdUp} {
|
|
1323
|
+
gap: 8px;
|
|
1324
|
+
flex-direction: row;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
${e.MediaQueries.tdDown} {
|
|
1328
|
+
align-items: flex-start;
|
|
1329
|
+
justify-content: flex-start;
|
|
1330
|
+
gap: 4px;
|
|
1331
|
+
}
|
|
1332
|
+
`,Mt=x.default.div`
|
|
1333
|
+
display: flex;
|
|
1334
|
+
flex-direction: column;
|
|
1335
|
+
flex: 1;
|
|
1336
|
+
z-index: 1;
|
|
1337
|
+
${e.MediaQueries.tdUp} {
|
|
1338
|
+
gap: 8px;
|
|
1339
|
+
}
|
|
1340
|
+
${e.MediaQueries.tdDown} {
|
|
1341
|
+
gap: 4px;
|
|
1342
|
+
flex: 1;
|
|
1343
|
+
padding-left: 16px;
|
|
1344
|
+
}
|
|
1345
|
+
`,Rt=x.default.div`
|
|
1346
|
+
display: flex;
|
|
1347
|
+
flex-direction: row;
|
|
1348
|
+
flex: 1;
|
|
1349
|
+
z-index: 1;
|
|
1350
|
+
${e.MediaQueries.tdUp} {
|
|
1351
|
+
gap: 8px;
|
|
1352
|
+
justify-content: flex-end;
|
|
1353
|
+
align-items: flex-end;
|
|
1354
|
+
}
|
|
1355
|
+
${e.MediaQueries.tdDown} {
|
|
1356
|
+
flex-direction: column;
|
|
1357
|
+
justify-content: flex-start;
|
|
1358
|
+
align-items: flex-start;
|
|
1359
|
+
}
|
|
1360
|
+
`,kt=x.default.div`
|
|
1361
|
+
position: fixed;
|
|
1362
|
+
z-index: 201;
|
|
1363
|
+
top: calc(100% + 1px); // border 1px
|
|
1364
|
+
width: 100%;
|
|
1365
|
+
height: calc(100vh - var(--header-bottom));
|
|
1366
|
+
overflow-x: hidden;
|
|
1367
|
+
overflow-y: auto;
|
|
1368
|
+
background: white;
|
|
1369
|
+
display: flex;
|
|
1370
|
+
flex-direction: column;
|
|
1371
|
+
padding-bottom: 0;
|
|
1372
|
+
left: 0;
|
|
1373
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
1374
|
+
position: unset;
|
|
1375
|
+
}
|
|
1376
|
+
`;x.default.div`
|
|
1377
|
+
position: fixed;
|
|
1378
|
+
bottom: 0;
|
|
1379
|
+
left: 0;
|
|
1380
|
+
display: flex;
|
|
1381
|
+
width: 100%;
|
|
1382
|
+
height: 72px;
|
|
1383
|
+
align-items: flex-start;
|
|
1384
|
+
justify-content: center;
|
|
1385
|
+
|
|
1386
|
+
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
1387
|
+
|
|
1388
|
+
.button-image {
|
|
1389
|
+
stroke-color: blue;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
&[data-site-type='marryBaby'] {
|
|
1393
|
+
padding: 0 16px;
|
|
1394
|
+
.category-button {
|
|
1395
|
+
width: 100%;
|
|
1396
|
+
height: 48px;
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
`,x.default.div`
|
|
1400
|
+
display: flex;
|
|
1401
|
+
|
|
1402
|
+
&[data-card-array-no-margin-style='true'] {
|
|
1403
|
+
margin: 8px 0;
|
|
1404
|
+
|
|
1405
|
+
& > div {
|
|
1406
|
+
width: 0;
|
|
1407
|
+
flex: 1;
|
|
1408
|
+
margin: 0 -1px;
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
&[data-card-array-no-margin-style='false'] {
|
|
1413
|
+
margin: 8px -4px;
|
|
1414
|
+
|
|
1415
|
+
& > div {
|
|
1416
|
+
flex: 1;
|
|
1417
|
+
margin: 0 4px;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
`,x.default.div`
|
|
1421
|
+
margin-top: 64px;
|
|
1422
|
+
`,x.default.div`
|
|
1423
|
+
padding: 24px 0;
|
|
1424
|
+
`,x.default.div`
|
|
1425
|
+
display: flex;
|
|
1426
|
+
width: 100%;
|
|
1427
|
+
align-items: center;
|
|
1428
|
+
justify-content: center;
|
|
1429
|
+
|
|
1430
|
+
& > div:first-child {
|
|
1431
|
+
margin-right: 8px;
|
|
1432
|
+
}
|
|
1433
|
+
`,x.default.div`
|
|
1434
|
+
z-index: ${te};
|
|
1435
|
+
align-items: center;
|
|
1436
|
+
|
|
1437
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
1438
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1439
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
1440
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1441
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1442
|
+
`,x.default.div`
|
|
1443
|
+
position: relative;
|
|
1444
|
+
display: flex;
|
|
1445
|
+
flex-wrap: wrap;
|
|
1446
|
+
align-items: flex-start;
|
|
1447
|
+
justify-content: flex-start;
|
|
1448
|
+
padding: 48px 0;
|
|
1449
|
+
`,x.default.div`
|
|
1450
|
+
position: relative;
|
|
1451
|
+
display: flex;
|
|
1452
|
+
flex-wrap: wrap;
|
|
1453
|
+
align-items: flex-start;
|
|
1454
|
+
justify-content: flex-start;
|
|
1455
|
+
&[data-disabled-divider='false'] {
|
|
1456
|
+
border-right: 1px solid #e4e8ec;
|
|
1457
|
+
}
|
|
1458
|
+
`,x.default.div`
|
|
1459
|
+
width: 20%;
|
|
1460
|
+
padding-right: 16px;
|
|
1461
|
+
margin-bottom: 12px;
|
|
1462
|
+
|
|
1463
|
+
& > a {
|
|
1464
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1465
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1466
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1467
|
+
line-height: 22px;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
& > a:hover {
|
|
1471
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
.iconMenu {
|
|
1475
|
+
display: flex;
|
|
1476
|
+
align-items: center;
|
|
1477
|
+
|
|
1478
|
+
> .imageContainer {
|
|
1479
|
+
display: flex;
|
|
1480
|
+
width: 32px;
|
|
1481
|
+
min-width: 32px;
|
|
1482
|
+
align-items: center;
|
|
1483
|
+
margin-right: 16px;
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
`,x.default.div`
|
|
1487
|
+
display: none;
|
|
1488
|
+
`,x.default.div`
|
|
1489
|
+
width: 33%;
|
|
1490
|
+
height: 48px;
|
|
1491
|
+
padding-right: 16px;
|
|
1492
|
+
margin-bottom: 12px;
|
|
1493
|
+
|
|
1494
|
+
& > a {
|
|
1495
|
+
display: flex;
|
|
1496
|
+
align-items: center;
|
|
1497
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1498
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1499
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1500
|
+
line-height: 22px;
|
|
1501
|
+
|
|
1502
|
+
& > :first-child {
|
|
1503
|
+
margin-right: 16px;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
& > a > p:hover {
|
|
1508
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1509
|
+
}
|
|
1510
|
+
`,x.default.div`
|
|
1511
|
+
display: flex;
|
|
1512
|
+
align-items: center;
|
|
1513
|
+
|
|
1514
|
+
padding-right: 16px;
|
|
1515
|
+
margin-bottom: 12px;
|
|
1516
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1517
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1518
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
1519
|
+
line-height: 24px;
|
|
1520
|
+
|
|
1521
|
+
&[data-theme='marryBaby'] {
|
|
1522
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1523
|
+
}
|
|
1524
|
+
`,x.default.div`
|
|
1525
|
+
display: flex;
|
|
1526
|
+
align-items: center;
|
|
1527
|
+
|
|
1528
|
+
margin-left: 10px;
|
|
1529
|
+
`,x.default.div`
|
|
1530
|
+
position: absolute;
|
|
1531
|
+
top: 16px;
|
|
1532
|
+
right: 0;
|
|
1533
|
+
display: flex;
|
|
1534
|
+
align-items: center;
|
|
1535
|
+
cursor: pointer;
|
|
1536
|
+
`,x.default.div`
|
|
1537
|
+
display: block;
|
|
1538
|
+
`,x.default.div`
|
|
1539
|
+
.categories__spotlight {
|
|
1540
|
+
display: grid;
|
|
1541
|
+
margin: 16px;
|
|
1542
|
+
margin-bottom: 32px;
|
|
1543
|
+
grid-gap: 8px;
|
|
1544
|
+
grid-template-columns: 1fr 1fr;
|
|
1545
|
+
|
|
1546
|
+
a {
|
|
1547
|
+
text-decoration: none;
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.categoryCard {
|
|
1552
|
+
display: flex;
|
|
1553
|
+
width: 100%;
|
|
1554
|
+
flex-direction: column;
|
|
1555
|
+
align-items: center;
|
|
1556
|
+
padding: 16px;
|
|
1557
|
+
border-radius: 6px;
|
|
1558
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1559
|
+
|
|
1560
|
+
svg {
|
|
1561
|
+
margin-bottom: 4px;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
&.active {
|
|
1565
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
1566
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
1567
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1568
|
+
color: white;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
&:not(.active) {
|
|
1572
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1573
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
.amp__menu-header {
|
|
1578
|
+
display: grid;
|
|
1579
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
1580
|
+
|
|
1581
|
+
svg {
|
|
1582
|
+
margin-left: 16px;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
> div {
|
|
1586
|
+
align-self: center;
|
|
1587
|
+
|
|
1588
|
+
&:nth-child(2) {
|
|
1589
|
+
justify-self: center;
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
.logo {
|
|
1595
|
+
margin: 22px 0;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
.categories {
|
|
1599
|
+
margin: 0 16px;
|
|
1600
|
+
|
|
1601
|
+
li {
|
|
1602
|
+
display: block;
|
|
1603
|
+
width: 100%;
|
|
1604
|
+
|
|
1605
|
+
+ li {
|
|
1606
|
+
border-top: 1px solid
|
|
1607
|
+
${e=>e.theme.colors.neutral100};
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
a {
|
|
1611
|
+
display: block;
|
|
1612
|
+
margin: 12px 0;
|
|
1613
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1614
|
+
text-decoration: none;
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
`,x.default.div`
|
|
1619
|
+
width: 20%;
|
|
1620
|
+
height: 2px;
|
|
1621
|
+
|
|
1622
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1623
|
+
border-radius: 2px;
|
|
1624
|
+
`;const Pt=x.default.div`
|
|
1625
|
+
padding: 16px;
|
|
1626
|
+
padding-bottom: 12px;
|
|
1627
|
+
.fake-search-input {
|
|
1628
|
+
pointer-events: none;
|
|
1629
|
+
input {
|
|
1630
|
+
line-height: 20px;
|
|
1631
|
+
padding-top: 10px;
|
|
1632
|
+
padding-bottom: 10px;
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
&[data-theme='marryBaby'] {
|
|
1636
|
+
input {
|
|
1637
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
1638
|
+
border-radius: 16px;
|
|
1639
|
+
border: none;
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
`,Gt=x.default.div`
|
|
1643
|
+
display: block;
|
|
1644
|
+
overflow-y: auto;
|
|
1645
|
+
flex: 1;
|
|
1646
|
+
padding-bottom: 16px;
|
|
1647
|
+
&::-webkit-scrollbar {
|
|
1648
|
+
width: 0;
|
|
1649
|
+
display: none;
|
|
1650
|
+
}
|
|
1651
|
+
`,Nt=x.default.div`
|
|
1652
|
+
z-index: 201;
|
|
1653
|
+
width: 100%;
|
|
1654
|
+
align-items: center;
|
|
1655
|
+
|
|
1656
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1657
|
+
|
|
1658
|
+
transition: height 0.3s, transform 0.3s;
|
|
1659
|
+
|
|
1660
|
+
&[data-site-type='helloSites'] {
|
|
1661
|
+
border-bottom: 1px solid
|
|
1662
|
+
${e=>e.theme.colors.neutral100};
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
&[data-marry-baby-tone='pink'] {
|
|
1666
|
+
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
${e.MediaQueries.mbUp} {
|
|
1670
|
+
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1671
|
+
transform: translateY(-64px);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
${e.MediaQueries.mbDown} {
|
|
1675
|
+
&[data-site-type='marryBaby'] {
|
|
1676
|
+
border-bottom: none;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
&[data-fixed-bar='true'] {
|
|
1680
|
+
position: fixed;
|
|
1681
|
+
transform: translateY(0);
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
&[data-fixed-bar='false'] {
|
|
1685
|
+
position: absolute;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
&[data-collapsed='true'] {
|
|
1689
|
+
transform: translateY(-100%);
|
|
1690
|
+
transition: transform 0.5s;
|
|
1691
|
+
}
|
|
1692
|
+
&[data-collapsed='false'] {
|
|
1693
|
+
transform: translateY(0);
|
|
1694
|
+
transition: transform 0.5s;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
.top-bar-header {
|
|
1698
|
+
line-height: normal;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
&[data-header-type='home'] {
|
|
1702
|
+
z-index: ${Z};
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
&[data-header-type='popup'] {
|
|
1706
|
+
position: absolute;
|
|
1707
|
+
z-index: ${J};
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
&[data-header-type='popup-sub-level'] {
|
|
1711
|
+
position: absolute;
|
|
1712
|
+
z-index: ${ee};
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
&[data-is-displayed='false'] {
|
|
1716
|
+
//display: none;
|
|
1717
|
+
visibility: hidden;
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
.marry-baby {
|
|
1722
|
+
input {
|
|
1723
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
1724
|
+
border-radius: 16px;
|
|
1725
|
+
border: none;
|
|
1726
|
+
}
|
|
1727
|
+
max-width: 172px;
|
|
1728
|
+
}
|
|
1729
|
+
&[data-site-type='marryBaby'] {
|
|
1730
|
+
.close-btn {
|
|
1731
|
+
top: 16px;
|
|
1732
|
+
right: 16px;
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
`,Ut=x.default.div`
|
|
1736
|
+
display: flex;
|
|
1737
|
+
height: 100%;
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
|
|
1740
|
+
justify-content: space-between;
|
|
1741
|
+
padding: 0 2rem;
|
|
1742
|
+
height: 69px;
|
|
1743
|
+
${e.MediaQueries.pcDown} {
|
|
1744
|
+
padding: 0 1rem;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
${e.MediaQueries.mbDown} {
|
|
1748
|
+
position: relative;
|
|
1749
|
+
height: 64px;
|
|
1750
|
+
background: white;
|
|
1751
|
+
gap: 1rem;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
&[data-site-type='marryBaby'] {
|
|
1755
|
+
width: 100%;
|
|
1756
|
+
margin: 0 auto;
|
|
1757
|
+
padding: 0 16px;
|
|
1758
|
+
${e.MediaQueries.tdUp} {
|
|
1759
|
+
max-width: 1064px;
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
`,Bt=x.default.div`
|
|
1763
|
+
display: flex;
|
|
1764
|
+
align-items: center;
|
|
1765
|
+
height: 100%;
|
|
1766
|
+
gap: 24px;
|
|
1767
|
+
${e.MediaQueries.pcDown} {
|
|
1768
|
+
gap: 16px;
|
|
1769
|
+
}
|
|
1770
|
+
&[data-site-type='marryBaby'] {
|
|
1771
|
+
gap: 26px;
|
|
1772
|
+
}
|
|
1773
|
+
`,Ht=x.default.div``,zt=x.default.div`
|
|
1774
|
+
display: flex;
|
|
1775
|
+
align-items: center;
|
|
1776
|
+
height: 100%;
|
|
1777
|
+
flex-shrink: 0.6;
|
|
1778
|
+
.hhgcomp-navigation-itemnav-headeritem {
|
|
1779
|
+
gap: 2px;
|
|
1780
|
+
${e.MediaQueries.pcUp} {
|
|
1781
|
+
padding: 0 12px;
|
|
1782
|
+
}
|
|
1783
|
+
${e.MediaQueries.pcDown} {
|
|
1784
|
+
padding: 0 6px;
|
|
1785
|
+
}
|
|
1786
|
+
${e.MediaQueries.mbDown} {
|
|
1787
|
+
display: none;
|
|
1788
|
+
}
|
|
1789
|
+
a {
|
|
1790
|
+
text-decoration: none;
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
&[data-site-type='marryBaby'] {
|
|
1794
|
+
gap: 26px;
|
|
1795
|
+
}
|
|
1796
|
+
`;x.default.div`
|
|
1797
|
+
.fake-search-input {
|
|
1798
|
+
pointer-events: none;
|
|
1799
|
+
input {
|
|
1800
|
+
line-height: 20px;
|
|
1801
|
+
padding-top: 10px;
|
|
1802
|
+
padding-bottom: 10px;
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
`;const Qt=x.default.div`
|
|
1806
|
+
margin-left: 16px;
|
|
1807
|
+
display: flex;
|
|
1808
|
+
gap: 12px;
|
|
1809
|
+
align-items: center;
|
|
1810
|
+
flex-shrink: 0;
|
|
1811
|
+
${e.MediaQueries.pcDown} {
|
|
1812
|
+
margin-left: 8px;
|
|
1813
|
+
gap: 8px;
|
|
1814
|
+
}
|
|
1815
|
+
${e.MediaQueries.mbDown} {
|
|
1816
|
+
margin-left: 12px;
|
|
1817
|
+
gap: 10px;
|
|
1818
|
+
}
|
|
1819
|
+
`,jt=x.default.div`
|
|
1820
|
+
display: flex;
|
|
1821
|
+
align-items: center;
|
|
1822
|
+
height: 100%;
|
|
1823
|
+
&[data-site-type='marryBaby'] {
|
|
1824
|
+
gap: 26px;
|
|
1825
|
+
}
|
|
1826
|
+
`,Ft=x.default.div`
|
|
1827
|
+
--header-z-index: 305;
|
|
1828
|
+
top: 0;
|
|
1829
|
+
z-index: var(--header-z-index);
|
|
1830
|
+
|
|
1831
|
+
${e.MediaQueries.mbDown} {
|
|
1832
|
+
width: 100vw;
|
|
1833
|
+
max-width: 100%;
|
|
1834
|
+
}
|
|
1835
|
+
--amp-site-wide-closed: 2px;
|
|
1836
|
+
|
|
1837
|
+
-webkit-transform: translateZ(0);
|
|
1838
|
+
position: sticky;
|
|
1839
|
+
|
|
1840
|
+
&.nav-open {
|
|
1841
|
+
margin-top: 64px;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
&:not(.nav-open) {
|
|
1845
|
+
--amp-site-wide-closed: 66px;
|
|
1846
|
+
}
|
|
1847
|
+
pointer-events: none;
|
|
1848
|
+
> section * {
|
|
1849
|
+
pointer-events: auto;
|
|
1850
|
+
}
|
|
1851
|
+
`;x.default.div`
|
|
1852
|
+
display: flex;
|
|
1853
|
+
align-items: center;
|
|
1854
|
+
gap: 8px;
|
|
1855
|
+
`,x.default.a`
|
|
1856
|
+
&[data-is-active='true'] {
|
|
1857
|
+
color: unset;
|
|
1858
|
+
}
|
|
1859
|
+
font-size: 14px;
|
|
1860
|
+
font-weight: 700;
|
|
1861
|
+
line-height: 22px;
|
|
1862
|
+
text-decoration: none;
|
|
1863
|
+
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=L,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=A,exports.DEFAULT_IMG=O,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=T,exports.DefaultComponentGlobalContextData=xe,exports.HEALTH_TOOL_TYPE=S,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext(Le);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?_.default(h).toNow(!0):g;return f.default.createElement(ht,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},f.default.createElement(dt,null,f.default.createElement(xt,null,f.default.createElement(st,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),f.default.createElement(yt,null,f.default.createElement(ut,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),f.default.createElement(bt,null,f.default.createElement(ct,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),f.default.createElement(gt,null,"•"),f.default.createElement(mt,{"data-theme":p},x)))),f.default.createElement(ft,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&f.default.createElement(pt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=le[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":re[e]),[e,t]);return f.default.createElement("div",{onClick:function(){o(e)},className:`${ie} ${i}`},f.default.createElement("div",{className:ae,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),f.default.createElement("h3",{className:oe},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=Le,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=f.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?ye[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="ecom"===t,u="ecom"===t,m=c.getCurrentBaseUrl(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:m,CARE_URL_FE:`${m}/care`,TOGETHER_URL_FE:`${m}/community`,SSO_URL:c.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:c.getTogetherApiDomain(),DISCOVER_API:c.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return f.default.createElement(Le.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=he,exports.REPORT_REASON_MAP=D,exports.SearchIcon=$e,exports.StyleSelectionPopup=N,exports.StyledAvatar=K,exports.StyledBtnView=Ke,exports.StyledBtnView$1=Et,exports.StyledBtnView$2=Lt,exports.StyledButtonGroup=Q,exports.StyledContainer=Ft,exports.StyledContainerItems=Ve,exports.StyledContainerItems$1=it,exports.StyledContainerItems$2=lt,exports.StyledContainerItems$3=_t,exports.StyledContainerNoPosts=Ne,exports.StyledContent=Mt,exports.StyledContentLeft=He,exports.StyledContentWrapper=et,exports.StyledContentWrapper$1=Ot,exports.StyledContentWrapper$2=Dt,exports.StyledDes=Xe,exports.StyledDes$1=At,exports.StyledDes$2=Ct,exports.StyledDescription=Ue,exports.StyledDisplayWrapper=H,exports.StyledHeader=Ut,exports.StyledHeaderWrapper=Nt,exports.StyledHeading=Me,exports.StyledHeading$1=je,exports.StyledIconNav=Re,exports.StyledImageCard=We,exports.StyledImageCard$1=at,exports.StyledImageCard$2=wt,exports.StyledImageCard$3=It,exports.StyledImageCardInner=Ye,exports.StyledImageWrapper=q,exports.StyledImageWrapper$1=Pe,exports.StyledItem=De,exports.StyledItem$1=tt,exports.StyledItem$2=ot,exports.StyledItem$3=vt,exports.StyledItem$4=St,exports.StyledItemAll=ke,exports.StyledItemGridLeft=Ce,exports.StyledItemGridRight=Qe,exports.StyledLanguageChangeLink=k,exports.StyledLeft=ze,exports.StyledLeftGroup=Bt,exports.StyledLoggedOutAnchor=X,exports.StyledLogoWrapper=Ht,exports.StyledMasterMenuContainer=kt,exports.StyledOption=U,exports.StyledPopup=z,exports.StyledPopup$1=V,exports.StyledPopup$2=w,exports.StyledPopupBackground=B,exports.StyledPopupWrapper=E,exports.StyledProfileNavGroup=Qt,exports.StyledRightGroup=zt,exports.StyledSelectionContainer=P,exports.StyledSelectionLabel=G,exports.StyledServiceListMenuSearchInputWrapper=Pt,exports.StyledTitle=Be,exports.StyledTitle$1=qe,exports.StyledTitle$2=rt,exports.StyledTitle$3=Tt,exports.StyledTitle$4=$t,exports.StyledViewMore=Ge,exports.StyledViewMore$1=Fe,exports.StyledWrapMenuItems=jt,exports.StyledWrapName=Rt,exports.StyledWrapper=Gt,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=fe,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Oe(Ee(he.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),f.default.createElement(fe.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=st,exports.Z_INDEX=C,exports.callApi=Ae,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=ge.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Te(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Oe,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=ge.parse(o||""),u=p[L]||d.getCookie(L);if(!u||!u.length)return Ae(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Te(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Ae(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Ae(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=R,exports.domainLocales=be,exports.getApiPath=Ee,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=M[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Ie(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=M[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Ie(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+we(y.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${be[e]}`},exports.getDiscoverApiPath=(e,t)=>{const{discoverBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return i+"wp-json/api/"+we(y.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Se(o,e,t[e])})),Se(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|