@hhgtech/hhg-components 1.23.96 → 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-727b7826.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-d1f89e20.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-9dc10217.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-aed2cd66.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-c72cd9e1.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-17a7a580.js +0 -1
- package/build/constants-d6d1e063.js +0 -1
- package/build/cookieHelper-28201535.js +0 -1
- package/build/core-359f3669.js +0 -1
- package/build/dataTransform-89c2bec6.js +0 -1
- package/build/dataTransform-fb387c67.js +0 -1
- package/build/esm/Visible-e38806a1.js +0 -1
- package/build/esm/constants-acc229cb.js +0 -1
- package/build/esm/cookieHelper-9853ff28.js +0 -1
- package/build/esm/core-8c140564.js +0 -1
- package/build/esm/dataTransform-1235c7f3.js +0 -1
- package/build/esm/dataTransform-74976312.js +0 -1
- package/build/esm/getDynamicHealthTool-2fc74721.js +0 -1
- package/build/esm/getSocialList-85be8e90.js +0 -1
- package/build/esm/index-0c399195.js +0 -1
- package/build/esm/index-2493ccf8.js +0 -1
- package/build/esm/index-3f5ef276.js +0 -1
- package/build/esm/index-42f2a9bf.js +0 -1
- package/build/esm/index-46feaf77.js +0 -1
- package/build/esm/index-47fa0437.js +0 -1
- package/build/esm/index-513d11f1.js +0 -1
- package/build/esm/index-727d6563.js +0 -1
- package/build/esm/index-783229bd.js +0 -1
- package/build/esm/index-8d02e7ca.js +0 -1
- package/build/esm/index-9395e6e7.js +0 -1
- package/build/esm/index-9b0a548c.js +0 -1
- package/build/esm/index-9cbbd619.js +0 -1
- package/build/esm/index-a05bc574.js +0 -1
- package/build/esm/index-ad90c54c.js +0 -1
- package/build/esm/index-ae9491da.js +0 -1
- package/build/esm/index-cc0a2037.js +0 -1
- package/build/esm/index-cf1f731a.js +0 -1
- package/build/esm/index-d704cce0.js +0 -1
- package/build/esm/index-e643346e.js +0 -1
- package/build/esm/index-ea41d909.js +0 -1
- package/build/esm/index.styled-354ac1b1.js +0 -1
- package/build/esm/index.styled-49b84b98.js +0 -1
- package/build/esm/index.styled-710e3780.js +0 -1
- package/build/esm/index.styled-945634fd.js +0 -1
- package/build/esm/index.styled-a08c1405.js +0 -1
- package/build/esm/index.styled-d4b2fbc3.js +0 -1
- package/build/esm/localizeNumberFormat-51e7567b.js +0 -1
- package/build/esm/normalizeLink-dd77331b.js +0 -1
- package/build/esm/routing-77a603de.js +0 -1
- package/build/esm/screenSizeContext-1ad3b13f.js +0 -1
- package/build/esm/theme-6269934e.js +0 -1
- package/build/esm/translationsProvider-46be20af.js +0 -1
- package/build/esm/tslib.es6-cdf3fe1c.js +0 -1
- package/build/esm/types-29954c44.js +0 -1
- package/build/esm/types-b95b282d.js +0 -1
- package/build/esm/types-fe9ae595.js +0 -1
- package/build/esm/useFbDataLayer-8c1f8f78.js +0 -1
- package/build/esm/useHealthToolCache-feeb515b.js +0 -1
- package/build/esm/useOutsideClick-60fdf782.js +0 -1
- package/build/esm/useScrollbarSize-66f40fe6.js +0 -1
- package/build/esm/useTranslations-65f76a8d.js +0 -1
- package/build/esm/utils-3c60234f.js +0 -1
- package/build/getDynamicHealthTool-cc9d53e4.js +0 -1
- package/build/getSocialList-8a26e47a.js +0 -1
- package/build/index-07be4231.js +0 -1
- package/build/index-0a913563.js +0 -1
- package/build/index-0c229f73.js +0 -1
- package/build/index-25301c21.js +0 -1
- package/build/index-37925a90.js +0 -1
- package/build/index-4823cdb2.js +0 -1
- package/build/index-4de1d8b7.js +0 -1
- package/build/index-56dbf01c.js +0 -1
- package/build/index-5fe36d07.js +0 -1
- package/build/index-6a9d5459.js +0 -1
- package/build/index-71240a86.js +0 -1
- package/build/index-858a0d8e.js +0 -1
- package/build/index-89d5d52a.js +0 -1
- package/build/index-8c3cfb8d.js +0 -1
- package/build/index-a4458177.js +0 -1
- package/build/index-b211535f.js +0 -1
- package/build/index-b4c4e4d2.js +0 -1
- package/build/index-d18d512f.js +0 -1
- package/build/index-df85df56.js +0 -1
- package/build/index-f516687b.js +0 -1
- package/build/index-fa42fb5a.js +0 -1
- package/build/index.styled-05110f11.js +0 -1
- package/build/index.styled-5bdace7e.js +0 -1
- package/build/index.styled-7e9152c8.js +0 -1
- package/build/index.styled-aa601a7f.js +0 -1
- package/build/index.styled-dad4055c.js +0 -1
- package/build/index.styled-e3beeca7.js +0 -1
- package/build/isProduction-04c3761b.js +0 -1
- package/build/localizeNumberFormat-dfc55e0f.js +0 -1
- package/build/normalizeLink-37918249.js +0 -1
- package/build/routing-b6c93661.js +0 -1
- package/build/screenSizeContext-d81dbb01.js +0 -1
- package/build/translationsProvider-f14439a0.js +0 -1
- package/build/tslib.es6-431789a4.js +0 -1
- package/build/types-1c807ecb.js +0 -1
- package/build/types-4d99bb34.js +0 -1
- package/build/types-d2f1b4b1.js +0 -1
- package/build/useFbDataLayer-2105ab05.js +0 -1
- package/build/useHealthToolCache-1b87ca61.js +0 -1
- package/build/useOutsideClick-2c0ff372.js +0 -1
- package/build/useScrollbarSize-05810e22.js +0 -1
- package/build/useTranslations-ef77629a.js +0 -1
- package/build/utils-ab3443d3.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-9d39bbab.js → BMI_BOYS.percentile.monthly-49a7e033.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-4bc60c71.js → BMI_BOYS.percentile.weekly-c3647a26.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-50f6611a.js → BMI_BOYS.percentile.yearly-b182554a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-c6ea3446.js → BMI_BOYS.zscore.monthly-6e49f68e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-14220344.js → BMI_BOYS.zscore.weekly-473f821a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a2ffafd7.js → BMI_BOYS.zscore.yearly-91a7ef2e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2da0a249.js → BMI_GIRLS.percentile.monthly-489e52dc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0fd40cd3.js → BMI_GIRLS.percentile.weekly-232aa9fd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-a475911e.js → BMI_GIRLS.percentile.yearly-fe7db447.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ae0f8166.js → BMI_GIRLS.zscore.monthly-1eeee735.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ff6346cf.js → BMI_GIRLS.zscore.weekly-27ad267f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b9230bd5.js → BMI_GIRLS.zscore.yearly-ddb674d8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9628d9b7.js → HEAD CIRCUM_BOYS.percentile.monthly-0a67b15b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-3f1ac26c.js → HEAD CIRCUM_BOYS.percentile.weekly-7ef9f7a7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a93e69df.js → HEAD CIRCUM_BOYS.percentile.yearly-22d0bdda.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ce34cddd.js → HEAD CIRCUM_BOYS.zscore.monthly-d07fa700.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e5d90e64.js → HEAD CIRCUM_BOYS.zscore.weekly-85731a7c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-32ccaf90.js → HEAD CIRCUM_BOYS.zscore.yearly-3dbc3d23.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-40b09622.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c94c219.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-17dcd22f.js → HEAD CIRCUM_GIRLS.percentile.weekly-3d6afa9f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-45331d5d.js → HEAD CIRCUM_GIRLS.percentile.yearly-23f85bb3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-af92c59f.js → HEAD CIRCUM_GIRLS.zscore.monthly-9e2e4574.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b5ac2441.js → HEAD CIRCUM_GIRLS.zscore.weekly-970f3868.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e90e0521.js → HEAD CIRCUM_GIRLS.zscore.yearly-5f91a7be.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-7f7e9b60.js → HEIGHT_BOYS.percentile.monthly-fc85d952.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-4b6f9fc9.js → HEIGHT_BOYS.percentile.weekly-f90cdf3c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c372cbe2.js → HEIGHT_BOYS.percentile.yearly-69d74ff2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-dfc88fc7.js → HEIGHT_BOYS.zscore.monthly-c4c6ec23.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2973102c.js → HEIGHT_BOYS.zscore.weekly-5e246b85.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-44c16ec1.js → HEIGHT_BOYS.zscore.yearly-a9a6c560.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a6125ad6.js → HEIGHT_GIRLS.percentile.monthly-ad9e6190.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-d707a9a2.js → HEIGHT_GIRLS.percentile.weekly-6ad975ae.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-48fe982e.js → HEIGHT_GIRLS.percentile.yearly-a5be7a5c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-065eed4f.js → HEIGHT_GIRLS.zscore.monthly-8be73103.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ad461e21.js → HEIGHT_GIRLS.zscore.weekly-9e844863.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-a491ba3b.js → HEIGHT_GIRLS.zscore.yearly-3794c302.js} +0 -0
- /package/build/{Locale-9341a76f.js → Locale-0c6090ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1fbb54b7.js → WEIGHT_BOYS.percentile.monthly-ec4e917a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9f509516.js → WEIGHT_BOYS.percentile.weekly-cf18e9d9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-74784e0f.js → WEIGHT_BOYS.percentile.yearly-0d17cbec.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d3f5da8d.js → WEIGHT_BOYS.zscore.monthly-8055934c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-09ff83f8.js → WEIGHT_BOYS.zscore.weekly-42499533.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-6a06848c.js → WEIGHT_BOYS.zscore.yearly-f566a157.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-b7e92e78.js → WEIGHT_GIRLS.percentile.monthly-378ceed4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-410040ea.js → WEIGHT_GIRLS.percentile.weekly-097016f4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a9e421cc.js → WEIGHT_GIRLS.percentile.yearly-b8cab7d6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f03ebcda.js → WEIGHT_GIRLS.zscore.monthly-18e50eb6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-089c2776.js → WEIGHT_GIRLS.zscore.weekly-07eb577d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a7807cd4.js → WEIGHT_GIRLS.zscore.yearly-61d9aba2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-c66bdcd7.js → BMI_BOYS.percentile.monthly-6162dbd1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a3f5afd9.js → BMI_BOYS.percentile.weekly-ff0abf39.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-0e47ad62.js → BMI_BOYS.percentile.yearly-0a5cbf88.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-5d6d66ac.js → BMI_BOYS.zscore.monthly-3bb589cb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9e370dc3.js → BMI_BOYS.zscore.weekly-f5d0d55b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c11378c8.js → BMI_BOYS.zscore.yearly-168bb8ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-b94292d3.js → BMI_GIRLS.percentile.monthly-1bf2c569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5d45a283.js → BMI_GIRLS.percentile.weekly-fb2f3e86.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-12eb03d5.js → BMI_GIRLS.percentile.yearly-506acc36.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-096bdc7a.js → BMI_GIRLS.zscore.monthly-b64e0a5b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-acd6cdf3.js → BMI_GIRLS.zscore.weekly-f1a9c248.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3c48b5e6.js → BMI_GIRLS.zscore.yearly-eff14fa8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1c5cbbf8.js → HEAD CIRCUM_BOYS.percentile.monthly-4b557dea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9f9a8c4d.js → HEAD CIRCUM_BOYS.percentile.weekly-d301205d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2e80d1c4.js → HEAD CIRCUM_BOYS.percentile.yearly-cbf0239b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e6bb08b5.js → HEAD CIRCUM_BOYS.zscore.monthly-1e472bf5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a6bfadef.js → HEAD CIRCUM_BOYS.zscore.weekly-5fc4fbf2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-50ecb0c1.js → HEAD CIRCUM_BOYS.zscore.yearly-7fd04beb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-bd48bf4b.js → HEAD CIRCUM_GIRLS.percentile.monthly-0af48708.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-90b11f11.js → HEAD CIRCUM_GIRLS.percentile.weekly-d6b698bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1e8f37cd.js → HEAD CIRCUM_GIRLS.percentile.yearly-f7b231b7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4f846e2d.js → HEAD CIRCUM_GIRLS.zscore.monthly-83186826.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-bc702898.js → HEAD CIRCUM_GIRLS.zscore.weekly-c0791949.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-944d19bb.js → HEAD CIRCUM_GIRLS.zscore.yearly-dfa2a71e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3ead7b71.js → HEIGHT_BOYS.percentile.monthly-b39865ac.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e501f455.js → HEIGHT_BOYS.percentile.weekly-df5a99f1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c062210a.js → HEIGHT_BOYS.percentile.yearly-7e0b7ed8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2b585d31.js → HEIGHT_BOYS.zscore.monthly-559b4b5d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-98c29f94.js → HEIGHT_BOYS.zscore.weekly-544455a6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-56c032eb.js → HEIGHT_BOYS.zscore.yearly-81690a5c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e74d80b1.js → HEIGHT_GIRLS.percentile.monthly-4fa737ad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c80a9d9.js → HEIGHT_GIRLS.percentile.weekly-2c85d07d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f2844ed4.js → HEIGHT_GIRLS.percentile.yearly-1b366b28.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-918fa9a5.js → HEIGHT_GIRLS.zscore.monthly-d26f368c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-320adea6.js → HEIGHT_GIRLS.zscore.weekly-5e356b98.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fd76e8bb.js → HEIGHT_GIRLS.zscore.yearly-82c23bb8.js} +0 -0
- /package/build/esm/{Locale-073a2db2.js → Locale-00425d00.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b0417b50.js → WEIGHT_BOYS.percentile.monthly-b4bf9069.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8ec85726.js → WEIGHT_BOYS.percentile.weekly-28cf566c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-46dccfad.js → WEIGHT_BOYS.percentile.yearly-22454f28.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-499753ae.js → WEIGHT_BOYS.zscore.monthly-7c5c813b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ae85c589.js → WEIGHT_BOYS.zscore.weekly-58a385f6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-9084cd68.js → WEIGHT_BOYS.zscore.yearly-e4806377.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c5603062.js → WEIGHT_GIRLS.percentile.monthly-26c96203.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dc9fe710.js → WEIGHT_GIRLS.percentile.weekly-a75e2e5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-acb35d67.js → WEIGHT_GIRLS.percentile.yearly-08ff921c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-06e2f588.js → WEIGHT_GIRLS.zscore.monthly-88a3e7cd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-33d58b1e.js → WEIGHT_GIRLS.zscore.weekly-e5bfd844.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-14f3c8f1.js → WEIGHT_GIRLS.zscore.yearly-547bc55e.js} +0 -0
- /package/build/{theme-224f5840.js → theme-9a2f5576.js} +0 -0
|
@@ -0,0 +1,1863 @@
|
|
|
1
|
+
import{M as e}from"./utils-7ce226e8.js";import t from"styled-components";import{t as i}from"./theme-a631c5ab.js";import{B as o}from"./index.styled-6b6e612e.js";import a,{useMemo as r,createContext as n,useState as l,useEffect as s,memo as p,useContext as d}from"react";import{u as c}from"./useTranslations-7f736d5f.js";import{CommonGAssets as m}from"./gAssets.js";import{a as g,_ as h}from"./tslib.es6-0039c19c.js";import{C as u,a as b,T as x,d as f}from"./index-d02e0f58.js";import{g as y}from"./cookieHelper-e007aa92.js";import _ from"slugify";import v from"string-format";import{g as w,a as E,b as T,c as O}from"./routing-e4b4ee8f.js";import A from"dayjs";import I from"dayjs/plugin/relativeTime";const L=t.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.mbDown} {
|
|
38
|
+
width: 340px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[data-type='confirm'] {
|
|
43
|
+
${e.mbDown} {
|
|
44
|
+
width: calc(100% - 32px);
|
|
45
|
+
}
|
|
46
|
+
${e.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
|
+
`,$=t.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
|
+
`,S="DD/MM/YYYY",k="/images/avatar.jpg",R="/images/default-image.jpg",D={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},P={"id-ID":{"kalkulator-bmi":D.BMI,"kebutuhan-kalori":D.BMR,"kalkulator-hari-perkiraan-lahir":D.DUE_DATE,"kalkulator-masa-subur-2":D.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":D.PWG,"kalkulator-detak-jantung-saat-olahraga":D.THR},"ms-MY":{"kalkulator-bmi":D.BMI,"kalkulator-bmr":D.BMR,"kalkulator-tarikh-bersalin":D.DUE_DATE,"kalkulator-kesuburan":D.OVULATION,"kalkulator-tambah-berat-badan-hamil":D.PWG,"target-heart-rate-calculator":D.THR},"vi-VN":{"cach-tinh-chi-so-bmi":D.BMI,"tinh-chi-so-bmr":D.BMR,"cong-cu-tinh-ngay-du-sinh":D.DUE_DATE,"tinh-ngay-rung-trung":D.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":D.PWG,"cong-cu-do-nhip-tim":D.THR},"zh-TW":{"bmi-calculator":D.BMI,"bmr-calculator":D.BMR,"due-date-calculator":D.DUE_DATE,"ovulation-calculator":D.OVULATION,"pregnancy-weight-gain-calculator":D.PWG,"target-heart-rate-calculator":D.THR},"en-PH":{"bmi-calculator":D.BMI,"bmr-calculator":D.BMR,"due-date-calculator":D.DUE_DATE,"ovulation-calculator":D.OVULATION,"pregnancy-weight-gain-calculator":D.PWG,"target-heart-rate-calculator":D.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":D.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":D.BMR,"เครื่องมือคำนวณกำหนดคลอด":D.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":D.OVULATION,"เครื่องคำนวณน้ำหนักตัว":D.PWG,"เครื่องวัดอัตราการเต้น":D.THR},"hi-IN":{"bmi-calculator-en":D.BMI,"bmi-calculator":D.BMI,"bmr-calculator":D.BMR,"delivery-date-calculator":D.DUE_DATE,"ovulation-calculator":D.OVULATION,"pregnancy-weight-gain-calculator":D.PWG,"target-heart-rate-calculator":D.THR},"km-KH":{"គណនា-bmi":D.BMI,"គណនា-bmr":D.BMR,"គណនាថ្ងៃសម្រាលកូន":D.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":D.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":D.PWG,"គណនារកចង្វាក់បេះដូងល្អ":D.THR},"my-MM":{"bmi-calculator":D.BMI,"bmr-calculator":D.BMR,"due-date-calendar":D.DUE_DATE,"ovulation-calculator":D.OVULATION,"pregnaancy-weight-calculator":D.PWG,"target-heartrate":D.THR,"pregnancy-weight-calculator":D.PWG,"target-heart-rate":D.THR}},C="hhg_user_token",N="together_admin_token",B={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},U={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"}},G=20,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 H=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:S,DEFAULT_AVATAR_IMG:k,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:R,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:D,LOCALE_HEALTH_TOOLS:P,BEARER_TOKEN_COOKIE:C,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:N,Z_INDEX:B,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:U,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 z=t.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
|
+
`,j=t.div`
|
|
104
|
+
position: relative;
|
|
105
|
+
display: inline-block;
|
|
106
|
+
`,F=t.div`
|
|
107
|
+
position: relative;
|
|
108
|
+
`,V=t.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
|
+
`,Y=t.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
|
+
`,K=t.div`
|
|
154
|
+
position: fixed;
|
|
155
|
+
z-index: 20;
|
|
156
|
+
top: 0;
|
|
157
|
+
left: 0;
|
|
158
|
+
width: 100%;
|
|
159
|
+
height: 100%;
|
|
160
|
+
cursor: default;
|
|
161
|
+
`,W=t.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
|
+
`,X=t.div`
|
|
164
|
+
background-color: white;
|
|
165
|
+
text-align: center;
|
|
166
|
+
.cancle-img {
|
|
167
|
+
margin-top: 24px;
|
|
168
|
+
${e.mbDown} {
|
|
169
|
+
width: 80px;
|
|
170
|
+
height: 80px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
${e.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.mbDown} {
|
|
185
|
+
font-size: 24px;
|
|
186
|
+
line-height: 32px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
${e.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.mbDown} {
|
|
201
|
+
font-size: 16px;
|
|
202
|
+
line-height: 24px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
${e.mbUp} {
|
|
206
|
+
font-size: 16px;
|
|
207
|
+
line-height: 24px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
`,q=t.div`
|
|
211
|
+
display: flex;
|
|
212
|
+
|
|
213
|
+
${e.mbDown} {
|
|
214
|
+
margin-top: 24px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
${e.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
|
+
`,Z="hhgcomp-navprofilebutton-popup",J=o(t.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.mbDown} {
|
|
260
|
+
width: 100%;
|
|
261
|
+
height: 424px;
|
|
262
|
+
bottom: 0;
|
|
263
|
+
top: unset;
|
|
264
|
+
}
|
|
265
|
+
${e.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.mbDown} {
|
|
278
|
+
width: 100%;
|
|
279
|
+
height: 100%;
|
|
280
|
+
overflow-y: scroll;
|
|
281
|
+
bottom: 0;
|
|
282
|
+
top: unset;
|
|
283
|
+
}
|
|
284
|
+
${e.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.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.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.mbDown} {
|
|
333
|
+
position: fixed;
|
|
334
|
+
left: 0;
|
|
335
|
+
width: 100%;
|
|
336
|
+
border-top: 1px solid ${i.colors.neutral100};
|
|
337
|
+
}
|
|
338
|
+
${e.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
|
+
`,Z),Q="hhgcomp-navprofilebutton-popupwrapper";o(t.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.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.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
|
+
`,Q);const ee=t.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
|
+
`,te=t.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
|
+
.${Z} {
|
|
434
|
+
z-index: 200;
|
|
435
|
+
top: 120%;
|
|
436
|
+
opacity: 1;
|
|
437
|
+
visibility: visible;
|
|
438
|
+
display: initial;
|
|
439
|
+
&[data-type='profile'] {
|
|
440
|
+
${e.mbDown} {
|
|
441
|
+
top: 100%;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
.${Q} {
|
|
446
|
+
display: initial;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
`,ie=t.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.mbUp} {
|
|
457
|
+
display: none;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
.login-btn {
|
|
461
|
+
padding-left: 10px;
|
|
462
|
+
padding-right: 10px;
|
|
463
|
+
display: none;
|
|
464
|
+
${e.mbUp} {
|
|
465
|
+
display: block;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
`,oe={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},ae=99,re=300,ne=400,le=210;var se="fVk18fq",pe="v8TCvUb",de="mx7T4V3";const ce={myHealth:i.mbColors.toneYellow,myCommunity:i.mbColors.toneBlue,mySaved:i.mbColors.toneGreen},me={helloSites:{myBooking:()=>m.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>m.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>m.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>m.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>m.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>m.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},ge=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:n}=c(),l=r((()=>{var i,o;return(null===(o=null===(i=me[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=r((()=>"marryBaby"!==t?"transparent":ce[e]),[e,t]);return a.createElement("div",{onClick:function(){o(e)},className:`${se} ${i}`},a.createElement("div",{className:de,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:pe},n(`userProfile.nav.card.${e}`)))};
|
|
469
|
+
/*!
|
|
470
|
+
* cookie
|
|
471
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
472
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
473
|
+
* MIT Licensed
|
|
474
|
+
*/
|
|
475
|
+
var he=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||fe,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=_e(s,o)}a=n+1}return i},ue=function(e,t,i){var o=i||{},a=o.encode||ye;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!xe.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!xe.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!xe.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!xe.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===be.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},be=Object.prototype.toString,xe=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function fe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ye(e){return encodeURIComponent(e)}function _e(e,t){try{return t(e)}catch(t){return e}}var ve={parse:he,serialize:ue};const we={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}"}},Ee={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Te={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}"},Oe={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Ae={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Ie=n({data:Ae,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Le=Ae;const $e=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return Le={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&ze(Ne(we.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement(Ie.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Se={"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"},ke={"vi-VN":"marrybaby.vn"},Re=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",De=e=>{const{env:{isMarryBaby:t}}=Le;return`https://${t?ke[e]:Se[e]}`},Pe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ce=e=>{const{env:{isMarryBaby:t}}=Le;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.":""}${Se[e]}`},Ne=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Le?void 0:Le.env)||{};let r=v(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:De(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Pe(r)},Be=(e,t)=>{const{discoverBaseApiUrl:i=""}=(null==Le?void 0:Le.env)||{};return i+"wp-json/api/"+Pe(v(e,Object.assign({},t)))},Ue=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Le?void 0:Le.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Pe(v(e,Object.assign({},t)))},Ge=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),Me=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ge(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===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),He=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=ve.parse(o||""),d=p[C]||y(C);if(!d||!d.length)return Me(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},Ge(i)),{headers:Object.assign({Authorization:"Bearer "+d},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 Me(s||l,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===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),Me(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.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})),ze=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=ve.parse(o||""),r=a[C]||y(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ge(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})),je=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=ve.parse(o||""),r=a[N]||y(N);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ge(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 Fe(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 Ve=(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}=Le.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Fe(o,e,t[e])})),Fe(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Ye=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Re})}-${t}`,Ke=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=M[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Ye(e,t)}`},We=({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}/${Ye(e,t,i)}`},Xe=a.createContext({}),qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?ke[i.locale||"en-PH"]:f[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),p="ecom"===t,d="ecom"===t,c=w(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:E(e,"marryBaby"===o),TOGETHER_API:T(),DISCOVER_API:O(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Xe.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},Ze=p((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.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"})))),Je=t.div`
|
|
476
|
+
padding-right: 1rem;
|
|
477
|
+
margin-top: 10px;
|
|
478
|
+
background: #ffffff;
|
|
479
|
+
padding: 5px 15px;
|
|
480
|
+
${e.mbUp} {
|
|
481
|
+
border-right: 1px solid #e4e8ec;
|
|
482
|
+
}
|
|
483
|
+
`,Qe=t.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
|
+
`,et=t.div`
|
|
532
|
+
margin: 15px 0;
|
|
533
|
+
${e.mbDown} {
|
|
534
|
+
display: none;
|
|
535
|
+
}
|
|
536
|
+
`,tt=t.div`
|
|
537
|
+
display: flex;
|
|
538
|
+
position: absolute;
|
|
539
|
+
right: 0;
|
|
540
|
+
${e.mbUp} {
|
|
541
|
+
display: none;
|
|
542
|
+
}
|
|
543
|
+
`,it=t.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
|
+
`,ot=t.div`
|
|
559
|
+
display: flex;
|
|
560
|
+
align-items: center;
|
|
561
|
+
margin-left: 10px;
|
|
562
|
+
`,at=t.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.mbDown} {
|
|
579
|
+
display: none;
|
|
580
|
+
}
|
|
581
|
+
`,rt=t.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.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.mbUp} {
|
|
609
|
+
display: grid;
|
|
610
|
+
grid-gap: 10px;
|
|
611
|
+
grid-template-columns: 1fr 3fr;
|
|
612
|
+
}
|
|
613
|
+
`,nt=t.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
|
+
`,lt=t.div`
|
|
620
|
+
font-weight: 600;
|
|
621
|
+
font-size: 16px;
|
|
622
|
+
line-height: 26px;
|
|
623
|
+
color: #000000;
|
|
624
|
+
margin-bottom: 4px;
|
|
625
|
+
`,st=t.div`
|
|
626
|
+
background: #fff;
|
|
627
|
+
padding: 5px;
|
|
628
|
+
display: flex;
|
|
629
|
+
align-items: center;
|
|
630
|
+
justify-content: center;
|
|
631
|
+
border-radius: 50px;
|
|
632
|
+
`,pt=t.div`
|
|
633
|
+
display: flex;
|
|
634
|
+
justify-content: center;
|
|
635
|
+
align-items: center;
|
|
636
|
+
position: relative;
|
|
637
|
+
${e.mbDown} {
|
|
638
|
+
justify-content: end;
|
|
639
|
+
min-height: 100px;
|
|
640
|
+
}
|
|
641
|
+
`,dt=t.div`
|
|
642
|
+
margin-top: 10px;
|
|
643
|
+
background: #ffffff;
|
|
644
|
+
padding: 5px 15px;
|
|
645
|
+
position: relative;
|
|
646
|
+
${e.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
|
+
`,ct=t.div`
|
|
658
|
+
margin: 15px 0;
|
|
659
|
+
display: flex;
|
|
660
|
+
`,mt=t.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.mbDown} {
|
|
675
|
+
margin-left: auto;
|
|
676
|
+
}
|
|
677
|
+
`;t.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 gt=t.div`
|
|
690
|
+
display: grid;
|
|
691
|
+
|
|
692
|
+
grid-template-columns: repeat(3, 1fr);
|
|
693
|
+
gap: 24px;
|
|
694
|
+
|
|
695
|
+
${e.tdDown} {
|
|
696
|
+
grid-template-columns: repeat(1, 1fr);
|
|
697
|
+
}
|
|
698
|
+
`,ht=t.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.tdDown} {
|
|
720
|
+
margin-bottom: 0;
|
|
721
|
+
padding: 0;
|
|
722
|
+
height: 100%;
|
|
723
|
+
position: unset;
|
|
724
|
+
width: 150px;
|
|
725
|
+
}
|
|
726
|
+
${e.mbDown} {
|
|
727
|
+
width: 80px;
|
|
728
|
+
}
|
|
729
|
+
`,ut=t.div`
|
|
730
|
+
background-color: #ffffff;
|
|
731
|
+
border-radius: 4px;
|
|
732
|
+
width: 100%;
|
|
733
|
+
height: 100%;
|
|
734
|
+
`,bt=t.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.tdDown} {
|
|
743
|
+
display: none;
|
|
744
|
+
}
|
|
745
|
+
`,xt=t.p`
|
|
746
|
+
font-size: 16px;
|
|
747
|
+
font-weight: 600;
|
|
748
|
+
line-height: 1.6;
|
|
749
|
+
color: ${e=>e.theme.colors.gray800};
|
|
750
|
+
${e.tdDown} {
|
|
751
|
+
padding: 0;
|
|
752
|
+
}
|
|
753
|
+
`,ft=t.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.tdDown} {
|
|
766
|
+
height: unset;
|
|
767
|
+
padding: 0;
|
|
768
|
+
}
|
|
769
|
+
`,yt="hhgcomp-navigation-menucareitem-contentwrapper",_t=o(t.div`
|
|
770
|
+
display: flex;
|
|
771
|
+
flex-direction: column;
|
|
772
|
+
gap: 8px;
|
|
773
|
+
flex: 1;
|
|
774
|
+
z-index: 1;
|
|
775
|
+
${e.tdDown} {
|
|
776
|
+
gap: 4px;
|
|
777
|
+
}
|
|
778
|
+
`,yt),vt=t.a`
|
|
779
|
+
text-decoration: none;
|
|
780
|
+
border-radius: 4px;
|
|
781
|
+
background: ${i.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.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.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
|
+
> .${yt} {
|
|
811
|
+
flex: 1;
|
|
812
|
+
}
|
|
813
|
+
img {
|
|
814
|
+
width: 150px;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
${e.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.tdOnly} {
|
|
827
|
+
border: 1px solid ${i.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
|
+
`;t.div`
|
|
839
|
+
&[data-category-list-type='sub'] {
|
|
840
|
+
padding-bottom: 72px;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
&[data-is-displayed='false'] {
|
|
844
|
+
display: none;
|
|
845
|
+
}
|
|
846
|
+
`,t.div`
|
|
847
|
+
& > div {
|
|
848
|
+
width: 100%;
|
|
849
|
+
margin-bottom: 8px;
|
|
850
|
+
}
|
|
851
|
+
`;const wt=t.div`
|
|
852
|
+
display: grid;
|
|
853
|
+
|
|
854
|
+
grid-template-columns: repeat(4, 1fr);
|
|
855
|
+
gap: 24px;
|
|
856
|
+
${e.tdDown} {
|
|
857
|
+
gap: 12px;
|
|
858
|
+
grid-template-columns: 1fr;
|
|
859
|
+
}
|
|
860
|
+
`,Et=t.a`
|
|
861
|
+
width: 100%;
|
|
862
|
+
display: flex;
|
|
863
|
+
align-items: center;
|
|
864
|
+
text-decoration: none;
|
|
865
|
+
* {
|
|
866
|
+
pointer-events: none;
|
|
867
|
+
}
|
|
868
|
+
`,Tt=t.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.tdDown} {
|
|
886
|
+
width: 72px;
|
|
887
|
+
padding-top: 100px;
|
|
888
|
+
}
|
|
889
|
+
`,Ot=t.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.tdUp} {
|
|
897
|
+
display: none;
|
|
898
|
+
}
|
|
899
|
+
`;t.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
|
+
`,t.div`
|
|
916
|
+
& > div {
|
|
917
|
+
width: 100%;
|
|
918
|
+
margin-bottom: 8px;
|
|
919
|
+
}
|
|
920
|
+
`;const At=t.div`
|
|
921
|
+
display: grid;
|
|
922
|
+
grid-template-columns: repeat(2, 1fr);
|
|
923
|
+
grid-gap: 48px;
|
|
924
|
+
${e.tdDown} {
|
|
925
|
+
grid-template-columns: 1fr;
|
|
926
|
+
grid-gap: 32px;
|
|
927
|
+
}
|
|
928
|
+
${e.mbDown} {
|
|
929
|
+
grid-gap: 24px;
|
|
930
|
+
}
|
|
931
|
+
`,It=t.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
|
+
`,Lt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:n,size:p}=e,c=h(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:m}}}=d(Ie),g="boolean"==typeof i?i:m,[u,b]=l(!1);return s((()=>{const e=new Image;e.onerror=()=>{b(!0)},e.src=r}),[]),a.createElement(It,Object.assign({"data-is-marrybaby":g,className:t,style:o,size:p},c),r&&!u?a.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{b(!0)}}):a.createElement("div",{className:"avatar avatar-default"},n&&(null==n?void 0:n.length)>0?n[0].toUpperCase():"A"))},$t=t.div`
|
|
965
|
+
padding: 5px;
|
|
966
|
+
flex: 1;
|
|
967
|
+
`,St=t.img`
|
|
968
|
+
width: 88px;
|
|
969
|
+
height: 88px;
|
|
970
|
+
border-radius: 4px;
|
|
971
|
+
object-fit: cover;
|
|
972
|
+
`,kt=t.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
|
+
`,Rt=t.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
|
+
`,Dt=t.div`
|
|
991
|
+
font-size: 12px;
|
|
992
|
+
font-weight: 400;
|
|
993
|
+
color: ${e=>e.theme.colors.gray600};
|
|
994
|
+
`,Pt=t.div`
|
|
995
|
+
font-size: 12px;
|
|
996
|
+
font-weight: 400;
|
|
997
|
+
color: ${e=>e.theme.colors.gray600};
|
|
998
|
+
`,Ct=t.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.tdOnly} {
|
|
1012
|
+
bottom: -16px;
|
|
1013
|
+
}
|
|
1014
|
+
${e.mbDown} {
|
|
1015
|
+
bottom: -12px;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
&:last-child {
|
|
1019
|
+
&::after {
|
|
1020
|
+
display: none;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
${e.tdUp} {
|
|
1024
|
+
&:nth-last-child(2) {
|
|
1025
|
+
&::after {
|
|
1026
|
+
display: none;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
`,Nt=t.div`
|
|
1031
|
+
display: flex;
|
|
1032
|
+
gap: 10px;
|
|
1033
|
+
vertical-align: middle;
|
|
1034
|
+
align-items: center;
|
|
1035
|
+
`,Bt=t.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
|
+
`,Ut=t.div`
|
|
1048
|
+
display: flex;
|
|
1049
|
+
flex-wrap: wrap;
|
|
1050
|
+
align-items: center;
|
|
1051
|
+
column-gap: 5px;
|
|
1052
|
+
`,Gt=t.div`
|
|
1053
|
+
display: flex;
|
|
1054
|
+
gap: 4px;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
`;A.extend(I);const Mt=({post:e,index:t=0})=>{var i,o,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Xe);if(!e)return null;const g=[m.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,b=u?isNaN(new Date(u).getTime())?null:new Date(u):null,x=b?A(b).toNow(!0):u;return a.createElement(Ct,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement($t,null,a.createElement(Nt,null,a.createElement(Lt,{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===(n=e.author)||void 0===n?void 0:n.username)}),a.createElement(Gt,null,a.createElement(kt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(Ut,null,a.createElement(Rt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":c},null===(s=e.community)||void 0===s?void 0:s.name),a.createElement(Pt,null,"•"),a.createElement(Dt,{"data-theme":c},x)))),a.createElement(Bt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(St,{loading:"lazy",src:e.photos[0]}))};t.div`
|
|
1057
|
+
&[data-is-display='false'] {
|
|
1058
|
+
display: none;
|
|
1059
|
+
}
|
|
1060
|
+
`;const Ht=t.div`
|
|
1061
|
+
display: grid;
|
|
1062
|
+
|
|
1063
|
+
grid-template-columns: repeat(3, 1fr);
|
|
1064
|
+
gap: 24px;
|
|
1065
|
+
${e.tdDown} {
|
|
1066
|
+
grid-template-columns: 1fr;
|
|
1067
|
+
gap: 12px;
|
|
1068
|
+
}
|
|
1069
|
+
`,zt=t.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.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.tdDown} {
|
|
1096
|
+
padding-top: 16px;
|
|
1097
|
+
display: flex;
|
|
1098
|
+
align-items: center;
|
|
1099
|
+
}
|
|
1100
|
+
`,jt=t.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.tdDown} {
|
|
1119
|
+
position: relative;
|
|
1120
|
+
top: unset;
|
|
1121
|
+
right: unset;
|
|
1122
|
+
}
|
|
1123
|
+
`,Ft=t.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
|
+
`,Vt=t.p`
|
|
1131
|
+
font-size: 16px;
|
|
1132
|
+
font-weight: 600;
|
|
1133
|
+
line-height: 1.4;
|
|
1134
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1135
|
+
`,Yt=t.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.tdDown} {
|
|
1148
|
+
display: none;
|
|
1149
|
+
}
|
|
1150
|
+
`,Kt=t.div`
|
|
1151
|
+
display: flex;
|
|
1152
|
+
flex-direction: column;
|
|
1153
|
+
flex: 1;
|
|
1154
|
+
z-index: 1;
|
|
1155
|
+
${e.tdUp} {
|
|
1156
|
+
gap: 8px;
|
|
1157
|
+
}
|
|
1158
|
+
${e.tdDown} {
|
|
1159
|
+
gap: 4px;
|
|
1160
|
+
flex: 1;
|
|
1161
|
+
}
|
|
1162
|
+
`,Wt=t.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.tdDown} {
|
|
1212
|
+
padding-top: 16px;
|
|
1213
|
+
display: flex;
|
|
1214
|
+
align-items: flex-start;
|
|
1215
|
+
justify-content: flex-start;
|
|
1216
|
+
}
|
|
1217
|
+
${e.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.tdUp} {
|
|
1230
|
+
min-height: 296px;
|
|
1231
|
+
}
|
|
1232
|
+
.mobile-only {
|
|
1233
|
+
${e.tdUp} {
|
|
1234
|
+
display: none;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
.desktop-only {
|
|
1238
|
+
${e.tdDown} {
|
|
1239
|
+
display: none;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
`,Xt=t.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.tdDown} {
|
|
1261
|
+
position: relative;
|
|
1262
|
+
top: unset;
|
|
1263
|
+
right: unset;
|
|
1264
|
+
}
|
|
1265
|
+
${e.mbDown} {
|
|
1266
|
+
position: absolute;
|
|
1267
|
+
left: 32px;
|
|
1268
|
+
top: 28px;
|
|
1269
|
+
}
|
|
1270
|
+
`,qt=t.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.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
|
+
`,Zt=t.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
|
+
`,Jt=t.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.tdDown} {
|
|
1314
|
+
display: none;
|
|
1315
|
+
}
|
|
1316
|
+
`,Qt=t.div`
|
|
1317
|
+
display: flex;
|
|
1318
|
+
flex: 1;
|
|
1319
|
+
z-index: 1;
|
|
1320
|
+
align-items: flex-end;
|
|
1321
|
+
justify-content: flex-end;
|
|
1322
|
+
${e.tdUp} {
|
|
1323
|
+
gap: 8px;
|
|
1324
|
+
flex-direction: row;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
${e.tdDown} {
|
|
1328
|
+
align-items: flex-start;
|
|
1329
|
+
justify-content: flex-start;
|
|
1330
|
+
gap: 4px;
|
|
1331
|
+
}
|
|
1332
|
+
`,ei=t.div`
|
|
1333
|
+
display: flex;
|
|
1334
|
+
flex-direction: column;
|
|
1335
|
+
flex: 1;
|
|
1336
|
+
z-index: 1;
|
|
1337
|
+
${e.tdUp} {
|
|
1338
|
+
gap: 8px;
|
|
1339
|
+
}
|
|
1340
|
+
${e.tdDown} {
|
|
1341
|
+
gap: 4px;
|
|
1342
|
+
flex: 1;
|
|
1343
|
+
padding-left: 16px;
|
|
1344
|
+
}
|
|
1345
|
+
`,ti=t.div`
|
|
1346
|
+
display: flex;
|
|
1347
|
+
flex-direction: row;
|
|
1348
|
+
flex: 1;
|
|
1349
|
+
z-index: 1;
|
|
1350
|
+
${e.tdUp} {
|
|
1351
|
+
gap: 8px;
|
|
1352
|
+
justify-content: flex-end;
|
|
1353
|
+
align-items: flex-end;
|
|
1354
|
+
}
|
|
1355
|
+
${e.tdDown} {
|
|
1356
|
+
flex-direction: column;
|
|
1357
|
+
justify-content: flex-start;
|
|
1358
|
+
align-items: flex-start;
|
|
1359
|
+
}
|
|
1360
|
+
`,ii=t.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
|
+
`;t.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
|
+
`,t.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
|
+
`,t.div`
|
|
1421
|
+
margin-top: 64px;
|
|
1422
|
+
`,t.div`
|
|
1423
|
+
padding: 24px 0;
|
|
1424
|
+
`,t.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
|
+
`,t.div`
|
|
1434
|
+
z-index: ${le};
|
|
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
|
+
`,t.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
|
+
`,t.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
|
+
`,t.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
|
+
`,t.div`
|
|
1487
|
+
display: none;
|
|
1488
|
+
`,t.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
|
+
`,t.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
|
+
`,t.div`
|
|
1525
|
+
display: flex;
|
|
1526
|
+
align-items: center;
|
|
1527
|
+
|
|
1528
|
+
margin-left: 10px;
|
|
1529
|
+
`,t.div`
|
|
1530
|
+
position: absolute;
|
|
1531
|
+
top: 16px;
|
|
1532
|
+
right: 0;
|
|
1533
|
+
display: flex;
|
|
1534
|
+
align-items: center;
|
|
1535
|
+
cursor: pointer;
|
|
1536
|
+
`,t.div`
|
|
1537
|
+
display: block;
|
|
1538
|
+
`,t.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
|
+
`,t.div`
|
|
1619
|
+
width: 20%;
|
|
1620
|
+
height: 2px;
|
|
1621
|
+
|
|
1622
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1623
|
+
border-radius: 2px;
|
|
1624
|
+
`;const oi=t.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
|
+
`,ai=t.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
|
+
`,ri=t.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.mbUp} {
|
|
1670
|
+
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1671
|
+
transform: translateY(-64px);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
${e.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: ${ae};
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
&[data-header-type='popup'] {
|
|
1706
|
+
position: absolute;
|
|
1707
|
+
z-index: ${re};
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
&[data-header-type='popup-sub-level'] {
|
|
1711
|
+
position: absolute;
|
|
1712
|
+
z-index: ${ne};
|
|
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
|
+
`,ni=t.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.pcDown} {
|
|
1744
|
+
padding: 0 1rem;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
${e.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.tdUp} {
|
|
1759
|
+
max-width: 1064px;
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
`,li=t.div`
|
|
1763
|
+
display: flex;
|
|
1764
|
+
align-items: center;
|
|
1765
|
+
height: 100%;
|
|
1766
|
+
gap: 24px;
|
|
1767
|
+
${e.pcDown} {
|
|
1768
|
+
gap: 16px;
|
|
1769
|
+
}
|
|
1770
|
+
&[data-site-type='marryBaby'] {
|
|
1771
|
+
gap: 26px;
|
|
1772
|
+
}
|
|
1773
|
+
`,si=t.div``,pi=t.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.pcUp} {
|
|
1781
|
+
padding: 0 12px;
|
|
1782
|
+
}
|
|
1783
|
+
${e.pcDown} {
|
|
1784
|
+
padding: 0 6px;
|
|
1785
|
+
}
|
|
1786
|
+
${e.mbDown} {
|
|
1787
|
+
display: none;
|
|
1788
|
+
}
|
|
1789
|
+
a {
|
|
1790
|
+
text-decoration: none;
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
&[data-site-type='marryBaby'] {
|
|
1794
|
+
gap: 26px;
|
|
1795
|
+
}
|
|
1796
|
+
`;t.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 di=t.div`
|
|
1806
|
+
margin-left: 16px;
|
|
1807
|
+
display: flex;
|
|
1808
|
+
gap: 12px;
|
|
1809
|
+
align-items: center;
|
|
1810
|
+
flex-shrink: 0;
|
|
1811
|
+
${e.pcDown} {
|
|
1812
|
+
margin-left: 8px;
|
|
1813
|
+
gap: 8px;
|
|
1814
|
+
}
|
|
1815
|
+
${e.mbDown} {
|
|
1816
|
+
margin-left: 12px;
|
|
1817
|
+
gap: 10px;
|
|
1818
|
+
}
|
|
1819
|
+
`,ci=t.div`
|
|
1820
|
+
display: flex;
|
|
1821
|
+
align-items: center;
|
|
1822
|
+
height: 100%;
|
|
1823
|
+
&[data-site-type='marryBaby'] {
|
|
1824
|
+
gap: 26px;
|
|
1825
|
+
}
|
|
1826
|
+
`,mi=t.div`
|
|
1827
|
+
--header-z-index: 305;
|
|
1828
|
+
top: 0;
|
|
1829
|
+
z-index: var(--header-z-index);
|
|
1830
|
+
|
|
1831
|
+
${e.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
|
+
`;t.div`
|
|
1852
|
+
display: flex;
|
|
1853
|
+
align-items: center;
|
|
1854
|
+
gap: 8px;
|
|
1855
|
+
`,t.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
|
+
`;export{Mt as $,pt as A,st as B,lt as C,Ae as D,nt as E,dt as F,Le as G,D as H,ct as I,mt as J,vt as K,ht as L,ut as M,ge as N,_t as O,xt as P,ft as Q,bt as R,j as S,Ie as T,Lt as U,gt as V,Et as W,Tt as X,Ot as Y,wt as Z,At as _,$e as a,zt as a0,Kt as a1,Vt as a2,Yt as a3,Ft as a4,jt as a5,Wt as a6,Qt as a7,Xt as a8,ti as a9,Ce as aA,Ue as aB,Ee as aC,Se as aD,We as aE,Ke as aF,Be as aG,Te as aH,Oe as aI,je as aJ,ze as aK,G as aL,k as aM,U as aN,He as aO,ei as aa,Zt as ab,Jt as ac,qt as ad,Ht as ae,ii as af,oi as ag,ai as ah,ri as ai,ni as aj,li as ak,si as al,pi as am,di as an,ci as ao,qe as ap,mi as aq,B as ar,L as as,$ as at,C as au,Ve as av,Me as aw,Ne as ax,we as ay,R as az,S as b,H as c,F as d,V as e,Y as f,K as g,z as h,W as i,X as j,q as k,oe as l,J as m,te as n,ie as o,ee as p,Xe as q,Ze as r,Je as s,et as t,Qe as u,tt as v,at as w,it as x,ot as y,rt as z};
|