@hhgtech/hhg-components 1.26.72 → 1.26.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +2 -1
- package/build/components/organisms/userProfileNavigation/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-f2290bae.js → core-58abe73a.js} +1 -1
- package/build/{dataTransform-4dc2ef89.js → dataTransform-cc89d72d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-2c4f432e.js → core-78831e26.js} +1 -1
- package/build/esm/{dataTransform-d6d643be.js → dataTransform-1c8ff733.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-630f4d11.js → fixedBottomAdBlock-2289f247.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-9c356b81.js → getDynamicHealthTool-90793ba5.js} +1 -1
- package/build/esm/{getSocialList-27d6762d.js → getSocialList-e9cd6d91.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-d0741215.js → index-00052e33.js} +1 -1
- package/build/esm/{index-7cd246bb.js → index-09c71638.js} +1 -1
- package/build/esm/index-0a507ebb.js +1 -0
- package/build/esm/index-18ad34a3.js +1 -0
- package/build/esm/{index-d1555dc1.js → index-1da35a24.js} +1 -1
- package/build/esm/{index-8c68a756.js → index-2322501a.js} +1 -1
- package/build/esm/{index-d95c24fc.js → index-27dac1d2.js} +1 -1
- package/build/esm/index-29a7b961.js +1 -0
- package/build/esm/{index-86597bde.js → index-379e2e04.js} +1 -1
- package/build/esm/{index-f6547880.js → index-427d9690.js} +1 -1
- package/build/esm/{index-7451032f.js → index-4306c019.js} +1 -1
- package/build/esm/{index-975cc084.js → index-5124a84f.js} +1 -1
- package/build/esm/{index-2c842ec3.js → index-660c9993.js} +1 -1
- package/build/esm/{index-d85021ef.js → index-6bf13551.js} +1 -1
- package/build/esm/{index-0f881ff8.js → index-993bfe79.js} +1 -1
- package/build/esm/{index-9ccaedf2.js → index-b55a48f3.js} +1 -1
- package/build/esm/{index-05689bfa.js → index-bd6fff6a.js} +1 -1
- package/build/esm/{index-37cc5312.js → index-cac42c1a.js} +1 -1
- package/build/esm/{index-0ff81577.js → index-d26ba6c1.js} +1 -1
- package/build/esm/{index-3ea52041.js → index-d91f335c.js} +1 -1
- package/build/esm/{index-7cc09008.js → index-e1fabe21.js} +1 -1
- package/build/esm/{index-888a8c85.js → index-e2b6628b.js} +1 -1
- package/build/esm/{index-304ed4bd.js → index-e9eccfd1.js} +1 -1
- package/build/esm/index-ee79c397.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-1dc3b508.js → index.styled-07189132.js} +1 -1
- package/build/esm/{index.styled-bfdcf22f.js → index.styled-4e66a7ef.js} +1 -1
- package/build/esm/{index.styled-10cf8d02.js → index.styled-814e4704.js} +1 -1
- package/build/esm/{index.styled-80007fd1.js → index.styled-ddf38d67.js} +895 -895
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-45131a3b.js → routing-49b02ef4.js} +1 -1
- package/build/esm/{screenSizeContext-5e5d0123.js → screenSizeContext-4ba69e1d.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-ac1446f5.js → translationsProvider-9f4f07c7.js} +1 -1
- package/build/esm/{types-24241e21.js → types-5dd64b84.js} +20 -20
- package/build/esm/{types-1ef7c507.js → types-cbc770f2.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-5e949049.js +1 -0
- package/build/esm/{useRafState-76146925.js → useRafState-a821a326.js} +1 -1
- package/build/esm/useTranslations-5d864a21.js +1 -0
- package/build/esm/{utils-bd4b67f0.js → utils-811a83e5.js} +6 -6
- package/build/esm/vaccination.js +5 -5
- package/build/{fixedBottomAdBlock-5fbf9ed4.js → fixedBottomAdBlock-b0496596.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-289782b2.js → getDynamicHealthTool-3940077b.js} +1 -1
- package/build/{getSocialList-d6c2f2a4.js → getSocialList-9db8b91d.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-683c4b83.js → index-1ee1be98.js} +1 -1
- package/build/{index-d027da7a.js → index-2927bfec.js} +1 -1
- package/build/{index-29efdf60.js → index-3cf07d72.js} +1 -1
- package/build/{index-7f0d9ca1.js → index-3d9e18ef.js} +1 -1
- package/build/{index-526578e8.js → index-5067e711.js} +1 -1
- package/build/{index-0722e9d8.js → index-5be31d81.js} +1 -1
- package/build/{index-2825e9d8.js → index-6817b5d7.js} +1 -1
- package/build/{index-42002f72.js → index-6cf880e2.js} +1 -1
- package/build/{index-24038e25.js → index-7609dab9.js} +1 -1
- package/build/index-7d4a45a0.js +1 -0
- package/build/{index-2b1ada31.js → index-84241083.js} +1 -1
- package/build/{index-d9db62de.js → index-901a6560.js} +1 -1
- package/build/{index-0ba8a2b7.js → index-90898016.js} +1 -1
- package/build/{index-7c8b0fcc.js → index-985b6ac6.js} +1 -1
- package/build/{index-d4c8f44b.js → index-b2a58c46.js} +1 -1
- package/build/{index-c96d0d95.js → index-b44ec8c0.js} +1 -1
- package/build/{index-9c3ce2fe.js → index-baa581f9.js} +1 -1
- package/build/{index-09a6ee06.js → index-bf6f99ad.js} +1 -1
- package/build/{index-271fb6de.js → index-c859c654.js} +1 -1
- package/build/{index-9cac33e2.js → index-da41cb71.js} +1 -1
- package/build/{index-7500060a.js → index-df593bbc.js} +1 -1
- package/build/index-e7cd9b61.js +1 -0
- package/build/{index-fe57d4f1.js → index-f5c74425.js} +1 -1
- package/build/{index-31e7ff02.js → index-f9f1c50a.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-8a8844ed.js → index.styled-27887426.js} +578 -578
- package/build/{index.styled-6d6d7f33.js → index.styled-5e35b4ce.js} +1 -1
- package/build/{index.styled-5bde129f.js → index.styled-75d8a80f.js} +1 -1
- package/build/{index.styled-88f4bea2.js → index.styled-f5149bf5.js} +5 -5
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-8a73d03a.js → routing-b871530b.js} +1 -1
- package/build/{screenSizeContext-ce7b5526.js → screenSizeContext-798a1742.js} +10 -10
- package/build/together.js +1 -1
- package/build/{translationsProvider-71dd3db9.js → translationsProvider-dc53208d.js} +1 -1
- package/build/{types-137bea6b.js → types-352a87c0.js} +1 -1
- package/build/{types-c3db478f.js → types-da15ca5e.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-eacc0d4b.js +1 -0
- package/build/{useRafState-760f35a7.js → useRafState-d2093ab3.js} +1 -1
- package/build/useTranslations-f990381a.js +1 -0
- package/build/{utils-6214af18.js → utils-e21fba9c.js} +12 -12
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/index-0db8d720.js +0 -1
- package/build/esm/index-59f3b7f9.js +0 -1
- package/build/esm/index-95c8fe61.js +0 -1
- package/build/esm/index-fcf890bf.js +0 -1
- package/build/esm/useHealthToolCache-a70866cb.js +0 -1
- package/build/esm/useTranslations-d94528d2.js +0 -1
- package/build/index-4bad4d21.js +0 -1
- package/build/index-80805812.js +0 -1
- package/build/useHealthToolCache-6950e887.js +0 -1
- package/build/useTranslations-3ac0be98.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-eb730816.js → BMI_BOYS.percentile.monthly-6916b482.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-136658df.js → BMI_BOYS.percentile.weekly-264f0d68.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-04bd0803.js → BMI_BOYS.percentile.yearly-09dd1a3b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6a134fba.js → BMI_BOYS.zscore.monthly-b37c78c6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-019cdd59.js → BMI_BOYS.zscore.weekly-ca9e3e33.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fe3c031d.js → BMI_BOYS.zscore.yearly-71ddc992.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-fa53cf3a.js → BMI_GIRLS.percentile.monthly-6d9a39d4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-1e37aad6.js → BMI_GIRLS.percentile.weekly-43cf5db5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-275e5ffd.js → BMI_GIRLS.percentile.yearly-17088c48.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-839b4536.js → BMI_GIRLS.zscore.monthly-e9fa0275.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d2077230.js → BMI_GIRLS.zscore.weekly-2157e7a1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-198e7811.js → BMI_GIRLS.zscore.yearly-c60a101a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ca5aa1ff.js → HEAD CIRCUM_BOYS.percentile.monthly-691894e7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c9b0265d.js → HEAD CIRCUM_BOYS.percentile.weekly-453777e8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8cfbc76d.js → HEAD CIRCUM_BOYS.percentile.yearly-0a5c8410.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6aac4f6e.js → HEAD CIRCUM_BOYS.zscore.monthly-e9a0e8e1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-dabea76e.js → HEAD CIRCUM_BOYS.zscore.weekly-1b7a4110.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-1dec9f3f.js → HEAD CIRCUM_BOYS.zscore.yearly-2a9854b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-adef5678.js → HEAD CIRCUM_GIRLS.percentile.monthly-af105b74.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-302fae85.js → HEAD CIRCUM_GIRLS.percentile.weekly-1fa12191.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ff934694.js → HEAD CIRCUM_GIRLS.percentile.yearly-40d63fb5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0c12be39.js → HEAD CIRCUM_GIRLS.zscore.monthly-7d8fdde8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-392c2ea1.js → HEAD CIRCUM_GIRLS.zscore.weekly-91fff26c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-a58d6153.js → HEAD CIRCUM_GIRLS.zscore.yearly-4f42f764.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8a935d79.js → HEIGHT_BOYS.percentile.monthly-70b3da74.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0d50e619.js → HEIGHT_BOYS.percentile.weekly-65ca22d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f843e9f4.js → HEIGHT_BOYS.percentile.yearly-00c27f61.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1dbf725e.js → HEIGHT_BOYS.zscore.monthly-d649a610.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0dcadc02.js → HEIGHT_BOYS.zscore.weekly-36a74af3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-75d81f29.js → HEIGHT_BOYS.zscore.yearly-7cd6e870.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1a6c31a4.js → HEIGHT_GIRLS.percentile.monthly-1dd23262.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-07bb1bc8.js → HEIGHT_GIRLS.percentile.weekly-ddb979a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-43b54cbb.js → HEIGHT_GIRLS.percentile.yearly-8c84cd63.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-55854581.js → HEIGHT_GIRLS.zscore.monthly-4e247985.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c1120e9e.js → HEIGHT_GIRLS.zscore.weekly-5c495557.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-5845dc1c.js → HEIGHT_GIRLS.zscore.yearly-c8642134.js} +0 -0
- /package/build/{Onboarding-1a0c402b.js → Onboarding-e7188dcb.js} +0 -0
- /package/build/{Visible-af7c990a.js → Visible-df340d91.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-4b68e5c4.js → WEIGHT_BOYS.percentile.monthly-6c814cc3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-f40c785f.js → WEIGHT_BOYS.percentile.weekly-cb49479e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9429f46b.js → WEIGHT_BOYS.percentile.yearly-310ec306.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2be49e4b.js → WEIGHT_BOYS.zscore.monthly-4de3ae44.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-a787e17d.js → WEIGHT_BOYS.zscore.weekly-53abb5f4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-73760835.js → WEIGHT_BOYS.zscore.yearly-c8117291.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-28a3ed19.js → WEIGHT_GIRLS.percentile.monthly-db9a7315.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2da5a673.js → WEIGHT_GIRLS.percentile.weekly-acc04e6d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-526c6555.js → WEIGHT_GIRLS.percentile.yearly-ea22f915.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d203f592.js → WEIGHT_GIRLS.zscore.monthly-eb0d4641.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-54baae3a.js → WEIGHT_GIRLS.zscore.weekly-13d8d9df.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7492a6eb.js → WEIGHT_GIRLS.zscore.yearly-d0c19464.js} +0 -0
- /package/build/{constants-c1bb6c37.js → constants-c87791c7.js} +0 -0
- /package/build/{cookieHelper-fae4c3ab.js → cookieHelper-d25da3c5.js} +0 -0
- /package/build/{dataTransform-90528b92.js → dataTransform-458eddd0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-b1c9a337.js → BMI_BOYS.percentile.monthly-5d0bddcf.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ef9ffb41.js → BMI_BOYS.percentile.weekly-f3768602.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-663a4625.js → BMI_BOYS.percentile.yearly-ec0eb767.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-1a243668.js → BMI_BOYS.zscore.monthly-ae6d907e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b78c8119.js → BMI_BOYS.zscore.weekly-acc97bac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-82defbe5.js → BMI_BOYS.zscore.yearly-2a460c01.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-35ee5f8c.js → BMI_GIRLS.percentile.monthly-cbdb3a1c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ef6d8182.js → BMI_GIRLS.percentile.weekly-38e052d0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-81adeca3.js → BMI_GIRLS.percentile.yearly-5c5c1bad.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a7d7f8f9.js → BMI_GIRLS.zscore.monthly-e25a44b5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-adbbe831.js → BMI_GIRLS.zscore.weekly-993f2899.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-266d400e.js → BMI_GIRLS.zscore.yearly-20d1a9dc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ac879655.js → HEAD CIRCUM_BOYS.percentile.monthly-c5bde274.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-55f722f7.js → HEAD CIRCUM_BOYS.percentile.weekly-610472b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-fdbffe80.js → HEAD CIRCUM_BOYS.percentile.yearly-d47e72d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-964a9a1a.js → HEAD CIRCUM_BOYS.zscore.monthly-bab70ead.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2f73a249.js → HEAD CIRCUM_BOYS.zscore.weekly-28966364.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-cf313940.js → HEAD CIRCUM_BOYS.zscore.yearly-f8309fbe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a72942aa.js → HEAD CIRCUM_GIRLS.percentile.monthly-9281136e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a76b477d.js → HEAD CIRCUM_GIRLS.percentile.weekly-148204af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-732bd623.js → HEAD CIRCUM_GIRLS.percentile.yearly-86c5d692.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-ea8dcd62.js → HEAD CIRCUM_GIRLS.zscore.monthly-729ddc97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-7bef1d39.js → HEAD CIRCUM_GIRLS.zscore.weekly-3379f18a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6d7de754.js → HEAD CIRCUM_GIRLS.zscore.yearly-f221d72b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-b47cd371.js → HEIGHT_BOYS.percentile.monthly-eb822352.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0ed37000.js → HEIGHT_BOYS.percentile.weekly-9e74f38c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-48578ae9.js → HEIGHT_BOYS.percentile.yearly-e0cb3a7b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2819fcca.js → HEIGHT_BOYS.zscore.monthly-2c7b0871.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3d07f66a.js → HEIGHT_BOYS.zscore.weekly-4a75f327.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d79251eb.js → HEIGHT_BOYS.zscore.yearly-c76f10ca.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-9fad1c43.js → HEIGHT_GIRLS.percentile.monthly-c25d995b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4c6b3e94.js → HEIGHT_GIRLS.percentile.weekly-e6bd4f33.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-680faab5.js → HEIGHT_GIRLS.percentile.yearly-67f48304.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-52f433ef.js → HEIGHT_GIRLS.zscore.monthly-ec105b30.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-67aeda1e.js → HEIGHT_GIRLS.zscore.weekly-b49f0d7d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-00d9b24a.js → HEIGHT_GIRLS.zscore.yearly-438b631d.js} +0 -0
- /package/build/esm/{Onboarding-ba4d9f7d.js → Onboarding-a1460ceb.js} +0 -0
- /package/build/esm/{Visible-05c7a53c.js → Visible-37ab6fd3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c532b124.js → WEIGHT_BOYS.percentile.monthly-538a29c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c3a6762a.js → WEIGHT_BOYS.percentile.weekly-014e3915.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b3a5ba0f.js → WEIGHT_BOYS.percentile.yearly-1f33478e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4f95d7c0.js → WEIGHT_BOYS.zscore.monthly-0e18e4fe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a9969da1.js → WEIGHT_BOYS.zscore.weekly-9875ecf1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0253943d.js → WEIGHT_BOYS.zscore.yearly-6e4df37c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a0b452d7.js → WEIGHT_GIRLS.percentile.monthly-40116841.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fe5a67d2.js → WEIGHT_GIRLS.percentile.weekly-1d424134.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-91ac5af5.js → WEIGHT_GIRLS.percentile.yearly-b37b43b7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-54c7985c.js → WEIGHT_GIRLS.zscore.monthly-1c4c6c9b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f74f1dde.js → WEIGHT_GIRLS.zscore.weekly-64abc976.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0122e36d.js → WEIGHT_GIRLS.zscore.yearly-d58502fd.js} +0 -0
- /package/build/esm/{constants-66785a0d.js → constants-965e16a3.js} +0 -0
- /package/build/esm/{cookieHelper-b0c2d79d.js → cookieHelper-151dc631.js} +0 -0
- /package/build/esm/{dataTransform-8fda6144.js → dataTransform-c065a17c.js} +0 -0
- /package/build/esm/{index-3f4d179e.js → index-31a0ce7b.js} +0 -0
- /package/build/esm/{index-62a8c2ae.js → index-b7d9e0da.js} +0 -0
- /package/build/esm/{isProduction-6b8d96da.js → isProduction-60318bee.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d5cf2bac.js → localizeNumberFormat-9a783e7f.js} +0 -0
- /package/build/esm/{normalizeLink-20327b63.js → normalizeLink-39d11b46.js} +0 -0
- /package/build/esm/{theme-b1848d17.js → theme-23115d69.js} +0 -0
- /package/build/esm/{translationsContext-6f73141d.js → translationsContext-aae526a6.js} +0 -0
- /package/build/esm/{tslib.es6-ca7f623e.js → tslib.es6-c7baa758.js} +0 -0
- /package/build/esm/{types-74e0aec4.js → types-7d094668.js} +0 -0
- /package/build/esm/{useIsInit-775d982b.js → useIsInit-290802ea.js} +0 -0
- /package/build/esm/{useOutsideClick-98eeee8f.js → useOutsideClick-5baed9d0.js} +0 -0
- /package/build/esm/{useScrollbarSize-e16383ec.js → useScrollbarSize-22d0f96f.js} +0 -0
- /package/build/esm/{useUniqueId-f4df090c.js → useUniqueId-8a9b3aad.js} +0 -0
- /package/build/esm/{utils-7254bcc5.js → utils-65cc3684.js} +0 -0
- /package/build/{index-63c25685.js → index-0433c750.js} +0 -0
- /package/build/{index-ef383be5.js → index-43516e52.js} +0 -0
- /package/build/{isProduction-a301bcb6.js → isProduction-8f53dcb4.js} +0 -0
- /package/build/{localizeNumberFormat-bfcb51db.js → localizeNumberFormat-615b2b85.js} +0 -0
- /package/build/{normalizeLink-5e84b562.js → normalizeLink-1c4f8b11.js} +0 -0
- /package/build/{theme-5e8aff1a.js → theme-b5db0b22.js} +0 -0
- /package/build/{translationsContext-3be7d163.js → translationsContext-2a1ab5b6.js} +0 -0
- /package/build/{tslib.es6-bf843b8b.js → tslib.es6-aef534e9.js} +0 -0
- /package/build/{types-0f4f0661.js → types-a08a20bc.js} +0 -0
- /package/build/{useIsInit-12f98993.js → useIsInit-2d0e5bc8.js} +0 -0
- /package/build/{useOutsideClick-55226c63.js → useOutsideClick-e4fe3d79.js} +0 -0
- /package/build/{useScrollbarSize-6e972389.js → useScrollbarSize-297c6a00.js} +0 -0
- /package/build/{useUniqueId-cb8ce8be.js → useUniqueId-92cea548.js} +0 -0
- /package/build/{utils-9694cef6.js → utils-51f2cd64.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as e}from"./utils-
|
|
1
|
+
import{M as e}from"./utils-65cc3684.js";import t from"styled-components";import{t as i}from"./theme-23115d69.js";import{C as o}from"./index.styled-814e4704.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-5d864a21.js";import{CommonGAssets as m}from"./gAssets.js";import{a as g,_ as h}from"./tslib.es6-c7baa758.js";import{C as u,a as b,T as x,E as f,d as y}from"./index-e2b6628b.js";import{g as v}from"./cookieHelper-151dc631.js";import _ from"slugify";import w from"string-format";import{i as E}from"./isProduction-60318bee.js";import{g as T,a as O,b as A,c as I}from"./routing-49b02ef4.js";import L from"dayjs";import $ from"dayjs/plugin/relativeTime";const S=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -472,267 +472,298 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,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]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.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(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.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]"===fe.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},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={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}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({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 Se={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.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($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Re={"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"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;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.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=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),je=(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},ze(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})),Fe=(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=Ee.parse(o||""),d=p[B]||v(B);if(!d||!d.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(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 je(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}),je(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})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(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})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(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 Ke(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 We=(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}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[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="marryBaby"!==o&&f.includes(e),d="ecom"===t;let c=T(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare: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:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},et=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"}))));t.div`
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
475
|
+
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,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]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.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(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.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]"===fe.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},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={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}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({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 Se={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.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($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Re={"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"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;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.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=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),je=(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},ze(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})),Fe=(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=Ee.parse(o||""),d=p[B]||v(B);if(!d||!d.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(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 je(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}),je(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})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(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})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(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 Ke(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 We=(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}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[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="marryBaby"!==o&&f.includes(e),d="ecom"===t;let c=T(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},et=t.div`
|
|
476
|
+
position: fixed;
|
|
477
|
+
z-index: 201;
|
|
478
|
+
top: calc(100% + 1px); // border 1px
|
|
479
|
+
width: 100%;
|
|
480
|
+
height: calc(100vh - var(--header-bottom));
|
|
481
|
+
overflow-x: hidden;
|
|
482
|
+
overflow-y: auto;
|
|
483
|
+
background: white;
|
|
484
|
+
display: flex;
|
|
485
|
+
flex-direction: column;
|
|
486
|
+
padding-bottom: 0;
|
|
487
|
+
left: 0;
|
|
488
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
489
|
+
position: unset;
|
|
479
490
|
}
|
|
491
|
+
`;t.div`
|
|
492
|
+
position: fixed;
|
|
493
|
+
bottom: 0;
|
|
494
|
+
left: 0;
|
|
495
|
+
display: flex;
|
|
496
|
+
width: 100%;
|
|
497
|
+
height: 72px;
|
|
498
|
+
align-items: flex-start;
|
|
499
|
+
justify-content: center;
|
|
480
500
|
|
|
481
|
-
|
|
482
|
-
|
|
501
|
+
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
502
|
+
|
|
503
|
+
.button-image {
|
|
504
|
+
stroke-color: blue;
|
|
483
505
|
}
|
|
484
506
|
|
|
485
|
-
&[data-
|
|
486
|
-
|
|
507
|
+
&[data-site-type='marryBaby'] {
|
|
508
|
+
padding: 0 16px;
|
|
509
|
+
.category-button {
|
|
510
|
+
width: 100%;
|
|
511
|
+
height: 48px;
|
|
512
|
+
}
|
|
487
513
|
}
|
|
488
|
-
|
|
489
|
-
display:
|
|
514
|
+
`,t.div`
|
|
515
|
+
display: flex;
|
|
490
516
|
|
|
491
|
-
|
|
492
|
-
|
|
517
|
+
&[data-card-array-no-margin-style='true'] {
|
|
518
|
+
margin: 8px 0;
|
|
493
519
|
|
|
494
|
-
|
|
495
|
-
|
|
520
|
+
& > div {
|
|
521
|
+
width: 0;
|
|
522
|
+
flex: 1;
|
|
523
|
+
margin: 0 -1px;
|
|
524
|
+
}
|
|
496
525
|
}
|
|
497
|
-
`,it=t.div`
|
|
498
|
-
height: 152px; // 120 + 16 * 2
|
|
499
|
-
position: absolute;
|
|
500
|
-
top: 0;
|
|
501
|
-
left: 0;
|
|
502
|
-
z-index: 3;
|
|
503
|
-
overflow: hidden;
|
|
504
|
-
border-radius: 4px;
|
|
505
|
-
padding: 16px;
|
|
506
|
-
width: 100%;
|
|
507
526
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
display: block;
|
|
516
|
-
object-fit: contain;
|
|
517
|
-
}
|
|
518
|
-
${e.tdDown} {
|
|
519
|
-
margin-bottom: 0;
|
|
520
|
-
padding: 0;
|
|
521
|
-
height: 100%;
|
|
522
|
-
position: unset;
|
|
523
|
-
width: 150px;
|
|
524
|
-
}
|
|
525
|
-
${e.mbDown} {
|
|
526
|
-
width: 80px;
|
|
527
|
+
&[data-card-array-no-margin-style='false'] {
|
|
528
|
+
margin: 8px -4px;
|
|
529
|
+
|
|
530
|
+
& > div {
|
|
531
|
+
flex: 1;
|
|
532
|
+
margin: 0 4px;
|
|
533
|
+
}
|
|
527
534
|
}
|
|
528
|
-
`,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
`,at=t.div`
|
|
535
|
+
`,t.div`
|
|
536
|
+
margin-top: 64px;
|
|
537
|
+
`,t.div`
|
|
538
|
+
padding: 24px 0;
|
|
539
|
+
`,t.div`
|
|
534
540
|
display: flex;
|
|
535
|
-
|
|
541
|
+
width: 100%;
|
|
536
542
|
align-items: center;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
${e.tdDown} {
|
|
542
|
-
display: none;
|
|
543
|
-
}
|
|
544
|
-
`,rt=t.p`
|
|
545
|
-
font-size: 16px;
|
|
546
|
-
font-weight: 600;
|
|
547
|
-
line-height: 1.6;
|
|
548
|
-
color: ${e=>e.theme.colors.gray800};
|
|
549
|
-
${e.tdDown} {
|
|
550
|
-
padding: 0;
|
|
551
|
-
}
|
|
552
|
-
`,nt=t.p`
|
|
553
|
-
font-size: 14px;
|
|
554
|
-
line-height: 1.6;
|
|
555
|
-
font-weight: 400;
|
|
556
|
-
color: ${e=>e.theme.colors.gray600};
|
|
557
|
-
height: 40px;
|
|
558
|
-
text-overflow: ellipsis;
|
|
559
|
-
overflow: hidden;
|
|
560
|
-
display: -webkit-box;
|
|
561
|
-
-webkit-line-clamp: 2;
|
|
562
|
-
-webkit-box-orient: vertical;
|
|
563
|
-
margin-bottom: auto;
|
|
564
|
-
${e.tdDown} {
|
|
565
|
-
height: unset;
|
|
566
|
-
padding: 0;
|
|
543
|
+
justify-content: center;
|
|
544
|
+
|
|
545
|
+
& > div:first-child {
|
|
546
|
+
margin-right: 8px;
|
|
567
547
|
}
|
|
568
|
-
`,
|
|
548
|
+
`,t.div`
|
|
549
|
+
z-index: ${ge};
|
|
550
|
+
align-items: center;
|
|
551
|
+
|
|
552
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
553
|
+
background-color: ${e=>e.theme.colors.white};
|
|
554
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
555
|
+
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
556
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
557
|
+
`,t.div`
|
|
558
|
+
position: relative;
|
|
569
559
|
display: flex;
|
|
570
|
-
flex-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
gap: 4px;
|
|
576
|
-
}
|
|
577
|
-
`,lt),pt=t.a`
|
|
578
|
-
text-decoration: none;
|
|
579
|
-
border-radius: 4px;
|
|
580
|
-
background: ${i.colors.white};
|
|
560
|
+
flex-wrap: wrap;
|
|
561
|
+
align-items: flex-start;
|
|
562
|
+
justify-content: flex-start;
|
|
563
|
+
padding: 48px 0;
|
|
564
|
+
`,t.div`
|
|
581
565
|
position: relative;
|
|
582
|
-
overflow: hidden;
|
|
583
|
-
padding: 16px;
|
|
584
566
|
display: flex;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
567
|
+
flex-wrap: wrap;
|
|
568
|
+
align-items: flex-start;
|
|
569
|
+
justify-content: flex-start;
|
|
570
|
+
&[data-disabled-divider='false'] {
|
|
571
|
+
border-right: 1px solid #e4e8ec;
|
|
588
572
|
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
573
|
+
`,t.div`
|
|
574
|
+
width: 20%;
|
|
575
|
+
padding-right: 16px;
|
|
576
|
+
margin-bottom: 12px;
|
|
577
|
+
|
|
578
|
+
& > a {
|
|
579
|
+
color: ${e=>e.theme.colors.gray800};
|
|
580
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
581
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
582
|
+
line-height: 22px;
|
|
598
583
|
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
gap: 10px;
|
|
606
|
-
display: grid;
|
|
607
|
-
max-height: 110px;
|
|
584
|
+
|
|
585
|
+
& > a:hover {
|
|
586
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.iconMenu {
|
|
608
590
|
display: flex;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
width:
|
|
591
|
+
align-items: center;
|
|
592
|
+
|
|
593
|
+
> .imageContainer {
|
|
594
|
+
display: flex;
|
|
595
|
+
width: 32px;
|
|
596
|
+
min-width: 32px;
|
|
597
|
+
align-items: center;
|
|
598
|
+
margin-right: 16px;
|
|
615
599
|
}
|
|
616
600
|
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
601
|
+
`,t.div`
|
|
602
|
+
display: none;
|
|
603
|
+
`,t.div`
|
|
604
|
+
width: 33%;
|
|
605
|
+
height: 48px;
|
|
606
|
+
padding-right: 16px;
|
|
607
|
+
margin-bottom: 12px;
|
|
608
|
+
|
|
609
|
+
& > a {
|
|
620
610
|
display: flex;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
611
|
+
align-items: center;
|
|
612
|
+
color: ${e=>e.theme.colors.gray800};
|
|
613
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
614
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
615
|
+
line-height: 22px;
|
|
616
|
+
|
|
617
|
+
& > :first-child {
|
|
618
|
+
margin-right: 16px;
|
|
625
619
|
}
|
|
626
620
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
.bg-svg {
|
|
631
|
-
width: 100%;
|
|
632
|
-
max-width: 245px;
|
|
633
|
-
height: 100%;
|
|
634
|
-
top: 0;
|
|
635
|
-
right: -40px;
|
|
636
|
-
position: absolute;
|
|
637
|
-
display: inline-block;
|
|
621
|
+
|
|
622
|
+
& > a > p:hover {
|
|
623
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
638
624
|
}
|
|
639
|
-
`,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
625
|
+
`,t.div`
|
|
626
|
+
display: flex;
|
|
627
|
+
align-items: center;
|
|
628
|
+
|
|
629
|
+
padding-right: 16px;
|
|
630
|
+
margin-bottom: 12px;
|
|
631
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
632
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
633
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
634
|
+
line-height: 24px;
|
|
635
|
+
|
|
636
|
+
&[data-theme='marryBaby'] {
|
|
637
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
647
638
|
}
|
|
639
|
+
`,t.div`
|
|
640
|
+
display: flex;
|
|
641
|
+
align-items: center;
|
|
648
642
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
643
|
+
margin-left: 10px;
|
|
644
|
+
`,t.div`
|
|
645
|
+
position: absolute;
|
|
646
|
+
top: 16px;
|
|
647
|
+
right: 0;
|
|
648
|
+
display: flex;
|
|
649
|
+
align-items: center;
|
|
650
|
+
cursor: pointer;
|
|
651
|
+
`,t.div`
|
|
652
|
+
display: block;
|
|
653
|
+
`,t.div`
|
|
654
|
+
.categories__spotlight {
|
|
655
|
+
display: grid;
|
|
656
|
+
margin: 16px;
|
|
657
|
+
margin-bottom: 32px;
|
|
658
|
+
grid-gap: 8px;
|
|
659
|
+
grid-template-columns: 1fr 1fr;
|
|
660
|
+
|
|
661
|
+
a {
|
|
662
|
+
text-decoration: none;
|
|
663
|
+
}
|
|
655
664
|
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
665
|
+
|
|
666
|
+
.categoryCard {
|
|
667
|
+
display: flex;
|
|
668
|
+
width: 100%;
|
|
669
|
+
flex-direction: column;
|
|
670
|
+
align-items: center;
|
|
671
|
+
padding: 16px;
|
|
672
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
673
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
674
|
+
|
|
675
|
+
svg {
|
|
676
|
+
margin-bottom: 4px;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
&.active {
|
|
680
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
681
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
682
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
683
|
+
color: white;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&:not(.active) {
|
|
687
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
688
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
663
689
|
}
|
|
664
690
|
}
|
|
665
691
|
|
|
666
|
-
|
|
692
|
+
.amp__menu-header {
|
|
667
693
|
display: grid;
|
|
668
|
-
grid-
|
|
669
|
-
|
|
694
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
695
|
+
|
|
696
|
+
svg {
|
|
697
|
+
margin-left: 16px;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
> div {
|
|
701
|
+
align-self: center;
|
|
702
|
+
|
|
703
|
+
&:nth-child(2) {
|
|
704
|
+
justify-self: center;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
670
707
|
}
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
line-height: 24px;
|
|
675
|
-
color: ${e=>e.theme.colors.gray600};
|
|
676
|
-
margin-bottom: 15px;
|
|
677
|
-
`,mt=t.div`
|
|
678
|
-
font-weight: 600;
|
|
679
|
-
font-size: 16px;
|
|
680
|
-
line-height: 26px;
|
|
681
|
-
color: #000000;
|
|
682
|
-
margin-bottom: 4px;
|
|
683
|
-
`,gt=t.div`
|
|
684
|
-
background: #fff;
|
|
685
|
-
padding: 5px;
|
|
686
|
-
display: flex;
|
|
687
|
-
align-items: center;
|
|
688
|
-
justify-content: center;
|
|
689
|
-
border-radius: 50px;
|
|
690
|
-
`,ht=t.div`
|
|
691
|
-
display: flex;
|
|
692
|
-
justify-content: center;
|
|
693
|
-
align-items: center;
|
|
694
|
-
position: relative;
|
|
695
|
-
${e.mbDown} {
|
|
696
|
-
justify-content: end;
|
|
697
|
-
min-height: 100px;
|
|
708
|
+
|
|
709
|
+
.logo {
|
|
710
|
+
margin: 22px 0;
|
|
698
711
|
}
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
&:after {
|
|
706
|
-
position: absolute;
|
|
707
|
-
top: 0;
|
|
708
|
-
left: 0;
|
|
712
|
+
|
|
713
|
+
.categories {
|
|
714
|
+
margin: 0 16px;
|
|
715
|
+
|
|
716
|
+
li {
|
|
717
|
+
display: block;
|
|
709
718
|
width: 100%;
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
719
|
+
|
|
720
|
+
+ li {
|
|
721
|
+
border-top: 1px solid
|
|
722
|
+
${e=>e.theme.colors.neutral100};
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
a {
|
|
726
|
+
display: block;
|
|
727
|
+
margin: 12px 0;
|
|
728
|
+
color: ${e=>e.theme.colors.gray800};
|
|
729
|
+
text-decoration: none;
|
|
730
|
+
}
|
|
713
731
|
}
|
|
714
732
|
}
|
|
715
|
-
`,
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
733
|
+
`,t.div`
|
|
734
|
+
width: 20%;
|
|
735
|
+
height: 2px;
|
|
736
|
+
|
|
737
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
738
|
+
border-radius: 2px;
|
|
739
|
+
`;const tt=t.div`
|
|
740
|
+
padding: 16px;
|
|
741
|
+
padding-bottom: 12px;
|
|
742
|
+
.fake-search-input {
|
|
743
|
+
pointer-events: none;
|
|
744
|
+
input {
|
|
745
|
+
line-height: 20px;
|
|
746
|
+
padding-top: 10px;
|
|
747
|
+
padding-bottom: 10px;
|
|
748
|
+
}
|
|
728
749
|
}
|
|
729
|
-
|
|
730
|
-
|
|
750
|
+
&[data-theme='marryBaby'] {
|
|
751
|
+
input {
|
|
752
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
753
|
+
border-radius: 16px;
|
|
754
|
+
border: none;
|
|
755
|
+
}
|
|
731
756
|
}
|
|
732
|
-
|
|
733
|
-
|
|
757
|
+
`,it=t.div`
|
|
758
|
+
display: block;
|
|
759
|
+
overflow-y: auto;
|
|
760
|
+
flex: 1;
|
|
761
|
+
padding-bottom: 16px;
|
|
762
|
+
&::-webkit-scrollbar {
|
|
763
|
+
width: 0;
|
|
764
|
+
display: none;
|
|
734
765
|
}
|
|
735
|
-
`,
|
|
766
|
+
`,ot=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"})))),at=t.div`
|
|
736
767
|
padding-right: 1rem;
|
|
737
768
|
margin-top: 10px;
|
|
738
769
|
background: #ffffff;
|
|
@@ -740,7 +771,7 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
740
771
|
${e.mbUp} {
|
|
741
772
|
border-right: 1px solid #e4e8ec;
|
|
742
773
|
}
|
|
743
|
-
`,
|
|
774
|
+
`,rt=t.a`
|
|
744
775
|
padding: 10px 0;
|
|
745
776
|
position: relative;
|
|
746
777
|
|
|
@@ -788,19 +819,19 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
788
819
|
}
|
|
789
820
|
}
|
|
790
821
|
}
|
|
791
|
-
`,
|
|
822
|
+
`,nt=t.div`
|
|
792
823
|
margin: 15px 0;
|
|
793
824
|
${e.mbDown} {
|
|
794
825
|
display: none;
|
|
795
826
|
}
|
|
796
|
-
`,
|
|
827
|
+
`,lt=t.div`
|
|
797
828
|
display: flex;
|
|
798
829
|
position: absolute;
|
|
799
830
|
right: 0;
|
|
800
831
|
${e.mbUp} {
|
|
801
832
|
display: none;
|
|
802
833
|
}
|
|
803
|
-
`,
|
|
834
|
+
`,st=t.div`
|
|
804
835
|
display: flex;
|
|
805
836
|
align-items: center;
|
|
806
837
|
color: ${e=>e.theme.colors.primaryBase};
|
|
@@ -815,11 +846,11 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
815
846
|
&[data-theme='marryBaby'] {
|
|
816
847
|
color: ${e=>e.theme.mbColors.pink};
|
|
817
848
|
}
|
|
818
|
-
`,
|
|
849
|
+
`,pt=t.div`
|
|
819
850
|
display: flex;
|
|
820
851
|
align-items: center;
|
|
821
852
|
margin-left: 10px;
|
|
822
|
-
`,
|
|
853
|
+
`,dt=t.a`
|
|
823
854
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
824
855
|
&[data-theme='marryBaby'] {
|
|
825
856
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -839,6 +870,11 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
839
870
|
display: none;
|
|
840
871
|
}
|
|
841
872
|
`;t.div`
|
|
873
|
+
& > a:not(:last-child) > div {
|
|
874
|
+
border-bottom: 1px solid
|
|
875
|
+
${e=>e.theme.colors.neutral100};
|
|
876
|
+
}
|
|
877
|
+
|
|
842
878
|
&[data-category-list-type='sub'] {
|
|
843
879
|
padding-bottom: 72px;
|
|
844
880
|
}
|
|
@@ -846,301 +882,73 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
846
882
|
&[data-is-displayed='false'] {
|
|
847
883
|
display: none;
|
|
848
884
|
}
|
|
849
|
-
|
|
850
|
-
& > div {
|
|
851
|
-
width: 100%;
|
|
852
|
-
margin-bottom: 8px;
|
|
853
|
-
}
|
|
854
|
-
`;const Ot=t.div`
|
|
885
|
+
`;const ct=t.div`
|
|
855
886
|
display: grid;
|
|
856
887
|
|
|
857
|
-
grid-template-columns: repeat(
|
|
888
|
+
grid-template-columns: repeat(3, 1fr);
|
|
858
889
|
gap: 24px;
|
|
890
|
+
|
|
859
891
|
${e.tdDown} {
|
|
860
|
-
|
|
861
|
-
grid-template-columns: 1fr;
|
|
862
|
-
}
|
|
863
|
-
`,At=t.a`
|
|
864
|
-
width: 100%;
|
|
865
|
-
display: flex;
|
|
866
|
-
align-items: center;
|
|
867
|
-
text-decoration: none;
|
|
868
|
-
* {
|
|
869
|
-
pointer-events: none;
|
|
892
|
+
grid-template-columns: repeat(1, 1fr);
|
|
870
893
|
}
|
|
871
|
-
`,
|
|
872
|
-
|
|
873
|
-
|
|
894
|
+
`,mt=t.div`
|
|
895
|
+
height: 152px; // 120 + 16 * 2
|
|
896
|
+
position: absolute;
|
|
897
|
+
top: 0;
|
|
898
|
+
left: 0;
|
|
899
|
+
z-index: 3;
|
|
874
900
|
overflow: hidden;
|
|
875
|
-
|
|
901
|
+
border-radius: 4px;
|
|
902
|
+
padding: 16px;
|
|
876
903
|
width: 100%;
|
|
877
|
-
|
|
878
|
-
|
|
904
|
+
|
|
905
|
+
.img-container {
|
|
906
|
+
width: 100%;
|
|
907
|
+
height: 100%;
|
|
908
|
+
}
|
|
879
909
|
img {
|
|
880
|
-
position: absolute;
|
|
881
910
|
width: 100%;
|
|
882
911
|
height: 100%;
|
|
883
912
|
display: block;
|
|
884
|
-
object-fit:
|
|
885
|
-
top: 0;
|
|
886
|
-
left: 0;
|
|
913
|
+
object-fit: contain;
|
|
887
914
|
}
|
|
888
915
|
${e.tdDown} {
|
|
889
|
-
|
|
890
|
-
padding
|
|
891
|
-
}
|
|
892
|
-
`,Lt=t.p`
|
|
893
|
-
font-size: 16px;
|
|
894
|
-
font-weight: 400;
|
|
895
|
-
padding: 4px 15px;
|
|
896
|
-
line-height: 1.4;
|
|
897
|
-
color: ${e=>e.theme.colors.gray800};
|
|
898
|
-
flex: 1;
|
|
899
|
-
${e.tdUp} {
|
|
900
|
-
display: none;
|
|
901
|
-
}
|
|
902
|
-
`;t.div`
|
|
903
|
-
& > :not(:last-child) {
|
|
904
|
-
border-bottom: 1px solid
|
|
905
|
-
${e=>e.theme.colors.neutral100};
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
& > div > :not(:last-child) {
|
|
909
|
-
border-bottom: 1px solid
|
|
910
|
-
${e=>e.theme.colors.neutral100};
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
&[data-category-list-type='sub'] {
|
|
914
|
-
padding-bottom: 72px;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
&[data-is-displayed='false'] {
|
|
918
|
-
display: none;
|
|
919
|
-
}
|
|
920
|
-
`,t.div`
|
|
921
|
-
& > div {
|
|
922
|
-
width: 100%;
|
|
923
|
-
margin-bottom: 8px;
|
|
924
|
-
}
|
|
925
|
-
`;const $t=t.div`
|
|
926
|
-
display: grid;
|
|
927
|
-
grid-template-columns: repeat(2, 1fr);
|
|
928
|
-
grid-gap: 48px;
|
|
929
|
-
${e.tdDown} {
|
|
930
|
-
grid-template-columns: 1fr;
|
|
931
|
-
grid-gap: 32px;
|
|
932
|
-
}
|
|
933
|
-
${e.mbDown} {
|
|
934
|
-
grid-gap: 24px;
|
|
935
|
-
}
|
|
936
|
-
`,St=t.div`
|
|
937
|
-
width: ${e=>e.size||40}px;
|
|
938
|
-
height: ${e=>e.size||40}px;
|
|
939
|
-
flex-shrink: 0;
|
|
940
|
-
cursor: pointer;
|
|
941
|
-
|
|
942
|
-
img {
|
|
943
|
-
border-radius: 50%;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
.avatar {
|
|
947
|
-
width: 100%;
|
|
916
|
+
margin-bottom: 0;
|
|
917
|
+
padding: 0;
|
|
948
918
|
height: 100%;
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
.avatar-default {
|
|
953
|
-
display: flex;
|
|
954
|
-
align-items: center;
|
|
955
|
-
justify-content: center;
|
|
956
|
-
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
957
|
-
border-radius: 50%;
|
|
958
|
-
color: white;
|
|
959
|
-
font-size: 1em;
|
|
960
|
-
font-weight: bold;
|
|
961
|
-
line-height: 1;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
&[data-is-marrybaby='true'] {
|
|
965
|
-
.avatar-default {
|
|
966
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
`,kt=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($e),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(St,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"))},Rt=t.div`
|
|
970
|
-
padding: 5px;
|
|
971
|
-
flex: 1;
|
|
972
|
-
`,Dt=t.img`
|
|
973
|
-
width: 88px;
|
|
974
|
-
height: 88px;
|
|
975
|
-
border-radius: 4px;
|
|
976
|
-
object-fit: cover;
|
|
977
|
-
`,Pt=t.div`
|
|
978
|
-
font-size: 12px;
|
|
979
|
-
font-weight: 600;
|
|
980
|
-
color: ${e=>e.theme.colors.gray800};
|
|
981
|
-
text-decoration: none;
|
|
982
|
-
&[data-theme='marryBaby'] {
|
|
983
|
-
font-weight: 400;
|
|
984
|
-
letter-spacing: -0.2px;
|
|
985
|
-
}
|
|
986
|
-
`,Ct=t.div`
|
|
987
|
-
text-decoration: none;
|
|
988
|
-
font-size: 12px;
|
|
989
|
-
font-weight: 400;
|
|
990
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
991
|
-
&[data-theme='marryBaby'] {
|
|
992
|
-
font-weight: 400;
|
|
993
|
-
letter-spacing: -0.2px;
|
|
994
|
-
}
|
|
995
|
-
`,Nt=t.div`
|
|
996
|
-
font-size: 12px;
|
|
997
|
-
font-weight: 400;
|
|
998
|
-
color: ${e=>e.theme.colors.gray600};
|
|
999
|
-
`,Bt=t.div`
|
|
1000
|
-
font-size: 12px;
|
|
1001
|
-
font-weight: 400;
|
|
1002
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1003
|
-
`,Ut=t.a`
|
|
1004
|
-
display: flex;
|
|
1005
|
-
gap: 10px;
|
|
1006
|
-
text-decoration: none;
|
|
1007
|
-
position: relative;
|
|
1008
|
-
&::after {
|
|
1009
|
-
content: '';
|
|
1010
|
-
display: block;
|
|
1011
|
-
width: 100%;
|
|
1012
|
-
height: 1px;
|
|
1013
|
-
border-top: 1px dashed
|
|
1014
|
-
${e=>e.theme.colors.neutral100};
|
|
1015
|
-
position: absolute;
|
|
1016
|
-
bottom: -24px;
|
|
1017
|
-
${e.tdOnly} {
|
|
1018
|
-
bottom: -16px;
|
|
1019
|
-
}
|
|
1020
|
-
${e.mbDown} {
|
|
1021
|
-
bottom: -12px;
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
&:last-child {
|
|
1025
|
-
&::after {
|
|
1026
|
-
display: none;
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
${e.tdUp} {
|
|
1030
|
-
&:nth-last-child(2) {
|
|
1031
|
-
&::after {
|
|
1032
|
-
display: none;
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
`,Gt=t.div`
|
|
1037
|
-
display: flex;
|
|
1038
|
-
gap: 10px;
|
|
1039
|
-
vertical-align: middle;
|
|
1040
|
-
align-items: center;
|
|
1041
|
-
`,Mt=t.div`
|
|
1042
|
-
margin-top: 8px;
|
|
1043
|
-
font-size: 16px;
|
|
1044
|
-
font-weight: 600;
|
|
1045
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1046
|
-
&[data-theme='marryBaby'] {
|
|
1047
|
-
margin-top: 12px;
|
|
1048
|
-
font-weight: 400;
|
|
1049
|
-
font-size: 14px;
|
|
1050
|
-
line-height: 24px;
|
|
1051
|
-
letter-spacing: -0.2px;
|
|
1052
|
-
}
|
|
1053
|
-
`,Ht=t.div`
|
|
1054
|
-
display: flex;
|
|
1055
|
-
flex-wrap: wrap;
|
|
1056
|
-
align-items: center;
|
|
1057
|
-
column-gap: 5px;
|
|
1058
|
-
`,zt=t.div`
|
|
1059
|
-
display: flex;
|
|
1060
|
-
gap: 4px;
|
|
1061
|
-
flex-direction: column;
|
|
1062
|
-
`;L.extend($);const jt=({post:e,index:t=0})=>{var i,o,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Je);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?L(b).toNow(!0):u;return a.createElement(Ut,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Rt,null,a.createElement(Gt,null,a.createElement(kt,{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(zt,null,a.createElement(Pt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(Ht,null,a.createElement(Ct,{"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(Bt,null,"•"),a.createElement(Nt,{"data-theme":c},x)))),a.createElement(Mt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(Dt,{loading:"lazy",src:e.photos[0]}))};t.div`
|
|
1063
|
-
&[data-is-display='false'] {
|
|
1064
|
-
display: none;
|
|
919
|
+
position: unset;
|
|
920
|
+
width: 150px;
|
|
1065
921
|
}
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1070
|
-
gap: 24px;
|
|
1071
|
-
${e.tdDown} {
|
|
1072
|
-
grid-template-columns: 1fr;
|
|
1073
|
-
gap: 12px;
|
|
922
|
+
${e.mbDown} {
|
|
923
|
+
width: 80px;
|
|
1074
924
|
}
|
|
1075
|
-
`,
|
|
1076
|
-
|
|
925
|
+
`,gt=t.div`
|
|
926
|
+
background-color: #ffffff;
|
|
1077
927
|
border-radius: 4px;
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
display: flex;
|
|
1082
|
-
* {
|
|
1083
|
-
pointer-events: none;
|
|
1084
|
-
}
|
|
1085
|
-
.bg-svg {
|
|
1086
|
-
width: 245px;
|
|
1087
|
-
top: 0;
|
|
1088
|
-
right: 0;
|
|
1089
|
-
height: 100%;
|
|
1090
|
-
position: absolute;
|
|
1091
|
-
${e.tdDown} {
|
|
1092
|
-
top: calc(51% - 68px);
|
|
1093
|
-
right: -8px;
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
padding: 180px 24px 16px;
|
|
1097
|
-
a {
|
|
1098
|
-
display: flex;
|
|
1099
|
-
width: 100%;
|
|
1100
|
-
}
|
|
1101
|
-
${e.tdDown} {
|
|
1102
|
-
padding-top: 16px;
|
|
1103
|
-
display: flex;
|
|
1104
|
-
align-items: center;
|
|
1105
|
-
}
|
|
1106
|
-
`,Yt=t.div`
|
|
1107
|
-
width: 64px;
|
|
1108
|
-
height: 64px;
|
|
1109
|
-
background: white;
|
|
1110
|
-
position: absolute;
|
|
1111
|
-
right: 25px;
|
|
1112
|
-
top: 35px;
|
|
1113
|
-
z-index: 3;
|
|
1114
|
-
border-radius: 50%;
|
|
1115
|
-
img {
|
|
1116
|
-
position: absolute;
|
|
1117
|
-
width: 64px;
|
|
1118
|
-
height: 64px;
|
|
1119
|
-
top: 50%;
|
|
1120
|
-
left: 50%;
|
|
1121
|
-
display: block;
|
|
1122
|
-
transform: translate(-50%, -50%);
|
|
1123
|
-
}
|
|
1124
|
-
${e.tdDown} {
|
|
1125
|
-
position: relative;
|
|
1126
|
-
top: unset;
|
|
1127
|
-
right: unset;
|
|
1128
|
-
}
|
|
1129
|
-
`,Kt=t.div`
|
|
928
|
+
width: 100%;
|
|
929
|
+
height: 100%;
|
|
930
|
+
`,ht=t.div`
|
|
1130
931
|
display: flex;
|
|
932
|
+
margin-top: 1rem;
|
|
1131
933
|
align-items: center;
|
|
1132
934
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1133
935
|
font-weight: 400;
|
|
1134
936
|
font-size: 14px;
|
|
1135
937
|
text-decoration: none;
|
|
1136
|
-
|
|
938
|
+
${e.tdDown} {
|
|
939
|
+
display: none;
|
|
940
|
+
}
|
|
941
|
+
`,ut=t.p`
|
|
1137
942
|
font-size: 16px;
|
|
1138
943
|
font-weight: 600;
|
|
1139
|
-
line-height: 1.
|
|
944
|
+
line-height: 1.6;
|
|
1140
945
|
color: ${e=>e.theme.colors.gray800};
|
|
1141
|
-
|
|
946
|
+
${e.tdDown} {
|
|
947
|
+
padding: 0;
|
|
948
|
+
}
|
|
949
|
+
`,bt=t.p`
|
|
1142
950
|
font-size: 14px;
|
|
1143
|
-
line-height: 1.
|
|
951
|
+
line-height: 1.6;
|
|
1144
952
|
font-weight: 400;
|
|
1145
953
|
color: ${e=>e.theme.colors.gray600};
|
|
1146
954
|
height: 40px;
|
|
@@ -1151,508 +959,700 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
1151
959
|
-webkit-box-orient: vertical;
|
|
1152
960
|
margin-bottom: auto;
|
|
1153
961
|
${e.tdDown} {
|
|
1154
|
-
|
|
962
|
+
height: unset;
|
|
963
|
+
padding: 0;
|
|
1155
964
|
}
|
|
1156
|
-
`,
|
|
965
|
+
`,xt="hhgcomp-navigation-menucareitem-contentwrapper",ft=o(t.div`
|
|
1157
966
|
display: flex;
|
|
1158
967
|
flex-direction: column;
|
|
968
|
+
gap: 8px;
|
|
1159
969
|
flex: 1;
|
|
1160
970
|
z-index: 1;
|
|
1161
|
-
${e.tdUp} {
|
|
1162
|
-
gap: 8px;
|
|
1163
|
-
}
|
|
1164
971
|
${e.tdDown} {
|
|
1165
972
|
gap: 4px;
|
|
1166
|
-
flex: 1;
|
|
1167
973
|
}
|
|
1168
|
-
`,
|
|
974
|
+
`,xt),yt=t.a`
|
|
1169
975
|
text-decoration: none;
|
|
1170
|
-
border-radius:
|
|
1171
|
-
|
|
976
|
+
border-radius: 4px;
|
|
977
|
+
background: ${i.colors.white};
|
|
1172
978
|
position: relative;
|
|
1173
979
|
overflow: hidden;
|
|
980
|
+
padding: 16px;
|
|
1174
981
|
display: flex;
|
|
982
|
+
padding-top: 166px;
|
|
1175
983
|
* {
|
|
1176
984
|
pointer-events: none;
|
|
1177
985
|
}
|
|
1178
|
-
.
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
height: 30px;
|
|
1187
|
-
top: 36px;
|
|
1188
|
-
left: 16px;
|
|
1189
|
-
position: absolute;
|
|
1190
|
-
stroke-width: 0;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
&[data-color='pink'] {
|
|
1194
|
-
background: ${e=>e.theme.mbColors.tonePink};
|
|
1195
|
-
.bg-svg {
|
|
1196
|
-
fill: ${e=>e.theme.mbColors.peach};
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
&[data-color='orange'] {
|
|
1200
|
-
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1201
|
-
.bg-svg {
|
|
1202
|
-
fill: ${e=>e.theme.mbColors.orange};
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
&[data-color='green'] {
|
|
1206
|
-
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1207
|
-
.bg-svg {
|
|
1208
|
-
fill: ${e=>e.theme.mbColors.mint};
|
|
986
|
+
${e.tdUp} {
|
|
987
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
988
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
989
|
+
gap: 30px;
|
|
990
|
+
flex-direction: column;
|
|
991
|
+
a {
|
|
992
|
+
display: flex;
|
|
993
|
+
width: 100%;
|
|
1209
994
|
}
|
|
1210
995
|
}
|
|
1211
|
-
|
|
1212
|
-
padding: 180px 24px 16px;
|
|
1213
|
-
a {
|
|
1214
|
-
display: flex;
|
|
1215
|
-
width: 100%;
|
|
1216
|
-
}
|
|
1217
996
|
${e.tdDown} {
|
|
1218
997
|
padding-top: 16px;
|
|
998
|
+
a {
|
|
999
|
+
display: none;
|
|
1000
|
+
}
|
|
1001
|
+
grid-template-columns: 2fr 1fr;
|
|
1002
|
+
gap: 10px;
|
|
1003
|
+
display: grid;
|
|
1004
|
+
max-height: 110px;
|
|
1219
1005
|
display: flex;
|
|
1220
|
-
|
|
1221
|
-
|
|
1006
|
+
flex-direction: row-reverse;
|
|
1007
|
+
> .${xt} {
|
|
1008
|
+
flex: 1;
|
|
1009
|
+
}
|
|
1010
|
+
img {
|
|
1011
|
+
width: 150px;
|
|
1012
|
+
}
|
|
1222
1013
|
}
|
|
1223
1014
|
${e.mbDown} {
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
top: 22px;
|
|
1232
|
-
left: 16px;
|
|
1015
|
+
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1016
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1017
|
+
display: flex;
|
|
1018
|
+
flex-direction: row-reverse;
|
|
1019
|
+
img {
|
|
1020
|
+
width: 80px;
|
|
1021
|
+
height: 80px;
|
|
1233
1022
|
}
|
|
1234
1023
|
}
|
|
1235
|
-
${e.
|
|
1236
|
-
|
|
1024
|
+
${e.tdOnly} {
|
|
1025
|
+
border: 1px solid ${i.colors.neutral100};
|
|
1237
1026
|
}
|
|
1238
|
-
.
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1027
|
+
.bg-svg {
|
|
1028
|
+
width: 100%;
|
|
1029
|
+
max-width: 245px;
|
|
1030
|
+
height: 100%;
|
|
1031
|
+
top: 0;
|
|
1032
|
+
right: -40px;
|
|
1033
|
+
position: absolute;
|
|
1034
|
+
display: inline-block;
|
|
1242
1035
|
}
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1036
|
+
`,vt=t.div`
|
|
1037
|
+
padding: 16px;
|
|
1038
|
+
border-radius: 8px;
|
|
1039
|
+
position: relative;
|
|
1040
|
+
z-index: 1;
|
|
1041
|
+
overflow: hidden;
|
|
1042
|
+
a {
|
|
1043
|
+
text-decoration: none;
|
|
1247
1044
|
}
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
background: white;
|
|
1252
|
-
position: absolute;
|
|
1253
|
-
right: 25px;
|
|
1254
|
-
top: 35px;
|
|
1255
|
-
z-index: 3;
|
|
1256
|
-
border-radius: 50%;
|
|
1257
|
-
img {
|
|
1045
|
+
|
|
1046
|
+
.bg-svg {
|
|
1047
|
+
height: 100%;
|
|
1258
1048
|
position: absolute;
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1049
|
+
top: 0;
|
|
1050
|
+
left: 0;
|
|
1051
|
+
z-index: -1;
|
|
1052
|
+
}
|
|
1053
|
+
${e.mbDown} {
|
|
1263
1054
|
display: block;
|
|
1264
|
-
|
|
1055
|
+
.bg-svg {
|
|
1056
|
+
right: -24px;
|
|
1057
|
+
left: unset;
|
|
1058
|
+
top: 0;
|
|
1059
|
+
transform: rotateY(180deg);
|
|
1060
|
+
}
|
|
1265
1061
|
}
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1062
|
+
|
|
1063
|
+
${e.mbUp} {
|
|
1064
|
+
display: grid;
|
|
1065
|
+
grid-gap: 10px;
|
|
1066
|
+
grid-template-columns: 1fr 3fr;
|
|
1067
|
+
}
|
|
1068
|
+
`,_t=t.div`
|
|
1069
|
+
font-weight: 400;
|
|
1070
|
+
font-size: 14px;
|
|
1071
|
+
line-height: 24px;
|
|
1072
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1073
|
+
margin-bottom: 15px;
|
|
1074
|
+
`,wt=t.div`
|
|
1075
|
+
font-weight: 600;
|
|
1076
|
+
font-size: 16px;
|
|
1077
|
+
line-height: 26px;
|
|
1078
|
+
color: #000000;
|
|
1079
|
+
margin-bottom: 4px;
|
|
1080
|
+
`,Et=t.div`
|
|
1081
|
+
background: #fff;
|
|
1082
|
+
padding: 5px;
|
|
1083
|
+
display: flex;
|
|
1084
|
+
align-items: center;
|
|
1085
|
+
justify-content: center;
|
|
1086
|
+
border-radius: 50px;
|
|
1087
|
+
`,Tt=t.div`
|
|
1088
|
+
display: flex;
|
|
1089
|
+
justify-content: center;
|
|
1090
|
+
align-items: center;
|
|
1091
|
+
position: relative;
|
|
1092
|
+
${e.mbDown} {
|
|
1093
|
+
justify-content: end;
|
|
1094
|
+
min-height: 100px;
|
|
1270
1095
|
}
|
|
1096
|
+
`,Ot=t.div`
|
|
1097
|
+
margin-top: 10px;
|
|
1098
|
+
background: #ffffff;
|
|
1099
|
+
padding: 5px 15px;
|
|
1100
|
+
position: relative;
|
|
1271
1101
|
${e.mbDown} {
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1102
|
+
&:after {
|
|
1103
|
+
position: absolute;
|
|
1104
|
+
top: 0;
|
|
1105
|
+
left: 0;
|
|
1106
|
+
width: 100%;
|
|
1107
|
+
height: 4px;
|
|
1108
|
+
background-color: ${e=>e.theme.colors.neutral100};
|
|
1109
|
+
content: '';
|
|
1110
|
+
}
|
|
1275
1111
|
}
|
|
1276
|
-
`,
|
|
1112
|
+
`,At=t.div`
|
|
1113
|
+
margin: 15px 0;
|
|
1114
|
+
display: flex;
|
|
1115
|
+
`,It=t.a`
|
|
1116
|
+
padding-left: 10px;
|
|
1277
1117
|
display: flex;
|
|
1278
1118
|
align-items: center;
|
|
1279
|
-
|
|
1119
|
+
text-decoration: none;
|
|
1280
1120
|
font-weight: 400;
|
|
1281
1121
|
font-size: 14px;
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
width: 20px;
|
|
1285
|
-
height: 20px;
|
|
1286
|
-
|
|
1287
|
-
svg path {
|
|
1288
|
-
fill: ${e=>e.theme.mbColors.gray};
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
${e.tdDown} {
|
|
1292
|
-
background: none;
|
|
1293
|
-
width: 100%;
|
|
1294
|
-
font-weight: 400;
|
|
1295
|
-
font-size: 12px;
|
|
1296
|
-
line-height: 18px;
|
|
1122
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1123
|
+
&[data-theme='marryBaby'] {
|
|
1297
1124
|
color: ${e=>e.theme.mbColors.pink};
|
|
1298
|
-
padding-left: 16px;
|
|
1299
1125
|
}
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
height: 54px;
|
|
1313
|
-
text-overflow: ellipsis;
|
|
1314
|
-
overflow: hidden;
|
|
1315
|
-
display: -webkit-box;
|
|
1316
|
-
-webkit-line-clamp: 3;
|
|
1317
|
-
-webkit-box-orient: vertical;
|
|
1318
|
-
margin-bottom: auto;
|
|
1319
|
-
${e.tdDown} {
|
|
1126
|
+
img {
|
|
1127
|
+
padding-left: 5px;
|
|
1128
|
+
}
|
|
1129
|
+
${e.mbDown} {
|
|
1130
|
+
margin-left: auto;
|
|
1131
|
+
}
|
|
1132
|
+
`;t.div`
|
|
1133
|
+
&[data-category-list-type='sub'] {
|
|
1134
|
+
padding-bottom: 72px;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
&[data-is-displayed='false'] {
|
|
1320
1138
|
display: none;
|
|
1321
1139
|
}
|
|
1322
|
-
`,
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
align-items: flex-end;
|
|
1327
|
-
justify-content: flex-end;
|
|
1328
|
-
${e.tdUp} {
|
|
1329
|
-
gap: 8px;
|
|
1330
|
-
flex-direction: row;
|
|
1140
|
+
`,t.div`
|
|
1141
|
+
& > div {
|
|
1142
|
+
width: 100%;
|
|
1143
|
+
margin-bottom: 8px;
|
|
1331
1144
|
}
|
|
1145
|
+
`;const Lt=t.div`
|
|
1146
|
+
display: grid;
|
|
1332
1147
|
|
|
1148
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1149
|
+
gap: 24px;
|
|
1333
1150
|
${e.tdDown} {
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
gap: 4px;
|
|
1151
|
+
gap: 12px;
|
|
1152
|
+
grid-template-columns: 1fr;
|
|
1337
1153
|
}
|
|
1338
|
-
|
|
1154
|
+
`,$t=t.a`
|
|
1155
|
+
width: 100%;
|
|
1339
1156
|
display: flex;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
text-decoration: none;
|
|
1159
|
+
* {
|
|
1160
|
+
pointer-events: none;
|
|
1161
|
+
}
|
|
1162
|
+
`,St=t.div`
|
|
1163
|
+
border-radius: 5px;
|
|
1164
|
+
display: block;
|
|
1165
|
+
overflow: hidden;
|
|
1166
|
+
padding-top: 140%;
|
|
1167
|
+
width: 100%;
|
|
1168
|
+
position: relative;
|
|
1169
|
+
height: 0;
|
|
1170
|
+
img {
|
|
1171
|
+
position: absolute;
|
|
1172
|
+
width: 100%;
|
|
1173
|
+
height: 100%;
|
|
1174
|
+
display: block;
|
|
1175
|
+
object-fit: cover;
|
|
1176
|
+
top: 0;
|
|
1177
|
+
left: 0;
|
|
1345
1178
|
}
|
|
1346
1179
|
${e.tdDown} {
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
padding-left: 16px;
|
|
1180
|
+
width: 72px;
|
|
1181
|
+
padding-top: 100px;
|
|
1350
1182
|
}
|
|
1351
|
-
`,
|
|
1352
|
-
|
|
1353
|
-
|
|
1183
|
+
`,kt=t.p`
|
|
1184
|
+
font-size: 16px;
|
|
1185
|
+
font-weight: 400;
|
|
1186
|
+
padding: 4px 15px;
|
|
1187
|
+
line-height: 1.4;
|
|
1188
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1354
1189
|
flex: 1;
|
|
1355
|
-
z-index: 1;
|
|
1356
1190
|
${e.tdUp} {
|
|
1357
|
-
|
|
1358
|
-
justify-content: flex-end;
|
|
1359
|
-
align-items: flex-end;
|
|
1360
|
-
}
|
|
1361
|
-
${e.tdDown} {
|
|
1362
|
-
flex-direction: column;
|
|
1363
|
-
justify-content: flex-start;
|
|
1364
|
-
align-items: flex-start;
|
|
1365
|
-
}
|
|
1366
|
-
`,ri=t.div`
|
|
1367
|
-
position: fixed;
|
|
1368
|
-
z-index: 201;
|
|
1369
|
-
top: calc(100% + 1px); // border 1px
|
|
1370
|
-
width: 100%;
|
|
1371
|
-
height: calc(100vh - var(--header-bottom));
|
|
1372
|
-
overflow-x: hidden;
|
|
1373
|
-
overflow-y: auto;
|
|
1374
|
-
background: white;
|
|
1375
|
-
display: flex;
|
|
1376
|
-
flex-direction: column;
|
|
1377
|
-
padding-bottom: 0;
|
|
1378
|
-
left: 0;
|
|
1379
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
1380
|
-
position: unset;
|
|
1191
|
+
display: none;
|
|
1381
1192
|
}
|
|
1382
1193
|
`;t.div`
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
display: flex;
|
|
1387
|
-
width: 100%;
|
|
1388
|
-
height: 72px;
|
|
1389
|
-
align-items: flex-start;
|
|
1390
|
-
justify-content: center;
|
|
1391
|
-
|
|
1392
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
1393
|
-
|
|
1394
|
-
.button-image {
|
|
1395
|
-
stroke-color: blue;
|
|
1194
|
+
& > :not(:last-child) {
|
|
1195
|
+
border-bottom: 1px solid
|
|
1196
|
+
${e=>e.theme.colors.neutral100};
|
|
1396
1197
|
}
|
|
1397
1198
|
|
|
1398
|
-
&
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
width: 100%;
|
|
1402
|
-
height: 48px;
|
|
1403
|
-
}
|
|
1199
|
+
& > div > :not(:last-child) {
|
|
1200
|
+
border-bottom: 1px solid
|
|
1201
|
+
${e=>e.theme.colors.neutral100};
|
|
1404
1202
|
}
|
|
1405
|
-
`,t.div`
|
|
1406
|
-
display: flex;
|
|
1407
|
-
|
|
1408
|
-
&[data-card-array-no-margin-style='true'] {
|
|
1409
|
-
margin: 8px 0;
|
|
1410
1203
|
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
flex: 1;
|
|
1414
|
-
margin: 0 -1px;
|
|
1415
|
-
}
|
|
1204
|
+
&[data-category-list-type='sub'] {
|
|
1205
|
+
padding-bottom: 72px;
|
|
1416
1206
|
}
|
|
1417
1207
|
|
|
1418
|
-
&[data-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
& > div {
|
|
1422
|
-
flex: 1;
|
|
1423
|
-
margin: 0 4px;
|
|
1424
|
-
}
|
|
1208
|
+
&[data-is-displayed='false'] {
|
|
1209
|
+
display: none;
|
|
1425
1210
|
}
|
|
1426
1211
|
`,t.div`
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
`,t.div`
|
|
1431
|
-
display: flex;
|
|
1432
|
-
width: 100%;
|
|
1433
|
-
align-items: center;
|
|
1434
|
-
justify-content: center;
|
|
1435
|
-
|
|
1436
|
-
& > div:first-child {
|
|
1437
|
-
margin-right: 8px;
|
|
1212
|
+
& > div {
|
|
1213
|
+
width: 100%;
|
|
1214
|
+
margin-bottom: 8px;
|
|
1438
1215
|
}
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1447
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1448
|
-
`,t.div`
|
|
1449
|
-
position: relative;
|
|
1450
|
-
display: flex;
|
|
1451
|
-
flex-wrap: wrap;
|
|
1452
|
-
align-items: flex-start;
|
|
1453
|
-
justify-content: flex-start;
|
|
1454
|
-
padding: 48px 0;
|
|
1455
|
-
`,t.div`
|
|
1456
|
-
position: relative;
|
|
1457
|
-
display: flex;
|
|
1458
|
-
flex-wrap: wrap;
|
|
1459
|
-
align-items: flex-start;
|
|
1460
|
-
justify-content: flex-start;
|
|
1461
|
-
&[data-disabled-divider='false'] {
|
|
1462
|
-
border-right: 1px solid #e4e8ec;
|
|
1216
|
+
`;const Rt=t.div`
|
|
1217
|
+
display: grid;
|
|
1218
|
+
grid-template-columns: repeat(2, 1fr);
|
|
1219
|
+
grid-gap: 48px;
|
|
1220
|
+
${e.tdDown} {
|
|
1221
|
+
grid-template-columns: 1fr;
|
|
1222
|
+
grid-gap: 32px;
|
|
1463
1223
|
}
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
padding-right: 16px;
|
|
1467
|
-
margin-bottom: 12px;
|
|
1468
|
-
|
|
1469
|
-
& > a {
|
|
1470
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1471
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1472
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1473
|
-
line-height: 22px;
|
|
1224
|
+
${e.mbDown} {
|
|
1225
|
+
grid-gap: 24px;
|
|
1474
1226
|
}
|
|
1227
|
+
`,Dt=t.div`
|
|
1228
|
+
width: ${e=>e.size||40}px;
|
|
1229
|
+
height: ${e=>e.size||40}px;
|
|
1230
|
+
flex-shrink: 0;
|
|
1231
|
+
cursor: pointer;
|
|
1475
1232
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1233
|
+
img {
|
|
1234
|
+
border-radius: 50%;
|
|
1478
1235
|
}
|
|
1479
1236
|
|
|
1480
|
-
.
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
> .imageContainer {
|
|
1485
|
-
display: flex;
|
|
1486
|
-
width: 32px;
|
|
1487
|
-
min-width: 32px;
|
|
1488
|
-
align-items: center;
|
|
1489
|
-
margin-right: 16px;
|
|
1490
|
-
}
|
|
1237
|
+
.avatar {
|
|
1238
|
+
width: 100%;
|
|
1239
|
+
height: 100%;
|
|
1240
|
+
object-fit: cover;
|
|
1491
1241
|
}
|
|
1492
|
-
`,t.div`
|
|
1493
|
-
display: none;
|
|
1494
|
-
`,t.div`
|
|
1495
|
-
width: 33%;
|
|
1496
|
-
height: 48px;
|
|
1497
|
-
padding-right: 16px;
|
|
1498
|
-
margin-bottom: 12px;
|
|
1499
1242
|
|
|
1500
|
-
|
|
1243
|
+
.avatar-default {
|
|
1501
1244
|
display: flex;
|
|
1502
1245
|
align-items: center;
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1246
|
+
justify-content: center;
|
|
1247
|
+
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
1248
|
+
border-radius: 50%;
|
|
1249
|
+
color: white;
|
|
1250
|
+
font-size: 1em;
|
|
1251
|
+
font-weight: bold;
|
|
1252
|
+
line-height: 1;
|
|
1253
|
+
}
|
|
1507
1254
|
|
|
1508
|
-
|
|
1509
|
-
|
|
1255
|
+
&[data-is-marrybaby='true'] {
|
|
1256
|
+
.avatar-default {
|
|
1257
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1510
1258
|
}
|
|
1511
1259
|
}
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1260
|
+
`,Pt=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($e),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(Dt,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"))},Ct=t.div`
|
|
1261
|
+
padding: 5px;
|
|
1262
|
+
flex: 1;
|
|
1263
|
+
`,Nt=t.img`
|
|
1264
|
+
width: 88px;
|
|
1265
|
+
height: 88px;
|
|
1266
|
+
border-radius: 4px;
|
|
1267
|
+
object-fit: cover;
|
|
1268
|
+
`,Bt=t.div`
|
|
1269
|
+
font-size: 12px;
|
|
1270
|
+
font-weight: 600;
|
|
1271
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1272
|
+
text-decoration: none;
|
|
1273
|
+
&[data-theme='marryBaby'] {
|
|
1274
|
+
font-weight: 400;
|
|
1275
|
+
letter-spacing: -0.2px;
|
|
1515
1276
|
}
|
|
1516
|
-
`,t.div`
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
padding-right: 16px;
|
|
1521
|
-
margin-bottom: 12px;
|
|
1277
|
+
`,Ut=t.div`
|
|
1278
|
+
text-decoration: none;
|
|
1279
|
+
font-size: 12px;
|
|
1280
|
+
font-weight: 400;
|
|
1522
1281
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1523
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1524
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
1525
|
-
line-height: 24px;
|
|
1526
|
-
|
|
1527
1282
|
&[data-theme='marryBaby'] {
|
|
1528
|
-
|
|
1283
|
+
font-weight: 400;
|
|
1284
|
+
letter-spacing: -0.2px;
|
|
1529
1285
|
}
|
|
1530
|
-
`,t.div`
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1286
|
+
`,Gt=t.div`
|
|
1287
|
+
font-size: 12px;
|
|
1288
|
+
font-weight: 400;
|
|
1289
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1290
|
+
`,Mt=t.div`
|
|
1291
|
+
font-size: 12px;
|
|
1292
|
+
font-weight: 400;
|
|
1293
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1294
|
+
`,Ht=t.a`
|
|
1539
1295
|
display: flex;
|
|
1296
|
+
gap: 10px;
|
|
1297
|
+
text-decoration: none;
|
|
1298
|
+
position: relative;
|
|
1299
|
+
&::after {
|
|
1300
|
+
content: '';
|
|
1301
|
+
display: block;
|
|
1302
|
+
width: 100%;
|
|
1303
|
+
height: 1px;
|
|
1304
|
+
border-top: 1px dashed
|
|
1305
|
+
${e=>e.theme.colors.neutral100};
|
|
1306
|
+
position: absolute;
|
|
1307
|
+
bottom: -24px;
|
|
1308
|
+
${e.tdOnly} {
|
|
1309
|
+
bottom: -16px;
|
|
1310
|
+
}
|
|
1311
|
+
${e.mbDown} {
|
|
1312
|
+
bottom: -12px;
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
&:last-child {
|
|
1316
|
+
&::after {
|
|
1317
|
+
display: none;
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
${e.tdUp} {
|
|
1321
|
+
&:nth-last-child(2) {
|
|
1322
|
+
&::after {
|
|
1323
|
+
display: none;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
`,zt=t.div`
|
|
1328
|
+
display: flex;
|
|
1329
|
+
gap: 10px;
|
|
1330
|
+
vertical-align: middle;
|
|
1540
1331
|
align-items: center;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
margin:
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1332
|
+
`,jt=t.div`
|
|
1333
|
+
margin-top: 8px;
|
|
1334
|
+
font-size: 16px;
|
|
1335
|
+
font-weight: 600;
|
|
1336
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1337
|
+
&[data-theme='marryBaby'] {
|
|
1338
|
+
margin-top: 12px;
|
|
1339
|
+
font-weight: 400;
|
|
1340
|
+
font-size: 14px;
|
|
1341
|
+
line-height: 24px;
|
|
1342
|
+
letter-spacing: -0.2px;
|
|
1343
|
+
}
|
|
1344
|
+
`,Ft=t.div`
|
|
1345
|
+
display: flex;
|
|
1346
|
+
flex-wrap: wrap;
|
|
1347
|
+
align-items: center;
|
|
1348
|
+
column-gap: 5px;
|
|
1349
|
+
`,Vt=t.div`
|
|
1350
|
+
display: flex;
|
|
1351
|
+
gap: 4px;
|
|
1352
|
+
flex-direction: column;
|
|
1353
|
+
`;L.extend($);const Yt=({post:e,index:t=0})=>{var i,o,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Je);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?L(b).toNow(!0):u;return a.createElement(Ht,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Ct,null,a.createElement(zt,null,a.createElement(Pt,{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(Vt,null,a.createElement(Bt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(Ft,null,a.createElement(Ut,{"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(Mt,null,"•"),a.createElement(Gt,{"data-theme":c},x)))),a.createElement(jt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(Nt,{loading:"lazy",src:e.photos[0]}))};t.div`
|
|
1354
|
+
&[data-is-display='false'] {
|
|
1355
|
+
display: none;
|
|
1356
|
+
}
|
|
1357
|
+
`;const Kt=t.div`
|
|
1358
|
+
display: grid;
|
|
1551
1359
|
|
|
1552
|
-
|
|
1553
|
-
|
|
1360
|
+
grid-template-columns: repeat(3, 1fr);
|
|
1361
|
+
gap: 24px;
|
|
1362
|
+
${e.tdDown} {
|
|
1363
|
+
grid-template-columns: 1fr;
|
|
1364
|
+
gap: 12px;
|
|
1365
|
+
}
|
|
1366
|
+
`,Wt=t.a`
|
|
1367
|
+
text-decoration: none;
|
|
1368
|
+
border-radius: 4px;
|
|
1369
|
+
background: ${e=>e.theme.colors.primary50};
|
|
1370
|
+
position: relative;
|
|
1371
|
+
overflow: hidden;
|
|
1372
|
+
display: flex;
|
|
1373
|
+
* {
|
|
1374
|
+
pointer-events: none;
|
|
1375
|
+
}
|
|
1376
|
+
.bg-svg {
|
|
1377
|
+
width: 245px;
|
|
1378
|
+
top: 0;
|
|
1379
|
+
right: 0;
|
|
1380
|
+
height: 100%;
|
|
1381
|
+
position: absolute;
|
|
1382
|
+
${e.tdDown} {
|
|
1383
|
+
top: calc(51% - 68px);
|
|
1384
|
+
right: -8px;
|
|
1554
1385
|
}
|
|
1555
1386
|
}
|
|
1556
|
-
|
|
1557
|
-
|
|
1387
|
+
padding: 180px 24px 16px;
|
|
1388
|
+
a {
|
|
1558
1389
|
display: flex;
|
|
1559
1390
|
width: 100%;
|
|
1560
|
-
|
|
1391
|
+
}
|
|
1392
|
+
${e.tdDown} {
|
|
1393
|
+
padding-top: 16px;
|
|
1394
|
+
display: flex;
|
|
1561
1395
|
align-items: center;
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1396
|
+
}
|
|
1397
|
+
`,Xt=t.div`
|
|
1398
|
+
width: 64px;
|
|
1399
|
+
height: 64px;
|
|
1400
|
+
background: white;
|
|
1401
|
+
position: absolute;
|
|
1402
|
+
right: 25px;
|
|
1403
|
+
top: 35px;
|
|
1404
|
+
z-index: 3;
|
|
1405
|
+
border-radius: 50%;
|
|
1406
|
+
img {
|
|
1407
|
+
position: absolute;
|
|
1408
|
+
width: 64px;
|
|
1409
|
+
height: 64px;
|
|
1410
|
+
top: 50%;
|
|
1411
|
+
left: 50%;
|
|
1412
|
+
display: block;
|
|
1413
|
+
transform: translate(-50%, -50%);
|
|
1414
|
+
}
|
|
1415
|
+
${e.tdDown} {
|
|
1416
|
+
position: relative;
|
|
1417
|
+
top: unset;
|
|
1418
|
+
right: unset;
|
|
1419
|
+
}
|
|
1420
|
+
`,qt=t.div`
|
|
1421
|
+
display: flex;
|
|
1422
|
+
align-items: center;
|
|
1423
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1424
|
+
font-weight: 400;
|
|
1425
|
+
font-size: 14px;
|
|
1426
|
+
text-decoration: none;
|
|
1427
|
+
`,Zt=t.p`
|
|
1428
|
+
font-size: 16px;
|
|
1429
|
+
font-weight: 600;
|
|
1430
|
+
line-height: 1.4;
|
|
1431
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1432
|
+
`,Jt=t.p`
|
|
1433
|
+
font-size: 14px;
|
|
1434
|
+
line-height: 1.4;
|
|
1435
|
+
font-weight: 400;
|
|
1436
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1437
|
+
height: 40px;
|
|
1438
|
+
text-overflow: ellipsis;
|
|
1439
|
+
overflow: hidden;
|
|
1440
|
+
display: -webkit-box;
|
|
1441
|
+
-webkit-line-clamp: 2;
|
|
1442
|
+
-webkit-box-orient: vertical;
|
|
1443
|
+
margin-bottom: auto;
|
|
1444
|
+
${e.tdDown} {
|
|
1445
|
+
display: none;
|
|
1446
|
+
}
|
|
1447
|
+
`,Qt=t.div`
|
|
1448
|
+
display: flex;
|
|
1449
|
+
flex-direction: column;
|
|
1450
|
+
flex: 1;
|
|
1451
|
+
z-index: 1;
|
|
1452
|
+
${e.tdUp} {
|
|
1453
|
+
gap: 8px;
|
|
1454
|
+
}
|
|
1455
|
+
${e.tdDown} {
|
|
1456
|
+
gap: 4px;
|
|
1457
|
+
flex: 1;
|
|
1458
|
+
}
|
|
1459
|
+
`,ei=t.a`
|
|
1460
|
+
text-decoration: none;
|
|
1461
|
+
border-radius: 12px;
|
|
1565
1462
|
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1463
|
+
position: relative;
|
|
1464
|
+
overflow: hidden;
|
|
1465
|
+
display: flex;
|
|
1466
|
+
* {
|
|
1467
|
+
pointer-events: none;
|
|
1468
|
+
}
|
|
1469
|
+
.bg-svg {
|
|
1470
|
+
top: 0;
|
|
1471
|
+
left: 0;
|
|
1472
|
+
position: absolute;
|
|
1473
|
+
}
|
|
1569
1474
|
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1475
|
+
.dot-svg {
|
|
1476
|
+
width: 40px;
|
|
1477
|
+
height: 30px;
|
|
1478
|
+
top: 36px;
|
|
1479
|
+
left: 16px;
|
|
1480
|
+
position: absolute;
|
|
1481
|
+
stroke-width: 0;
|
|
1482
|
+
}
|
|
1576
1483
|
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1484
|
+
&[data-color='pink'] {
|
|
1485
|
+
background: ${e=>e.theme.mbColors.tonePink};
|
|
1486
|
+
.bg-svg {
|
|
1487
|
+
fill: ${e=>e.theme.mbColors.peach};
|
|
1580
1488
|
}
|
|
1581
1489
|
}
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
svg {
|
|
1588
|
-
margin-left: 16px;
|
|
1490
|
+
&[data-color='orange'] {
|
|
1491
|
+
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1492
|
+
.bg-svg {
|
|
1493
|
+
fill: ${e=>e.theme.mbColors.orange};
|
|
1589
1494
|
}
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
justify-self: center;
|
|
1596
|
-
}
|
|
1495
|
+
}
|
|
1496
|
+
&[data-color='green'] {
|
|
1497
|
+
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1498
|
+
.bg-svg {
|
|
1499
|
+
fill: ${e=>e.theme.mbColors.mint};
|
|
1597
1500
|
}
|
|
1598
1501
|
}
|
|
1599
1502
|
|
|
1600
|
-
|
|
1601
|
-
|
|
1503
|
+
padding: 180px 24px 16px;
|
|
1504
|
+
a {
|
|
1505
|
+
display: flex;
|
|
1506
|
+
width: 100%;
|
|
1602
1507
|
}
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1620
|
-
text-decoration: none;
|
|
1621
|
-
}
|
|
1508
|
+
${e.tdDown} {
|
|
1509
|
+
padding-top: 16px;
|
|
1510
|
+
display: flex;
|
|
1511
|
+
align-items: flex-start;
|
|
1512
|
+
justify-content: flex-start;
|
|
1513
|
+
}
|
|
1514
|
+
${e.mbDown} {
|
|
1515
|
+
padding-top: 0;
|
|
1516
|
+
padding-left: 80px;
|
|
1517
|
+
height: 96px;
|
|
1518
|
+
align-items: flex-start;
|
|
1519
|
+
justify-content: center;
|
|
1520
|
+
flex-direction: column;
|
|
1521
|
+
.dot-svg {
|
|
1522
|
+
top: 22px;
|
|
1523
|
+
left: 16px;
|
|
1622
1524
|
}
|
|
1623
1525
|
}
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
`;const ni=t.div`
|
|
1631
|
-
padding: 16px;
|
|
1632
|
-
padding-bottom: 12px;
|
|
1633
|
-
.fake-search-input {
|
|
1634
|
-
pointer-events: none;
|
|
1635
|
-
input {
|
|
1636
|
-
line-height: 20px;
|
|
1637
|
-
padding-top: 10px;
|
|
1638
|
-
padding-bottom: 10px;
|
|
1526
|
+
${e.tdUp} {
|
|
1527
|
+
min-height: 296px;
|
|
1528
|
+
}
|
|
1529
|
+
.mobile-only {
|
|
1530
|
+
${e.tdUp} {
|
|
1531
|
+
display: none;
|
|
1639
1532
|
}
|
|
1640
1533
|
}
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
border-radius: 16px;
|
|
1645
|
-
border: none;
|
|
1534
|
+
.desktop-only {
|
|
1535
|
+
${e.tdDown} {
|
|
1536
|
+
display: none;
|
|
1646
1537
|
}
|
|
1647
1538
|
}
|
|
1539
|
+
`,ti=t.div`
|
|
1540
|
+
width: 48px;
|
|
1541
|
+
height: 48px;
|
|
1542
|
+
background: white;
|
|
1543
|
+
position: absolute;
|
|
1544
|
+
right: 25px;
|
|
1545
|
+
top: 35px;
|
|
1546
|
+
z-index: 3;
|
|
1547
|
+
border-radius: 50%;
|
|
1548
|
+
img {
|
|
1549
|
+
position: absolute;
|
|
1550
|
+
width: 36px;
|
|
1551
|
+
height: 36px;
|
|
1552
|
+
top: 50%;
|
|
1553
|
+
left: 50%;
|
|
1554
|
+
display: block;
|
|
1555
|
+
transform: translate(-50%, -50%);
|
|
1556
|
+
}
|
|
1557
|
+
${e.tdDown} {
|
|
1558
|
+
position: relative;
|
|
1559
|
+
top: unset;
|
|
1560
|
+
right: unset;
|
|
1561
|
+
}
|
|
1562
|
+
${e.mbDown} {
|
|
1563
|
+
position: absolute;
|
|
1564
|
+
left: 32px;
|
|
1565
|
+
top: 28px;
|
|
1566
|
+
}
|
|
1567
|
+
`,ii=t.div`
|
|
1568
|
+
display: flex;
|
|
1569
|
+
align-items: center;
|
|
1570
|
+
background: white;
|
|
1571
|
+
font-weight: 400;
|
|
1572
|
+
font-size: 14px;
|
|
1573
|
+
text-decoration: none;
|
|
1574
|
+
border-radius: 50%;
|
|
1575
|
+
width: 20px;
|
|
1576
|
+
height: 20px;
|
|
1577
|
+
|
|
1578
|
+
svg path {
|
|
1579
|
+
fill: ${e=>e.theme.mbColors.gray};
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
${e.tdDown} {
|
|
1583
|
+
background: none;
|
|
1584
|
+
width: 100%;
|
|
1585
|
+
font-weight: 400;
|
|
1586
|
+
font-size: 12px;
|
|
1587
|
+
line-height: 18px;
|
|
1588
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1589
|
+
padding-left: 16px;
|
|
1590
|
+
}
|
|
1591
|
+
`,oi=t.p`
|
|
1592
|
+
font-weight: 600;
|
|
1593
|
+
font-size: 14px;
|
|
1594
|
+
line-height: 24px;
|
|
1595
|
+
letter-spacing: -0.2px;
|
|
1596
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1597
|
+
`,ai=t.p`
|
|
1598
|
+
font-weight: 400;
|
|
1599
|
+
font-size: 12px;
|
|
1600
|
+
line-height: 18px;
|
|
1601
|
+
letter-spacing: -0.2px;
|
|
1602
|
+
color: ${e=>e.theme.colors.gray600};
|
|
1603
|
+
height: 54px;
|
|
1604
|
+
text-overflow: ellipsis;
|
|
1605
|
+
overflow: hidden;
|
|
1606
|
+
display: -webkit-box;
|
|
1607
|
+
-webkit-line-clamp: 3;
|
|
1608
|
+
-webkit-box-orient: vertical;
|
|
1609
|
+
margin-bottom: auto;
|
|
1610
|
+
${e.tdDown} {
|
|
1611
|
+
display: none;
|
|
1612
|
+
}
|
|
1613
|
+
`,ri=t.div`
|
|
1614
|
+
display: flex;
|
|
1615
|
+
flex: 1;
|
|
1616
|
+
z-index: 1;
|
|
1617
|
+
align-items: flex-end;
|
|
1618
|
+
justify-content: flex-end;
|
|
1619
|
+
${e.tdUp} {
|
|
1620
|
+
gap: 8px;
|
|
1621
|
+
flex-direction: row;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
${e.tdDown} {
|
|
1625
|
+
align-items: flex-start;
|
|
1626
|
+
justify-content: flex-start;
|
|
1627
|
+
gap: 4px;
|
|
1628
|
+
}
|
|
1629
|
+
`,ni=t.div`
|
|
1630
|
+
display: flex;
|
|
1631
|
+
flex-direction: column;
|
|
1632
|
+
flex: 1;
|
|
1633
|
+
z-index: 1;
|
|
1634
|
+
${e.tdUp} {
|
|
1635
|
+
gap: 8px;
|
|
1636
|
+
}
|
|
1637
|
+
${e.tdDown} {
|
|
1638
|
+
gap: 4px;
|
|
1639
|
+
flex: 1;
|
|
1640
|
+
padding-left: 16px;
|
|
1641
|
+
}
|
|
1648
1642
|
`,li=t.div`
|
|
1649
|
-
display:
|
|
1650
|
-
|
|
1643
|
+
display: flex;
|
|
1644
|
+
flex-direction: row;
|
|
1651
1645
|
flex: 1;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1646
|
+
z-index: 1;
|
|
1647
|
+
${e.tdUp} {
|
|
1648
|
+
gap: 8px;
|
|
1649
|
+
justify-content: flex-end;
|
|
1650
|
+
align-items: flex-end;
|
|
1651
|
+
}
|
|
1652
|
+
${e.tdDown} {
|
|
1653
|
+
flex-direction: column;
|
|
1654
|
+
justify-content: flex-start;
|
|
1655
|
+
align-items: flex-start;
|
|
1656
1656
|
}
|
|
1657
1657
|
`,si=t.div`
|
|
1658
1658
|
z-index: 201;
|
|
@@ -1871,4 +1871,4 @@ import{M as e}from"./utils-7254bcc5.js";import t from"styled-components";import{
|
|
|
1871
1871
|
font-weight: 700;
|
|
1872
1872
|
line-height: 22px;
|
|
1873
1873
|
text-decoration: none;
|
|
1874
|
-
`;export{
|
|
1874
|
+
`;export{Yt as $,mt as A,gt as B,ft as C,Le as D,ut as E,bt as F,Se as G,C as H,ht as I,vt as J,Tt as K,Et as L,wt as M,se as N,_t as O,Ot as P,At as Q,It as R,V as S,$e as T,Pt as U,ct as V,$t as W,St as X,kt as Y,Lt as Z,Rt as _,ke as a,Wt as a0,Qt as a1,Zt as a2,Jt as a3,qt as a4,Xt as a5,ei as a6,ri as a7,ti as a8,li as a9,Be as aA,He as aB,Oe as aC,Re as aD,Ze as aE,qe as aF,Ge as aG,Ae as aH,Ie as aI,Ye as aJ,Ve as aK,H as aL,D as aM,M as aN,Me as aO,Fe as aP,ni as aa,oi as ab,ai as ac,ii as ad,Kt as ae,et as af,tt as ag,it as ah,si as ai,pi as aj,di as ak,ci as al,mi as am,gi as an,hi as ao,Qe as ap,ui as aq,G as ar,S as as,k as at,B as au,We as av,je as aw,Ue as ax,Te as ay,P as az,R as b,j as c,Y as d,K as e,W as f,X as g,F as h,q as i,J as j,pe as k,he as l,ue as m,te as n,ie as o,ee as p,Je as q,ot as r,at as s,nt as t,rt as u,lt as v,dt as w,st as x,pt as y,yt as z};
|