@hhgtech/hhg-components 1.28.32 → 1.28.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +0 -1
- package/build/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.styled.d.ts +0 -5
- package/build/care.js +1 -1
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +0 -1
- package/build/components/molecules/bmiForm/index.styled.d.ts +0 -1
- package/build/components/molecules/bmrForm/index.styled.d.ts +0 -1
- package/build/components/molecules/thrForm/index.styled.d.ts +0 -2
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +0 -8
- package/build/components/molecules/weightGainForm/index.styled.d.ts +0 -14
- package/build/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +0 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +0 -2
- package/build/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +0 -2
- package/build/components/navigationV2/components/molecules/menuEcomList/index.styled.d.ts +0 -1
- package/build/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +0 -1
- package/build/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +3 -23
- package/build/components/navigationV2/constants.d.ts +0 -28
- package/build/components/navigationV2/index.styled.d.ts +0 -2
- package/build/components/navigationV2/utils.d.ts +1 -21
- package/build/components/vaccination/vaccineCard/index.styled.d.ts +0 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +0 -4
- package/build/components.js +1 -1
- package/build/{constants-46a78a26.js → constants-40d8e654.js} +1 -1
- package/build/{constants-f296dce7.js → constants-e39882d7.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-3214ed3a.js → core-1e09b2f5.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- package/build/esm/cache.js +1 -1
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +0 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/searchSpecialty/index.styled.d.ts +0 -5
- package/build/esm/care.js +1 -1
- package/build/esm/components/babyGrowth/babyGrowthForm/index.styled.d.ts +0 -1
- package/build/esm/components/molecules/bmiForm/index.styled.d.ts +0 -1
- package/build/esm/components/molecules/bmrForm/index.styled.d.ts +0 -1
- package/build/esm/components/molecules/thrForm/index.styled.d.ts +0 -2
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +0 -8
- package/build/esm/components/molecules/weightGainForm/index.styled.d.ts +0 -14
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +0 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +0 -2
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +0 -2
- package/build/esm/components/navigationV2/components/molecules/menuEcomList/index.styled.d.ts +0 -1
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +0 -1
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +3 -23
- package/build/esm/components/navigationV2/constants.d.ts +0 -28
- package/build/esm/components/navigationV2/index.styled.d.ts +0 -2
- package/build/esm/components/navigationV2/utils.d.ts +1 -21
- package/build/esm/components/vaccination/vaccineCard/index.styled.d.ts +0 -2
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +0 -4
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-824d6eab.js → constants-9cbd1b11.js} +1 -1
- package/build/esm/{constants-0aedebdd.js → constants-eaf6c51c.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-d38e4a94.js → core-887f9a5d.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-f08feeaf.js +1 -0
- package/build/esm/{getSocialList-c4481080.js → getSocialList-48723f32.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/index-02bce746.js +1 -0
- package/build/esm/{index-d5e2281f.js → index-0bc6ed09.js} +1 -1
- package/build/esm/index-0e19b1ab.js +1 -0
- package/build/esm/{index-f9199d94.js → index-2f08d8b2.js} +1 -1
- package/build/esm/{index-acf707dc.js → index-301f2dee.js} +1 -1
- package/build/esm/{index-8f74efa8.js → index-3182f4c8.js} +180 -588
- package/build/esm/{index-dbd4d0d0.js → index-40c22fc9.js} +1 -1
- package/build/esm/{index-433ed9d1.js → index-456e07e9.js} +1 -1
- package/build/esm/{index-bf9e0b72.js → index-5856050d.js} +1 -1
- package/build/esm/{index-ef4add24.js → index-67f13f4c.js} +1 -1
- package/build/esm/{index-2ed1a0df.js → index-68163270.js} +1 -1
- package/build/esm/{index-45df75aa.js → index-76f80354.js} +1 -1
- package/build/esm/{index-1fce3c4b.js → index-79f993e1.js} +1 -1
- package/build/esm/{index-14a32878.js → index-7e96cd7e.js} +1 -1
- package/build/esm/{index-b7b7c082.js → index-905a68a4.js} +1 -1
- package/build/esm/{index-72df3a4a.js → index-a0ed112f.js} +1 -1
- package/build/esm/{index-ea1fd97a.js → index-b7b39aa3.js} +1 -1
- package/build/esm/{index-7e7e0b00.js → index-c8b8773c.js} +1 -1
- package/build/esm/{index-3b95d129.js → index-ca22339d.js} +5 -5
- package/build/esm/{index-a8cbe2d5.js → index-cca1a97c.js} +1 -1
- package/build/esm/{index-eecda03f.js → index-dcd77e56.js} +1 -1
- package/build/esm/{index-210a5fde.js → index-f851ab1f.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-e4fb4eb9.js → index.styled-80c60a9e.js} +74 -400
- package/build/esm/index.styled-a3e34614.js +50 -0
- package/build/esm/{index.styled-75ef0353.js → index.styled-d8252a1f.js} +19 -74
- package/build/esm/{index.styled-2687f379.js → index.styled-f34b713c.js} +1 -1
- package/build/esm/{index.styles-6e0ab079.js → index.styles-5d09f3e9.js} +2 -2
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-f346aa75.js → routing-7acb688f.js} +1 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/constants.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +0 -1
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/constants.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +0 -1
- package/build/esm/subot.js +456 -456
- package/build/esm/together/components/molecules/popupDoctor/index.styled.d.ts +0 -3
- package/build/esm/together/components/molecules/popupExpert/index.styled.d.ts +0 -2
- package/build/esm/together/components/molecules/popupHospital/index.styled.d.ts +0 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{types-b9d49c5a.js → types-41075c37.js} +1 -1
- package/build/esm/{types-fe5cbd4d.js → types-87783fd3.js} +2 -5
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-cf913417.js → useCategory-dfd51998.js} +1 -1
- package/build/esm/useHealthToolCache-94b80796.js +1 -0
- package/build/esm/usePlacesAutocomplete-c740d776.js +1 -0
- package/build/esm/{useRafState-8b208a24.js → useRafState-2ebb1185.js} +1 -1
- package/build/esm/{useTranslations-ddcfe90d.js → useTranslations-1416cdcc.js} +1 -1
- package/build/esm/{utils-e02f4d1b.js → utils-0e7436d5.js} +1 -1
- package/build/esm/{utils-5a768f97.js → utils-563dbd48.js} +1 -1
- package/build/esm/vaccination.js +6 -68
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c1365649.js +1 -0
- package/build/{getSocialList-d4cd6464.js → getSocialList-34d66f28.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-42801526.js → index-0c939a95.js} +1 -1
- package/build/{index-c7032bfb.js → index-16272593.js} +1 -1
- package/build/{index-cbc613ac.js → index-17dfa7a9.js} +1 -1
- package/build/{index-809349d3.js → index-1b728b12.js} +1 -1
- package/build/{index-a70b7f44.js → index-45b4b3e9.js} +1 -1
- package/build/{index-130d72cc.js → index-5846d58b.js} +1 -1
- package/build/index-6fd6134a.js +1 -0
- package/build/{index-bf096b0a.js → index-854f1e36.js} +1 -1
- package/build/{index-09d5490e.js → index-992d38d2.js} +1 -1
- package/build/{index-c5dd71b5.js → index-99f21fc5.js} +1 -1
- package/build/{index-fc2f7195.js → index-a0f049ef.js} +1 -1
- package/build/index-acfb0ce9.js +1 -0
- package/build/{index-75076f13.js → index-b15a75d9.js} +1 -1
- package/build/{index-988ba990.js → index-c7f012bf.js} +1 -1
- package/build/{index-4ab5c838.js → index-c85ab594.js} +190 -598
- package/build/index-caefb49b.js +1 -0
- package/build/{index-1b913131.js → index-ccefd6eb.js} +1 -1
- package/build/{index-789abdeb.js → index-d1eeaaef.js} +1 -1
- package/build/{index-ded4220b.js → index-d1fd4d52.js} +1 -1
- package/build/{index-f9464f63.js → index-dad777d8.js} +1 -1
- package/build/{index-b356a7af.js → index-e43cc32d.js} +1 -1
- package/build/{index-38cc50c2.js → index-f137af39.js} +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-086a71a8.js +50 -0
- package/build/{index.styled-7e7a6232.js → index.styled-245eaa42.js} +1 -1
- package/build/{index.styled-0aa317a5.js → index.styled-c3edb2b9.js} +90 -416
- package/build/{index.styled-294f421a.js → index.styled-f695d1b6.js} +11 -66
- package/build/{index.styles-0cae737d.js → index.styles-bc0acea0.js} +5 -5
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-4db6e2aa.js → routing-a3a546b6.js} +1 -1
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/constants.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +0 -1
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/constants.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +0 -1
- package/build/subot.js +456 -456
- package/build/together/components/molecules/popupDoctor/index.styled.d.ts +0 -3
- package/build/together/components/molecules/popupExpert/index.styled.d.ts +0 -2
- package/build/together/components/molecules/popupHospital/index.styled.d.ts +0 -3
- package/build/together.js +1 -1
- package/build/{types-d467d91b.js → types-a3e9e643.js} +2 -5
- package/build/{types-ea4d6fcb.js → types-f6913792.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-a73a56b5.js → useCategory-78ec9de7.js} +1 -1
- package/build/useHealthToolCache-b53abfff.js +1 -0
- package/build/{usePlacesAutocomplete-3c7fd14e.js → usePlacesAutocomplete-c93a598a.js} +1 -1
- package/build/{useRafState-c412ef13.js → useRafState-2d73039f.js} +1 -1
- package/build/{useTranslations-c7c26b81.js → useTranslations-eb6e3a4e.js} +1 -1
- package/build/{utils-f0b79e40.js → utils-86177cc2.js} +1 -1
- package/build/utils-b5dfd4e1.js +1 -0
- package/build/vaccination.js +7 -69
- package/package.json +1 -1
- package/build/components/navigationV2/components/atoms/ArrowLeftPopupIcon.d.ts +0 -2
- package/build/components/onboardingV2/personalInfoForm/index.styled.d.ts +0 -1
- package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +0 -10
- package/build/esm/components/navigationV2/components/atoms/ArrowLeftPopupIcon.d.ts +0 -2
- package/build/esm/components/onboardingV2/personalInfoForm/index.styled.d.ts +0 -1
- package/build/esm/components/organisms/heroBannerHealthTool/index.styled.d.ts +0 -10
- package/build/esm/getDynamicHealthTool-e517bc3f.js +0 -1
- package/build/esm/index-3df787db.js +0 -1
- package/build/esm/index-66d2f793.js +0 -1
- package/build/esm/index.styled-185beec0.js +0 -50
- package/build/esm/useHealthToolCache-09101b2b.js +0 -1
- package/build/esm/usePlacesAutocomplete-5dddac92.js +0 -1
- package/build/getDynamicHealthTool-82c36838.js +0 -1
- package/build/index-13c4cc74.js +0 -1
- package/build/index-9082a3a1.js +0 -1
- package/build/index-a5f9d0df.js +0 -1
- package/build/index.styled-8be7adef.js +0 -50
- package/build/useHealthToolCache-6f812d40.js +0 -1
- package/build/utils-aa1fab0d.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-a5d268e1.js → BMI_BOYS.percentile.monthly-f2d6dfe0.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-e86b499e.js → BMI_BOYS.percentile.weekly-af266ffa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d9ee6e41.js → BMI_BOYS.percentile.yearly-3197405f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-79949324.js → BMI_BOYS.zscore.monthly-d5f610e1.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-ea09dc17.js → BMI_BOYS.zscore.weekly-6f8488f2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-7e23c2e0.js → BMI_BOYS.zscore.yearly-91349a66.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-76aab60f.js → BMI_GIRLS.percentile.monthly-c7e89fd9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-f9f16173.js → BMI_GIRLS.percentile.weekly-8e6b805d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-a08acaad.js → BMI_GIRLS.percentile.yearly-1705eb83.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-95bd48dc.js → BMI_GIRLS.zscore.monthly-10ce2285.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7d3a074d.js → BMI_GIRLS.zscore.weekly-509ac723.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-51d02c77.js → BMI_GIRLS.zscore.yearly-30bfdb96.js} +0 -0
- /package/build/{ChevronDown-98d0a573.js → ChevronDown-26ca1544.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-59193308.js → HEAD CIRCUM_BOYS.percentile.monthly-4d09785a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ae16a8fb.js → HEAD CIRCUM_BOYS.percentile.weekly-f2a3683b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-cc5c9a5d.js → HEAD CIRCUM_BOYS.percentile.yearly-325de807.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0a22c691.js → HEAD CIRCUM_BOYS.zscore.monthly-c3653189.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-7f009934.js → HEAD CIRCUM_BOYS.zscore.weekly-64715859.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-32179b09.js → HEAD CIRCUM_BOYS.zscore.yearly-8d5d4104.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f6030365.js → HEAD CIRCUM_GIRLS.percentile.monthly-91394406.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6a562b21.js → HEAD CIRCUM_GIRLS.percentile.weekly-dfecd4bb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-063f80e0.js → HEAD CIRCUM_GIRLS.percentile.yearly-60f7fc20.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0194d8e3.js → HEAD CIRCUM_GIRLS.zscore.monthly-0adfc823.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d160548d.js → HEAD CIRCUM_GIRLS.zscore.weekly-2ca5ea36.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e3575040.js → HEAD CIRCUM_GIRLS.zscore.yearly-eabc2711.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-b69cf718.js → HEIGHT_BOYS.percentile.monthly-c30c7db8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-6590e215.js → HEIGHT_BOYS.percentile.weekly-1b7c68af.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-93eec8b2.js → HEIGHT_BOYS.percentile.yearly-7654ea26.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-f24fe289.js → HEIGHT_BOYS.zscore.monthly-100631d7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ed0597e2.js → HEIGHT_BOYS.zscore.weekly-3fb8192a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-22fec940.js → HEIGHT_BOYS.zscore.yearly-cfc53fb4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-38f388e5.js → HEIGHT_GIRLS.percentile.monthly-36a38507.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fe30f0ec.js → HEIGHT_GIRLS.percentile.weekly-d7cc3e36.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-324b86fe.js → HEIGHT_GIRLS.percentile.yearly-6e9eb89d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-5b11c1fd.js → HEIGHT_GIRLS.zscore.monthly-9ef69581.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-4189c00c.js → HEIGHT_GIRLS.zscore.weekly-a5a438a7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-f5e7745c.js → HEIGHT_GIRLS.zscore.yearly-aa9b3de3.js} +0 -0
- /package/build/{Subot-9ac3ab38.js → Subot-5e3788b9.js} +0 -0
- /package/build/{Visible-68d62535.js → Visible-c561d877.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-9d66b6ac.js → WEIGHT_BOYS.percentile.monthly-7b0b5579.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-eeb718ed.js → WEIGHT_BOYS.percentile.weekly-650a1141.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-699442c5.js → WEIGHT_BOYS.percentile.yearly-ef733c0a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-54dc19ea.js → WEIGHT_BOYS.zscore.monthly-baa0cef6.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-7dcc3c00.js → WEIGHT_BOYS.zscore.weekly-e7080454.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-4ccc404d.js → WEIGHT_BOYS.zscore.yearly-c51dfe8a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-0a9891a8.js → WEIGHT_GIRLS.percentile.monthly-78b66e11.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b93204f3.js → WEIGHT_GIRLS.percentile.weekly-5df91708.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-636a376e.js → WEIGHT_GIRLS.percentile.yearly-a7ad83a0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-bef91b50.js → WEIGHT_GIRLS.zscore.monthly-37aeb739.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-ebe47795.js → WEIGHT_GIRLS.zscore.weekly-cdb5a619.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-76c65b8b.js → WEIGHT_GIRLS.zscore.yearly-10f7b113.js} +0 -0
- /package/build/{cookieHelper-22f17888.js → cookieHelper-faead274.js} +0 -0
- /package/build/{dataTransform-6a6fcfcf.js → dataTransform-4e01afe7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-aa32249b.js → BMI_BOYS.percentile.monthly-237c26c1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-41269772.js → BMI_BOYS.percentile.weekly-5e217121.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-0a8be67a.js → BMI_BOYS.percentile.yearly-b7c24b07.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-443faede.js → BMI_BOYS.zscore.monthly-caee541a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0bcfd9b3.js → BMI_BOYS.zscore.weekly-248bd6a3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c590954d.js → BMI_BOYS.zscore.yearly-c4c5bebc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-280e79d8.js → BMI_GIRLS.percentile.monthly-7cf5b7a8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-306e20f9.js → BMI_GIRLS.percentile.weekly-2c920355.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-00538e48.js → BMI_GIRLS.percentile.yearly-2913ce0d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ca69afb1.js → BMI_GIRLS.zscore.monthly-a9ca6049.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ccabf66a.js → BMI_GIRLS.zscore.weekly-7686cd52.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-557a4088.js → BMI_GIRLS.zscore.yearly-0fe95249.js} +0 -0
- /package/build/esm/{ChevronDown-4e539027.js → ChevronDown-2b150c99.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-24eedf32.js → HEAD CIRCUM_BOYS.percentile.monthly-9ab3e376.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-5d5cea65.js → HEAD CIRCUM_BOYS.percentile.weekly-b419210c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8bf2ddb1.js → HEAD CIRCUM_BOYS.percentile.yearly-47c58312.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-f9a8110e.js → HEAD CIRCUM_BOYS.zscore.monthly-573a0db9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-b86fcbcb.js → HEAD CIRCUM_BOYS.zscore.weekly-6d69c852.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-13d93d3a.js → HEAD CIRCUM_BOYS.zscore.yearly-22f44323.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-72ca91c2.js → HEAD CIRCUM_GIRLS.percentile.monthly-484fc054.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ab23f729.js → HEAD CIRCUM_GIRLS.percentile.weekly-ce9ad0ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e5b20255.js → HEAD CIRCUM_GIRLS.percentile.yearly-5ba8609b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-3d79c916.js → HEAD CIRCUM_GIRLS.zscore.monthly-09f228c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-bce12395.js → HEAD CIRCUM_GIRLS.zscore.weekly-0d16214e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ef264905.js → HEAD CIRCUM_GIRLS.zscore.yearly-69196152.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8fd62064.js → HEIGHT_BOYS.percentile.monthly-73475699.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e6e5a9bf.js → HEIGHT_BOYS.percentile.weekly-aaa9c5d2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-dce479a5.js → HEIGHT_BOYS.percentile.yearly-19ed1ac7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fff1041.js → HEIGHT_BOYS.zscore.monthly-6af8892b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-de386a18.js → HEIGHT_BOYS.zscore.weekly-344ab143.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-71777dfe.js → HEIGHT_BOYS.zscore.yearly-eb3a4e83.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e350a917.js → HEIGHT_GIRLS.percentile.monthly-8b6c42e4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-00830a21.js → HEIGHT_GIRLS.percentile.weekly-74469212.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-63ab2aee.js → HEIGHT_GIRLS.percentile.yearly-3f9ee629.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-61b445a3.js → HEIGHT_GIRLS.zscore.monthly-c6a7dc2d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-811cbf19.js → HEIGHT_GIRLS.zscore.weekly-e27c7b61.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d512b489.js → HEIGHT_GIRLS.zscore.yearly-72d00068.js} +0 -0
- /package/build/esm/{Subot-e35888a1.js → Subot-0c4dab43.js} +0 -0
- /package/build/esm/{Visible-a54b07a5.js → Visible-c68224a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-c617f747.js → WEIGHT_BOYS.percentile.monthly-38ddd06a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a835e518.js → WEIGHT_BOYS.percentile.weekly-a0349b82.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-96e9b6cc.js → WEIGHT_BOYS.percentile.yearly-4aa28c2a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-818bd5dc.js → WEIGHT_BOYS.zscore.monthly-285f7f43.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8c3a3354.js → WEIGHT_BOYS.zscore.weekly-7fdcfb45.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-03efd18a.js → WEIGHT_BOYS.zscore.yearly-67512a08.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-43a931c8.js → WEIGHT_GIRLS.percentile.monthly-687fcbb9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1ce3f4fa.js → WEIGHT_GIRLS.percentile.weekly-9c8ebcfb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-19635d95.js → WEIGHT_GIRLS.percentile.yearly-bb43d716.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5dc5e380.js → WEIGHT_GIRLS.zscore.monthly-6ea1cc38.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-74fcd92a.js → WEIGHT_GIRLS.zscore.weekly-589c96d0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-34b68693.js → WEIGHT_GIRLS.zscore.yearly-293c72b6.js} +0 -0
- /package/build/esm/{cookieHelper-932cba5b.js → cookieHelper-f205b169.js} +0 -0
- /package/build/esm/{dataTransform-61b0924c.js → dataTransform-4b79e9fc.js} +0 -0
- /package/build/esm/{index-747aa373.js → index-bb150c0d.js} +0 -0
- /package/build/esm/{index-a25c8866.js → index-bc96f01d.js} +0 -0
- /package/build/esm/{index-ce11a530.js → index-ebc484da.js} +0 -0
- /package/build/esm/{isProduction-a0cadcf8.js → isProduction-095ab64f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ef58bc2e.js → localizeNumberFormat-6ec4b13f.js} +0 -0
- /package/build/esm/{normalizeLink-3e0e0e6d.js → normalizeLink-730f7beb.js} +0 -0
- /package/build/esm/{number-1d1a47f7.js → number-6d1e5da0.js} +0 -0
- /package/build/esm/{paths-815836e1.js → paths-d8c26a48.js} +0 -0
- /package/build/esm/{screenSizeContext-3261648b.js → screenSizeContext-268f62ee.js} +0 -0
- /package/build/esm/{theme-d45596e4.js → theme-c91f8447.js} +0 -0
- /package/build/esm/{translationsContext-de4e722d.js → translationsContext-8d25a828.js} +0 -0
- /package/build/esm/{tslib.es6-ce2c140c.js → tslib.es6-89288f42.js} +0 -0
- /package/build/esm/{types-df0d0071.js → types-4b3c5426.js} +0 -0
- /package/build/esm/{useIsInit-2717e433.js → useIsInit-6890e3ae.js} +0 -0
- /package/build/esm/{useOutsideClick-4ff6bd1e.js → useOutsideClick-fcf2d8f9.js} +0 -0
- /package/build/esm/{useScrollbarSize-b8a70e15.js → useScrollbarSize-53042c16.js} +0 -0
- /package/build/{index-771ab8f5.js → index-65b4e1df.js} +0 -0
- /package/build/{index-efbee76a.js → index-87fb4741.js} +0 -0
- /package/build/{index-fd3cae06.js → index-dd93f3f7.js} +0 -0
- /package/build/{isProduction-233baa6b.js → isProduction-a6dab3b8.js} +0 -0
- /package/build/{localizeNumberFormat-2f7b0b5a.js → localizeNumberFormat-68c605b4.js} +0 -0
- /package/build/{normalizeLink-c87b11a1.js → normalizeLink-b08e7017.js} +0 -0
- /package/build/{number-2b954627.js → number-824f5e2e.js} +0 -0
- /package/build/{paths-902c5f54.js → paths-cb533948.js} +0 -0
- /package/build/{screenSizeContext-0219d755.js → screenSizeContext-d1f3171e.js} +0 -0
- /package/build/{theme-87326f2f.js → theme-9886c9e0.js} +0 -0
- /package/build/{translationsContext-a48a19a4.js → translationsContext-510e154b.js} +0 -0
- /package/build/{tslib.es6-82d276fa.js → tslib.es6-5d58d708.js} +0 -0
- /package/build/{types-25ffa9b6.js → types-16b33149.js} +0 -0
- /package/build/{useIsInit-124b88fa.js → useIsInit-10070617.js} +0 -0
- /package/build/{useOutsideClick-c3c3676d.js → useOutsideClick-d814cc9a.js} +0 -0
- /package/build/{useScrollbarSize-f694e765.js → useScrollbarSize-efc94491.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index-
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-e43cc32d.js"),a=require("./useTranslations-eb6e3a4e.js");require("lodash/debounce"),require("./isProduction-a6dab3b8.js"),require("./index-5846d58b.js"),require("./useCategory-78ec9de7.js");var r=require("@mantine/core"),o=require("styled-components"),i=require("./screenSizeContext-d1f3171e.js"),n=require("./index-992d38d2.js"),l=require("./index-17dfa7a9.js"),d=require("./index.styles-bc0acea0.js"),s=require("./index-1b728b12.js"),p=require("./tslib.es6-5d58d708.js"),c=require("dayjs"),u=require("./theme-9886c9e0.js"),m=require("./Subot-5e3788b9.js"),h=require("./gAssets.js"),g=require("./index-854f1e36.js");require("@mantine/dates"),require("./translationsContext-510e154b.js"),require("string-format"),require("@mantine/hooks");var f=require("@hookform/resolvers/yup"),x=require("react-hook-form"),b=require("./index-0c939a95.js"),y=require("./constants-40d8e654.js"),v=require("./index.styled-f695d1b6.js"),w=require("date-fns");require("./utils-86177cc2.js");var k=require("./index-45b4b3e9.js"),E=require("./index-99f21fc5.js");require("./index-87fb4741.js");var C=require("./types-16b33149.js"),D=require("react-day-picker/DayPickerInput");function $(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=$(e),B=$(o),z=$(c),M=$(D),P="tliWyii";const T=e.memo((()=>S.default.createElement("div",{className:"shoppable"},S.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},S.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),S.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),I=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},S.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),N=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var A=r.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const j=B.default.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* {
|
|
33
33
|
pointer-events: none;
|
|
34
34
|
}
|
|
35
|
-
`,
|
|
35
|
+
`,_=B.default.div`
|
|
36
36
|
display: flex;
|
|
37
37
|
|
|
38
38
|
&[data-type='vertical'] {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
`,O={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},
|
|
59
|
+
`,O={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},F=B.default.div`
|
|
60
60
|
.pickerContainer {
|
|
61
61
|
position: relative;
|
|
62
62
|
padding-top: 0;
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
background: white;
|
|
414
414
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
415
415
|
}
|
|
416
|
-
`,
|
|
416
|
+
`,R=B.default.form`
|
|
417
417
|
display: flex;
|
|
418
418
|
width: 100%;
|
|
419
419
|
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
background: ${e=>e.theme.colors.neutral100};
|
|
431
431
|
border-radius: ${e=>e.theme.borderRadius};
|
|
432
432
|
}
|
|
433
|
-
`,
|
|
433
|
+
`,G=({alignRight:t=!0,placeholder:a,displayDateFormat:r,onChange:o,customInput:i,pickedDate:n,className:l,isStatic:d,disabledDays:s,modifiers:p,UnHideOnClickOutside:c,initialMonth:u,locale:m="en-PH"})=>{const h=e.useRef(!1),g=w.format,[f,x]=e.useState(u||new Date),b=e.useRef(null),y=e.useRef(null),v=O[m],k=e=>{c||b.current&&b.current.contains(e.target)||y.current&&y.current.hideDayPicker()},E=(new Date).getFullYear(),C=new Date(E-150,0),D=new Date(E+1,0),$=({date:e,onChange:t,monthLabels:a})=>{const r=[];for(let e=D.getFullYear();e>=C.getFullYear();e-=1)r.push(e);const o=function(e){const{year:a,month:r}=e.target.form;t(new Date(a.value,r.value))};return S.default.createElement("div",{className:"DayPicker-Caption"},S.default.createElement(R,null,S.default.createElement("select",{name:"month",onChange:o,value:e.getMonth()},a.map(((e,t)=>S.default.createElement("option",{key:e,value:t},e)))),S.default.createElement("select",{name:"year",onChange:o,value:e.getFullYear()},r.map((e=>S.default.createElement("option",{key:e,value:e},e))))))};return e.useEffect((()=>(document.addEventListener("mousedown",k,{passive:!0}),()=>{document.removeEventListener("mousedown",k,!1)})),[]),S.default.createElement(F,{className:l,"data-align-right":t,ref:b,"data-is-static":d||void 0},S.default.createElement(M.default,{ref:y,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:i&&S.default.forwardRef(((e,t)=>S.default.createElement(i,Object.assign({},e)))),onDayPickerHide:()=>{h.current=!1},onDayPickerShow:()=>{h.current=!0},dayPickerProps:{month:f,className:"picker",selectedDays:n,canChangeMonth:!0,enableOutsideDaysClick:!d,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return S.default.createElement($,{date:e,monthLabels:v||a,onChange:x})},disabledDays:s||void 0,modifiers:p},format:r||"yyyy-MM-dd",formatDate:(e,t)=>g(e,t),hideOnDayClick:!d,placeholder:a||"",onDayChange:e=>{var t;t=e,y.current&&!d&&y.current.hideDayPicker(),o&&o(t)},showOverlay:d}))},L=B.default.div`
|
|
434
434
|
display: flex;
|
|
435
435
|
align-items: center;
|
|
436
436
|
--font-weight-lg: ${e=>e.theme.sizes.fwBold};
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
${
|
|
458
|
+
${i.MediaQueries.mbDown} {
|
|
459
459
|
&[data-size='lg'] {
|
|
460
460
|
font-size: 16px;
|
|
461
461
|
line-height: 24px;
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
font-weight: var(----font-weight-sm);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
`,
|
|
475
|
+
`,Q=B.default.div`
|
|
476
476
|
position: relative;
|
|
477
477
|
width: 100%;
|
|
478
478
|
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
outline: none;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
`,
|
|
486
|
+
`,U=B.default.div`
|
|
487
487
|
position: absolute;
|
|
488
488
|
top: 19px;
|
|
489
489
|
width: 24px;
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
630
630
|
color: ${e=>e.theme.colors.gray400};
|
|
631
631
|
padding-right: 16px;
|
|
632
|
-
`,te=S.default.forwardRef((({id:t,value:a,options:
|
|
632
|
+
`,te=S.default.forwardRef((({id:t,value:a,options:o,className:i,isDisabled:n,size:l="small",direction:d="vertical",onChange:s,dataEventCategory:p,dataEventAction:c,dataEventLabel:u},m)=>{const[h,f]=e.useState(a);e.useImperativeHandle(m,(()=>({reset(){f(a)}})));const x="small"===l?"md":"lg",b="vertical"===d?r.Stack:r.Group;return S.default.createElement(g.Radio.Group,{name:t,className:i,size:x,value:String(h),defaultValue:a,onChange:e=>{f(e),null==s||s(e)}},S.default.createElement(b,{spacing:"xl"},o.map((e=>S.default.createElement(g.Radio,{key:e.value,value:e.value,label:e.label,disabled:n,"data-event-category":p,"data-event-action":c,"data-event-label":u})))))})),ae=B.default.div`
|
|
633
633
|
--menu-width: 240px;
|
|
634
634
|
--menu-spacing: 28px 16px;
|
|
635
635
|
width: var(--menu-width);
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
--menu-width: 64px;
|
|
643
643
|
--menu-spacing: 28px 8px;
|
|
644
644
|
}
|
|
645
|
-
`,
|
|
645
|
+
`,re=B.default.div`
|
|
646
646
|
display: flex;
|
|
647
647
|
align-items: baseline;
|
|
648
648
|
justify-content: space-between;
|
|
@@ -650,12 +650,12 @@
|
|
|
650
650
|
svg {
|
|
651
651
|
transition: 0.4s ease-in-out;
|
|
652
652
|
}
|
|
653
|
-
`,
|
|
653
|
+
`,oe=B.default.div`
|
|
654
654
|
cursor: pointer;
|
|
655
655
|
&[data-is-collapsed] {
|
|
656
656
|
transform: rotate(180deg);
|
|
657
657
|
}
|
|
658
|
-
`,
|
|
658
|
+
`,ie=B.default.figure`
|
|
659
659
|
display: flex;
|
|
660
660
|
|
|
661
661
|
> img,
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
margin-top: 2px;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
`,ne=({name:e,description:a,image:
|
|
676
|
+
`,ne=({name:e,description:a,image:r,isDescriptionHidden:o})=>S.default.createElement(ie,null,r,!o&&S.default.createElement("figcaption",null,S.default.createElement(t.Text,{size:"p4",weight:"bold"},e),S.default.createElement(t.Text,{size:"p4"},a))),le=B.default.div`
|
|
677
677
|
display: flex;
|
|
678
678
|
align-items: center;
|
|
679
679
|
margin-top: 24px;
|
|
@@ -795,14 +795,14 @@
|
|
|
795
795
|
border-radius: 50%;
|
|
796
796
|
cursor: pointer;
|
|
797
797
|
transition: all 0.3s;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
798
|
+
&.active {
|
|
799
|
+
&[data-scheme='hellosites'] {
|
|
800
|
+
background-color: ${e=>e.theme.colors.primary600};
|
|
801
|
+
}
|
|
802
|
+
&[data-scheme='marrybaby'] {
|
|
803
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
.arrow-left {
|
|
@@ -857,13 +857,13 @@
|
|
|
857
857
|
margin-right: 10px;
|
|
858
858
|
background-color: ${e=>e["data-color"]};
|
|
859
859
|
border-radius: 50%;
|
|
860
|
-
`,
|
|
860
|
+
`,ue=B.default.div`
|
|
861
861
|
display: flex;
|
|
862
862
|
align-items: center;
|
|
863
863
|
color: ${e=>e.theme.colors.gray800};
|
|
864
864
|
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
865
865
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
866
|
-
`,
|
|
866
|
+
`,me=B.default.div`
|
|
867
867
|
display: flex;
|
|
868
868
|
align-items: center;
|
|
869
869
|
margin-top: 4px;
|
|
@@ -882,12 +882,12 @@
|
|
|
882
882
|
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
883
883
|
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
884
884
|
}
|
|
885
|
-
`,
|
|
885
|
+
`,he=B.default.table`
|
|
886
886
|
--horizontal-spacing: ${e=>e.theme.horizontalPadding||"19px"};
|
|
887
887
|
--vertical-spacing: ${e=>e.theme.verticalPadding||"26px"};
|
|
888
888
|
width: 100%;
|
|
889
889
|
position: relative;
|
|
890
|
-
`,
|
|
890
|
+
`,ge=B.default.td`
|
|
891
891
|
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
892
892
|
vertical-align: middle;
|
|
893
893
|
|
|
@@ -906,7 +906,7 @@
|
|
|
906
906
|
&[data-is-active='true'] {
|
|
907
907
|
background-color: ${e=>e.theme.colors.gray200};
|
|
908
908
|
}
|
|
909
|
-
`,xe=({children:e,className:t,style:a,isActive:
|
|
909
|
+
`,xe=({children:e,className:t,style:a,isActive:r,onRowClicked:o,rowId:i})=>S.default.createElement(fe,{className:t,"data-is-active":r,style:a,onClick:()=>{o&&o(i)}},e),be=B.default.thead`
|
|
910
910
|
th {
|
|
911
911
|
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
912
912
|
text-align: left;
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
background-color: ${e=>e.theme.colors.neutral100};
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
`;var ve=
|
|
938
|
+
`;var ve=r.createStyles((e=>{const t=r.getStylesRef("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const we=B.default.div`
|
|
939
939
|
padding: 1rem;
|
|
940
940
|
background: ${e=>e.theme.colors.neutral100};
|
|
941
941
|
.survey-inner-wrapper {
|
|
@@ -1126,7 +1126,7 @@
|
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
`,
|
|
1129
|
+
`,Ee=B.default.div`
|
|
1130
1130
|
position: relative;
|
|
1131
1131
|
width: 100%;
|
|
1132
1132
|
padding-top: min(400px, 100%);
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
|
-
`,
|
|
1159
|
+
`,Ce=B.default.div`
|
|
1160
1160
|
.survey-question-text-wrapper {
|
|
1161
1161
|
margin-bottom: 24px;
|
|
1162
1162
|
.survey-question-title {
|
|
@@ -1206,7 +1206,7 @@
|
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
|
-
|
|
1209
|
+
`,De=({size:e="small",label:t,name:a,checked:r,value:o,className:i,isDisabled:n=!1,onChange:l,hasImage:d,inputType:s,image:p})=>S.default.createElement(ke,{"data-disabled":n,className:i,"data-size":e,"data-checked":r,onClick:()=>{l(o)},"data-has-image":d},d&&S.default.createElement("div",{className:"choice-image-wrapper"},p&&S.default.createElement("img",{src:p,loading:"lazy"})),S.default.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${o}`},t),S.default.createElement("input",{type:s,checked:r,name:a,id:`${a}-${o}`,value:o,readOnly:!0})),$e=({question:a,description:r,onOptionsChange:o,onTextOptionsChange:i,style:n,className:l})=>{const{type:p,title:c,subtitle:u,image:m,textOptions:h,options:g,name:f,is_multi_select:x}=a,b=!!(null==g?void 0:g.some((e=>e.image))),[y,v]=e.useState([]),[w,k]=e.useState((()=>(null==h?void 0:h.slice())||[]));return e.useEffect((()=>{o&&o(y.slice())}),[!!o,y]),e.useEffect((()=>{i&&i(w)}),[!!i,w]),S.default.createElement(Ce,{className:l,style:n},S.default.createElement("div",{className:"survey-question-text-wrapper"},c&&S.default.createElement(d.Heading,{"data-nosubtitle":!u,className:"survey-question-title",tag:"h4"},c),u&&S.default.createElement(t.Text,{className:"survey-question-subtitle",size:"p2"},u),r&&S.default.createElement(t.Text,{className:"survey-question-description",size:"p2"},r)),m&&S.default.createElement("img",{src:m,className:"survey-question-image",loading:"lazy"}),S.default.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===p&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},g.map((e=>{var t;return S.default.createElement(De,{inputType:"radio",label:e.label,name:f,key:`${f}-${e.value}`,checked:(null===(t=y[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{v([g.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:b})}))),"checkbox"===p&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},g.map((e=>S.default.createElement(De,{inputType:"checkbox",label:e.label,name:f,key:`${f}-${e.value}`,checked:!!y.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=y.findIndex((t=>t.value===e.value));v(t>=0?e=>(e.splice(t,1),e.slice()):x?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:b})))),"textbox"===p&&w.map(((e,t)=>e.isTextArea?S.default.createElement(d.TextArea,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>k((a=>(a[t].value=e,a.slice())))}):S.default.createElement(s.Input,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{k((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var Se;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Se||(Se={}));const Be=200,ze=B.default.div``,Me=B.default.div`
|
|
1210
1210
|
width: 100vw;
|
|
1211
1211
|
height: 100vh;
|
|
1212
1212
|
position: fixed;
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
[data-animation-type='slide'][data-floatmenu-open='false'] & {
|
|
1460
1460
|
opacity: 0;
|
|
1461
1461
|
}
|
|
1462
|
-
`,
|
|
1462
|
+
`,je=B.default.div`
|
|
1463
1463
|
border-radius: 50%;
|
|
1464
1464
|
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1465
1465
|
width: 48px;
|
|
@@ -1487,12 +1487,12 @@
|
|
|
1487
1487
|
height: 24px;
|
|
1488
1488
|
object-fit: contain;
|
|
1489
1489
|
}
|
|
1490
|
-
`,
|
|
1490
|
+
`,_e=B.default.div`
|
|
1491
1491
|
padding: 16px;
|
|
1492
1492
|
width: 375px;
|
|
1493
1493
|
word-wrap: break-word;
|
|
1494
1494
|
word-break: break-word;
|
|
1495
|
-
${
|
|
1495
|
+
${i.MediaQueries.mbDown} {
|
|
1496
1496
|
width: 100%;
|
|
1497
1497
|
}
|
|
1498
1498
|
&[data-theme='helloSites'] {
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
z-index: 1000;
|
|
1513
1513
|
bottom: 0;
|
|
1514
1514
|
right: 0;
|
|
1515
|
-
${
|
|
1515
|
+
${i.MediaQueries.mbDown} {
|
|
1516
1516
|
left: 0;
|
|
1517
1517
|
right: unset;
|
|
1518
1518
|
}
|
|
@@ -1536,7 +1536,7 @@
|
|
|
1536
1536
|
content: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00001 1.33331C4.32001 1.33331 1.33334 4.31998 1.33334 7.99998C1.33334 11.68 4.32001 14.6666 8.00001 14.6666C11.68 14.6666 14.6667 11.68 14.6667 7.99998C14.6667 4.31998 11.68 1.33331 8.00001 1.33331ZM8.00001 11.3333C7.63334 11.3333 7.33334 11.0333 7.33334 10.6666V7.99998C7.33334 7.63331 7.63334 7.33331 8.00001 7.33331C8.36668 7.33331 8.66668 7.63331 8.66668 7.99998V10.6666C8.66668 11.0333 8.36668 11.3333 8.00001 11.3333ZM7.33334 5.99998H8.66668V4.66665H7.33334V5.99998Z' fill='white'/%3e%3c/svg%3e");
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
`,
|
|
1539
|
+
`,Fe=B.default.p`
|
|
1540
1540
|
margin-top: 2px;
|
|
1541
1541
|
color: ${e=>e.theme.colors.white};
|
|
1542
1542
|
font-size: 12px;
|
|
@@ -1547,12 +1547,12 @@
|
|
|
1547
1547
|
text-decoration: none;
|
|
1548
1548
|
text-decoration-line: underline;
|
|
1549
1549
|
}
|
|
1550
|
-
`,
|
|
1550
|
+
`,Re=B.default.div`
|
|
1551
1551
|
display: flex;
|
|
1552
1552
|
align-items: center;
|
|
1553
1553
|
margin-top: 8px;
|
|
1554
1554
|
gap: 16px;
|
|
1555
|
-
`,
|
|
1555
|
+
`,Ge=B.default.div`
|
|
1556
1556
|
padding: 7px 28px;
|
|
1557
1557
|
background: ${e=>e.theme.colors.white};
|
|
1558
1558
|
border-radius: ${e=>e.theme.borderRadius};
|
|
@@ -1561,14 +1561,14 @@
|
|
|
1561
1561
|
font-size: 12px;
|
|
1562
1562
|
font-weight: 600;
|
|
1563
1563
|
line-height: 18px;
|
|
1564
|
-
`,
|
|
1564
|
+
`,Le=B.default.a`
|
|
1565
1565
|
color: ${e=>e.theme.colors.white};
|
|
1566
1566
|
font-size: 12px;
|
|
1567
1567
|
font-weight: 600;
|
|
1568
1568
|
line-height: 22px;
|
|
1569
1569
|
text-decoration: none;
|
|
1570
1570
|
text-decoration-line: underline;
|
|
1571
|
-
`,
|
|
1571
|
+
`,Qe=o.keyframes`
|
|
1572
1572
|
from {
|
|
1573
1573
|
transform: translateY(100%);
|
|
1574
1574
|
visibility: visible;
|
|
@@ -1577,7 +1577,7 @@
|
|
|
1577
1577
|
to {
|
|
1578
1578
|
transform: translateY(0);
|
|
1579
1579
|
}
|
|
1580
|
-
`,
|
|
1580
|
+
`,Ue=o.keyframes`
|
|
1581
1581
|
from {
|
|
1582
1582
|
transform: translate(0, 0);
|
|
1583
1583
|
}
|
|
@@ -1598,13 +1598,13 @@
|
|
|
1598
1598
|
font-weight: 500;
|
|
1599
1599
|
font-size: 10px;
|
|
1600
1600
|
line-height: 16px;
|
|
1601
|
-
color: ${
|
|
1601
|
+
color: ${u.theme.colors.gray600};
|
|
1602
1602
|
overflow: hidden;
|
|
1603
1603
|
text-overflow: ellipsis;
|
|
1604
1604
|
white-space: nowrap;
|
|
1605
1605
|
width: 60px;
|
|
1606
1606
|
text-align: center;
|
|
1607
|
-
${
|
|
1607
|
+
${i.MediaQueries.mbDown} {
|
|
1608
1608
|
max-width: 60px;
|
|
1609
1609
|
}
|
|
1610
1610
|
}
|
|
@@ -1635,7 +1635,7 @@
|
|
|
1635
1635
|
min-width: 152px;
|
|
1636
1636
|
height: 32px;
|
|
1637
1637
|
/* Neutral/Neutral-50 */
|
|
1638
|
-
background: ${
|
|
1638
|
+
background: ${u.theme.colors.primary50};
|
|
1639
1639
|
border-radius: 20px;
|
|
1640
1640
|
flex-grow: 1;
|
|
1641
1641
|
.mobile-navigation-icon {
|
|
@@ -1646,13 +1646,13 @@
|
|
|
1646
1646
|
}
|
|
1647
1647
|
.mobile-navigation-label {
|
|
1648
1648
|
max-width: max-content;
|
|
1649
|
-
color: ${
|
|
1649
|
+
color: ${u.theme.colors.primaryBase};
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
&[data-is-active='true'] {
|
|
1654
1654
|
.mobile-navigation-label {
|
|
1655
|
-
color: ${
|
|
1655
|
+
color: ${u.theme.colors.primaryBase};
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
height: 100%;
|
|
1673
1673
|
align-items: center;
|
|
1674
1674
|
justify-content: space-evenly;
|
|
1675
|
-
background-color: ${
|
|
1675
|
+
background-color: ${u.theme.colors.white};
|
|
1676
1676
|
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
1677
1677
|
min-height: calc(56px + env(safe-area-inset-bottom));
|
|
1678
1678
|
max-height: calc(56px + env(safe-area-inset-bottom));
|
|
@@ -1685,11 +1685,11 @@
|
|
|
1685
1685
|
text-decoration: none;
|
|
1686
1686
|
}
|
|
1687
1687
|
&[data-is-collapsed='true'] {
|
|
1688
|
-
animation: ${
|
|
1688
|
+
animation: ${Ue} 500ms ease-in-out forwards;
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
1691
|
&[data-is-collapsed='false'] {
|
|
1692
|
-
animation: ${
|
|
1692
|
+
animation: ${Qe} 500ms ease-in-out forwards;
|
|
1693
1693
|
}
|
|
1694
1694
|
&[data-template='health-tool'] {
|
|
1695
1695
|
height: 44px;
|
|
@@ -1704,9 +1704,9 @@
|
|
|
1704
1704
|
position: absolute;
|
|
1705
1705
|
left: 100%;
|
|
1706
1706
|
transform: translate(-10px, calc(-50% + 3px));
|
|
1707
|
-
background-color: ${
|
|
1707
|
+
background-color: ${u.theme.colors.green800};
|
|
1708
1708
|
border-radius: 32px;
|
|
1709
|
-
border: 2px solid ${
|
|
1709
|
+
border: 2px solid ${u.theme.colors.white};
|
|
1710
1710
|
padding: 1px 4px;
|
|
1711
1711
|
display: flex;
|
|
1712
1712
|
flex-direction: column;
|
|
@@ -1723,85 +1723,13 @@
|
|
|
1723
1723
|
top: 0;
|
|
1724
1724
|
left: 0;
|
|
1725
1725
|
height: 3px;
|
|
1726
|
-
background-color: ${
|
|
1726
|
+
background-color: ${u.theme.colors.primaryBase};
|
|
1727
1727
|
transition: width 150ms linear;
|
|
1728
1728
|
`,B.default.div`
|
|
1729
1729
|
a {
|
|
1730
1730
|
text-decoration: none;
|
|
1731
1731
|
}
|
|
1732
|
-
`;const Ve=e=>{var{badgeAmount:a,disabled:
|
|
1733
|
-
margin-top: 13px;
|
|
1734
|
-
&[data-is-mobile='false'] {
|
|
1735
|
-
display: flex;
|
|
1736
|
-
width: 60%;
|
|
1737
|
-
min-width: min(600px, 100%);
|
|
1738
|
-
align-items: center;
|
|
1739
|
-
& > :first-child {
|
|
1740
|
-
margin-right: 18px;
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
`,B.default.div`
|
|
1744
|
-
&[data-is-mobile='false'] {
|
|
1745
|
-
max-width: 540px;
|
|
1746
|
-
}
|
|
1747
|
-
${o.MediaQueries.tdUp} {
|
|
1748
|
-
padding-right: 120px;
|
|
1749
|
-
}
|
|
1750
|
-
`,B.default.div`
|
|
1751
|
-
display: flex;
|
|
1752
|
-
align-items: flex-start;
|
|
1753
|
-
margin-top: 10px;
|
|
1754
|
-
color: ${e=>e.theme.colors.white};
|
|
1755
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1756
|
-
> img {
|
|
1757
|
-
margin-top: 2px;
|
|
1758
|
-
margin-right: 4px;
|
|
1759
|
-
}
|
|
1760
|
-
&[data-is-mobile='false'] {
|
|
1761
|
-
margin-top: 12px;
|
|
1762
|
-
> img {
|
|
1763
|
-
width: 16px;
|
|
1764
|
-
height: 16px;
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
&[data-is-mobile='true'] {
|
|
1768
|
-
> img {
|
|
1769
|
-
width: 14px;
|
|
1770
|
-
height: 14px;
|
|
1771
|
-
}
|
|
1772
|
-
}
|
|
1773
|
-
`;const Ze=B.default.div`
|
|
1774
|
-
position: absolute;
|
|
1775
|
-
z-index: 0;
|
|
1776
|
-
right: 0;
|
|
1777
|
-
bottom: -50px;
|
|
1778
|
-
display: flex;
|
|
1779
|
-
|
|
1780
|
-
align-items: center;
|
|
1781
|
-
|
|
1782
|
-
${o.MediaQueries.mbUp} {
|
|
1783
|
-
img {
|
|
1784
|
-
width: 190px;
|
|
1785
|
-
height: 155px;
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
${o.MediaQueries.mbDown} {
|
|
1789
|
-
width: 70px;
|
|
1790
|
-
}
|
|
1791
|
-
`,Xe="hhgcomp-toolbanner-iconcontainer";d.getDefaultClassWrapper(Ze,Xe),B.default.div`
|
|
1792
|
-
position: relative;
|
|
1793
|
-
z-index: 1;
|
|
1794
|
-
max-width: 100%;
|
|
1795
|
-
${o.MediaQueries.mbUp} {
|
|
1796
|
-
padding: 23px 40px;
|
|
1797
|
-
max-width: calc(100% - 210px);
|
|
1798
|
-
&[data-is-side='true'] {
|
|
1799
|
-
max-width: calc(100% - 120px);
|
|
1800
|
-
}
|
|
1801
|
-
}
|
|
1802
|
-
`;const Je=B.default.div`
|
|
1803
|
-
position: relative;
|
|
1804
|
-
`,Ke="hhgcomp-toolbanner-inner";d.getDefaultClassWrapper(Je,Ke);const et=B.default.div`
|
|
1732
|
+
`;const Ve=e=>{var{badgeAmount:a,disabled:r=!1,hasBadge:o=!1,icon:i,isActive:n=!1,isSpecial:l=!1,label:d}=e,s=p.__rest(e,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return S.default.createElement(He,Object.assign({"data-is-special":l,"data-is-active":n,"data-is-disabled":r},s),S.default.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(d)},o&&S.default.createElement(We,{"data-no-label":!Boolean(d)},S.default.createElement(t.Text,{size:"s5",weight:"semiBold",color:l?u.theme.colors.primaryBase:u.theme.colors.white},a)),i),d&&S.default.createElement("span",{className:"mobile-navigation-label"},d))},Ye=e=>{var{children:t,on:a="",isCollapsed:r=!1,template:o="homepage"}=e,i=p.__rest(e,["children","on","isCollapsed","template"]);return S.default.createElement(qe,Object.assign({on:a,"data-is-collapsed":r,"data-template":o},i),t)};Ye.Icon=Ve;const Ze=B.default.div`
|
|
1805
1733
|
position: relative;
|
|
1806
1734
|
width: 100%;
|
|
1807
1735
|
height: 100%;
|
|
@@ -1817,9 +1745,9 @@
|
|
|
1817
1745
|
border-top-right-radius: 16px;
|
|
1818
1746
|
}
|
|
1819
1747
|
}
|
|
1820
|
-
`,
|
|
1748
|
+
`,Xe="hhgcomp-toolbanner-wrapper",Je=d.getDefaultClassWrapper(Ze,Xe),Ke=B.default.div`
|
|
1821
1749
|
width: 100%;
|
|
1822
|
-
${
|
|
1750
|
+
${i.MediaQueries.mbDown} {
|
|
1823
1751
|
padding-bottom: 24px;
|
|
1824
1752
|
}
|
|
1825
1753
|
|
|
@@ -1832,21 +1760,21 @@
|
|
|
1832
1760
|
a {
|
|
1833
1761
|
text-decoration: underline;
|
|
1834
1762
|
}
|
|
1835
|
-
${
|
|
1763
|
+
${i.MediaQueries.mbDown} {
|
|
1836
1764
|
padding-bottom: 0;
|
|
1837
1765
|
}
|
|
1838
1766
|
}
|
|
1839
1767
|
|
|
1840
|
-
${
|
|
1768
|
+
${i.MediaQueries.tdDown} {
|
|
1841
1769
|
height: auto;
|
|
1842
|
-
.${
|
|
1843
|
-
.${
|
|
1770
|
+
.${Xe} {
|
|
1771
|
+
.${"hhgcomp-toolbanner-inner"} {
|
|
1844
1772
|
display: flex;
|
|
1845
1773
|
align-items: center;
|
|
1846
|
-
${
|
|
1774
|
+
${i.MediaQueries.mbDown} {
|
|
1847
1775
|
justify-content: space-between;
|
|
1848
1776
|
}
|
|
1849
|
-
.${
|
|
1777
|
+
.${"hhgcomp-toolbanner-iconcontainer"} {
|
|
1850
1778
|
position: relative;
|
|
1851
1779
|
right: -50px;
|
|
1852
1780
|
bottom: -20px;
|
|
@@ -1856,25 +1784,25 @@
|
|
|
1856
1784
|
min-height: 0;
|
|
1857
1785
|
align-self: flex-end;
|
|
1858
1786
|
margin-bottom: -20px;
|
|
1859
|
-
${
|
|
1787
|
+
${i.MediaQueries.mbDown} {
|
|
1860
1788
|
right: unset;
|
|
1861
1789
|
}
|
|
1862
1790
|
}
|
|
1863
1791
|
}
|
|
1864
1792
|
}
|
|
1865
1793
|
}
|
|
1866
|
-
`,
|
|
1794
|
+
`,et=B.default.div`
|
|
1867
1795
|
display: flex;
|
|
1868
1796
|
flex-direction: row;
|
|
1869
1797
|
align-items: center;
|
|
1870
1798
|
padding: 16px 24px;
|
|
1871
1799
|
gap: 16px;
|
|
1872
1800
|
width: 100%;
|
|
1873
|
-
background-color: ;
|
|
1874
|
-
${
|
|
1801
|
+
/* background-color: ; */
|
|
1802
|
+
${i.MediaQueries.mbDown} {
|
|
1875
1803
|
padding: 16px 0;
|
|
1876
1804
|
}
|
|
1877
|
-
`,
|
|
1805
|
+
`,tt=B.default.div`
|
|
1878
1806
|
background: #ffffff;
|
|
1879
1807
|
border-radius: 16px;
|
|
1880
1808
|
width: 48px;
|
|
@@ -1889,14 +1817,14 @@
|
|
|
1889
1817
|
max-height: 24px;
|
|
1890
1818
|
transform: translate(-50%, -50%);
|
|
1891
1819
|
}
|
|
1892
|
-
`,
|
|
1820
|
+
`,at=B.default.div`
|
|
1893
1821
|
display: flex;
|
|
1894
1822
|
align-items: flex-start;
|
|
1895
1823
|
flex-direction: column;
|
|
1896
1824
|
justify-content: space-between;
|
|
1897
1825
|
gap: 0;
|
|
1898
1826
|
width: 100%;
|
|
1899
|
-
`,
|
|
1827
|
+
`,rt=B.default.div`
|
|
1900
1828
|
display: flex;
|
|
1901
1829
|
align-items: flex-start;
|
|
1902
1830
|
font-weight: 400;
|
|
@@ -1921,7 +1849,7 @@
|
|
|
1921
1849
|
height: 14px;
|
|
1922
1850
|
}
|
|
1923
1851
|
}
|
|
1924
|
-
`,
|
|
1852
|
+
`,ot=({className:e,heading:o,color:i="blue",isMobile:n,bannerUrl:l,bannerUrlLarge:s,bannerColor:p,medicalReview:c={link:"#",reviewer:"",date:""},icon:u,style:m,siteType:h,isEmbeded:g})=>{var f,x;const{t:b}=a.useTranslations(),y=r.useMantineTheme(),v=n?l:s||l,w={pink:[8,6]},k=y.colors[i]||y.colors.blue,E=(null==c?void 0:c.reviewer)?S.default.createElement(t.Text,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},S.default.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${c.link}">${c.reviewer.trim()}</a>`,date:c.date})}})):null;return S.default.createElement(Ke,{"data-is-mobile":n,style:m,"data-site":h},S.default.createElement(Je,{className:e,"data-banner-url":v,"data-is-mobile":n,"data-site":h,"data-banner-color":p,"data-is-embedded":g,bgColor:`linear-gradient(71deg, ${null==k?void 0:k[(null===(f=w[i])||void 0===f?void 0:f[0])||7]} -4.07%, ${null==k?void 0:k[(null===(x=w[i])||void 0===x?void 0:x[1])||4]} 90.13%)}`},"marryBaby"===h&&g?S.default.createElement(et,null,S.default.createElement(tt,null,u),S.default.createElement(at,null,S.default.createElement(d.Heading,{color:"white",tag:"h5",as:"h2"},o),c&&S.default.createElement(rt,{"data-is-mobile":n},E))):S.default.createElement(r.Flex,{gap:r.rem(24),align:"center",justify:"space-between",sx:{padding:`${r.rem(13)} ${r.rem(20)}`,gap:r.rem(24)}},S.default.createElement(r.Box,null,S.default.createElement(d.Heading,{tag:"h5",as:"h2",color:"#fff"},o),c&&S.default.createElement(t.Text,{size:"n1",as:"div"},E)),S.default.createElement(r.Flex,{justify:"center",align:"center",sx:e=>{var t,a;return{width:r.rem(64),height:r.rem(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[i])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:r.rem(48),maxHeight:r.rem(48)},[e.fn.smallerThan("sm")]:{width:r.rem(56),height:r.rem(56),img:{maxWidth:r.rem(40),maxHeight:r.rem(40)}}}}},u))))},it=B.default(v.Dropdown)`
|
|
1925
1853
|
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
1926
1854
|
background-color: ${e=>e.theme.colors.white};
|
|
1927
1855
|
border-radius: 16px;
|
|
@@ -1937,7 +1865,7 @@
|
|
|
1937
1865
|
overflow-y: auto;
|
|
1938
1866
|
}
|
|
1939
1867
|
|
|
1940
|
-
${e=>e.groupedWithLabel&&
|
|
1868
|
+
${e=>e.groupedWithLabel&&o.css`
|
|
1941
1869
|
& > div:first-child {
|
|
1942
1870
|
color: ${e=>e.theme.mbColors.midGray};
|
|
1943
1871
|
font-size: 12px;
|
|
@@ -1963,7 +1891,7 @@
|
|
|
1963
1891
|
& .displayIcon {
|
|
1964
1892
|
pointer-events: none;
|
|
1965
1893
|
}
|
|
1966
|
-
`;const
|
|
1894
|
+
`;const nt=B.default(s.Input)`
|
|
1967
1895
|
& label {
|
|
1968
1896
|
position: absolute;
|
|
1969
1897
|
z-index: 1;
|
|
@@ -1982,7 +1910,7 @@
|
|
|
1982
1910
|
font-size: 12px;
|
|
1983
1911
|
}
|
|
1984
1912
|
|
|
1985
|
-
${
|
|
1913
|
+
${i.MediaQueries.tdDown} {
|
|
1986
1914
|
max-width: 220px;
|
|
1987
1915
|
}
|
|
1988
1916
|
}
|
|
@@ -2040,19 +1968,19 @@
|
|
|
2040
1968
|
padding-right: 46px;
|
|
2041
1969
|
}
|
|
2042
1970
|
}
|
|
2043
|
-
`,
|
|
1971
|
+
`,lt=B.default.div`
|
|
2044
1972
|
width: 100%;
|
|
2045
|
-
`,
|
|
1973
|
+
`,dt=B.default.div`
|
|
2046
1974
|
#due-date-dropdown {
|
|
2047
1975
|
z-index: 9;
|
|
2048
1976
|
width: 100%;
|
|
2049
1977
|
min-width: unset;
|
|
2050
1978
|
max-width: unset;
|
|
2051
1979
|
|
|
2052
|
-
${
|
|
1980
|
+
${i.MediaQueries.mbDown} {
|
|
2053
1981
|
font-size: 14px;
|
|
2054
1982
|
}
|
|
2055
|
-
${
|
|
1983
|
+
${i.MediaQueries.tdUp} {
|
|
2056
1984
|
font-size: 16px;
|
|
2057
1985
|
&[data-is-side='true'] {
|
|
2058
1986
|
font-size: 14px;
|
|
@@ -2068,7 +1996,7 @@
|
|
|
2068
1996
|
display: flex;
|
|
2069
1997
|
width: 100%;
|
|
2070
1998
|
justify-content: space-between;
|
|
2071
|
-
`,
|
|
1999
|
+
`,st=B.default(lt)`
|
|
2072
2000
|
.due-date-input {
|
|
2073
2001
|
width: 100%;
|
|
2074
2002
|
min-width: unset;
|
|
@@ -2081,14 +2009,14 @@
|
|
|
2081
2009
|
}
|
|
2082
2010
|
input {
|
|
2083
2011
|
&[data-is-side='true'] {
|
|
2084
|
-
${
|
|
2012
|
+
${i.MediaQueries.tdUp} {
|
|
2085
2013
|
font-size: 14px;
|
|
2086
2014
|
}
|
|
2087
2015
|
}
|
|
2088
|
-
${
|
|
2016
|
+
${i.MediaQueries.mbDown} {
|
|
2089
2017
|
font-size: 14px;
|
|
2090
2018
|
}
|
|
2091
|
-
${
|
|
2019
|
+
${i.MediaQueries.tdUp} {
|
|
2092
2020
|
font-size: 16px;
|
|
2093
2021
|
}
|
|
2094
2022
|
}
|
|
@@ -2108,29 +2036,19 @@
|
|
|
2108
2036
|
line-height: 16px;
|
|
2109
2037
|
text-align: right;
|
|
2110
2038
|
}
|
|
2111
|
-
`;const
|
|
2039
|
+
`;const pt=B.default.img`
|
|
2112
2040
|
img& {
|
|
2113
2041
|
width: 16px;
|
|
2114
2042
|
height: 16px;
|
|
2115
2043
|
}
|
|
2116
|
-
`;var
|
|
2044
|
+
`;var ct;B.default(pt)`
|
|
2117
2045
|
margin-right: 4px;
|
|
2118
|
-
`,exports.DueDateCalculatorType=void 0,(
|
|
2119
|
-
padding: 0;
|
|
2120
|
-
background-color: white;
|
|
2121
|
-
`,B.default.div`
|
|
2122
|
-
padding-bottom: 2px;
|
|
2123
|
-
margin: auto;
|
|
2124
|
-
${o.MediaQueries.mbUp} {
|
|
2125
|
-
width: 100%;
|
|
2126
|
-
padding: 24px;
|
|
2127
|
-
}
|
|
2128
|
-
`;const bt=B.default.div`
|
|
2046
|
+
`,exports.DueDateCalculatorType=void 0,(ct=exports.DueDateCalculatorType||(exports.DueDateCalculatorType={}))[ct.lastPeriod=0]="lastPeriod",ct[ct.conception=1]="conception",ct[ct.IVF=2]="IVF";const ut="yyyy-MM-dd",mt=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,ht=B.default.div`
|
|
2129
2047
|
&[data-is-side='true'] {
|
|
2130
2048
|
width: 100%;
|
|
2131
2049
|
margin-bottom: 0;
|
|
2132
2050
|
}
|
|
2133
|
-
${
|
|
2051
|
+
${i.MediaQueries.mbDown} {
|
|
2134
2052
|
width: 100%;
|
|
2135
2053
|
margin-bottom: 0;
|
|
2136
2054
|
}
|
|
@@ -2149,13 +2067,13 @@
|
|
|
2149
2067
|
& > div {
|
|
2150
2068
|
width: calc(50% - 8px);
|
|
2151
2069
|
|
|
2152
|
-
${
|
|
2070
|
+
${i.MediaQueries.mbUp} {
|
|
2153
2071
|
max-width: 186px;
|
|
2154
2072
|
justify-self: left;
|
|
2155
2073
|
}
|
|
2156
2074
|
}
|
|
2157
2075
|
}
|
|
2158
|
-
`,
|
|
2076
|
+
`,gt=B.default.div`
|
|
2159
2077
|
margin-bottom: 20px;
|
|
2160
2078
|
width: 100%;
|
|
2161
2079
|
|
|
@@ -2167,18 +2085,18 @@
|
|
|
2167
2085
|
width: calc(50% - 8px);
|
|
2168
2086
|
}
|
|
2169
2087
|
}
|
|
2170
|
-
`,
|
|
2088
|
+
`,ft=B.default.div`
|
|
2171
2089
|
width: 100%;
|
|
2172
2090
|
display: flex;
|
|
2173
2091
|
justify-content: center;
|
|
2174
|
-
${
|
|
2092
|
+
${i.MediaQueries.mbUp} {
|
|
2175
2093
|
padding: 0 16px;
|
|
2176
2094
|
&[data-is-side='true'] {
|
|
2177
2095
|
margin-top: 24px;
|
|
2178
2096
|
}
|
|
2179
2097
|
}
|
|
2180
2098
|
|
|
2181
|
-
${
|
|
2099
|
+
${i.MediaQueries.mbDown} {
|
|
2182
2100
|
margin-top: 24px;
|
|
2183
2101
|
&[data-site='marryBaby'] {
|
|
2184
2102
|
margin-top: 12px;
|
|
@@ -2191,139 +2109,11 @@
|
|
|
2191
2109
|
button {
|
|
2192
2110
|
width: 100%;
|
|
2193
2111
|
margin: auto;
|
|
2194
|
-
${
|
|
2112
|
+
${i.MediaQueries.mbUp} {
|
|
2195
2113
|
max-width: 200px;
|
|
2196
2114
|
}
|
|
2197
2115
|
}
|
|
2198
|
-
|
|
2199
|
-
${o.MediaQueries.mbUp} {
|
|
2200
|
-
padding-left: 16px;
|
|
2201
|
-
padding-right: 16px;
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
padding-bottom: 60px;
|
|
2205
|
-
`,B.default.div`
|
|
2206
|
-
& > :not(:last-child) {
|
|
2207
|
-
margin-bottom: 28px;
|
|
2208
|
-
}
|
|
2209
|
-
`,B.default.div`
|
|
2210
|
-
${o.MediaQueries.mbUp} {
|
|
2211
|
-
padding-left: 16px;
|
|
2212
|
-
padding-right: 16px;
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
padding-top: 32px;
|
|
2216
|
-
|
|
2217
|
-
color: ${e=>e.theme.colors.gray800};
|
|
2218
|
-
text-align: center;
|
|
2219
|
-
|
|
2220
|
-
& > :last-child {
|
|
2221
|
-
margin-top: 8px;
|
|
2222
|
-
}
|
|
2223
|
-
`,B.default.div`
|
|
2224
|
-
margin-bottom: 32px;
|
|
2225
|
-
|
|
2226
|
-
${o.MediaQueries.mbUp} {
|
|
2227
|
-
padding-left: 16px;
|
|
2228
|
-
padding-right: 16px;
|
|
2229
|
-
}
|
|
2230
|
-
`,B.default.div`
|
|
2231
|
-
margin-bottom: 32px;
|
|
2232
|
-
|
|
2233
|
-
${o.MediaQueries.mbUp} {
|
|
2234
|
-
padding-left: 16px;
|
|
2235
|
-
padding-right: 16px;
|
|
2236
|
-
}
|
|
2237
|
-
`,B.default.div`
|
|
2238
|
-
margin-bottom: 16px;
|
|
2239
|
-
|
|
2240
|
-
${o.MediaQueries.mbUp} {
|
|
2241
|
-
padding-left: 16px;
|
|
2242
|
-
padding-right: 16px;
|
|
2243
|
-
}
|
|
2244
|
-
`,B.default.div`
|
|
2245
|
-
margin-bottom: 24px;
|
|
2246
|
-
|
|
2247
|
-
${o.MediaQueries.mbUp} {
|
|
2248
|
-
padding-left: 16px;
|
|
2249
|
-
padding-right: 16px;
|
|
2250
|
-
}
|
|
2251
|
-
`,B.default.div`
|
|
2252
|
-
margin-bottom: 56px;
|
|
2253
|
-
line-height: 24px;
|
|
2254
|
-
|
|
2255
|
-
& > :first-child {
|
|
2256
|
-
margin-bottom: 8px;
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
${o.MediaQueries.mbUp} {
|
|
2260
|
-
padding-left: 16px;
|
|
2261
|
-
padding-right: 16px;
|
|
2262
|
-
}
|
|
2263
|
-
`,B.default.div`
|
|
2264
|
-
margin-bottom: 56px;
|
|
2265
|
-
|
|
2266
|
-
& > :first-child {
|
|
2267
|
-
margin-bottom: 8px;
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
${o.MediaQueries.mbUp} {
|
|
2271
|
-
padding-left: 16px;
|
|
2272
|
-
padding-right: 16px;
|
|
2273
|
-
}
|
|
2274
|
-
`,B.default.div`
|
|
2275
|
-
padding-top: 32px;
|
|
2276
|
-
|
|
2277
|
-
& > div {
|
|
2278
|
-
margin-bottom: 24px;
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
${o.MediaQueries.mbUp} {
|
|
2282
|
-
padding-left: 16px;
|
|
2283
|
-
padding-right: 16px;
|
|
2284
|
-
}
|
|
2285
|
-
`,B.default.div`
|
|
2286
|
-
padding: 68px 0 56px 0;
|
|
2287
|
-
|
|
2288
|
-
${o.MediaQueries.mbUp} {
|
|
2289
|
-
padding: 84px 0 72px 0;
|
|
2290
|
-
}
|
|
2291
|
-
`,B.default.div`
|
|
2292
|
-
display: flex;
|
|
2293
|
-
gap: 10px;
|
|
2294
|
-
line-height: 1;
|
|
2295
|
-
span {
|
|
2296
|
-
overflow: hidden;
|
|
2297
|
-
text-overflow: ellipsis;
|
|
2298
|
-
-webkit-line-clamp: 2;
|
|
2299
|
-
display: -webkit-box;
|
|
2300
|
-
-webkit-box-orient: vertical;
|
|
2301
|
-
}
|
|
2302
|
-
${o.MediaQueries.mbUp} {
|
|
2303
|
-
padding-right: 16px;
|
|
2304
|
-
padding-bottom: 10px;
|
|
2305
|
-
flex-wrap: wrap;
|
|
2306
|
-
align-items: center;
|
|
2307
|
-
justify-content: space-between;
|
|
2308
|
-
&[data-is-side='true'] {
|
|
2309
|
-
width: 100%;
|
|
2310
|
-
margin-bottom: 15px;
|
|
2311
|
-
justify-content: unset;
|
|
2312
|
-
.label {
|
|
2313
|
-
margin-bottom: 9px;
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
}
|
|
2317
|
-
|
|
2318
|
-
${o.MediaQueries.mbDown} {
|
|
2319
|
-
width: 100%;
|
|
2320
|
-
margin-bottom: 15px;
|
|
2321
|
-
|
|
2322
|
-
.label {
|
|
2323
|
-
margin-bottom: 9px;
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
`;const wt=B.default.div`
|
|
2116
|
+
`,xt=B.default.div`
|
|
2327
2117
|
width: 100%;
|
|
2328
2118
|
display: flex;
|
|
2329
2119
|
flex-wrap: wrap;
|
|
@@ -2333,13 +2123,13 @@
|
|
|
2333
2123
|
flex-direction: column;
|
|
2334
2124
|
}
|
|
2335
2125
|
|
|
2336
|
-
${
|
|
2126
|
+
${i.MediaQueries.mbDown} {
|
|
2337
2127
|
flex-direction: column;
|
|
2338
2128
|
.input-section {
|
|
2339
2129
|
width: 100%;
|
|
2340
2130
|
}
|
|
2341
2131
|
}
|
|
2342
|
-
`,
|
|
2132
|
+
`,bt=B.default.div`
|
|
2343
2133
|
position: relative;
|
|
2344
2134
|
width: calc(50% - 8px);
|
|
2345
2135
|
|
|
@@ -2348,7 +2138,7 @@
|
|
|
2348
2138
|
margin-bottom: 9px;
|
|
2349
2139
|
}
|
|
2350
2140
|
}
|
|
2351
|
-
${
|
|
2141
|
+
${i.MediaQueries.mbDown} {
|
|
2352
2142
|
.label {
|
|
2353
2143
|
margin-bottom: 9px;
|
|
2354
2144
|
}
|
|
@@ -2366,11 +2156,11 @@
|
|
|
2366
2156
|
overflow-y: scroll;
|
|
2367
2157
|
}
|
|
2368
2158
|
}
|
|
2369
|
-
`,
|
|
2159
|
+
`,yt=B.default.div`
|
|
2370
2160
|
margin-bottom: 24px;
|
|
2371
2161
|
width: 100%;
|
|
2372
2162
|
|
|
2373
|
-
${
|
|
2163
|
+
${i.MediaQueries.mbUp} {
|
|
2374
2164
|
padding: 0 16px;
|
|
2375
2165
|
}
|
|
2376
2166
|
.card {
|
|
@@ -2390,13 +2180,13 @@
|
|
|
2390
2180
|
}
|
|
2391
2181
|
|
|
2392
2182
|
& > div {
|
|
2393
|
-
${
|
|
2183
|
+
${i.MediaQueries.mbUp} {
|
|
2394
2184
|
width: calc(18% - 4px);
|
|
2395
2185
|
max-width: 186px;
|
|
2396
2186
|
justify-self: left;
|
|
2397
2187
|
}
|
|
2398
2188
|
|
|
2399
|
-
${
|
|
2189
|
+
${i.MediaQueries.mbDown} {
|
|
2400
2190
|
width: calc(31% - 8px);
|
|
2401
2191
|
max-width: 109px;
|
|
2402
2192
|
justify-self: left;
|
|
@@ -2416,27 +2206,27 @@
|
|
|
2416
2206
|
padding-top: 8px;
|
|
2417
2207
|
padding-bottom: 16px;
|
|
2418
2208
|
}
|
|
2419
|
-
`,
|
|
2209
|
+
`,vt=B.default.form`
|
|
2420
2210
|
margin: auto;
|
|
2421
|
-
${
|
|
2211
|
+
${i.MediaQueries.mbUp} {
|
|
2422
2212
|
width: 100%;
|
|
2423
2213
|
padding: 20px;
|
|
2424
2214
|
display: flex;
|
|
2425
2215
|
justify-content: space-between;
|
|
2426
2216
|
flex-wrap: wrap;
|
|
2427
2217
|
}
|
|
2428
|
-
${
|
|
2218
|
+
${i.MediaQueries.mbDown} {
|
|
2429
2219
|
padding: 16px;
|
|
2430
2220
|
}
|
|
2431
2221
|
.due-date-calculate-button {
|
|
2432
2222
|
width: 100%;
|
|
2433
2223
|
margin: 12px auto 0;
|
|
2434
|
-
${
|
|
2224
|
+
${i.MediaQueries.mbUp} {
|
|
2435
2225
|
max-width: 200px;
|
|
2436
2226
|
}
|
|
2437
2227
|
}
|
|
2438
2228
|
&[data-is-side='true'] {
|
|
2439
|
-
${
|
|
2229
|
+
${i.MediaQueries.mbUp} {
|
|
2440
2230
|
padding: 24px 40px 0px 40px;
|
|
2441
2231
|
}
|
|
2442
2232
|
}
|
|
@@ -2449,17 +2239,17 @@
|
|
|
2449
2239
|
.input-form {
|
|
2450
2240
|
display: flex;
|
|
2451
2241
|
|
|
2452
|
-
${
|
|
2242
|
+
${i.MediaQueries.mbUp} {
|
|
2453
2243
|
margin-bottom: 24px;
|
|
2454
2244
|
width: calc(50% - 8px);
|
|
2455
2245
|
}
|
|
2456
2246
|
&[data-is-side='true'] {
|
|
2457
|
-
${
|
|
2247
|
+
${i.MediaQueries.mbUp} {
|
|
2458
2248
|
margin-bottom: 8px;
|
|
2459
2249
|
width: 100%;
|
|
2460
2250
|
}
|
|
2461
2251
|
}
|
|
2462
|
-
${
|
|
2252
|
+
${i.MediaQueries.mbDown} {
|
|
2463
2253
|
margin-bottom: 8px;
|
|
2464
2254
|
}
|
|
2465
2255
|
.label-text {
|
|
@@ -2474,15 +2264,15 @@
|
|
|
2474
2264
|
display: flex;
|
|
2475
2265
|
width: calc(50% - 8px);
|
|
2476
2266
|
|
|
2477
|
-
${
|
|
2267
|
+
${i.MediaQueries.mbUp} {
|
|
2478
2268
|
margin-bottom: 24px;
|
|
2479
2269
|
}
|
|
2480
2270
|
&[data-is-side='true'] {
|
|
2481
|
-
${
|
|
2271
|
+
${i.MediaQueries.mbUp} {
|
|
2482
2272
|
margin-bottom: 8px;
|
|
2483
2273
|
}
|
|
2484
2274
|
}
|
|
2485
|
-
${
|
|
2275
|
+
${i.MediaQueries.mbDown} {
|
|
2486
2276
|
margin-bottom: 8px;
|
|
2487
2277
|
width: 100%;
|
|
2488
2278
|
}
|
|
@@ -2496,14 +2286,14 @@
|
|
|
2496
2286
|
}
|
|
2497
2287
|
.day-slider {
|
|
2498
2288
|
width: 100%;
|
|
2499
|
-
${
|
|
2289
|
+
${i.MediaQueries.mbUp} {
|
|
2500
2290
|
width: calc(50% - 8px);
|
|
2501
2291
|
&[data-is-side='true'] {
|
|
2502
2292
|
width: 100%;
|
|
2503
2293
|
}
|
|
2504
2294
|
}
|
|
2505
2295
|
}
|
|
2506
|
-
|
|
2296
|
+
`,wt="hhgcomp-embedtoolcard-content",kt=d.getDefaultClassWrapper(vt,wt),Et=B.default.div`
|
|
2507
2297
|
padding: 0;
|
|
2508
2298
|
background-color: white;
|
|
2509
2299
|
border: 1px solid #e4e8ec;
|
|
@@ -2514,11 +2304,11 @@
|
|
|
2514
2304
|
border-radius: 16px;
|
|
2515
2305
|
}
|
|
2516
2306
|
.due-date-cal {
|
|
2517
|
-
.${
|
|
2518
|
-
${
|
|
2307
|
+
.${wt} {
|
|
2308
|
+
${i.MediaQueries.mbUp} {
|
|
2519
2309
|
padding: 24px;
|
|
2520
2310
|
}
|
|
2521
|
-
${
|
|
2311
|
+
${i.MediaQueries.mbDown} {
|
|
2522
2312
|
padding: 16px;
|
|
2523
2313
|
}
|
|
2524
2314
|
}
|
|
@@ -2546,17 +2336,17 @@
|
|
|
2546
2336
|
}
|
|
2547
2337
|
.input-form {
|
|
2548
2338
|
display: flex;
|
|
2549
|
-
${
|
|
2339
|
+
${i.MediaQueries.mbUp} {
|
|
2550
2340
|
width: calc(50% - 8px);
|
|
2551
2341
|
margin-bottom: 24px;
|
|
2552
2342
|
}
|
|
2553
2343
|
&[data-is-side='true'] {
|
|
2554
|
-
${
|
|
2344
|
+
${i.MediaQueries.mbUp} {
|
|
2555
2345
|
margin-bottom: 12px;
|
|
2556
2346
|
width: 100%;
|
|
2557
2347
|
}
|
|
2558
2348
|
}
|
|
2559
|
-
${
|
|
2349
|
+
${i.MediaQueries.mbDown} {
|
|
2560
2350
|
margin-bottom: 8px;
|
|
2561
2351
|
}
|
|
2562
2352
|
}
|
|
@@ -2599,7 +2389,7 @@
|
|
|
2599
2389
|
}
|
|
2600
2390
|
.input-form {
|
|
2601
2391
|
display: flex;
|
|
2602
|
-
${
|
|
2392
|
+
${i.MediaQueries.mbUp} {
|
|
2603
2393
|
width: calc(50% - 8px);
|
|
2604
2394
|
margin-bottom: 24px;
|
|
2605
2395
|
&[data-is-side='true'] {
|
|
@@ -2607,7 +2397,7 @@
|
|
|
2607
2397
|
width: 100%;
|
|
2608
2398
|
}
|
|
2609
2399
|
}
|
|
2610
|
-
${
|
|
2400
|
+
${i.MediaQueries.mbDown} {
|
|
2611
2401
|
margin-bottom: 8px;
|
|
2612
2402
|
}
|
|
2613
2403
|
}
|
|
@@ -2618,7 +2408,7 @@
|
|
|
2618
2408
|
flex-wrap: wrap;
|
|
2619
2409
|
justify-content: space-between;
|
|
2620
2410
|
}
|
|
2621
|
-
${
|
|
2411
|
+
${i.MediaQueries.mbDown} {
|
|
2622
2412
|
display: flex;
|
|
2623
2413
|
flex-wrap: wrap;
|
|
2624
2414
|
justify-content: space-between;
|
|
@@ -2627,22 +2417,22 @@
|
|
|
2627
2417
|
.hide-asking-mobile {
|
|
2628
2418
|
gap: 10px;
|
|
2629
2419
|
&[data-is-side='true'] {
|
|
2630
|
-
${
|
|
2420
|
+
${i.MediaQueries.mbUp} {
|
|
2631
2421
|
display: none;
|
|
2632
2422
|
}
|
|
2633
2423
|
}
|
|
2634
|
-
${
|
|
2424
|
+
${i.MediaQueries.mbDown} {
|
|
2635
2425
|
display: none;
|
|
2636
2426
|
}
|
|
2637
2427
|
}
|
|
2638
2428
|
.hide-asking-desk {
|
|
2639
2429
|
gap: 10px;
|
|
2640
2430
|
&[data-is-side='true'] {
|
|
2641
|
-
${
|
|
2431
|
+
${i.MediaQueries.mbUp} {
|
|
2642
2432
|
display: unset;
|
|
2643
2433
|
}
|
|
2644
2434
|
}
|
|
2645
|
-
${
|
|
2435
|
+
${i.MediaQueries.mbUp} {
|
|
2646
2436
|
display: none;
|
|
2647
2437
|
}
|
|
2648
2438
|
}
|
|
@@ -2655,20 +2445,20 @@
|
|
|
2655
2445
|
background-size: contain;
|
|
2656
2446
|
content: '';
|
|
2657
2447
|
}
|
|
2658
|
-
`,
|
|
2448
|
+
`,Ct=B.default(te)`
|
|
2659
2449
|
&[data-direction='horizontal'] div[data-type='circle'] {
|
|
2660
2450
|
margin-right: 8px;
|
|
2661
2451
|
}
|
|
2662
2452
|
label {
|
|
2663
2453
|
font-size: 14px;
|
|
2664
2454
|
}
|
|
2665
|
-
`,
|
|
2455
|
+
`,Dt=B.default(g.Button)`
|
|
2666
2456
|
margin: 0 auto 24px;
|
|
2667
|
-
${
|
|
2457
|
+
${i.MediaQueries.mbUp} {
|
|
2668
2458
|
max-width: 200px;
|
|
2669
2459
|
margin: 24px auto;
|
|
2670
2460
|
}
|
|
2671
|
-
|
|
2461
|
+
`,$t=B.default(d.PureInput)`
|
|
2672
2462
|
&.bmi--input {
|
|
2673
2463
|
+ .bmi--input {
|
|
2674
2464
|
margin-top: 24px;
|
|
@@ -2690,7 +2480,7 @@
|
|
|
2690
2480
|
width: 100%;
|
|
2691
2481
|
gap: 16px;
|
|
2692
2482
|
> div {
|
|
2693
|
-
${
|
|
2483
|
+
${i.MediaQueries.mbDown} {
|
|
2694
2484
|
width: calc(50% - 8px);
|
|
2695
2485
|
}
|
|
2696
2486
|
width: calc(33% - 8px);
|
|
@@ -2706,7 +2496,7 @@
|
|
|
2706
2496
|
}
|
|
2707
2497
|
.bmi-side-embed {
|
|
2708
2498
|
> div {
|
|
2709
|
-
${
|
|
2499
|
+
${i.MediaQueries.mbUp} {
|
|
2710
2500
|
width: calc(50% - 8px);
|
|
2711
2501
|
}
|
|
2712
2502
|
}
|
|
@@ -2716,7 +2506,7 @@
|
|
|
2716
2506
|
}
|
|
2717
2507
|
}
|
|
2718
2508
|
|
|
2719
|
-
${
|
|
2509
|
+
${i.MediaQueries.mbDown} {
|
|
2720
2510
|
&.bmi--input {
|
|
2721
2511
|
.bmi--input-radio_gender {
|
|
2722
2512
|
> div {
|
|
@@ -2728,9 +2518,9 @@
|
|
|
2728
2518
|
}
|
|
2729
2519
|
}
|
|
2730
2520
|
}
|
|
2731
|
-
`,
|
|
2521
|
+
`,St=B.default.div`
|
|
2732
2522
|
width: 100%;
|
|
2733
|
-
`,
|
|
2523
|
+
`,Bt=B.default.div`
|
|
2734
2524
|
margin-bottom: 1rem;
|
|
2735
2525
|
display: flex;
|
|
2736
2526
|
flex-direction: column;
|
|
@@ -2751,23 +2541,8 @@
|
|
|
2751
2541
|
font-size: 12px;
|
|
2752
2542
|
}
|
|
2753
2543
|
}
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
flex-direction: column;
|
|
2757
|
-
#thr-dropdown {
|
|
2758
|
-
z-index: 10;
|
|
2759
|
-
width: 100%;
|
|
2760
|
-
min-width: unset;
|
|
2761
|
-
max-width: unset;
|
|
2762
|
-
color: ${e=>e.theme.colors.gray800};
|
|
2763
|
-
& > ul {
|
|
2764
|
-
z-index: 1;
|
|
2765
|
-
max-height: 300px;
|
|
2766
|
-
overflow-y: scroll;
|
|
2767
|
-
}
|
|
2768
|
-
}
|
|
2769
|
-
`;const It=B.default.div`
|
|
2770
|
-
${o.MediaQueries.mbUp} {
|
|
2544
|
+
`,zt=B.default.div`
|
|
2545
|
+
${i.MediaQueries.mbUp} {
|
|
2771
2546
|
display: flex;
|
|
2772
2547
|
width: 100%;
|
|
2773
2548
|
align-items: flex-start;
|
|
@@ -2777,30 +2552,30 @@
|
|
|
2777
2552
|
width: 100%;
|
|
2778
2553
|
}
|
|
2779
2554
|
&[data-is-side='true'] {
|
|
2780
|
-
${
|
|
2555
|
+
${i.MediaQueries.mbUp} {
|
|
2781
2556
|
display: flex;
|
|
2782
2557
|
flex-direction: column;
|
|
2783
2558
|
gap: 0px;
|
|
2784
2559
|
}
|
|
2785
2560
|
}
|
|
2786
2561
|
}
|
|
2787
|
-
${
|
|
2562
|
+
${i.MediaQueries.mbDown} {
|
|
2788
2563
|
display: flex;
|
|
2789
2564
|
flex-direction: column;
|
|
2790
2565
|
gap: 0px;
|
|
2791
2566
|
}
|
|
2792
|
-
`,
|
|
2567
|
+
`,Mt=B.default.div`
|
|
2793
2568
|
padding-block: 40px;
|
|
2794
2569
|
|
|
2795
2570
|
&[data-theme='marryBaby'] {
|
|
2796
2571
|
padding-block: 0;
|
|
2797
2572
|
padding-top: 12px;
|
|
2798
2573
|
}
|
|
2799
|
-
`,
|
|
2574
|
+
`,Pt=B.default.form`
|
|
2800
2575
|
display: flex;
|
|
2801
2576
|
flex-direction: column;
|
|
2802
2577
|
gap: 16px;
|
|
2803
|
-
`,
|
|
2578
|
+
`,Tt=B.default.div`
|
|
2804
2579
|
display: flex;
|
|
2805
2580
|
flex-direction: column;
|
|
2806
2581
|
gap: 6px;
|
|
@@ -2809,11 +2584,11 @@
|
|
|
2809
2584
|
.error-input input {
|
|
2810
2585
|
border: 1px solid ${e=>e.theme.colors.red700};
|
|
2811
2586
|
}
|
|
2812
|
-
`,
|
|
2587
|
+
`,It=B.default(y.Label)`
|
|
2813
2588
|
display: inline-flex;
|
|
2814
2589
|
padding-bottom: 6px;
|
|
2815
2590
|
gap: 4px;
|
|
2816
|
-
`,
|
|
2591
|
+
`,Nt=B.default.div`
|
|
2817
2592
|
display: flex;
|
|
2818
2593
|
width: 100%;
|
|
2819
2594
|
align-items: center;
|
|
@@ -2822,36 +2597,11 @@
|
|
|
2822
2597
|
> div {
|
|
2823
2598
|
width: 100%;
|
|
2824
2599
|
}
|
|
2825
|
-
|
|
2826
|
-
${o.MediaQueries.mbUp} {
|
|
2827
|
-
padding: 0 16px;
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
|
-
margin-bottom: 24px;
|
|
2831
|
-
|
|
2832
|
-
& > :not(:last-child) {
|
|
2833
|
-
margin-bottom: 8px;
|
|
2834
|
-
}
|
|
2835
|
-
|
|
2836
|
-
.gender-selector {
|
|
2837
|
-
& > :not(:last-child) {
|
|
2838
|
-
margin-right: 16px;
|
|
2839
|
-
}
|
|
2840
|
-
|
|
2841
|
-
& > div {
|
|
2842
|
-
width: calc(50% - 8px);
|
|
2843
|
-
|
|
2844
|
-
${o.MediaQueries.mbUp} {
|
|
2845
|
-
max-width: 186px;
|
|
2846
|
-
justify-self: left;
|
|
2847
|
-
}
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
`;const Qt=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},Ut=B.default.div`
|
|
2600
|
+
`,At=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},jt=B.default.div`
|
|
2851
2601
|
padding: 36px;
|
|
2852
2602
|
padding-top: 0;
|
|
2853
2603
|
background-color: white;
|
|
2854
|
-
${
|
|
2604
|
+
${i.MediaQueries.mbDown} {
|
|
2855
2605
|
padding: 16px;
|
|
2856
2606
|
padding-top: 0;
|
|
2857
2607
|
}
|
|
@@ -2860,13 +2610,13 @@
|
|
|
2860
2610
|
padding: 24px;
|
|
2861
2611
|
border-bottom-right-radius: 16px;
|
|
2862
2612
|
border-bottom-left-radius: 16px;
|
|
2863
|
-
${
|
|
2613
|
+
${i.MediaQueries.mbDown} {
|
|
2864
2614
|
padding: 16px;
|
|
2865
2615
|
}
|
|
2866
2616
|
}
|
|
2867
|
-
`,
|
|
2617
|
+
`,_t=B.default((({onSubmit:o,onError:i,schema:n,siteType:l})=>{const{t:p}=a.useTranslations(),c="mb"===r.useMantineTheme().other.template,{control:h,setValue:y,watch:v,handleSubmit:w,formState:{isSubmitted:k}}=x.useForm({resolver:f.yupResolver(n),mode:"onSubmit",defaultValues:{name:"",gender:m.Gender.Boy,measurementDate:new Date}}),E=v("weight"),C=v("height"),D=v("head"),$=e.useMemo((()=>k&&!E&&!C&&!D),[k,E,C,D]);e.useEffect((()=>{const e=At(C,E);y("bmi",String(e)||"0")}),[E,C]);const B=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(Mt,{"data-theme":l},S.default.createElement(Pt,{onSubmit:w(o,i)},S.default.createElement(x.Controller,{control:h,name:"gender",render:({field:{onChange:e,value:t}})=>S.default.createElement(b.BabyGrowthGender,{onChange:e,value:t,siteType:l})}),"marryBaby"===l?S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:h,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:p("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:S.default.createElement(G,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:t=>S.default.createElement(s.Input,Object.assign({onChange:e,className:(null==r?void 0:r.message)?"error-input":"",name:"birthday",size:"md"},t,{value:a&&z.default(a).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:h,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:`${p("babyGrowth.height")} ${p("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:h,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:`${p("babyGrowth.weight")} ${p("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:h,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:`${p("babyGrowth.headCircumference")} ${p("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:h,name:"bmi",render:({field:{value:e}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:`${p("babyGrowth.input.bmi")} ${p("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:S.default.createElement(s.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),S.default.createElement(x.Controller,{control:h,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(nt,{label:p("babyGrowth.input.measurementDate"),name:"date",size:"md",value:mt(a),CustomInput:S.default.createElement(G,{placeholder:a&&z.default(a).format(d.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:t=>S.default.createElement(s.Input,Object.assign({className:(null==r?void 0:r.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&z.default(a).format(d.DUE_DATE_FORMAT),onChange:e},t,{value:a&&z.default(a).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(g.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":B},p("babyGrowth.input.submit"))):S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:h,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"birthday"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.birthday"))),S.default.createElement(G,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>S.default.createElement(s.Input,Object.assign({onChange:e,className:(null==r?void 0:r.message)?"error-input":"",name:"birthday",size:"md",actionIcon:S.default.createElement(t.Icon.Calendar,null)},o,{value:a&&z.default(a).format(d.DUE_DATE_FORMAT)}))}))}),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:h,name:"height",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"height"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.height")),S.default.createElement(t.Text,{as:"span",size:"n1",color:u.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(s.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:h,name:"weight",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"weight"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.weight")),S.default.createElement(t.Text,{as:"span",size:"n1",color:u.theme.colors.gray400},p("babyGrowth.kg"))),S.default.createElement(s.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:h,name:"head",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"head"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.headCircumference")),S.default.createElement(t.Text,{as:"span",size:"n1",color:u.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(s.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:h,name:"bmi",render:({field:{value:e}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"bmi"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.input.bmi")),S.default.createElement(t.Text,{as:"span",size:"n1",color:u.theme.colors.gray400},p("babyGrowth.kg.m2"))),S.default.createElement(s.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),S.default.createElement(x.Controller,{control:h,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Tt,null,S.default.createElement(It,{size:"label1",htmlFor:"measurementDate"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.measurementDate"))),S.default.createElement(G,{placeholder:a&&z.default(a).format(d.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:o=>S.default.createElement(s.Input,Object.assign({className:(null==r?void 0:r.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&z.default(a).format(d.DUE_DATE_FORMAT),onChange:e,actionIcon:S.default.createElement(t.Icon.Calendar,null)},o,{value:a&&z.default(a).format(d.DUE_DATE_FORMAT)}))}))}),S.default.createElement(g.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":B},p("babyGrowth.input.submit"))))))}))`
|
|
2868
2618
|
padding-block: 0;
|
|
2869
|
-
`;B.default(
|
|
2619
|
+
`;B.default(ot)`
|
|
2870
2620
|
padding-inline: 20px;
|
|
2871
2621
|
|
|
2872
2622
|
img.embedded-icon {
|
|
@@ -2875,7 +2625,7 @@
|
|
|
2875
2625
|
align-self: center;
|
|
2876
2626
|
}
|
|
2877
2627
|
|
|
2878
|
-
${
|
|
2628
|
+
${i.MediaQueries.mbDown} {
|
|
2879
2629
|
padding-inline: 0;
|
|
2880
2630
|
img.embedded-icon {
|
|
2881
2631
|
width: 125px;
|
|
@@ -2888,7 +2638,7 @@
|
|
|
2888
2638
|
max-width: 200px;
|
|
2889
2639
|
}
|
|
2890
2640
|
}
|
|
2891
|
-
`;var
|
|
2641
|
+
`;var Ot=r.createStyles(((e,t)=>{const{isMarryBaby:a,isSide:r,direction:o}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===o?{flexDirection:"row"}:{flexDirection:"column"===o?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${h.CommonGAssets.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===o?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===o?{width:"80%",alignSelf:"center"}:"row"===o?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===o?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===o?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:r||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===o?{left:"16px",height:40}:"row"===o?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===o?{height:50,right:"40px",left:"unset"}:{})})}}));const Ft=B.default.div`
|
|
2892
2642
|
display: flex;
|
|
2893
2643
|
width: 100%;
|
|
2894
2644
|
|
|
@@ -2899,7 +2649,7 @@
|
|
|
2899
2649
|
&[data-direction='horizontal'] {
|
|
2900
2650
|
flex-wrap: wrap;
|
|
2901
2651
|
}
|
|
2902
|
-
`,
|
|
2652
|
+
`,Rt=B.default.div`
|
|
2903
2653
|
display: flex;
|
|
2904
2654
|
|
|
2905
2655
|
padding: 8px;
|
|
@@ -2945,111 +2695,13 @@
|
|
|
2945
2695
|
height: 36px;
|
|
2946
2696
|
object-fit: contain;
|
|
2947
2697
|
}
|
|
2948
|
-
`,
|
|
2698
|
+
`,Gt=B.default(g.Button)`
|
|
2949
2699
|
margin: 0 auto 24px;
|
|
2950
2700
|
width: 100%;
|
|
2951
|
-
${
|
|
2701
|
+
${i.MediaQueries.mbUp} {
|
|
2952
2702
|
max-width: 200px;
|
|
2953
2703
|
}
|
|
2954
|
-
|
|
2955
|
-
display: flex;
|
|
2956
|
-
gap: 10px;
|
|
2957
|
-
line-height: 1;
|
|
2958
|
-
span {
|
|
2959
|
-
overflow: hidden;
|
|
2960
|
-
text-overflow: ellipsis;
|
|
2961
|
-
-webkit-line-clamp: 2;
|
|
2962
|
-
display: -webkit-box;
|
|
2963
|
-
-webkit-box-orient: vertical;
|
|
2964
|
-
}
|
|
2965
|
-
${o.MediaQueries.mbUp} {
|
|
2966
|
-
padding-right: 16px;
|
|
2967
|
-
padding-bottom: 10px;
|
|
2968
|
-
flex-wrap: wrap;
|
|
2969
|
-
align-items: center;
|
|
2970
|
-
&[data-is-side='true'] {
|
|
2971
|
-
width: 100%;
|
|
2972
|
-
justify-content: unset;
|
|
2973
|
-
.label {
|
|
2974
|
-
margin-bottom: 9px;
|
|
2975
|
-
}
|
|
2976
|
-
}
|
|
2977
|
-
}
|
|
2978
|
-
&[data-is-side='true'] {
|
|
2979
|
-
${o.MediaQueries.mbDown} {
|
|
2980
|
-
width: 100%;
|
|
2981
|
-
.label {
|
|
2982
|
-
margin-bottom: 9px;
|
|
2983
|
-
}
|
|
2984
|
-
}
|
|
2985
|
-
}
|
|
2986
|
-
${o.MediaQueries.mbDown} {
|
|
2987
|
-
width: 100%;
|
|
2988
|
-
.label {
|
|
2989
|
-
margin-bottom: 9px;
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
`,B.default(d.PureInput)`
|
|
2993
|
-
&.bmi--input {
|
|
2994
|
-
+ .bmi--input {
|
|
2995
|
-
margin-top: 24px;
|
|
2996
|
-
}
|
|
2997
|
-
.inputLabel {
|
|
2998
|
-
display: inline-block;
|
|
2999
|
-
margin-bottom: 5px;
|
|
3000
|
-
color: #595959;
|
|
3001
|
-
font-weight: bold;
|
|
3002
|
-
font-size: 12px;
|
|
3003
|
-
}
|
|
3004
|
-
.errorLabel {
|
|
3005
|
-
line-height: 1.3;
|
|
3006
|
-
}
|
|
3007
|
-
input[type='radio'] {
|
|
3008
|
-
padding: 0;
|
|
3009
|
-
}
|
|
3010
|
-
.bmi--input-radio_gender {
|
|
3011
|
-
width: 100%;
|
|
3012
|
-
gap: 16px;
|
|
3013
|
-
> div {
|
|
3014
|
-
width: calc(50% - 8px);
|
|
3015
|
-
}
|
|
3016
|
-
& > div > div {
|
|
3017
|
-
display: flex;
|
|
3018
|
-
flex-direction: row;
|
|
3019
|
-
justify-content: center;
|
|
3020
|
-
align-content: center;
|
|
3021
|
-
gap: 8px;
|
|
3022
|
-
padding-block: 5px;
|
|
3023
|
-
}
|
|
3024
|
-
}
|
|
3025
|
-
.radio-group-item-heading {
|
|
3026
|
-
margin-top: 0;
|
|
3027
|
-
}
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
${o.MediaQueries.mbUp} {
|
|
3031
|
-
&.bmi--input {
|
|
3032
|
-
.bmi--input-radio_gender {
|
|
3033
|
-
> div {
|
|
3034
|
-
max-width: 186px;
|
|
3035
|
-
}
|
|
3036
|
-
}
|
|
3037
|
-
}
|
|
3038
|
-
}
|
|
3039
|
-
|
|
3040
|
-
${o.MediaQueries.mbDown} {
|
|
3041
|
-
&.bmi--input {
|
|
3042
|
-
.bmi--input-radio_gender {
|
|
3043
|
-
> div {
|
|
3044
|
-
.gender-image {
|
|
3045
|
-
width: 40px;
|
|
3046
|
-
height: 40px;
|
|
3047
|
-
}
|
|
3048
|
-
}
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
3051
|
-
}
|
|
3052
|
-
`;const qt=B.default.div``,Wt=B.default.div`
|
|
2704
|
+
`,Lt=B.default.div``,Qt=B.default.div`
|
|
3053
2705
|
display: flex;
|
|
3054
2706
|
flex-direction: column;
|
|
3055
2707
|
gap: 16px;
|
|
@@ -3071,8 +2723,8 @@
|
|
|
3071
2723
|
font-size: 12px;
|
|
3072
2724
|
}
|
|
3073
2725
|
}
|
|
3074
|
-
`,
|
|
3075
|
-
${
|
|
2726
|
+
`,Ut=B.default.div`
|
|
2727
|
+
${i.MediaQueries.mbUp} {
|
|
3076
2728
|
display: flex;
|
|
3077
2729
|
width: 100%;
|
|
3078
2730
|
align-items: flex-start;
|
|
@@ -3084,86 +2736,26 @@
|
|
|
3084
2736
|
}
|
|
3085
2737
|
}
|
|
3086
2738
|
|
|
3087
|
-
${
|
|
2739
|
+
${i.MediaQueries.mbDown} {
|
|
3088
2740
|
display: flex;
|
|
3089
2741
|
flex-direction: column;
|
|
3090
2742
|
gap: 16px;
|
|
3091
2743
|
margin-bottom: 8px;
|
|
3092
2744
|
}
|
|
3093
2745
|
&[data-is-side='true'] {
|
|
3094
|
-
${
|
|
2746
|
+
${i.MediaQueries.mbUp} {
|
|
3095
2747
|
display: flex;
|
|
3096
2748
|
flex-direction: column-reverse;
|
|
3097
2749
|
gap: 0px;
|
|
3098
2750
|
}
|
|
3099
2751
|
}
|
|
3100
|
-
`,
|
|
2752
|
+
`,Ht=B.default(g.Button)`
|
|
3101
2753
|
margin: 0 auto 24px;
|
|
3102
|
-
${
|
|
2754
|
+
${i.MediaQueries.mbUp} {
|
|
3103
2755
|
max-width: 200px;
|
|
3104
2756
|
margin: 24px auto;
|
|
3105
2757
|
}
|
|
3106
|
-
|
|
3107
|
-
&.bmi--input {
|
|
3108
|
-
+ .bmi--input {
|
|
3109
|
-
margin-top: 24px;
|
|
3110
|
-
}
|
|
3111
|
-
.inputLabel {
|
|
3112
|
-
display: inline-block;
|
|
3113
|
-
margin-bottom: 5px;
|
|
3114
|
-
color: #595959;
|
|
3115
|
-
font-weight: bold;
|
|
3116
|
-
font-size: 12px;
|
|
3117
|
-
}
|
|
3118
|
-
.errorLabel {
|
|
3119
|
-
line-height: 1.3;
|
|
3120
|
-
}
|
|
3121
|
-
input[type='radio'] {
|
|
3122
|
-
padding: 0;
|
|
3123
|
-
}
|
|
3124
|
-
.bmi--input-radio_gender {
|
|
3125
|
-
width: 100%;
|
|
3126
|
-
gap: 16px;
|
|
3127
|
-
> div {
|
|
3128
|
-
${o.MediaQueries.mbDown} {
|
|
3129
|
-
width: calc(50% - 8px);
|
|
3130
|
-
}
|
|
3131
|
-
width: calc(33% - 8px);
|
|
3132
|
-
}
|
|
3133
|
-
& > div > div {
|
|
3134
|
-
display: flex;
|
|
3135
|
-
flex-direction: row;
|
|
3136
|
-
justify-content: center;
|
|
3137
|
-
align-content: center;
|
|
3138
|
-
gap: 8px;
|
|
3139
|
-
padding-block: 5px;
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
.bmi-side-embed {
|
|
3143
|
-
> div {
|
|
3144
|
-
${o.MediaQueries.mbUp} {
|
|
3145
|
-
width: calc(50% - 8px);
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
}
|
|
3149
|
-
.radio-group-item-heading {
|
|
3150
|
-
margin-top: 0;
|
|
3151
|
-
}
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
${o.MediaQueries.mbDown} {
|
|
3155
|
-
&.bmi--input {
|
|
3156
|
-
.bmi--input-radio_gender {
|
|
3157
|
-
> div {
|
|
3158
|
-
.gender-image {
|
|
3159
|
-
width: 40px;
|
|
3160
|
-
height: 40px;
|
|
3161
|
-
}
|
|
3162
|
-
}
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
}
|
|
3166
|
-
`;const Zt=B.default.div``,Xt=B.default.div`
|
|
2758
|
+
`,qt=B.default.div``,Wt=B.default.div`
|
|
3167
2759
|
margin-bottom: 1rem;
|
|
3168
2760
|
display: flex;
|
|
3169
2761
|
flex-direction: column;
|
|
@@ -3190,8 +2782,8 @@
|
|
|
3190
2782
|
font-size: 12px;
|
|
3191
2783
|
}
|
|
3192
2784
|
}
|
|
3193
|
-
`,
|
|
3194
|
-
${
|
|
2785
|
+
`,Vt=B.default.div`
|
|
2786
|
+
${i.MediaQueries.mbUp} {
|
|
3195
2787
|
display: flex;
|
|
3196
2788
|
width: 100%;
|
|
3197
2789
|
align-items: flex-start;
|
|
@@ -3201,23 +2793,23 @@
|
|
|
3201
2793
|
width: 100%;
|
|
3202
2794
|
}
|
|
3203
2795
|
&[data-is-side='true'] {
|
|
3204
|
-
${
|
|
2796
|
+
${i.MediaQueries.mbUp} {
|
|
3205
2797
|
display: flex;
|
|
3206
2798
|
flex-direction: column;
|
|
3207
2799
|
gap: 0px;
|
|
3208
2800
|
}
|
|
3209
2801
|
}
|
|
3210
2802
|
}
|
|
3211
|
-
${
|
|
2803
|
+
${i.MediaQueries.mbDown} {
|
|
3212
2804
|
display: flex;
|
|
3213
2805
|
flex-direction: column;
|
|
3214
2806
|
gap: 0px;
|
|
3215
2807
|
}
|
|
3216
|
-
`,
|
|
2808
|
+
`,Yt=({locale:r,onSubmit:o,isSide:i,siteType:n})=>{const{t:l}=a.useTranslations(),[p,c]=e.useState(new Date),[m,h]=e.useState(28),[f,x]=e.useState(7),b={cycle:m,periodDateStart:p,periodLength:f},y=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(st,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(nt,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:mt(p),CustomInput:S.default.createElement(G,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:p,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:w.addDays(new Date,-45),after:new Date},customInput:e=>S.default.createElement(s.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:p&&z.default(p).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}):S.default.createElement(s.Input,{label:S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:mt(p),size:"md",name:"date",className:"due-date-input",CustomInput:S.default.createElement(G,{customInput:e=>S.default.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:mt(p)})),locale:r,pickedDate:p,displayDateFormat:C.DATE_FORMAT,onChange:e=>{c(e)},disabledDays:{before:w.addDays(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":i},"marryBaby"===n?S.default.createElement(E.MarryBabyText,{type:"bodytext-3",color:u.theme.mbColors.midGray},l("ovulationPage.cycleLength")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",S.default.createElement("span",{style:{minHeight:"36px"}},l("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:u.theme.colors.gray600},m),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:21,max:45,step:1,value:m,onChange:h,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":i},"marryBaby"===n?S.default.createElement(E.MarryBabyText,{type:"bodytext-3",color:u.theme.mbColors.midGray},l("ovulationPage.periodDuration")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:u.theme.colors.gray600},f),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:1,max:15,step:1,value:f,onChange:x,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{style:{width:"100%",display:"flex"}},S.default.createElement(g.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:y,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(b)),o&&o({startDate:p,cycle:m,periodLength:f})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Zt;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Zt||(Zt={}));const Xt=B.default.div`
|
|
3217
2809
|
flex: 1;
|
|
3218
|
-
`,
|
|
2810
|
+
`,Jt=B.default.div`
|
|
3219
2811
|
padding: 0 10px;
|
|
3220
|
-
`,
|
|
2812
|
+
`,Kt=B.default.div`
|
|
3221
2813
|
display: flex;
|
|
3222
2814
|
height: 80px;
|
|
3223
2815
|
align-items: center;
|
|
@@ -3229,14 +2821,14 @@
|
|
|
3229
2821
|
margin-left: 5px;
|
|
3230
2822
|
}
|
|
3231
2823
|
}
|
|
3232
|
-
${
|
|
2824
|
+
${i.MediaQueries.mbDown} {
|
|
3233
2825
|
height: 70px;
|
|
3234
2826
|
}
|
|
3235
|
-
`,
|
|
2827
|
+
`,ea=B.default.div`
|
|
3236
2828
|
display: grid;
|
|
3237
2829
|
grid-template-columns: repeat(7, 1fr);
|
|
3238
2830
|
row-gap: 2px;
|
|
3239
|
-
`,
|
|
2831
|
+
`,ta=B.default(ea)`
|
|
3240
2832
|
margin-bottom: 8px;
|
|
3241
2833
|
`;B.default.div`
|
|
3242
2834
|
height: 40px;
|
|
@@ -3244,14 +2836,14 @@
|
|
|
3244
2836
|
display: flex;
|
|
3245
2837
|
align-items: center;
|
|
3246
2838
|
justify-content: center;
|
|
3247
|
-
`;const
|
|
2839
|
+
`;const aa=B.default.div`
|
|
3248
2840
|
font-size: 14px;
|
|
3249
2841
|
display: flex;
|
|
3250
2842
|
justify-content: center;
|
|
3251
2843
|
align-items: center;
|
|
3252
2844
|
color: 1px solid ${e=>e.theme.colors.gray800};
|
|
3253
2845
|
font-weight: 300;
|
|
3254
|
-
`,
|
|
2846
|
+
`,ra=B.default.div`
|
|
3255
2847
|
width: 18px;
|
|
3256
2848
|
position: relative;
|
|
3257
2849
|
&::before {
|
|
@@ -3263,17 +2855,17 @@
|
|
|
3263
2855
|
right: 50%;
|
|
3264
2856
|
background: ${e=>e.theme.colors.neutral100};
|
|
3265
2857
|
}
|
|
3266
|
-
`,
|
|
2858
|
+
`,oa=B.default.div`
|
|
3267
2859
|
margin: 0 auto;
|
|
3268
|
-
`,
|
|
2860
|
+
`,ia=B.default.div`
|
|
3269
2861
|
position: relative;
|
|
3270
|
-
`,
|
|
2862
|
+
`,na=B.default(ea)``,la=B.default.div`
|
|
3271
2863
|
position: relative;
|
|
3272
2864
|
display: flex;
|
|
3273
2865
|
justify-content: center;
|
|
3274
2866
|
align-items: center;
|
|
3275
2867
|
height: 34px;
|
|
3276
|
-
${
|
|
2868
|
+
${i.MediaQueries.mbUp} {
|
|
3277
2869
|
height: 38px;
|
|
3278
2870
|
}
|
|
3279
2871
|
&[data-is-disabled='true'] {
|
|
@@ -3307,14 +2899,14 @@
|
|
|
3307
2899
|
right: 50%;
|
|
3308
2900
|
}
|
|
3309
2901
|
}
|
|
3310
|
-
`,
|
|
2902
|
+
`,da=B.default.div`
|
|
3311
2903
|
position: relative;
|
|
3312
2904
|
font-weight: 600;
|
|
3313
|
-
${
|
|
2905
|
+
${i.MediaQueries.mbDown} {
|
|
3314
2906
|
width: 32px;
|
|
3315
2907
|
height: 32px;
|
|
3316
2908
|
}
|
|
3317
|
-
${
|
|
2909
|
+
${i.MediaQueries.mbUp} {
|
|
3318
2910
|
width: 36px;
|
|
3319
2911
|
height: 36px;
|
|
3320
2912
|
}
|
|
@@ -3344,7 +2936,7 @@
|
|
|
3344
2936
|
border-radius: 32px;
|
|
3345
2937
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
3346
2938
|
}
|
|
3347
|
-
`,
|
|
2939
|
+
`,sa=B.default.div`
|
|
3348
2940
|
display: block;
|
|
3349
2941
|
position: relative;
|
|
3350
2942
|
width: 270px;
|
|
@@ -3352,10 +2944,10 @@
|
|
|
3352
2944
|
pointer-events: none;
|
|
3353
2945
|
caret-color: transparent;
|
|
3354
2946
|
}
|
|
3355
|
-
${
|
|
2947
|
+
${i.MediaQueries.mbDown} {
|
|
3356
2948
|
width: 100%;
|
|
3357
2949
|
}
|
|
3358
|
-
`,
|
|
2950
|
+
`,pa=B.default.div`
|
|
3359
2951
|
display: flex;
|
|
3360
2952
|
position: absolute;
|
|
3361
2953
|
top: 46px;
|
|
@@ -3371,10 +2963,10 @@
|
|
|
3371
2963
|
padding-bottom: 16px;
|
|
3372
2964
|
align-items: stretch;
|
|
3373
2965
|
user-select: none;
|
|
3374
|
-
${
|
|
2966
|
+
${i.MediaQueries.mbDown} {
|
|
3375
2967
|
width: 100%;
|
|
3376
2968
|
}
|
|
3377
|
-
`,
|
|
2969
|
+
`,ca=B.default.div`
|
|
3378
2970
|
display: flex;
|
|
3379
2971
|
gap: 20px;
|
|
3380
2972
|
width: 100%;
|
|
@@ -3405,7 +2997,7 @@
|
|
|
3405
2997
|
}
|
|
3406
2998
|
}
|
|
3407
2999
|
}
|
|
3408
|
-
`,
|
|
3000
|
+
`,ua=B.default(b.Drawer)`
|
|
3409
3001
|
padding-bottom: 24px;
|
|
3410
3002
|
.share-container {
|
|
3411
3003
|
display: flex;
|
|
@@ -3439,7 +3031,7 @@
|
|
|
3439
3031
|
height: 32px;
|
|
3440
3032
|
}
|
|
3441
3033
|
}
|
|
3442
|
-
`,
|
|
3034
|
+
`,ma=B.default.div`
|
|
3443
3035
|
position: fixed;
|
|
3444
3036
|
z-index: 48;
|
|
3445
3037
|
bottom: 0;
|
|
@@ -3472,7 +3064,7 @@
|
|
|
3472
3064
|
opacity: 1;
|
|
3473
3065
|
pointer-events: auto;
|
|
3474
3066
|
}
|
|
3475
|
-
`,
|
|
3067
|
+
`,ha=B.default.div`
|
|
3476
3068
|
display: flex;
|
|
3477
3069
|
justify-content: center;
|
|
3478
3070
|
align-items: center;
|
|
@@ -3494,7 +3086,7 @@
|
|
|
3494
3086
|
background: none;
|
|
3495
3087
|
border: none;
|
|
3496
3088
|
}
|
|
3497
|
-
`,
|
|
3089
|
+
`,ga=B.default.div`
|
|
3498
3090
|
/* background: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}}; */
|
|
3499
3091
|
width: 100%;
|
|
3500
3092
|
padding: 0 5px 1.5px;
|
|
@@ -3518,9 +3110,9 @@
|
|
|
3518
3110
|
color: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.gray400}};
|
|
3519
3111
|
font-weight: 400;
|
|
3520
3112
|
}
|
|
3521
|
-
`,
|
|
3113
|
+
`,fa=B.default.div`
|
|
3522
3114
|
background-color: white;
|
|
3523
|
-
background-image: url(${
|
|
3115
|
+
background-image: url(${h.CommonGAssets.getAssetPath("close-blue.svg")});
|
|
3524
3116
|
background-repeat: no-repeat;
|
|
3525
3117
|
background-size: 10px;
|
|
3526
3118
|
background-position: center;
|
|
@@ -3530,4 +3122,4 @@
|
|
|
3530
3122
|
top: 1px;
|
|
3531
3123
|
right: 1px;
|
|
3532
3124
|
cursor: pointer;
|
|
3533
|
-
`,wa={},ka=e=>{if(wa[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([wa[e]]),delete wa[e]}))}},Ca=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Ea=e.forwardRef((function({className:t,adUnitPath:r,size:o,divId:n,pos:l,sizeMapping:d,contentId:s,isHidden:p,hideIfHasSubot:c,isSticky:m,refreshInterval:h,customTargetings:f,style:x,adDefaultSize:b,noWrapper:y,showCloseBtn:v,onCloseAd:w,headerBottom:k,wrapperProps:C,locale:E,isMarryBaby:$},D){const B=h||(E===u.LOCALE.Vietnam&&l.some((e=>Ca.includes(e)))?30:void 0),{t:M}=a.useTranslations(),z=e.useRef(null),P=e.useRef(null),T=e.useRef(B);T.current=B;const[I,N]=e.useState(!1),A=()=>{T.current&&(null!==P.current&&clearInterval(P.current),P.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){wa[n]&&e.pubads().refresh([wa[n]])}))}),1e3*T.current))};if(e.useEffect((()=>()=>{ka(n),P.current&&clearInterval(P.current)}),[]),e.useEffect((()=>{A()}),[B]),e.useEffect((()=>{p||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:r,sizeMapping:o,hideIfHasSubot:n,customTargetings:l,onSuccess:d})=>{if(!i||!document.getElementById(i))return console.error("divId is required");ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:s}=window;s.cmd.push((function(){const p=document.querySelector('meta[name="content_id"]'),c="string"==typeof e?e:null==p?void 0:p.content,m=s.defineSlot(t,a,i);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}wa[i]=m,m.setTargeting("Pos",r),m.addService(s.pubads()),c&&m.setTargeting("Content_ID",c),o&&m.defineSizeMapping(o),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),s.display(i),null==d||d()}}))})({contentId:s,adUnitPath:r,size:o,divId:n,pos:l,sizeMapping:d,hideIfHasSubot:c,customTargetings:f,onSuccess:A})}),[p]),I)return null;const _=S.default.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},S.default.createElement("div",{ref:D,id:n}),v&&S.default.createElement(va,{onClick:()=>{null==w||w(),N(!0)}}));if(m)return _;const j=b?b[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,O=b?b[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return S.default.createElement(i.Box,Object.assign({},C,{className:t}),S.default.createElement(ba,{ref:z,className:t,style:x,"data-no-wrapper":!!y,"data-header-bottom":!!k},y?_:S.default.createElement(S.default.Fragment,null,S.default.createElement(ya,{"data-header-bottom":!!k},S.default.createElement("img",{src:$?g.CommonGAssets.getAssetPath("adsIcon-mb.svg"):g.CommonGAssets.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),S.default.createElement("span",null,M("adBanner.title"))),S.default.createElement("div",{style:{minWidth:j||"100%",minHeight:O||"100%",position:"relative"}},_))))})),$a=e.memo(Ea,((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),Da=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Sa;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Sa||(Sa={}));const Ba={DUE_DATE:Sa.DUE_DATE,BMI:Sa.BMI,BMR:Sa.BMR,OVULATION:Sa.OVULATION,IFRAME:Sa.IFRAME,PWG:Sa.PWG,THR:Sa.THR,BABY_VACCINE:Sa.BABY_VACCINE,BABY_GROWTH:Sa.BABY_GROWTH,BABY_POOP:Sa.BABY_POOP},Ma={[Ba.DUE_DATE]:g.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var za,Pa,Ta,Ia;exports.BannerCategory=void 0,(za=exports.BannerCategory||(exports.BannerCategory={})).Pregnant="pregnant",za.Parenting="parenting",function(e){e.Option="option"}(Pa||(Pa={})),exports.OptionBannerStyleType=void 0,(Ta=exports.OptionBannerStyleType||(exports.OptionBannerStyleType={})).Button="button",Ta.Checkbox="checkbox",exports.BannerAction=void 0,(Ia=exports.BannerAction||(exports.BannerAction={})).ShowTool="showTool",Ia.ShowPremiumModal="showPremiumModal",Ia.ShowOptionBanner="showOptionBanner",Ia.Hide="hide";const Na={pregnancy:exports.BannerCategory.Pregnant,parenting:exports.BannerCategory.Parenting},Aa={[exports.BannerCategory.Pregnant]:"pregnant",[exports.BannerCategory.Parenting]:"parent"},_a=e.createContext({});var ja=i.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:i.rem(32),padding:`${i.rem(6)} ${i.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Oa=e.createContext({}),Qa=e.forwardRef((function(e,a){var{label:r}=e,o=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},o),S.default.createElement(i.Group,{noWrap:!0},S.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),S.default.createElement(t.Text,{size:"p3"},r)))})),Ua=e.forwardRef((function(e,a){var{label:i}=e,r=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},r),S.default.createElement(t.Text,{size:"p3"},i))}));var Fa="fVk18fq",Ra="v8TCvUb",Ga="mx7T4V3";const La={myHealth:m.theme.mbColors.toneYellow,myCommunity:m.theme.mbColors.toneBlue,mySaved:m.theme.mbColors.toneGreen},Ha={helloSites:{myBooking:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}};exports.API_DATE_FORMAT=ft,exports.AdBlock=$a,exports.AffiliateIcon=T,exports.Body=({children:e,className:t,style:a,isHoverable:i,isStriped:r})=>S.default.createElement(ye,{className:t,style:a,"data-is-striped":r||void 0,"data-is-hoverable":i||void 0},e),exports.BookmarkedIcon=I,exports.Cell=({children:e,className:t,style:a,textAlign:i,isTableHead:r})=>S.default.createElement(he,{className:t,style:a,"data-text-align":i||"left",as:r?"th":"td"},e),exports.DatePicker=F,exports.DateToInputValue=xt,exports.DoctorInfo=ne,exports.FormControl=Tt,exports.FormControl$1=Wt,exports.FormControl$2=Xt,exports.HEALTH_TOOL_DEFAULT_IMG=Ma,exports.HEALTH_TOOL_TYPE=Ba,exports.Head=({isSticky:e,children:t,className:a,style:i})=>S.default.createElement(be,{className:a,"data-is-sticky":e||void 0,style:i},S.default.createElement(xe,null,t)),exports.Loading=({className:e,theme:i,hideText:r})=>{const{t:o}=a.useTranslations();return S.default.createElement("div",{className:`${P} ${e}`},S.default.createElement(t.Icon.Spinner,{isMarryBaby:"marryBaby"===i}),!r&&o("loading"))},exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=Aa,exports.MAPPING_CATEGORY_PREMIUM_TYPE=Na,exports.MenuLink=({icon:e,isActive:a,children:i,isCollapsed:r,activeIcon:o,onLinkClick:n,textSize:l="base",textType:d="bold",textColorActive:s="#fff",textColor:p="#595959"})=>S.default.createElement(de,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":r||void 0},a&&o?o:e,!r&&S.default.createElement(t.Text,{size:l,weight:d,color:a?s:p},i)),exports.MobileBottomNavigation=Ye,exports.MobileBottomNavigationIcon=Ve,exports.NavigationCard=({type:t,themeName:i,className:r,onClick:o=(()=>{})})=>{const{t:n}=a.useTranslations(),l=e.useMemo((()=>{var e,a;return(null===(a=null===(e=Ha[i])||void 0===e?void 0:e[t])||void 0===a?void 0:a.call(e))||""}),[t,i]),d=e.useMemo((()=>"marryBaby"!==i?"transparent":La[t]),[t,i]);return S.default.createElement("div",{onClick:function(){o(t)},className:`${Fa} ${r}`},S.default.createElement("div",{className:Ga,style:{backgroundColor:d,backgroundImage:`url("${l}")`}}),S.default.createElement("h3",{className:Ra},n(`userProfile.nav.card.${t}`)))},exports.OvulationCalculator=({locale:i,onSubmitOvulation:r,isSide:o,siteType:n})=>{const{t:l}=a.useTranslations(),[d,s]=e.useState(ea.trackPeriod),p=[{label:l("ovulationPage.trackPeriod"),value:ea.trackPeriod},{label:l("ovulationPage.conceive"),value:ea.conceive},{label:l("ovulationPage.avoidPregnancy"),value:ea.avoidPregnancy}];return S.default.createElement(wt,null,S.default.createElement(ct,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(st,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:p,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:p[d],onChange:e=>{s(e.value)}}):S.default.createElement(S.default.Fragment,null,S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("ovulationPage.objectives")),S.default.createElement(mt,{"data-is-side":o},S.default.createElement(v.Dropdown,{options:p,placeholder:l("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:p[d],onChange:e=>{s(e.value)}})))),S.default.createElement(Kt,{siteType:n,locale:i,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{r&&r({method:d,periodDateStart:e,cycle:t,periodLength:a})},isSide:o}))},exports.PREFER_TOPICS=Da,exports.PremiumNewsletterModalContext=Oa,exports.RadioGroup=te,exports.Row=xe,exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:i})=>S.default.createElement(ie,null,S.default.createElement(n.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),S.default.createElement(re,{"data-is-collapsed":e||void 0,onClick:a},i||S.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},S.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),S.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:i})=>S.default.createElement(ae,{style:a,className:t,"data-is-collapsed":e||void 0},i),exports.StyleForm=Ft,exports.StyledAcceptButton=Fe,exports.StyledAcceptCardContainer=je,exports.StyledActive=Ct,exports.StyledBabyGrowthWrapper=Ut,exports.StyledBreadcrumbContainer=V,exports.StyledBreadcrumbWrapper=Y,exports.StyledButton=Mt,exports.StyledButton$1=Ht,exports.StyledButton$2=Yt,exports.StyledButtonGroup=Ue,exports.StyledCalendarCellsWrapper=aa,exports.StyledCalendarDateGrid=pa,exports.StyledCalendarDayLabel=na,exports.StyledCalendarDayNumber=ma,exports.StyledCalendarDayNumberWrapper=ca,exports.StyledCalendarDaysOfWeek=oa,exports.StyledCalendarDaysWrapper=da,exports.StyledCalendarHead=ia,exports.StyledCalendarMonthSeparator=la,exports.StyledCalendarMonthWrapper=sa,exports.StyledCalendarWrapper=ta,exports.StyledCalendarWrapper$1=ga,exports.StyledCategoryCard=_,exports.StyledCheckboxGroup=j,exports.StyledContainer=St,exports.StyledContainer$1=Pt,exports.StyledContainer$2=qt,exports.StyledContainer$3=Zt,exports.StyledContent=Dt,exports.StyledDescription=Qe,exports.StyledDescriptionWrapper=me,exports.StyledDetailStep=Z,exports.StyledDetailStepDescription=ee,exports.StyledDetailStepIndicator=X,exports.StyledDetailStepIndicatorExternal=J,exports.StyledDetailStepLabel=K,exports.StyledDot=ce,exports.StyledDropDown=st,exports.StyledFixedAdBlock=xa,exports.StyledFloatButtonGroup=Me,exports.StyledFloatButtonGroupBackgroundPanel=ze,exports.StyledFloatButtonGroupButton=Ne,exports.StyledFloatButtonGroupButtonIcon=_e,exports.StyledFloatButtonGroupButtonLabel=Ae,exports.StyledFloatButtonGroupContent=Pe,exports.StyledFloatButtonGroupItemsWrapper=Te,exports.StyledFloatButtonGroupToggleIcon=Ie,exports.StyledFormInput=kt,exports.StyledIconText=R,exports.StyledInput=zt,exports.StyledInputForm=yt,exports.StyledInputWrapper=wt,exports.StyledLastPeriodFormContainer=ut,exports.StyledMethodContainer=ct,exports.StyledMethodSwitcherContainer=mt,exports.StyledPoliciesButton=Re,exports.StyledRadioGroup=Bt,exports.StyledRadioImageGroup=Gt,exports.StyledRadioImageItem=Lt,exports.StyledRow=It,exports.StyledRow$1=Vt,exports.StyledRow$2=Jt,exports.StyledScrollList=se,exports.StyledShareContainer=ha,exports.StyledShareDrawer=fa,exports.StyledSlider=G,exports.StyledStatisticContainer=pe,exports.StyledStatisticNumberWrapper=ue,exports.StyledStep=L,exports.StyledStepLabel=W,exports.StyledSubmitButton=vt,exports.StyledSurveyQuestionCard=we,exports.StyledSurveyThankyouCard=Ce,exports.StyledTextField=pt,exports.StyledTitleSection=Oe,exports.StyledTrack=q,exports.StyledTrackContainer=H,exports.StyledTwins=bt,exports.StyledWrapper=ua,exports.SurveyOrPremiumBannerContext=_a,exports.SurveyQuestionCard=({className:a,headerText:i,style:r,question:o,termAndPolicyText:n,prevText:d,nextText:s,isContactForm:p,isDisableNext:c,isDisablePrev:m,onPrevClick:u,onNextClick:g,isSubmitButton:h,isButtonCenter:f,progress:x,descriptionText:b})=>{var y,v,w;const[k,C]=e.useState([]),{is_multi_select:E,multi_select_option:$,from:D,to:B}=o,M=null==o?void 0:o.type,z="checkbox"===M&&(null===(y=o.options)||void 0===y?void 0:y.length)&&(!k||0===k.length||E&&$===Se.RANGE&&(k.length<D||k.length>B)||E&&$===Se.EXACT_NUMBER&&k.length!==D)||"radio"===M&&(null===(v=o.options)||void 0===v?void 0:v.length)&&(!k||0===k.length)||"textbox"===M&&(null===(w=o.textOptions)||void 0===w?void 0:w.length)&&(k.length<o.textOptions.length||k.some((e=>!e.value))),P="number"==typeof x?x>1?1:x<0?0:Number(x.toFixed(2)):-1,T=e.useRef(null),I=()=>"textbox"!==M||T.current.reportValidity();return S.default.createElement(we,{className:a,style:r},S.default.createElement("div",{className:"survey-inner-wrapper"},i&&S.default.createElement("div",{className:"survey-header"},S.default.createElement(t.Text,{className:"survey-header-text",size:"c2"},i)),S.default.createElement("form",{ref:T,onSubmit:e=>e.preventDefault()},S.default.createElement(De,{question:o,description:b,onOptionsChange:e=>{C(e)},onTextOptionsChange:e=>{C(e)}})),p&&s&&S.default.createElement(l.Button,{className:"survey-contact-submit",size:"lg",isDisabled:c||z,onClick:()=>I()&&g&&g(k)},s),n&&S.default.createElement("div",{className:"term-policy-container"},n),"number"==typeof x&&S.default.createElement("div",{className:"survey-progress-wrapper"},S.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${P})`}})),(d||s)&&S.default.createElement("div",{"data-center":f,className:"survey-button-wrapper"},d&&S.default.createElement(l.Button,{className:"survey-prev-button",size:"lg",color:m?"primary":"secondary",isDisabled:m,icon:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:m?"#fff":"#2D87F3"})),onClick:u},d),!p&&s&&S.default.createElement(l.Button,{onClick:()=>I()&&g&&g(k),className:"survey-next-button",size:"lg",isDisabled:c||z},s," ",h?void 0:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=Be,exports.Table=({children:e,className:t,style:a,horizontalPadding:i,verticalPadding:r})=>S.default.createElement(ge,{className:t,style:a,theme:{horizontalPadding:i,verticalPadding:r}},e),exports.ToolsBannerCard=dt,exports.UnbookmarkedIcon=N,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:i})=>S.default.createElement(le,{"data-is-collapsed":e||void 0},S.default.createElement(ne,{image:i,name:t,description:a,isDescriptionHidden:e})),exports._SuggestedTopic=Qa,exports._Topic=Ua,exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:w.format(e,ft),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:w.format(e,ft),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:w.format(e,ft),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.useStyles=A,exports.useStyles$1=ve,exports.useStyles$2=Rt,exports.useStyles$3=ja;
|
|
3125
|
+
`,xa={},ba=e=>{if(xa[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([xa[e]]),delete xa[e]}))}},ya=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],va=e.forwardRef((function({className:t,adUnitPath:o,size:i,divId:n,pos:l,sizeMapping:d,contentId:s,isHidden:p,hideIfHasSubot:c,isSticky:u,refreshInterval:g,customTargetings:f,style:x,adDefaultSize:b,noWrapper:y,showCloseBtn:v,onCloseAd:w,headerBottom:k,wrapperProps:E,locale:C,isMarryBaby:D},$){const B=g||(C===m.LOCALE.Vietnam&&l.some((e=>ya.includes(e)))?30:void 0),{t:z}=a.useTranslations(),M=e.useRef(null),P=e.useRef(null),T=e.useRef(B);T.current=B;const[I,N]=e.useState(!1),A=()=>{T.current&&(null!==P.current&&clearInterval(P.current),P.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){xa[n]&&e.pubads().refresh([xa[n]])}))}),1e3*T.current))};if(e.useEffect((()=>()=>{ba(n),P.current&&clearInterval(P.current)}),[]),e.useEffect((()=>{A()}),[B]),e.useEffect((()=>{p||(({contentId:e,adUnitPath:t,size:a,divId:r,pos:o,sizeMapping:i,hideIfHasSubot:n,customTargetings:l,onSuccess:d})=>{if(!r||!document.getElementById(r))return console.error("divId is required");ba(r),window.googletag=window.googletag||{cmd:[]};const{googletag:s}=window;s.cmd.push((function(){const p=document.querySelector('meta[name="content_id"]'),c="string"==typeof e?e:null==p?void 0:p.content,u=s.defineSlot(t,a,r);if(u){try{l&&Object.keys(l).forEach((e=>{e&&(null==u||u.setTargeting(e,l[e]))}))}catch(e){console.error(e)}xa[r]=u,u.setTargeting("Pos",o),u.addService(s.pubads()),c&&u.setTargeting("Content_ID",c),i&&u.defineSizeMapping(i),n&&document.getElementById("subot--container")&&u.setTargeting("chatbot",!0),s.display(r),null==d||d()}}))})({contentId:s,adUnitPath:o,size:i,divId:n,pos:l,sizeMapping:d,hideIfHasSubot:c,customTargetings:f,onSuccess:A})}),[p]),I)return null;const j=S.default.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},S.default.createElement("div",{ref:$,id:n}),v&&S.default.createElement(fa,{onClick:()=>{null==w||w(),N(!0)}}));if(u)return j;const _=b?b[0]:i?Array.isArray(i[0])?i[0][0]:i[0]:void 0,O=b?b[1]:i?Array.isArray(i[0])?i[0][1]:i[1]:void 0;return S.default.createElement(r.Box,Object.assign({},E,{className:t}),S.default.createElement(ha,{ref:M,className:t,style:x,"data-no-wrapper":!!y,"data-header-bottom":!!k},y?j:S.default.createElement(S.default.Fragment,null,S.default.createElement(ga,{"data-header-bottom":!!k},S.default.createElement("img",{src:D?h.CommonGAssets.getAssetPath("adsIcon-mb.svg"):h.CommonGAssets.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),S.default.createElement("span",null,z("adBanner.title"))),S.default.createElement("div",{style:{minWidth:_||"100%",minHeight:O||"100%",position:"relative"}},j))))})),wa=e.memo(va,((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ka=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:h.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:h.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:h.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Ea;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Ea||(Ea={}));const Ca={DUE_DATE:Ea.DUE_DATE,BMI:Ea.BMI,BMR:Ea.BMR,OVULATION:Ea.OVULATION,IFRAME:Ea.IFRAME,PWG:Ea.PWG,THR:Ea.THR,BABY_VACCINE:Ea.BABY_VACCINE,BABY_GROWTH:Ea.BABY_GROWTH,BABY_POOP:Ea.BABY_POOP},Da={[Ca.DUE_DATE]:h.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var $a,Sa,Ba,za;exports.BannerCategory=void 0,($a=exports.BannerCategory||(exports.BannerCategory={})).Pregnant="pregnant",$a.Parenting="parenting",function(e){e.Option="option"}(Sa||(Sa={})),exports.OptionBannerStyleType=void 0,(Ba=exports.OptionBannerStyleType||(exports.OptionBannerStyleType={})).Button="button",Ba.Checkbox="checkbox",exports.BannerAction=void 0,(za=exports.BannerAction||(exports.BannerAction={})).ShowTool="showTool",za.ShowPremiumModal="showPremiumModal",za.ShowOptionBanner="showOptionBanner",za.Hide="hide";const Ma={pregnancy:exports.BannerCategory.Pregnant,parenting:exports.BannerCategory.Parenting},Pa={[exports.BannerCategory.Pregnant]:"pregnant",[exports.BannerCategory.Parenting]:"parent"},Ta=e.createContext({});var Ia=r.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:r.rem(32),padding:`${r.rem(6)} ${r.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Na=e.createContext({}),Aa=e.forwardRef((function(e,a){var{label:o}=e,i=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},i),S.default.createElement(r.Group,{noWrap:!0},S.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),S.default.createElement(t.Text,{size:"p3"},o)))})),ja=e.forwardRef((function(e,a){var{label:r}=e,o=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},o),S.default.createElement(t.Text,{size:"p3"},r))}));var _a="fVk18fq",Oa="v8TCvUb",Fa="mx7T4V3";const Ra={myHealth:u.theme.mbColors.toneYellow,myCommunity:u.theme.mbColors.toneBlue,mySaved:u.theme.mbColors.toneGreen},Ga={helloSites:{myBooking:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>h.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>h.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>h.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>h.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}};exports.API_DATE_FORMAT=ut,exports.AdBlock=wa,exports.AffiliateIcon=T,exports.Body=({children:e,className:t,style:a,isHoverable:r,isStriped:o})=>S.default.createElement(ye,{className:t,style:a,"data-is-striped":o||void 0,"data-is-hoverable":r||void 0},e),exports.BookmarkedIcon=I,exports.Cell=({children:e,className:t,style:a,textAlign:r,isTableHead:o})=>S.default.createElement(ge,{className:t,style:a,"data-text-align":r||"left",as:o?"th":"td"},e),exports.DatePicker=G,exports.DateToInputValue=mt,exports.DoctorInfo=ne,exports.FormControl=Bt,exports.FormControl$1=Qt,exports.FormControl$2=Wt,exports.HEALTH_TOOL_DEFAULT_IMG=Da,exports.HEALTH_TOOL_TYPE=Ca,exports.Head=({isSticky:e,children:t,className:a,style:r})=>S.default.createElement(be,{className:a,"data-is-sticky":e||void 0,style:r},S.default.createElement(xe,null,t)),exports.Loading=({className:e,theme:r,hideText:o})=>{const{t:i}=a.useTranslations();return S.default.createElement("div",{className:`${P} ${e}`},S.default.createElement(t.Icon.Spinner,{isMarryBaby:"marryBaby"===r}),!o&&i("loading"))},exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=Pa,exports.MAPPING_CATEGORY_PREMIUM_TYPE=Ma,exports.MenuLink=({icon:e,isActive:a,children:r,isCollapsed:o,activeIcon:i,onLinkClick:n,textSize:l="base",textType:d="bold",textColorActive:s="#fff",textColor:p="#595959"})=>S.default.createElement(de,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":o||void 0},a&&i?i:e,!o&&S.default.createElement(t.Text,{size:l,weight:d,color:a?s:p},r)),exports.MobileBottomNavigation=Ye,exports.MobileBottomNavigationIcon=Ve,exports.NavigationCard=({type:t,themeName:r,className:o,onClick:i=(()=>{})})=>{const{t:n}=a.useTranslations(),l=e.useMemo((()=>{var e,a;return(null===(a=null===(e=Ga[r])||void 0===e?void 0:e[t])||void 0===a?void 0:a.call(e))||""}),[t,r]),d=e.useMemo((()=>"marryBaby"!==r?"transparent":Ra[t]),[t,r]);return S.default.createElement("div",{onClick:function(){i(t)},className:`${_a} ${o}`},S.default.createElement("div",{className:Fa,style:{backgroundColor:d,backgroundImage:`url("${l}")`}}),S.default.createElement("h3",{className:Oa},n(`userProfile.nav.card.${t}`)))},exports.OvulationCalculator=({locale:r,onSubmitOvulation:o,isSide:i,siteType:n})=>{const{t:l}=a.useTranslations(),[d,s]=e.useState(Zt.trackPeriod),p=[{label:l("ovulationPage.trackPeriod"),value:Zt.trackPeriod},{label:l("ovulationPage.conceive"),value:Zt.conceive},{label:l("ovulationPage.avoidPregnancy"),value:Zt.avoidPregnancy}];return S.default.createElement(xt,null,S.default.createElement(lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(it,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:p,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:p[d],onChange:e=>{s(e.value)}}):S.default.createElement(S.default.Fragment,null,S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("ovulationPage.objectives")),S.default.createElement(dt,{"data-is-side":i},S.default.createElement(v.Dropdown,{options:p,placeholder:l("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:p[d],onChange:e=>{s(e.value)}})))),S.default.createElement(Yt,{siteType:n,locale:r,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{o&&o({method:d,periodDateStart:e,cycle:t,periodLength:a})},isSide:i}))},exports.PREFER_TOPICS=ka,exports.PremiumNewsletterModalContext=Na,exports.RadioGroup=te,exports.Row=xe,exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:r})=>S.default.createElement(re,null,S.default.createElement(n.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),S.default.createElement(oe,{"data-is-collapsed":e||void 0,onClick:a},r||S.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},S.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),S.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:r})=>S.default.createElement(ae,{style:a,className:t,"data-is-collapsed":e||void 0},r),exports.StyleForm=_t,exports.StyledAcceptButton=Ge,exports.StyledAcceptCardContainer=_e,exports.StyledActive=yt,exports.StyledBabyGrowthWrapper=jt,exports.StyledBreadcrumbContainer=V,exports.StyledBreadcrumbWrapper=Y,exports.StyledButton=Dt,exports.StyledButton$1=Gt,exports.StyledButton$2=Ht,exports.StyledButtonGroup=Re,exports.StyledCalendarCellsWrapper=Jt,exports.StyledCalendarDateGrid=na,exports.StyledCalendarDayLabel=aa,exports.StyledCalendarDayNumber=da,exports.StyledCalendarDayNumberWrapper=la,exports.StyledCalendarDaysOfWeek=ta,exports.StyledCalendarDaysWrapper=oa,exports.StyledCalendarHead=Kt,exports.StyledCalendarMonthSeparator=ra,exports.StyledCalendarMonthWrapper=ia,exports.StyledCalendarWrapper=Xt,exports.StyledCalendarWrapper$1=pa,exports.StyledCategoryCard=j,exports.StyledCheckboxGroup=_,exports.StyledContainer=Et,exports.StyledContainer$1=St,exports.StyledContainer$2=Lt,exports.StyledContainer$3=qt,exports.StyledContent=kt,exports.StyledDescription=Fe,exports.StyledDescriptionWrapper=ue,exports.StyledDetailStep=Z,exports.StyledDetailStepDescription=ee,exports.StyledDetailStepIndicator=X,exports.StyledDetailStepIndicatorExternal=J,exports.StyledDetailStepLabel=K,exports.StyledDot=ce,exports.StyledDropDown=it,exports.StyledFixedAdBlock=ma,exports.StyledFloatButtonGroup=ze,exports.StyledFloatButtonGroupBackgroundPanel=Me,exports.StyledFloatButtonGroupButton=Ne,exports.StyledFloatButtonGroupButtonIcon=je,exports.StyledFloatButtonGroupButtonLabel=Ae,exports.StyledFloatButtonGroupContent=Pe,exports.StyledFloatButtonGroupItemsWrapper=Te,exports.StyledFloatButtonGroupToggleIcon=Ie,exports.StyledFormInput=bt,exports.StyledIconText=L,exports.StyledInput=$t,exports.StyledInputForm=gt,exports.StyledInputWrapper=xt,exports.StyledLastPeriodFormContainer=st,exports.StyledMethodContainer=lt,exports.StyledMethodSwitcherContainer=dt,exports.StyledPoliciesButton=Le,exports.StyledRadioGroup=Ct,exports.StyledRadioImageGroup=Ft,exports.StyledRadioImageItem=Rt,exports.StyledRow=zt,exports.StyledRow$1=Ut,exports.StyledRow$2=Vt,exports.StyledScrollList=se,exports.StyledShareContainer=ca,exports.StyledShareDrawer=ua,exports.StyledSlider=Q,exports.StyledStatisticContainer=pe,exports.StyledStatisticNumberWrapper=me,exports.StyledStep=U,exports.StyledStepLabel=W,exports.StyledSubmitButton=ft,exports.StyledSurveyQuestionCard=we,exports.StyledSurveyThankyouCard=Ee,exports.StyledTextField=nt,exports.StyledTitleSection=Oe,exports.StyledTrack=q,exports.StyledTrackContainer=H,exports.StyledTwins=ht,exports.StyledWrapper=sa,exports.SurveyOrPremiumBannerContext=Ta,exports.SurveyQuestionCard=({className:a,headerText:r,style:o,question:i,termAndPolicyText:n,prevText:d,nextText:s,isContactForm:p,isDisableNext:c,isDisablePrev:u,onPrevClick:m,onNextClick:h,isSubmitButton:g,isButtonCenter:f,progress:x,descriptionText:b})=>{var y,v,w;const[k,E]=e.useState([]),{is_multi_select:C,multi_select_option:D,from:$,to:B}=i,z=null==i?void 0:i.type,M="checkbox"===z&&(null===(y=i.options)||void 0===y?void 0:y.length)&&(!k||0===k.length||C&&D===Se.RANGE&&(k.length<$||k.length>B)||C&&D===Se.EXACT_NUMBER&&k.length!==$)||"radio"===z&&(null===(v=i.options)||void 0===v?void 0:v.length)&&(!k||0===k.length)||"textbox"===z&&(null===(w=i.textOptions)||void 0===w?void 0:w.length)&&(k.length<i.textOptions.length||k.some((e=>!e.value))),P="number"==typeof x?x>1?1:x<0?0:Number(x.toFixed(2)):-1,T=e.useRef(null),I=()=>"textbox"!==z||T.current.reportValidity();return S.default.createElement(we,{className:a,style:o},S.default.createElement("div",{className:"survey-inner-wrapper"},r&&S.default.createElement("div",{className:"survey-header"},S.default.createElement(t.Text,{className:"survey-header-text",size:"c2"},r)),S.default.createElement("form",{ref:T,onSubmit:e=>e.preventDefault()},S.default.createElement($e,{question:i,description:b,onOptionsChange:e=>{E(e)},onTextOptionsChange:e=>{E(e)}})),p&&s&&S.default.createElement(l.Button,{className:"survey-contact-submit",size:"lg",isDisabled:c||M,onClick:()=>I()&&h&&h(k)},s),n&&S.default.createElement("div",{className:"term-policy-container"},n),"number"==typeof x&&S.default.createElement("div",{className:"survey-progress-wrapper"},S.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${P})`}})),(d||s)&&S.default.createElement("div",{"data-center":f,className:"survey-button-wrapper"},d&&S.default.createElement(l.Button,{className:"survey-prev-button",size:"lg",color:u?"primary":"secondary",isDisabled:u,icon:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:u?"#fff":"#2D87F3"})),onClick:m},d),!p&&s&&S.default.createElement(l.Button,{onClick:()=>I()&&h&&h(k),className:"survey-next-button",size:"lg",isDisabled:c||M},s," ",g?void 0:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=Be,exports.Table=({children:e,className:t,style:a,horizontalPadding:r,verticalPadding:o})=>S.default.createElement(he,{className:t,style:a,theme:{horizontalPadding:r,verticalPadding:o}},e),exports.ToolsBannerCard=ot,exports.UnbookmarkedIcon=N,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:r})=>S.default.createElement(le,{"data-is-collapsed":e||void 0},S.default.createElement(ne,{image:r,name:t,description:a,isDescriptionHidden:e})),exports._SuggestedTopic=Aa,exports._Topic=ja,exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:w.format(e,ut),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:w.format(e,ut),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,r=new Date(e);return r.setDate(r.getDate()+a),{startDate:e,dueDate:r,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:w.format(e,ut),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.useStyles=A,exports.useStyles$1=ve,exports.useStyles$2=Ot,exports.useStyles$3=Ia;
|