@hhgtech/hhg-components 1.28.21 → 1.28.22
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.js +1 -1
- package/build/{constants-cae8dcfd.js → constants-a58058df.js} +1 -1
- package/build/{constants-0d879f21.js → constants-fc006ac7.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-42d5ed63.js → core-cd2c8618.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +9 -9
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-b5814512.js → constants-27004e00.js} +1 -1
- package/build/esm/{constants-5e4b6aaa.js → constants-9fb40a16.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-311d7242.js → core-840ab80b.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-6bf2e69d.js → getDynamicHealthTool-223693d9.js} +1 -1
- package/build/esm/{getSocialList-593d72cf.js → getSocialList-faff643c.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-f0b1e2fe.js → index-0c8e02fe.js} +1 -1
- package/build/esm/{index-27f79b14.js → index-1544c950.js} +1 -1
- package/build/esm/{index-ca4fdb46.js → index-189110e3.js} +1 -1
- package/build/esm/{index-f2bbc22b.js → index-2df6f063.js} +1 -1
- package/build/esm/{index-bfcf3fb0.js → index-3590ace9.js} +1 -1
- package/build/esm/index-45ccfa83.js +1 -0
- package/build/esm/{index-e5dce728.js → index-631a0653.js} +1 -1
- package/build/esm/index-6c4d5409.js +1 -0
- package/build/esm/{index-620551b5.js → index-71cce804.js} +1 -1
- package/build/esm/{index-9bb14d7f.js → index-7ddebb37.js} +1 -1
- package/build/esm/index-88dd5ac1.js +1 -0
- package/build/esm/{index-603aec16.js → index-ce22b3b6.js} +1 -1
- package/build/esm/{index-43c43315.js → index-d1155f84.js} +1 -1
- package/build/esm/index-d3fa30fc.js +1 -0
- package/build/esm/{index-fb027c2b.js → index-dab239b5.js} +4 -4
- package/build/esm/{index-9cdff468.js → index-e2470261.js} +1 -1
- package/build/esm/{index-bf7e8cb2.js → index-e6f18bd6.js} +1 -1
- package/build/esm/{index-727605cf.js → index-f6066f6e.js} +1 -1
- package/build/esm/{index-8014dff1.js → index-f7985048.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-02ca5623.js → index.styled-42d7d883.js} +1 -1
- package/build/esm/{index.styled-39bbc781.js → index.styled-88839824.js} +1 -1
- package/build/esm/{index.styles-8e66aa69.js → index.styles-d0bb1e03.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 +9 -9
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-cf2d5f19.js → routing-e07218b4.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-c18963c9.js → types-04146982.js} +2 -2
- package/build/esm/{types-a4c1b4b0.js → types-858772c3.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-e1c4dd95.js → useCategory-8ca1a4e9.js} +1 -1
- package/build/esm/useHealthToolCache-6d26332c.js +1 -0
- package/build/esm/{useRafState-d6f71b45.js → useRafState-e6d4886b.js} +1 -1
- package/build/esm/{useTranslations-0f3e8009.js → useTranslations-5eee897f.js} +1 -1
- package/build/esm/{utils-5f9f0861.js → utils-5f14f492.js} +1 -1
- package/build/esm/{utils-c9e60f19.js → utils-ee3c1d92.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-68c838ab.js +1 -0
- package/build/{getSocialList-ada93645.js → getSocialList-d9c58635.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-22536346.js → index-0fcca4fb.js} +1 -1
- package/build/{index-106a0aa4.js → index-11a4804c.js} +1 -1
- package/build/index-20bcddf8.js +1 -0
- package/build/{index-38dce2a8.js → index-25ab108c.js} +1 -1
- package/build/index-5ad97c99.js +1 -0
- package/build/{index-71c2b110.js → index-5dd1d4d2.js} +1 -1
- package/build/{index-75705406.js → index-5df8e48c.js} +3 -3
- package/build/{index-c29cd0ee.js → index-5e7d2833.js} +3 -3
- package/build/{index-8844b145.js → index-8e2adb6e.js} +1 -1
- package/build/{index-9e94fdd7.js → index-a3e0d4da.js} +1 -1
- package/build/{index-eb28658b.js → index-a7b26336.js} +11 -11
- package/build/{index-853b0b56.js → index-ac41e629.js} +1 -1
- package/build/{index-cef0a00f.js → index-be672ee0.js} +1 -1
- package/build/{index-1fbc51d0.js → index-bf2a9704.js} +1 -1
- package/build/{index-4a6fc7db.js → index-c1ac8c8e.js} +1 -1
- package/build/{index-29d8f3e7.js → index-c9318869.js} +1 -1
- package/build/{index-1df24374.js → index-d001b205.js} +1 -1
- package/build/index-d09f268e.js +1 -0
- package/build/{index-b6de35aa.js → index-e0e30fa5.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0e38b245.js → index.styled-bf57e3f5.js} +1 -1
- package/build/{index.styled-24033e81.js → index.styled-c772d91a.js} +1 -1
- package/build/{index.styles-ad7903c3.js → index.styles-c181cbd7.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 +2 -2
- package/build/{routing-ec743546.js → routing-bfbc957e.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-6f7fce81.js → types-cda69406.js} +2 -2
- package/build/{types-04be3103.js → types-e1279ec1.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-5cbd3135.js → useCategory-3227fe9f.js} +1 -1
- package/build/useHealthToolCache-4fcb8362.js +1 -0
- package/build/{useRafState-68615887.js → useRafState-c0aff4b6.js} +1 -1
- package/build/{useTranslations-fe507352.js → useTranslations-838e0450.js} +1 -1
- package/build/{utils-381adc93.js → utils-fde4413a.js} +1 -1
- package/build/{utils-76a160ce.js → utils-ffaba4fa.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/index-0bc7892c.js +0 -1
- package/build/esm/index-3fd6d11d.js +0 -1
- package/build/esm/index-43ced8c4.js +0 -1
- package/build/esm/index-4bee5ccb.js +0 -1
- package/build/esm/useHealthToolCache-4f4bec7e.js +0 -1
- package/build/getDynamicHealthTool-114ddb03.js +0 -1
- package/build/index-562ffe13.js +0 -1
- package/build/index-6c94c4af.js +0 -1
- package/build/index-b1f953f6.js +0 -1
- package/build/useHealthToolCache-ad666c43.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-943242cd.js → BMI_BOYS.percentile.monthly-96148bfe.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-348ba55a.js → BMI_BOYS.percentile.weekly-64f1bab8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-aaa04db9.js → BMI_BOYS.percentile.yearly-1da25eb1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f6d07e3b.js → BMI_BOYS.zscore.monthly-74fdfe9c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-303d8a0e.js → BMI_BOYS.zscore.weekly-91b18364.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-024c0240.js → BMI_BOYS.zscore.yearly-e026f32d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-9e09fab0.js → BMI_GIRLS.percentile.monthly-b56bf71a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-4423fb86.js → BMI_GIRLS.percentile.weekly-bc10109b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-d473af49.js → BMI_GIRLS.percentile.yearly-7a6cc381.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-32c50ad7.js → BMI_GIRLS.zscore.monthly-8b6c0057.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-cd164e3d.js → BMI_GIRLS.zscore.weekly-4d661e44.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-45434eb3.js → BMI_GIRLS.zscore.yearly-9f010c5b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-276b36ea.js → HEAD CIRCUM_BOYS.percentile.monthly-9cd3e480.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9e1a3595.js → HEAD CIRCUM_BOYS.percentile.weekly-6824d1ba.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2d20cea8.js → HEAD CIRCUM_BOYS.percentile.yearly-df1fef27.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-33424f91.js → HEAD CIRCUM_BOYS.zscore.monthly-7f696bc5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-37907536.js → HEAD CIRCUM_BOYS.zscore.weekly-233be92c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-85993e9b.js → HEAD CIRCUM_BOYS.zscore.yearly-f9fdfc32.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d1927886.js → HEAD CIRCUM_GIRLS.percentile.monthly-346b817a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-ee99ab29.js → HEAD CIRCUM_GIRLS.percentile.weekly-b57442c0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4a765f28.js → HEAD CIRCUM_GIRLS.percentile.yearly-4a4aa94b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3b459cae.js → HEAD CIRCUM_GIRLS.zscore.monthly-6ce37fff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e6a11767.js → HEAD CIRCUM_GIRLS.zscore.weekly-3b5c8ced.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-01897cb8.js → HEAD CIRCUM_GIRLS.zscore.yearly-d4e85a20.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d30bfe74.js → HEIGHT_BOYS.percentile.monthly-56ac170c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-036c0cc0.js → HEIGHT_BOYS.percentile.weekly-d4cd7a24.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-033a22e5.js → HEIGHT_BOYS.percentile.yearly-54c59e01.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8f647f0d.js → HEIGHT_BOYS.zscore.monthly-fd97186a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-29ffb508.js → HEIGHT_BOYS.zscore.weekly-04b5ec76.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-d9229c2b.js → HEIGHT_BOYS.zscore.yearly-aa471b4c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-788585cb.js → HEIGHT_GIRLS.percentile.monthly-ba164abd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e7e66eea.js → HEIGHT_GIRLS.percentile.weekly-5470787f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-dc20673b.js → HEIGHT_GIRLS.percentile.yearly-b150c223.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e5830d69.js → HEIGHT_GIRLS.zscore.monthly-3c6d8076.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ee4eb471.js → HEIGHT_GIRLS.zscore.weekly-feae71d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2fea76f2.js → HEIGHT_GIRLS.zscore.yearly-6247aab0.js} +0 -0
- /package/build/{Onboarding-30aed79e.js → Onboarding-8183db2a.js} +0 -0
- /package/build/{Visible-d5b3e721.js → Visible-a93fccda.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3b373855.js → WEIGHT_BOYS.percentile.monthly-febba2e1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-40d48d19.js → WEIGHT_BOYS.percentile.weekly-11e12732.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a8ed04d7.js → WEIGHT_BOYS.percentile.yearly-ad063d36.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bb4515c9.js → WEIGHT_BOYS.zscore.monthly-83fab5a5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e246bbb1.js → WEIGHT_BOYS.zscore.weekly-b9d1324a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-f8a1009f.js → WEIGHT_BOYS.zscore.yearly-ce1cf589.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-2a4758e2.js → WEIGHT_GIRLS.percentile.monthly-9cddc118.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-945cecc0.js → WEIGHT_GIRLS.percentile.weekly-c09c1906.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-f388f6eb.js → WEIGHT_GIRLS.percentile.yearly-50a8ce57.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-29e23b56.js → WEIGHT_GIRLS.zscore.monthly-d3d49969.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-27bfa598.js → WEIGHT_GIRLS.zscore.weekly-6c081cd2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-ec81d01f.js → WEIGHT_GIRLS.zscore.yearly-5c52b15b.js} +0 -0
- /package/build/{cookieHelper-c4eae752.js → cookieHelper-a6b97d90.js} +0 -0
- /package/build/{dataTransform-7a7971d2.js → dataTransform-a4d4c1b0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-6359f2aa.js → BMI_BOYS.percentile.monthly-90307381.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-fe261546.js → BMI_BOYS.percentile.weekly-46d57501.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-dfb86f24.js → BMI_BOYS.percentile.yearly-16d1e199.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-32b6f269.js → BMI_BOYS.zscore.monthly-2ef690d3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-01f330ec.js → BMI_BOYS.zscore.weekly-4ecba791.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e5014506.js → BMI_BOYS.zscore.yearly-199ac940.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-fa928a13.js → BMI_GIRLS.percentile.monthly-da510f93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ec63366d.js → BMI_GIRLS.percentile.weekly-39f68895.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6f7249a8.js → BMI_GIRLS.percentile.yearly-6bf00a8d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-84f48d9d.js → BMI_GIRLS.zscore.monthly-1907baa9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-d2aa40f9.js → BMI_GIRLS.zscore.weekly-43228168.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-f7c405d2.js → BMI_GIRLS.zscore.yearly-d3e00018.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9a7d38e3.js → HEAD CIRCUM_BOYS.percentile.monthly-a33f2acc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-5f8c3bc2.js → HEAD CIRCUM_BOYS.percentile.weekly-2a8b05c8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-05cfb1a7.js → HEAD CIRCUM_BOYS.percentile.yearly-aa25970c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e0d54f1f.js → HEAD CIRCUM_BOYS.zscore.monthly-1dfefb19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-37e62f29.js → HEAD CIRCUM_BOYS.zscore.weekly-23a756a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-71b64cf9.js → HEAD CIRCUM_BOYS.zscore.yearly-abb82528.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e6419ec4.js → HEAD CIRCUM_GIRLS.percentile.monthly-8d29afce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-50ff3bb2.js → HEAD CIRCUM_GIRLS.percentile.weekly-d088b3d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-58407ac8.js → HEAD CIRCUM_GIRLS.percentile.yearly-2bfa1b9d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-0a3d0392.js → HEAD CIRCUM_GIRLS.zscore.monthly-bffe5582.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-7704d6f6.js → HEAD CIRCUM_GIRLS.zscore.weekly-a6477dbf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-20d7b666.js → HEAD CIRCUM_GIRLS.zscore.yearly-4b16228d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2265f5e0.js → HEIGHT_BOYS.percentile.monthly-dcc56215.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-1d6f2675.js → HEIGHT_BOYS.percentile.weekly-746f9f5f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a16c60e0.js → HEIGHT_BOYS.percentile.yearly-61101352.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-74f11cf7.js → HEIGHT_BOYS.zscore.monthly-af541b00.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4e9ad921.js → HEIGHT_BOYS.zscore.weekly-83f908c3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3c84be19.js → HEIGHT_BOYS.zscore.yearly-f1c33ecd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-d69c1bc0.js → HEIGHT_GIRLS.percentile.monthly-ae4fe175.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c98c3719.js → HEIGHT_GIRLS.percentile.weekly-0bdfa7f2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7d1c2f8f.js → HEIGHT_GIRLS.percentile.yearly-630c67ac.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-458a3838.js → HEIGHT_GIRLS.zscore.monthly-e5be28b3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ee69fddb.js → HEIGHT_GIRLS.zscore.weekly-a5fd6934.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4ed7d8c4.js → HEIGHT_GIRLS.zscore.yearly-15be82af.js} +0 -0
- /package/build/esm/{Onboarding-128f7694.js → Onboarding-c4c73809.js} +0 -0
- /package/build/esm/{Visible-0aff5e0b.js → Visible-a9d70fee.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c975b56a.js → WEIGHT_BOYS.percentile.monthly-682b522e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-fa671296.js → WEIGHT_BOYS.percentile.weekly-316f7e6f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-94ee1ffc.js → WEIGHT_BOYS.percentile.yearly-1745e62e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-980ad564.js → WEIGHT_BOYS.zscore.monthly-333c0829.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cfd0319e.js → WEIGHT_BOYS.zscore.weekly-354b49e7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-93242e4e.js → WEIGHT_BOYS.zscore.yearly-926c20df.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-3701392d.js → WEIGHT_GIRLS.percentile.monthly-3688887b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f94367f1.js → WEIGHT_GIRLS.percentile.weekly-7438a8e0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-21712a28.js → WEIGHT_GIRLS.percentile.yearly-03443cdc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-68b0d421.js → WEIGHT_GIRLS.zscore.monthly-d43cd306.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-53eb8866.js → WEIGHT_GIRLS.zscore.weekly-82c94e23.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ba9c78d9.js → WEIGHT_GIRLS.zscore.yearly-0d972eaa.js} +0 -0
- /package/build/esm/{cookieHelper-f08471b0.js → cookieHelper-e8bc8745.js} +0 -0
- /package/build/esm/{dataTransform-9a889a57.js → dataTransform-13a940e6.js} +0 -0
- /package/build/esm/{index-c4775284.js → index-0f40266a.js} +0 -0
- /package/build/esm/{index-c93685a5.js → index-1022850c.js} +0 -0
- /package/build/esm/{index-fc996fc3.js → index-af869181.js} +0 -0
- /package/build/esm/{isProduction-526256cd.js → isProduction-abad368e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-40d6b54f.js → localizeNumberFormat-7317ce83.js} +0 -0
- /package/build/esm/{normalizeLink-630cc7e1.js → normalizeLink-bdd913b5.js} +0 -0
- /package/build/esm/{number-2748523d.js → number-d63081a4.js} +0 -0
- /package/build/esm/{paths-d658dd02.js → paths-cd6362b0.js} +0 -0
- /package/build/esm/{screenSizeContext-593881b5.js → screenSizeContext-6250deff.js} +0 -0
- /package/build/esm/{theme-2b59bc50.js → theme-b742a282.js} +0 -0
- /package/build/esm/{translationsContext-04bcf678.js → translationsContext-8a8e6199.js} +0 -0
- /package/build/esm/{tslib.es6-541a264f.js → tslib.es6-e88b4ce3.js} +0 -0
- /package/build/esm/{types-fe0f7019.js → types-c068166d.js} +0 -0
- /package/build/esm/{useIsInit-6bede063.js → useIsInit-76e26578.js} +0 -0
- /package/build/esm/{useOutsideClick-359aeef3.js → useOutsideClick-f7dbc152.js} +0 -0
- /package/build/esm/{useScrollbarSize-957c3c67.js → useScrollbarSize-97c781c0.js} +0 -0
- /package/build/{index-89f9554a.js → index-0a58af1c.js} +0 -0
- /package/build/{index-11d9951e.js → index-66a8ec44.js} +0 -0
- /package/build/{index-867763ec.js → index-d43c1ecb.js} +0 -0
- /package/build/{isProduction-201ff7b0.js → isProduction-80fbe7d1.js} +0 -0
- /package/build/{localizeNumberFormat-2080e041.js → localizeNumberFormat-ed7a991c.js} +0 -0
- /package/build/{normalizeLink-3765f193.js → normalizeLink-58a3de31.js} +0 -0
- /package/build/{number-1de035c4.js → number-e106e56a.js} +0 -0
- /package/build/{paths-855ff49e.js → paths-919284be.js} +0 -0
- /package/build/{screenSizeContext-c2712d14.js → screenSizeContext-12b5f9c1.js} +0 -0
- /package/build/{theme-8c73ee47.js → theme-ffd03ae2.js} +0 -0
- /package/build/{translationsContext-1b861397.js → translationsContext-58fe2efa.js} +0 -0
- /package/build/{tslib.es6-97edf1e8.js → tslib.es6-f42d0024.js} +0 -0
- /package/build/{types-7692b1e6.js → types-0b03b0f3.js} +0 -0
- /package/build/{useIsInit-e2e74e93.js → useIsInit-3dcba450.js} +0 -0
- /package/build/{useOutsideClick-5f6e71c0.js → useOutsideClick-a31510e0.js} +0 -0
- /package/build/{useScrollbarSize-4221e3e3.js → useScrollbarSize-61d1478e.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,b as r,d as l,e as i}from"./constants-27004e00.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t}from"./tslib.es6-e88b4ce3.js";import e from"react";import"./index-ce22b3b6.js";import"@mantine/core";import"@mantine/dates";import"./index-1544c950.js";import"./Onboarding-c4c73809.js";import"./gAssets.js";import{T as i}from"./index-71cce804.js";import"dayjs";import"./screenSizeContext-6250deff.js";import"styled-components";import"./theme-b742a282.js";import"./isProduction-abad368e.js";import"./translationsContext-8a8e6199.js";import"string-format";import"@mantine/hooks";const o=o=>{var{size:r="base",type:s="regular"}=o,m=t(o,["size","type"]);return e.createElement(i,Object.assign({size:r,weight:"caption"===s?"bold":s},m))};export{o as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-e88b4ce3.js";import*as l from"react";import n,{useState as a,useMemo as r,forwardRef as i,useEffect as o,Component as c,useCallback as s,createContext as d,useContext as h,useRef as m,useImperativeHandle as p}from"react";import{Radio as u,useMantineTheme as g,Autocomplete as f,Image as b,ActionIcon as E,Select as C,createStyles as v,AspectRatio as L,em as y,Box as w,Breadcrumbs as x,Button as k,Textarea as j,Accordion as O,Indicator as M,Avatar as S,FileInput as H,createEmotionCache as B,NumberInput as Z,PasswordInput as R,TextInput as V,Input as A,Checkbox as I,Slider as z,Flex as P,rem as F,Tabs as T,ScrollArea as D,Popover as N,Chip as $}from"@mantine/core";import{useUncontrolled as W,useDebouncedValue as U,useViewportSize as _,useResizeObserver as G,useDisclosure as K,useClickOutside as q}from"@mantine/hooks";import{t as Y}from"./theme-b742a282.js";import{CommonGAssets as Q}from"./gAssets.js";import J from"dayjs";import{L as X}from"./Onboarding-c4c73809.js";import{B as ee,M as te}from"./screenSizeContext-6250deff.js";import le from"styled-components";import{Carousel as ne}from"@mantine/carousel";import{T as ae,O as re,I as ie}from"./index-71cce804.js";import{I as oe,s as ce}from"./index-1544c950.js";import"./isProduction-abad368e.js";import se from"classnames";import{b as de}from"./useTranslations-5eee897f.js";const he=t=>{var{alt:l,backupSrc:r,src:i,placeholderSrc:o,style:c,ref:s}=t,d=e(t,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[h,m]=a(!1);return n.createElement(me,Object.assign({loading:"lazy",alt:l,onError:()=>!h&&m(!0),src:h?r||i:i||r,style:Object.assign(Object.assign({},o?{backgroundImage:`url(${o})`}:{}),c),"data-has-placeholder":!!o,ref:s},d))},me=le.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a}from"./tslib.es6-
|
|
1
|
+
import{_ as a}from"./tslib.es6-e88b4ce3.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:P,className:g,onClick:k,icon:v,iconPosition:E="left",children:b,isLoading:y=!1,loadingText:N,dataEventCategory:f,dataEventAction:L,dataEventLabel:B,dataProductChannel:w,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["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":f,"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":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.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"})),t.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)"}))),W=(v||y)&&t.createElement("span",{className:r},y?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${g||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!y&&!h&&k&&k(a)},title:P,"data-is-loading":y,type:j},F),t.createElement("span",{className:c},"left"===E&&W,b&&t.createElement("span",{className:o},y&&N||b),"right"===E&&W))};export{l as B};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as o}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Indicator as e}from"@mantine/core";import"dayjs";import"./screenSizeContext-6250deff.js";import"styled-components";import{t as s}from"./theme-b742a282.js";import"./index-1544c950.js";import"./isProduction-abad368e.js";import"./Onboarding-c4c73809.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=s.colors.red700}=r,a=o(r,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},a))};export{r as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Onboarding-c4c73809.js";import{CommonGAssets as r}from"./gAssets.js";import{t as i}from"./theme-b742a282.js";import c from"styled-components";import{I as s,g as d}from"./index-ce22b3b6.js";import{T as p}from"./index-88dd5ac1.js";const m=c.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -36,9 +36,9 @@ import{_ as e}from"./tslib.es6-541a264f.js";import t,{useMemo as n,useState as a
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,b=[l.Myanmar,l.Taiwan],h=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const C=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),C?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,
|
|
41
|
+
`,v=c(d.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-541a264f.js";import t,{useMemo as n,useState as a
|
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
50
|
-
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const
|
|
50
|
+
`,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,C]=a("");return o((()=>{C(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(v,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.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":n,className:"pointer-event-child-none"},t.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"}));export{x as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-
|
|
1
|
+
import e,{useContext as i,useState as t,useEffect as o}from"react";import{M as n}from"./screenSizeContext-6250deff.js";import l from"styled-components";import{_ as a}from"./tslib.es6-e88b4ce3.js";import{b as r}from"./index.styles-d0bb1e03.js";const d=l.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-1544c950.js";import{L as i}from"./Onboarding-c4c73809.js";import{CommonGAssets as a}from"./gAssets.js";import{M as n}from"./index-ce22b3b6.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e88b4ce3.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{CommonGAssets as o}from"./gAssets.js";import{j as a}from"./index-ce22b3b6.js";import{T as n}from"./index-71cce804.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-620551b5.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-8e66aa69.js";import{i as G,M as Z}from"./screenSizeContext-593881b5.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-603aec16.js";import{T as le}from"./index-43ced8c4.js";import{b as re,u as oe}from"./useTranslations-0f3e8009.js";import"lodash/debounce";import{i as se}from"./isProduction-526256cd.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-27f79b14.js";import"./useCategory-e1c4dd95.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-2b59bc50.js";import{_ as ye,a as fe}from"./tslib.es6-541a264f.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-128f7694.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-04bcf678.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-ca4fdb46.js";import Ze from"lodash/throttle";import{L as qe}from"./index-3fd6d11d.js";import{B as Ye}from"./index-43c43315.js";import{I as Xe}from"./index-9bb14d7f.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-5f9f0861.js";import"./index.styled-02ca5623.js";import"./index-c93685a5.js";import{L as dt}from"./constants-b5814512.js";import{D as mt}from"./types-fe0f7019.js";import{S as pt}from"./index-0bc7892c.js";import{M as gt}from"./index-f0b1e2fe.js";import{b as ht}from"./index.styled-39bbc781.js";import{C as ut}from"./index-fc996fc3.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-4f4bec7e.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-e5dce728.js";import{f as Et}from"./index-9cdff468.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-359aeef3.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-593d72cf.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-cf2d5f19.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-727605cf.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.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)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Zt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.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)"})),qt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.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)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?e.createElement(Zt,null):e.createElement(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.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"})),ia=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.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"})),la=t=>{const a=re();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.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"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.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"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.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"}))))),va=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.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"})))),ya=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.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"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.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"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.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"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.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"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
|
|
1
|
+
import e,{useState as t,useRef as a,useMemo as n,useEffect as i,Fragment as l,memo as r,useCallback as o,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p,I as g}from"./index-71cce804.js";import{e as h,f as u,g as b,h as v,i as y,j as f,k as x,l as w,m as E,n as k,o as C,p as B,q as N,r as D,s as $,t as z,u as L,v as P,H as S,T,w as M,Z as I,P as j,x as A,y as O,z as _,A as F,B as H,b as R,C as W,E as U,F as V}from"./index.styles-d0bb1e03.js";import{i as G,M as Z}from"./screenSizeContext-6250deff.js";import{R as q,u as Y,A as X,a as K,b as J,B as Q,c as ee,I as te,d as ae,e as ne,t as ie}from"./index-ce22b3b6.js";import{T as le}from"./index-88dd5ac1.js";import{b as re,u as oe}from"./useTranslations-5eee897f.js";import"lodash/debounce";import{i as se}from"./isProduction-abad368e.js";import{d as ce,L as de,F as me,Q as pe,R as ge,a as he,G as ue}from"./index-1544c950.js";import"./useCategory-8ca1a4e9.js";import{CommonGAssets as be}from"./gAssets.js";import{t as ve}from"./theme-b742a282.js";import{_ as ye,a as fe}from"./tslib.es6-e88b4ce3.js";import{Box as xe,Radio as we,Flex as Ee,rem as ke,Card as Ce,Group as Be,createStyles as Ne,Stack as De,getStylesRef as $e,useMantineTheme as ze,Container as Le,UnstyledButton as Pe,AspectRatio as Se,ScrollArea as Te,Chip as Me,Badge as Ie,MultiSelect as je,Stepper as Ae}from"@mantine/core";import Oe from"innertext";import"@mantine/dates";import{G as _e,L as Fe}from"./Onboarding-c4c73809.js";import He from"dayjs";import Re,{keyframes as We,css as Ue}from"styled-components";import"./translationsContext-8a8e6199.js";import"string-format";import{useViewportSize as Ve}from"@mantine/hooks";import{i as Ge}from"./index-189110e3.js";import Ze from"lodash/throttle";import{L as qe}from"./index-45ccfa83.js";import{B as Ye}from"./index-d1155f84.js";import{I as Xe}from"./index-7ddebb37.js";import Ke from"html-react-parser";import{format as Je,addDays as Qe,isBefore as et,startOfMonth as tt,addMonths as at,subMonths as nt,getDaysInMonth as it,isToday as lt,isSameDay as rt,isWithinInterval as ot,isAfter as st,isPast as ct}from"date-fns";import"./utils-5f14f492.js";import"./index.styled-42d7d883.js";import"./index-1022850c.js";import{L as dt}from"./constants-27004e00.js";import{D as mt}from"./types-c068166d.js";import{S as pt}from"./index-6c4d5409.js";import{M as gt}from"./index-0c8e02fe.js";import{b as ht}from"./index.styled-88839824.js";import{C as ut}from"./index-af869181.js";import{useForm as bt,Controller as vt}from"react-hook-form";import{u as yt}from"./useHealthToolCache-6d26332c.js";import{yupResolver as ft}from"@hookform/resolvers/yup";import{B as xt,D as wt}from"./index-631a0653.js";import{f as Et}from"./index-e2470261.js";import kt from"react-day-picker/DayPickerInput";import{a as Ct}from"./useOutsideClick-f7dbc152.js";import Bt from"date-fns/locale/en-US";import Nt from"date-fns/locale/id";import Dt from"date-fns/locale/vi";import $t from"date-fns/locale/zh-TW";import{g as zt}from"./getSocialList-faff643c.js";import{v4 as Lt}from"uuid";import{g as Pt,a as St}from"./routing-e07218b4.js";import{useForm as Tt,isNotEmpty as Mt}from"@mantine/form";import{M as It}from"./index-f6066f6e.js";import jt from"js-cookie";import At from"lodash/flatten";import"react-contenteditable";import"react-dom";import Ot from"lodash/uniqBy";var _t="CHw-fZZ",Ft="_03U6VRS",Ht="EO828Vv";const Rt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:r,className:o,description:s})=>e.createElement("div",{className:`${_t} ${o||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Ft},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Ht,onClick:a},r)),Wt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:r})=>e.createElement(h,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:r},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Ut=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:r,as:o="h4",color:s})=>e.createElement(u,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":r,as:o},a),Vt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Gt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.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)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Zt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.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)"})),qt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.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)"})),Yt=({className:n,value:i,options:l,onUploadSelected:r,id:o,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),h=a(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}}))));return e.createElement(b,{className:n,"data-dropdown-open":!!m,id:o,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Vt,null),e.createElement(v,{onClick:g},s||e.createElement(Gt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${o}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(x,null,t.icon||"download"===t.type?e.createElement(Zt,null):e.createElement(qt,null)),t.label)))),e.createElement(e.Fragment,null,h.current))},Xt=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:r,children:o,justifyChildren:s,style:c,alignItems:d})=>e.createElement(w,{className:t,style:c,theme:{columns:a,columnsDesktop:n,gap:r,justifyChildren:s,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,alignItems:d}},o),Kt=({pagesAmount:a,activePage:n,handlePageChange:r,handleClick:o,href:s,queryPageName:c="page"})=>{const d=[...Array(a)].map(((e,t)=>t+1)),[m,p]=t(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return i((()=>{n<=4?p(d.slice(0,5)):n>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(n-2,n+1))}),[n]),e.createElement(l,null,n>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>r(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===n||void 0,onClick:()=>r(t)},s?e.createElement("a",{href:G(s,t,c),onClick:o},t):t))),n<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>r(d.length)},s?e.createElement("a",{href:G(s,d.length,c),onClick:o},d.length):d.length)))},Jt=({className:a,pagesAmount:l,currentPage:r,onChange:o,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,h]=t(r),u=n((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),b=l-1,v=e=>{e<=l&&e>0&&(h(e),o(e))},y=e=>{s&&s(e)};return i((()=>{h(r)}),[r]),e.createElement(E,{className:a,style:c},e.createElement(k,{className:"prev-page",onClick:()=>v(g-1),"data-last-page":1===g||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(Kt,{pagesAmount:l,activePage:g,handlePageChange:v,handleClick:y,href:u,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>v(t)},u?e.createElement("a",{href:G(u,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>v(g+1),"data-last-page":g===b+1||void 0},u?e.createElement("a",{href:G(u,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Qt=({size:t="small",label:a,name:n,checked:i,value:l,className:r,isDisabled:o=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(q,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:r,disabled:o,onChange:e=>null==s?void 0:s(e.target.value)},p))},ea=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:r,isLight:o,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(B,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":o||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:r,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:o,tagIsSquared:l,tagIsALink:c},e.createElement(le,Object.assign({},m),a))},ta=({className:t,id:a,onChange:n,checked:i,style:l,label:r})=>e.createElement(N,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(D,null),r&&e.createElement($,null,r))),aa=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:r,value:o,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(z,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>r(o,!n),disabled:l,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),na=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.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"})),ia=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.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"})),la=t=>{const a=re();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.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"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.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"})))},ra=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:r,hideEmptyStars:o,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),h=p||d,u=p?0:m;return e.createElement(L,{"data-selectable":!!r,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:o?d+m:l}).map(((t,a)=>{const n=()=>!!r&&g(a+1),i=()=>!!r&&g(null);return a+1<=h?e.createElement(ia,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):a+1===h+u?e.createElement(la,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(na,{key:a,onClick:()=>null==r?void 0:r(a+1),onMouseOver:n,onMouseLeave:i})})))},oa=l=>{var{label:r,availableValue:o,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ye(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=oe(),{classes:h,cx:u}=P(void 0,{name:"GenderOptionControl",styles:s}),[b,v]=t(),y=a(null),f=n((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:be.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:be.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return i((()=>{v(o)}),[o]),e.createElement(xe,{ref:y,className:h.root},e.createElement(we.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},r||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:h.groupErr}}),e.createElement(Ee,{className:u(h.wrapper)},f.map((t=>e.createElement(we,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:t.value,value:t.value},b&&t.value!==b&&{disabled:!0},{label:e.createElement(Ee,{gap:ke(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var sa="tliWyii";const ca=({className:t,theme:a,hideText:n})=>{const{t:i}=oe();return e.createElement("div",{className:`${sa} ${t}`},e.createElement(g.Spinner,{isMarryBaby:"marryBaby"===a}),!n&&i("loading"))};var da="PiqKaXk",ma="HgbW6-m",pa="_6lkfLYy",ga="j7c-onH";const ha=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),ua=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:r})=>e.createElement("div",{className:ga},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:ve.colors.gray600},n),e.createElement(p,{color:ve.colors.gray500,size:"p3",className:"specialty"},r)):e.createElement(e.Fragment,null,e.createElement("h6",{color:ve.colors.gray600,className:`${da} expert__name`},n),e.createElement(p,{color:ve.colors.gray500,size:"p4",className:"specialty"},r)))))),ba=r((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.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"}))))),va=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.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"})))),ya=r((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.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"})))),fa=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:r,categoryName:o,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:u,dataEventCategoryForCategory:b,dataEventCategoryForTitle:v,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:x,dataEventLabelForTitle:w,direction:E="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:B=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:$,section:z="normal",size:L="md",specialty:P,style:T,styleBanner:M,styleLabel:I,styleTitle:j,text:A,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==D||D()},U="lg"===L&&"expert"===_?"h4":"lg"===L&&"home"===z?N?"h4":"h3":"lg"===L?"h4":"h5",V="lg"===L?"p3":"p4",G=N||"home"!==z||"lg"!==L||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${pa} ${s||""}`,"data-size":L,style:T,"data-direction":E,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:M},e.createElement("a",{className:ma,"data-event-category":h,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:be.getAssetPath("premium-crown.svg")}),k&&e.createElement(ba,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:I,className:"label",size:G,weight:"caption"},e.createElement("a",{className:ma,"data-event-category":b,"data-event-action":m,"data-event-label":x,href:r||"#",onClick:$},o),B&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(va,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ya,{dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(S,{tag:U,style:j,className:"title",as:"lg"===L?"h2":"h3"},e.createElement("a",{className:ma,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:t||"#",target:H},O)),A&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},A))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(ha,{size:L,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ua,{size:L,isMobile:N,avatarImg:i,specialty:P,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:u,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},xa=t=>{var a,n,i,{article:l,author:r,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:h}=t,u=ye(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=Y();return console.log({article:l}),e.createElement(Ce,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},u),e.createElement(Ce.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(b?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.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"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==h?void 0:h.bookmark),e.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"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Oe(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(Ee,{gap:12,align:"center"},e.createElement(K,{size:32,src:o,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",g))))};var wa=Ne(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ea=648/440,ka=1.5,Ca=t=>{var a,i,l,{article:r,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:h,time:u,tracking:b,classNames:v,styles:y,unstyled:f,className:x}=t,w=ye(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:E}=Y(),{classes:k,cx:C}=wa({},{name:"ArticleCard",classNames:v,styles:y,unstyled:f}),B=n((()=>m?ka:Ea),[m]);return e.createElement(Ce,Object.assign({className:C(k.root,x),padding:"lg",radius:0},w),e.createElement(Ce.Section,{className:C(k.image,"pointer")},e.createElement(J,Object.assign({ratio:B},d),e.createElement("img",{src:(E?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),e.createElement(Ce.Section,null,e.createElement(Be,{position:"apart",mt:16,mb:4},e.createElement(X,{className:k.category,href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),e.createElement(xe,{sx:{cursor:"pointer"},role:"button",onClick:h},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.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"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),e.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"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Oe(r.excerpt||r.description||(null===(l=r.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(Ee,{className:k.author,gap:12,align:"center"},e.createElement(K,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",u))))},Ba=t=>{var{variant:a="vertical"}=t,n=ye(t,["variant"]);return"horizontal"===a?e.createElement(xa,Object.assign({},n)):e.createElement(Ca,Object.assign({},n))},Na=Re.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
package/build/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{i as Types}from"./index-bfcf3fb0.js";export{i as Constants}from"./index-27f79b14.js";export{V as AdBlock,A as Alert,e as ArticleCard,f as ArticleCardV2,x as BMICardEmbed,H as BMRCardEmbed,y as BabyGrowthCardEmbed,z as BabyPoopEmbed,B as Badge,a as BorderHeading,N as Breadcrumbs,g as CategoryCard,C as Checkbox,h as CheckboxGroup,s as CookieAcceptConfirm,D as DatePicker,K as DateRangePicker,o as DoctorInfo,w as DueDateCardEmbed,F as FileDropdown,W as FixedBottomAdBlock,r as FloatButtonGroup,d as GenderOptionControl,G as Grid,I as IconText,L as Loading,Z as MAPPING_CATEGORY_PREMIUM_API_TYPE,Y as MAPPING_CATEGORY_PREMIUM_TYPE,M as MobileBottomNavigation,t as MobileBottomNavigationIcon,O as OvulationCardEmbed,J as PWGCardEmbed,P as Pagination,i as ProgressBar,R as Radio,j as RadioGroup,c as RateStars,S as ScrollList,u as SeoHead,Q as ShareContainer,U as ShareDrawer,k as SideMenu,l as StatisticCard,X as SurveyOrPremiumBanner,p as SurveyQuestionCard,q as SurveyThankyouCard,E as THRCardEmbed,m as Table,n as Tabs,T as Tag,b as Toggle,v as ToolsBannerCard}from"./index-8014dff1.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-ca4fdb46.js";export{B as Button}from"./index-43c43315.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,f as CardAuthor,C as CardReactions,q as Close,D as Divider,b as Dropdown,L as LabelSortPin,e as LabelSorting,o as PopoverMenu,g as PopupDoctor,P as PopupExpert,i as PopupFrame,h as PopupHospital,k as PostContent,m as ProfileDetail,l as ProfileDetailModal,j as ShareBox,S as SharePopup,p as SourceList,n as TabNameInProfileDetail,d as TagTopic,T as TogetherAuthConfigContext,c as TogetherAuthConfigContextProvider,u as useTogetherAuthRequiredAction}from"./index.styled-39bbc781.js";export{C as CaretDown,F as Flag,I as ImageWrap}from"./index-603aec16.js";export{D as DefaultComponentGlobalContextData,G as GlobalData,H as Heading,P as PureInput,S as StepRenderer,a as StepRendererContext,T as TextArea,b as TogetherComponentGlobalContext,d as TogetherComponentGlobalContextProvider,c as TogetherConstants}from"./index.styles-8e66aa69.js";export{I as Input}from"./index-9bb14d7f.js";export{c as CareConstants,L as Label}from"./constants-b5814512.js";export{L as Logo}from"./index-3fd6d11d.js";export{T as Text}from"./index-43ced8c4.js";export{C as Container}from"./index-fc996fc3.js";export{I as Icon}from"./index-620551b5.js";export{D as Drawer,M as Modal,R as RadioImageGroup}from"./index-e5dce728.js";export{C as CustomReferenceDot}from"./index-c93685a5.js";export{L as LogoIcon}from"./utils-5f9f0861.js";export{P as Popup,d as TogetherDataTransforms,U as UserAvatar}from"./index-9cdff468.js";export{P as PillCarousel}from"./index-fb027c2b.js";export{A as AddressInput}from"./index-f2bbc22b.js";export{Footer}from"./footer.js";export{a as useInitialMount,u as useTranslations,b as useUniqueId}from"./useTranslations-0f3e8009.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-957c3c67.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-d6f71b45.js";export{u as useHealthToolsCache}from"./useHealthToolCache-4f4bec7e.js";export{u as useIsInit}from"./useIsInit-6bede063.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-359aeef3.js";export{M as MAPPED_CATEGORY_SLUGS,P as PREGNANCY_SLUG,u as useCategory}from"./useCategory-e1c4dd95.js";export{C as CardLink,i as CardPost,j as CardPostPopoverMore,k as CardReply,l as CardReplyPopover,a as CreateNewPostContent,b as CreatePostDescription,c as CreatePostTitle,d as ImagePreviewPopup,I as InputCommentBar,L as LabelPin,P as PopupDanger,f as PostImagePreview,e as PostSingleImageViewPopup,h as SkipQuestionOfExpertBtn,g as SocialLinkPreview,S as SubmitReportForm,t as TogetherTypes,T as TopicSelectList,V as VerifiedTag}from"./types-a4c1b4b0.js";export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes,C as ChevronDown,T as TextDivider}from"./types-c18963c9.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-40d6b54f.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,q as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,p as getWindowSizeGroups,l as getWrapperDomWithSelector,m as makeParams,o as safeEncodeURI,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp,n as startCase,t as toggleNoScroll}from"./screenSizeContext-593881b5.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-f08471b0.js";import*as _ from"react";import"styled-components";export{M as MBTheme,t as theme}from"./theme-2b59bc50.js";export{a as abbreviateNumber}from"./number-2748523d.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-cf2d5f19.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-6bf2e69d.js";export{g as getSocialList}from"./getSocialList-593d72cf.js";export{f as formatPill}from"./dataTransform-9a889a57.js";export{V as Visible}from"./Visible-0aff5e0b.js";import"./Onboarding-128f7694.js";import"date-fns/locale";import"./isProduction-526256cd.js";import"lodash/debounce";import"./gAssets.js";import"./tslib.es6-541a264f.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-04bcf678.js";import"string-format";import"@mantine/hooks";import"lodash/throttle";import"html-react-parser";import"date-fns";import"./index.styled-02ca5623.js";import"./types-fe0f7019.js";import"./index-0bc7892c.js";import"./index-f0b1e2fe.js";import"react-hook-form";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"uuid";import"@mantine/form";import"./index-727605cf.js";import"js-cookie";import"lodash/flatten";import"react-contenteditable";import"react-dom";import"lodash/uniqBy";import"./core-311d7242.js";import"./normalizeLink-630cc7e1.js";import"./constants-5e4b6aaa.js";import"./index-4bee5ccb.js";import"dayjs/plugin/relativeTime";import"./paths-d658dd02.js";import"@mantine/carousel";import"classnames";import"react-keyed-flatten-children";import"slugify";import"./utils-c9e60f19.js";import"lodash/shuffle";import"react-loading-skeleton";const $=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor"},e),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),_.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"})),ee=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"})),ae=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"})),te=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),_.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"})),oe=e=>_.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),_.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),se=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none"},e),_.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),_.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),_.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),_.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),_.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),_.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),_.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),_.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"})),re=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none"},e),_.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),_.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),_.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),_.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),_.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),_.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),_.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),_.createElement("g",{clipPath:"url(#clip0_1176_26159)"},_.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),_.createElement("defs",null,_.createElement("clipPath",{id:"clip0_1176_26159"},_.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),ie=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none"},e),_.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"})),ne=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none"},e),_.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),_.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),_.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),_.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"})),le=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"})),Ce=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none"},e),_.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),_.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},_.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),_.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},_.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));export{$ as CheckCircle,ee as ChevronLeft,ae as ChevronRight,te as ChevronUp,oe as Circle,se as EmailCheck,re as EmailFail,ie as Facebook,ne as Google,le as InVisible,Ce as Spinning};
|
|
1
|
+
export{i as Types}from"./index-3590ace9.js";export{i as Constants}from"./index-1544c950.js";export{V as AdBlock,A as Alert,e as ArticleCard,f as ArticleCardV2,x as BMICardEmbed,H as BMRCardEmbed,y as BabyGrowthCardEmbed,z as BabyPoopEmbed,B as Badge,a as BorderHeading,N as Breadcrumbs,g as CategoryCard,C as Checkbox,h as CheckboxGroup,s as CookieAcceptConfirm,D as DatePicker,K as DateRangePicker,o as DoctorInfo,w as DueDateCardEmbed,F as FileDropdown,W as FixedBottomAdBlock,r as FloatButtonGroup,d as GenderOptionControl,G as Grid,I as IconText,L as Loading,Z as MAPPING_CATEGORY_PREMIUM_API_TYPE,Y as MAPPING_CATEGORY_PREMIUM_TYPE,M as MobileBottomNavigation,t as MobileBottomNavigationIcon,O as OvulationCardEmbed,J as PWGCardEmbed,P as Pagination,i as ProgressBar,R as Radio,j as RadioGroup,c as RateStars,S as ScrollList,u as SeoHead,Q as ShareContainer,U as ShareDrawer,k as SideMenu,l as StatisticCard,X as SurveyOrPremiumBanner,p as SurveyQuestionCard,q as SurveyThankyouCard,E as THRCardEmbed,m as Table,n as Tabs,T as Tag,b as Toggle,v as ToolsBannerCard}from"./index-f7985048.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-189110e3.js";export{B as Button}from"./index-d1155f84.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,f as CardAuthor,C as CardReactions,q as Close,D as Divider,b as Dropdown,L as LabelSortPin,e as LabelSorting,o as PopoverMenu,g as PopupDoctor,P as PopupExpert,i as PopupFrame,h as PopupHospital,k as PostContent,m as ProfileDetail,l as ProfileDetailModal,j as ShareBox,S as SharePopup,p as SourceList,n as TabNameInProfileDetail,d as TagTopic,T as TogetherAuthConfigContext,c as TogetherAuthConfigContextProvider,u as useTogetherAuthRequiredAction}from"./index.styled-88839824.js";export{C as CaretDown,F as Flag,I as ImageWrap}from"./index-ce22b3b6.js";export{D as DefaultComponentGlobalContextData,G as GlobalData,H as Heading,P as PureInput,S as StepRenderer,a as StepRendererContext,T as TextArea,b as TogetherComponentGlobalContext,d as TogetherComponentGlobalContextProvider,c as TogetherConstants}from"./index.styles-d0bb1e03.js";export{I as Input}from"./index-7ddebb37.js";export{c as CareConstants,L as Label}from"./constants-27004e00.js";export{L as Logo}from"./index-45ccfa83.js";export{T as Text}from"./index-88dd5ac1.js";export{C as Container}from"./index-af869181.js";export{I as Icon}from"./index-71cce804.js";export{D as Drawer,M as Modal,R as RadioImageGroup}from"./index-631a0653.js";export{C as CustomReferenceDot}from"./index-1022850c.js";export{L as LogoIcon}from"./utils-5f14f492.js";export{P as Popup,d as TogetherDataTransforms,U as UserAvatar}from"./index-e2470261.js";export{P as PillCarousel}from"./index-dab239b5.js";export{A as AddressInput}from"./index-2df6f063.js";export{Footer}from"./footer.js";export{a as useInitialMount,u as useTranslations,b as useUniqueId}from"./useTranslations-5eee897f.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-97c781c0.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-e6d4886b.js";export{u as useHealthToolsCache}from"./useHealthToolCache-6d26332c.js";export{u as useIsInit}from"./useIsInit-76e26578.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-f7dbc152.js";export{M as MAPPED_CATEGORY_SLUGS,P as PREGNANCY_SLUG,u as useCategory}from"./useCategory-8ca1a4e9.js";export{C as CardLink,i as CardPost,j as CardPostPopoverMore,k as CardReply,l as CardReplyPopover,a as CreateNewPostContent,b as CreatePostDescription,c as CreatePostTitle,d as ImagePreviewPopup,I as InputCommentBar,L as LabelPin,P as PopupDanger,f as PostImagePreview,e as PostSingleImageViewPopup,h as SkipQuestionOfExpertBtn,g as SocialLinkPreview,S as SubmitReportForm,t as TogetherTypes,T as TopicSelectList,V as VerifiedTag}from"./types-858772c3.js";export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes,C as ChevronDown,T as TextDivider}from"./types-04146982.js";export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-7317ce83.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,q as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,p as getWindowSizeGroups,l as getWrapperDomWithSelector,m as makeParams,o as safeEncodeURI,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp,n as startCase,t as toggleNoScroll}from"./screenSizeContext-6250deff.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-e8bc8745.js";import*as _ from"react";import"styled-components";export{M as MBTheme,t as theme}from"./theme-b742a282.js";export{a as abbreviateNumber}from"./number-d63081a4.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-e07218b4.js";export{f as formatHealthTool,g as getDynamicHealthTool,a as getDynamicHealthToolWithCache}from"./getDynamicHealthTool-223693d9.js";export{g as getSocialList}from"./getSocialList-faff643c.js";export{f as formatPill}from"./dataTransform-13a940e6.js";export{V as Visible}from"./Visible-a9d70fee.js";import"./Onboarding-c4c73809.js";import"date-fns/locale";import"./isProduction-abad368e.js";import"lodash/debounce";import"./gAssets.js";import"./tslib.es6-e88b4ce3.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-8a8e6199.js";import"string-format";import"@mantine/hooks";import"lodash/throttle";import"html-react-parser";import"date-fns";import"./index.styled-42d7d883.js";import"./types-c068166d.js";import"./index-6c4d5409.js";import"./index-0c8e02fe.js";import"react-hook-form";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"uuid";import"@mantine/form";import"./index-f6066f6e.js";import"js-cookie";import"lodash/flatten";import"react-contenteditable";import"react-dom";import"lodash/uniqBy";import"./core-840ab80b.js";import"./normalizeLink-bdd913b5.js";import"./constants-9fb40a16.js";import"./index-d3fa30fc.js";import"dayjs/plugin/relativeTime";import"./paths-cd6362b0.js";import"@mantine/carousel";import"classnames";import"react-keyed-flatten-children";import"slugify";import"./utils-ee3c1d92.js";import"lodash/shuffle";import"react-loading-skeleton";const $=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor"},e),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),_.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"})),ee=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"})),ae=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"})),te=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),_.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"})),oe=e=>_.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),_.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),se=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none"},e),_.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),_.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),_.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),_.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),_.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),_.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),_.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),_.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"})),re=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none"},e),_.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),_.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),_.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),_.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),_.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),_.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),_.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),_.createElement("g",{clipPath:"url(#clip0_1176_26159)"},_.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),_.createElement("defs",null,_.createElement("clipPath",{id:"clip0_1176_26159"},_.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),ie=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none"},e),_.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"})),ne=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none"},e),_.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),_.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),_.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),_.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"})),le=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor"},e),_.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"})),Ce=e=>_.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none"},e),_.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),_.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},_.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),_.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},_.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));export{$ as CheckCircle,ee as ChevronLeft,ae as ChevronRight,te as ChevronUp,oe as Circle,se as EmailCheck,re as EmailFail,ie as Facebook,ne as Google,le as InVisible,Ce as Spinning};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t}from"./tslib.es6-
|
|
1
|
+
import{_ as t}from"./tslib.es6-e88b4ce3.js";import e from"react";import i from"styled-components";const p=i((i=>{var{type:p}=i,n=t(i,["type"]);return e.createElement(p,n)}))`
|
|
2
2
|
color: var(--text-color, ${t=>t.theme.mbColors.dark});
|
|
3
3
|
font-family: Krub;
|
|
4
4
|
font-weight: 600;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useCallback as r,createContext as n,useContext as l,useRef as s}from"react";import{K as d,L as c,M as p,N as m,b as u,O as g,Q as h,R as v,H as b,U as f,V as x,W as w,X as y,Y as E,_ as C,A as k,$ as A,B as N,a0 as z,z as T,w as S,a1 as L}from"./index.styles-
|
|
1
|
+
import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useCallback as r,createContext as n,useContext as l,useRef as s}from"react";import{K as d,L as c,M as p,N as m,b as u,O as g,Q as h,R as v,H as b,U as f,V as x,W as w,X as y,Y as E,_ as C,A as k,$ as A,B as N,a0 as z,z as T,w as S,a1 as L}from"./index.styles-d0bb1e03.js";import{B as V,I as P,u as j,A as F,f as B,T as O}from"./index-ce22b3b6.js";import{useMantineTheme as R,createStyles as M,Flex as I,Box as U,rem as D,Portal as W,Anchor as H,Accordion as Z}from"@mantine/core";import{_ as q,a as G}from"./tslib.es6-e88b4ce3.js";import{u as X,b as Q}from"./useTranslations-5eee897f.js";import{T as K,H as Y,I as $,P as J}from"./index-71cce804.js";import"@mantine/dates";import{d as _,D as ee}from"./index-1544c950.js";import{L as te}from"./Onboarding-c4c73809.js";import{CommonGAssets as ae}from"./gAssets.js";import oe from"dayjs";import{M as ie,t as re}from"./screenSizeContext-6250deff.js";import ne,{keyframes as le,css as se}from"styled-components";import{t as de}from"./theme-b742a282.js";import{a as ce}from"./number-d63081a4.js";import{i as pe}from"./isProduction-abad368e.js";import"@mantine/hooks";import{format as me}from"date-fns";import"./translationsContext-8a8e6199.js";import"string-format";import{B as ue}from"./index-d1155f84.js";import{I as ge}from"./index-7ddebb37.js";import{U as he,P as ve,b as be,a as fe,c as xe,e as we}from"./index-e2470261.js";import{g as ye}from"./routing-e07218b4.js";import Ee from"dayjs/plugin/relativeTime";import{P as Ce}from"./paths-cd6362b0.js";import{a as ke}from"./constants-27004e00.js";import Ae from"lodash/debounce";import"./useCategory-8ca1a4e9.js";import{M as Ne}from"./index-f6066f6e.js";import"innertext";import{d as ze,g as Te}from"./cookieHelper-e8bc8745.js";import"react-contenteditable";import"react-dom";import"./utils-5f14f492.js";import"./index.styled-42d7d883.js";import"./index-1022850c.js";const Se=({type:e="solid",className:a,style:o})=>t.createElement(d,{style:o,className:a,"data-diver-type":e,dividerType:e}),Le=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},t),e.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Ve={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},Pe=e=>{var{siteType:a,role:o,title:i,styles:r,className:n}=e,l=q(e,["siteType","role","title","styles","className"]);const{t:s}=X(),d=o?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(o):"",{classes:p,cx:m}=c(void 0,{name:"AuthorBadge",styles:r});return d&&Ve[d]?t.createElement("div",Object.assign({className:m(p.root,n),"data-label-type":d,"data-is-marrybaby":"marryBaby"===a},l),i||s(Ve[d])):null};var je="Dudns9-";const Fe=({value:e,choices:i,onChange:r})=>{const[n,l]=a(e);return o((()=>{l(e)}),[e]),t.createElement("div",{className:je},i.map(((e,a)=>t.createElement(V,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===n?"primary":"tertiary",key:a,onClick:()=>{l(e.value),null==r||r(e.value)}},e.label||""))))},Be=e=>{var{label:o,bookingId:n,bookingType:l="doctor",locale:s="vi-VN"}=e,d=q(e,["label","bookingId","bookingType","locale"]);const{t:c}=X(),[u,g]=a(!1),h=i((()=>"undefined"!=typeof window?window.location.href:""),[]),v=r((()=>G(void 0,void 0,void 0,(function*(){var e,t,a,o,i,r,d,c,u,h,v,b,f,x,w;const y="doctor"===l?Ce.GET_DOCTOR_DETAIL:"hospital"===l?Ce.GET_HOSPITAL_DETAIL:"service"===l?Ce.GET_SERVICE_DETAIL:"";try{g(!0);const E=yield p(m(y,{id:n,site:_[s]}),"get");if(1===(null==E?void 0:E._status)){const n="doctor"===l?{id:null===(t=null===(e=null==E?void 0:E._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(o=null===(a=null==E?void 0:E._data)||void 0===a?void 0:a.doctor)||void 0===o?void 0:o.slug,localSlug:null===(i=ke[s])||void 0===i?void 0:i.DOCTOR}:"hospital"===l?{id:null===(d=null===(r=null==E?void 0:E._data)||void 0===r?void 0:r.branch)||void 0===d?void 0:d.id,slug:null===(u=null===(c=null==E?void 0:E._data)||void 0===c?void 0:c.branch)||void 0===u?void 0:u.slug,localSlug:null===(h=ke[s])||void 0===h?void 0:h.HOSPITAL}:{id:null===(b=null===(v=null==E?void 0:E._data)||void 0===v?void 0:v.service)||void 0===b?void 0:b.id,slug:null===(x=null===(f=null==E?void 0:E._data)||void 0===f?void 0:f.service)||void 0===x?void 0:x.slug,localSlug:null===(w=ke[s])||void 0===w?void 0:w.SERVICE};window.location.href=`https://${pe?"":"discover."}${_[s]}/care/${n.localSlug}/${n.slug}-${n.id}/`}else g(!1)}catch(e){console.log(e),g(!1)}}))),[]);return n&&l?t.createElement(V,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:h,onClick:v,loading:u},d),o||c("careBooking.bookAnAppointment")):null},Oe=ne.div`
|
|
2
2
|
--dropdown-padding: 12px 18px 12px 16px;
|
|
3
3
|
position: relative;
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{css as t}from"styled-components";import{t as o}from"./theme-
|
|
1
|
+
import e,{css as t}from"styled-components";import{t as o}from"./theme-b742a282.js";import{M as r,s as a,e as i,b as n,f as s,c as l,g as d,a as c,d as p}from"./screenSizeContext-6250deff.js";import{_ as u,a as h}from"./tslib.es6-e88b4ce3.js";import m,{useState as g,forwardRef as b,createContext as _,useEffect as E,Fragment as v}from"react";import{createStyles as x,rem as f}from"@mantine/core";import{L as w}from"./constants-27004e00.js";import T from"react-keyed-flatten-children";import{g as y}from"./cookieHelper-e8bc8745.js";import O from"slugify";import"./index-1544c950.js";import A from"string-format";import{i as I}from"./isProduction-abad368e.js";const L=e.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|