@hhgtech/hhg-components 1.24.21 → 1.24.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/Onboarding-b479219e.js +1 -0
- package/build/babyGrowth.js +17 -17
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/theme/input.d.ts +2 -0
- package/build/components/onboarding.d.ts +4 -3
- package/build/components/organisms/onboardingModal/components/dynamicForm/index.d.ts +18 -0
- package/build/components/organisms/onboardingModal/components/dynamicForm/index.styled.d.ts +1 -0
- package/build/components/organisms/onboardingModal/components/onboardingForm/index.styled.d.ts +1 -1
- package/build/components/organisms/onboardingModal/components/otpForm/index.styled.d.ts +1 -1
- package/build/components/organisms/onboardingModal/components/personalInfoForm/index.d.ts +1 -1
- package/build/components/organisms/onboardingModal/components/updatePassword/index.d.ts +1 -1
- package/build/components/organisms/onboardingModal/context.d.ts +1 -0
- package/build/components/organisms/onboardingModal/index.d.ts +17 -36
- package/build/components/organisms/onboardingModal/index.styled.d.ts +0 -4
- package/build/components/ui/onboarding/index.d.ts +8 -0
- package/build/components/ui/onboarding/index.styled.d.ts +4 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-1ddff0e2.js → core-9ac2af30.js} +1 -1
- package/build/{dataTransform-f19c1617.js → dataTransform-b8d745de.js} +1 -1
- package/build/esm/Onboarding-e9e6a0b3.js +1 -0
- 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.js +1 -1
- package/build/esm/{core-01abe7a1.js → core-3df19176.js} +1 -1
- package/build/esm/{dataTransform-b6ffa89e.js → dataTransform-3dbf0687.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-dba298d4.js +1 -0
- package/build/esm/getSocialList-71821b27.js +1 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-4b19571c.js → index-008e92a3.js} +1 -1
- package/build/esm/{index-43d2bffe.js → index-0e0de01d.js} +1 -1
- package/build/esm/index-1293aa95.js +1 -0
- package/build/esm/index-34ef74f7.js +75 -0
- package/build/esm/{index-e2b7ef68.js → index-3a592570.js} +1 -1
- package/build/esm/index-3b6e2e21.js +1 -0
- package/build/esm/index-5e901368.js +177 -0
- package/build/esm/{index-65b95e24.js → index-6cf76009.js} +1 -1
- package/build/esm/index-6d1a95af.js +1 -0
- package/build/esm/{index-c2de5d7b.js → index-7e6ee7bb.js} +1 -1
- package/build/esm/index-80dc7452.js +1 -0
- package/build/esm/{index-881e5990.js → index-8392374e.js} +2 -2
- package/build/esm/{index-10233643.js → index-977237f7.js} +1 -1
- package/build/esm/{index-8f7ffa4b.js → index-97906322.js} +1 -1
- package/build/esm/index-bf7ea4d1.js +1 -0
- package/build/esm/{index-e1e88ca8.js → index-d6ea8731.js} +1 -1
- package/build/esm/index-d7138419.js +1 -0
- package/build/esm/{index-6d8a955b.js → index-db80c616.js} +1 -1
- package/build/esm/{index-6b049c9f.js → index-e6b80e2d.js} +1 -1
- package/build/esm/index-f1502c97.js +1 -0
- package/build/esm/index-fcab6af7.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c3d5eff6.js → index.styled-27074988.js} +1 -1
- package/build/esm/index.styled-56e2987b.js +166 -0
- package/build/esm/{index.styled-981e6c04.js → index.styled-727e93fd.js} +1 -1
- package/build/esm/{index.styled-89252990.js → index.styled-87dfb77d.js} +12 -12
- package/build/esm/{index.styled-8aca10eb.js → index.styled-99a22203.js} +4 -4
- package/build/esm/{index.styled-243d7f64.js → index.styled-9b7d8209.js} +1 -1
- package/build/esm/{index.styled-38864315.js → index.styled-dba64061.js} +54 -54
- package/build/esm/{index.styled-839052ac.js → index.styled-f782b04a.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/onboarding.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-6d3d5706.js → routing-b727d490.js} +1 -1
- package/build/esm/{screenSizeContext-796cb6e5.js → screenSizeContext-a877eec8.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-d4d12e4a.js → translationsContext-96871a10.js} +1 -1
- package/build/esm/translationsProvider-f259fe4b.js +1 -0
- package/build/esm/{types-e46ef606.js → types-38b0c372.js} +68 -68
- package/build/esm/{types-31c78444.js → types-76c8bea8.js} +37 -37
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-9060c9d7.js +1 -0
- package/build/esm/{useRafState-1e0d71f3.js → useRafState-84e43a8e.js} +1 -1
- package/build/esm/useTranslations-547b947e.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-407de63f.js → getDynamicHealthTool-62933f89.js} +1 -1
- package/build/getSocialList-0c688ab4.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-021e0d1e.js +1 -0
- package/build/{index-178a694b.js → index-0a61907b.js} +1 -1
- package/build/{index-50f5a6cd.js → index-0bac5baf.js} +3 -3
- package/build/{index-aeea420e.js → index-10bacae1.js} +1 -1
- package/build/{index-857fa6cb.js → index-3050ea27.js} +1 -1
- package/build/index-388df1e8.js +1 -0
- package/build/{index-03b58356.js → index-3c3ac2c7.js} +1 -1
- package/build/index-4c35fa12.js +177 -0
- package/build/index-5c1f6914.js +1 -0
- package/build/{index-92ea35de.js → index-5f535a5f.js} +2 -2
- package/build/index-7f8104ae.js +75 -0
- package/build/{index-aca89b3b.js → index-a575704e.js} +1 -1
- package/build/index-a7fadf8e.js +1 -0
- package/build/{index-c2ef36dd.js → index-af0d8341.js} +1 -1
- package/build/{index-62cac9a6.js → index-b54f49fc.js} +1 -1
- package/build/{index-6419e3dc.js → index-c189e76c.js} +1 -1
- package/build/{index-fb65c87a.js → index-cf24fd82.js} +1 -1
- package/build/index-df6cb91f.js +1 -0
- package/build/{index-5afdfa27.js → index-e12d4d7d.js} +1 -1
- package/build/index-e27e8676.js +1 -0
- package/build/index-f61308fe.js +1 -0
- package/build/index.js +1 -1
- package/build/index.styled-06c1ebf7.js +166 -0
- package/build/index.styled-09127648.js +45 -0
- package/build/{index.styled-8fe3cbb8.js → index.styled-4c059ef2.js} +1 -1
- package/build/{index.styled-66045dd3.js → index.styled-4eecded5.js} +1 -1
- package/build/{index.styled-431f1caa.js → index.styled-51ec177c.js} +1 -1
- package/build/{index.styled-77b969ab.js → index.styled-7e9462f7.js} +263 -263
- package/build/{index.styled-38bd8957.js → index.styled-9bb1672d.js} +1 -1
- package/build/index.styled-f24c36f7.js +1249 -0
- package/build/interfaces/types/Onboarding.d.ts +21 -0
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +3 -3
- package/build/{routing-c02011e8.js → routing-28dbb192.js} +1 -1
- package/build/screenSizeContext-ca33c753.js +81 -0
- package/build/together.js +1 -1
- package/build/{translationsContext-0e066585.js → translationsContext-66459815.js} +1 -1
- package/build/translationsProvider-50aa6903.js +1 -0
- package/build/{types-d10baf2e.js → types-7397ed45.js} +1 -1
- package/build/{types-5df2a81a.js → types-8be20c67.js} +120 -120
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-3f4dc66a.js → useHealthToolCache-566ddd40.js} +1 -1
- package/build/{useRafState-9cd628f0.js → useRafState-d103c212.js} +1 -1
- package/build/{useTranslations-7bb84bd7.js → useTranslations-5f6083e4.js} +1 -1
- package/package.json +1 -1
- package/build/Locale-a4f9d8f6.js +0 -1
- package/build/components/mantine/radio/index.styled.d.ts +0 -6
- package/build/components/organisms/onboardingModal/components/formSection/index.d.ts +0 -8
- package/build/components/organisms/onboardingModal/components/formSection/index.styled.d.ts +0 -6
- package/build/esm/Locale-2a1e1450.js +0 -1
- package/build/esm/getDynamicHealthTool-0aab98fc.js +0 -1
- package/build/esm/getSocialList-03e2a2b1.js +0 -1
- package/build/esm/index-1a820ef8.js +0 -1
- package/build/esm/index-28b8dab6.js +0 -177
- package/build/esm/index-505a781d.js +0 -1
- package/build/esm/index-6f78a19c.js +0 -1
- package/build/esm/index-879836ec.js +0 -1
- package/build/esm/index-8eec058f.js +0 -1
- package/build/esm/index-c9290e7f.js +0 -1
- package/build/esm/index-f3de7ff9.js +0 -170
- package/build/esm/index-f49aeb82.js +0 -1
- package/build/esm/index-fcef2054.js +0 -78
- package/build/esm/translationsProvider-8152b937.js +0 -1
- package/build/esm/useHealthToolCache-3488ead9.js +0 -1
- package/build/esm/useTranslations-86f7e107.js +0 -1
- package/build/getSocialList-5d162a85.js +0 -1
- package/build/index-085adf8a.js +0 -170
- package/build/index-19064ad7.js +0 -1
- package/build/index-1ecd880c.js +0 -1
- package/build/index-4d6932de.js +0 -177
- package/build/index-702d2f27.js +0 -1
- package/build/index-727332bb.js +0 -73
- package/build/index-8fddd03f.js +0 -1
- package/build/index-980141e9.js +0 -1
- package/build/index-fc40c9d0.js +0 -1
- package/build/index.styled-1f82603f.js +0 -45
- package/build/index.styled-da26abe1.js +0 -1249
- package/build/screenSizeContext-4f7042b6.js +0 -81
- package/build/translationsProvider-d0f24f1c.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-9061bffa.js → BMI_BOYS.percentile.monthly-46ed8782.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6963805b.js → BMI_BOYS.percentile.weekly-ea245e7d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-479e90a6.js → BMI_BOYS.percentile.yearly-4964c63d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1174fe4a.js → BMI_BOYS.zscore.monthly-66b73fe5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-fca159e9.js → BMI_BOYS.zscore.weekly-bce8d721.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c7cbffa6.js → BMI_BOYS.zscore.yearly-8885048e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-925f454e.js → BMI_GIRLS.percentile.monthly-1263f390.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-3ee3b6cb.js → BMI_GIRLS.percentile.weekly-6ace4168.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-a8a64247.js → BMI_GIRLS.percentile.yearly-34d00a37.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-818e735c.js → BMI_GIRLS.zscore.monthly-f069715f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-f69dc139.js → BMI_GIRLS.zscore.weekly-d587113b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-01c99405.js → BMI_GIRLS.zscore.yearly-1b2ed137.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c23614a4.js → HEAD CIRCUM_BOYS.percentile.monthly-bc448b8c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a84f9182.js → HEAD CIRCUM_BOYS.percentile.weekly-7d08ffa0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b1784f74.js → HEAD CIRCUM_BOYS.percentile.yearly-21e93ed5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6fa109d5.js → HEAD CIRCUM_BOYS.zscore.monthly-476055e3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0f128294.js → HEAD CIRCUM_BOYS.zscore.weekly-841f61a1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b0ae2aa5.js → HEAD CIRCUM_BOYS.zscore.yearly-caab877b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d8a849f5.js → HEAD CIRCUM_GIRLS.percentile.monthly-f884dbd6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e585c948.js → HEAD CIRCUM_GIRLS.percentile.weekly-6efa3d99.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-f312b25f.js → HEAD CIRCUM_GIRLS.percentile.yearly-039cc1c1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a79f2c22.js → HEAD CIRCUM_GIRLS.zscore.monthly-63aa5a75.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-3905832d.js → HEAD CIRCUM_GIRLS.zscore.weekly-feffe1ca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-76817288.js → HEAD CIRCUM_GIRLS.zscore.yearly-9f366e67.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-058b22b8.js → HEIGHT_BOYS.percentile.monthly-9f421b76.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-225abac0.js → HEIGHT_BOYS.percentile.weekly-50053c97.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c8f6fbc5.js → HEIGHT_BOYS.percentile.yearly-6cdeb16e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f2d62779.js → HEIGHT_BOYS.zscore.monthly-251fdd58.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-2132aa31.js → HEIGHT_BOYS.zscore.weekly-7081338b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-7bd73d3a.js → HEIGHT_BOYS.zscore.yearly-306cdda4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-524307c0.js → HEIGHT_GIRLS.percentile.monthly-1137dc66.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f323e7e3.js → HEIGHT_GIRLS.percentile.weekly-49e22f50.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1f2f77ee.js → HEIGHT_GIRLS.percentile.yearly-44b69884.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a58cd90f.js → HEIGHT_GIRLS.zscore.monthly-fb062871.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-24d8a6ac.js → HEIGHT_GIRLS.zscore.weekly-9aad09e0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d233bce8.js → HEIGHT_GIRLS.zscore.yearly-6e0b2151.js} +0 -0
- /package/build/{Vietnam-48e12311.js → Vietnam-585b1527.js} +0 -0
- /package/build/{Visible-f3415620.js → Visible-767ce2ab.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-111c4d25.js → WEIGHT_BOYS.percentile.monthly-4e621f13.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-478bf0e4.js → WEIGHT_BOYS.percentile.weekly-8f15abc5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a35cc113.js → WEIGHT_BOYS.percentile.yearly-688c8314.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-33586e3f.js → WEIGHT_BOYS.zscore.monthly-2e3a2bd4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0299912e.js → WEIGHT_BOYS.zscore.weekly-4ec209e7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0e683e93.js → WEIGHT_BOYS.zscore.yearly-ebc6ebd1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ab188feb.js → WEIGHT_GIRLS.percentile.monthly-ae5bd05a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-876c7d98.js → WEIGHT_GIRLS.percentile.weekly-fea83262.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-49975396.js → WEIGHT_GIRLS.percentile.yearly-528ca2ac.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1370faec.js → WEIGHT_GIRLS.zscore.monthly-4796637a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-01f8c266.js → WEIGHT_GIRLS.zscore.weekly-21a75fe5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f65a2231.js → WEIGHT_GIRLS.zscore.yearly-0569fd51.js} +0 -0
- /package/build/{constants-81475620.js → constants-a6aac2ca.js} +0 -0
- /package/build/{cookieHelper-c871b460.js → cookieHelper-338c2be0.js} +0 -0
- /package/build/{dataTransform-68517294.js → dataTransform-82684814.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-4223c4eb.js → BMI_BOYS.percentile.monthly-0877cfa3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c9f3efaa.js → BMI_BOYS.percentile.weekly-89eb2377.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f0b4b014.js → BMI_BOYS.percentile.yearly-350de3d4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e16193f5.js → BMI_BOYS.zscore.monthly-35cd7d3f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d2b2b292.js → BMI_BOYS.zscore.weekly-585e628f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-817ec82e.js → BMI_BOYS.zscore.yearly-9a4ad812.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-494bc828.js → BMI_GIRLS.percentile.monthly-d9c2167f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-042426ae.js → BMI_GIRLS.percentile.weekly-5adb4343.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-247c7391.js → BMI_GIRLS.percentile.yearly-b979f569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-371459b5.js → BMI_GIRLS.zscore.monthly-5cc9b47c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ecf23bd6.js → BMI_GIRLS.zscore.weekly-b7e111dc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8020be10.js → BMI_GIRLS.zscore.yearly-2880c1b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-854959a5.js → HEAD CIRCUM_BOYS.percentile.monthly-d5094788.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c39075dc.js → HEAD CIRCUM_BOYS.percentile.weekly-195898c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e387af13.js → HEAD CIRCUM_BOYS.percentile.yearly-b56aec52.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b7a84ef5.js → HEAD CIRCUM_BOYS.zscore.monthly-e21fe96d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b9a6fd79.js → HEAD CIRCUM_BOYS.zscore.weekly-a360870f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-28d7fb71.js → HEAD CIRCUM_BOYS.zscore.yearly-87ffd2bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cebb3bd4.js → HEAD CIRCUM_GIRLS.percentile.monthly-613d96c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e30f8aee.js → HEAD CIRCUM_GIRLS.percentile.weekly-f8282143.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a517c188.js → HEAD CIRCUM_GIRLS.percentile.yearly-e4e2a575.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6ec149f3.js → HEAD CIRCUM_GIRLS.zscore.monthly-0d83ed3a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e7a5b23f.js → HEAD CIRCUM_GIRLS.zscore.weekly-23cfaf47.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-2935ab55.js → HEAD CIRCUM_GIRLS.zscore.yearly-7865540b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f69e7c07.js → HEIGHT_BOYS.percentile.monthly-7cf03a94.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-9a4b487d.js → HEIGHT_BOYS.percentile.weekly-ca686c31.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-cb58cecc.js → HEIGHT_BOYS.percentile.yearly-a4456910.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5f7e0a28.js → HEIGHT_BOYS.zscore.monthly-2742cea8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3c7bd88b.js → HEIGHT_BOYS.zscore.weekly-d1d9da04.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-66c2098e.js → HEIGHT_BOYS.zscore.yearly-65a6d2db.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-484e0602.js → HEIGHT_GIRLS.percentile.monthly-ca6bccdc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3c492d07.js → HEIGHT_GIRLS.percentile.weekly-2e950f11.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8ce15a6f.js → HEIGHT_GIRLS.percentile.yearly-96c649de.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-204b1e6d.js → HEIGHT_GIRLS.zscore.monthly-3ad24724.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ccb615d2.js → HEIGHT_GIRLS.zscore.weekly-1ba71178.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9479f3c0.js → HEIGHT_GIRLS.zscore.yearly-f62a3440.js} +0 -0
- /package/build/esm/{Vietnam-dc72e656.js → Vietnam-a3fd330e.js} +0 -0
- /package/build/esm/{Visible-18cf87ba.js → Visible-656cb3fc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8dd91b1d.js → WEIGHT_BOYS.percentile.monthly-20fd9a70.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3a959642.js → WEIGHT_BOYS.percentile.weekly-22f6c1e7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-cc8eb0ef.js → WEIGHT_BOYS.percentile.yearly-0181610e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2e131dd1.js → WEIGHT_BOYS.zscore.monthly-931ade4a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-cabcd1af.js → WEIGHT_BOYS.zscore.weekly-355bfdab.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f1f7e94e.js → WEIGHT_BOYS.zscore.yearly-a57c12c2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4de3f67c.js → WEIGHT_GIRLS.percentile.monthly-79eb36cc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2ed25b2a.js → WEIGHT_GIRLS.percentile.weekly-99fcc915.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f0f76a88.js → WEIGHT_GIRLS.percentile.yearly-203869dc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b841255d.js → WEIGHT_GIRLS.zscore.monthly-db087afd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d6eb177b.js → WEIGHT_GIRLS.zscore.weekly-62625957.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-58a53745.js → WEIGHT_GIRLS.zscore.yearly-36397b83.js} +0 -0
- /package/build/esm/{constants-fb47e65c.js → constants-f80968b2.js} +0 -0
- /package/build/esm/{cookieHelper-b88c2be8.js → cookieHelper-d11ecd73.js} +0 -0
- /package/build/esm/{dataTransform-75f1271b.js → dataTransform-654aecb0.js} +0 -0
- /package/build/esm/{index-77a5c7ce.js → index-0e23add6.js} +0 -0
- /package/build/esm/{isProduction-e00482ad.js → isProduction-990cd44c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-65181040.js → localizeNumberFormat-f42f5a22.js} +0 -0
- /package/build/esm/{normalizeLink-1d2dc701.js → normalizeLink-2f6f6fb0.js} +0 -0
- /package/build/esm/{theme-6dca57c7.js → theme-6a93b566.js} +0 -0
- /package/build/esm/{tslib.es6-f1b9d31e.js → tslib.es6-f9bbd890.js} +0 -0
- /package/build/esm/{useIsInit-e900b10b.js → useIsInit-81dd61a0.js} +0 -0
- /package/build/esm/{useOutsideClick-305b5046.js → useOutsideClick-0109b690.js} +0 -0
- /package/build/esm/{useScrollbarSize-057c4f10.js → useScrollbarSize-119c8636.js} +0 -0
- /package/build/esm/{useUniqueId-679a497e.js → useUniqueId-d87d7ca7.js} +0 -0
- /package/build/esm/{utils-049d75fa.js → utils-9ef41591.js} +0 -0
- /package/build/{index-444eee4a.js → index-ad2d49c8.js} +0 -0
- /package/build/{isProduction-2a4d042f.js → isProduction-f84dd7e2.js} +0 -0
- /package/build/{localizeNumberFormat-3d8dd0e3.js → localizeNumberFormat-6d0123d2.js} +0 -0
- /package/build/{normalizeLink-f5ed8bd7.js → normalizeLink-419034bd.js} +0 -0
- /package/build/{theme-c812af69.js → theme-60cc7a9c.js} +0 -0
- /package/build/{tslib.es6-09b9cf36.js → tslib.es6-cb690bef.js} +0 -0
- /package/build/{useIsInit-b290676c.js → useIsInit-1214075c.js} +0 -0
- /package/build/{useOutsideClick-e4b4783f.js → useOutsideClick-48be5d45.js} +0 -0
- /package/build/{useScrollbarSize-220a2ce3.js → useScrollbarSize-250dc575.js} +0 -0
- /package/build/{useUniqueId-f2e50bd6.js → useUniqueId-f4386af9.js} +0 -0
- /package/build/{utils-daf19904.js → utils-f8ce6afc.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-3c3ac2c7.js"),a=require("./index.styled-f24c36f7.js"),l=require("./utils-f8ce6afc.js"),n=require("./index-0a61907b.js"),r=require("./useUniqueId-f4386af9.js"),o=require("./gAssets.js"),i=require("./index-f61308fe.js"),s=require("./theme-60cc7a9c.js"),d=require("./index.styled-7e9462f7.js"),c=require("./tslib.es6-cb690bef.js"),u=require("lodash/throttle"),m=require("keen-slider/react"),f=require("dayjs");require("./screenSizeContext-ca33c753.js"),require("styled-components");var g=require("./index-e27e8676.js"),p=require("./isProduction-f84dd7e2.js"),h=require("./Onboarding-b479219e.js"),y=require("./useTranslations-5f6083e4.js"),v=require("date-fns"),E=require("./index-cf24fd82.js"),b=require("./index-0bac5baf.js"),C=require("./index-4c35fa12.js"),w=require("@mantine/core");require("./index.styled-4c059ef2.js"),require("./index-ad2d49c8.js");var k=require("./index.styled-51ec177c.js"),S=require("./index-3050ea27.js"),x=require("./index-c189e76c.js"),T=require("react-hook-form"),N=require("./index-5f535a5f.js"),L=require("./useHealthToolCache-566ddd40.js"),B=require("./index.styled-9bb1672d.js"),D=require("./dataTransform-b8d745de.js"),I=require("./useOutsideClick-48be5d45.js"),_=require("date-fns/locale/en-US"),M=require("date-fns/locale/id"),A=require("date-fns/locale/vi"),P=require("date-fns/locale/zh-TW"),z=require("./getSocialList-0c688ab4.js"),F=require("@mantine/dates"),j=require("./index-b54f49fc.js");function O(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var H=O(e),$=O(u),W=O(f),G=O(_),R=O(M),V=O(A),U=O(P),q="CHw-fZZ",Z="_03U6VRS",Y="EO828Vv";const K=({pagesAmount:t,activePage:n,handlePageChange:r,handleClick:o,href:i,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),H.default.createElement(e.Fragment,null,n>4&&H.default.createElement(e.Fragment,null,H.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(1)},i?H.default.createElement("a",{href:i,onClick:o},1):1),H.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>H.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>r(e)},i?H.default.createElement("a",{href:l.formatUrlWithPageParam(i,e,s),onClick:o},e):e))),n<d.length-3&&H.default.createElement(e.Fragment,null,H.default.createElement(a.StyledPaginationBlock,null,"..."),H.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(d.length)},i?H.default.createElement("a",{href:l.formatUrlWithPageParam(i,d.length,s),onClick:o},d.length):d.length)))},Q=({label:e,name:t,checked:l,className:n,isDisabled:r,onChange:o,value:i,isRectangle:s,inputDataTestId:d,siteType:c})=>H.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},H.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>o(i,!l),disabled:r,value:i,id:`${t}-${i}`,"data-label-text":e,"data-testid":d}),!s&&H.default.createElement("label",{htmlFor:`${t}-${i}`},e)),X=e=>H.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),H.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),J=e=>H.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),H.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),ee=e=>{const t=r.useUniqueId();return H.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),H.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),H.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},H.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),H.default.createElement("g",{mask:`url(#${t})`},H.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))};var te="PiqKaXk",ae="HgbW6-m",le="_6lkfLYy",ne="j7c-onH";const re=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:r})=>H.default.createElement("div",{className:ne},H.default.createElement("div",{className:"author"},H.default.createElement("div",{className:"avatar","data-size":r},e),H.default.createElement("div",{className:"poster","data-is-disabled-url":!l},H.default.createElement(t.Text,{size:"lg"===r?"p3":"p4"},H.default.createElement("a",{href:l},H.default.createElement("span",{className:"name"},a),"•"," "),H.default.createElement("span",null,n))))),oe=({isMobile:e,avatarImg:a,name:l,link:n,size:r="lg",specialty:o})=>H.default.createElement("div",{className:ne},H.default.createElement("div",{className:"author"},H.default.createElement("div",{className:"expert-avatar","data-size":r},a),H.default.createElement("div",{className:"expert","data-is-disabled-url":!n},e?H.default.createElement("a",{href:n},"lg"===r?H.default.createElement(H.default.Fragment,null,H.default.createElement(i.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},l),H.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},o)):H.default.createElement(H.default.Fragment,null,H.default.createElement(i.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},l))):H.default.createElement("a",{href:n},"lg"===r?H.default.createElement(H.default.Fragment,null,H.default.createElement(i.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},l),H.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},o)):H.default.createElement(H.default.Fragment,null,H.default.createElement("h6",{color:s.theme.colors.gray600,className:`${te} expert__name`},l),H.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p4",className:"specialty"},o))))));var ie="lKjhvEi",se="HGYlQvl",de="AyUUQv-";const ce=({LinkComponent:e,page:t,isLast:a,onChangePage:l})=>{const{label:n,value:r,isDropdown:o,dropdownItems:i,dataEventCategory:s,dataEventAction:c,dataEventLabel:u}=t;return o?H.default.createElement(d.Dropdown,{options:i,placeholder:"...",id:"",placeholderIcon:null,onChange:l,className:"collapsed-breadcrumb"}):H.default.createElement("div",{className:de,title:"string"!=typeof n?r:n,"data-last":a},e&&H.default.createElement(e,{"data-event-category":s,"data-event-action":c,"data-event-label":u,href:r||"#"},n))};var ue=Object.freeze({__proto__:null,SideMenu:d.SideMenu,SideHeader:d.SideHeader,UserInfo:d.UserInfo,MenuLink:d.MenuLink});const me=({status:e})=>"inActive"===e?H.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===e?H.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),H.default.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===e?H.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),H.default.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):H.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),fe=({isDisabled:e,isLeft:t,onClick:a,className:l,scheme:n="hellosites"})=>H.default.createElement(d.StyledArrow,{onClick:a,"data-is-disabled":e,"data-is-left":t,className:l},H.default.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t?H.default.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===n?"#595959":"#E55C8A"}):H.default.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===n?"#595959":"#E55C8A"})));var ge=Object.freeze({__proto__:null,Table:d.Table,Cell:d.Cell,Head:d.Head,Row:d.Row,Body:d.Body});const pe=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:i}=y.useTranslations(),[c,u]=e.useState(new Date);return H.default.createElement(H.default.Fragment,null,H.default.createElement(d.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?H.default.createElement(d.StyledTextField,{label:i("dueDatePage.conceptionDate"),name:"date",size:"md",value:d.DateToInputValue(c),CustomInput:H.default.createElement(d.DatePicker,{onChange:e=>{u(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>H.default.createElement(E.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:c&&W.default(c).format(k.DUE_DATE_FORMAT)}))}),actionIcon:H.default.createElement(C.Icon.CalendarMB,{size:32})}):H.default.createElement(E.Input,{label:H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.conceptionDate")),value:d.DateToInputValue(c),name:"date",size:"md",className:"due-date-input",CustomInput:H.default.createElement(d.DatePicker,{customInput:e=>H.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:d.DateToInputValue(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:d.DATE_FORMAT,onChange:e=>{u(e)},placeholder:"placeholder"})})),H.default.createElement(n.Button,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:()=>{l(d.getDueDateConception(c),`${g.QUERY_HEALTH_TOOL.type}=1&sd=${v.format(c,d.API_DATE_FORMAT)}&${g.QUERY_HEALTH_TOOL.additional}= `)},role:"button"},i("dueDatePage.lastPeriod.calculate")))},he=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:i}=y.useTranslations(),[c,u]=e.useState(new Date),[m,f]=e.useState("3");return H.default.createElement(H.default.Fragment,null,H.default.createElement(d.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?H.default.createElement(d.StyledTextField,{label:i("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:d.DateToInputValue(c),CustomInput:H.default.createElement(d.DatePicker,{onChange:e=>{u(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>H.default.createElement(E.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:c&&W.default(c).format(k.DUE_DATE_FORMAT)}))}),actionIcon:H.default.createElement(C.Icon.CalendarMB,{size:32})}):H.default.createElement(E.Input,{label:H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray700,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.ivf.transferDate")),value:d.DateToInputValue(c),name:"date",size:"md",className:"due-date-input",CustomInput:H.default.createElement(d.DatePicker,{customInput:e=>H.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:d.DateToInputValue(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:d.DATE_FORMAT,onChange:e=>{u(e)},placeholder:"placeholder"})})),H.default.createElement("div",{style:{width:"100%"}},H.default.createElement(d.RadioGroup,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:m,onChange:e=>f(e),options:[{value:"3",label:i("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:i("dueDatePage.ivf.transferDateRadio",{number:5})}]})),H.default.createElement(n.Button,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:()=>{l(d.getDueDateIVF(c,Number(m)),`${g.QUERY_HEALTH_TOOL.type}=2&${g.QUERY_HEALTH_TOOL.startDate}=${v.format(c,d.API_DATE_FORMAT)}&${g.QUERY_HEALTH_TOOL.additional}=${m}`)},role:"button"},i("dueDatePage.lastPeriod.calculate")))},ye=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:i}=y.useTranslations(),[c,u]=e.useState(28),[m,f]=e.useState(new Date);return H.default.createElement(H.default.Fragment,null,H.default.createElement(d.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?H.default.createElement(d.StyledTextField,{label:i("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:d.DateToInputValue(m),CustomInput:H.default.createElement(d.DatePicker,{onChange:e=>{f(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>H.default.createElement(E.Input,Object.assign({name:"birthday",size:"md"},e,{value:m&&W.default(m).format(k.DUE_DATE_FORMAT)}))}),actionIcon:H.default.createElement(C.Icon.CalendarMB,{size:32})}):H.default.createElement(E.Input,{className:"input-section due-date-input",label:H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.lastPeriod.lastPeriodLabel")),value:d.DateToInputValue(m),name:"date",size:"md",CustomInput:H.default.createElement(d.DatePicker,{customInput:e=>H.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:d.DateToInputValue(m)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:m,displayDateFormat:d.DATE_FORMAT,onChange:e=>{f(e)},placeholder:"placeholder"})})),H.default.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===r?"marryBaby":""},"marryBaby"===r?H.default.createElement(S.MarryBabyText,{type:"bodytext-3",color:s.theme.mbColors.midGray},i("dueDatePage.lastPeriod.periodLengthLabel")):H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray600,style:{marginBottom:"0.5rem"}},i("dueDatePage.lastPeriod.periodLengthLabel")),H.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&H.default.createElement(t.Text,{size:"s3",type:"bold",color:s.theme.colors.gray600},c),H.default.createElement(x.Slider,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,onChange:u,value:c,label:"marryBaby"!==r?void 0:null}))),H.default.createElement(n.Button,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,onClick:()=>l(d.getDueDateLastPeriod(m,c),`${g.QUERY_HEALTH_TOOL.type}=0&${g.QUERY_HEALTH_TOOL.startDate}=${v.format(m,d.API_DATE_FORMAT)}&${g.QUERY_HEALTH_TOOL.additional}=${c}`),role:"button"},i("dueDatePage.lastPeriod.calculate")))},ve=({onSubmitDueDate:a,locale:l,isSide:n,siteType:r})=>{const{t:o}=y.useTranslations(),[i,c]=e.useState(d.DueDateCalculatorType.lastPeriod),u=[{value:d.DueDateCalculatorType.lastPeriod,label:o("dueDatePage.lastPeriod")},{value:d.DueDateCalculatorType.conception,label:o("dueDatePage.conceptionDate")},{value:d.DueDateCalculatorType.IVF,label:o("dueDatePage.ivf")}],m=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return H.default.createElement(d.StyledInputWrapper,null,H.default.createElement(d.StyledMethodContainer,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?H.default.createElement(d.StyledDropDown,{groupedWithLabel:o("dueDatePage.calculationMethod"),options:u,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:u[i],onChange:e=>{c(e.value)}}):H.default.createElement(H.default.Fragment,null,H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.calculationMethod")),H.default.createElement(d.StyledMethodSwitcherContainer,{"data-is-side":n},H.default.createElement(d.Dropdown,{options:u,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:u[i],onChange:e=>{c(e.value)}})))),i===d.DueDateCalculatorType.lastPeriod?H.default.createElement(ye,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null,i===d.DueDateCalculatorType.conception?H.default.createElement(pe,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null,i===d.DueDateCalculatorType.IVF?H.default.createElement(he,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null)};function Ee({weight:e,height:t}){const a=t/100,l=e;return Math.round(l/(a*a)*10)/10}const be=({value:a,onChange:l,onSubmit:n,disabled:r,bmiGenerated:o,bmiUnit:i,locale:u,isSide:m})=>{var f,p,h,v;const[E,b]=e.useState(!1),{control:w,handleSubmit:S,setValue:x,watch:B}=T.useForm(),D=B(),{t:I}=y.useTranslations(),{gender:_=!1,age:M=!1,height:A=!1,weight:P=!1,objective:z=!0}=r||{},{getHealthToolLink:F}=L.useHealthToolsCache(u),j=e.useMemo((()=>F(k.HEALTH_TOOL_TYPE.OVULATION)),[F]),O=e.useMemo((()=>[{value:"male",label:I("gender.male"),content:H.default.createElement(C.Icon.GenderChooseBoy,null)},{value:"female",label:I("gender.female"),content:H.default.createElement(C.Icon.GenderChooseGirl,null)}]),[]),$=e.useMemo((()=>[{value:"lose-weight",label:I("bmi.objective.loseWeight")},{value:"maintain-weight",label:I("bmi.objective.maintainWeight")},{value:"gain-weight",label:I("bmi.objective.gainWeight")}]),[]),W=()=>{b(!0)};return e.useEffect((()=>{Object.keys(a||{}).forEach((e=>{x(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),e.useEffect((()=>{l&&l(D)}),[D]),H.default.createElement(d.StyledContainer$1,null,H.default.createElement("form",{onSubmit:S((e=>c.__awaiter(void 0,void 0,void 0,(function*(){const t=i.heightConvert(e.height),a=i.weightConvert(e.weight),l={gender:e.gender,age:e.age,height:t,weight:a,bmi:Ee({height:t,weight:a})};z||(l.objective=e.objective),W(),n&&n(l)}))),W)},!_&&H.default.createElement(d.FormControl,{"data-is-side":m},H.default.createElement(T.Controller,{name:"gender",control:w,defaultValue:"male",render:({field:{name:e,value:t,onChange:a},fieldState:{error:l}})=>H.default.createElement(d.StyledInput,{size:"md",name:e,label:o.gender.label,CustomInput:H.default.createElement(C.RadioImageGroup,{options:O,value:t,onChange:e=>a(e),className:"bmi--input-radio_gender "+(m?"bmi-side-embed":"")}),errorMessage:E?null==l?void 0:l.message:"",className:"bmi--input bmi--input-gender"})})),H.default.createElement(d.StyledRow,{"data-is-side":m},!M&&H.default.createElement(d.FormControl,null,H.default.createElement(T.Controller,{name:"age",control:w,rules:null===(f=o.age)||void 0===f?void 0:f.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},o.age.label),placeholder:I("healthtool.placeholder.age"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!A&&H.default.createElement(d.FormControl,null,H.default.createElement(T.Controller,{name:"height",control:w,rules:null===(p=o.height)||void 0===p?void 0:p.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},o.height.label),placeholder:I("pwg.placeholder.height"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!P&&H.default.createElement(d.FormControl,null,H.default.createElement(T.Controller,{name:"weight",control:w,rules:null===(h=o.weight)||void 0===h?void 0:h.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},o.weight.label),placeholder:I("pwg.placeholder.weight"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",precision:1,min:0})})),!z&&H.default.createElement(d.FormControl,null,H.default.createElement(T.Controller,{name:"objective",control:w,defaultValue:"lose-weight",rules:null===(v=o.objective)||void 0===v?void 0:v.rule,render:({field:{name:e,value:t,onChange:a},fieldState:{error:l}})=>H.default.createElement(d.StyledInput,{size:"md",name:e,label:o.objective.label,CustomInput:H.default.createElement(d.RadioGroup,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:$,value:t,onChange:a}),errorMessage:E?null==l?void 0:l.message:"",className:"bmi--input bmi--input-objective"})}))),H.default.createElement("div",{style:{display:"flex"}},H.default.createElement(d.StyledButton,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${g.domainLocales[u]}/${j}`},I("bmi.submit")))))},Ce=({value:a,options:l,className:n,direction:r="horizontal",onChange:o,isDisabled:i})=>{const[s,c]=e.useState(a);return H.default.createElement(d.StyledRadioImageGroup,{className:n,"data-direction":r},l.map(((e,l)=>H.default.createElement(d.StyledRadioImageItem,{"data-selected":(a||s)===e.value,"data-disabled":i,key:`health-tool${l}`,onClick:()=>{var t;t=e.value,i||(c(t),o&&o(t))}},H.default.createElement("div",null,H.default.createElement("img",{src:(a||s)===e.value?e.imageActive:e.image,className:"gender-image",alt:""}),e.label&&H.default.createElement(t.Text,{type:"bold",className:"radio-group-item-heading",size:"label1"},e.label))))))},we=({info:a,className:l,style:n,onChange:r,errorMessage:o={},locale:i})=>{const{t:c}=y.useTranslations(),[u,m]=e.useState(new Date),[f,g]=e.useState({age:!1,rate:!1});return e.useEffect((()=>{g({age:!1,rate:!1})}),[o]),H.default.createElement(d.StyledContainer$2,{style:n,className:l},H.default.createElement(E.Input,{className:"input-section due-date-input",label:H.default.createElement(t.Text,{size:"n1",type:"bold",color:s.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("targetHeartRate.ageInput")),value:d.DateToInputValue(u),name:"date",size:"md",CustomInput:H.default.createElement(d.DatePicker,{customInput:e=>H.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:d.DateToInputValue(u)})),disabledDays:{after:new Date(v.addDays(new Date,0))},locale:i,pickedDate:u,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{m(e),g((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:v.format(new Date(e),d.API_DATE_FORMAT)});r&&r(t)})(e)},placeholder:"placeholder"}),errorMessage:f.age?"":o.age}))},ke=({info:a,className:l,style:n,onChange:r,errorMessage:o={},locale:i,onClick:c,isSide:u})=>{const{t:m}=y.useTranslations(),[f,p]=e.useState({age:!1,height:!1,weight:!1}),{getHealthToolLink:h}=L.useHealthToolsCache(i),v=e.useMemo((()=>h(k.HEALTH_TOOL_TYPE.OVULATION)),[h]),[E,b]=e.useState("male"),w=e.useMemo((()=>[{value:"male",label:m("gender.male"),content:H.default.createElement(C.Icon.GenderChooseBoy,null)},{value:"female",label:m("gender.female"),content:H.default.createElement(C.Icon.GenderChooseGirl,null)}]),[]),S=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},x=e=>{var t,l;l=e=>{p((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});r&&r(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||l(t)};return e.useEffect((()=>{r&&r(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),e.useEffect((()=>{p({age:!1,height:!1,weight:!1})}),[o]),H.default.createElement(d.StyledContainer$3,{style:n,className:l},H.default.createElement(d.FormControl$2,{"data-is-side":u},H.default.createElement(d.StyledInput$2,{size:"md",name:"gender",label:m("bmi.selectGender"),CustomInput:H.default.createElement(C.RadioImageGroup,{options:w,value:E,onChange:e=>b(e),className:"bmi--input-radio_gender "+(u?"bmi-side-embed":"")}),className:"bmi--input bmi--input-gender"})),H.default.createElement(d.StyledRow$2,{"data-is-side":u},H.default.createElement(d.FormControl$2,null,H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},m("bmi.ageInput")," ",H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray300,as:"span"},m("bmi.ageInput.desc"))),placeholder:m("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>x(String(e)),error:f.age?"":o.age,min:0})),H.default.createElement(d.FormControl$2,null,H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},m("bmi.heightInput")," ",H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray300,as:"span"},m("bmi.heightInput.desc"))),placeholder:m("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void S(t,(e=>{p((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});r&&r(t)}));var t},error:f.height?"":o.height,min:0})),H.default.createElement(d.FormControl$2,null,H.default.createElement(N.Input.Number,{label:H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray600},m("bmi.weightInput")," ",H.default.createElement(t.Text,{size:"label2",type:"bold",color:s.theme.colors.gray300,as:"span"},m("bmi.weightInput.desc"))),placeholder:m("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),p((e=>Object.assign(Object.assign({},e),{weight:!0}))),void S(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});r&&r(t)}));var t},error:f.weight?"":o.weight,min:0,precision:1}))),H.default.createElement("div",{style:{display:"flex"}},H.default.createElement(d.StyledButton$2,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${g.domainLocales[i]}/${v}`,onClick:()=>{c(E)}},m("bmi.submit"))))};var Se="eM8ChWU",xe="KAx1aqi",Te="QcFfKPB",Ne="brbyNAY",Le="W65hTnn";const Be=({src:e,title:t,backgroundSrc:a,className:l,reviewedSection:n,isSide:r})=>H.default.createElement("div",{className:`${Se} ${l||""}`},H.default.createElement("div",{className:xe,style:{backgroundImage:`url("${a}")`}},H.default.createElement("div",{className:Te,"data-is-side":r},H.default.createElement("div",{className:Ne,"data-is-side":r},H.default.createElement(i.Heading,{tag:"h4",color:"white"},t),n),H.default.createElement("div",{className:Le},H.default.createElement("img",{src:e||"",style:{objectFit:"contain"},alt:t})))));var De="zvE9IoJ",Ie="njDC-ia",_e="ESkUhe9",Me="wZLIQYa";const Ae=({backgroundDesktopSrc:e,backgroundMobileSrc:a,title:l,className:n,isSide:r,ovulationContent:o})=>{var d,c,u;const{t:m}=y.useTranslations(),f=D.formatUserProfileUrl(null==o?void 0:o.reviewed_by);return H.default.createElement("div",{className:`${De} ${n}`,"data-is-side":r},H.default.createElement("div",{className:Ie,style:{backgroundImage:`url('${a||e}')`}},H.default.createElement("div",{className:Me},H.default.createElement(i.Heading,{tag:"h5",color:"white"},l),(null===(d=null==o?void 0:o.reviewed_by)||void 0===d?void 0:d.display_name)?H.default.createElement(t.Text,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:m("articlePage.articleReviewerBy",{name:`<a\n style="color: white"\n href="${f}"\n >\n ${o.reviewed_by.display_name}\n </a>`})}}),H.default.createElement("span",null,m("tools.heading.on")),H.default.createElement("span",null,null==o?void 0:o.reviewed_date)):null),H.default.createElement("div",{className:_e,"data-is-side":r},H.default.createElement("img",{src:(null==o?void 0:o.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:l}))),H.default.createElement(Be,{className:"desktop-only",src:(null==o?void 0:o.featured_image)||"",backgroundSrc:e||a||"",title:l,reviewedSection:(null===(c=null==o?void 0:o.reviewed_by)||void 0===c?void 0:c.display_name)&&""!==(null===(u=null==o?void 0:o.reviewed_by)||void 0===u?void 0:u.display_name)&&H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.white,style:{marginTop:12}},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${f}"\n >\n ${o.reviewed_by.display_name}\n </a>`,date:null==o?void 0:o.reviewed_date})}}),H.default.createElement("span",null)),isSide:r}))},Pe=({siteType:t,info:l,onChange:n,errorMessage:r={}})=>{const{t:o}=y.useTranslations(),[i,c]=e.useState({weightBefore:!1,height:!1,weight:!1}),[u,m]=e.useState(0),f=e.useRef(null);e.useEffect((()=>{var e;m(null===(e=f.current)||void 0===e?void 0:e.clientHeight)}));const g=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},p=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},l),{weightBefore:e});n&&n(t)}))},h=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},l),{height:e});n&&n(t)}))},v=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},l),{weight:e});n&&n(t)}))};return e.useEffect((()=>{n&&n(Object.assign({},l))}),[]),e.useEffect((()=>{c({weightBefore:!1,height:!1,weight:!1})}),[r]),"marryBaby"===t?H.default.createElement(H.default.Fragment,null,H.default.createElement("div",{className:"input-form-pwg input-section"},H.default.createElement(d.StyledTextField,{label:o("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==l?void 0:l.height,CustomInput:H.default.createElement(E.Input,{className:(null==i?void 0:i.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==i?void 0:i.height)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:h})})),H.default.createElement("div",{className:"input-form-pwg input-section"},H.default.createElement(d.StyledTextField,{label:o("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==l?void 0:l.weightBefore,CustomInput:H.default.createElement(E.Input,{className:(null==i?void 0:i.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==i?void 0:i.weightBefore)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:p})})),H.default.createElement("div",{className:"input-form-pwg input-section"},H.default.createElement(d.StyledTextField,{label:o("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==l?void 0:l.weight,CustomInput:H.default.createElement(E.Input,{className:(null==i?void 0:i.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==i?void 0:i.weight)?"":null==r?void 0:r.weight,showErrorMessage:!1,onChange:v})}))):H.default.createElement(H.default.Fragment,null,H.default.createElement("div",{className:"input-form-pwg"},H.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.height"),className:"input-section",label:H.default.createElement("span",{style:{color:s.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},o("pregnancyWeightGain.heightInput")," ",H.default.createElement("span",{style:{color:`${s.theme.colors.gray300}`}},o("bmi.heightInput.desc"))),errorMessage:i.height?"":null==r?void 0:r.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==l?void 0:l.height,onChange:h})),H.default.createElement("div",{className:"input-form-pwg"},H.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.weight"),className:"input-section",label:H.default.createElement("span",{style:{color:s.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:f,className:"label-text"},o("pregnancyWeightGain.weightBeforeInput")," ",H.default.createElement("span",{style:{color:`${s.theme.colors.gray300}`}},o("pregnancyWeightGain.weightInput.desc"))),errorMessage:i.weightBefore?"":null==r?void 0:r.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:p,value:null==l?void 0:l.weightBefore})),H.default.createElement("div",{className:"input-form-pwg"},H.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.weight"),className:"input-section",label:H.default.createElement("span",{style:{color:s.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:u},className:"label-text"},o("pregnancyWeightGain.weightInput")," ",H.default.createElement("span",{style:{color:`${s.theme.colors.gray300}`}},o("pregnancyWeightGain.weightInput.desc"))),errorMessage:i.weight?"":null==r?void 0:r.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==l?void 0:l.weight,onChange:v})))},ze=()=>"undefined"!=typeof window&&window.innerWidth<l.Breakpoints.BREAK_POINT_MOBILE,Fe=()=>"undefined"!=typeof window&&window.innerWidth>=l.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<l.Breakpoints.BREAK_POINT_PC,je=()=>{const[t,a]=e.useState(ze()),[l,n]=e.useState(Fe());return e.useEffect((()=>{const e=()=>{a(ze()),n(Fe())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:t,isLargeMobile:l}};const Oe={"en-PH":G.default,"vi-VN":V.default,"zh-TW":U.default,"id-ID":R.default};function He(t){const{value:a={from:null,to:null}}=t,[l,n]=e.useState(null),{isMobile:r}=je(),[o,i]=e.useState((()=>a)),[s,c]=e.useState((()=>{var e;return v.startOfMonth(null!==(e=a.from)&&void 0!==e?e:new Date)})),u=e.useMemo((()=>v.addMonths(s,1)),[s]);const m=Object.assign(Object.assign({},t),{goToNextMonth:function(){c((e=>v.addMonths(e,1)))},goToPreviousMonth:function(){c((e=>v.subMonths(e,1)))},range:o,setRange:i,hoverDay:l,setHoverDay:n});return H.default.createElement(H.default.Fragment,null,H.default.createElement($e,Object.assign({},m,{date:s})),!r&&H.default.createElement(d.StyledCalendarMonthSeparator,null),!r&&H.default.createElement($e,Object.assign({},m,{date:u})))}function $e({date:t,range:a,setRange:l,onChange:r,goToPreviousMonth:i,goToNextMonth:s,minDate:c,maxDate:u,close:m=(()=>{}),autoClose:f=!1,hoverDay:g,setHoverDay:p}){const{locale:h}=y.useTranslations(),E=e.useMemo((()=>{var e;return null!==(e=Oe[h])&&void 0!==e?e:Oe["en-PH"]}),[h]),b=e.useMemo((()=>v.format(t,"MMMM",{locale:E})),[t,E]),C=e.useMemo((()=>E?[1,2,3,4,5,6,0].map((e=>E.localize.day(e,{width:"narrow"}))):[]),[E]);function w(e,t){if(null===e)return H.default.createElement(d.StyledCalendarDayNumberWrapper,{key:`idx-${t}`,"data-empty":"true"});const n=e.getDate(),r=v.isToday(e),o=!!a.from&&v.isSameDay(a.from,e),i=!!a.to&&v.isSameDay(a.to,e),s=o||i;let h=!1;null!==g&&a.from&&v.isBefore(a.from,g)&&!a.to?h=v.isWithinInterval(e,{start:a.from,end:g}):a.from&&a.to&&(h=v.isWithinInterval(e,{start:a.from,end:a.to}));let y=!1;return c&&u?y=!v.isWithinInterval(e,{start:c,end:u}):c?y=v.isBefore(e,c):u&&(y=v.isAfter(e,u)),H.default.createElement(d.StyledCalendarDayNumberWrapper,{key:n,"data-is-today":r,"data-is-past":!r&&v.isPast(e),"data-is-selected":s,"data-is-disabled":y,"data-in-range":h,"data-is-from":o,"data-is-to":i,onMouseEnter:()=>{p(e)},onMouseLeave:()=>p(null),onClick:()=>{y||l((t=>(f&&a.from&&!a.to&&m(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?v.isBefore(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(e,t))))}},H.default.createElement(d.StyledCalendarDayNumber,{onClick:()=>{}},H.default.createElement("p",null,n)))}return e.useEffect((()=>{a.from&&a.to&&r(a)}),[a]),H.default.createElement(d.StyledCalendarWrapper,{className:"calendar-wrapper"},H.default.createElement(d.StyledCalendarHead,null,H.default.createElement(n.Button,{onClick:i,size:"md",color:"ghost",icon:H.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendarArrowLeft.svg")})}),H.default.createElement("div",{className:"calendar-month"},b,H.default.createElement("strong",null,v.format(t,"yyyy"))),H.default.createElement(n.Button,{onClick:s,size:"md",color:"ghost",icon:H.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendarArrowRight.svg")})})),H.default.createElement(d.StyledCalendarCellsWrapper,null,H.default.createElement("div",null,H.default.createElement(d.StyledCalendarDaysOfWeek,null,C.map(((e,t)=>H.default.createElement(d.StyledCalendarDayLabel,{key:`${e}-${t}`},e))))),H.default.createElement("div",null,function(){const e=t.getFullYear(),l=t.getMonth(),n=v.getDaysInMonth(t),r=[];for(let t=1;t<=n;t++)r.push(new Date(e,l,t));const o=r[0]?r[0].getDay():0;if(1!==o){const e=0===o?6:o-1;for(let t=0;t<e;t++)r.unshift(null)}return H.default.createElement(d.StyledCalendarMonthWrapper,{key:`month-${l}`,"data-month-index":l,"data-has-range":Boolean(a.from&&a.to)},H.default.createElement(d.StyledCalendarDaysWrapper,null,H.default.createElement(d.StyledCalendarDateGrid,null,r.map(w))))}())))}const We=()=>H.default.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),Ge=()=>H.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},H.default.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),Re=({vaccineRecord:e,isInTimeline:a,isCurrent:l,onMarkAsInjected:n,onDelInjected:r,className:o,siteType:i})=>{const{t:c}=y.useTranslations(),{vaccineId:u,id:m,status:f,optional:g,vaccineName:p,doseNumber:h,totalDoses:v,givenOn:E}=e;return H.default.createElement(d.StyledVaccineCard,{className:o,"data-theme":i,"data-status":l?"current":f,"data-is-in-timeline":a},H.default.createElement(d.StyledActionWrapper,null,l?H.default.createElement(C.Icon.Current,null):"vaccinated"===f?H.default.createElement(C.Icon.Vaccinated,null):"passed"===f?H.default.createElement(C.Icon.Missed,null):H.default.createElement(C.Icon.Upcoming,null),a?H.default.createElement("div",{className:"toggle",onChange:()=>{"vaccinated"==f?r(e):n(e)}},"vaccinated"===f?H.default.createElement(C.Icon.ToggleOn,null):H.default.createElement(C.Icon.ToggleOff,null),H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray800},c("vaccinated"===f?"babyVaccine.vaccineCard.injected":"babyVaccine.vaccineCard.markAsInjected"))):H.default.createElement("div",{className:"in-detail"},c(l?"babyVaccine.status.current":"vaccinated"===f?"babyVaccine.status.vaccinated":"passed"===f?"babyVaccine.status.missed":"babyVaccine.status.upcoming"))),H.default.createElement(d.StyledContentWrapper,null,H.default.createElement(t.Text,{size:"s3",color:s.theme.colors.gray800,type:"semiBold"},p),H.default.createElement(d.StyledInformationWrapper,null,H.default.createElement(t.Text,{size:"n1",color:g?s.theme.colors.gray800:s.theme.colors.red800},c(g?"babyVaccine.vaccineInfo.optional":"babyVaccine.vaccineInfo.mandatory")),H.default.createElement("span",{className:"dot"}),H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray600},c("babyVaccine.vaccineInfo.dose",{ordinal:h,total:v})),H.default.createElement("span",{className:"dot"}),H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray800},c("vaccinated"===f?"babyVaccine.vaccineInfo.injectedDate":"babyVaccine.vaccineInfo.suggested",{date:E})))))},Ve=(e,t)=>H.default.createElement(d.StyledDose,{"data-status":e,"data-id":t||"header"},t||"");exports.Alert=({style:e,onClose:a,text:l,type:n,contentIcon:r,closeIcon:o,className:i,description:s})=>H.default.createElement("div",{className:`${q} ${i||""}`,style:e,"data-alert-type":n},H.default.createElement("div",{className:Z},H.default.createElement("div",{className:"icon-title"},r,H.default.createElement(t.Text,{type:"bold",size:"label1"},l)),H.default.createElement(t.Text,{type:"regular",size:"p3"},s)),H.default.createElement("div",{className:Y,onClick:a},o)),exports.ArticleCard=({articleLink:e,authorLink:a,authorName:l,avatarImg:n,banner:r,categoryLink:s,categoryName:c,className:u,dataEventActionForBanner:m,dataEventActionForBookmark:f,dataEventActionForCategory:g,dataEventActionForTitle:p,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:y,dataEventCategoryForCategory:v,dataEventCategoryForTitle:E,dataEventLabelForBanner:b,dataEventLabelForBookmark:C,dataEventLabelForCategory:w,dataEventLabelForTitle:k,direction:S="horizontal",hasAffiliate:x,isBookmark:T=!1,isBookmarkDisplayed:N=!0,isMobile:L=!0,onBookmark:B,onClickCategoryName:D,section:I="normal",size:_="md",specialty:M,style:A,styleBanner:P,styleLabel:z,styleTitle:F,text:j,title:O,type:$="author",uploadTime:W,articleLinkTarget:G,isPremium:R})=>{const V=e=>{e.stopPropagation(),null==B||B()},U="lg"===_&&"expert"===$?"h4":"lg"===_&&"home"===I?L?"h4":"h3":"lg"===_?"h4":"h5",q="lg"===_?"p3":"p4",Z=L||"home"!==I||"lg"!==_||"author"!==$?"c2":"c1";return H.default.createElement("article",{className:`${le} ${u||""}`,"data-size":_,style:A,"data-direction":S,"data-is-expert":"expert"===$||void 0},H.default.createElement("div",{className:"banner",style:P},H.default.createElement("a",{className:ae,"data-event-category":h,"data-event-action":m,"data-event-label":b,href:e||"#",target:G},r),R&&H.default.createElement("img",{loading:"lazy",className:"premium",src:o.CommonGAssets.getAssetPath("premium-crown.svg")}),x&&H.default.createElement(d.AffiliateIcon,null)),H.default.createElement("div",{className:"content"},H.default.createElement("div",{className:"inner-content"},H.default.createElement(t.Text,{style:z,className:"label",size:Z,type:"caption"},H.default.createElement("a",{className:ae,"data-event-category":v,"data-event-action":g,"data-event-label":w,href:s||"#",onClick:D},c),N&&H.default.createElement("a",{className:"bookmark",onClick:V},T?H.default.createElement(d.BookmarkedIcon,{dataEventCategoryForBookmark:y,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}):H.default.createElement(d.UnbookmarkedIcon,{dataEventCategoryForBookmark:y,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}))),H.default.createElement(i.Heading,{tag:U,style:F,className:"title",as:"lg"===_?"h2":"h3"},H.default.createElement("a",{className:ae,"data-event-category":E,"data-event-action":p,"data-event-label":k,href:e||"#",target:G},O)),j&&H.default.createElement("a",{href:e||"#",target:G},H.default.createElement(t.Text,{size:q,className:"text"},j))),H.default.createElement("div",{className:"footer"},"author"===$?H.default.createElement(re,{size:_,avatarImg:n,authorName:l,authorLink:a,uploadTime:W,handleClick:V,isBookmarked:T,dataEventCategoryForBookmark:y,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}):H.default.createElement(oe,{size:_,isMobile:L,avatarImg:n,specialty:M,name:l,link:a,handleClick:V,isBookmarked:T,dataEventCategoryForBookmark:y,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}))))},exports.BMICardEmbed=({isMobile:e,onSubmit:a,bmiContent:l,isSide:n,bmiGenerated:r,bmiUnit:i,bmiLink:c,locale:u})=>{var m,f,g;const{t:p}=y.useTranslations();return H.default.createElement(d.StyledContainer,{"data-is-side":n},H.default.createElement(d.ToolsBannerCard,{isSide:n,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmi.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(f=null==l?void 0:l.reviewBy)||void 0===f?void 0:f.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),H.default.createElement("span",null)):void 0,isMobile:e}),H.default.createElement(b.Container,null,H.default.createElement(d.StyledContent,{as:"div","data-is-side":n},c&&H.default.createElement(be,{onSubmit:a,bmiGenerated:r,locale:u,bmiUnit:i,isSide:n}))))},exports.BMRCardEmbed=({isSide:e,locale:a,bmrContent:l,isMobile:n,info:r,inputErrorMessage:i,onFormChange:c,onSubmit:u})=>{var m,f,g;const{t:p}=y.useTranslations();return H.default.createElement(d.StyledContainer,{"data-is-side":e},H.default.createElement(d.ToolsBannerCard,{isSide:e,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmr.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(f=null==l?void 0:l.reviewBy)||void 0===f?void 0:f.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),H.default.createElement("span",null)):void 0,isMobile:n}),H.default.createElement(b.Container,null,H.default.createElement(d.StyledContent,{onSubmit:e=>e.preventDefault(),"data-is-side":e},H.default.createElement(d.StyledInputForm,null,H.default.createElement(ke,{info:r,locale:a,errorMessage:i,onChange:c,onClick:u,isSide:e})))))},exports.BabyGrowthCardEmbed=({isMobile:e,className:a,onSubmit:l,onError:n,schema:r,babyGrowthContent:i,siteType:c})=>{var u,m,f,g,p;const{t:h}=y.useTranslations();return H.default.createElement(d.StyledContainer,{"babyGrowthContent-is-mobile":e,"data-site":c},H.default.createElement(d.ToolsBannerCard,{siteType:c,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===c&&s.theme.mbColors.mint,isEmbeded:!0,icon:H.default.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==i?void 0:i.featuredImage)||"",style:{maxWidth:"100%"}}),heading:(null==i?void 0:i.title)||"",medicalReview:(null===(u=null==i?void 0:i.reviewBy)||void 0===u?void 0:u.reviewer)&&""!==(null===(m=null==i?void 0:i.reviewBy)||void 0===m?void 0:m.reviewer)?H.default.createElement(t.Text,{size:"label2",color:s.theme.colors.white,className:"embedded-review"},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:h("toolPage.toolReviewer",{expert_name:"marryBaby"===c?null===(f=null==i?void 0:i.reviewBy)||void 0===f?void 0:f.reviewer.trim():`<a\n style="color: white"\n href="${(null===(g=null==i?void 0:i.reviewBy)||void 0===g?void 0:g.link)||"#"}"\n >\n ${null===(p=null==i?void 0:i.reviewBy)||void 0===p?void 0:p.reviewer.trim()}\n </a>`,date:null==i?void 0:i.reviewBy.date})}})):void 0,isMobile:e}),H.default.createElement(d.StyledBabyGrowthWrapper,{"data-theme":c},H.default.createElement(d.StyleForm,{siteType:c,schema:r,className:a,onSubmit:l,onError:n})))},exports.BabyPoopEmbed=({babyPoopPage:e,onClickFindOut:a,locale:l,isMobile:r,currentUrl:c,isSide:u})=>{const{t:m}=y.useTranslations(),{reviewedBy:f,reviewedDate:g}=e;return H.default.createElement(d.StyledBabyPoopHeader,null,H.default.createElement(w.Container,{className:"px-16",style:{height:"100%",display:""+(r?"flex":""),flexDirection:"column"}},r&&H.default.createElement(d.StyledBabyPoopHeaderContentImage,{src:o.CommonGAssets.getAssetPath("babyDiaper.png"),alt:e.title}),H.default.createElement(d.StyledBabyPoopHeaderContent,{"data-is-side":u},H.default.createElement(d.StyledBabyPoopHeaderContentText,{"data-is-side":u},H.default.createElement(i.Heading,{tag:"h2",color:"#284A75"},e.title),H.default.createElement(t.Text,{size:"p3",className:"description"},e.description),!!f&&H.default.createElement(d.StyledBabyPoopHeaderReview,{className:"reviewer"},H.default.createElement("img",{src:o.CommonGAssets.getAssetPath("reviewerCheck.svg"),alt:"check",className:"check-icon"}),H.default.createElement(t.Text,{size:"p4",color:s.theme.colors.gray600},m("categoryPage.info.reviewed")," ",H.default.createElement("a",{href:f.profileUrl},f.displayName)," ",m("categoryPage.onDate",{date:g}))),H.default.createElement(n.Button,{color:"primary",size:"md",className:"mt-16 find-out-button",onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:c,style:{visibility:Boolean(a)?"visible":"hidden"}},m("babyPoop.findOut"))),!r&&H.default.createElement(d.StyledBabyPoopHeaderContentImage,{src:o.CommonGAssets.getAssetPath("babyDiaper.png"),alt:e.title,"data-is-vietnam":l===h.LOCALE.Vietnam,className:"banner-img"}))))},exports.Badge=({amount:e,type:t,size:l="medium",color:n="primary",icon:r,className:o})=>H.default.createElement(a.StyledBadge,{"data-notification-type":t,"data-notification-size":l,"data-notification-color":n,"data-has-icon":!!r||void 0,notificationType:t,notificationSize:l,notificationColor:n,hasIcon:!!r,className:o},H.default.createElement("div",null,e&&H.default.createElement("span",null,e)," ",r&&H.default.createElement("div",null,r))),exports.BorderHeading=({style:e,children:t,className:l,size:n="lg",type:r="bold",upperCase:o,as:i="h4",color:s})=>H.default.createElement(a.StyledBorderHeading,{style:Object.assign({color:s},e),className:l,"data-size":n,"data-type":r,"data-uppercase":o,as:i},t),exports.Breadcrumbs=({className:t,pages:a,size:l,LinkComponent:n="a",onChangePage:r,separator:o})=>{const i=e.useMemo((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return H.default.createElement("div",{"data-size":l,className:`${ie} ${t||""}`},i.map(((t,a)=>{const s=a+1===i.length;return H.default.createElement(e.Fragment,{key:a},H.default.createElement(ce,{LinkComponent:n,page:t,isLast:s,onChangePage:r}),!s&&(t.separator||o||H.default.createElement("div",{className:se,"data-size":l})))})))},exports.Carousel=({row:t,column:a,children:l,scheme:n="hellosites",classNameLeftArrow:r="",classNameRightArrow:o="",mode:i="snap",isDotsShown:s=!0,isArrowShown:c=!1,dataEventCategory:u,dataEventAction:f,dataEventLabel:g,onChangePage:p})=>{const[h,y]=H.default.useState(0),[v,E]=e.useState(!1),[b,C]=m.useKeenSlider({defaultAnimation:{duration:1e3},initial:0,slideChanged(e){y(e.track.details.rel),p&&p(e.track.details.rel)},created(){E(!0)},drag:!0,mode:i,slides:{spacing:12}}),w=[],k=t*a;for(let e=0;e<l.length;e+=k){const t=l.slice(e,e+k);w.push(t)}return H.default.createElement(d.StyledCarousel,{row:t,column:a},H.default.createElement("div",{className:"navigation-wrapper"},H.default.createElement("div",{ref:b,className:"keen-slider slides-wrapper"},w.map(((e,t)=>H.default.createElement("div",{key:t,className:"keen-slider__slide page-items"},e.map(((e,t)=>H.default.createElement("div",{key:t},e))))))),v&&C.current&&c&&H.default.createElement(H.default.Fragment,null,H.default.createElement(fe,{isLeft:!0,onClick:e=>{var t;return e.stopPropagation()||(null===(t=C.current)||void 0===t?void 0:t.prev())},isDisabled:0===h,scheme:n,className:`left-arrow ${r}`,"data-event-category":u,"data-event-action":f,"data-event-label":g}),H.default.createElement(fe,{isLeft:!1,onClick:e=>{var t;return e.stopPropagation()||(null===(t=C.current)||void 0===t?void 0:t.next())},isDisabled:h===C.current.track.details.slides.length-1,scheme:n,className:`right-arrow ${o}`,"data-event-category":u,"data-event-action":f,"data-event-label":g}))),v&&C.current&&s&&H.default.createElement("div",{className:"dots"},[...Array(C.current.track.details.slides.length)].map(((e,t)=>H.default.createElement(d.StyledDot,{key:t,onClick:()=>{var e;null===(e=C.current)||void 0===e||e.moveToIdx(t)},"data-is-active":h===t,"data-is-hellosites":"hellosites"===n})))))},exports.CategoryCard=({imgBanner:e,label:a,className:l,style:n,href:r="",dataEventCategory:o,dataEventAction:i,dataEventLabel:s})=>H.default.createElement(d.StyledCategoryCard,{"data-event-category":o,"data-event-action":i,"data-event-label":s,className:l,style:n,href:r,onClick:e=>{""===r&&e.preventDefault()}},H.default.createElement("div",{className:"banner"},e),H.default.createElement("div",{className:"content"},H.default.createElement(t.Text,{className:"category_name",size:"sm",type:"bold"},a))),exports.Checkbox=Q,exports.CheckboxGroup=({name:e,values:t=[],onChanges:a,options:l=[],className:n,type:r="vertical",isDisabled:o,isRectangle:i})=>{const s=(e,l)=>{const n=t.slice();if(l)n.push(e);else{const t=n.findIndex((t=>t===e));n.splice(t,1)}a&&a(n)};return H.default.createElement(d.StyledCheckboxGroup,{className:n,"data-type":r,"data-is-rectangle":i||void 0},l.map(((a,l)=>H.default.createElement(Q,{label:a.label,name:e,key:`${l}-${a.value}`,checked:t.includes(a.value),value:a.value,isDisabled:o||a.disabled,onChange:!o&&s,isRectangle:i}))))},exports.CookieAcceptConfirm=({className:e,policiesUrl:t,onAcceptClick:a,translations:l={acceptButton:"Accept",policiesButton:"Our Policies"},title:n="",description:r="",theme:o="helloSites",isOpen:i=!0,useDefaultPosition:s=!0,trackingAttributes:c})=>H.default.createElement(d.StyledAcceptCardContainer,{className:e,"data-theme":o,"data-is-open":i,"data-default-position":s},H.default.createElement(d.StyledTitleSection,{"data-has-content":!!n},n),H.default.createElement(d.StyledDescription,{dangerouslySetInnerHTML:{__html:r}}),H.default.createElement(d.StyledButtonGroup,null,H.default.createElement(d.StyledAcceptButton,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:a,"data-event-category":null==c?void 0:c.dataEventCategory,"data-event-action":null==c?void 0:c.dataEventAction,"data-event-label":null==c?void 0:c.dataEventLabel},l.acceptButton),H.default.createElement(d.StyledPoliciesButton,{href:t},l.policiesButton))),exports.DateRangePicker=function({inputSize:t="md",name:l="date-range-picker",value:n,minDate:r,maxDate:i,onChange:s,className:c,autoClose:u=!1}){n||(n={from:null,to:null});const[m,f]=e.useState(!1);function g(){f(!1)}const p=e.useRef(null);function h(e){s&&s(e)}function y(e){return v.format(e,"dd/MM/yyyy")}I.useOutsideClick(p,(()=>{g()}));const E=e.useMemo((()=>n.from&&n.to?v.isSameDay(n.from,n.to)?y(n.from):`${y(n.from)} - ${y(n.to)}`:""),[n.from,n.to]);return H.default.createElement(d.StyledWrapper,{className:[c,m&&"focused"].filter(Boolean).join(" "),ref:p},H.default.createElement("label",{htmlFor:l},H.default.createElement(a.PureInput,{size:t,value:E,name:l,actionIcon:H.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendar.svg")}),onFocus:()=>f(!0)})),m?H.default.createElement(d.StyledCalendarWrapper$1,{onMouseDown:e=>{e.stopPropagation()}},H.default.createElement(He,{value:n,onChange:h,minDate:r,maxDate:i,close:g,autoClose:u})):null)},exports.DueDateCardEmbed=({isMobile:e,locale:a,onSubmitDueDate:l,dueDatePageInfo:n,expertUrl:r,isSide:i,siteType:c})=>{var u;const{t:m}=y.useTranslations();return H.default.createElement(d.StyledContainer,{"data-is-side":i,"data-site":c},H.default.createElement(d.ToolsBannerCard,{isSide:i,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),siteType:c,bannerColor:"marryBaby"===c&&s.theme.mbColors.mint,isEmbeded:!0,icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:"marryBaby"!==c?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:m("healthTools.dueDateCalculator"),medicalReview:(null===(u=null==n?void 0:n.reviewed_by)||void 0===u?void 0:u.display_name)?H.default.createElement(t.Text,{size:"label2",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:"marryBaby"===c?null==n?void 0:n.reviewed_by.display_name:`<a\n style="color: white"\n href="${r}"\n >\n ${null==n?void 0:n.reviewed_by.display_name}\n </a>`,date:null==n?void 0:n.reviewed_date})}}),H.default.createElement("span",null)):void 0,isMobile:e}),H.default.createElement(d.StyledContent,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":i},H.default.createElement(ve,{siteType:c,locale:a,onSubmitDueDate:l,isSide:i})))},exports.FileDropdown=({className:t,value:l,options:n,onUploadSelected:r,id:o,placeholderIcon:i,placeholder:s,style:d})=>{const[c,u]=e.useState(!1),m=()=>u(!c),f=e.useRef(n.map((e=>"upload"===e.type&&H.default.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+e.value,key:"uploader-dropdown-input-"+o+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}})))),g=H.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},H.default.createElement("defs",null,H.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},H.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),H.default.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),H.default.createElement("title",null,"File"),H.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},H.default.createElement("path",{className:"prefix__cls-3",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)"}),H.default.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),p=H.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},H.default.createElement("defs",null,H.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),H.default.createElement("title",null,"download"),H.default.createElement("path",{className:"prefix__cls-1",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)"})),h=H.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},H.default.createElement("defs",null,H.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),H.default.createElement("title",null,"upload"),H.default.createElement("path",{className:"prefix__cls-1",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)"}));return H.default.createElement(a.StyledDropdown,{className:t,"data-dropdown-open":!!c,id:o,"data-has-icons":!0,style:d,onBlur:()=>u(!1),tabIndex:0},H.default.createElement(a.StyledDropdownName,{onClick:m},i||g," ",H.default.createElement("span",null,l&&l.value?l.label:s)),c&&H.default.createElement(a.StyledDropdownList,{onClick:m,"data-has-icons":!0},n.map((e=>H.default.createElement(a.StyledDropdownOption,{key:`${o}-${e.value}`,"data-selected":l&&l.value===e.value||void 0,onClick:()=>{return"upload"===e.type?(a="#uploader-dropdown-input-"+o+"-"+e.value,void(null===(l=document.querySelector(a))||void 0===l||l.click())):void((t=e.url)&&window.open(t,"_blank"));var t,a,l}},H.default.createElement(a.StyledIcon,null,e.icon||"download"===e.type?p:h),e.label)))),H.default.createElement(H.default.Fragment,null,f.current))},exports.FloatButtonGroup=({items:t,className:a,style:l,backgroundPanelStyle:n,isOpen:r,onOpen:o,onClose:i,disableBackdropClick:s,siteType:c="hb",animationType:u="zoom",zIndex:m=300})=>{const[f,g]=e.useState(!!r);e.useEffect((()=>{g(!!r)}),[r]);const p=()=>{g(!1),i&&i()};return H.default.createElement(d.StyledFloatButtonGroup,{style:l,className:a,"data-floatmenu-open":f,"data-site-type":c,"data-animation-type":u},H.default.createElement(d.StyledFloatButtonGroupBackgroundPanel,{className:"float-button-group__panel",style:Object.assign({zIndex:m},n),onClick:s?void 0:p}),H.default.createElement(d.StyledFloatButtonGroupContent,{className:"float-button-group___content",style:{zIndex:m}},H.default.createElement(d.StyledFloatButtonGroupItemsWrapper,null,t.map(((e,a)=>H.default.createElement(d.StyledFloatButtonGroupButton,{className:`float-item-button-${a}`,style:Object.assign(Object.assign({},"zoom"===u&&{bottom:64*(t.length-1-a),transitionDelay:d.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"}),"slide"===u&&{bottom:64*(t.length-1-a),transitionDelay:d.TRANSITION_TIMING/t.length*(f?a:t.length-1-a)+"ms"}),key:a,onClick:()=>{e.onClick(),e.keepMenuOnClick||g(!1)}},H.default.createElement(d.StyledFloatButtonGroupButtonLabel,{style:Object.assign({},"zoom"===u&&{transitionDelay:d.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"})},e.label),H.default.createElement(d.StyledFloatButtonGroupButtonIcon,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===u||"slide"===u)&&{transitionDelay:d.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"})},e.icon))))),H.default.createElement(d.StyledFloatButtonGroupToggleIcon,{onClick:f?p:()=>{g(!0),o&&o()}})))},exports.Grid=({className:e,columns:t,columnsDesktop:l,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,gap:o,children:i,justifyChildren:s,style:d,alignItems:c})=>H.default.createElement(a.StyledGrid,{className:e,style:d,theme:{columns:t,columnsDesktop:l,gap:o,justifyChildren:s,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,alignItems:c}},i),exports.IconText=({size:e,iconPosition:t,className:a,children:l,icon:n})=>H.default.createElement(d.StyledIconText,{className:a,"data-size":e,"data-icon-position":t},"left"===t&&n,l,"right"===t&&n),exports.Immunization=({vaccineRecord:e,onMarkAsInjected:a,onDelInjected:l,isMobile:n,className:r,siteType:o})=>{const{t:i}=y.useTranslations();return H.default.createElement(d.StyledImmunization,{className:r,"data-theme":o},H.default.createElement(d.StyledWarning,null,H.default.createElement(C.Icon.Missed,{color:s.theme.colors.gray600}),H.default.createElement(t.Text,{size:"p3",color:s.theme.colors.gray800},i("babyVaccine.immunization.warning"))),H.default.createElement(d.StyledSchedulerWrapper,null,H.default.createElement(d.StyledRowWrapper,{className:"header"},!n&&H.default.createElement(d.StyledLeftContent,{className:"header"},H.default.createElement(t.Text,{size:"s5",color:s.theme.colors.gray800,type:"semiBold"},i("babyVaccine.immunization.vaccineName"))),H.default.createElement(d.StyledRightContent,{className:"header"},H.default.createElement("div",{className:"status"},Ve("passed"),H.default.createElement(t.Text,{size:"p4",color:s.theme.colors.gray800},i("babyVaccine.status.missed"))),H.default.createElement("div",{className:"status"},Ve("next"),H.default.createElement(t.Text,{size:"p4",color:s.theme.colors.gray800},i("babyVaccine.status.upcoming"))),H.default.createElement("div",{className:"status"},Ve("vaccinated"),H.default.createElement(t.Text,{size:"p4",color:s.theme.colors.gray800},i("babyVaccine.status.vaccinated"))))),e&&e.map(((e,r)=>H.default.createElement(d.StyledRowWrapper,{key:`${r}${e.id}`},H.default.createElement(d.StyledLeftContent,null,H.default.createElement(t.Text,{size:"n1",color:e.optional?s.theme.colors.gray800:s.theme.colors.red800},e.optional?i("babyVaccine.vaccineInfo.optional"):i("babyVaccine.vaccineInfo.mandatory")),H.default.createElement(t.Text,{size:n?"s3":"s4",color:s.theme.colors.gray800,type:"semiBold"},e.name||e.antigen)),H.default.createElement(d.StyledRightContent,null,e.records&&e.records.map(((e,t)=>H.default.createElement("div",{key:t,onClick:()=>{"vaccinated"==e.status?l(e):a(e)}},Ve(e.status,t+1))))))))))},exports.OvulationCardEmbed=({onSubmitOvulation:e,locale:a,ovulationPageInfo:l,ovulationContent:n,expertUrl:r,isSide:i=!1,siteType:c,isMobile:u})=>{var m;const{t:f}=y.useTranslations(),g=D.formatOvulationInfo(l||null);return H.default.createElement(d.StyledContainer,{"data-is-side":i,"data-site":c},"marryBaby"!==c?H.default.createElement(Ae,{backgroundDesktopSrc:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),title:f("healthTools.ovulationCalculator"),reviewedBy:g.reviewedBy,reviewedDate:g.reviewedDate,ovulationContent:n,isSide:i}):H.default.createElement(d.ToolsBannerCard,{isSide:i,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),siteType:c,bannerColor:"marryBaby"===c&&s.theme.mbColors.mint,isEmbeded:!0,icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:"marryBaby"!==c?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:f("healthTools.ovulationCalculator"),medicalReview:(null===(m=null==l?void 0:l.reviewed_by)||void 0===m?void 0:m.display_name)?H.default.createElement(t.Text,{size:"label2",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:f("toolPage.toolReviewer",{expert_name:null==l?void 0:l.reviewed_by.display_name,date:null==l?void 0:l.reviewed_date})}}),H.default.createElement("span",null)):void 0,isMobile:u}),H.default.createElement(d.StyledContent,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":i},H.default.createElement(d.OvulationCalculator,{siteType:c,locale:a,onSubmitOvulation:e,isSide:i})))},exports.PWGCardEmbed=({locale:a,onClick:l,inputErrorMessage:r,pwgContent:i,onFormChange:c,info:u,isMobile:m,isSide:f=!1,siteType:p})=>{var h,v;const{t:E}=y.useTranslations(),[C,w]=e.useState("notwins"),[S,x]=e.useState({label:"1",value:1}),T=e.useMemo((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:N}=L.useHealthToolsCache(a),D=e.useMemo((()=>N(k.HEALTH_TOOL_TYPE.PWG)),[N]),I=(null===(h=null==i?void 0:i.reviewedBy)||void 0===h?void 0:h.display_name)?H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:E("toolPage.toolReviewer",{expert_name:null===(v=null==i?void 0:i.reviewedBy)||void 0===v?void 0:v.display_name,date:null==i?void 0:i.reviewedDate})}}),H.default.createElement("span",null)):void 0;return H.default.createElement(d.StyledContainer,{"data-is-side":f,"data-site":p},H.default.createElement(d.ToolsBannerCard,{siteType:p,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),bannerColor:"marryBaby"===p&&s.theme.mbColors.mint,isEmbeded:!0,icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==i?void 0:i.featuredImage,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:E("pregnancyWeightGain.heading"),medicalReview:I,isMobile:m,isSide:f}),H.default.createElement(b.Container,null,H.default.createElement(d.StyledContent,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":f},"marryBaby"!==p&&H.default.createElement(d.StyledTwins,{className:"hide-asking-mobile","data-is-side":f},H.default.createElement(B.Label,{size:"label2",style:{display:"block",fontWeight:"bold",color:s.theme.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},E("pregnancyWeightGain.havingTwins")),H.default.createElement(d.StyledRadioGroup,{options:[{value:"twins",label:E("switchBtn.yes")},{value:"notwins",label:E("switchBtn.no")}],value:C,onChange:e=>w(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),H.default.createElement(d.StyledInputWrapper,null,H.default.createElement(d.StyledFormInput,{className:"input-section input-form-pwg","data-is-side":f},"marryBaby"===p?H.default.createElement(d.StyledDropDown,{groupedWithLabel:E("pregnancyWeightGain.weekInput"),options:T,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:S,onChange:e=>x({label:e.label,value:e.value})}):H.default.createElement(H.default.Fragment,null,H.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:s.theme.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},E("pregnancyWeightGain.weekInput")),H.default.createElement(d.Dropdown,{options:T,placeholder:String(S.label),id:"weight-gain-dropdown",size:"md",value:S,onChange:e=>x({label:e.label,value:e.value})}))),H.default.createElement(Pe,{siteType:p,info:u,errorMessage:r,onChange:c})),"marryBaby"!==p&&H.default.createElement(d.StyledTwins,{className:"hide-asking-desk","data-is-side":f},H.default.createElement(B.Label,{size:"label2",style:{display:"block",fontWeight:"bold",color:s.theme.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},E("pregnancyWeightGain.havingTwins")),H.default.createElement(d.StyledRadioGroup,{options:[{value:"twins",label:E("switchBtn.yes")},{value:"notwins",label:E("switchBtn.no")}],value:C,onChange:e=>w(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===p&&H.default.createElement(Q,{name:"twins",label:E("pregnancyWeightGain.havingTwins"),checked:"twins"===C,siteType:"marryBaby",onChange:()=>{w("twins"===C?"notwins":"twins")},value:"twins"}),H.default.createElement(d.StyledSubmitButton,{"data-is-side":f,"data-site":p},H.default.createElement(n.Button,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${g.domainLocales["marryBaby"===p?"vi-VN_MB":a]}/${D}`,className:"due-date-calculate-button",size:"lg",color:"marryBaby"===p?"secondary":"primary",onClick:()=>l(C,S.value),role:"button",theme:p},E("dueDatePage.lastPeriod.calculate"))))))},exports.Pagination=({className:t,pagesAmount:n,currentPage:r,onChange:o,onClick:i,style:s,href:d,queryPageName:c="page"})=>{const u=[...Array(n)].map(((e,t)=>t+1)),[m,f]=e.useState(r),g=e.useMemo((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),p=n-1,h=e=>{e<=n&&e>0&&(f(e),o(e))},y=e=>{i&&i(e)};return e.useEffect((()=>{f(r)}),[r]),H.default.createElement(a.StyledPagination,{className:t,style:s},H.default.createElement(a.StyledPageBlock,{className:"prev-page",onClick:()=>h(m-1),"data-last-page":1===m||void 0},g?H.default.createElement("a",{href:l.formatUrlWithPageParam(g,m,c),onClick:y},H.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):H.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),u.length>8?H.default.createElement(K,{pagesAmount:n,activePage:m,handlePageChange:h,handleClick:y,href:g,queryPageName:c}):u.map((e=>H.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===m||void 0,onClick:()=>h(e)},g?H.default.createElement("a",{href:l.formatUrlWithPageParam(g,e,c),onClick:y},e):e))),H.default.createElement(a.StyledPageBlock,{className:"next-page",onClick:()=>h(m+1),"data-last-page":m===p+1||void 0},g?H.default.createElement("a",{href:l.formatUrlWithPageParam(g,m,c),onClick:y},H.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):H.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},exports.Progress=({percent:e,style:t})=>H.default.createElement(a.StyledProgress,{style:Object.assign({"--progress":e},t)}),exports.ProgressBar=({type:t,numberOfStep:a,activeStep:l,labelPrefix:n,detailSteps:r,className:o,onChange:i})=>{const[s,u]=e.useState(0),m=e=>{var{trackClassName:t}=e,a=c.__rest(e,["trackClassName"]);return H.default.createElement(d.StyledTrackContainer,Object.assign({},a,{className:t}),H.default.createElement(d.StyledTrack,null))},f=H.default.createElement(d.StyledSlider,{className:o+" progress-bar"},H.default.createElement(m,null),H.default.createElement((({trackLength:e,activeStep:t,labelPrefix:l="Step",onChange:n})=>H.default.createElement(H.default.Fragment,null,Array.from({length:a},((e,t)=>t)).map(((r,o)=>H.default.createElement(d.StyledStep,{"data-is-active":o===t,"data-label":o,style:{left:o*e/(a-1)},onClick:()=>{n&&n(o)},key:o},o+1,H.default.createElement(d.StyledStepLabel,{"data-step-passed":o<=t},l+" "+(o+1))))))),{trackLength:s,activeStep:l,labelPrefix:n,onChange:i})),g=H.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},H.default.createElement("title",null,"chevron-right"),H.default.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),p=H.default.createElement(d.StyledBreadcrumbContainer,null,r&&Array.from({length:r.length},((e,t)=>t)).map(((e,t)=>{var a;return H.default.createElement(d.StyledBreadcrumbWrapper,{key:t,"data-selected":t===l,onClick:()=>{i&&i(t)}},null===(a=r[t])||void 0===a?void 0:a.text," ",t<r.length-1&&g)}))),h=H.default.createElement(d.StyledSlider,{className:o+" progress-bar"},H.default.createElement((({detailSteps:e,activeStep:t,onChange:a})=>H.default.createElement(H.default.Fragment,null,Array.from({length:e.length},((e,t)=>t)).map(((l,n)=>H.default.createElement(d.StyledDetailStep,{key:n,style:{left:100/e.length*n+"%",width:100/e.length+"%"},onClick:()=>{a&&a(n)}},e[n].icon?H.default.createElement(d.StyledDetailStepIndicatorExternal,{onClick:()=>{a&&a(n)}},e[n].icon):H.default.createElement(d.StyledDetailStepIndicator,{"data-is-active":n===t,"data-label":l,onClick:()=>{a&&a(n)},key:n},n+1),H.default.createElement(d.StyledDetailStepLabel,{"data-step-passed":n<t+1},e[n].text,H.default.createElement(d.StyledDetailStepDescription,null,e[n].description)),n<e.length-1&&H.default.createElement(m,{"data-step-passed":n<t,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:l,detailSteps:r,onChange:i})),y=e.useCallback($.default((()=>{const e=document.querySelector(".progress-bar");e&&u(e.offsetWidth)}),1e3),[]);return e.useEffect((()=>{const e=document.querySelector(".progress-bar");return u(null==e?void 0:e.offsetWidth),window.addEventListener("resize",y,{passive:!0}),()=>{window.removeEventListener("resize",y)}}),[]),"step-track"===t&&f||"breadcrumb"===t&&p||"detail-track"===t&&h},exports.RateStars=({gap:t=2,size:l=24,star:n,totalStars:r=5,onSelect:o,hideEmptyStars:i,style:s,className:d})=>{const c=Math.floor(n),u=n-c>=.5?1:0,[m,f]=e.useState(null),g=m||c,p=m?0:u;return H.default.createElement(a.StyledRateStars,{"data-selectable":!!o,style:Object.assign({"--gap":t,"--star-size":l},s),className:d},Array.from({length:i?c+u:r}).map(((e,t)=>{const a=()=>!!o&&f(t+1),l=()=>!!o&&f(null);return t+1<=g?H.default.createElement(J,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):t+1===g+p?H.default.createElement(ee,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):H.default.createElement(X,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l})})))},exports.RecordsByAgeGroup=({vaccineRecords:e,isCurrent:a,onMarkAsInjected:l,onDelInjected:n,countPass:r,countNext:o,className:i,siteType:c})=>{const{t:u}=y.useTranslations();return H.default.createElement(d.StyledRecordsByAgeGroup,{className:i,"data-theme":c},H.default.createElement(d.StyledHeaderWrapper,null,H.default.createElement(d.StyledTitleWrapper,null,H.default.createElement(t.Text,{size:"s4",color:a?s.theme.colors.primaryBase:s.theme.colors.gray800,type:"semiBold",className:"title"},e.name||e.shortName),H.default.createElement(d.StyledCurrentLineWrapper,{"data-isCurrent":a},H.default.createElement("span",{className:"dot"}),H.default.createElement("div",{className:"line"}))),H.default.createElement(d.StyledCountDoseWrapper,null,r>0&&H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray600,wordWrap:"none"},u("babyVaccine.timeline.totalPast",{number:r})),r>0&&o>0&&H.default.createElement("span",{className:"dot"}),o>0&&H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray600,wordWrap:"none"},u("babyVaccine.timeline.totalNext",{number:o})))),H.default.createElement(d.StyledRecordsWrapper,null,(null==e?void 0:e.records)&&e.records.map(((e,t)=>H.default.createElement(Re,{key:`${t}${e.vaccineId}`,vaccineRecord:e,isInTimeline:!0,isCurrent:a&&0===t,onMarkAsInjected:()=>l(e),onDelInjected:()=>n(e)})))))},exports.ScrollList=({row:t=2,column:a=3,isDotsShown:l=!0,isImageGalleryShown:n=!1,mode:r="infinity",type:o="separated",distanceOverlappedLeft:i={amount:0,unit:"pixel"},children:s,className:c,isProgressShown:u=!1,statusChildren:m,isArrowShown:f=!1,classNameLeftArrow:g,classNameRightArrow:p,dataEventCategory:h,dataEventAction:y,dataEventLabel:v,onChangePage:E,page:b,customPageWidth:C,scheme:w="hellosites",arrowType:k="Discover"})=>{const S="number"==typeof b,[x,T]=e.useState(S?b:0),N=[];H.default.Children.map(s,((e,l)=>{l%(t*a)==0&&N.push([]),N[N.length-1].push(H.default.cloneElement(e))}));const L=e.useRef(),B=e.useRef(0),D=e=>{if(!L.current)return;const{clientWidth:t}=L.current,a=C||t,l="intertwined"===o?"percentage"===i.unit?e*a+i.amount/100*a*e:e*a+i.amount*a*e:e*a;L.current.scrollTo({top:0,left:l,behavior:"smooth"}),B.current=e,T(e),E&&E(e)};e.useEffect((()=>{"number"==typeof b&&(e=>{if(!L.current)return;const{clientWidth:t}=L.current,a=C||t,l="intertwined"===o?"percentage"===i.unit?e*a+i.amount/100*a*e:e*a+i.amount*a*e:e*a;L.current.scrollTo({top:0,left:l,behavior:"smooth"}),B.current=e,T(e)})(b)}),[b]);const I=e=>{if(!L.current)return;const{clientWidth:t}=L.current,a=C||t;let l;l=0===x?0:x*a,"forward"===e&&(l===a*(N.length-1)?(T(N.length-1),l=a*(N.length-1),E&&E(N.length-1)):(T(x+1),l+=a,E&&E(x+1)),L.current.scrollTo({top:0,left:l,behavior:"smooth"})),"back"===e&&(0===l?(T(0),E&&E(0),l=0):(T(x-1),E&&E(x-1),l-=a),L.current.scrollTo({top:0,left:l,behavior:"smooth"}))},_=$.default((()=>{if("infinity"===r){if(!L.current)return;const{clientWidth:e,scrollLeft:t}=L.current,a=C||e,l=Math.floor(t/a);T(l),E&&E(l)}}),400);return e.useEffect((()=>{if("snapped"===r){let e,t,a,l,n,r,s=!1;const d=L.current,c=(r,o)=>{s=!0,a=!1,l=!1,e=r-d.offsetLeft,t=o-d.offsetTop,n=d.scrollLeft},u=e=>{c(e.pageX,e.pageY)},m=e=>{c(e.touches[0].pageX,e.touches[0].pageY)},f=()=>{if(s=!1,a=!1,l=!1,!L.current)return;const{clientWidth:e}=L.current,t=C||e,n="ltr"===r?0!==B.current?B.current-1:B.current:"rtl"===r&&B.current<N.length-1?B.current+1:B.current,d="intertwined"===o?"percentage"===i.unit?n*t+i.amount/100*t*n:n*t+i.amount*t*n:n*t;L.current.scrollTo({top:0,left:d,behavior:"smooth"}),r="none",B.current!==n&&(B.current=n,T(n),E&&E(n))},g=(o,i)=>{if(!s)return;const c=o-d.offsetLeft,u=i-d.offsetTop,m=c-e,f=u-t;a||l||!(f>20||f<-20)||(a=!0),!a&&(m>20||m<-20)&&(l=!0,d.scrollLeft=n-m,m>0&&(r="ltr"),m<0&&(r="rtl"),0===m&&(r="none"))},p=e=>{l&&e.preventDefault(),g(e.pageX,e.pageY)},h=e=>{l&&e.preventDefault(),g(e.touches[0].pageX,e.touches[0].pageY)};return null==d||d.addEventListener("mousedown",u,{passive:!0}),null==d||d.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("mouseup",f,{passive:!0}),window.addEventListener("touchend",f,{passive:!0}),null==d||d.addEventListener("mousemove",p,{passive:!0}),null==d||d.addEventListener("touchmove",h,{passive:!0}),()=>{null==d||d.removeEventListener("mousedown",u),null==d||d.removeEventListener("touchstart",m),window.removeEventListener("mouseup",f),window.removeEventListener("touchend",f),null==d||d.removeEventListener("mousemove",p),null==d||d.removeEventListener("touchmove",h)}}}),[]),H.default.createElement(d.StyledScrollList,{className:c,"data-row":t,onScroll:_},f&&x>0&&H.default.createElement("div",{className:`${g} arrow-left`,onClick:()=>I("back"),"data-event-category":h,"data-event-action":y,"data-event-label":v},"Care"===k?H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},H.default.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},H.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),H.default.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),H.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),H.default.createElement("defs",null,H.default.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},H.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),H.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),H.default.createElement("feOffset",{dx:"-2",dy:"2"}),H.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),H.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),H.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),H.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),H.default.createElement("feOffset",{dx:"-1",dy:"1"}),H.default.createElement("feGaussianBlur",{stdDeviation:"1"}),H.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),H.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),H.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):H.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),H.default.createElement("div",{ref:L,className:"container",style:{overflowX:"snapped"===r||f?"hidden":"scroll"}},N.map(((e,l)=>{let n=0;for(let e=0;e<l;e++)n+=N[e].length;return H.default.createElement("div",{key:l,className:"section",style:{marginLeft:"intertwined"===o&&0!==l?i.amount+""+("percentage"===i.unit?"%":"px"):"0px"}},1===t&&u&&H.default.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${a}, 1fr)`}},e.map(((t,a)=>{const r=n+a,o=m.find((e=>e.index===r));return H.default.createElement("div",{className:"items-progress",key:a},0===a&&0===l?H.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):H.default.createElement("div",{className:"line"}),H.default.createElement("div",{className:"icon-status"},H.default.createElement(me,{status:null==o?void 0:o.status})),l===N.length-1&&a===e.length-1?H.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):H.default.createElement("div",{className:"line"}))}))),H.default.createElement("div",{className:"grid-layout","data-index":l,style:{gridTemplateColumns:`repeat(${a}, 1fr)`,gridTemplateRows:`repeat(${t}, 1fr)`}},e.map(((e,t)=>H.default.createElement(H.default.Fragment,{key:t},H.default.createElement("div",{className:"item-grid",key:t},e))))))}))),f&&x<N.length-1&&H.default.createElement("div",{className:`${p} arrow-right`,onClick:()=>I("forward"),"data-event-category":h,"data-event-action":y,"data-event-label":v}," ","Care"===k?H.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},H.default.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},H.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),H.default.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),H.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),H.default.createElement("defs",null,H.default.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},H.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),H.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),H.default.createElement("feOffset",{dx:"-2",dy:"2"}),H.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),H.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),H.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),H.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),H.default.createElement("feOffset",{dx:"-1",dy:"1"}),H.default.createElement("feGaussianBlur",{stdDeviation:"1"}),H.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),H.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),H.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):H.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),l&&H.default.createElement("ul",{className:"bullet-nav"},N.map(((e,t)=>H.default.createElement("li",{key:t,className:"bullet-nav__item "},H.default.createElement("p",{onClick:()=>D(t),className:`bullet-nav__link scroll ${x==t?"active":null}`,"data-scheme":w}))))),n&&H.default.createElement("div",{className:"image-gallery-wrapper","data-test":N.length},N.slice(0,3).map(((e,t)=>H.default.createElement("div",{className:`image-block ${x==t?"active":null}`,key:t,onClick:()=>D(t),"data-scheme":w},e)))))},exports.SeoHead=({SEOData:t={},locale:a="vi-VN",routerPathname:l,routerQuery:n,nextHead:r,siteType:o,seoCustom:i,userId:s,forcedCanonicalUrl:c})=>{var u,m,f,h,y,v,E,b,C,w,k,S;const{totalPages:x,currentPage:T,SEOTitle:N="",SEODescription:L="",SEOImage:B,seoType:D,SEOImageWidth:I,SEOImageHeight:_,customMetaData:M=[],isIndexable:A=!0,hasNoCanonical:P=!1}=t,z=A&&p.isProduction?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:F}=process.env;let j=t.canonicalUrl||l;Object.keys(n).forEach((e=>{const t=n[e];t&&Array.isArray(t)&&(j=j.replace(`[...${e}]`,t.join("/")))}));const O=a||"en-PH",$="helloSites"===o?g.domainLocales[O]:"www.marrybaby.vn",W=j.endsWith("/")?"":"/",G=e.useMemo((()=>{var e,l,n,r,o,i,s;let c="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const u=null===(e=t.apiMetaData)||void 0===e?void 0:e.match(/<title.*?>(.*)<\/title>/),m=` - Page ${T} of ${x}`,f=T&&1!==T&&u?t.apiMetaData.replace(u[0],u[0].includes("-")?u[0].replace("-",m+" - "):`<title>${u[1].concat(m)}</title>`).replace(`<link rel="canonical" href="https://${$}${j}${W}" />`,`<link rel="canonical" href="https://${$}${j}${W}?page=${T}" />`):t.apiMetaData;if(c=d.htmlReactParser(f,{trim:!0}),!c.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const e=`https://${$}/images/${a}.png`;c=[...c,H.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(l=t.openGraph)||void 0===l?void 0:l.image)||B||e||""}),H.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(n=t.openGraph)||void 0===n?void 0:n.image)||B||e}),H.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=t.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)||I&&String(I)||"1200"}),H.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(i=t.openGraph)||void 0===i?void 0:i.imageHeight)&&String(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)||_&&String(_)||"630"})]}}return c}),[t.apiMetaData,t.openGraph,B,_,I,T,j,x,a,$]),R=`https://${$}/images/${a}.png`;return H.default.createElement(r,null,H.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===o&&H.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?H.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?H.default.createElement(H.default.Fragment,null):H.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),H.default.createElement("link",{rel:"preconnect",href:F}),H.default.createElement("meta",{charSet:"UTF-8"}),H.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),H.default.createElement("meta",{name:"google",content:"notranslate"}),H.default.createElement("meta",{name:"robots",content:z}),H.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),M.map(((e,t)=>H.default.createElement("meta",Object.assign({key:t},e)))),H.default.createElement("meta",{name:"theme-color",content:"helloSites"===o?"#2c87f3":"#e85388"}),H.default.createElement("meta",{name:"page_type",content:"Home"}),H.default.createElement("meta",{name:"page_platform",content:"WEB"}),H.default.createElement("meta",{name:"page_language",content:O}),H.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!G&&H.default.createElement(H.default.Fragment,null,"helloSites"===o?H.default.createElement("title",null,i?N:N+" - "+(null===(u=g.LOCALE_SPECS[a])||void 0===u?void 0:u.SITE_NAME)):H.default.createElement("title",null,N),!P&&H.default.createElement("link",{rel:"canonical",href:`https://${$}${j}`}),H.default.createElement("meta",{name:"description",content:L||(null===(m=t.openGraph)||void 0===m?void 0:m.description)}),t.schemaData&&H.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),H.default.createElement("meta",{property:"og:locale",content:a}),H.default.createElement("meta",{property:"og:type",content:D||"website"}),H.default.createElement("meta",{property:"og:title",content:(null===(f=t.openGraph)||void 0===f?void 0:f.title)||N}),H.default.createElement("meta",{property:"og:description",content:(null===(h=t.openGraph)||void 0===h?void 0:h.description)||L}),H.default.createElement("meta",{property:"og:url",content:`https://${$}${j}`}),H.default.createElement("meta",{property:"og:site_name",content:`https://${$}`}),H.default.createElement("meta",{property:"og:image",content:(null===(y=t.openGraph)||void 0===y?void 0:y.image)||B||R||""}),H.default.createElement("meta",{property:"og:image:secure_url",content:(null===(v=t.openGraph)||void 0===v?void 0:v.image)||B||R}),H.default.createElement("meta",{property:"og:image:width",content:(null===(E=t.openGraph)||void 0===E?void 0:E.imageWidth)&&String(null===(b=t.openGraph)||void 0===b?void 0:b.imageWidth)||I&&String(I)||"1200"}),H.default.createElement("meta",{property:"og:image:height",content:(null===(C=t.openGraph)||void 0===C?void 0:C.imageHeight)&&String(null===(w=t.openGraph)||void 0===w?void 0:w.imageHeight)||_&&String(_)||"630"}),H.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),H.default.createElement("meta",{name:"twitter:title",content:(null===(k=t.twitter)||void 0===k?void 0:k.title)||N}),H.default.createElement("meta",{name:"twitter:description",content:L}),H.default.createElement("meta",{name:"twitter:image",content:(null===(S=t.twitter)||void 0===S?void 0:S.image)||B})),("helloSites"===o?g.FAVICONS[O]||[]:g.FAVICONS.marryBaby).map(((e,t)=>"link"===e.type?H.default.createElement("link",{key:`favicon-${t}`,rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?H.default.createElement("meta",{key:t,name:e.name,content:e.content}):null)),Array.isArray(G)&&c?G.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):G,c&&H.default.createElement("link",{rel:"canonical",href:c}),!t.hasNoAmp&&"vi-VN"!==a&&H.default.createElement("link",{rel:"amphtml",href:`https://${$}${j}${W}?amp=1`}),s&&"undefined"!=typeof window?H.default.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${s}'});`}}):null)},exports.Shadow=({size:e,children:t,style:l,className:n})=>H.default.createElement(a.StyledShadow,{style:l,className:n,"data-shadow-size":e},t),exports.ShareContainer=({url:a,onCopied:l,locale:r,siteType:o})=>{const{t:i}=y.useTranslations(),u=z.getSocialList(a||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(r))),m=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return H.default.createElement(d.StyledShareContainer,null,H.default.createElement(t.Text,{size:"p3",color:s.theme.colors.gray800},i("shareContainer.title")),H.default.createElement("div",{className:"icon-group"},u.map(((e,t)=>H.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${e.name}`,"data-event-label":m},e.icon))),H.default.createElement(n.Button,{theme:o,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:H.default.createElement(We,null),onClick:()=>c.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a),null==l||l()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":m})))},exports.ShareDrawer=a=>{var{open:l,title:r,onClose:o,onCopied:i,onShared:u,url:m,locale:f}=a,g=c.__rest(a,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:p}=y.useTranslations(),h=e.useCallback((()=>c.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m),null==i||i()}))),[m,i]),v=z.getSocialList(m||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(f)));return e.useEffect((()=>{l&&navigator.share&&navigator.share({title:null!=r?r:"Read This Post",url:m}).then((()=>{null==u||u()})).catch((()=>{null==o||o()}))}),[m,r,u,l]),"undefined"!=typeof navigator&&navigator.share?null:H.default.createElement(d.StyledShareDrawer,Object.assign({title:p("share.title"),onClose:o,open:l,placement:"bottom"},g),H.default.createElement("div",{className:"share-container"},H.default.createElement("div",{className:"icon-container"},H.default.createElement(t.Text,{type:"semiBold",size:"s3",color:s.theme.colors.gray600},p("share.title")),H.default.createElement("div",{className:"icon-group"},v.map(((e,t)=>H.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer"},e.icon))))),H.default.createElement("div",{className:"link-container"},H.default.createElement(t.Text,{type:"semiBold",size:"s3",color:s.theme.colors.gray600},p("share.copyLink")),H.default.createElement("div",{className:"input-group"},H.default.createElement(E.Input,{name:"link",size:"md",value:m,isDisabled:!0}),H.default.createElement(n.Button,{size:"md",type:"button",color:"tertiary",icon:H.default.createElement(Ge,null),onClick:h})))))},exports.StatisticCard=({type:e,description:t,value:a,withIcon:l,isInACard:n,cardColor:r,className:o})=>H.default.createElement(d.StyledStatisticContainer,{className:o,"data-size":e,"data-is-in-card":"big"===e&&n,"data-card-color":r},H.default.createElement(d.StyledDescriptionWrapper,null,"small"===e&&H.default.createElement(d.StyledDot$1,{"data-color":r}),t),H.default.createElement(d.StyledStatisticNumberWrapper,{"data-size":e},"small"!==e&&l,a)),exports.SurveyThankyouCard=({thankyou:e,thankyouSubtitle:a,className:l,style:n})=>H.default.createElement(d.StyledSurveyQuestionCard,{className:l,style:n},H.default.createElement("div",{className:"survey-inner-wrapper"},H.default.createElement(d.StyledSurveyThankyouCard,null,H.default.createElement("div",{className:"survey-thankyou-wrapper-inner"},H.default.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},H.default.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:s.theme.colors.primary50}),H.default.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),H.default.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),H.default.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),H.default.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),H.default.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),H.default.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),H.default.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),H.default.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),e&&H.default.createElement(i.Heading,{className:"survey-thankyou-title",tag:"h3"},e),a&&H.default.createElement(t.Text,{className:"survey-thankyou-subtitle",size:"p3"},a))))),exports.THRCardEmbed=({isSide:a,locale:l,thrContent:n,isMobile:r,info:i,inputErrorMessage:c,onFormChange:u,onSubmit:m})=>{var f,p,h;const{t:v}=y.useTranslations(),{getHealthToolLink:E}=L.useHealthToolsCache(l),w=e.useMemo((()=>E(k.HEALTH_TOOL_TYPE.THR)),[E]),[S,T]=e.useState(!1),[N,I]=e.useState("low_intensity"),[_,M]=e.useState("male"),[A,P]=e.useState(60),[z,F]=e.useState({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),j=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],O=[{value:"low_intensity",label:v("targetHeartRate.lowIntensity.title"),image:o.CommonGAssets.getAssetPath("/low.svg"),imageActive:o.CommonGAssets.getAssetPath("/low-active.svg"),content:v("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:v("targetHeartRate.moderateIntensity.title"),image:o.CommonGAssets.getAssetPath("/moderate.svg"),imageActive:o.CommonGAssets.getAssetPath("/moderate-active.svg"),content:v("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:v("targetHeartRate.aerobicZone.title"),image:o.CommonGAssets.getAssetPath("/aerobic.svg"),imageActive:o.CommonGAssets.getAssetPath("/aerobic-active.svg"),content:v("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:v("targetHeartRate.vigorousIntensity.title"),image:o.CommonGAssets.getAssetPath("/vigorous.svg"),imageActive:o.CommonGAssets.getAssetPath("/vigorous-active.svg"),content:v("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:v("targetHeartRate.maximumIntensity.title"),image:o.CommonGAssets.getAssetPath("/maximum.svg"),imageActive:o.CommonGAssets.getAssetPath("/maximum-active.svg"),content:v("targetHeartRate.maximumIntensity.note")}],$=e.useMemo((()=>[{value:"male",label:v("gender.male"),content:H.default.createElement(C.Icon.GenderChooseBoy,null)},{value:"female",label:v("gender.female"),content:H.default.createElement(C.Icon.GenderChooseGirl,null)}]),[]);return e.useEffect((()=>{const e=((new Date).getTime()-new Date(null==i?void 0:i.age).getTime())/1e3;T(e>=567648e3);const t=j.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||j[0];F(t),P(60)}),[null==i?void 0:i.age]),H.default.createElement(d.StyledContainer,{"data-is-side":a},H.default.createElement(d.ToolsBannerCard,{isSide:a,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:H.default.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:v("targetHearRate.heading"),medicalReview:(null===(f=null==n?void 0:n.reviewedBy)||void 0===f?void 0:f.display_name)?H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.white},H.default.createElement("span",{dangerouslySetInnerHTML:{__html:v("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${D.formatUserProfileUrl(null==n?void 0:n.reviewedBy)}"\n >\n ${null===(p=null==n?void 0:n.reviewedBy)||void 0===p?void 0:p.display_name}\n </a>`,date:null==n?void 0:n.reviewedDate})}}),H.default.createElement("span",null)):void 0,isMobile:r}),H.default.createElement(b.Container,null,H.default.createElement(d.StyledContent,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},H.default.createElement(d.StyledRow$1,{"data-is-side":a},H.default.createElement(d.FormControl$1,null,H.default.createElement(d.StyledInput$1,{size:"md",name:"gender",label:v("bmi.selectGender"),CustomInput:H.default.createElement(C.RadioImageGroup,{options:$,value:_,onChange:e=>{M(e),P(60)},className:"bmi--input-radio_gender"}),className:"bmi--input bmi--input-gender"}))),H.default.createElement(d.StyledRow$1,null,H.default.createElement(we,{info:i,locale:l,errorMessage:c,onChange:u})),H.default.createElement("div",{className:"slider-heart-rate"},H.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:s.theme.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},v("targetHeartRate.heartRateInput")),H.default.createElement("div",{className:"slider-outer-wrapper"},H.default.createElement(x.Slider,{containerStyle:{flex:1},min:"male"===_?z.rangeMale:z.rangeFemale,max:200,step:1,value:A,withControl:!0,onChange:P}))),S&&H.default.createElement(d.FormControl$1,null,H.default.createElement(d.StyledActive,null,H.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",fontWeight:"bold",color:s.theme.colors.gray600,marginBottom:"9px"},htmlFor:"gender-selector"},v("targetHeartRate.selectActive")),H.default.createElement("div",{className:"card"},H.default.createElement(Ce,{options:O.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:N,onChange:e=>{I(e)},className:"gender-selector"})),N&&H.default.createElement("div",{className:"note"},H.default.createElement("img",{style:{height:"16px",width:"16px"},src:o.CommonGAssets.getAssetPath("/infoIcon.svg"),alt:""}),H.default.createElement(t.Text,{size:"n1",color:"#595959"},null===(h=O[O.findIndex((e=>e.value==N))||0])||void 0===h?void 0:h.content)),!N&&H.default.createElement("span",{style:{color:"#e64728"}},c.intensity)))),H.default.createElement("div",{style:{display:"flex"}},H.default.createElement(d.StyledButton$1,{size:"lg",onClick:()=>{m(_,N,[A])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${g.domainLocales[l]}/${w}`},v("bmi.submit")))))},exports.Tag=({type:e,children:l,style:n,isInline:r,isSquared:o=!1,className:i,isLight:s,hasMorePadding:d,isLink:c,isSelected:u,textProps:m={size:"sm"}})=>{const f=m.color?{"--text-props-color":m.color}:{};return H.default.createElement(a.StyledTag,{"data-is-squared":o||void 0,"data-tag-type":e,"data-is-light":s||void 0,"data-has-more-padding":d||void 0,"data-is-inline":r||void 0,style:Object.assign(Object.assign({},n),f),className:i,"data-is-selected":u||void 0,"data-is-link":c||void 0,tagType:e,isInline:r,tagHasMorePadding:d,tagIsLight:s,tagIsSquared:o,tagIsALink:c},H.default.createElement(t.Text,Object.assign({},m),l))},exports.TimelineBanner=({content:e,url:a,icon:l,gender:n,className:r,siteType:o})=>{const{t:i}=y.useTranslations();return H.default.createElement(d.StyledTimelineBanner,{className:r,"data-theme":o,"data-gender":n},H.default.createElement("div",{className:"content"},H.default.createElement(t.Text,{size:"p3",color:s.theme.colors.gray800},e),a&&H.default.createElement("a",{className:"read-more",href:a,target:"_blank",rel:"noreferrer"},H.default.createElement("div",null,H.default.createElement(t.Text,{size:"s4",color:s.theme.colors.primaryBase,type:"semiBold"},i("articlePage.readMore"))),H.default.createElement(C.Icon.ArrowRight,{size:20,color:s.theme.colors.primaryBase}))),H.default.createElement("img",{alt:"health-tool-icon",src:l}))},exports.Toggle=({className:e,id:t,onChange:l,checked:n,style:r,label:o})=>H.default.createElement(a.StyledToggle,{className:e,style:r},H.default.createElement("input",{type:"checkbox",id:t,onChange:l,checked:n}),H.default.createElement("label",{htmlFor:t},H.default.createElement(a.StyledToggleIcon,null),o&&H.default.createElement(a.StyledToggleLabel,null,o))),exports.UnderlinedLink=({size:e,isDisabled:t,className:l,link:n,style:r})=>H.default.createElement(a.StyledUnderlinedLink,{className:l,"data-size":e,style:r,"data-disabled":t||void 0},n),exports.Uploader=({type:e,withIcon:t,onFileSelected:l,inputId:r,withElement:o,fileAcceptType:i,multiple:s,value:d,className:c})=>{const u=()=>{var e;null===(e=document.querySelector("#uploader-input-"+r))||void 0===e||e.click()};return H.default.createElement(a.StyledUploader,{className:c},"badge"===e?H.default.createElement(a.StyledElementContainer,{onClick:u,"data-is-attached-to-element":!!o},o,H.default.createElement(a.StyledIconWrapper,{"data-is-attached-to-element":!!o},t)):o?H.default.createElement("div",{onClick:u},o):H.default.createElement(n.Button,{size:"md",color:"secondary",className:"default-button",icon:t,onClick:u},H.default.createElement(a.StyledDefaultButtonContent,null,H.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},H.default.createElement("defs",null,H.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),H.default.createElement("title",null,"upload"),H.default.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),H.default.createElement("input",{id:"uploader-input-"+r,accept:i,multiple:s,type:"file",style:{display:"none"},onChange:e=>{l(e.target.files)},value:d}))},exports.VaccineCard=Re,exports.VaccineDetailPopup=({babyVaccinationRecord:a,onClose:l,vaccineDetail:r,isDetail:o,open:i,siteType:c,onMarkAsInjected:u,onDelInjected:m})=>{const{t:f}=y.useTranslations(),[g,p]=e.useState(0),[h,v]=e.useState(!1),E=[{name:f("babyVaccine.popup.tab.schedule"),dataEventAction:"Click"},{name:f("babyVaccine.popup.tab.detail"),dataEventAction:"Click"},{name:f("babyVaccine.popup.tab.benefits"),dataEventAction:"Click"},{name:f("babyVaccine.popup.tab.contraindication"),dataEventAction:"Click"}];return e.useEffect((()=>{o&&p(1)}),[o]),H.default.createElement(d.StyledModal,{type:"profile",isOpen:i,onClose:l,siteType:c},H.default.createElement("div",{className:"header"},H.default.createElement("div",{className:"title"},H.default.createElement(t.Text,{size:"s2",type:"semiBold"},f("babyVaccine.popup.title")),H.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:l},H.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),H.default.createElement("div",{className:"profile-container"},H.default.createElement(j.Tabs,{style:{fontSize:"14px",lineHeight:"22px",width:"100%",border:"none"},onChange:e=>{p(e)},tabContent:E,initialTab:g}),H.default.createElement(d.StyledTabContent,null,0===g&&H.default.createElement(H.default.Fragment,null,H.default.createElement(Re,{vaccineRecord:a,onMarkAsInjected:()=>u(a),onDelInjected:()=>m(a),isInTimeline:!1}),H.default.createElement("div",{className:"toggle",onChange:()=>{"vaccinated"==a.status?m(a):u(a)}},"vaccinated"===a.status?H.default.createElement(C.Icon.ToggleOn,null):H.default.createElement(C.Icon.ToggleOff,null),H.default.createElement(t.Text,{size:"n1",color:s.theme.colors.gray800},"vaccinated"===a.status?f("babyVaccine.vaccineCard.injected"):f("babyVaccine.vaccineCard.markAsInjected"))),H.default.createElement(F.DatePicker,{style:{width:"100%"},label:H.default.createElement(t.Text,{as:"label",size:"s5",type:"semiBold",color:s.theme.colors.gray600},f("babyVaccine.popup.checkbox.suggestedDate")),onChange:()=>null,excludeDate:e=>W.default(e).isAfter(W.default())}),H.default.createElement(w.Checkbox,{label:H.default.createElement(t.Text,{as:"label",size:"s5",type:"semiBold",color:s.theme.colors.gray600},f("babyVaccine.popup.input.suggestedDate")),name:"check",checked:h,value:"check",onChange:()=>v(!h)})),1===g&&H.default.createElement(H.default.Fragment,null,H.default.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:r.detail}})),2===g&&H.default.createElement(H.default.Fragment,null," ",H.default.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:r.benefits}})),3===g&&H.default.createElement(H.default.Fragment,null,H.default.createElement("span",{className:"description",dangerouslySetInnerHTML:{__html:r.contraindications}})))),H.default.createElement(n.Button,{style:{width:"100%",marginTop:12},theme:c,size:"lg",color:"primary"},f("babyVaccine.popup.button.submit")))},exports.index=ue,exports.index$1=ge;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-cb690bef.js"),t=require("react"),l=require("./gAssets.js"),r=require("./index.styled-4eecded5.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(t);exports.Modal=t=>{var{title:s}=t,n=e.__rest(t,["title"]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(r.StyledModal,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},n,{withCloseButton:!1,title:n.withCloseButton&&a.default.createElement(a.default.Fragment,null,s,a.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./Onboarding-b479219e.js"),o=require("./isProduction-f84dd7e2.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],I=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var r;exports.QUERY_HEALTH_TOOL=void 0,(r=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",r.gender="gndr",r.age="ge",r.slug="slug",r.resultId="resultId",r.bmr="mr",r.height="gt",r.weight="wght",r.source="surc",r.type="tp",r.startDate="sd",r.additional="tnl",r.week="wk",r.twins="twn",r.weightBefore="wb",r.yourself="yrslf",r.intensity="sy",r.rate="rt",r.method="mthd",r.day="dy",r.pwg="pwg",r.cycle="le",r.period="prd",r.access_token="tkn",r.name="nm",r.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,CARE_LOCALES:c,CARE_BOOKING_LOCALES:I,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=require("./tslib.es6-cb690bef.js");function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=e(require("react")),n="xzO2I0N";exports.Heading=e=>{var{as:s,tag:i,className:r,children:c,title:l,color:o,style:d,fontWeight:g,dataEventCategory:v,dataEventAction:b,dataEventLabel:u}=e,f=t.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const y=s||i;return a.default.createElement(y,Object.assign({title:l,style:Object.assign(Object.assign({},o?{"--custom-heading-color":o}:void 0),d),"data-tag":i,"data-font-weight":g||void 0,"data-event-category":v,"data-event-action":b,"data-event-label":u,className:`${n} ${r||""}`},f),c)};
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-980141e9.js"),t=require("./index-702d2f27.js"),r=require("./index-8fddd03f.js"),o=require("./index-fc40c9d0.js"),a=require("./index-178a694b.js"),i=require("./index-62cac9a6.js"),s=require("./index.styled-da26abe1.js"),n=require("./index-fb65c87a.js"),l=require("./index.styled-38bd8957.js"),p=require("./index-aeea420e.js"),C=require("./index.styled-77b969ab.js"),d=require("./index-03b58356.js"),x=require("./index-50f5a6cd.js"),u=require("./index-4d6932de.js"),c=require("./index-1ecd880c.js"),m=require("./index-444eee4a.js"),g=require("./dataTransform-f19c1617.js"),h=require("./index-19064ad7.js"),L=require("./footer.js"),f=require("./useTranslations-7bb84bd7.js"),b=require("./useScrollbarSize-220a2ce3.js"),P=require("./useRafState-9cd628f0.js"),v=require("./useHealthToolCache-3f4dc66a.js"),w=require("./useIsInit-b290676c.js"),E=require("./useOutsideClick-e4b4783f.js"),S=require("./useUniqueId-f2e50bd6.js"),T=require("./translationsProvider-d0f24f1c.js"),q=require("./translationsContext-0e066585.js"),M=require("./types-5df2a81a.js"),B=require("./index.styled-431f1caa.js"),D=require("./types-d10baf2e.js"),j=require("./constants-81475620.js"),y=require("./localizeNumberFormat-3d8dd0e3.js"),k=require("./screenSizeContext-4f7042b6.js"),I=require("./cookieHelper-c871b460.js"),R=require("react");require("styled-components");var A=require("./theme-c812af69.js"),O=require("./dataTransform-68517294.js"),N=require("./routing-c02011e8.js"),H=require("./utils-daf19904.js"),F=require("./getDynamicHealthTool-407de63f.js"),Z=require("./getSocialList-5d162a85.js"),U=require("./Vietnam-48e12311.js"),G=require("./Visible-f3415620.js");function V(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./Locale-a4f9d8f6.js"),require("./isProduction-2a4d042f.js"),require("./gAssets.js"),require("./tslib.es6-09b9cf36.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("date-fns"),require("@mantine/core"),require("./index.styled-8fe3cbb8.js"),require("./index-857fa6cb.js"),require("./index-6419e3dc.js"),require("@mantine/hooks"),require("./index-92ea35de.js"),require("react-hook-form"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("@mantine/dates"),require("./core-1ddff0e2.js"),require("./normalizeLink-f5ed8bd7.js"),require("string-format"),require("lodash/debounce"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("./index.styled-1f82603f.js"),require("./index-c2ef36dd.js"),require("@mantine/carousel"),require("innertext"),require("react-contenteditable"),require("dayjs/plugin/relativeTime"),require("./index-5afdfa27.js"),require("./index.styled-66045dd3.js"),require("slugify"),require("react-loading-skeleton"),require("lodash/shuffle");var W=V(R);exports.Types=e.index,exports.Constants=t.index,exports.Alert=r.Alert,exports.ArticleCard=r.ArticleCard,exports.BMICardEmbed=r.BMICardEmbed,exports.BMRCardEmbed=r.BMRCardEmbed,exports.BabyGrowthCardEmbed=r.BabyGrowthCardEmbed,exports.BabyPoopEmbed=r.BabyPoopEmbed,exports.Badge=r.Badge,exports.BorderHeading=r.BorderHeading,exports.Breadcrumbs=r.Breadcrumbs,exports.Carousel=r.Carousel,exports.CategoryCard=r.CategoryCard,exports.Checkbox=r.Checkbox,exports.CheckboxGroup=r.CheckboxGroup,exports.CookieAcceptConfirm=r.CookieAcceptConfirm,exports.DateRangePicker=r.DateRangePicker,exports.DueDateCardEmbed=r.DueDateCardEmbed,exports.FileDropdown=r.FileDropdown,exports.FloatButtonGroup=r.FloatButtonGroup,exports.Grid=r.Grid,exports.IconText=r.IconText,exports.Immunization=r.Immunization,exports.OvulationCardEmbed=r.OvulationCardEmbed,exports.PWGCardEmbed=r.PWGCardEmbed,exports.Pagination=r.Pagination,exports.Progress=r.Progress,exports.ProgressBar=r.ProgressBar,exports.RateStars=r.RateStars,exports.RecordsByAgeGroup=r.RecordsByAgeGroup,exports.ScrollList=r.ScrollList,exports.SeoHead=r.SeoHead,exports.Shadow=r.Shadow,exports.ShareContainer=r.ShareContainer,exports.ShareDrawer=r.ShareDrawer,exports.SideMenu=r.index,exports.StatisticCard=r.StatisticCard,exports.SurveyThankyouCard=r.SurveyThankyouCard,exports.THRCardEmbed=r.THRCardEmbed,exports.Table=r.index$1,exports.Tag=r.Tag,exports.TimelineBanner=r.TimelineBanner,exports.Toggle=r.Toggle,exports.UnderlinedLink=r.UnderlinedLink,exports.Uploader=r.Uploader,exports.VaccineCard=r.VaccineCard,exports.VaccineDetailPopup=r.VaccineDetailPopup,exports.Avatar=o.Avatar,exports.Flag=o.Flag,exports.LanguageSwitcher=o.LanguageSwitcher,exports.NavigationLogoutPopup=o.NavigationLogoutPopup,exports.NavigationProfileButton=o.NavigationProfileButton,exports.NavigationV2=o.NavigationV2,exports.ProfilePopup=o.ProfilePopup,exports.UserProfileNavigation=o.UserProfileNavigation,exports.UserProfileNavigationHeader=o.NavHeader,exports.UserProfileNavigationStats=o.UserStats,exports.getNavMenuContent=o.getNavMenuContent,exports.getNavMenuContentWithCache=o.getNavMenuContentWithCache,exports.Button=a.Button,exports.AuthorBadge=i.AuthorBadge,exports.BtnChoice=i.BtnChoice,exports.Divider=i.Divider,exports.Tabs=i.Tabs,exports.Heading=s.Heading,exports.Menu=s.Menu,exports.PureInput=s.PureInput,exports.TextArea=s.TextArea,exports.TextDivider=s.TextDivider,exports.Input=n.Input,exports.Label=l.Label,exports.Logo=p.Logo,exports.DatePicker=C.DatePicker,exports.DoctorInfo=C.DoctorInfo,exports.Dropdown=C.Dropdown,exports.MobileBottomNavigation=C.MobileBottomNavigation,exports.MobileBottomNavigationIcon=C.MobileBottomNavigationIcon,exports.Radio=C.Radio,exports.RadioGroup=C.RadioGroup,exports.SurveyQuestionCard=C.SurveyQuestionCard,exports.ToolsBannerCard=C.ToolsBannerCard,exports.Text=d.Text,exports.Container=x.Container,exports.Drawer=u.Drawer,exports.Icon=u.Icon,exports.Modal=u.Modal,exports.RadioImageGroup=u.RadioImageGroup,exports.NewBabyProfileRadio=c.NewBabyProfileRadio,exports.CustomReferenceDot=m.CustomReferenceDot,exports.Popup=g.Popup,exports.TogetherDataTransforms=g.dataTransform,exports.PillCarousel=h.PillCarousel,exports.Footer=L.Footer,exports.useTranslations=f.useTranslations,exports.MEASURE_ELEMENT_CLASS=b.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=b.useScrollbarSize,exports.useFbDataLayer=P.useFbDataLayer,exports.usePrevious=P.usePrevious,exports.useRafState=P.useRafState,exports.useHealthToolsCache=v.useHealthToolsCache,exports.useIsInit=w.useIsInit,exports.initSharedOutSideClickListener=E.initSharedOutSideClickListener,exports.useOutsideClick=E.useOutsideClick,exports.useSharedOutsideClick=E.useSharedOutsideClick,exports.useInitialMount=S.useInitialMount,exports.useUniqueId=S.useUniqueId,exports.TranslationsProvider=T.TranslationsProvider,exports.translationsMap=T.translationsMap,exports.TranslationsContext=q.TranslationsContext,exports.defaultTranslations=q.defaultTranslations,exports.CardAuthor=M.CardAuthor,exports.CardLink=M.CardLink,exports.CardPost=M.CardPost,exports.CardPostPopoverMore=M.CardPostPopoverMore,exports.CardReactions=M.CardReactions,exports.CardReply=M.CardReply,exports.CardReplyPopover=M.CardReplyPopover,exports.Close=M.Close,exports.CreateNewPostContent=M.CreateNewPostContent,exports.CreatePostDescription=M.CreatePostDescription,exports.CreatePostTitle=M.CreatePostTitle,exports.ImagePreviewPopup=M.ImagePreviewPopup,exports.InputCommentBar=M.InputCommentBar,exports.LabelPin=M.LabelPin,exports.LabelSortPin=M.LabelSortPin,exports.LabelSorting=M.LabelSorting,exports.Loading=M.Loading,exports.PopoverMenu=M.PopoverMenu,exports.PopupDanger=M.PopupDanger,exports.PopupDoctor=M.PopupDoctor,exports.PopupExpert=M.PopupExpert,exports.PopupFrame=M.PopupFrame,exports.PopupHospital=M.PopupHospital,exports.PostContent=M.PostContent,exports.PostImagePreview=M.PostImagePreview,exports.PostSingleImageViewPopup=M.PostSingleImageViewPopup,exports.ProfileDetail=M.ProfileDetail,exports.ProfileDetailModal=M.ProfileDetailModal,exports.ShareBox=M.ShareBox,exports.SharePopup=M.SharePopup,exports.SkipQuestionOfExpertBtn=M.SkipQuestionOfExpertBtn,exports.SocialLinkPreview=M.SocialLinkPreview,exports.SourceList=M.SourceList,exports.SubmitReportForm=M.SubmitReportForm,Object.defineProperty(exports,"TabNameInProfileDetail",{enumerable:!0,get:function(){return M.TabName}}),exports.TagTopic=M.TagTopic,exports.TogetherAuthConfigContext=M.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=M.TogetherAuthConfigContextProvider,exports.TogetherTypes=M.types,exports.TopicSelectList=M.TopicSelectList,exports.VerifiedTag=M.VerifiedTag,exports.useTogetherAuthRequiredAction=M.useTogetherAuthRequiredAction,exports.DefaultComponentGlobalContextData=B.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return B.GlobalData}}),exports.TogetherComponentGlobalContext=B.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=B.TogetherComponentGlobalContextProvider,exports.TogetherConstants=B.constants,exports.UserAvatar=B.UserAvatar,exports.BookingSearchBar=D.BookingSearchBar,exports.CareTypes=D.types,exports.CareConstants=j.constants,exports.ageGenerate=y.ageGenerate,exports.convertLocalizedStringToNumber=y.convertLocalizedStringToNumber,exports.localizeNumberFormat=y.localizeNumberFormat,exports.ScreenSizeContext=k.ScreenSizeContext,exports.ScreenSizeContextProvider=k.ScreenSizeContextProvider,exports.fadeIn=k.fadeIn,exports.getWindowSizeGroups=k.getWindowSizeGroups,exports.slideInDown=k.slideInDown,exports.slideInLeft=k.slideInLeft,exports.slideInRight=k.slideInRight,exports.slideInUp=k.slideInUp,exports.slideOutDown=k.slideOutDown,exports.slideOutLeft=k.slideOutLeft,exports.slideOutRight=k.slideOutRight,exports.slideOutUp=k.slideOutUp,exports.deleteCookie=I.deleteCookie,exports.getCookie=I.getCookie,exports.setCookie=I.setCookie,exports.MBTheme=A.MBTheme,exports.theme=A.theme,exports.abbreviateNumber=O.abbreviateNumber,exports.formatPill=O.formatPill,exports.getCareApiDomain=N.getCareApiDomain,exports.getCurrentBaseUrl=N.getCurrentBaseUrl,exports.getCurrentSsoUrl=N.getCurrentSsoUrl,exports.getDiscoverApiDomain=N.getDiscoverApiDomain,exports.getTogetherApiDomain=N.getTogetherApiDomain,exports.Breakpoints=H.Breakpoints,exports.MediaQueries=H.MediaQueries,exports.formatUrlWithPageParam=H.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=H.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=H.getPopupWrapperDom,exports.getWrapperDomWithSelector=H.getWrapperDomWithSelector,exports.makeParams=H.makeParams,exports.safeEncodeURI=H.safeEncodeURI,exports.startCase=H.startCase,exports.toggleNoScroll=H.toggleNoScroll,exports.formatHealthTool=F.formatHealthTool,exports.getDynamicHealthTool=F.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=F.getDynamicHealthToolWithCache,exports.getSocialList=Z.getSocialList,exports.Cambodia=U.Cambodia,exports.CaretDown=U.CaretDown,exports.India=U.India,exports.Indonesia=U.Indonesia,exports.Malaysia=U.Malaysia,exports.Myanmar=U.Myanmar,exports.Phillipines=U.Phillipines,exports.Taiwan=U.Taiwan,exports.Thailand=U.Thailand,exports.Vietnam=U.Vietnam,exports.Visible=G.Visible,exports.CheckCircle=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.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"}),W.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"})),exports.ChevronDown=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"})),exports.ChevronLeft=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.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"})),exports.ChevronRight=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.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"})),exports.ChevronUp=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.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"})),exports.Circle=e=>W.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),W.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),exports.EmailCheck=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),W.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"}),W.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),W.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}),W.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"}),W.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"}),W.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),W.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"}),W.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"})),exports.EmailFail=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),W.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"}),W.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),W.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}),W.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"}),W.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"}),W.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),W.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"}),W.createElement("g",{clipPath:"url(#clip0_1176_26159)"},W.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"})),W.createElement("defs",null,W.createElement("clipPath",{id:"clip0_1176_26159"},W.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),exports.Facebook=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),W.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"}),W.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"})),exports.Google=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),W.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"}),W.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"}),W.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"}),W.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"})),exports.InVisible=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),W.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"})),exports.Spinning=e=>W.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),W.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),W.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},W.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"})),W.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)"},W.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-388df1e8.js"),t=require("./index-e27e8676.js"),r=require("./index-df6cb91f.js"),o=require("./index-a7fadf8e.js"),a=require("./index-0a61907b.js"),i=require("./index-b54f49fc.js"),s=require("./index-f61308fe.js"),n=require("./index-cf24fd82.js"),p=require("./index.styled-9bb1672d.js"),l=require("./index-10bacae1.js"),C=require("./index.styled-f24c36f7.js"),d=require("./index.styled-7e9462f7.js"),x=require("./index-3c3ac2c7.js"),u=require("./index-0bac5baf.js"),c=require("./index-4c35fa12.js"),m=require("./index-5c1f6914.js"),g=require("./index-ad2d49c8.js"),h=require("./dataTransform-b8d745de.js"),L=require("./index-021e0d1e.js"),f=require("./footer.js"),b=require("./useTranslations-5f6083e4.js"),P=require("./useScrollbarSize-250dc575.js"),v=require("./useRafState-d103c212.js"),w=require("./useHealthToolCache-566ddd40.js"),E=require("./useIsInit-1214075c.js"),S=require("./useOutsideClick-48be5d45.js"),T=require("./useUniqueId-f4386af9.js"),q=require("./translationsProvider-50aa6903.js"),M=require("./translationsContext-66459815.js"),B=require("./types-8be20c67.js"),D=require("./index.styled-51ec177c.js"),j=require("./types-7397ed45.js"),y=require("./constants-a6aac2ca.js"),k=require("./localizeNumberFormat-6d0123d2.js"),I=require("./screenSizeContext-ca33c753.js"),R=require("./cookieHelper-338c2be0.js"),A=require("react");require("styled-components");var O=require("./theme-60cc7a9c.js"),N=require("./dataTransform-82684814.js"),H=require("./routing-28dbb192.js"),F=require("./utils-f8ce6afc.js"),Z=require("./getDynamicHealthTool-62933f89.js"),U=require("./getSocialList-0c688ab4.js"),G=require("./Vietnam-585b1527.js"),V=require("./Visible-767ce2ab.js");function W(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./Onboarding-b479219e.js"),require("./isProduction-f84dd7e2.js"),require("./gAssets.js"),require("./tslib.es6-cb690bef.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("date-fns"),require("@mantine/core"),require("./index.styled-4c059ef2.js"),require("./index-3050ea27.js"),require("./index-c189e76c.js"),require("@mantine/hooks"),require("./index-5f535a5f.js"),require("react-hook-form"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("@mantine/dates"),require("./core-9ac2af30.js"),require("./normalizeLink-419034bd.js"),require("string-format"),require("lodash/debounce"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("react-dom"),require("./index.styled-09127648.js"),require("./index-af0d8341.js"),require("@mantine/carousel"),require("innertext"),require("react-contenteditable"),require("dayjs/plugin/relativeTime"),require("./index-e12d4d7d.js"),require("./index.styled-4eecded5.js"),require("slugify"),require("react-loading-skeleton"),require("lodash/shuffle");var z=W(A);exports.Types=e.index,exports.Constants=t.index,exports.Alert=r.Alert,exports.ArticleCard=r.ArticleCard,exports.BMICardEmbed=r.BMICardEmbed,exports.BMRCardEmbed=r.BMRCardEmbed,exports.BabyGrowthCardEmbed=r.BabyGrowthCardEmbed,exports.BabyPoopEmbed=r.BabyPoopEmbed,exports.Badge=r.Badge,exports.BorderHeading=r.BorderHeading,exports.Breadcrumbs=r.Breadcrumbs,exports.Carousel=r.Carousel,exports.CategoryCard=r.CategoryCard,exports.Checkbox=r.Checkbox,exports.CheckboxGroup=r.CheckboxGroup,exports.CookieAcceptConfirm=r.CookieAcceptConfirm,exports.DateRangePicker=r.DateRangePicker,exports.DueDateCardEmbed=r.DueDateCardEmbed,exports.FileDropdown=r.FileDropdown,exports.FloatButtonGroup=r.FloatButtonGroup,exports.Grid=r.Grid,exports.IconText=r.IconText,exports.Immunization=r.Immunization,exports.OvulationCardEmbed=r.OvulationCardEmbed,exports.PWGCardEmbed=r.PWGCardEmbed,exports.Pagination=r.Pagination,exports.Progress=r.Progress,exports.ProgressBar=r.ProgressBar,exports.RateStars=r.RateStars,exports.RecordsByAgeGroup=r.RecordsByAgeGroup,exports.ScrollList=r.ScrollList,exports.SeoHead=r.SeoHead,exports.Shadow=r.Shadow,exports.ShareContainer=r.ShareContainer,exports.ShareDrawer=r.ShareDrawer,exports.SideMenu=r.index,exports.StatisticCard=r.StatisticCard,exports.SurveyThankyouCard=r.SurveyThankyouCard,exports.THRCardEmbed=r.THRCardEmbed,exports.Table=r.index$1,exports.Tag=r.Tag,exports.TimelineBanner=r.TimelineBanner,exports.Toggle=r.Toggle,exports.UnderlinedLink=r.UnderlinedLink,exports.Uploader=r.Uploader,exports.VaccineCard=r.VaccineCard,exports.VaccineDetailPopup=r.VaccineDetailPopup,exports.Avatar=o.Avatar,exports.Flag=o.Flag,exports.LanguageSwitcher=o.LanguageSwitcher,exports.NavigationLogoutPopup=o.NavigationLogoutPopup,exports.NavigationProfileButton=o.NavigationProfileButton,exports.NavigationV2=o.NavigationV2,exports.ProfilePopup=o.ProfilePopup,exports.UserProfileNavigation=o.UserProfileNavigation,exports.UserProfileNavigationHeader=o.NavHeader,exports.UserProfileNavigationStats=o.UserStats,exports.getNavMenuContent=o.getNavMenuContent,exports.getNavMenuContentWithCache=o.getNavMenuContentWithCache,exports.Button=a.Button,exports.AuthorBadge=i.AuthorBadge,exports.BtnChoice=i.BtnChoice,exports.Divider=i.Divider,exports.Tabs=i.Tabs,exports.Heading=s.Heading,exports.Input=n.Input,exports.Label=p.Label,exports.Logo=l.Logo,exports.Menu=C.Menu,exports.PureInput=C.PureInput,exports.TextArea=C.TextArea,exports.TextDivider=C.TextDivider,exports.DatePicker=d.DatePicker,exports.DoctorInfo=d.DoctorInfo,exports.Dropdown=d.Dropdown,exports.MobileBottomNavigation=d.MobileBottomNavigation,exports.MobileBottomNavigationIcon=d.MobileBottomNavigationIcon,exports.Radio=d.Radio,exports.RadioGroup=d.RadioGroup,exports.SurveyQuestionCard=d.SurveyQuestionCard,exports.ToolsBannerCard=d.ToolsBannerCard,exports.Text=x.Text,exports.Container=u.Container,exports.Drawer=c.Drawer,exports.Icon=c.Icon,exports.Modal=c.Modal,exports.RadioImageGroup=c.RadioImageGroup,exports.NewBabyProfileRadio=m.NewBabyProfileRadio,exports.CustomReferenceDot=g.CustomReferenceDot,exports.Popup=h.Popup,exports.TogetherDataTransforms=h.dataTransform,exports.PillCarousel=L.PillCarousel,exports.Footer=f.Footer,exports.useTranslations=b.useTranslations,exports.MEASURE_ELEMENT_CLASS=P.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=P.useScrollbarSize,exports.useFbDataLayer=v.useFbDataLayer,exports.usePrevious=v.usePrevious,exports.useRafState=v.useRafState,exports.useHealthToolsCache=w.useHealthToolsCache,exports.useIsInit=E.useIsInit,exports.initSharedOutSideClickListener=S.initSharedOutSideClickListener,exports.useOutsideClick=S.useOutsideClick,exports.useSharedOutsideClick=S.useSharedOutsideClick,exports.useInitialMount=T.useInitialMount,exports.useUniqueId=T.useUniqueId,exports.TranslationsProvider=q.TranslationsProvider,exports.translationsMap=q.translationsMap,exports.TranslationsContext=M.TranslationsContext,exports.defaultTranslations=M.defaultTranslations,exports.CardAuthor=B.CardAuthor,exports.CardLink=B.CardLink,exports.CardPost=B.CardPost,exports.CardPostPopoverMore=B.CardPostPopoverMore,exports.CardReactions=B.CardReactions,exports.CardReply=B.CardReply,exports.CardReplyPopover=B.CardReplyPopover,exports.Close=B.Close,exports.CreateNewPostContent=B.CreateNewPostContent,exports.CreatePostDescription=B.CreatePostDescription,exports.CreatePostTitle=B.CreatePostTitle,exports.ImagePreviewPopup=B.ImagePreviewPopup,exports.InputCommentBar=B.InputCommentBar,exports.LabelPin=B.LabelPin,exports.LabelSortPin=B.LabelSortPin,exports.LabelSorting=B.LabelSorting,exports.Loading=B.Loading,exports.PopoverMenu=B.PopoverMenu,exports.PopupDanger=B.PopupDanger,exports.PopupDoctor=B.PopupDoctor,exports.PopupExpert=B.PopupExpert,exports.PopupFrame=B.PopupFrame,exports.PopupHospital=B.PopupHospital,exports.PostContent=B.PostContent,exports.PostImagePreview=B.PostImagePreview,exports.PostSingleImageViewPopup=B.PostSingleImageViewPopup,exports.ProfileDetail=B.ProfileDetail,exports.ProfileDetailModal=B.ProfileDetailModal,exports.ShareBox=B.ShareBox,exports.SharePopup=B.SharePopup,exports.SkipQuestionOfExpertBtn=B.SkipQuestionOfExpertBtn,exports.SocialLinkPreview=B.SocialLinkPreview,exports.SourceList=B.SourceList,exports.SubmitReportForm=B.SubmitReportForm,Object.defineProperty(exports,"TabNameInProfileDetail",{enumerable:!0,get:function(){return B.TabName}}),exports.TagTopic=B.TagTopic,exports.TogetherAuthConfigContext=B.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=B.TogetherAuthConfigContextProvider,exports.TogetherTypes=B.types,exports.TopicSelectList=B.TopicSelectList,exports.VerifiedTag=B.VerifiedTag,exports.useTogetherAuthRequiredAction=B.useTogetherAuthRequiredAction,exports.DefaultComponentGlobalContextData=D.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return D.GlobalData}}),exports.TogetherComponentGlobalContext=D.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=D.TogetherComponentGlobalContextProvider,exports.TogetherConstants=D.constants,exports.UserAvatar=D.UserAvatar,exports.BookingSearchBar=j.BookingSearchBar,exports.CareTypes=j.types,exports.CareConstants=y.constants,exports.ageGenerate=k.ageGenerate,exports.convertLocalizedStringToNumber=k.convertLocalizedStringToNumber,exports.localizeNumberFormat=k.localizeNumberFormat,exports.ScreenSizeContext=I.ScreenSizeContext,exports.ScreenSizeContextProvider=I.ScreenSizeContextProvider,exports.fadeIn=I.fadeIn,exports.getWindowSizeGroups=I.getWindowSizeGroups,exports.slideInDown=I.slideInDown,exports.slideInLeft=I.slideInLeft,exports.slideInRight=I.slideInRight,exports.slideInUp=I.slideInUp,exports.slideOutDown=I.slideOutDown,exports.slideOutLeft=I.slideOutLeft,exports.slideOutRight=I.slideOutRight,exports.slideOutUp=I.slideOutUp,exports.deleteCookie=R.deleteCookie,exports.getCookie=R.getCookie,exports.setCookie=R.setCookie,exports.MBTheme=O.MBTheme,exports.theme=O.theme,exports.abbreviateNumber=N.abbreviateNumber,exports.formatPill=N.formatPill,exports.getCareApiDomain=H.getCareApiDomain,exports.getCurrentBaseUrl=H.getCurrentBaseUrl,exports.getCurrentSsoUrl=H.getCurrentSsoUrl,exports.getDiscoverApiDomain=H.getDiscoverApiDomain,exports.getTogetherApiDomain=H.getTogetherApiDomain,exports.Breakpoints=F.Breakpoints,exports.MediaQueries=F.MediaQueries,exports.formatUrlWithPageParam=F.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=F.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=F.getPopupWrapperDom,exports.getWrapperDomWithSelector=F.getWrapperDomWithSelector,exports.makeParams=F.makeParams,exports.safeEncodeURI=F.safeEncodeURI,exports.startCase=F.startCase,exports.toggleNoScroll=F.toggleNoScroll,exports.formatHealthTool=Z.formatHealthTool,exports.getDynamicHealthTool=Z.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=Z.getDynamicHealthToolWithCache,exports.getSocialList=U.getSocialList,exports.Cambodia=G.Cambodia,exports.CaretDown=G.CaretDown,exports.India=G.India,exports.Indonesia=G.Indonesia,exports.Malaysia=G.Malaysia,exports.Myanmar=G.Myanmar,exports.Phillipines=G.Phillipines,exports.Taiwan=G.Taiwan,exports.Thailand=G.Thailand,exports.Vietnam=G.Vietnam,exports.Visible=V.Visible,exports.CheckCircle=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.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"}),z.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"})),exports.ChevronDown=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"})),exports.ChevronLeft=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.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"})),exports.ChevronRight=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.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"})),exports.ChevronUp=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.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"})),exports.Circle=e=>z.createElement("svg",Object.assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),z.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5})),exports.EmailCheck=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z.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"}),z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),z.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}),z.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"}),z.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"}),z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),z.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"}),z.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"})),exports.EmailFail=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z.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"}),z.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),z.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}),z.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"}),z.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"}),z.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),z.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"}),z.createElement("g",{clipPath:"url(#clip0_1176_26159)"},z.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"})),z.createElement("defs",null,z.createElement("clipPath",{id:"clip0_1176_26159"},z.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"})))),exports.Facebook=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z.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"}),z.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"})),exports.Google=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z.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"}),z.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"}),z.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"}),z.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"})),exports.InVisible=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),z.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"})),exports.Spinning=e=>z.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),z.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},z.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"})),z.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)"},z.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})));
|