@hhgtech/hhg-components 1.28.2 → 1.28.4
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/atoms/logo/index.d.ts +1 -0
- package/build/components/atoms/logo/utils.d.ts +6 -0
- package/build/components.js +1 -1
- package/build/{constants-40c2c222.js → constants-450d7201.js} +1 -1
- package/build/{constants-969660d7.js → constants-a7ede5d7.js} +1 -1
- package/build/constants.js +1 -1
- package/build/core-731dcc80.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +8 -8
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/logo/index.d.ts +1 -0
- package/build/esm/components/atoms/logo/utils.d.ts +6 -0
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-0db29aa8.js → constants-825e5107.js} +1 -1
- package/build/esm/{constants-fce1054a.js → constants-a9db830c.js} +2 -2
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-58943a8e.js → core-5458f356.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-032b8e69.js +1 -0
- package/build/esm/{getSocialList-c57eb90f.js → getSocialList-03bccede.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-8b684d41.js → index-0b3023d5.js} +1 -1
- package/build/esm/{index-9530062b.js → index-1a8eff08.js} +1 -1
- package/build/esm/{index-2cef224a.js → index-28050822.js} +4 -4
- package/build/esm/{index-cbb0cfcd.js → index-365f3b02.js} +1 -1
- package/build/esm/{index-91baa4e0.js → index-3eaf0620.js} +1 -1
- package/build/esm/index-501f0233.js +1 -0
- package/build/esm/{index-4bc3e784.js → index-5966deb7.js} +1 -1
- package/build/esm/index-6e710cf0.js +1 -0
- package/build/esm/index-71042d78.js +1 -0
- package/build/esm/{index-91012bea.js → index-746b39ff.js} +1 -1
- package/build/esm/{index-8bdf2cf6.js → index-79e709f3.js} +1 -1
- package/build/esm/{index-d50a3625.js → index-7e9eed2c.js} +5 -5
- package/build/esm/{index-bf7ba39e.js → index-93e8f992.js} +1 -1
- package/build/esm/index-c5e54f6d.js +1 -0
- package/build/esm/{index-53ea26e2.js → index-d7dd5cb5.js} +1 -1
- package/build/esm/{index-df2618d6.js → index-ea85a059.js} +1 -1
- package/build/esm/{index-41b1836f.js → index-f03a4163.js} +1 -1
- package/build/esm/{index-034b5b0a.js → index-f06dc13f.js} +1 -1
- package/build/esm/{index-17990716.js → index-f3039ab6.js} +6 -6
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-d6398f5e.js → index.styled-15fe01fc.js} +1 -1
- package/build/esm/{index.styled-0ee871a2.js → index.styled-dfa96990.js} +3 -2
- package/build/esm/{index.styles-806c1a05.js → index.styles-9f601640.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-daa55ca5.js → routing-e0719ff6.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-1d605e80.js → types-26ecf88b.js} +1 -1
- package/build/esm/{types-f7b7df74.js → types-c300a086.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-609d1994.js → useCategory-431e606b.js} +1 -1
- package/build/esm/{useHealthToolCache-1966b6b9.js → useHealthToolCache-ca1ba2cd.js} +1 -1
- package/build/esm/{useRafState-726ce31c.js → useRafState-06415e7f.js} +1 -1
- package/build/esm/{useTranslations-ddb5448d.js → useTranslations-4789f6fb.js} +1 -1
- package/build/esm/{utils-c41b2424.js → utils-391a60ae.js} +1 -1
- package/build/esm/utils-4f976283.js +121 -0
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-9b7ffcef.js +1 -0
- package/build/{getSocialList-ba3b713f.js → getSocialList-0e588a1a.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-e48b9727.js → index-033c5c74.js} +1 -1
- package/build/{index-54ddde4b.js → index-2693eb44.js} +1 -1
- package/build/{index-8721656a.js → index-39c9d37e.js} +1 -1
- package/build/index-3ddd2999.js +1 -0
- package/build/{index-96818d04.js → index-49d74299.js} +1 -1
- package/build/{index-a14aa500.js → index-6ecb02b4.js} +4 -4
- package/build/index-72ecc9b7.js +1 -0
- package/build/{index-45206eb6.js → index-75f72755.js} +5 -5
- package/build/{index-4258e6af.js → index-7a305ed2.js} +1 -1
- package/build/{index-59c683b8.js → index-7fec7adb.js} +1 -1
- package/build/{index-20f7bb49.js → index-80a287c5.js} +1 -1
- package/build/index-862d608a.js +1 -0
- package/build/{index-e66e5c42.js → index-90b2902d.js} +3 -3
- package/build/index-98ba4a89.js +1 -0
- package/build/{index-2c9ca3f4.js → index-b2c185f6.js} +1 -1
- package/build/{index-98b078fa.js → index-b7affa54.js} +1 -1
- package/build/{index-a7c4c692.js → index-bdb79e3b.js} +1 -1
- package/build/{index-8148a623.js → index-cf2be95e.js} +1 -1
- package/build/{index-94e8dc6c.js → index-f934085b.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-5228c870.js → index.styled-6d9a6437.js} +1 -1
- package/build/{index.styled-2d000282.js → index.styled-bd54b35f.js} +3 -2
- package/build/{index.styles-724ad6e1.js → index.styles-67ed9ca9.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-80fbf8cf.js → routing-de04e059.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-f867422a.js → types-540b776a.js} +1 -1
- package/build/{types-36bee3d0.js → types-ca64fc16.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-65d27674.js → useCategory-ea4742a3.js} +1 -1
- package/build/useHealthToolCache-cba85a41.js +1 -0
- package/build/{useRafState-905355a2.js → useRafState-e02722e9.js} +1 -1
- package/build/{useTranslations-67bf1251.js → useTranslations-a3b7e842.js} +1 -1
- package/build/{utils-6c8a960a.js → utils-283b2f96.js} +1 -1
- package/build/utils-9e14145a.js +121 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-06ed0932.js +0 -1
- package/build/esm/getDynamicHealthTool-f20c7771.js +0 -1
- package/build/esm/index-46751179.js +0 -1
- package/build/esm/index-563c0d73.js +0 -1
- package/build/esm/index-a9d15e24.js +0 -1
- package/build/esm/index-c4dfb2a0.js +0 -1
- package/build/esm/utils-003a6099.js +0 -95
- package/build/getDynamicHealthTool-0f1dad96.js +0 -1
- package/build/index-1a8164f5.js +0 -1
- package/build/index-4249260d.js +0 -1
- package/build/index-748ffd09.js +0 -1
- package/build/index-f41be8bd.js +0 -1
- package/build/useHealthToolCache-dd4d8f0e.js +0 -1
- package/build/utils-78c73f4f.js +0 -95
- /package/build/{BMI_BOYS.percentile.monthly-36c72888.js → BMI_BOYS.percentile.monthly-b0f99257.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-01c739d7.js → BMI_BOYS.percentile.weekly-d6281278.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-86f43949.js → BMI_BOYS.percentile.yearly-f498af59.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-fd1b34f5.js → BMI_BOYS.zscore.monthly-01258de4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f45d8a28.js → BMI_BOYS.zscore.weekly-ce2f888b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-aae00b24.js → BMI_BOYS.zscore.yearly-97920746.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a419cbed.js → BMI_GIRLS.percentile.monthly-a045f503.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-707a03e4.js → BMI_GIRLS.percentile.weekly-d18a707c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-b39ee0d7.js → BMI_GIRLS.percentile.yearly-430a8676.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6b43efec.js → BMI_GIRLS.zscore.monthly-91654dd1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-976bcb55.js → BMI_GIRLS.zscore.weekly-4dbc7898.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-7bd9df0f.js → BMI_GIRLS.zscore.yearly-9a420923.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-fa70d3ef.js → HEAD CIRCUM_BOYS.percentile.monthly-19ba28bf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-18a3c004.js → HEAD CIRCUM_BOYS.percentile.weekly-d4251b5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-3a7b77b4.js → HEAD CIRCUM_BOYS.percentile.yearly-93900d48.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-df8d29d8.js → HEAD CIRCUM_BOYS.zscore.monthly-c73112da.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9af4622d.js → HEAD CIRCUM_BOYS.zscore.weekly-81e46915.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b964dcfc.js → HEAD CIRCUM_BOYS.zscore.yearly-3507ec99.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-23ff2049.js → HEAD CIRCUM_GIRLS.percentile.monthly-23fc8f9f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-95bf26ed.js → HEAD CIRCUM_GIRLS.percentile.weekly-da47dda2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0db15358.js → HEAD CIRCUM_GIRLS.percentile.yearly-dc6cf64d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-637188cd.js → HEAD CIRCUM_GIRLS.zscore.monthly-fa586a47.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3a7904a8.js → HEAD CIRCUM_GIRLS.zscore.weekly-ac519293.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-1c77c91a.js → HEAD CIRCUM_GIRLS.zscore.yearly-7547e309.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1b9a66fc.js → HEIGHT_BOYS.percentile.monthly-1395ec67.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-da61e409.js → HEIGHT_BOYS.percentile.weekly-798ffcc1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d6370939.js → HEIGHT_BOYS.percentile.yearly-fc3fdf21.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8f53f017.js → HEIGHT_BOYS.zscore.monthly-e3462055.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-dbb942f9.js → HEIGHT_BOYS.zscore.weekly-dd671cef.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-e3fbd203.js → HEIGHT_BOYS.zscore.yearly-2304e1bd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-52652849.js → HEIGHT_GIRLS.percentile.monthly-0b3466b4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-05dde098.js → HEIGHT_GIRLS.percentile.weekly-477b6ce2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-0957832a.js → HEIGHT_GIRLS.percentile.yearly-4491aec5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-8791c815.js → HEIGHT_GIRLS.zscore.monthly-4549ea2f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3f4cddd3.js → HEIGHT_GIRLS.zscore.weekly-17730081.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-925899d6.js → HEIGHT_GIRLS.zscore.yearly-fb001894.js} +0 -0
- /package/build/{Onboarding-e1062254.js → Onboarding-ff130f2f.js} +0 -0
- /package/build/{Visible-549ef522.js → Visible-4b8e82ca.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-8f4be387.js → WEIGHT_BOYS.percentile.monthly-6115be55.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-58318020.js → WEIGHT_BOYS.percentile.weekly-9aa661e7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-f4d0bde8.js → WEIGHT_BOYS.percentile.yearly-7d61021a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3803f0f6.js → WEIGHT_BOYS.zscore.monthly-853078cb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-24a4f4b4.js → WEIGHT_BOYS.zscore.weekly-f1d3db0c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-74b8b840.js → WEIGHT_BOYS.zscore.yearly-e426c239.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-aefab74c.js → WEIGHT_GIRLS.percentile.monthly-a8d3458c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-94161b15.js → WEIGHT_GIRLS.percentile.weekly-0faf8745.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-db3ea9ce.js → WEIGHT_GIRLS.percentile.yearly-f4b21706.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5360cf3b.js → WEIGHT_GIRLS.zscore.monthly-014f086c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c76dd764.js → WEIGHT_GIRLS.zscore.weekly-f2c206e6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-cdda5502.js → WEIGHT_GIRLS.zscore.yearly-ed01119d.js} +0 -0
- /package/build/{cookieHelper-453db8f7.js → cookieHelper-d7c085a7.js} +0 -0
- /package/build/{dataTransform-ca6cc54b.js → dataTransform-bb9b9c5e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-279510c6.js → BMI_BOYS.percentile.monthly-327575b5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-af9f1fbe.js → BMI_BOYS.percentile.weekly-c4a25704.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d8626733.js → BMI_BOYS.percentile.yearly-0cb9d6ea.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3f577dc6.js → BMI_BOYS.zscore.monthly-7767c2f4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b3f4c457.js → BMI_BOYS.zscore.weekly-c822587b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-96e3a44a.js → BMI_BOYS.zscore.yearly-598095c0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-cd2340d3.js → BMI_GIRLS.percentile.monthly-0065f723.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ea7eb297.js → BMI_GIRLS.percentile.weekly-4833262a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b29c587d.js → BMI_GIRLS.percentile.yearly-769165f1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8c2f1f23.js → BMI_GIRLS.zscore.monthly-cce0202a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-96a1a2c5.js → BMI_GIRLS.zscore.weekly-aa9f3b37.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-300309d2.js → BMI_GIRLS.zscore.yearly-90f157ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-1daf6205.js → HEAD CIRCUM_BOYS.percentile.monthly-953b6a85.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3acad50e.js → HEAD CIRCUM_BOYS.percentile.weekly-571d25f0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c2758ce4.js → HEAD CIRCUM_BOYS.percentile.yearly-669f2854.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-8d5437e1.js → HEAD CIRCUM_BOYS.zscore.monthly-1479662e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-53b1417e.js → HEAD CIRCUM_BOYS.zscore.weekly-19908c6e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-26393bb5.js → HEAD CIRCUM_BOYS.zscore.yearly-84eed9b3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-33ee1696.js → HEAD CIRCUM_GIRLS.percentile.monthly-a70b9a7f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a0f129e7.js → HEAD CIRCUM_GIRLS.percentile.weekly-811ec24c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-9ca41910.js → HEAD CIRCUM_GIRLS.percentile.yearly-38be49a7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-084ec0c1.js → HEAD CIRCUM_GIRLS.zscore.monthly-ddbf6396.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-721fecde.js → HEAD CIRCUM_GIRLS.zscore.weekly-56b135e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d1aa706f.js → HEAD CIRCUM_GIRLS.zscore.yearly-78f6cf2c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-de68d7e9.js → HEIGHT_BOYS.percentile.monthly-959c6d2c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8e8a7d93.js → HEIGHT_BOYS.percentile.weekly-bf7026d4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-38e1a578.js → HEIGHT_BOYS.percentile.yearly-25400ed0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b9cf7fbc.js → HEIGHT_BOYS.zscore.monthly-c03d0672.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8937a993.js → HEIGHT_BOYS.zscore.weekly-5f8c9317.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c721a832.js → HEIGHT_BOYS.zscore.yearly-62e0f09d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-743a2157.js → HEIGHT_GIRLS.percentile.monthly-a04b1ee4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8f9dab39.js → HEIGHT_GIRLS.percentile.weekly-4ff6ee98.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5d060852.js → HEIGHT_GIRLS.percentile.yearly-c2080054.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-96314094.js → HEIGHT_GIRLS.zscore.monthly-aaab59dc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ec324aca.js → HEIGHT_GIRLS.zscore.weekly-ed8303ca.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9a00182a.js → HEIGHT_GIRLS.zscore.yearly-68f0a684.js} +0 -0
- /package/build/esm/{Onboarding-688a34d8.js → Onboarding-60b973ab.js} +0 -0
- /package/build/esm/{Visible-7c0162e9.js → Visible-1533b8ed.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-247dcb51.js → WEIGHT_BOYS.percentile.monthly-c91ccb43.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6d320360.js → WEIGHT_BOYS.percentile.weekly-7293aa3a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6e8021ef.js → WEIGHT_BOYS.percentile.yearly-1d7c6568.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c3468cdb.js → WEIGHT_BOYS.zscore.monthly-687883fc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-96324077.js → WEIGHT_BOYS.zscore.weekly-c3115771.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0d91e610.js → WEIGHT_BOYS.zscore.yearly-8faf0718.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-20b647b6.js → WEIGHT_GIRLS.percentile.monthly-dedb4f95.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-61b55edc.js → WEIGHT_GIRLS.percentile.weekly-7f9807c7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-c552058f.js → WEIGHT_GIRLS.percentile.yearly-e717708c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-599c9436.js → WEIGHT_GIRLS.zscore.monthly-8db1b1bb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c1bffb21.js → WEIGHT_GIRLS.zscore.weekly-c4b4f9ed.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-60d0e16d.js → WEIGHT_GIRLS.zscore.yearly-b45a14ae.js} +0 -0
- /package/build/esm/{cookieHelper-32b8b652.js → cookieHelper-8b9690d8.js} +0 -0
- /package/build/esm/{dataTransform-65580248.js → dataTransform-957b8c89.js} +0 -0
- /package/build/esm/{index-3c9c5ccc.js → index-8e3935c7.js} +0 -0
- /package/build/esm/{index-62d8d1dd.js → index-c1f28847.js} +0 -0
- /package/build/esm/{index-40b5ff81.js → index-ebd09ee7.js} +0 -0
- /package/build/esm/{isProduction-14156284.js → isProduction-626d4d27.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0cf822c1.js → localizeNumberFormat-571497c7.js} +0 -0
- /package/build/esm/{normalizeLink-8eea8ab9.js → normalizeLink-6238bdd0.js} +0 -0
- /package/build/esm/{number-f4a07dd3.js → number-b58bf5a8.js} +0 -0
- /package/build/esm/{paths-9fd3e8a0.js → paths-78a17490.js} +0 -0
- /package/build/esm/{screenSizeContext-906720f4.js → screenSizeContext-87eba55c.js} +0 -0
- /package/build/esm/{theme-161e6215.js → theme-b6d5beeb.js} +0 -0
- /package/build/esm/{translationsContext-bfd5b108.js → translationsContext-da034e31.js} +0 -0
- /package/build/esm/{tslib.es6-867b115e.js → tslib.es6-bbe935c0.js} +0 -0
- /package/build/esm/{types-d1335760.js → types-6f6bb758.js} +0 -0
- /package/build/esm/{useIsInit-6426eec7.js → useIsInit-7db96951.js} +0 -0
- /package/build/esm/{useOutsideClick-9a148e33.js → useOutsideClick-5d5aba8c.js} +0 -0
- /package/build/esm/{useScrollbarSize-02cb2c59.js → useScrollbarSize-0c8b5d59.js} +0 -0
- /package/build/{index-e54b88fc.js → index-8a0242f2.js} +0 -0
- /package/build/{index-2df3aed7.js → index-b3bd462a.js} +0 -0
- /package/build/{index-7c32e512.js → index-f4dd167b.js} +0 -0
- /package/build/{isProduction-b071692a.js → isProduction-adefbe35.js} +0 -0
- /package/build/{localizeNumberFormat-66f87e68.js → localizeNumberFormat-973a2b3a.js} +0 -0
- /package/build/{normalizeLink-18478380.js → normalizeLink-07e987d9.js} +0 -0
- /package/build/{number-d05ddf4e.js → number-d8428dd7.js} +0 -0
- /package/build/{paths-41c9b74a.js → paths-23303810.js} +0 -0
- /package/build/{screenSizeContext-7a8dc0d4.js → screenSizeContext-55c9a463.js} +0 -0
- /package/build/{theme-daef3205.js → theme-7ef51026.js} +0 -0
- /package/build/{translationsContext-c259ebae.js → translationsContext-a0a6eafc.js} +0 -0
- /package/build/{tslib.es6-5092a61b.js → tslib.es6-0c7edd68.js} +0 -0
- /package/build/{types-31498f6a.js → types-b08986f4.js} +0 -0
- /package/build/{useIsInit-367ec106.js → useIsInit-6bc5d3b3.js} +0 -0
- /package/build/{useOutsideClick-ea53ea3f.js → useOutsideClick-2e33554b.js} +0 -0
- /package/build/{useScrollbarSize-30432757.js → useScrollbarSize-ff475cd6.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),a=require("./Onboarding-ff130f2f.js"),n=require("./gAssets.js"),l=require("./theme-7ef51026.js"),r=require("styled-components"),o=require("./index-b7affa54.js"),i=require("./index-98ba4a89.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(t),s=c(r);const u=s.default.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,g=[a.LOCALE.Myanmar,a.LOCALE.Taiwan],m=s.default((a=>{var{icon:r,name:c,className:s,locale:m="en-PH",dataEventCategory:h,dataEventAction:
|
|
39
|
+
`,g=[a.LOCALE.Myanmar,a.LOCALE.Taiwan],m=s.default((a=>{var{icon:r,name:c,className:s,locale:m="en-PH",dataEventCategory:h,dataEventAction:f,dataEventLabel:v,onSelect:b}=a,C=e.__rest(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const x=t.useMemo((()=>null==s?void 0:s.includes("selected-week-pill")),[s]);return d.default.createElement(p,Object.assign({onClick:b,className:s?"week-pill".concat(" non-pointer-event-child ",s):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":f,"data-event-label":v},C),d.default.createElement(u,{size:64,iconSize:40,backgroundColor:l.theme.colors.white},d.default.createElement(o.ImageWrap,{src:r||n.CommonGAssets.getAssetPath("week_default.png"),alt:`week ${c}`})),x?d.default.createElement(i.Text,Object.assign({type:"semiBold",size:"n1",color:l.theme.colors.gray800},g.includes(m)&&{style:{fontSize:"10px"}}),c):d.default.createElement(i.Text,Object.assign({size:"n1",color:l.theme.colors.gray600},g.includes(m)&&{style:{fontSize:"10px"}}),c))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
41
|
`,h=s.default(o.CentralCarousel.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,f=s.default(o.CentralCarousel)`
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,v=({isRight:e,currentUrl:t})=>d.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},d.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:l,isMobile:r,onSlideChange:o,pillProps:i,locale:c=a.LOCALE.Vietnam,blurFromIndex:s,blurLength:u}=n,p=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const g={withControls:!r,slideGap:16,blurFromCenter:!0,blurFromIndex:s||(r?2:4),blurLength:u||(r?1:3),onSlideChange:o},[b,C]=t.useState("");return t.useEffect((()=>{C(window.location.href)}),[]),d.default.createElement(f,Object.assign({},g,p,{selectSlideWhenClick:!0,previousControlIcon:d.default.createElement(v,{currentUrl:b}),nextControlIcon:d.default.createElement(v,{currentUrl:b,isRight:!0})}),(e=>l.map(((t,a)=>d.default.createElement(h,Object.assign({key:a,onClick:o,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":b,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":b}},i),d.default.createElement("div",{className:"centerred-pill-wrapper"},d.default.createElement(m,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":b,locale:c,name:t.name,icon:t.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-55c9a463.js"),require("styled-components");var s=require("./theme-7ef51026.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-bdb79e3b.js"),require("./isProduction-adefbe35.js"),require("./Onboarding-ff130f2f.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),a=require("./core-731dcc80.js"),i=require("./index-b7affa54.js"),l=require("styled-components"),o=require("./index-39c9d37e.js"),n=require("./gAssets.js"),r=require("./index-bdb79e3b.js"),s=require("./normalizeLink-07e987d9.js"),d=require("./routing-de04e059.js"),u=require("./index-90b2902d.js"),m=require("./index-3ddd2999.js"),c=require("./useTranslations-a3b7e842.js"),p=require("lodash/throttle"),g=require("./screenSizeContext-55c9a463.js"),h=require("./Onboarding-ff130f2f.js"),f=require("./theme-7ef51026.js"),v=require("./index.styles-67ed9ca9.js"),y=require("./constants-a7ede5d7.js"),b=require("./cookieHelper-d7c085a7.js"),x=require("@mantine/core"),E=require("./index-cf2be95e.js"),C=require("./constants-450d7201.js");require("./utils-9e14145a.js"),require("@mantine/dates");var w=require("dayjs");require("./isProduction-adefbe35.js"),require("@mantine/hooks"),require("./index.styled-6d9a6437.js"),require("./index-f4dd167b.js");var k=require("lodash/debounce");require("./useCategory-ea4742a3.js");var $=require("string-format"),M=require("./index-72ecc9b7.js"),A=require("./useIsInit-6bc5d3b3.js"),P=require("dayjs/plugin/relativeTime"),N=require("./index-8a0242f2.js");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=L(t),S=L(l),B=L(p),T=L(w),z=L(k),D=L($),H=L(P);const U={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},j=({type:e="square",size:a,avatarImg:l,avatarUrl:o,firstLetter:n,backgroundColor:r,onClick:s,style:d,className:u,width:m,height:c,alt:p})=>{const g=a?U[a]:void 0,[h,f]=t.useState(!1);t.useEffect((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{f(!0)}))}}),[o,f]);const y=(!o&&!l||h)&&n;return _.default.createElement(v.StyledAvatar,{style:Object.assign(Object.assign({},d),{"--size":g?g+"px":void 0,"--width-prop":m?m+"px":void 0,"--height-prop":c?c+"px":void 0,"--background-color":r}),"data-has-max":!(!m||!c),"data-avatar-type":e,onClick:s,className:u,avatarUrl:o,"data-custom-size":!!a},l,o&&!h&&_.default.createElement(i.ImageWrap,{src:o,alt:p||"avatar"}),y&&n)},O=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],R=(e="")=>O.some((t=>new URL(e).origin.endsWith(t))),G=S.default.a`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
flex-direction: row;
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
`,te="hhgcomp-navprofilebutton-popup",ae=v.getDefaultClassWrapper(ee,te),ie=S.default.div`
|
|
212
212
|
position: fixed;
|
|
213
213
|
z-index: 150;
|
|
214
|
-
top: var(--header-bottom,
|
|
214
|
+
top: var(--header-bottom, 56px);
|
|
215
215
|
left: 0;
|
|
216
216
|
width: 100%;
|
|
217
217
|
height: 100%;
|
|
@@ -1624,14 +1624,14 @@
|
|
|
1624
1624
|
|
|
1625
1625
|
justify-content: space-between;
|
|
1626
1626
|
padding: 0 2rem;
|
|
1627
|
-
height:
|
|
1627
|
+
height: 56px;
|
|
1628
1628
|
${g.MediaQueries.pcDown} {
|
|
1629
1629
|
padding: 0 1rem;
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
1632
|
${g.MediaQueries.mbDown} {
|
|
1633
1633
|
position: relative;
|
|
1634
|
-
height:
|
|
1634
|
+
height: 56px;
|
|
1635
1635
|
background: white;
|
|
1636
1636
|
gap: 2px;
|
|
1637
1637
|
}
|
|
@@ -1750,4 +1750,4 @@
|
|
|
1750
1750
|
font-weight: 700;
|
|
1751
1751
|
line-height: 22px;
|
|
1752
1752
|
text-decoration: none;
|
|
1753
|
-
`;const si=e=>{var a,i;const{isMobile:l,locale:o,onTopBarAppears:d,languageOptions:u,sponsorComponent:m,sitewideBanner:p,sitewideBannerShown:g,className:h}=e,f=(()=>{const{t:e}=c.useTranslations(),{siteType:a,locale:i,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:d,enableNavTogether:u,enableNavEcom:m,statics:p}}=t.useContext(ct),g="marryBaby"===a;return t.useMemo((()=>{var t;const a=[];return l&&a.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}/categories`,niceName:"",thumbnail:g?n.CommonGAssets.getAssetPath("categories-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&a.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}${(null===(t=r.STATIC_PAGES[i])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:g?n.CommonGAssets.getAssetPath("healthtools-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),u&&a.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:s.normalizeLinkSlash(p.TOGETHER_URL_FE+"/"),thumbnail:g?n.CommonGAssets.getAssetPath("community-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/community.svg"),popupType:"together"}),m&&a.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.normalizeLinkSlash(p.HOME_PAGE_URL+"/shop"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/shop.svg"),popupType:null}),d&&a.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===i?s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care/current-location/hospital/"):s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===i||"ms-MY"===i?null:"care"}),a}),[i,d,u,m])})();(()=>{const{isFirstLogin:e,userState:a}=t.useContext(ct),{userInfo:i}=a;t.useEffect((()=>{(null==i?void 0:i.id)&&(e?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])})();const v=g&&!!p,y=!!m,b=!!(null===(i=null===(a=null==m?void 0:m.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),{headerRef:x,defaultHeaderHeight:E,headerHeight:C,headerBottom:w}=(({hasSponsoredBanners:e,isSponsored:a,isShowingSiteWideBanner:i,isMobile:l})=>{const o=t.useRef(null),[n,r]=t.useState(0),[s,d]=t.useState(64),u=t.useCallback(z.default((()=>{var e,t,a,i;const l=(null===(e=o.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=o.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=l+200&&(r(l),d((null===(i=o.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||n))}),200),[]);t.useEffect((()=>(window.addEventListener("resize",u,{passive:!0}),window.addEventListener("scroll",u,{passive:!0}),u(),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)})),[]),t.useEffect((()=>{u()}),[l,i,a,e,o.current]);const m=t.useMemo((()=>{let t=
|
|
1753
|
+
`;const si=e=>{var a,i;const{isMobile:l,locale:o,onTopBarAppears:d,languageOptions:u,sponsorComponent:m,sitewideBanner:p,sitewideBannerShown:g,className:h}=e,f=(()=>{const{t:e}=c.useTranslations(),{siteType:a,locale:i,configs:{enableNavDiscover:l,enableNavHealthTools:o,enableNavCare:d,enableNavTogether:u,enableNavEcom:m,statics:p}}=t.useContext(ct),g="marryBaby"===a;return t.useMemo((()=>{var t;const a=[];return l&&a.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}/categories`,niceName:"",thumbnail:g?n.CommonGAssets.getAssetPath("categories-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&a.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${p.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}${(null===(t=r.STATIC_PAGES[i])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:g?n.CommonGAssets.getAssetPath("healthtools-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),u&&a.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:s.normalizeLinkSlash(p.TOGETHER_URL_FE+"/"),thumbnail:g?n.CommonGAssets.getAssetPath("community-mb.svg"):n.CommonGAssets.getAssetPath("nav-icons/community.svg"),popupType:"together"}),m&&a.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:s.normalizeLinkSlash(p.HOME_PAGE_URL+"/shop"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/shop.svg"),popupType:null}),d&&a.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:"ms-MY"===i?s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care/current-location/hospital/"):s.normalizeLinkSlash(p.HOME_PAGE_URL+"/care"),thumbnail:n.CommonGAssets.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===i||"ms-MY"===i?null:"care"}),a}),[i,d,u,m])})();(()=>{const{isFirstLogin:e,userState:a}=t.useContext(ct),{userInfo:i}=a;t.useEffect((()=>{(null==i?void 0:i.id)&&(e?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])})();const v=g&&!!p,y=!!m,b=!!(null===(i=null===(a=null==m?void 0:m.props)||void 0===a?void 0:a.sponsoredBy)||void 0===i?void 0:i.length),{headerRef:x,defaultHeaderHeight:E,headerHeight:C,headerBottom:w}=(({hasSponsoredBanners:e,isSponsored:a,isShowingSiteWideBanner:i,isMobile:l})=>{const o=t.useRef(null),[n,r]=t.useState(0),[s,d]=t.useState(64),u=t.useCallback(z.default((()=>{var e,t,a,i;const l=(null===(e=o.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=o.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=l+200&&(r(l),d((null===(i=o.current)||void 0===i?void 0:i.getBoundingClientRect().bottom)||n))}),200),[]);t.useEffect((()=>(window.addEventListener("resize",u,{passive:!0}),window.addEventListener("scroll",u,{passive:!0}),u(),()=>{window.removeEventListener("resize",u),window.removeEventListener("scroll",u)})),[]),t.useEffect((()=>{u()}),[l,i,a,e,o.current]);const m=t.useMemo((()=>{let t=56;return i&&(t+=64),a&&(t+=40,e&&(t+=57)),t}),[l,i,e,a]);return{defaultHeaderHeight:m,headerHeight:n||m,headerBottom:s,headerRef:o}})({isShowingSiteWideBanner:v,isSponsored:y,hasSponsoredBanners:b,isMobile:l});return _.default.createElement(ri,{id:"navigation-v2",style:{"--default-header-height":E+"px","--header-height":`calc(${C}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":w+"px"},className:h},_.default.createElement("section",{ref:x},_.default.createElement(li,{menuItems:f,type:"home",onTopBarAppears:d,languageMenu:_.default.createElement(Y,{languageOptions:u,locale:o})})))},di=t=>e.__awaiter(void 0,void 0,void 0,(function*(){var e,a,i,l,o,n,m,c,p,g,h,f,v,y,b,x,E,C,w,k,$,M,A;const P={},N="vi-VN_MB"===t;try{const L="tl-PH"===t?"lang=fil":"";try{const[r,u,h,f]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/categories${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${L?"&"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}${L?"?"+L:""}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getDiscoverApiDomain(t)}/wp-json/api/${N?"health-tools":"healthtools"}/favorites${L?"?"+L:""}`)).then((e=>e.json()))]);P.categories={items:(null===(a=null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,qe))||[],spotlights:(null===(n=null===(o=null===(l=null===(i=null==u?void 0:u.data)||void 0===i?void 0:i.articles)||void 0===l?void 0:l.map)||void 0===o?void 0:o.call(l,Je))||void 0===n?void 0:n.filter(Xe))||[]},P.healthTools={items:(null===(c=null===(m=null==h?void 0:h.data)||void 0===m?void 0:m.map)||void 0===c?void 0:c.call(m,We))||[],spotlights:(null===(g=null===(p=null==f?void 0:f.data)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,We))||[]}}catch(e){}if(N||r.TOGETHER_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/community?website_url=https://${r.domainLocales[t]}`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(`${d.getTogetherApiDomain()}/api/v1/options?website_url=https://${r.domainLocales[t]}&meta_key=popular_post`)).then((e=>e.json()))]);P.together={items:(null===(v=null===(f=null===(h=null==e?void 0:e.data)||void 0===h?void 0:h.communities)||void 0===f?void 0:f.map)||void 0===v?void 0:v.call(f,u.formatCommunity))||[],spotlights:(null===(x=null===(b=null===(y=null==a?void 0:a.data)||void 0===y?void 0:y.posts)||void 0===b?void 0:b.map)||void 0===x?void 0:x.call(b,u.formatPost))||[]}}catch(e){}if(r.CARE_LOCALES.includes(t))try{const[e,a]=yield Promise.all([fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=0`)).then((e=>e.json())),fetch(s.normalizeLinkSlash(d.getCareApiDomain()+`/api/options/setting_menu?site=${r.domainLocales[t]}&type=1`)).then((e=>e.json()))]);P.care={items:(null===(k=null===(w=null===(C=null===(E=null==e?void 0:e._data)||void 0===E?void 0:E.setting_menu)||void 0===C?void 0:C.menu_specialty)||void 0===w?void 0:w.map)||void 0===k?void 0:k.call(w,Ye))||[],spotlights:(null===(A=null===(M=null===($=null==a?void 0:a._data.setting_menu)||void 0===$?void 0:$.menu_hospital)||void 0===M?void 0:M.map)||void 0===A?void 0:A.call(M,Ze))||[]}}catch(e){}}catch(e){console.error(e)}return P}));exports.Avatar=j,exports.LanguageSwitcher=Y,exports.NavHeader=he,exports.NavigationLogoutPopup=lt,exports.NavigationProfileButton=ot,exports.NavigationV2=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return _.default.createElement(pt,Object.assign({},t),_.default.createElement(si,Object.assign({},t)))},exports.ProfilePopup=tt,exports.UserProfileNavigation=et,exports.UserStats=Re,exports.getNavMenuContent=di,exports.getNavMenuContentWithCache=t=>e.__awaiter(void 0,void 0,void 0,(function*(){return(yield a.getDataWithCache("nav-menu-content",(()=>di(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}})),exports.isInternalLink=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index-8721656a.js"),a=require("./index.styles-724ad6e1.js"),l=require("./screenSizeContext-7a8dc0d4.js"),n=require("./index-98b078fa.js"),i=require("./index-f41be8bd.js"),r=require("./useTranslations-67bf1251.js");require("lodash/debounce");var o=require("./isProduction-b071692a.js"),s=require("./index-a7c4c692.js");require("./useCategory-65d27674.js");var d=require("./gAssets.js"),c=require("./theme-daef3205.js"),u=require("./tslib.es6-5092a61b.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-e1062254.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-c259ebae.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-45206eb6.js"),y=require("lodash/throttle"),x=require("./index-4249260d.js"),E=require("./index-8148a623.js"),w=require("./index-59c683b8.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-78c73f4f.js"),require("./index.styled-5228c870.js"),require("./index-7c32e512.js");var B=require("./constants-40c2c222.js"),T=require("./types-31498f6a.js"),D=require("./index-2c9ca3f4.js"),S=require("./index-20f7bb49.js"),N=require("./index.styled-2d000282.js"),M=require("./index-e54b88fc.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-dd4d8f0e.js"),z=require("@hookform/resolvers/yup"),P=require("./index-e48b9727.js"),L=require("./index-e66e5c42.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-ea53ea3f.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-ba3b713f.js"),G=require("uuid"),U=require("./routing-80fbf8cf.js"),W=require("@mantine/form"),V=require("./index-94e8dc6c.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-39c9d37e.js"),a=require("./index.styles-67ed9ca9.js"),l=require("./screenSizeContext-55c9a463.js"),n=require("./index-b7affa54.js"),i=require("./index-98ba4a89.js"),r=require("./useTranslations-a3b7e842.js");require("lodash/debounce");var o=require("./isProduction-adefbe35.js"),s=require("./index-bdb79e3b.js");require("./useCategory-ea4742a3.js");var d=require("./gAssets.js"),c=require("./theme-7ef51026.js"),u=require("./tslib.es6-0c7edd68.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-ff130f2f.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-a0a6eafc.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-75f72755.js"),y=require("lodash/throttle"),x=require("./index-3ddd2999.js"),E=require("./index-cf2be95e.js"),w=require("./index-7fec7adb.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-9e14145a.js"),require("./index.styled-6d9a6437.js"),require("./index-f4dd167b.js");var B=require("./constants-450d7201.js"),T=require("./types-b08986f4.js"),D=require("./index-b2c185f6.js"),S=require("./index-80a287c5.js"),N=require("./index.styled-bd54b35f.js"),M=require("./index-8a0242f2.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-cba85a41.js"),z=require("@hookform/resolvers/yup"),P=require("./index-033c5c74.js"),L=require("./index-90b2902d.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-2e33554b.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-0e588a1a.js"),G=require("uuid"),U=require("./routing-de04e059.js"),W=require("@mantine/form"),V=require("./index-f934085b.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-450d7201.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:g,size:f,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},g||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),r=require("./index.styled-6d9a6437.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},y))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},y))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-bdb79e3b.js"),a=require("./Onboarding-ff130f2f.js"),n=require("./gAssets.js"),l=require("./index-b7affa54.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:d,fullWidth:c=!0}=t,f=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:c?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(f.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:d},f,{className:`input-control ${(null==f?void 0:f.className)||""}`}))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("react"),i=require("./screenSizeContext-55c9a463.js"),t=require("styled-components"),o=require("./tslib.es6-0c7edd68.js"),l=require("./index.styles-67ed9ca9.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),r=n(t);const d=r.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
&[data-open='false'] {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
|
-
`,u=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},m=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},v=e=>void 0!==e&&e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:null,p=e=>{if(!e)return{};const{button_text:i,button_url:t,status:l,banner_desktop:n,banner_mobile:a}=e,r=o.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(l),bannerDesktop:n||"",bannerMobile:a||""},r)},c={EN:"English",FIL:"Filipino"},_=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in c?c[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),g=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?f(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:u(e.author),reviewer:e.reviewed_by&&u(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:y(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:y(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:y(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:y(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:h(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(h),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:m(e.expert),metaTag:e.meta_tag||null,spotlight:v(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:_(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:h(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:u(e.edit_last),subscriptionBanner:p(e.subscription_banner)}:{}},y=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,f=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},b=e=>({postTitle:e.post_title,permalink:e.permalink}),h=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?f(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>h(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?b(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>w(e))):null}:{}},w=e=>({title:e.title,content:e.content}),k=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},x=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},C=e=>{var i,t,o,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},I=e=>e?{answer:null==e?void 0:e.answer.map(T),expert:null==e?void 0:e.expert}:{},S=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(p=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(c=e.user)||void 0===c?void 0:c.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:I(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,p,c,_,g,y,f,b,h,w,k,x,C,I,S,A,B,D,P,j,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(T):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(c=e.user)||void 0===c?void 0:c.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(C=e.mentioned)||void 0===C?void 0:C.type)||"",email:(null===(I=e.mentioned)||void 0===I?void 0:I.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id)?String(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},A=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var B=Object.freeze({__proto__:null,formatAuthor:u,formatArticleExpert:m,formatSpotlightsSummary:v,TRANSLATE_LANGUAGES:c,formatTranslateOptions:_,formatArticle:g,formatUserProfile:y,formatBMIResult:e=>{var i,t,o,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:f,formatReviewedCategory:b,formatCategory:h,formatCategoryApi:e=>e?{categoryInfo:h(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(g),subCategories:(e.data.sub_categories||[]).map(h)}:{},formatFaqsCategory:w,formatHealthTool:k,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>k(e))))&&void 0!==t?t:[]}:{}},formatCommunity:x,formatTopic:C,formatExpertAnswer:I,formatPost:S,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:T,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?y(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:A,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?y(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:A(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});const D=r.default.div`
|
|
84
|
+
`,u=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},m=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},v=e=>void 0!==e&&e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:null,c=e=>{if(!e)return{};const{button_text:i,button_url:t,status:l,banner_desktop:n,banner_mobile:a}=e,r=o.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(l),bannerDesktop:n||"",bannerMobile:a||""},r)},p={EN:"English",FIL:"Filipino"},_=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in p?p[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),g=e=>{var i,t,o,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?f(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:u(e.author),reviewer:e.reviewed_by&&u(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:y(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:y(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.editor),expert:y(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.expert),fact_check:y(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:h(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(h),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:m(e.expert),metaTag:e.meta_tag||null,spotlight:v(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:_(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:h(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:u(e.edit_last),subscriptionBanner:c(e.subscription_banner)}:{}},y=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,f=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},b=e=>({postTitle:e.post_title,permalink:e.permalink}),h=e=>{var i,t;return e?{termId:e.term_id||null,sponsor:e.sponsor?f(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>h(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?b(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>w(e))):null}:{}},w=e=>({title:e.title,content:e.content}),k=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},x=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},C=e=>{var i,t,o,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},I=e=>e?{answer:null==e?void 0:e.answer.map(T),expert:null==e?void 0:e.expert}:{},S=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var t,o,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+i.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=e.community)||void 0===t?void 0:t.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(h=e.user)||void 0===h?void 0:h.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:I(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},T=e=>{var i,t,o,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,w,k,x,C,I,S,A,B,D,P,j,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(T):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(t=e.user)||void 0===t?void 0:t.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(k=null===(w=e.mentioned)||void 0===w?void 0:w.role)||void 0===k?void 0:k.toLowerCase():"",avatar:(null===(x=e.mentioned)||void 0===x?void 0:x.avatar)||"",type:(null===(C=e.mentioned)||void 0===C?void 0:C.type)||"",email:(null===(I=e.mentioned)||void 0===I?void 0:I.email)||"",partnerId:(null===(S=e.mentioned)||void 0===S?void 0:S.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id)?String(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},A=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var B=Object.freeze({__proto__:null,formatAuthor:u,formatArticleExpert:m,formatSpotlightsSummary:v,TRANSLATE_LANGUAGES:p,formatTranslateOptions:_,formatArticle:g,formatUserProfile:y,formatBMIResult:e=>{var i,t,o,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==e?void 0:e.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:f,formatReviewedCategory:b,formatCategory:h,formatCategoryApi:e=>e?{categoryInfo:h(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(g),subCategories:(e.data.sub_categories||[]).map(h)}:{},formatFaqsCategory:w,formatHealthTool:k,formatHealthToolTypeCategory:e=>{var i,t;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(t=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>k(e))))&&void 0!==t?t:[]}:{}},formatCommunity:x,formatTopic:C,formatExpertAnswer:I,formatPost:S,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,t,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(t=e.from_user)||void 0===t?void 0:t.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:T,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?y(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:A,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?y(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,t,o;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(t=e.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:A(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});const D=r.default.div`
|
|
85
85
|
width: ${e=>e.size||40}px;
|
|
86
86
|
height: ${e=>e.size||40}px;
|
|
87
87
|
flex-shrink: 0;
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`;exports.Popup=({type:e="lead",closeIcon:i,isOpen:t=!0,onClose:o,children:l,className:n="",enableAnimation:r=!0})=>a.default.createElement(a.default.Fragment,null,a.default.createElement(d,{"data-open":t,"data-type":e,"data-animation":r},a.default.createElement("div",{className:`${n||""} popup-content`},!!i&&a.default.createElement("div",{className:"close-button",onClick:o},i),l)),a.default.createElement(s,{"data-open":t,onClick:o})),exports.UserAvatar=i=>{var{className:t,isMarryBaby:n,style:r,avatar:d,username:s,size:u}=i,m=o.__rest(i,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:v}}}=e.useContext(l.TogetherComponentGlobalContext),
|
|
117
|
+
`;exports.Popup=({type:e="lead",closeIcon:i,isOpen:t=!0,onClose:o,children:l,className:n="",enableAnimation:r=!0})=>a.default.createElement(a.default.Fragment,null,a.default.createElement(d,{"data-open":t,"data-type":e,"data-animation":r},a.default.createElement("div",{className:`${n||""} popup-content`},!!i&&a.default.createElement("div",{className:"close-button",onClick:o},i),l)),a.default.createElement(s,{"data-open":t,onClick:o})),exports.UserAvatar=i=>{var{className:t,isMarryBaby:n,style:r,avatar:d,username:s,size:u}=i,m=o.__rest(i,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:v}}}=e.useContext(l.TogetherComponentGlobalContext),c="boolean"==typeof n?n:v,[p,_]=e.useState(!1);return e.useEffect((()=>{const e=new Image;e.onerror=()=>{_(!0)},e.src=d}),[]),a.default.createElement(D,Object.assign({"data-is-marrybaby":c,className:t,style:r,size:u},m),d&&!p?a.default.createElement("img",{loading:"lazy",src:d,className:"avatar",alt:"avatar",onError:()=>{_(!0)}}):a.default.createElement("div",{className:"avatar avatar-default"},s&&(null==s?void 0:s.length)>0?s[0].toUpperCase():"A"))},exports.dataTransform=B,exports.formatArticle=g,exports.formatCategory=h,exports.formatComment=T,exports.formatCommunity=x,exports.formatPost=S,exports.formatTopic=C,exports.formatUserProfileUrl=A;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),r=require("react");require("./index-b7affa54.js"),require("@mantine/core"),require("@mantine/dates"),require("./index-bdb79e3b.js"),require("./Onboarding-ff130f2f.js"),require("./gAssets.js");var t=require("./index-39c9d37e.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("dayjs"),require("./screenSizeContext-55c9a463.js"),require("styled-components"),require("./theme-7ef51026.js"),require("./isProduction-adefbe35.js"),require("./translationsContext-a0a6eafc.js"),require("string-format"),require("@mantine/hooks");var s=i(r);exports.Text=r=>{var{size:i="base",type:a="regular"}=r,n=e.__rest(r,["size","type"]);return s.default.createElement(t.Text,Object.assign({size:i,weight:"caption"===a?"bold":a},n))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-cf2be95e.js"),r=require("./index-b7affa54.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:E}=l,g=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[k,v]=t.useState(c||d||0),[S]=n.useDebouncedValue(k,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(S)}),[S]),t.useEffect((()=>{v(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:E},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{v((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:k,onChange:h?()=>null:v,min:d,max:m},g,{className:"hhg-mantine-slider "+(g.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{v((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-0c7edd68.js"),t=require("react"),l=require("@mantine/core"),a=require("@mantine/hooks"),r=require("./theme-7ef51026.js"),n=require("./gAssets.js"),i=require("dayjs"),o=require("./Onboarding-ff130f2f.js"),s=require("./screenSizeContext-55c9a463.js"),c=require("styled-components"),d=require("@mantine/carousel"),u=require("./index-39c9d37e.js"),f=require("./index-bdb79e3b.js");require("./isProduction-adefbe35.js");var h=require("classnames"),m=require("./useTranslations-a3b7e842.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var E=p(t),C=g(t),b=p(i),v=p(c),L=p(h);const y=l=>{var{alt:a,backupSrc:r,src:n,placeholderSrc:i,style:o,ref:s}=l,c=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[d,u]=t.useState(!1);return E.default.createElement(w,Object.assign({loading:"lazy",alt:a,onError:()=>!d&&u(!0),src:d?r||n:n||r,style:Object.assign(Object.assign({},i?{backgroundImage:`url(${i})`}:{}),o),"data-has-placeholder":!!i,ref:s},c))},w=v.default.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-e1062254.js"),l=require("./isProduction-b071692a.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},O={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},m="hhg_user_token",C={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-ff130f2f.js"),l=require("./isProduction-adefbe35.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},O={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},m="hhg_user_token",C={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-0c7edd68.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:P,onClick:g,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":L,"data-event-label":B,"data-product-channel":w,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${P||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&g&&g(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
|