@hhgtech/hhg-components 1.26.31 → 1.26.32-beta-2
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/mantine/indicator/index.d.ts +1 -1
- package/build/components/navigationV2/components/atoms/ItemNav/index.d.ts +4 -0
- package/build/components/navigationV2/components/molecules/Categories/index.d.ts +1 -1
- package/build/components/navigationV2/types.d.ts +1 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-fd6b1856.js → core-4e1730c6.js} +1 -1
- package/build/{dataTransform-c77efbca.js → dataTransform-9641a08e.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -6
- 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-183376fd.js → core-cdaac39e.js} +1 -1
- package/build/esm/{dataTransform-514f288b.js → dataTransform-8f58cd04.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-8428ba22.js +1 -0
- package/build/esm/{getSocialList-93d65cfb.js → getSocialList-845cce27.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-cfa05a92.js → index-12045e5f.js} +1 -1
- package/build/esm/{index-a48bc70b.js → index-12b690a7.js} +1 -1
- package/build/esm/{index-3216ea66.js → index-13e7e45e.js} +1 -1
- package/build/esm/{index-3e160bee.js → index-210b08e2.js} +1 -1
- package/build/esm/{index-acb37847.js → index-53b8036f.js} +1 -1
- package/build/esm/index-5b654472.js +1 -0
- package/build/esm/{index-3688b238.js → index-6ca580ca.js} +1 -1
- package/build/esm/{index-16563b85.js → index-7361a4a2.js} +1 -1
- package/build/esm/index-7421fe20.js +1 -0
- package/build/esm/{index-8006b92c.js → index-7d544b11.js} +1 -1
- package/build/esm/{index-914b912c.js → index-85452dc2.js} +1 -1
- package/build/esm/{index-d8ac98c7.js → index-875e11d2.js} +1 -1
- package/build/esm/index-9bfdb571.js +1 -0
- package/build/esm/{index-38307fd2.js → index-a11191cf.js} +1 -1
- package/build/esm/{index-59d97f1e.js → index-addbe463.js} +1 -1
- package/build/esm/index-af0c9679.js +1 -0
- package/build/esm/index-b3cd4480.js +1 -0
- package/build/esm/index-b94b87f0.js +1 -0
- package/build/esm/{index-90e64f6f.js → index-c03f14ee.js} +2 -2
- package/build/esm/{index-2502d664.js → index-cd5f6651.js} +1 -1
- package/build/esm/{index-33189d1d.js → index-cd7fa300.js} +1 -1
- package/build/esm/{index-67d59e38.js → index-d5cd641c.js} +1 -1
- package/build/esm/{index-181f2983.js → index-fba4c3b3.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-e663f4c1.js → index.styled-421891df.js} +1 -1
- package/build/esm/{index.styled-cb3fc452.js → index.styled-6b158c03.js} +4 -4
- package/build/esm/{index.styled-144dc885.js → index.styled-71012e66.js} +1 -1
- package/build/esm/{index.styled-1c726e6d.js → index.styled-824ef220.js} +1 -1
- package/build/esm/{index.styled-bf89adc1.js → index.styled-f74f855c.js} +685 -682
- 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 +5 -5
- package/build/esm/{routing-b9f63225.js → routing-cbf29bcf.js} +1 -1
- package/build/esm/{screenSizeContext-105f85ba.js → screenSizeContext-083649b4.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-62579f35.js → translationsContext-32362844.js} +1 -1
- package/build/esm/translationsProvider-5703222f.js +1 -0
- package/build/esm/{types-da43ce66.js → types-dca759f2.js} +1 -1
- package/build/esm/{types-f57d5124.js → types-e105f816.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useHealthToolCache-8af3fe59.js → useHealthToolCache-c85156b3.js} +1 -1
- package/build/esm/{useRafState-483760ae.js → useRafState-135dd8f0.js} +1 -1
- package/build/esm/{useTranslations-a023346a.js → useTranslations-5c133072.js} +1 -1
- package/build/esm/{utils-d3228d26.js → utils-431a28fb.js} +4 -4
- package/build/esm/vaccination.js +2 -2
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-42c94956.js → getDynamicHealthTool-44bc1e81.js} +1 -1
- package/build/{getSocialList-0b078dcc.js → getSocialList-f7c5b400.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-31e34e1e.js → index-0601fce7.js} +1 -1
- package/build/{index-b0791758.js → index-17f0feeb.js} +1 -1
- package/build/{index-11313593.js → index-18b6d082.js} +1 -1
- package/build/{index-134463cd.js → index-20fefe69.js} +1 -1
- package/build/{index-5203eb63.js → index-275406e1.js} +1 -1
- package/build/index-33951983.js +1 -0
- package/build/{index-f1c05a76.js → index-3a1489d4.js} +1 -1
- package/build/{index-709f8827.js → index-49afb364.js} +1 -1
- package/build/{index-e9cde2bc.js → index-5c0c5cf4.js} +1 -1
- package/build/{index-6e8e1738.js → index-6313fd13.js} +1 -1
- package/build/{index-5b88835f.js → index-6be8ae97.js} +1 -1
- package/build/{index-ab0f0297.js → index-71c52f96.js} +1 -1
- package/build/index-7d4085c1.js +1 -0
- package/build/{index-23476eb6.js → index-94cc4c47.js} +1 -1
- package/build/{index-325d036c.js → index-9638ef3f.js} +1 -1
- package/build/{index-b3ed214a.js → index-b0a417df.js} +1 -1
- package/build/{index-a387f5a7.js → index-d1e2661e.js} +1 -1
- package/build/{index-f1179f7d.js → index-e0741f27.js} +1 -1
- package/build/{index-7c1f4fd1.js → index-e2d58144.js} +2 -2
- package/build/{index-cc943387.js → index-e48fc213.js} +1 -1
- package/build/index-ebe7d2f7.js +1 -0
- package/build/{index-a4c69b42.js → index-f0dad980.js} +1 -1
- package/build/{index-2ea8e2ee.js → index-f9fe8549.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-6405074f.js → index.styled-10696009.js} +1 -1
- package/build/{index.styled-3d67f300.js → index.styled-39221ff2.js} +1 -1
- package/build/index.styled-69ddd2bd.js +50 -0
- package/build/{index.styled-82abb2ad.js → index.styled-8fdad2b2.js} +549 -546
- package/build/{index.styled-ad5b256f.js → index.styled-d800baec.js} +1 -1
- package/build/interfaces/constants/index.d.ts +1 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +2 -2
- package/build/{routing-c279124f.js → routing-bce20027.js} +1 -1
- package/build/{screenSizeContext-ba96b2e9.js → screenSizeContext-835b83c5.js} +10 -10
- package/build/together.js +1 -1
- package/build/{translationsContext-06134cea.js → translationsContext-3f764cdd.js} +1 -1
- package/build/translationsProvider-f7043d6d.js +1 -0
- package/build/{types-cb070ef9.js → types-ea72a94d.js} +1 -1
- package/build/{types-e5834970.js → types-eb44c431.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-b812a9b5.js +1 -0
- package/build/{useRafState-8e1cc4d7.js → useRafState-667e3413.js} +1 -1
- package/build/useTranslations-8e1ecf61.js +1 -0
- package/build/{utils-5e16ab4f.js → utils-0e01d462.js} +1 -1
- package/build/vaccination.js +2 -2
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-a05b7b4f.js +0 -1
- package/build/esm/index-6c61f9c8.js +0 -1
- package/build/esm/index-ebf2d261.js +0 -1
- package/build/esm/index-f119d8c9.js +0 -1
- package/build/esm/index-f9965a6e.js +0 -1
- package/build/esm/index-fe1d8c68.js +0 -1
- package/build/esm/translationsProvider-9cf5513e.js +0 -1
- package/build/index-50a69fb3.js +0 -1
- package/build/index-9cd39e39.js +0 -1
- package/build/index.styled-bceeafde.js +0 -50
- package/build/translationsProvider-aaf83093.js +0 -1
- package/build/useHealthToolCache-02e4a5cc.js +0 -1
- package/build/useTranslations-7f1a5f7b.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-506cf0c7.js → BMI_BOYS.percentile.monthly-77d703ea.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-7d072b1f.js → BMI_BOYS.percentile.weekly-2780af8a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-220a5956.js → BMI_BOYS.percentile.yearly-d5f80e81.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b9edb014.js → BMI_BOYS.zscore.monthly-afce59fb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a8981340.js → BMI_BOYS.zscore.weekly-0f6aef62.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-5248c0af.js → BMI_BOYS.zscore.yearly-81cdebe4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-46f9ed01.js → BMI_GIRLS.percentile.monthly-c32d22bd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-3d8325ef.js → BMI_GIRLS.percentile.weekly-00acbfc8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-02aea12c.js → BMI_GIRLS.percentile.yearly-4cffd8cc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-50916e9a.js → BMI_GIRLS.zscore.monthly-0e37ee72.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-676f070e.js → BMI_GIRLS.zscore.weekly-1f062b41.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9be7ff5b.js → BMI_GIRLS.zscore.yearly-9bb1fc44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b3ce5803.js → HEAD CIRCUM_BOYS.percentile.monthly-a202fb3d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-73aa1c06.js → HEAD CIRCUM_BOYS.percentile.weekly-4d71516a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-fc086e8c.js → HEAD CIRCUM_BOYS.percentile.yearly-826dc0c4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e5fbeea1.js → HEAD CIRCUM_BOYS.zscore.monthly-a46de2c5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9088b42d.js → HEAD CIRCUM_BOYS.zscore.weekly-c014ff81.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0ef2c5c3.js → HEAD CIRCUM_BOYS.zscore.yearly-3521671e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0ffb94dd.js → HEAD CIRCUM_GIRLS.percentile.monthly-1b5cd888.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e6a6b77f.js → HEAD CIRCUM_GIRLS.percentile.weekly-3fc1d41f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-23f46fcf.js → HEAD CIRCUM_GIRLS.percentile.yearly-9025b097.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-35838359.js → HEAD CIRCUM_GIRLS.zscore.monthly-5187e532.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-49791903.js → HEAD CIRCUM_GIRLS.zscore.weekly-c778d953.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4b20d435.js → HEAD CIRCUM_GIRLS.zscore.yearly-86132162.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0f54daf7.js → HEIGHT_BOYS.percentile.monthly-5304d3f5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-13eb2637.js → HEIGHT_BOYS.percentile.weekly-0e77f5a1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b57a211f.js → HEIGHT_BOYS.percentile.yearly-8ffd3621.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b3d10410.js → HEIGHT_BOYS.zscore.monthly-53fd207b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-3dccb775.js → HEIGHT_BOYS.zscore.weekly-fb269e8e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-d312ad40.js → HEIGHT_BOYS.zscore.yearly-7227d231.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-71718210.js → HEIGHT_GIRLS.percentile.monthly-5ffd342c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-843ed1df.js → HEIGHT_GIRLS.percentile.weekly-a13347f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-f5b958b6.js → HEIGHT_GIRLS.percentile.yearly-7aa9c817.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-251aac7b.js → HEIGHT_GIRLS.zscore.monthly-af162118.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-7cbb3ac9.js → HEIGHT_GIRLS.zscore.weekly-86527603.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e9062b9a.js → HEIGHT_GIRLS.zscore.yearly-5821dfdb.js} +0 -0
- /package/build/{Onboarding-6cbdd59e.js → Onboarding-b74ab644.js} +0 -0
- /package/build/{Visible-d5d87249.js → Visible-72b42468.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-628b9284.js → WEIGHT_BOYS.percentile.monthly-34204340.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7d7e5fe0.js → WEIGHT_BOYS.percentile.weekly-0400660f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-c4d82702.js → WEIGHT_BOYS.percentile.yearly-c25ca250.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-79ca4570.js → WEIGHT_BOYS.zscore.monthly-3b4d88c0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b61a1439.js → WEIGHT_BOYS.zscore.weekly-5ebd0d07.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-963271e5.js → WEIGHT_BOYS.zscore.yearly-72aadb65.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-7de51dd5.js → WEIGHT_GIRLS.percentile.monthly-130b0873.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-83652a34.js → WEIGHT_GIRLS.percentile.weekly-084a2d9e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-5be4055d.js → WEIGHT_GIRLS.percentile.yearly-c2691903.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-9de296f7.js → WEIGHT_GIRLS.zscore.monthly-2fae59c3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-37a74258.js → WEIGHT_GIRLS.zscore.weekly-614b6501.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-d027e5ea.js → WEIGHT_GIRLS.zscore.yearly-3359836f.js} +0 -0
- /package/build/{constants-f889ed38.js → constants-55306fb8.js} +0 -0
- /package/build/{cookieHelper-efb518f3.js → cookieHelper-016e76ce.js} +0 -0
- /package/build/{dataTransform-86bcc033.js → dataTransform-f644e5b4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-30a0bffe.js → BMI_BOYS.percentile.monthly-e381f75e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a011f3bd.js → BMI_BOYS.percentile.weekly-cbb1f91b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-1da9ea0d.js → BMI_BOYS.percentile.yearly-0037d151.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-abf318d4.js → BMI_BOYS.zscore.monthly-d28037b6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-89a26ffd.js → BMI_BOYS.zscore.weekly-5f99562f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9f30b915.js → BMI_BOYS.zscore.yearly-796b5950.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c60e4b74.js → BMI_GIRLS.percentile.monthly-85eafd50.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-e345f2cf.js → BMI_GIRLS.percentile.weekly-324e73ec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-022c6858.js → BMI_GIRLS.percentile.yearly-bba18388.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-2c75d68e.js → BMI_GIRLS.zscore.monthly-f062f848.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f0bf251c.js → BMI_GIRLS.zscore.weekly-dfc886e3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0e7b1a76.js → BMI_GIRLS.zscore.yearly-c255a1e9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-36c94b17.js → HEAD CIRCUM_BOYS.percentile.monthly-2e888d39.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-65251850.js → HEAD CIRCUM_BOYS.percentile.weekly-0ae149f6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e7ed9251.js → HEAD CIRCUM_BOYS.percentile.yearly-a7157a46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d7e16652.js → HEAD CIRCUM_BOYS.zscore.monthly-b9b09896.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-d6d6926b.js → HEAD CIRCUM_BOYS.zscore.weekly-7c64c555.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-ad70514f.js → HEAD CIRCUM_BOYS.zscore.yearly-bc6a0940.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d3ca6ee3.js → HEAD CIRCUM_GIRLS.percentile.monthly-08fe9988.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-38cc2399.js → HEAD CIRCUM_GIRLS.percentile.weekly-38615fa4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-9a018eeb.js → HEAD CIRCUM_GIRLS.percentile.yearly-5248b028.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1ce9387d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e67cbd87.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c8644151.js → HEAD CIRCUM_GIRLS.zscore.weekly-1f56d501.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ba8322fa.js → HEAD CIRCUM_GIRLS.zscore.yearly-43cf084b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-489a7c44.js → HEIGHT_BOYS.percentile.monthly-779eb6d1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fd32e784.js → HEIGHT_BOYS.percentile.weekly-6dcdca8f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-9b89adea.js → HEIGHT_BOYS.percentile.yearly-5e1e9a3f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-92eb1208.js → HEIGHT_BOYS.zscore.monthly-021f8a1a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-02205d6b.js → HEIGHT_BOYS.zscore.weekly-c5e36b0e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-84918972.js → HEIGHT_BOYS.zscore.yearly-7cfa5fd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-96a97ecc.js → HEIGHT_GIRLS.percentile.monthly-c507badb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-19821dd4.js → HEIGHT_GIRLS.percentile.weekly-8dd416b5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-83f16b30.js → HEIGHT_GIRLS.percentile.yearly-445e8eb1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-22929319.js → HEIGHT_GIRLS.zscore.monthly-3774402b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3a31426c.js → HEIGHT_GIRLS.zscore.weekly-dd38f12a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-59a556fa.js → HEIGHT_GIRLS.zscore.yearly-2553fcc2.js} +0 -0
- /package/build/esm/{Onboarding-a5c326ba.js → Onboarding-3aa9491b.js} +0 -0
- /package/build/esm/{Visible-89aadf7e.js → Visible-442efe1c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-e460274b.js → WEIGHT_BOYS.percentile.monthly-e39eaba8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-da73f327.js → WEIGHT_BOYS.percentile.weekly-bf1a92b8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-54dd2f78.js → WEIGHT_BOYS.percentile.yearly-ed6558f6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a591c179.js → WEIGHT_BOYS.zscore.monthly-2f0ee7f0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e8c5dda7.js → WEIGHT_BOYS.zscore.weekly-8d46732e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0b973e21.js → WEIGHT_BOYS.zscore.yearly-93186768.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-8f6be63d.js → WEIGHT_GIRLS.percentile.monthly-cd972f6a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ccd6006e.js → WEIGHT_GIRLS.percentile.weekly-5568a07b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1c9883a9.js → WEIGHT_GIRLS.percentile.yearly-3ba2b328.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7526705c.js → WEIGHT_GIRLS.zscore.monthly-ed103009.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a1a7bc18.js → WEIGHT_GIRLS.zscore.weekly-41d61f9e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7e9bbeb7.js → WEIGHT_GIRLS.zscore.yearly-070c825f.js} +0 -0
- /package/build/esm/{constants-0037740d.js → constants-f46fd028.js} +0 -0
- /package/build/esm/{cookieHelper-da7099ba.js → cookieHelper-33b20dff.js} +0 -0
- /package/build/esm/{dataTransform-d90ebdc4.js → dataTransform-a2916ffa.js} +0 -0
- /package/build/esm/{index-53c20e15.js → index-264015c3.js} +0 -0
- /package/build/esm/{index-928369d3.js → index-c6ca3900.js} +0 -0
- /package/build/esm/{isProduction-c6e4538c.js → isProduction-f1e78607.js} +0 -0
- /package/build/esm/{localizeNumberFormat-43268634.js → localizeNumberFormat-4d022666.js} +0 -0
- /package/build/esm/{normalizeLink-51524ce7.js → normalizeLink-5a7528d6.js} +0 -0
- /package/build/esm/{theme-8bbc700f.js → theme-f957df6b.js} +0 -0
- /package/build/esm/{tslib.es6-cc8133e8.js → tslib.es6-d3fb745e.js} +0 -0
- /package/build/esm/{types-2d40ebbc.js → types-b73572b7.js} +0 -0
- /package/build/esm/{useIsInit-682f9453.js → useIsInit-0a74e07e.js} +0 -0
- /package/build/esm/{useOutsideClick-21d134a4.js → useOutsideClick-122bfbea.js} +0 -0
- /package/build/esm/{useScrollbarSize-5e6f3bbc.js → useScrollbarSize-a2e163d3.js} +0 -0
- /package/build/esm/{useUniqueId-d26dcaf1.js → useUniqueId-ba157c33.js} +0 -0
- /package/build/esm/{utils-1b37b770.js → utils-2abea8ff.js} +0 -0
- /package/build/{index-95733fe0.js → index-5071e39b.js} +0 -0
- /package/build/{index-8d2ef3a7.js → index-8bfa0160.js} +0 -0
- /package/build/{isProduction-cc4e1d7e.js → isProduction-126d6056.js} +0 -0
- /package/build/{localizeNumberFormat-6f03698a.js → localizeNumberFormat-ce91b881.js} +0 -0
- /package/build/{normalizeLink-ce85f375.js → normalizeLink-35223e44.js} +0 -0
- /package/build/{theme-b1f14165.js → theme-e17bfd13.js} +0 -0
- /package/build/{tslib.es6-f7542164.js → tslib.es6-c11a18fb.js} +0 -0
- /package/build/{types-20930816.js → types-8c13d577.js} +0 -0
- /package/build/{useIsInit-0355d472.js → useIsInit-60502e79.js} +0 -0
- /package/build/{useOutsideClick-9d67f54b.js → useOutsideClick-db0c6ec2.js} +0 -0
- /package/build/{useScrollbarSize-c0fbba1f.js → useScrollbarSize-df072c4d.js} +0 -0
- /package/build/{useUniqueId-6a7e6f64.js → useUniqueId-8ff1cc67.js} +0 -0
- /package/build/{utils-a7d7d91f.js → utils-105f4a2e.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-
|
|
1
|
+
"use strict";var e=require("./utils-105f4a2e.js"),t=require("styled-components"),i=require("./theme-e17bfd13.js"),o=require("./index.styled-d800baec.js"),a=require("react"),r=require("./useTranslations-8e1ecf61.js"),l=require("./gAssets.js"),n=require("./tslib.es6-c11a18fb.js"),s=require("./index-f9fe8549.js"),d=require("./cookieHelper-016e76ce.js"),p=require("slugify"),u=require("string-format"),c=require("./isProduction-126d6056.js"),m=require("./routing-bce20027.js"),g=require("dayjs"),h=require("dayjs/plugin/relativeTime");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=x(t),b=x(a),y=x(p),_=x(u),v=x(g),w=x(h);const E=f.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -472,404 +472,7 @@
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={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}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"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"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=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),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(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 Ie(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 Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=f.default.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;
|
|
490
|
-
}
|
|
491
|
-
`;f.default.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;
|
|
500
|
-
|
|
501
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
502
|
-
|
|
503
|
-
.button-image {
|
|
504
|
-
stroke-color: blue;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
&[data-site-type='marryBaby'] {
|
|
508
|
-
padding: 0 16px;
|
|
509
|
-
.category-button {
|
|
510
|
-
width: 100%;
|
|
511
|
-
height: 48px;
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
`,f.default.div`
|
|
515
|
-
display: flex;
|
|
516
|
-
|
|
517
|
-
&[data-card-array-no-margin-style='true'] {
|
|
518
|
-
margin: 8px 0;
|
|
519
|
-
|
|
520
|
-
& > div {
|
|
521
|
-
width: 0;
|
|
522
|
-
flex: 1;
|
|
523
|
-
margin: 0 -1px;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
&[data-card-array-no-margin-style='false'] {
|
|
528
|
-
margin: 8px -4px;
|
|
529
|
-
|
|
530
|
-
& > div {
|
|
531
|
-
flex: 1;
|
|
532
|
-
margin: 0 4px;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
`,f.default.div`
|
|
536
|
-
margin-top: 64px;
|
|
537
|
-
`,f.default.div`
|
|
538
|
-
padding: 24px 0;
|
|
539
|
-
`,f.default.div`
|
|
540
|
-
display: flex;
|
|
541
|
-
width: 100%;
|
|
542
|
-
align-items: center;
|
|
543
|
-
justify-content: center;
|
|
544
|
-
|
|
545
|
-
& > div:first-child {
|
|
546
|
-
margin-right: 8px;
|
|
547
|
-
}
|
|
548
|
-
`,f.default.div`
|
|
549
|
-
z-index: ${re};
|
|
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
|
-
`,f.default.div`
|
|
558
|
-
position: relative;
|
|
559
|
-
display: flex;
|
|
560
|
-
flex-wrap: wrap;
|
|
561
|
-
align-items: flex-start;
|
|
562
|
-
justify-content: flex-start;
|
|
563
|
-
padding: 48px 0;
|
|
564
|
-
`,f.default.div`
|
|
565
|
-
position: relative;
|
|
566
|
-
display: flex;
|
|
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;
|
|
572
|
-
}
|
|
573
|
-
`,f.default.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;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
& > a:hover {
|
|
586
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.iconMenu {
|
|
590
|
-
display: flex;
|
|
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;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
`,f.default.div`
|
|
602
|
-
display: none;
|
|
603
|
-
`,f.default.div`
|
|
604
|
-
width: 33%;
|
|
605
|
-
height: 48px;
|
|
606
|
-
padding-right: 16px;
|
|
607
|
-
margin-bottom: 12px;
|
|
608
|
-
|
|
609
|
-
& > a {
|
|
610
|
-
display: flex;
|
|
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;
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
& > a > p:hover {
|
|
623
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
624
|
-
}
|
|
625
|
-
`,f.default.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};
|
|
638
|
-
}
|
|
639
|
-
`,f.default.div`
|
|
640
|
-
display: flex;
|
|
641
|
-
align-items: center;
|
|
642
|
-
|
|
643
|
-
margin-left: 10px;
|
|
644
|
-
`,f.default.div`
|
|
645
|
-
position: absolute;
|
|
646
|
-
top: 16px;
|
|
647
|
-
right: 0;
|
|
648
|
-
display: flex;
|
|
649
|
-
align-items: center;
|
|
650
|
-
cursor: pointer;
|
|
651
|
-
`,f.default.div`
|
|
652
|
-
display: block;
|
|
653
|
-
`,f.default.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
|
-
}
|
|
664
|
-
}
|
|
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);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.amp__menu-header {
|
|
693
|
-
display: grid;
|
|
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
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.logo {
|
|
710
|
-
margin: 22px 0;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.categories {
|
|
714
|
-
margin: 0 16px;
|
|
715
|
-
|
|
716
|
-
li {
|
|
717
|
-
display: block;
|
|
718
|
-
width: 100%;
|
|
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
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
`,f.default.div`
|
|
734
|
-
width: 20%;
|
|
735
|
-
height: 2px;
|
|
736
|
-
|
|
737
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
738
|
-
border-radius: 2px;
|
|
739
|
-
`;const De=f.default.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
|
-
}
|
|
749
|
-
}
|
|
750
|
-
&[data-theme='marryBaby'] {
|
|
751
|
-
input {
|
|
752
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
753
|
-
border-radius: 16px;
|
|
754
|
-
border: none;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
`,Me=f.default.div`
|
|
758
|
-
display: block;
|
|
759
|
-
overflow-y: auto;
|
|
760
|
-
flex: 1;
|
|
761
|
-
padding-bottom: 16px;
|
|
762
|
-
&::-webkit-scrollbar {
|
|
763
|
-
width: 0;
|
|
764
|
-
display: none;
|
|
765
|
-
}
|
|
766
|
-
`,Re=a.memo((()=>b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),ke=f.default.div`
|
|
767
|
-
padding-right: 1rem;
|
|
768
|
-
margin-top: 10px;
|
|
769
|
-
background: #ffffff;
|
|
770
|
-
padding: 5px 15px;
|
|
771
|
-
${e.MediaQueries.mbUp} {
|
|
772
|
-
border-right: 1px solid #e4e8ec;
|
|
773
|
-
}
|
|
774
|
-
`,Pe=f.default.a`
|
|
775
|
-
padding: 10px 0;
|
|
776
|
-
position: relative;
|
|
777
|
-
|
|
778
|
-
display: flex;
|
|
779
|
-
align-items: center;
|
|
780
|
-
text-decoration: none;
|
|
781
|
-
color: ${e=>e.theme.colors.gray800};
|
|
782
|
-
* {
|
|
783
|
-
pointer-events: none;
|
|
784
|
-
}
|
|
785
|
-
p {
|
|
786
|
-
font-size: 16px;
|
|
787
|
-
font-weight: 400;
|
|
788
|
-
padding: 0 0.4rem;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
&[data-theme='marryBaby']:hover {
|
|
792
|
-
p {
|
|
793
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
794
|
-
}
|
|
795
|
-
.icon {
|
|
796
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
&[data-theme='helloSite']:hover {
|
|
800
|
-
p {
|
|
801
|
-
color: ${e=>e.theme.colors.primaryActive};
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
a {
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
&[data-theme='marryBaby'] {
|
|
808
|
-
.icon {
|
|
809
|
-
display: flex;
|
|
810
|
-
align-items: center;
|
|
811
|
-
justify-content: center;
|
|
812
|
-
max-width: 40px;
|
|
813
|
-
width: 100%;
|
|
814
|
-
height: 40px;
|
|
815
|
-
border-radius: 50%;
|
|
816
|
-
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
817
|
-
img {
|
|
818
|
-
border-radius: 50%;
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
`,Ge=f.default.div`
|
|
823
|
-
margin: 15px 0;
|
|
824
|
-
${e.MediaQueries.mbDown} {
|
|
825
|
-
display: none;
|
|
826
|
-
}
|
|
827
|
-
`,Ne=f.default.div`
|
|
828
|
-
display: flex;
|
|
829
|
-
position: absolute;
|
|
830
|
-
right: 0;
|
|
831
|
-
${e.MediaQueries.mbUp} {
|
|
832
|
-
display: none;
|
|
833
|
-
}
|
|
834
|
-
`,Ue=f.default.div`
|
|
835
|
-
display: flex;
|
|
836
|
-
align-items: center;
|
|
837
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
838
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
839
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
840
|
-
line-height: 24px;
|
|
841
|
-
font-size: 14px;
|
|
842
|
-
font-weight: 600;
|
|
843
|
-
&[data-event-category] * {
|
|
844
|
-
pointer-events: none;
|
|
845
|
-
}
|
|
846
|
-
&[data-theme='marryBaby'] {
|
|
847
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
848
|
-
}
|
|
849
|
-
`,Be=f.default.div`
|
|
850
|
-
display: flex;
|
|
851
|
-
align-items: center;
|
|
852
|
-
margin-left: 10px;
|
|
853
|
-
`,He=f.default.a`
|
|
854
|
-
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
855
|
-
&[data-theme='marryBaby'] {
|
|
856
|
-
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
857
|
-
|
|
858
|
-
svg path {
|
|
859
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
position: relative;
|
|
863
|
-
display: flex;
|
|
864
|
-
align-items: center;
|
|
865
|
-
justify-content: center;
|
|
866
|
-
padding: 6px;
|
|
867
|
-
border-radius: 5px;
|
|
868
|
-
margin-top: 20px;
|
|
869
|
-
${e.MediaQueries.mbDown} {
|
|
870
|
-
display: none;
|
|
871
|
-
}
|
|
872
|
-
`;f.default.div`
|
|
475
|
+
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={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}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"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"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=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),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(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 Ie(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 Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=a.memo((()=>b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))));f.default.div`
|
|
873
476
|
& > a:not(:last-child) > div {
|
|
874
477
|
border-bottom: 1px solid
|
|
875
478
|
${e=>e.theme.colors.neutral100};
|
|
@@ -882,7 +485,7 @@
|
|
|
882
485
|
&[data-is-displayed='false'] {
|
|
883
486
|
display: none;
|
|
884
487
|
}
|
|
885
|
-
`;const
|
|
488
|
+
`;const De=f.default.div`
|
|
886
489
|
display: grid;
|
|
887
490
|
|
|
888
491
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -891,7 +494,7 @@
|
|
|
891
494
|
${e.MediaQueries.tdDown} {
|
|
892
495
|
grid-template-columns: repeat(1, 1fr);
|
|
893
496
|
}
|
|
894
|
-
`,
|
|
497
|
+
`,Me=f.default.div`
|
|
895
498
|
height: 152px; // 120 + 16 * 2
|
|
896
499
|
position: absolute;
|
|
897
500
|
top: 0;
|
|
@@ -922,12 +525,12 @@
|
|
|
922
525
|
${e.MediaQueries.mbDown} {
|
|
923
526
|
width: 80px;
|
|
924
527
|
}
|
|
925
|
-
`,
|
|
528
|
+
`,Re=f.default.div`
|
|
926
529
|
background-color: #ffffff;
|
|
927
530
|
border-radius: 4px;
|
|
928
531
|
width: 100%;
|
|
929
532
|
height: 100%;
|
|
930
|
-
`,
|
|
533
|
+
`,ke=f.default.div`
|
|
931
534
|
display: flex;
|
|
932
535
|
margin-top: 1rem;
|
|
933
536
|
align-items: center;
|
|
@@ -938,7 +541,7 @@
|
|
|
938
541
|
${e.MediaQueries.tdDown} {
|
|
939
542
|
display: none;
|
|
940
543
|
}
|
|
941
|
-
`,
|
|
544
|
+
`,Pe=f.default.p`
|
|
942
545
|
font-size: 16px;
|
|
943
546
|
font-weight: 600;
|
|
944
547
|
line-height: 1.6;
|
|
@@ -946,7 +549,7 @@
|
|
|
946
549
|
${e.MediaQueries.tdDown} {
|
|
947
550
|
padding: 0;
|
|
948
551
|
}
|
|
949
|
-
`,
|
|
552
|
+
`,Ge=f.default.p`
|
|
950
553
|
font-size: 14px;
|
|
951
554
|
line-height: 1.6;
|
|
952
555
|
font-weight: 400;
|
|
@@ -962,7 +565,7 @@
|
|
|
962
565
|
height: unset;
|
|
963
566
|
padding: 0;
|
|
964
567
|
}
|
|
965
|
-
`,
|
|
568
|
+
`,Ne=f.default.div`
|
|
966
569
|
display: flex;
|
|
967
570
|
flex-direction: column;
|
|
968
571
|
gap: 8px;
|
|
@@ -971,7 +574,7 @@
|
|
|
971
574
|
${e.MediaQueries.tdDown} {
|
|
972
575
|
gap: 4px;
|
|
973
576
|
}
|
|
974
|
-
`,
|
|
577
|
+
`,Ue="hhgcomp-navigation-menucareitem-contentwrapper",Be=o.getDefaultClassWrapper(Ne,Ue),He=f.default.a`
|
|
975
578
|
text-decoration: none;
|
|
976
579
|
border-radius: 4px;
|
|
977
580
|
background: ${i.theme.colors.white};
|
|
@@ -1004,7 +607,7 @@
|
|
|
1004
607
|
max-height: 110px;
|
|
1005
608
|
display: flex;
|
|
1006
609
|
flex-direction: row-reverse;
|
|
1007
|
-
> .${
|
|
610
|
+
> .${Ue} {
|
|
1008
611
|
flex: 1;
|
|
1009
612
|
}
|
|
1010
613
|
img {
|
|
@@ -1033,7 +636,7 @@
|
|
|
1033
636
|
position: absolute;
|
|
1034
637
|
display: inline-block;
|
|
1035
638
|
}
|
|
1036
|
-
`,
|
|
639
|
+
`,ze=f.default.div`
|
|
1037
640
|
padding: 16px;
|
|
1038
641
|
border-radius: 8px;
|
|
1039
642
|
position: relative;
|
|
@@ -1065,26 +668,26 @@
|
|
|
1065
668
|
grid-gap: 10px;
|
|
1066
669
|
grid-template-columns: 1fr 3fr;
|
|
1067
670
|
}
|
|
1068
|
-
`,
|
|
671
|
+
`,Qe=f.default.div`
|
|
1069
672
|
font-weight: 400;
|
|
1070
673
|
font-size: 14px;
|
|
1071
674
|
line-height: 24px;
|
|
1072
675
|
color: ${e=>e.theme.colors.gray600};
|
|
1073
676
|
margin-bottom: 15px;
|
|
1074
|
-
`,
|
|
677
|
+
`,je=f.default.div`
|
|
1075
678
|
font-weight: 600;
|
|
1076
679
|
font-size: 16px;
|
|
1077
680
|
line-height: 26px;
|
|
1078
681
|
color: #000000;
|
|
1079
682
|
margin-bottom: 4px;
|
|
1080
|
-
`,
|
|
683
|
+
`,Fe=f.default.div`
|
|
1081
684
|
background: #fff;
|
|
1082
685
|
padding: 5px;
|
|
1083
686
|
display: flex;
|
|
1084
687
|
align-items: center;
|
|
1085
688
|
justify-content: center;
|
|
1086
689
|
border-radius: 50px;
|
|
1087
|
-
`,
|
|
690
|
+
`,Ve=f.default.div`
|
|
1088
691
|
display: flex;
|
|
1089
692
|
justify-content: center;
|
|
1090
693
|
align-items: center;
|
|
@@ -1093,7 +696,7 @@
|
|
|
1093
696
|
justify-content: end;
|
|
1094
697
|
min-height: 100px;
|
|
1095
698
|
}
|
|
1096
|
-
`,
|
|
699
|
+
`,We=f.default.div`
|
|
1097
700
|
margin-top: 10px;
|
|
1098
701
|
background: #ffffff;
|
|
1099
702
|
padding: 5px 15px;
|
|
@@ -1109,10 +712,10 @@
|
|
|
1109
712
|
content: '';
|
|
1110
713
|
}
|
|
1111
714
|
}
|
|
1112
|
-
`,
|
|
715
|
+
`,Ye=f.default.div`
|
|
1113
716
|
margin: 15px 0;
|
|
1114
717
|
display: flex;
|
|
1115
|
-
`,
|
|
718
|
+
`,Ke=f.default.a`
|
|
1116
719
|
padding-left: 10px;
|
|
1117
720
|
display: flex;
|
|
1118
721
|
align-items: center;
|
|
@@ -1127,7 +730,113 @@
|
|
|
1127
730
|
padding-left: 5px;
|
|
1128
731
|
}
|
|
1129
732
|
${e.MediaQueries.mbDown} {
|
|
1130
|
-
margin-left: auto;
|
|
733
|
+
margin-left: auto;
|
|
734
|
+
}
|
|
735
|
+
`,qe=f.default.div`
|
|
736
|
+
padding-right: 1rem;
|
|
737
|
+
margin-top: 10px;
|
|
738
|
+
background: #ffffff;
|
|
739
|
+
padding: 5px 15px;
|
|
740
|
+
${e.MediaQueries.mbUp} {
|
|
741
|
+
border-right: 1px solid #e4e8ec;
|
|
742
|
+
}
|
|
743
|
+
`,Xe=f.default.a`
|
|
744
|
+
padding: 10px 0;
|
|
745
|
+
position: relative;
|
|
746
|
+
|
|
747
|
+
display: flex;
|
|
748
|
+
align-items: center;
|
|
749
|
+
text-decoration: none;
|
|
750
|
+
color: ${e=>e.theme.colors.gray800};
|
|
751
|
+
* {
|
|
752
|
+
pointer-events: none;
|
|
753
|
+
}
|
|
754
|
+
p {
|
|
755
|
+
font-size: 16px;
|
|
756
|
+
font-weight: 400;
|
|
757
|
+
padding: 0 0.4rem;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
&[data-theme='marryBaby']:hover {
|
|
761
|
+
p {
|
|
762
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
763
|
+
}
|
|
764
|
+
.icon {
|
|
765
|
+
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
&[data-theme='helloSite']:hover {
|
|
769
|
+
p {
|
|
770
|
+
color: ${e=>e.theme.colors.primaryActive};
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
a {
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
&[data-theme='marryBaby'] {
|
|
777
|
+
.icon {
|
|
778
|
+
display: flex;
|
|
779
|
+
align-items: center;
|
|
780
|
+
justify-content: center;
|
|
781
|
+
max-width: 40px;
|
|
782
|
+
width: 100%;
|
|
783
|
+
height: 40px;
|
|
784
|
+
border-radius: 50%;
|
|
785
|
+
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
786
|
+
img {
|
|
787
|
+
border-radius: 50%;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
`,Ze=f.default.div`
|
|
792
|
+
margin: 15px 0;
|
|
793
|
+
${e.MediaQueries.mbDown} {
|
|
794
|
+
display: none;
|
|
795
|
+
}
|
|
796
|
+
`,Je=f.default.div`
|
|
797
|
+
display: flex;
|
|
798
|
+
position: absolute;
|
|
799
|
+
right: 0;
|
|
800
|
+
${e.MediaQueries.mbUp} {
|
|
801
|
+
display: none;
|
|
802
|
+
}
|
|
803
|
+
`,et=f.default.div`
|
|
804
|
+
display: flex;
|
|
805
|
+
align-items: center;
|
|
806
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
807
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
808
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
809
|
+
line-height: 24px;
|
|
810
|
+
font-size: 14px;
|
|
811
|
+
font-weight: 600;
|
|
812
|
+
&[data-event-category] * {
|
|
813
|
+
pointer-events: none;
|
|
814
|
+
}
|
|
815
|
+
&[data-theme='marryBaby'] {
|
|
816
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
817
|
+
}
|
|
818
|
+
`,tt=f.default.div`
|
|
819
|
+
display: flex;
|
|
820
|
+
align-items: center;
|
|
821
|
+
margin-left: 10px;
|
|
822
|
+
`,it=f.default.a`
|
|
823
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
824
|
+
&[data-theme='marryBaby'] {
|
|
825
|
+
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
826
|
+
|
|
827
|
+
svg path {
|
|
828
|
+
stroke: ${e=>e.theme.mbColors.pink};
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
position: relative;
|
|
832
|
+
display: flex;
|
|
833
|
+
align-items: center;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
padding: 6px;
|
|
836
|
+
border-radius: 5px;
|
|
837
|
+
margin-top: 20px;
|
|
838
|
+
${e.MediaQueries.mbDown} {
|
|
839
|
+
display: none;
|
|
1131
840
|
}
|
|
1132
841
|
`;f.default.div`
|
|
1133
842
|
&[data-category-list-type='sub'] {
|
|
@@ -1142,7 +851,7 @@
|
|
|
1142
851
|
width: 100%;
|
|
1143
852
|
margin-bottom: 8px;
|
|
1144
853
|
}
|
|
1145
|
-
`;const
|
|
854
|
+
`;const ot=f.default.div`
|
|
1146
855
|
display: grid;
|
|
1147
856
|
|
|
1148
857
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -1151,7 +860,7 @@
|
|
|
1151
860
|
gap: 12px;
|
|
1152
861
|
grid-template-columns: 1fr;
|
|
1153
862
|
}
|
|
1154
|
-
`,
|
|
863
|
+
`,at=f.default.a`
|
|
1155
864
|
width: 100%;
|
|
1156
865
|
display: flex;
|
|
1157
866
|
align-items: center;
|
|
@@ -1159,7 +868,7 @@
|
|
|
1159
868
|
* {
|
|
1160
869
|
pointer-events: none;
|
|
1161
870
|
}
|
|
1162
|
-
`,
|
|
871
|
+
`,rt=f.default.div`
|
|
1163
872
|
border-radius: 5px;
|
|
1164
873
|
display: block;
|
|
1165
874
|
overflow: hidden;
|
|
@@ -1180,7 +889,7 @@
|
|
|
1180
889
|
width: 72px;
|
|
1181
890
|
padding-top: 100px;
|
|
1182
891
|
}
|
|
1183
|
-
`,
|
|
892
|
+
`,lt=f.default.p`
|
|
1184
893
|
font-size: 16px;
|
|
1185
894
|
font-weight: 400;
|
|
1186
895
|
padding: 4px 15px;
|
|
@@ -1213,7 +922,7 @@
|
|
|
1213
922
|
width: 100%;
|
|
1214
923
|
margin-bottom: 8px;
|
|
1215
924
|
}
|
|
1216
|
-
`;const
|
|
925
|
+
`;const nt=f.default.div`
|
|
1217
926
|
display: grid;
|
|
1218
927
|
grid-template-columns: repeat(2, 1fr);
|
|
1219
928
|
grid-gap: 48px;
|
|
@@ -1224,7 +933,7 @@
|
|
|
1224
933
|
${e.MediaQueries.mbDown} {
|
|
1225
934
|
grid-gap: 24px;
|
|
1226
935
|
}
|
|
1227
|
-
`,
|
|
936
|
+
`,st=f.default.div`
|
|
1228
937
|
width: ${e=>e.size||40}px;
|
|
1229
938
|
height: ${e=>e.size||40}px;
|
|
1230
939
|
flex-shrink: 0;
|
|
@@ -1257,15 +966,15 @@
|
|
|
1257
966
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
1258
967
|
}
|
|
1259
968
|
}
|
|
1260
|
-
`,
|
|
969
|
+
`,dt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(be),u="boolean"==typeof i?i:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),b.default.createElement(st,Object.assign({"data-is-marrybaby":u,className:t,style:o,size:s},d),r&&!c?b.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):b.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},pt=f.default.div`
|
|
1261
970
|
padding: 5px;
|
|
1262
971
|
flex: 1;
|
|
1263
|
-
`,
|
|
972
|
+
`,ut=f.default.img`
|
|
1264
973
|
width: 88px;
|
|
1265
974
|
height: 88px;
|
|
1266
975
|
border-radius: 4px;
|
|
1267
976
|
object-fit: cover;
|
|
1268
|
-
`,
|
|
977
|
+
`,ct=f.default.div`
|
|
1269
978
|
font-size: 12px;
|
|
1270
979
|
font-weight: 600;
|
|
1271
980
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1274,7 +983,7 @@
|
|
|
1274
983
|
font-weight: 400;
|
|
1275
984
|
letter-spacing: -0.2px;
|
|
1276
985
|
}
|
|
1277
|
-
`,
|
|
986
|
+
`,mt=f.default.div`
|
|
1278
987
|
text-decoration: none;
|
|
1279
988
|
font-size: 12px;
|
|
1280
989
|
font-weight: 400;
|
|
@@ -1283,15 +992,15 @@
|
|
|
1283
992
|
font-weight: 400;
|
|
1284
993
|
letter-spacing: -0.2px;
|
|
1285
994
|
}
|
|
1286
|
-
`,
|
|
995
|
+
`,gt=f.default.div`
|
|
1287
996
|
font-size: 12px;
|
|
1288
997
|
font-weight: 400;
|
|
1289
998
|
color: ${e=>e.theme.colors.gray600};
|
|
1290
|
-
`,
|
|
999
|
+
`,ht=f.default.div`
|
|
1291
1000
|
font-size: 12px;
|
|
1292
1001
|
font-weight: 400;
|
|
1293
1002
|
color: ${e=>e.theme.colors.gray600};
|
|
1294
|
-
`,
|
|
1003
|
+
`,xt=f.default.a`
|
|
1295
1004
|
display: flex;
|
|
1296
1005
|
gap: 10px;
|
|
1297
1006
|
text-decoration: none;
|
|
@@ -1324,12 +1033,12 @@
|
|
|
1324
1033
|
}
|
|
1325
1034
|
}
|
|
1326
1035
|
}
|
|
1327
|
-
`,
|
|
1036
|
+
`,ft=f.default.div`
|
|
1328
1037
|
display: flex;
|
|
1329
1038
|
gap: 10px;
|
|
1330
1039
|
vertical-align: middle;
|
|
1331
1040
|
align-items: center;
|
|
1332
|
-
`,
|
|
1041
|
+
`,bt=f.default.div`
|
|
1333
1042
|
margin-top: 8px;
|
|
1334
1043
|
font-size: 16px;
|
|
1335
1044
|
font-weight: 600;
|
|
@@ -1341,12 +1050,12 @@
|
|
|
1341
1050
|
line-height: 24px;
|
|
1342
1051
|
letter-spacing: -0.2px;
|
|
1343
1052
|
}
|
|
1344
|
-
`,
|
|
1053
|
+
`,yt=f.default.div`
|
|
1345
1054
|
display: flex;
|
|
1346
1055
|
flex-wrap: wrap;
|
|
1347
1056
|
align-items: center;
|
|
1348
1057
|
column-gap: 5px;
|
|
1349
|
-
`,
|
|
1058
|
+
`,_t=f.default.div`
|
|
1350
1059
|
display: flex;
|
|
1351
1060
|
gap: 4px;
|
|
1352
1061
|
flex-direction: column;
|
|
@@ -1354,7 +1063,7 @@
|
|
|
1354
1063
|
&[data-is-display='false'] {
|
|
1355
1064
|
display: none;
|
|
1356
1065
|
}
|
|
1357
|
-
`;const
|
|
1066
|
+
`;const vt=f.default.div`
|
|
1358
1067
|
display: grid;
|
|
1359
1068
|
|
|
1360
1069
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1363,7 +1072,7 @@
|
|
|
1363
1072
|
grid-template-columns: 1fr;
|
|
1364
1073
|
gap: 12px;
|
|
1365
1074
|
}
|
|
1366
|
-
`,
|
|
1075
|
+
`,wt=f.default.a`
|
|
1367
1076
|
text-decoration: none;
|
|
1368
1077
|
border-radius: 4px;
|
|
1369
1078
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1394,7 +1103,7 @@
|
|
|
1394
1103
|
display: flex;
|
|
1395
1104
|
align-items: center;
|
|
1396
1105
|
}
|
|
1397
|
-
`,
|
|
1106
|
+
`,Et=f.default.div`
|
|
1398
1107
|
width: 64px;
|
|
1399
1108
|
height: 64px;
|
|
1400
1109
|
background: white;
|
|
@@ -1417,19 +1126,19 @@
|
|
|
1417
1126
|
top: unset;
|
|
1418
1127
|
right: unset;
|
|
1419
1128
|
}
|
|
1420
|
-
`,
|
|
1129
|
+
`,Tt=f.default.div`
|
|
1421
1130
|
display: flex;
|
|
1422
1131
|
align-items: center;
|
|
1423
1132
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1424
1133
|
font-weight: 400;
|
|
1425
1134
|
font-size: 14px;
|
|
1426
1135
|
text-decoration: none;
|
|
1427
|
-
`,
|
|
1136
|
+
`,At=f.default.p`
|
|
1428
1137
|
font-size: 16px;
|
|
1429
1138
|
font-weight: 600;
|
|
1430
1139
|
line-height: 1.4;
|
|
1431
1140
|
color: ${e=>e.theme.colors.gray800};
|
|
1432
|
-
`,
|
|
1141
|
+
`,Ot=f.default.p`
|
|
1433
1142
|
font-size: 14px;
|
|
1434
1143
|
line-height: 1.4;
|
|
1435
1144
|
font-weight: 400;
|
|
@@ -1444,7 +1153,7 @@
|
|
|
1444
1153
|
${e.MediaQueries.tdDown} {
|
|
1445
1154
|
display: none;
|
|
1446
1155
|
}
|
|
1447
|
-
|
|
1156
|
+
`,St=f.default.div`
|
|
1448
1157
|
display: flex;
|
|
1449
1158
|
flex-direction: column;
|
|
1450
1159
|
flex: 1;
|
|
@@ -1456,7 +1165,7 @@
|
|
|
1456
1165
|
gap: 4px;
|
|
1457
1166
|
flex: 1;
|
|
1458
1167
|
}
|
|
1459
|
-
`,
|
|
1168
|
+
`,It=f.default.a`
|
|
1460
1169
|
text-decoration: none;
|
|
1461
1170
|
border-radius: 12px;
|
|
1462
1171
|
|
|
@@ -1531,128 +1240,419 @@
|
|
|
1531
1240
|
display: none;
|
|
1532
1241
|
}
|
|
1533
1242
|
}
|
|
1534
|
-
.desktop-only {
|
|
1535
|
-
${e.MediaQueries.tdDown} {
|
|
1536
|
-
display: none;
|
|
1243
|
+
.desktop-only {
|
|
1244
|
+
${e.MediaQueries.tdDown} {
|
|
1245
|
+
display: none;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
`,Lt=f.default.div`
|
|
1249
|
+
width: 48px;
|
|
1250
|
+
height: 48px;
|
|
1251
|
+
background: white;
|
|
1252
|
+
position: absolute;
|
|
1253
|
+
right: 25px;
|
|
1254
|
+
top: 35px;
|
|
1255
|
+
z-index: 3;
|
|
1256
|
+
border-radius: 50%;
|
|
1257
|
+
img {
|
|
1258
|
+
position: absolute;
|
|
1259
|
+
width: 36px;
|
|
1260
|
+
height: 36px;
|
|
1261
|
+
top: 50%;
|
|
1262
|
+
left: 50%;
|
|
1263
|
+
display: block;
|
|
1264
|
+
transform: translate(-50%, -50%);
|
|
1265
|
+
}
|
|
1266
|
+
${e.MediaQueries.tdDown} {
|
|
1267
|
+
position: relative;
|
|
1268
|
+
top: unset;
|
|
1269
|
+
right: unset;
|
|
1270
|
+
}
|
|
1271
|
+
${e.MediaQueries.mbDown} {
|
|
1272
|
+
position: absolute;
|
|
1273
|
+
left: 32px;
|
|
1274
|
+
top: 28px;
|
|
1275
|
+
}
|
|
1276
|
+
`,$t=f.default.div`
|
|
1277
|
+
display: flex;
|
|
1278
|
+
align-items: center;
|
|
1279
|
+
background: white;
|
|
1280
|
+
font-weight: 400;
|
|
1281
|
+
font-size: 14px;
|
|
1282
|
+
text-decoration: none;
|
|
1283
|
+
border-radius: 50%;
|
|
1284
|
+
width: 20px;
|
|
1285
|
+
height: 20px;
|
|
1286
|
+
|
|
1287
|
+
svg path {
|
|
1288
|
+
fill: ${e=>e.theme.mbColors.gray};
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
${e.MediaQueries.tdDown} {
|
|
1292
|
+
background: none;
|
|
1293
|
+
width: 100%;
|
|
1294
|
+
font-weight: 400;
|
|
1295
|
+
font-size: 12px;
|
|
1296
|
+
line-height: 18px;
|
|
1297
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1298
|
+
padding-left: 16px;
|
|
1299
|
+
}
|
|
1300
|
+
`,Ct=f.default.p`
|
|
1301
|
+
font-weight: 600;
|
|
1302
|
+
font-size: 14px;
|
|
1303
|
+
line-height: 24px;
|
|
1304
|
+
letter-spacing: -0.2px;
|
|
1305
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1306
|
+
`,Dt=f.default.p`
|
|
1307
|
+
font-weight: 400;
|
|
1308
|
+
font-size: 12px;
|
|
1309
|
+
line-height: 18px;
|
|
1310
|
+
letter-spacing: -0.2px;
|
|
1311
|
+
color: ${e=>e.theme.colors.gray600};
|
|
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.MediaQueries.tdDown} {
|
|
1320
|
+
display: none;
|
|
1321
|
+
}
|
|
1322
|
+
`,Mt=f.default.div`
|
|
1323
|
+
display: flex;
|
|
1324
|
+
flex: 1;
|
|
1325
|
+
z-index: 1;
|
|
1326
|
+
align-items: flex-end;
|
|
1327
|
+
justify-content: flex-end;
|
|
1328
|
+
${e.MediaQueries.tdUp} {
|
|
1329
|
+
gap: 8px;
|
|
1330
|
+
flex-direction: row;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
${e.MediaQueries.tdDown} {
|
|
1334
|
+
align-items: flex-start;
|
|
1335
|
+
justify-content: flex-start;
|
|
1336
|
+
gap: 4px;
|
|
1337
|
+
}
|
|
1338
|
+
`,Rt=f.default.div`
|
|
1339
|
+
display: flex;
|
|
1340
|
+
flex-direction: column;
|
|
1341
|
+
flex: 1;
|
|
1342
|
+
z-index: 1;
|
|
1343
|
+
${e.MediaQueries.tdUp} {
|
|
1344
|
+
gap: 8px;
|
|
1345
|
+
}
|
|
1346
|
+
${e.MediaQueries.tdDown} {
|
|
1347
|
+
gap: 4px;
|
|
1348
|
+
flex: 1;
|
|
1349
|
+
padding-left: 16px;
|
|
1350
|
+
}
|
|
1351
|
+
`,kt=f.default.div`
|
|
1352
|
+
display: flex;
|
|
1353
|
+
flex-direction: row;
|
|
1354
|
+
flex: 1;
|
|
1355
|
+
z-index: 1;
|
|
1356
|
+
${e.MediaQueries.tdUp} {
|
|
1357
|
+
gap: 8px;
|
|
1358
|
+
justify-content: flex-end;
|
|
1359
|
+
align-items: flex-end;
|
|
1360
|
+
}
|
|
1361
|
+
${e.MediaQueries.tdDown} {
|
|
1362
|
+
flex-direction: column;
|
|
1363
|
+
justify-content: flex-start;
|
|
1364
|
+
align-items: flex-start;
|
|
1365
|
+
}
|
|
1366
|
+
`,Pt=f.default.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;
|
|
1381
|
+
}
|
|
1382
|
+
`;f.default.div`
|
|
1383
|
+
position: fixed;
|
|
1384
|
+
bottom: 0;
|
|
1385
|
+
left: 0;
|
|
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;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
&[data-site-type='marryBaby'] {
|
|
1399
|
+
padding: 0 16px;
|
|
1400
|
+
.category-button {
|
|
1401
|
+
width: 100%;
|
|
1402
|
+
height: 48px;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
`,f.default.div`
|
|
1406
|
+
display: flex;
|
|
1407
|
+
|
|
1408
|
+
&[data-card-array-no-margin-style='true'] {
|
|
1409
|
+
margin: 8px 0;
|
|
1410
|
+
|
|
1411
|
+
& > div {
|
|
1412
|
+
width: 0;
|
|
1413
|
+
flex: 1;
|
|
1414
|
+
margin: 0 -1px;
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
&[data-card-array-no-margin-style='false'] {
|
|
1419
|
+
margin: 8px -4px;
|
|
1420
|
+
|
|
1421
|
+
& > div {
|
|
1422
|
+
flex: 1;
|
|
1423
|
+
margin: 0 4px;
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
`,f.default.div`
|
|
1427
|
+
margin-top: 64px;
|
|
1428
|
+
`,f.default.div`
|
|
1429
|
+
padding: 24px 0;
|
|
1430
|
+
`,f.default.div`
|
|
1431
|
+
display: flex;
|
|
1432
|
+
width: 100%;
|
|
1433
|
+
align-items: center;
|
|
1434
|
+
justify-content: center;
|
|
1435
|
+
|
|
1436
|
+
& > div:first-child {
|
|
1437
|
+
margin-right: 8px;
|
|
1438
|
+
}
|
|
1439
|
+
`,f.default.div`
|
|
1440
|
+
z-index: ${re};
|
|
1441
|
+
align-items: center;
|
|
1442
|
+
|
|
1443
|
+
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
1444
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1445
|
+
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
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
|
+
`,f.default.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
|
+
`,f.default.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;
|
|
1463
|
+
}
|
|
1464
|
+
`,f.default.div`
|
|
1465
|
+
width: 20%;
|
|
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;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
& > a:hover {
|
|
1477
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.iconMenu {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
align-items: center;
|
|
1483
|
+
|
|
1484
|
+
> .imageContainer {
|
|
1485
|
+
display: flex;
|
|
1486
|
+
width: 32px;
|
|
1487
|
+
min-width: 32px;
|
|
1488
|
+
align-items: center;
|
|
1489
|
+
margin-right: 16px;
|
|
1537
1490
|
}
|
|
1538
1491
|
}
|
|
1539
|
-
`,
|
|
1540
|
-
|
|
1492
|
+
`,f.default.div`
|
|
1493
|
+
display: none;
|
|
1494
|
+
`,f.default.div`
|
|
1495
|
+
width: 33%;
|
|
1541
1496
|
height: 48px;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
height:
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1497
|
+
padding-right: 16px;
|
|
1498
|
+
margin-bottom: 12px;
|
|
1499
|
+
|
|
1500
|
+
& > a {
|
|
1501
|
+
display: flex;
|
|
1502
|
+
align-items: center;
|
|
1503
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1504
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1505
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1506
|
+
line-height: 22px;
|
|
1507
|
+
|
|
1508
|
+
& > :first-child {
|
|
1509
|
+
margin-right: 16px;
|
|
1510
|
+
}
|
|
1556
1511
|
}
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
right: unset;
|
|
1512
|
+
|
|
1513
|
+
& > a > p:hover {
|
|
1514
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1561
1515
|
}
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1516
|
+
`,f.default.div`
|
|
1517
|
+
display: flex;
|
|
1518
|
+
align-items: center;
|
|
1519
|
+
|
|
1520
|
+
padding-right: 16px;
|
|
1521
|
+
margin-bottom: 12px;
|
|
1522
|
+
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
|
+
&[data-theme='marryBaby'] {
|
|
1528
|
+
color: ${e=>e.theme.mbColors.pink};
|
|
1566
1529
|
}
|
|
1567
|
-
`,
|
|
1530
|
+
`,f.default.div`
|
|
1568
1531
|
display: flex;
|
|
1569
1532
|
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
1533
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1534
|
+
margin-left: 10px;
|
|
1535
|
+
`,f.default.div`
|
|
1536
|
+
position: absolute;
|
|
1537
|
+
top: 16px;
|
|
1538
|
+
right: 0;
|
|
1539
|
+
display: flex;
|
|
1540
|
+
align-items: center;
|
|
1541
|
+
cursor: pointer;
|
|
1542
|
+
`,f.default.div`
|
|
1543
|
+
display: block;
|
|
1544
|
+
`,f.default.div`
|
|
1545
|
+
.categories__spotlight {
|
|
1546
|
+
display: grid;
|
|
1547
|
+
margin: 16px;
|
|
1548
|
+
margin-bottom: 32px;
|
|
1549
|
+
grid-gap: 8px;
|
|
1550
|
+
grid-template-columns: 1fr 1fr;
|
|
1551
|
+
|
|
1552
|
+
a {
|
|
1553
|
+
text-decoration: none;
|
|
1554
|
+
}
|
|
1580
1555
|
}
|
|
1581
1556
|
|
|
1582
|
-
|
|
1583
|
-
|
|
1557
|
+
.categoryCard {
|
|
1558
|
+
display: flex;
|
|
1584
1559
|
width: 100%;
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1560
|
+
flex-direction: column;
|
|
1561
|
+
align-items: center;
|
|
1562
|
+
padding: 16px;
|
|
1563
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1564
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
1565
|
+
|
|
1566
|
+
svg {
|
|
1567
|
+
margin-bottom: 4px;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
&.active {
|
|
1571
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
1572
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
1573
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1574
|
+
color: white;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
&:not(.active) {
|
|
1578
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
1579
|
+
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1580
|
+
}
|
|
1590
1581
|
}
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
-webkit-line-clamp: 3;
|
|
1608
|
-
-webkit-box-orient: vertical;
|
|
1609
|
-
margin-bottom: auto;
|
|
1610
|
-
${e.MediaQueries.tdDown} {
|
|
1611
|
-
display: none;
|
|
1582
|
+
|
|
1583
|
+
.amp__menu-header {
|
|
1584
|
+
display: grid;
|
|
1585
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
1586
|
+
|
|
1587
|
+
svg {
|
|
1588
|
+
margin-left: 16px;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
> div {
|
|
1592
|
+
align-self: center;
|
|
1593
|
+
|
|
1594
|
+
&:nth-child(2) {
|
|
1595
|
+
justify-self: center;
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1612
1598
|
}
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
z-index: 1;
|
|
1617
|
-
align-items: flex-end;
|
|
1618
|
-
justify-content: flex-end;
|
|
1619
|
-
${e.MediaQueries.tdUp} {
|
|
1620
|
-
gap: 8px;
|
|
1621
|
-
flex-direction: row;
|
|
1599
|
+
|
|
1600
|
+
.logo {
|
|
1601
|
+
margin: 22px 0;
|
|
1622
1602
|
}
|
|
1623
1603
|
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1604
|
+
.categories {
|
|
1605
|
+
margin: 0 16px;
|
|
1606
|
+
|
|
1607
|
+
li {
|
|
1608
|
+
display: block;
|
|
1609
|
+
width: 100%;
|
|
1610
|
+
|
|
1611
|
+
+ li {
|
|
1612
|
+
border-top: 1px solid
|
|
1613
|
+
${e=>e.theme.colors.neutral100};
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
a {
|
|
1617
|
+
display: block;
|
|
1618
|
+
margin: 12px 0;
|
|
1619
|
+
color: ${e=>e.theme.colors.gray800};
|
|
1620
|
+
text-decoration: none;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1628
1623
|
}
|
|
1629
|
-
`,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1624
|
+
`,f.default.div`
|
|
1625
|
+
width: 20%;
|
|
1626
|
+
height: 2px;
|
|
1627
|
+
|
|
1628
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
1629
|
+
border-radius: 2px;
|
|
1630
|
+
`;const Gt=f.default.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;
|
|
1639
|
+
}
|
|
1636
1640
|
}
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
+
&[data-theme='marryBaby'] {
|
|
1642
|
+
input {
|
|
1643
|
+
background: ${e=>e.theme.mbColors.lightGray};
|
|
1644
|
+
border-radius: 16px;
|
|
1645
|
+
border: none;
|
|
1646
|
+
}
|
|
1641
1647
|
}
|
|
1642
1648
|
`,Nt=f.default.div`
|
|
1643
|
-
display:
|
|
1644
|
-
|
|
1649
|
+
display: block;
|
|
1650
|
+
overflow-y: auto;
|
|
1645
1651
|
flex: 1;
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
align-items: flex-end;
|
|
1651
|
-
}
|
|
1652
|
-
${e.MediaQueries.tdDown} {
|
|
1653
|
-
flex-direction: column;
|
|
1654
|
-
justify-content: flex-start;
|
|
1655
|
-
align-items: flex-start;
|
|
1652
|
+
padding-bottom: 16px;
|
|
1653
|
+
&::-webkit-scrollbar {
|
|
1654
|
+
width: 0;
|
|
1655
|
+
display: none;
|
|
1656
1656
|
}
|
|
1657
1657
|
`,Ut=f.default.div`
|
|
1658
1658
|
z-index: 201;
|
|
@@ -1782,11 +1782,14 @@
|
|
|
1782
1782
|
display: flex;
|
|
1783
1783
|
align-items: center;
|
|
1784
1784
|
height: 100%;
|
|
1785
|
-
flex-shrink: 0
|
|
1785
|
+
flex-shrink: 0;
|
|
1786
|
+
${e.MediaQueries.tdDown} {
|
|
1787
|
+
flex-shrink: 0.6;
|
|
1788
|
+
}
|
|
1786
1789
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1787
1790
|
gap: 2px;
|
|
1788
1791
|
${e.MediaQueries.pcUp} {
|
|
1789
|
-
padding: 0
|
|
1792
|
+
padding: 0 10px;
|
|
1790
1793
|
}
|
|
1791
1794
|
${e.MediaQueries.pcDown} {
|
|
1792
1795
|
padding: 0 6px;
|
|
@@ -1868,4 +1871,4 @@
|
|
|
1868
1871
|
font-weight: 700;
|
|
1869
1872
|
line-height: 22px;
|
|
1870
1873
|
text-decoration: none;
|
|
1871
|
-
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="ecom"===t,u="ecom"===t,c=m.getCurrentBaseUrl(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=U,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Bt,exports.StyledHeaderWrapper=Ut,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Be,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Ue,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=ot,exports.StyledLanguageChangeLink=P,exports.StyledLeft=it,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=B,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|
|
1874
|
+
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(xt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(pt,null,b.default.createElement(ft,null,b.default.createElement(dt,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(_t,null,b.default.createElement(ct,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(yt,null,b.default.createElement(mt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(ht,null,"•"),b.default.createElement(gt,{"data-theme":p},x)))),b.default.createElement(bt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(ut,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p=s.ECOM_LOCALES.includes(e),u="ecom"===t,c=m.getCurrentBaseUrl(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Ce,exports.StyleSelectionPopup=U,exports.StyledAvatar=Y,exports.StyledBtnView=ke,exports.StyledBtnView$1=Tt,exports.StyledBtnView$2=$t,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=De,exports.StyledContainerItems$1=ot,exports.StyledContainerItems$2=nt,exports.StyledContainerItems$3=vt,exports.StyledContainerNoPosts=ze,exports.StyledContent=Rt,exports.StyledContentLeft=Fe,exports.StyledContentWrapper=Be,exports.StyledContentWrapper$1=St,exports.StyledContentWrapper$2=Mt,exports.StyledDes=Ge,exports.StyledDes$1=Ot,exports.StyledDes$2=Dt,exports.StyledDescription=Qe,exports.StyledDisplayWrapper=z,exports.StyledHeader=Bt,exports.StyledHeaderWrapper=Ut,exports.StyledHeading=Ye,exports.StyledHeading$1=Ze,exports.StyledIconNav=Je,exports.StyledImageCard=Me,exports.StyledImageCard$1=rt,exports.StyledImageCard$2=Et,exports.StyledImageCard$3=Lt,exports.StyledImageCardInner=Re,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=tt,exports.StyledItem=He,exports.StyledItem$1=Xe,exports.StyledItem$2=at,exports.StyledItem$3=wt,exports.StyledItem$4=It,exports.StyledItemAll=et,exports.StyledItemGridLeft=qe,exports.StyledItemGridRight=We,exports.StyledLanguageChangeLink=P,exports.StyledLeft=Ve,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Pt,exports.StyledOption=B,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=Gt,exports.StyledTitle=Pe,exports.StyledTitle$1=je,exports.StyledTitle$2=lt,exports.StyledTitle$3=At,exports.StyledTitle$4=Ct,exports.StyledViewMore=Ke,exports.StyledViewMore$1=it,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=kt,exports.StyledWrapper=Nt,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=dt,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|