@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
|
-
import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as
|
|
1
|
+
import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as c}from"./index-dcd77e56.js";import{u as p}from"./useTranslations-1416cdcc.js";import"lodash/debounce";import"./isProduction-095ab64f.js";import"./index-b7b39aa3.js";import"./useCategory-dfd51998.js";import{createStyles as m,Stack as h,Group as g,getStylesRef as u,useMantineTheme as b,Flex as x,rem as f,Box as y}from"@mantine/core";import v,{keyframes as w,css as k}from"styled-components";import{M as E}from"./screenSizeContext-268f62ee.js";import{L as $}from"./index-456e07e9.js";import{B as D}from"./index-c8b8773c.js";import{H as C,T as z,Q as B,a6 as P,P as N,x as j}from"./index.styles-5d09f3e9.js";import{I as S}from"./index-0bc6ed09.js";import{_ as I}from"./tslib.es6-89288f42.js";import T from"dayjs";import{t as M}from"./theme-c91f8447.js";import{G as A,L as O}from"./Subot-0c4dab43.js";import{CommonGAssets as _}from"./gAssets.js";import{R as L,B as U}from"./index-ca22339d.js";import"@mantine/dates";import"./translationsContext-8d25a828.js";import"string-format";import"@mantine/hooks";import{yupResolver as F}from"@hookform/resolvers/yup";import{useForm as H,Controller as R}from"react-hook-form";import{B as G,D as W}from"./index-79f993e1.js";import{L as V}from"./constants-9cbd1b11.js";import{D as q}from"./index.styled-d8252a1f.js";import{format as Y,addDays as Z}from"date-fns";import"./utils-0e7436d5.js";import{S as X}from"./index-2f08d8b2.js";import{M as J}from"./index-40c22fc9.js";import"./index-bc96f01d.js";import{D as K}from"./types-4b3c5426.js";import Q from"react-day-picker/DayPickerInput";var ee="tliWyii";const te=({className:t,theme:a,hideText:i})=>{const{t:o}=p();return e.createElement("div",{className:`${ee} ${t}`},e.createElement(d.Spinner,{isMarryBaby:"marryBaby"===a}),!i&&o("loading"))},ae=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ie=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),oe=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var re=m(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ne=v.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -413,7 +413,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
413
413
|
background: white;
|
|
414
414
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
415
415
|
}
|
|
416
|
-
`,
|
|
416
|
+
`,ce=v.form`
|
|
417
417
|
display: flex;
|
|
418
418
|
width: 100%;
|
|
419
419
|
|
|
@@ -430,7 +430,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
430
430
|
background: ${e=>e.theme.colors.neutral100};
|
|
431
431
|
border-radius: ${e=>e.theme.borderRadius};
|
|
432
432
|
}
|
|
433
|
-
`,
|
|
433
|
+
`,pe=({alignRight:t=!0,placeholder:r,displayDateFormat:n,onChange:l,customInput:s,pickedDate:d,className:c,isStatic:p,disabledDays:m,modifiers:h,UnHideOnClickOutside:g,initialMonth:u,locale:b="en-PH"})=>{const x=a(!1),f=Y,[y,v]=i(u||new Date),w=a(null),k=a(null),E=se[b],$=e=>{g||w.current&&w.current.contains(e.target)||k.current&&k.current.hideDayPicker()},D=(new Date).getFullYear(),C=new Date(D-150,0),z=new Date(D+1,0),B=({date:t,onChange:a,monthLabels:i})=>{const o=[];for(let e=z.getFullYear();e>=C.getFullYear();e-=1)o.push(e);const r=function(e){const{year:t,month:i}=e.target.form;a(new Date(t.value,i.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(ce,null,e.createElement("select",{name:"month",onChange:r,value:t.getMonth()},i.map(((t,a)=>e.createElement("option",{key:t,value:a},t)))),e.createElement("select",{name:"year",onChange:r,value:t.getFullYear()},o.map((t=>e.createElement("option",{key:t,value:t},t))))))};return o((()=>(document.addEventListener("mousedown",$,{passive:!0}),()=>{document.removeEventListener("mousedown",$,!1)})),[]),e.createElement(de,{className:c,"data-align-right":t,ref:w,"data-is-static":p||void 0},e.createElement(Q,{ref:k,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:s&&e.forwardRef(((t,a)=>e.createElement(s,Object.assign({},t)))),onDayPickerHide:()=>{x.current=!1},onDayPickerShow:()=>{x.current=!0},dayPickerProps:{month:y,className:"picker",selectedDays:d,canChangeMonth:!0,enableOutsideDaysClick:!p,firstDayOfWeek:1,captionElement:({date:t,localeUtils:a})=>{const i=null==a?void 0:a.getMonths();return e.createElement(B,{date:t,monthLabels:E||i,onChange:v})},disabledDays:m||void 0,modifiers:h},format:n||"yyyy-MM-dd",formatDate:(e,t)=>f(e,t),hideOnDayClick:!p,placeholder:r||"",onDayChange:e=>{var t;t=e,k.current&&!p&&k.current.hideDayPicker(),l&&l(t)},showOverlay:p}))},me=v.div`
|
|
434
434
|
display: flex;
|
|
435
435
|
align-items: center;
|
|
436
436
|
--font-weight-lg: ${e=>e.theme.sizes.fwBold};
|
|
@@ -455,7 +455,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
${
|
|
458
|
+
${E.mbDown} {
|
|
459
459
|
&[data-size='lg'] {
|
|
460
460
|
font-size: 16px;
|
|
461
461
|
line-height: 24px;
|
|
@@ -472,7 +472,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
472
472
|
font-weight: var(----font-weight-sm);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
`,
|
|
475
|
+
`,he=v.div`
|
|
476
476
|
position: relative;
|
|
477
477
|
width: 100%;
|
|
478
478
|
|
|
@@ -483,7 +483,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
483
483
|
outline: none;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
`,
|
|
486
|
+
`,ge=v.div`
|
|
487
487
|
position: absolute;
|
|
488
488
|
top: 19px;
|
|
489
489
|
width: 24px;
|
|
@@ -613,7 +613,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
613
613
|
stroke: ${e=>e.theme.colors.gray500};
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
|
|
616
|
+
`,Ee=v.div`
|
|
617
617
|
color: ${e=>e.theme.colors.gray400};
|
|
618
618
|
font-size: ${e=>e.theme.sizes.fsCaption2};
|
|
619
619
|
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
@@ -623,13 +623,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
623
623
|
&[data-step-passed='true'] {
|
|
624
624
|
color: ${e=>e.theme.colors.gray800};
|
|
625
625
|
}
|
|
626
|
-
|
|
626
|
+
`,$e=v.div`
|
|
627
627
|
position: absolute;
|
|
628
628
|
top: 32px;
|
|
629
629
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
630
630
|
color: ${e=>e.theme.colors.gray400};
|
|
631
631
|
padding-right: 16px;
|
|
632
|
-
`,De=e.forwardRef((({id:t,value:a,options:o,className:n,isDisabled:l,size:s="small",direction:d="vertical",onChange:
|
|
632
|
+
`,De=e.forwardRef((({id:t,value:a,options:o,className:n,isDisabled:l,size:s="small",direction:d="vertical",onChange:c,dataEventCategory:p,dataEventAction:m,dataEventLabel:u},b)=>{const[x,f]=i(a);r(b,(()=>({reset(){f(a)}})));const y="small"===s?"md":"lg",v="vertical"===d?h:g;return e.createElement(L.Group,{name:t,className:n,size:y,value:String(x),defaultValue:a,onChange:e=>{f(e),null==c||c(e)}},e.createElement(v,{spacing:"xl"},o.map((t=>e.createElement(L,{key:t.value,value:t.value,label:t.label,disabled:l,"data-event-category":p,"data-event-action":m,"data-event-label":u})))))})),Ce=v.div`
|
|
633
633
|
--menu-width: 240px;
|
|
634
634
|
--menu-spacing: 28px 16px;
|
|
635
635
|
width: var(--menu-width);
|
|
@@ -655,7 +655,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
655
655
|
&[data-is-collapsed] {
|
|
656
656
|
transform: rotate(180deg);
|
|
657
657
|
}
|
|
658
|
-
`,Ne=({isCollapsed:t,defaultLogo:a,onBackClick:i,customIcon:o})=>e.createElement(Be,null,e.createElement(
|
|
658
|
+
`,Ne=({isCollapsed:t,defaultLogo:a,onBackClick:i,customIcon:o})=>e.createElement(Be,null,e.createElement($,{type:t?"logomark":a||"hellocare",customSize:{width:t?"24px":"77px",height:"24px"}}),e.createElement(Pe,{"data-is-collapsed":t||void 0,onClick:i},o||e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},e.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"}),e.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),je=v.figure`
|
|
659
659
|
display: flex;
|
|
660
660
|
|
|
661
661
|
> img,
|
|
@@ -673,7 +673,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
673
673
|
margin-top: 2px;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
`,Se=({name:t,description:a,image:i,isDescriptionHidden:o})=>e.createElement(je,null,i,!o&&e.createElement("figcaption",null,e.createElement(
|
|
676
|
+
`,Se=({name:t,description:a,image:i,isDescriptionHidden:o})=>e.createElement(je,null,i,!o&&e.createElement("figcaption",null,e.createElement(c,{size:"p4",weight:"bold"},t),e.createElement(c,{size:"p4"},a))),Ie=v.div`
|
|
677
677
|
display: flex;
|
|
678
678
|
align-items: center;
|
|
679
679
|
margin-top: 24px;
|
|
@@ -689,7 +689,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
689
689
|
max-height: 2rem;
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
`,Te=({isCollapsed:t,userName:a,role:i,avatar:o})=>e.createElement(Ie,{"data-is-collapsed":t||void 0},e.createElement(Se,{image:o,name:a,description:i,isDescriptionHidden:t})),
|
|
692
|
+
`,Te=({isCollapsed:t,userName:a,role:i,avatar:o})=>e.createElement(Ie,{"data-is-collapsed":t||void 0},e.createElement(Se,{image:o,name:a,description:i,isDescriptionHidden:t})),Me=v.div`
|
|
693
693
|
display: flex;
|
|
694
694
|
align-items: center;
|
|
695
695
|
padding: 9px 21px;
|
|
@@ -713,7 +713,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
713
713
|
margin-right: -14px;
|
|
714
714
|
margin-left: -14px;
|
|
715
715
|
}
|
|
716
|
-
`,
|
|
716
|
+
`,Ae=({icon:t,isActive:a,children:i,isCollapsed:o,activeIcon:r,onLinkClick:n,textSize:l="base",textType:s="bold",textColorActive:d="#fff",textColor:p="#595959"})=>e.createElement(Me,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":o||void 0},a&&r?r:t,!o&&e.createElement(c,{size:l,weight:s,color:a?d:p},i)),Oe=v.div`
|
|
717
717
|
position: relative;
|
|
718
718
|
width: 100%;
|
|
719
719
|
> .container {
|
|
@@ -795,14 +795,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
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 {
|
|
@@ -848,16 +848,16 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
848
848
|
max-width: 100%;
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
|
-
`,
|
|
851
|
+
`,_e=v.div`
|
|
852
852
|
border-radius: ${e=>e.theme.borderRadius};
|
|
853
853
|
${e=>e["data-is-in-card"]&&`\n padding: 12px; \n background-color: ${e["data-card-color"]};`}
|
|
854
|
-
`,
|
|
854
|
+
`,Le=v.div`
|
|
855
855
|
width: 13px;
|
|
856
856
|
height: 13px;
|
|
857
857
|
margin-right: 10px;
|
|
858
858
|
background-color: ${e=>e["data-color"]};
|
|
859
859
|
border-radius: 50%;
|
|
860
|
-
`,
|
|
860
|
+
`,Ue=v.div`
|
|
861
861
|
display: flex;
|
|
862
862
|
align-items: center;
|
|
863
863
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1206,7 +1206,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
|
-
`,it=({size:t="small",label:a,name:i,checked:o,value:r,className:n,isDisabled:l=!1,onChange:s,hasImage:d,inputType:
|
|
1209
|
+
`,it=({size:t="small",label:a,name:i,checked:o,value:r,className:n,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>e.createElement(et,{"data-disabled":l,className:n,"data-size":t,"data-checked":o,onClick:()=>{s(r)},"data-has-image":d},d&&e.createElement("div",{className:"choice-image-wrapper"},p&&e.createElement("img",{src:p,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${i}-${r}`},a),e.createElement("input",{type:c,checked:o,name:i,id:`${i}-${r}`,value:r,readOnly:!0})),ot=({question:t,description:a,onOptionsChange:r,onTextOptionsChange:n,style:l,className:s})=>{const{type:d,title:p,subtitle:m,image:h,textOptions:g,options:u,name:b,is_multi_select:x}=t,f=!!(null==u?void 0:u.some((e=>e.image))),[y,v]=i([]),[w,k]=i((()=>(null==g?void 0:g.slice())||[]));return o((()=>{r&&r(y.slice())}),[!!r,y]),o((()=>{n&&n(w)}),[!!n,w]),e.createElement(at,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},p&&e.createElement(C,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},p),m&&e.createElement(c,{className:"survey-question-subtitle",size:"p2"},m),a&&e.createElement(c,{className:"survey-question-description",size:"p2"},a)),h&&e.createElement("img",{src:h,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>{var a;return e.createElement(it,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{v([u.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:f})}))),"checkbox"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>e.createElement(it,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));v(e>=0?t=>(t.splice(e,1),t.slice()):x?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:f})))),"textbox"===d&&w.map(((t,a)=>t.isTextArea?e.createElement(z,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>k((t=>(t[a].value=e,t.slice())))}):e.createElement(S,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{k((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var rt;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(rt||(rt={}));const nt=({className:t,headerText:o,style:r,question:n,termAndPolicyText:l,prevText:s,nextText:d,isContactForm:p,isDisableNext:m,isDisablePrev:h,onPrevClick:g,onNextClick:u,isSubmitButton:b,isButtonCenter:x,progress:f,descriptionText:y})=>{var v,w,k;const[E,$]=i([]),{is_multi_select:C,multi_select_option:z,from:B,to:P}=n,N=null==n?void 0:n.type,j="checkbox"===N&&(null===(v=n.options)||void 0===v?void 0:v.length)&&(!E||0===E.length||C&&z===rt.RANGE&&(E.length<B||E.length>P)||C&&z===rt.EXACT_NUMBER&&E.length!==B)||"radio"===N&&(null===(w=n.options)||void 0===w?void 0:w.length)&&(!E||0===E.length)||"textbox"===N&&(null===(k=n.textOptions)||void 0===k?void 0:k.length)&&(E.length<n.textOptions.length||E.some((e=>!e.value))),S="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,I=a(null),T=()=>"textbox"!==N||I.current.reportValidity();return e.createElement(Qe,{className:t,style:r},e.createElement("div",{className:"survey-inner-wrapper"},o&&e.createElement("div",{className:"survey-header"},e.createElement(c,{className:"survey-header-text",size:"c2"},o)),e.createElement("form",{ref:I,onSubmit:e=>e.preventDefault()},e.createElement(ot,{question:n,description:y,onOptionsChange:e=>{$(e)},onTextOptionsChange:e=>{$(e)}})),p&&d&&e.createElement(D,{className:"survey-contact-submit",size:"lg",isDisabled:m||j,onClick:()=>T()&&u&&u(E)},d),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof f&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${S})`}})),(s||d)&&e.createElement("div",{"data-center":x,className:"survey-button-wrapper"},s&&e.createElement(D,{className:"survey-prev-button",size:"lg",color:h?"primary":"secondary",isDisabled:h,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.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:h?"#fff":"#2D87F3"})),onClick:g},s),!p&&d&&e.createElement(D,{onClick:()=>T()&&u&&u(E),className:"survey-next-button",size:"lg",isDisabled:m||j},d," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.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"}))))))},lt=200,st=v.div``,dt=v.div`
|
|
1210
1210
|
width: 100vw;
|
|
1211
1211
|
height: 100vh;
|
|
1212
1212
|
position: fixed;
|
|
@@ -1250,11 +1250,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1250
1250
|
height: 0;
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
|
-
`,
|
|
1253
|
+
`,ct=v.div`
|
|
1254
1254
|
position: fixed;
|
|
1255
1255
|
right: 16px;
|
|
1256
1256
|
bottom: 40px;
|
|
1257
|
-
`,
|
|
1257
|
+
`,pt=v.div`
|
|
1258
1258
|
display: flex;
|
|
1259
1259
|
flex-direction: column;
|
|
1260
1260
|
gap: 16px;
|
|
@@ -1366,7 +1366,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1366
1366
|
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
`,
|
|
1369
|
+
`,ht=v.div`
|
|
1370
1370
|
display: flex;
|
|
1371
1371
|
gap: 8px;
|
|
1372
1372
|
align-items: center;
|
|
@@ -1432,7 +1432,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1432
1432
|
opacity: 0;
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
|
-
`,
|
|
1435
|
+
`,gt=v.div`
|
|
1436
1436
|
font-size: 14px;
|
|
1437
1437
|
|
|
1438
1438
|
// zoom
|
|
@@ -1492,7 +1492,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1492
1492
|
width: 375px;
|
|
1493
1493
|
word-wrap: break-word;
|
|
1494
1494
|
word-break: break-word;
|
|
1495
|
-
${
|
|
1495
|
+
${E.mbDown} {
|
|
1496
1496
|
width: 100%;
|
|
1497
1497
|
}
|
|
1498
1498
|
&[data-theme='helloSites'] {
|
|
@@ -1512,7 +1512,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1512
1512
|
z-index: 1000;
|
|
1513
1513
|
bottom: 0;
|
|
1514
1514
|
right: 0;
|
|
1515
|
-
${
|
|
1515
|
+
${E.mbDown} {
|
|
1516
1516
|
left: 0;
|
|
1517
1517
|
right: unset;
|
|
1518
1518
|
}
|
|
@@ -1577,7 +1577,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1577
1577
|
to {
|
|
1578
1578
|
transform: translateY(0);
|
|
1579
1579
|
}
|
|
1580
|
-
|
|
1580
|
+
`,Et=w`
|
|
1581
1581
|
from {
|
|
1582
1582
|
transform: translate(0, 0);
|
|
1583
1583
|
}
|
|
@@ -1586,7 +1586,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1586
1586
|
visibility: hidden;
|
|
1587
1587
|
transform: translate(0, 100%);
|
|
1588
1588
|
}
|
|
1589
|
-
|
|
1589
|
+
`,$t=v.div`
|
|
1590
1590
|
cursor: pointer;
|
|
1591
1591
|
display: flex;
|
|
1592
1592
|
flex-direction: column;
|
|
@@ -1598,13 +1598,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1598
1598
|
font-weight: 500;
|
|
1599
1599
|
font-size: 10px;
|
|
1600
1600
|
line-height: 16px;
|
|
1601
|
-
color: ${
|
|
1601
|
+
color: ${M.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
|
+
${E.mbDown} {
|
|
1608
1608
|
max-width: 60px;
|
|
1609
1609
|
}
|
|
1610
1610
|
}
|
|
@@ -1635,7 +1635,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1635
1635
|
min-width: 152px;
|
|
1636
1636
|
height: 32px;
|
|
1637
1637
|
/* Neutral/Neutral-50 */
|
|
1638
|
-
background: ${
|
|
1638
|
+
background: ${M.colors.primary50};
|
|
1639
1639
|
border-radius: 20px;
|
|
1640
1640
|
flex-grow: 1;
|
|
1641
1641
|
.mobile-navigation-icon {
|
|
@@ -1646,13 +1646,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1646
1646
|
}
|
|
1647
1647
|
.mobile-navigation-label {
|
|
1648
1648
|
max-width: max-content;
|
|
1649
|
-
color: ${
|
|
1649
|
+
color: ${M.colors.primaryBase};
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
&[data-is-active='true'] {
|
|
1654
1654
|
.mobile-navigation-label {
|
|
1655
|
-
color: ${
|
|
1655
|
+
color: ${M.colors.primaryBase};
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
@@ -1672,7 +1672,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1672
1672
|
height: 100%;
|
|
1673
1673
|
align-items: center;
|
|
1674
1674
|
justify-content: space-evenly;
|
|
1675
|
-
background-color: ${
|
|
1675
|
+
background-color: ${M.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,7 +1685,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1685
1685
|
text-decoration: none;
|
|
1686
1686
|
}
|
|
1687
1687
|
&[data-is-collapsed='true'] {
|
|
1688
|
-
animation: ${
|
|
1688
|
+
animation: ${Et} 500ms ease-in-out forwards;
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
1691
|
&[data-is-collapsed='false'] {
|
|
@@ -1704,9 +1704,9 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1704
1704
|
position: absolute;
|
|
1705
1705
|
left: 100%;
|
|
1706
1706
|
transform: translate(-10px, calc(-50% + 3px));
|
|
1707
|
-
background-color: ${
|
|
1707
|
+
background-color: ${M.colors.green800};
|
|
1708
1708
|
border-radius: 32px;
|
|
1709
|
-
border: 2px solid ${
|
|
1709
|
+
border: 2px solid ${M.colors.white};
|
|
1710
1710
|
padding: 1px 4px;
|
|
1711
1711
|
display: flex;
|
|
1712
1712
|
flex-direction: column;
|
|
@@ -1723,85 +1723,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1723
1723
|
top: 0;
|
|
1724
1724
|
left: 0;
|
|
1725
1725
|
height: 3px;
|
|
1726
|
-
background-color: ${
|
|
1726
|
+
background-color: ${M.colors.primaryBase};
|
|
1727
1727
|
transition: width 150ms linear;
|
|
1728
1728
|
`,v.div`
|
|
1729
1729
|
a {
|
|
1730
1730
|
text-decoration: none;
|
|
1731
1731
|
}
|
|
1732
|
-
`;const zt=t=>{var{badgeAmount:a,disabled:i=!1,hasBadge:o=!1,icon:r,isActive:n=!1,isSpecial:l=!1,label:s}=t,d=I(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return e.createElement(
|
|
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
|
-
`,v.div`
|
|
1744
|
-
&[data-is-mobile='false'] {
|
|
1745
|
-
max-width: 540px;
|
|
1746
|
-
}
|
|
1747
|
-
${$.tdUp} {
|
|
1748
|
-
padding-right: 120px;
|
|
1749
|
-
}
|
|
1750
|
-
`,v.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 Pt="hhgcomp-toolbanner-iconcontainer";B(v.div`
|
|
1774
|
-
position: absolute;
|
|
1775
|
-
z-index: 0;
|
|
1776
|
-
right: 0;
|
|
1777
|
-
bottom: -50px;
|
|
1778
|
-
display: flex;
|
|
1779
|
-
|
|
1780
|
-
align-items: center;
|
|
1781
|
-
|
|
1782
|
-
${$.mbUp} {
|
|
1783
|
-
img {
|
|
1784
|
-
width: 190px;
|
|
1785
|
-
height: 155px;
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
${$.mbDown} {
|
|
1789
|
-
width: 70px;
|
|
1790
|
-
}
|
|
1791
|
-
`,Pt),v.div`
|
|
1792
|
-
position: relative;
|
|
1793
|
-
z-index: 1;
|
|
1794
|
-
max-width: 100%;
|
|
1795
|
-
${$.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 Nt="hhgcomp-toolbanner-inner";B(v.div`
|
|
1803
|
-
position: relative;
|
|
1804
|
-
`,Nt);const jt="hhgcomp-toolbanner-wrapper",St=B(v.div`
|
|
1732
|
+
`;const zt=t=>{var{badgeAmount:a,disabled:i=!1,hasBadge:o=!1,icon:r,isActive:n=!1,isSpecial:l=!1,label:s}=t,d=I(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return e.createElement($t,Object.assign({"data-is-special":l,"data-is-active":n,"data-is-disabled":i},d),e.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},o&&e.createElement(Ct,{"data-no-label":!Boolean(s)},e.createElement(c,{size:"s5",weight:"semiBold",color:l?M.colors.primaryBase:M.colors.white},a)),r),s&&e.createElement("span",{className:"mobile-navigation-label"},s))},Bt=t=>{var{children:a,on:i="",isCollapsed:o=!1,template:r="homepage"}=t,n=I(t,["children","on","isCollapsed","template"]);return e.createElement(Dt,Object.assign({on:i,"data-is-collapsed":o,"data-template":r},n),a)};Bt.Icon=zt;const Pt="hhgcomp-toolbanner-wrapper",Nt=B(v.div`
|
|
1805
1733
|
position: relative;
|
|
1806
1734
|
width: 100%;
|
|
1807
1735
|
height: 100%;
|
|
@@ -1817,9 +1745,9 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1817
1745
|
border-top-right-radius: 16px;
|
|
1818
1746
|
}
|
|
1819
1747
|
}
|
|
1820
|
-
`,
|
|
1748
|
+
`,Pt),jt=v.div`
|
|
1821
1749
|
width: 100%;
|
|
1822
|
-
${
|
|
1750
|
+
${E.mbDown} {
|
|
1823
1751
|
padding-bottom: 24px;
|
|
1824
1752
|
}
|
|
1825
1753
|
|
|
@@ -1832,21 +1760,21 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1832
1760
|
a {
|
|
1833
1761
|
text-decoration: underline;
|
|
1834
1762
|
}
|
|
1835
|
-
${
|
|
1763
|
+
${E.mbDown} {
|
|
1836
1764
|
padding-bottom: 0;
|
|
1837
1765
|
}
|
|
1838
1766
|
}
|
|
1839
1767
|
|
|
1840
|
-
${
|
|
1768
|
+
${E.tdDown} {
|
|
1841
1769
|
height: auto;
|
|
1842
|
-
.${
|
|
1843
|
-
.${
|
|
1770
|
+
.${Pt} {
|
|
1771
|
+
.${"hhgcomp-toolbanner-inner"} {
|
|
1844
1772
|
display: flex;
|
|
1845
1773
|
align-items: center;
|
|
1846
|
-
${
|
|
1774
|
+
${E.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 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1856
1784
|
min-height: 0;
|
|
1857
1785
|
align-self: flex-end;
|
|
1858
1786
|
margin-bottom: -20px;
|
|
1859
|
-
${
|
|
1787
|
+
${E.mbDown} {
|
|
1860
1788
|
right: unset;
|
|
1861
1789
|
}
|
|
1862
1790
|
}
|
|
1863
1791
|
}
|
|
1864
1792
|
}
|
|
1865
1793
|
}
|
|
1866
|
-
`,
|
|
1794
|
+
`,St=v.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
|
+
${E.mbDown} {
|
|
1875
1803
|
padding: 16px 0;
|
|
1876
1804
|
}
|
|
1877
|
-
`,
|
|
1805
|
+
`,It=v.div`
|
|
1878
1806
|
background: #ffffff;
|
|
1879
1807
|
border-radius: 16px;
|
|
1880
1808
|
width: 48px;
|
|
@@ -1889,14 +1817,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1889
1817
|
max-height: 24px;
|
|
1890
1818
|
transform: translate(-50%, -50%);
|
|
1891
1819
|
}
|
|
1892
|
-
`,
|
|
1820
|
+
`,Tt=v.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
|
+
`,Mt=v.div`
|
|
1900
1828
|
display: flex;
|
|
1901
1829
|
align-items: flex-start;
|
|
1902
1830
|
font-weight: 400;
|
|
@@ -1921,7 +1849,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1921
1849
|
height: 14px;
|
|
1922
1850
|
}
|
|
1923
1851
|
}
|
|
1924
|
-
`,
|
|
1852
|
+
`,At=({className:t,heading:a,color:i="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:n,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:m,siteType:h,isEmbeded:g})=>{var u,v;const{t:w}=p(),k=b(),E=o?r:n||r,$={pink:[8,6]},D=k.colors[i]||k.colors.blue,z=(null==s?void 0:s.reviewer)?e.createElement(c,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:w("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(jt,{"data-is-mobile":o,style:m,"data-site":h},e.createElement(Nt,{className:t,"data-banner-url":E,"data-is-mobile":o,"data-site":h,"data-banner-color":l,"data-is-embedded":g,bgColor:`linear-gradient(71deg, ${null==D?void 0:D[(null===(u=$[i])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==D?void 0:D[(null===(v=$[i])||void 0===v?void 0:v[1])||4]} 90.13%)}`},"marryBaby"===h&&g?e.createElement(St,null,e.createElement(It,null,d),e.createElement(Tt,null,e.createElement(C,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Mt,{"data-is-mobile":o},z))):e.createElement(x,{gap:f(24),align:"center",justify:"space-between",sx:{padding:`${f(13)} ${f(20)}`,gap:f(24)}},e.createElement(y,null,e.createElement(C,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(c,{size:"n1",as:"div"},z)),e.createElement(x,{justify:"center",align:"center",sx:e=>{var t,a;return{width:f(64),height:f(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:f(48),maxHeight:f(48)},[e.fn.smallerThan("sm")]:{width:f(56),height:f(56),img:{maxWidth:f(40),maxHeight:f(40)}}}}},d))))},Ot=v(q)`
|
|
1925
1853
|
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
1926
1854
|
background-color: ${e=>e.theme.colors.white};
|
|
1927
1855
|
border-radius: 16px;
|
|
@@ -1963,7 +1891,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1963
1891
|
& .displayIcon {
|
|
1964
1892
|
pointer-events: none;
|
|
1965
1893
|
}
|
|
1966
|
-
`;const
|
|
1894
|
+
`;const _t=v(S)`
|
|
1967
1895
|
& label {
|
|
1968
1896
|
position: absolute;
|
|
1969
1897
|
z-index: 1;
|
|
@@ -1982,7 +1910,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
1982
1910
|
font-size: 12px;
|
|
1983
1911
|
}
|
|
1984
1912
|
|
|
1985
|
-
${
|
|
1913
|
+
${E.tdDown} {
|
|
1986
1914
|
max-width: 220px;
|
|
1987
1915
|
}
|
|
1988
1916
|
}
|
|
@@ -2040,19 +1968,19 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2040
1968
|
padding-right: 46px;
|
|
2041
1969
|
}
|
|
2042
1970
|
}
|
|
2043
|
-
`,
|
|
1971
|
+
`,Lt=v.div`
|
|
2044
1972
|
width: 100%;
|
|
2045
|
-
`,
|
|
1973
|
+
`,Ut=v.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
|
+
${E.mbDown} {
|
|
2053
1981
|
font-size: 14px;
|
|
2054
1982
|
}
|
|
2055
|
-
${
|
|
1983
|
+
${E.tdUp} {
|
|
2056
1984
|
font-size: 16px;
|
|
2057
1985
|
&[data-is-side='true'] {
|
|
2058
1986
|
font-size: 14px;
|
|
@@ -2068,7 +1996,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2068
1996
|
display: flex;
|
|
2069
1997
|
width: 100%;
|
|
2070
1998
|
justify-content: space-between;
|
|
2071
|
-
`,
|
|
1999
|
+
`,Ft=v(Lt)`
|
|
2072
2000
|
.due-date-input {
|
|
2073
2001
|
width: 100%;
|
|
2074
2002
|
min-width: unset;
|
|
@@ -2081,14 +2009,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2081
2009
|
}
|
|
2082
2010
|
input {
|
|
2083
2011
|
&[data-is-side='true'] {
|
|
2084
|
-
${
|
|
2012
|
+
${E.tdUp} {
|
|
2085
2013
|
font-size: 14px;
|
|
2086
2014
|
}
|
|
2087
2015
|
}
|
|
2088
|
-
${
|
|
2016
|
+
${E.mbDown} {
|
|
2089
2017
|
font-size: 14px;
|
|
2090
2018
|
}
|
|
2091
|
-
${
|
|
2019
|
+
${E.tdUp} {
|
|
2092
2020
|
font-size: 16px;
|
|
2093
2021
|
}
|
|
2094
2022
|
}
|
|
@@ -2108,29 +2036,19 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2108
2036
|
line-height: 16px;
|
|
2109
2037
|
text-align: right;
|
|
2110
2038
|
}
|
|
2111
|
-
`;var
|
|
2039
|
+
`;var Ht;v(v.img`
|
|
2112
2040
|
img& {
|
|
2113
2041
|
width: 16px;
|
|
2114
2042
|
height: 16px;
|
|
2115
2043
|
}
|
|
2116
2044
|
`)`
|
|
2117
2045
|
margin-right: 4px;
|
|
2118
|
-
`,function(e){e[e.lastPeriod=0]="lastPeriod",e[e.conception=1]="conception",e[e.IVF=2]="IVF"}(
|
|
2119
|
-
padding: 0;
|
|
2120
|
-
background-color: white;
|
|
2121
|
-
`,v.div`
|
|
2122
|
-
padding-bottom: 2px;
|
|
2123
|
-
margin: auto;
|
|
2124
|
-
${$.mbUp} {
|
|
2125
|
-
width: 100%;
|
|
2126
|
-
padding: 24px;
|
|
2127
|
-
}
|
|
2128
|
-
`;const Xt=v.div`
|
|
2046
|
+
`,function(e){e[e.lastPeriod=0]="lastPeriod",e[e.conception=1]="conception",e[e.IVF=2]="IVF"}(Ht||(Ht={}));const Rt="yyyy-MM-dd",Gt=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:Ht.lastPeriod+1,first_day:Y(e,Rt),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},Wt=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:Ht.conception+1,conception_date:Y(e,Rt),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},Vt=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:Ht.IVF+1,ivf_transfer_date:Y(e,Rt),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},qt=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Yt=v.div`
|
|
2129
2047
|
&[data-is-side='true'] {
|
|
2130
2048
|
width: 100%;
|
|
2131
2049
|
margin-bottom: 0;
|
|
2132
2050
|
}
|
|
2133
|
-
${
|
|
2051
|
+
${E.mbDown} {
|
|
2134
2052
|
width: 100%;
|
|
2135
2053
|
margin-bottom: 0;
|
|
2136
2054
|
}
|
|
@@ -2149,13 +2067,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2149
2067
|
& > div {
|
|
2150
2068
|
width: calc(50% - 8px);
|
|
2151
2069
|
|
|
2152
|
-
${
|
|
2070
|
+
${E.mbUp} {
|
|
2153
2071
|
max-width: 186px;
|
|
2154
2072
|
justify-self: left;
|
|
2155
2073
|
}
|
|
2156
2074
|
}
|
|
2157
2075
|
}
|
|
2158
|
-
`,
|
|
2076
|
+
`,Zt=v.div`
|
|
2159
2077
|
margin-bottom: 20px;
|
|
2160
2078
|
width: 100%;
|
|
2161
2079
|
|
|
@@ -2167,18 +2085,18 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2167
2085
|
width: calc(50% - 8px);
|
|
2168
2086
|
}
|
|
2169
2087
|
}
|
|
2170
|
-
`,
|
|
2088
|
+
`,Xt=v.div`
|
|
2171
2089
|
width: 100%;
|
|
2172
2090
|
display: flex;
|
|
2173
2091
|
justify-content: center;
|
|
2174
|
-
${
|
|
2092
|
+
${E.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
|
+
${E.mbDown} {
|
|
2182
2100
|
margin-top: 24px;
|
|
2183
2101
|
&[data-site='marryBaby'] {
|
|
2184
2102
|
margin-top: 12px;
|
|
@@ -2191,139 +2109,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2191
2109
|
button {
|
|
2192
2110
|
width: 100%;
|
|
2193
2111
|
margin: auto;
|
|
2194
|
-
${
|
|
2112
|
+
${E.mbUp} {
|
|
2195
2113
|
max-width: 200px;
|
|
2196
2114
|
}
|
|
2197
2115
|
}
|
|
2198
|
-
|
|
2199
|
-
${$.mbUp} {
|
|
2200
|
-
padding-left: 16px;
|
|
2201
|
-
padding-right: 16px;
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
padding-bottom: 60px;
|
|
2205
|
-
`,v.div`
|
|
2206
|
-
& > :not(:last-child) {
|
|
2207
|
-
margin-bottom: 28px;
|
|
2208
|
-
}
|
|
2209
|
-
`,v.div`
|
|
2210
|
-
${$.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
|
-
`,v.div`
|
|
2224
|
-
margin-bottom: 32px;
|
|
2225
|
-
|
|
2226
|
-
${$.mbUp} {
|
|
2227
|
-
padding-left: 16px;
|
|
2228
|
-
padding-right: 16px;
|
|
2229
|
-
}
|
|
2230
|
-
`,v.div`
|
|
2231
|
-
margin-bottom: 32px;
|
|
2232
|
-
|
|
2233
|
-
${$.mbUp} {
|
|
2234
|
-
padding-left: 16px;
|
|
2235
|
-
padding-right: 16px;
|
|
2236
|
-
}
|
|
2237
|
-
`,v.div`
|
|
2238
|
-
margin-bottom: 16px;
|
|
2239
|
-
|
|
2240
|
-
${$.mbUp} {
|
|
2241
|
-
padding-left: 16px;
|
|
2242
|
-
padding-right: 16px;
|
|
2243
|
-
}
|
|
2244
|
-
`,v.div`
|
|
2245
|
-
margin-bottom: 24px;
|
|
2246
|
-
|
|
2247
|
-
${$.mbUp} {
|
|
2248
|
-
padding-left: 16px;
|
|
2249
|
-
padding-right: 16px;
|
|
2250
|
-
}
|
|
2251
|
-
`,v.div`
|
|
2252
|
-
margin-bottom: 56px;
|
|
2253
|
-
line-height: 24px;
|
|
2254
|
-
|
|
2255
|
-
& > :first-child {
|
|
2256
|
-
margin-bottom: 8px;
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
${$.mbUp} {
|
|
2260
|
-
padding-left: 16px;
|
|
2261
|
-
padding-right: 16px;
|
|
2262
|
-
}
|
|
2263
|
-
`,v.div`
|
|
2264
|
-
margin-bottom: 56px;
|
|
2265
|
-
|
|
2266
|
-
& > :first-child {
|
|
2267
|
-
margin-bottom: 8px;
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
${$.mbUp} {
|
|
2271
|
-
padding-left: 16px;
|
|
2272
|
-
padding-right: 16px;
|
|
2273
|
-
}
|
|
2274
|
-
`,v.div`
|
|
2275
|
-
padding-top: 32px;
|
|
2276
|
-
|
|
2277
|
-
& > div {
|
|
2278
|
-
margin-bottom: 24px;
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
${$.mbUp} {
|
|
2282
|
-
padding-left: 16px;
|
|
2283
|
-
padding-right: 16px;
|
|
2284
|
-
}
|
|
2285
|
-
`,v.div`
|
|
2286
|
-
padding: 68px 0 56px 0;
|
|
2287
|
-
|
|
2288
|
-
${$.mbUp} {
|
|
2289
|
-
padding: 84px 0 72px 0;
|
|
2290
|
-
}
|
|
2291
|
-
`,v.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
|
-
${$.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
|
-
${$.mbDown} {
|
|
2319
|
-
width: 100%;
|
|
2320
|
-
margin-bottom: 15px;
|
|
2321
|
-
|
|
2322
|
-
.label {
|
|
2323
|
-
margin-bottom: 9px;
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
`;const Qt=v.div`
|
|
2116
|
+
`,Jt=v.div`
|
|
2327
2117
|
width: 100%;
|
|
2328
2118
|
display: flex;
|
|
2329
2119
|
flex-wrap: wrap;
|
|
@@ -2333,13 +2123,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2333
2123
|
flex-direction: column;
|
|
2334
2124
|
}
|
|
2335
2125
|
|
|
2336
|
-
${
|
|
2126
|
+
${E.mbDown} {
|
|
2337
2127
|
flex-direction: column;
|
|
2338
2128
|
.input-section {
|
|
2339
2129
|
width: 100%;
|
|
2340
2130
|
}
|
|
2341
2131
|
}
|
|
2342
|
-
`,
|
|
2132
|
+
`,Kt=v.div`
|
|
2343
2133
|
position: relative;
|
|
2344
2134
|
width: calc(50% - 8px);
|
|
2345
2135
|
|
|
@@ -2348,7 +2138,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2348
2138
|
margin-bottom: 9px;
|
|
2349
2139
|
}
|
|
2350
2140
|
}
|
|
2351
|
-
${
|
|
2141
|
+
${E.mbDown} {
|
|
2352
2142
|
.label {
|
|
2353
2143
|
margin-bottom: 9px;
|
|
2354
2144
|
}
|
|
@@ -2366,11 +2156,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2366
2156
|
overflow-y: scroll;
|
|
2367
2157
|
}
|
|
2368
2158
|
}
|
|
2369
|
-
`,
|
|
2159
|
+
`,Qt=v.div`
|
|
2370
2160
|
margin-bottom: 24px;
|
|
2371
2161
|
width: 100%;
|
|
2372
2162
|
|
|
2373
|
-
${
|
|
2163
|
+
${E.mbUp} {
|
|
2374
2164
|
padding: 0 16px;
|
|
2375
2165
|
}
|
|
2376
2166
|
.card {
|
|
@@ -2390,13 +2180,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2390
2180
|
}
|
|
2391
2181
|
|
|
2392
2182
|
& > div {
|
|
2393
|
-
${
|
|
2183
|
+
${E.mbUp} {
|
|
2394
2184
|
width: calc(18% - 4px);
|
|
2395
2185
|
max-width: 186px;
|
|
2396
2186
|
justify-self: left;
|
|
2397
2187
|
}
|
|
2398
2188
|
|
|
2399
|
-
${
|
|
2189
|
+
${E.mbDown} {
|
|
2400
2190
|
width: calc(31% - 8px);
|
|
2401
2191
|
max-width: 109px;
|
|
2402
2192
|
justify-self: left;
|
|
@@ -2416,27 +2206,27 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2416
2206
|
padding-top: 8px;
|
|
2417
2207
|
padding-bottom: 16px;
|
|
2418
2208
|
}
|
|
2419
|
-
`,
|
|
2209
|
+
`,ea="hhgcomp-embedtoolcard-content",ta=B(v.form`
|
|
2420
2210
|
margin: auto;
|
|
2421
|
-
${
|
|
2211
|
+
${E.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
|
+
${E.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
|
+
${E.mbUp} {
|
|
2435
2225
|
max-width: 200px;
|
|
2436
2226
|
}
|
|
2437
2227
|
}
|
|
2438
2228
|
&[data-is-side='true'] {
|
|
2439
|
-
${
|
|
2229
|
+
${E.mbUp} {
|
|
2440
2230
|
padding: 24px 40px 0px 40px;
|
|
2441
2231
|
}
|
|
2442
2232
|
}
|
|
@@ -2449,17 +2239,17 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2449
2239
|
.input-form {
|
|
2450
2240
|
display: flex;
|
|
2451
2241
|
|
|
2452
|
-
${
|
|
2242
|
+
${E.mbUp} {
|
|
2453
2243
|
margin-bottom: 24px;
|
|
2454
2244
|
width: calc(50% - 8px);
|
|
2455
2245
|
}
|
|
2456
2246
|
&[data-is-side='true'] {
|
|
2457
|
-
${
|
|
2247
|
+
${E.mbUp} {
|
|
2458
2248
|
margin-bottom: 8px;
|
|
2459
2249
|
width: 100%;
|
|
2460
2250
|
}
|
|
2461
2251
|
}
|
|
2462
|
-
${
|
|
2252
|
+
${E.mbDown} {
|
|
2463
2253
|
margin-bottom: 8px;
|
|
2464
2254
|
}
|
|
2465
2255
|
.label-text {
|
|
@@ -2474,15 +2264,15 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2474
2264
|
display: flex;
|
|
2475
2265
|
width: calc(50% - 8px);
|
|
2476
2266
|
|
|
2477
|
-
${
|
|
2267
|
+
${E.mbUp} {
|
|
2478
2268
|
margin-bottom: 24px;
|
|
2479
2269
|
}
|
|
2480
2270
|
&[data-is-side='true'] {
|
|
2481
|
-
${
|
|
2271
|
+
${E.mbUp} {
|
|
2482
2272
|
margin-bottom: 8px;
|
|
2483
2273
|
}
|
|
2484
2274
|
}
|
|
2485
|
-
${
|
|
2275
|
+
${E.mbDown} {
|
|
2486
2276
|
margin-bottom: 8px;
|
|
2487
2277
|
width: 100%;
|
|
2488
2278
|
}
|
|
@@ -2496,14 +2286,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2496
2286
|
}
|
|
2497
2287
|
.day-slider {
|
|
2498
2288
|
width: 100%;
|
|
2499
|
-
${
|
|
2289
|
+
${E.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
|
+
`,ea),aa=v.div`
|
|
2507
2297
|
padding: 0;
|
|
2508
2298
|
background-color: white;
|
|
2509
2299
|
border: 1px solid #e4e8ec;
|
|
@@ -2514,11 +2304,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2514
2304
|
border-radius: 16px;
|
|
2515
2305
|
}
|
|
2516
2306
|
.due-date-cal {
|
|
2517
|
-
.${
|
|
2518
|
-
${
|
|
2307
|
+
.${ea} {
|
|
2308
|
+
${E.mbUp} {
|
|
2519
2309
|
padding: 24px;
|
|
2520
2310
|
}
|
|
2521
|
-
${
|
|
2311
|
+
${E.mbDown} {
|
|
2522
2312
|
padding: 16px;
|
|
2523
2313
|
}
|
|
2524
2314
|
}
|
|
@@ -2546,17 +2336,17 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2546
2336
|
}
|
|
2547
2337
|
.input-form {
|
|
2548
2338
|
display: flex;
|
|
2549
|
-
${
|
|
2339
|
+
${E.mbUp} {
|
|
2550
2340
|
width: calc(50% - 8px);
|
|
2551
2341
|
margin-bottom: 24px;
|
|
2552
2342
|
}
|
|
2553
2343
|
&[data-is-side='true'] {
|
|
2554
|
-
${
|
|
2344
|
+
${E.mbUp} {
|
|
2555
2345
|
margin-bottom: 12px;
|
|
2556
2346
|
width: 100%;
|
|
2557
2347
|
}
|
|
2558
2348
|
}
|
|
2559
|
-
${
|
|
2349
|
+
${E.mbDown} {
|
|
2560
2350
|
margin-bottom: 8px;
|
|
2561
2351
|
}
|
|
2562
2352
|
}
|
|
@@ -2599,7 +2389,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2599
2389
|
}
|
|
2600
2390
|
.input-form {
|
|
2601
2391
|
display: flex;
|
|
2602
|
-
${
|
|
2392
|
+
${E.mbUp} {
|
|
2603
2393
|
width: calc(50% - 8px);
|
|
2604
2394
|
margin-bottom: 24px;
|
|
2605
2395
|
&[data-is-side='true'] {
|
|
@@ -2607,7 +2397,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2607
2397
|
width: 100%;
|
|
2608
2398
|
}
|
|
2609
2399
|
}
|
|
2610
|
-
${
|
|
2400
|
+
${E.mbDown} {
|
|
2611
2401
|
margin-bottom: 8px;
|
|
2612
2402
|
}
|
|
2613
2403
|
}
|
|
@@ -2618,7 +2408,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2618
2408
|
flex-wrap: wrap;
|
|
2619
2409
|
justify-content: space-between;
|
|
2620
2410
|
}
|
|
2621
|
-
${
|
|
2411
|
+
${E.mbDown} {
|
|
2622
2412
|
display: flex;
|
|
2623
2413
|
flex-wrap: wrap;
|
|
2624
2414
|
justify-content: space-between;
|
|
@@ -2627,22 +2417,22 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2627
2417
|
.hide-asking-mobile {
|
|
2628
2418
|
gap: 10px;
|
|
2629
2419
|
&[data-is-side='true'] {
|
|
2630
|
-
${
|
|
2420
|
+
${E.mbUp} {
|
|
2631
2421
|
display: none;
|
|
2632
2422
|
}
|
|
2633
2423
|
}
|
|
2634
|
-
${
|
|
2424
|
+
${E.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
|
+
${E.mbUp} {
|
|
2642
2432
|
display: unset;
|
|
2643
2433
|
}
|
|
2644
2434
|
}
|
|
2645
|
-
${
|
|
2435
|
+
${E.mbUp} {
|
|
2646
2436
|
display: none;
|
|
2647
2437
|
}
|
|
2648
2438
|
}
|
|
@@ -2655,20 +2445,20 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2655
2445
|
background-size: contain;
|
|
2656
2446
|
content: '';
|
|
2657
2447
|
}
|
|
2658
|
-
`,
|
|
2448
|
+
`,ia=v(De)`
|
|
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
|
+
`,oa=v(U)`
|
|
2666
2456
|
margin: 0 auto 24px;
|
|
2667
|
-
${
|
|
2457
|
+
${E.mbUp} {
|
|
2668
2458
|
max-width: 200px;
|
|
2669
2459
|
margin: 24px auto;
|
|
2670
2460
|
}
|
|
2671
|
-
`,
|
|
2461
|
+
`,ra=v(N)`
|
|
2672
2462
|
&.bmi--input {
|
|
2673
2463
|
+ .bmi--input {
|
|
2674
2464
|
margin-top: 24px;
|
|
@@ -2690,7 +2480,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2690
2480
|
width: 100%;
|
|
2691
2481
|
gap: 16px;
|
|
2692
2482
|
> div {
|
|
2693
|
-
${
|
|
2483
|
+
${E.mbDown} {
|
|
2694
2484
|
width: calc(50% - 8px);
|
|
2695
2485
|
}
|
|
2696
2486
|
width: calc(33% - 8px);
|
|
@@ -2706,7 +2496,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2706
2496
|
}
|
|
2707
2497
|
.bmi-side-embed {
|
|
2708
2498
|
> div {
|
|
2709
|
-
${
|
|
2499
|
+
${E.mbUp} {
|
|
2710
2500
|
width: calc(50% - 8px);
|
|
2711
2501
|
}
|
|
2712
2502
|
}
|
|
@@ -2716,7 +2506,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2716
2506
|
}
|
|
2717
2507
|
}
|
|
2718
2508
|
|
|
2719
|
-
${
|
|
2509
|
+
${E.mbDown} {
|
|
2720
2510
|
&.bmi--input {
|
|
2721
2511
|
.bmi--input-radio_gender {
|
|
2722
2512
|
> div {
|
|
@@ -2728,9 +2518,9 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2728
2518
|
}
|
|
2729
2519
|
}
|
|
2730
2520
|
}
|
|
2731
|
-
`,
|
|
2521
|
+
`,na=v.div`
|
|
2732
2522
|
width: 100%;
|
|
2733
|
-
`,
|
|
2523
|
+
`,la=v.div`
|
|
2734
2524
|
margin-bottom: 1rem;
|
|
2735
2525
|
display: flex;
|
|
2736
2526
|
flex-direction: column;
|
|
@@ -2751,23 +2541,8 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
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 pa=v.div`
|
|
2770
|
-
${$.mbUp} {
|
|
2544
|
+
`,sa=v.div`
|
|
2545
|
+
${E.mbUp} {
|
|
2771
2546
|
display: flex;
|
|
2772
2547
|
width: 100%;
|
|
2773
2548
|
align-items: flex-start;
|
|
@@ -2777,30 +2552,30 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2777
2552
|
width: 100%;
|
|
2778
2553
|
}
|
|
2779
2554
|
&[data-is-side='true'] {
|
|
2780
|
-
${
|
|
2555
|
+
${E.mbUp} {
|
|
2781
2556
|
display: flex;
|
|
2782
2557
|
flex-direction: column;
|
|
2783
2558
|
gap: 0px;
|
|
2784
2559
|
}
|
|
2785
2560
|
}
|
|
2786
2561
|
}
|
|
2787
|
-
${
|
|
2562
|
+
${E.mbDown} {
|
|
2788
2563
|
display: flex;
|
|
2789
2564
|
flex-direction: column;
|
|
2790
2565
|
gap: 0px;
|
|
2791
2566
|
}
|
|
2792
|
-
`,
|
|
2567
|
+
`,da=v.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
|
+
`,ca=v.form`
|
|
2800
2575
|
display: flex;
|
|
2801
2576
|
flex-direction: column;
|
|
2802
2577
|
gap: 16px;
|
|
2803
|
-
`,
|
|
2578
|
+
`,pa=v.div`
|
|
2804
2579
|
display: flex;
|
|
2805
2580
|
flex-direction: column;
|
|
2806
2581
|
gap: 6px;
|
|
@@ -2809,11 +2584,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2809
2584
|
.error-input input {
|
|
2810
2585
|
border: 1px solid ${e=>e.theme.colors.red700};
|
|
2811
2586
|
}
|
|
2812
|
-
`,
|
|
2587
|
+
`,ma=v(V)`
|
|
2813
2588
|
display: inline-flex;
|
|
2814
2589
|
padding-bottom: 6px;
|
|
2815
2590
|
gap: 4px;
|
|
2816
|
-
`,
|
|
2591
|
+
`,ha=v.div`
|
|
2817
2592
|
display: flex;
|
|
2818
2593
|
width: 100%;
|
|
2819
2594
|
align-items: center;
|
|
@@ -2822,36 +2597,11 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2822
2597
|
> div {
|
|
2823
2598
|
width: 100%;
|
|
2824
2599
|
}
|
|
2825
|
-
|
|
2826
|
-
${$.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
|
-
${$.mbUp} {
|
|
2845
|
-
max-width: 186px;
|
|
2846
|
-
justify-self: left;
|
|
2847
|
-
}
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
`;const ba=(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},xa=v.div`
|
|
2600
|
+
`,ga=(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},ua=v.div`
|
|
2851
2601
|
padding: 36px;
|
|
2852
2602
|
padding-top: 0;
|
|
2853
2603
|
background-color: white;
|
|
2854
|
-
${
|
|
2604
|
+
${E.mbDown} {
|
|
2855
2605
|
padding: 16px;
|
|
2856
2606
|
padding-top: 0;
|
|
2857
2607
|
}
|
|
@@ -2860,13 +2610,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2860
2610
|
padding: 24px;
|
|
2861
2611
|
border-bottom-right-radius: 16px;
|
|
2862
2612
|
border-bottom-left-radius: 16px;
|
|
2863
|
-
${
|
|
2613
|
+
${E.mbDown} {
|
|
2864
2614
|
padding: 16px;
|
|
2865
2615
|
}
|
|
2866
2616
|
}
|
|
2867
|
-
`,
|
|
2617
|
+
`,ba=v((({onSubmit:t,onError:a,schema:i,siteType:r})=>{const{t:l}=p(),s="mb"===b().other.template,{control:m,setValue:h,watch:g,handleSubmit:u,formState:{isSubmitted:x}}=H({resolver:F(i),mode:"onSubmit",defaultValues:{name:"",gender:A.Boy,measurementDate:new Date}}),f=g("weight"),y=g("height"),v=g("head"),w=n((()=>x&&!f&&!y&&!v),[x,f,y,v]);o((()=>{const e=ga(y,f);h("bmi",String(e)||"0")}),[f,y]);const k=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(da,{"data-theme":r},e.createElement(ca,{onSubmit:u(t,a)},e.createElement(R,{control:m,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(G,{onChange:t,value:a,siteType:r})}),"marryBaby"===r?e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(S,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md"},o,{value:a&&T(a).format(j)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(ha,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(ha,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(S,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:qt(a),CustomInput:e.createElement(pe,{placeholder:a&&T(a).format(j),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(S,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&T(a).format(j),onChange:t},o,{value:a&&T(a).format(j)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":k},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"birthday"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(S,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&T(a).format(j)}))}))}),e.createElement(ha,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"height"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(c,{as:"span",size:"n1",color:M.colors.gray400},l("babyGrowth.cm"))),e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"weight"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(c,{as:"span",size:"n1",color:M.colors.gray400},l("babyGrowth.kg"))),e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(ha,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"head"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(c,{as:"span",size:"n1",color:M.colors.gray400},l("babyGrowth.cm"))),e.createElement(S,{className:w||(null==i?void 0:i.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"bmi"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(c,{as:"span",size:"n1",color:M.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(S,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"measurementDate"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(pe,{placeholder:a&&T(a).format(j),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(S,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&T(a).format(j),onChange:t,actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&T(a).format(j)}))}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":k},l("babyGrowth.input.submit"))))))}))`
|
|
2868
2618
|
padding-block: 0;
|
|
2869
|
-
`;v(
|
|
2619
|
+
`;v(At)`
|
|
2870
2620
|
padding-inline: 20px;
|
|
2871
2621
|
|
|
2872
2622
|
img.embedded-icon {
|
|
@@ -2875,7 +2625,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2875
2625
|
align-self: center;
|
|
2876
2626
|
}
|
|
2877
2627
|
|
|
2878
|
-
${
|
|
2628
|
+
${E.mbDown} {
|
|
2879
2629
|
padding-inline: 0;
|
|
2880
2630
|
img.embedded-icon {
|
|
2881
2631
|
width: 125px;
|
|
@@ -2888,7 +2638,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2888
2638
|
max-width: 200px;
|
|
2889
2639
|
}
|
|
2890
2640
|
}
|
|
2891
|
-
`;var
|
|
2641
|
+
`;var xa=m(((e,t)=>{const{isMarryBaby:a,isSide:i,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(${_.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:i||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 fa=v.div`
|
|
2892
2642
|
display: flex;
|
|
2893
2643
|
width: 100%;
|
|
2894
2644
|
|
|
@@ -2899,7 +2649,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2899
2649
|
&[data-direction='horizontal'] {
|
|
2900
2650
|
flex-wrap: wrap;
|
|
2901
2651
|
}
|
|
2902
|
-
`,
|
|
2652
|
+
`,ya=v.div`
|
|
2903
2653
|
display: flex;
|
|
2904
2654
|
|
|
2905
2655
|
padding: 8px;
|
|
@@ -2945,111 +2695,13 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
2945
2695
|
height: 36px;
|
|
2946
2696
|
object-fit: contain;
|
|
2947
2697
|
}
|
|
2948
|
-
`,
|
|
2698
|
+
`,va=v(U)`
|
|
2949
2699
|
margin: 0 auto 24px;
|
|
2950
2700
|
width: 100%;
|
|
2951
|
-
${
|
|
2701
|
+
${E.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
|
-
${$.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
|
-
${$.mbDown} {
|
|
2980
|
-
width: 100%;
|
|
2981
|
-
.label {
|
|
2982
|
-
margin-bottom: 9px;
|
|
2983
|
-
}
|
|
2984
|
-
}
|
|
2985
|
-
}
|
|
2986
|
-
${$.mbDown} {
|
|
2987
|
-
width: 100%;
|
|
2988
|
-
.label {
|
|
2989
|
-
margin-bottom: 9px;
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
`,v(N)`
|
|
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
|
-
${$.mbUp} {
|
|
3031
|
-
&.bmi--input {
|
|
3032
|
-
.bmi--input-radio_gender {
|
|
3033
|
-
> div {
|
|
3034
|
-
max-width: 186px;
|
|
3035
|
-
}
|
|
3036
|
-
}
|
|
3037
|
-
}
|
|
3038
|
-
}
|
|
3039
|
-
|
|
3040
|
-
${$.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 $a=v.div``,Ea=v.div`
|
|
2704
|
+
`,wa=v.div``,ka=v.div`
|
|
3053
2705
|
display: flex;
|
|
3054
2706
|
flex-direction: column;
|
|
3055
2707
|
gap: 16px;
|
|
@@ -3071,8 +2723,8 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3071
2723
|
font-size: 12px;
|
|
3072
2724
|
}
|
|
3073
2725
|
}
|
|
3074
|
-
`,
|
|
3075
|
-
${
|
|
2726
|
+
`,Ea=v.div`
|
|
2727
|
+
${E.mbUp} {
|
|
3076
2728
|
display: flex;
|
|
3077
2729
|
width: 100%;
|
|
3078
2730
|
align-items: flex-start;
|
|
@@ -3084,86 +2736,26 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3084
2736
|
}
|
|
3085
2737
|
}
|
|
3086
2738
|
|
|
3087
|
-
${
|
|
2739
|
+
${E.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
|
+
${E.mbUp} {
|
|
3095
2747
|
display: flex;
|
|
3096
2748
|
flex-direction: column-reverse;
|
|
3097
2749
|
gap: 0px;
|
|
3098
2750
|
}
|
|
3099
2751
|
}
|
|
3100
|
-
|
|
2752
|
+
`,$a=v(U)`
|
|
3101
2753
|
margin: 0 auto 24px;
|
|
3102
|
-
${
|
|
2754
|
+
${E.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
|
-
${$.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
|
-
${$.mbUp} {
|
|
3145
|
-
width: calc(50% - 8px);
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
}
|
|
3149
|
-
.radio-group-item-heading {
|
|
3150
|
-
margin-top: 0;
|
|
3151
|
-
}
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
${$.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 za=v.div``,Ba=v.div`
|
|
2758
|
+
`,Da=v.div``,Ca=v.div`
|
|
3167
2759
|
margin-bottom: 1rem;
|
|
3168
2760
|
display: flex;
|
|
3169
2761
|
flex-direction: column;
|
|
@@ -3190,8 +2782,8 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3190
2782
|
font-size: 12px;
|
|
3191
2783
|
}
|
|
3192
2784
|
}
|
|
3193
|
-
`,
|
|
3194
|
-
${
|
|
2785
|
+
`,za=v.div`
|
|
2786
|
+
${E.mbUp} {
|
|
3195
2787
|
display: flex;
|
|
3196
2788
|
width: 100%;
|
|
3197
2789
|
align-items: flex-start;
|
|
@@ -3201,23 +2793,23 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3201
2793
|
width: 100%;
|
|
3202
2794
|
}
|
|
3203
2795
|
&[data-is-side='true'] {
|
|
3204
|
-
${
|
|
2796
|
+
${E.mbUp} {
|
|
3205
2797
|
display: flex;
|
|
3206
2798
|
flex-direction: column;
|
|
3207
2799
|
gap: 0px;
|
|
3208
2800
|
}
|
|
3209
2801
|
}
|
|
3210
2802
|
}
|
|
3211
|
-
${
|
|
2803
|
+
${E.mbDown} {
|
|
3212
2804
|
display: flex;
|
|
3213
2805
|
flex-direction: column;
|
|
3214
2806
|
gap: 0px;
|
|
3215
2807
|
}
|
|
3216
|
-
`,
|
|
2808
|
+
`,Ba=({locale:t,onSubmit:a,isSide:o,siteType:r})=>{const{t:l}=p(),[s,m]=i(new Date),[h,g]=i(28),[u,b]=i(7),x={cycle:h,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(Ft,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(_t,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:qt(s),CustomInput:e.createElement(pe,{onChange:e=>{m(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:Z(new Date,-45),after:new Date},customInput:t=>e.createElement(S,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&T(s).format(j)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}):e.createElement(S,{label:e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:qt(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(pe,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:qt(s)})),locale:t,pickedDate:s,displayDateFormat:K,onChange:e=>{m(e)},disabledDays:{before:Z(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:M.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement("span",{style:{minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:M.colors.gray600},h),e.createElement(X,{containerStyle:{flex:1},min:21,max:45,step:1,value:h,onChange:g,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:M.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:M.colors.gray600},u),e.createElement(X,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:b,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(U,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(x)),a&&a({startDate:s,cycle:h,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Pa;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Pa||(Pa={}));const Na=({locale:t,onSubmitOvulation:a,isSide:o,siteType:r})=>{const{t:n}=p(),[l,s]=i(Pa.trackPeriod),d=[{label:n("ovulationPage.trackPeriod"),value:Pa.trackPeriod},{label:n("ovulationPage.conceive"),value:Pa.conceive},{label:n("ovulationPage.avoidPregnancy"),value:Pa.avoidPregnancy}];return e.createElement(Jt,null,e.createElement(Lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(Ot,{groupedWithLabel:n("dueDatePage.calculationMethod"),options:d,placeholder:n("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},n("ovulationPage.objectives")),e.createElement(Ut,{"data-is-side":o},e.createElement(q,{options:d,placeholder:n("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),e.createElement(Ba,{siteType:r,locale:t,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:o}))},ja=v.div`
|
|
3217
2809
|
flex: 1;
|
|
3218
|
-
`,
|
|
2810
|
+
`,Sa=v.div`
|
|
3219
2811
|
padding: 0 10px;
|
|
3220
|
-
`,
|
|
2812
|
+
`,Ia=v.div`
|
|
3221
2813
|
display: flex;
|
|
3222
2814
|
height: 80px;
|
|
3223
2815
|
align-items: center;
|
|
@@ -3229,14 +2821,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3229
2821
|
margin-left: 5px;
|
|
3230
2822
|
}
|
|
3231
2823
|
}
|
|
3232
|
-
${
|
|
2824
|
+
${E.mbDown} {
|
|
3233
2825
|
height: 70px;
|
|
3234
2826
|
}
|
|
3235
|
-
`,
|
|
2827
|
+
`,Ta=v.div`
|
|
3236
2828
|
display: grid;
|
|
3237
2829
|
grid-template-columns: repeat(7, 1fr);
|
|
3238
2830
|
row-gap: 2px;
|
|
3239
|
-
`,
|
|
2831
|
+
`,Ma=v(Ta)`
|
|
3240
2832
|
margin-bottom: 8px;
|
|
3241
2833
|
`;v.div`
|
|
3242
2834
|
height: 40px;
|
|
@@ -3244,14 +2836,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3244
2836
|
display: flex;
|
|
3245
2837
|
align-items: center;
|
|
3246
2838
|
justify-content: center;
|
|
3247
|
-
`;const
|
|
2839
|
+
`;const Aa=v.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
|
+
`,Oa=v.div`
|
|
3255
2847
|
width: 18px;
|
|
3256
2848
|
position: relative;
|
|
3257
2849
|
&::before {
|
|
@@ -3263,17 +2855,17 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3263
2855
|
right: 50%;
|
|
3264
2856
|
background: ${e=>e.theme.colors.neutral100};
|
|
3265
2857
|
}
|
|
3266
|
-
`,
|
|
2858
|
+
`,_a=v.div`
|
|
3267
2859
|
margin: 0 auto;
|
|
3268
|
-
`,
|
|
2860
|
+
`,La=v.div`
|
|
3269
2861
|
position: relative;
|
|
3270
|
-
`,
|
|
2862
|
+
`,Ua=v(Ta)``,Fa=v.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
|
+
${E.mbUp} {
|
|
3277
2869
|
height: 38px;
|
|
3278
2870
|
}
|
|
3279
2871
|
&[data-is-disabled='true'] {
|
|
@@ -3307,14 +2899,14 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3307
2899
|
right: 50%;
|
|
3308
2900
|
}
|
|
3309
2901
|
}
|
|
3310
|
-
`,
|
|
2902
|
+
`,Ha=v.div`
|
|
3311
2903
|
position: relative;
|
|
3312
2904
|
font-weight: 600;
|
|
3313
|
-
${
|
|
2905
|
+
${E.mbDown} {
|
|
3314
2906
|
width: 32px;
|
|
3315
2907
|
height: 32px;
|
|
3316
2908
|
}
|
|
3317
|
-
${
|
|
2909
|
+
${E.mbUp} {
|
|
3318
2910
|
width: 36px;
|
|
3319
2911
|
height: 36px;
|
|
3320
2912
|
}
|
|
@@ -3344,7 +2936,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3344
2936
|
border-radius: 32px;
|
|
3345
2937
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
3346
2938
|
}
|
|
3347
|
-
`,
|
|
2939
|
+
`,Ra=v.div`
|
|
3348
2940
|
display: block;
|
|
3349
2941
|
position: relative;
|
|
3350
2942
|
width: 270px;
|
|
@@ -3352,10 +2944,10 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3352
2944
|
pointer-events: none;
|
|
3353
2945
|
caret-color: transparent;
|
|
3354
2946
|
}
|
|
3355
|
-
${
|
|
2947
|
+
${E.mbDown} {
|
|
3356
2948
|
width: 100%;
|
|
3357
2949
|
}
|
|
3358
|
-
`,
|
|
2950
|
+
`,Ga=v.div`
|
|
3359
2951
|
display: flex;
|
|
3360
2952
|
position: absolute;
|
|
3361
2953
|
top: 46px;
|
|
@@ -3371,10 +2963,10 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3371
2963
|
padding-bottom: 16px;
|
|
3372
2964
|
align-items: stretch;
|
|
3373
2965
|
user-select: none;
|
|
3374
|
-
${
|
|
2966
|
+
${E.mbDown} {
|
|
3375
2967
|
width: 100%;
|
|
3376
2968
|
}
|
|
3377
|
-
`,
|
|
2969
|
+
`,Wa=v.div`
|
|
3378
2970
|
display: flex;
|
|
3379
2971
|
gap: 20px;
|
|
3380
2972
|
width: 100%;
|
|
@@ -3405,7 +2997,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3405
2997
|
}
|
|
3406
2998
|
}
|
|
3407
2999
|
}
|
|
3408
|
-
`,
|
|
3000
|
+
`,Va=v(W)`
|
|
3409
3001
|
padding-bottom: 24px;
|
|
3410
3002
|
.share-container {
|
|
3411
3003
|
display: flex;
|
|
@@ -3439,7 +3031,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3439
3031
|
height: 32px;
|
|
3440
3032
|
}
|
|
3441
3033
|
}
|
|
3442
|
-
`,
|
|
3034
|
+
`,qa=v.div`
|
|
3443
3035
|
position: fixed;
|
|
3444
3036
|
z-index: 48;
|
|
3445
3037
|
bottom: 0;
|
|
@@ -3472,7 +3064,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3472
3064
|
opacity: 1;
|
|
3473
3065
|
pointer-events: auto;
|
|
3474
3066
|
}
|
|
3475
|
-
`,
|
|
3067
|
+
`,Ya=v.div`
|
|
3476
3068
|
display: flex;
|
|
3477
3069
|
justify-content: center;
|
|
3478
3070
|
align-items: center;
|
|
@@ -3494,7 +3086,7 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3494
3086
|
background: none;
|
|
3495
3087
|
border: none;
|
|
3496
3088
|
}
|
|
3497
|
-
`,
|
|
3089
|
+
`,Za=v.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 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
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
|
+
`,Xa=v.div`
|
|
3522
3114
|
background-color: white;
|
|
3523
|
-
background-image: url(${
|
|
3115
|
+
background-image: url(${_.getAssetPath("close-blue.svg")});
|
|
3524
3116
|
background-repeat: no-repeat;
|
|
3525
3117
|
background-size: 10px;
|
|
3526
3118
|
background-position: center;
|
|
@@ -3530,4 +3122,4 @@ import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle
|
|
|
3530
3122
|
top: 1px;
|
|
3531
3123
|
right: 1px;
|
|
3532
3124
|
cursor: pointer;
|
|
3533
|
-
`,
|
|
3125
|
+
`,Ja={},Ka=e=>{if(Ja[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Ja[e]]),delete Ja[e]}))}},Qa=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],ei=t(l((function({className:t,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,contentId:c,isHidden:m,hideIfHasSubot:h,isSticky:g,refreshInterval:u,customTargetings:b,style:x,adDefaultSize:f,noWrapper:v,showCloseBtn:w,onCloseAd:k,headerBottom:E,wrapperProps:$,locale:D,isMarryBaby:C},z){const B=u||(D===O.Vietnam&&s.some((e=>Qa.includes(e)))?30:void 0),{t:P}=p(),N=a(null),j=a(null),S=a(B);S.current=B;const[I,T]=i(!1),M=()=>{S.current&&(null!==j.current&&clearInterval(j.current),j.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Ja[l]&&e.pubads().refresh([Ja[l]])}))}),1e3*S.current))};if(o((()=>()=>{Ka(l),j.current&&clearInterval(j.current)}),[]),o((()=>{M()}),[B]),o((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:o,sizeMapping:r,hideIfHasSubot:n,customTargetings:l,onSuccess:s})=>{if(!i||!document.getElementById(i))return console.error("divId is required");Ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:d}=window;d.cmd.push((function(){const c=document.querySelector('meta[name="content_id"]'),p="string"==typeof e?e:null==c?void 0:c.content,m=d.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)}Ja[i]=m,m.setTargeting("Pos",o),m.addService(d.pubads()),p&&m.setTargeting("Content_ID",p),r&&m.defineSizeMapping(r),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),d.display(i),null==s||s()}}))})({contentId:c,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,hideIfHasSubot:h,customTargetings:b,onSuccess:M})}),[m]),I)return null;const A=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:z,id:l}),w&&e.createElement(Xa,{onClick:()=>{null==k||k(),T(!0)}}));if(g)return A;const L=f?f[0]:n?Array.isArray(n[0])?n[0][0]:n[0]:void 0,U=f?f[1]:n?Array.isArray(n[0])?n[0][1]:n[1]:void 0;return e.createElement(y,Object.assign({},$,{className:t}),e.createElement(Ya,{ref:N,className:t,style:x,"data-no-wrapper":!!v,"data-header-bottom":!!E},v?A:e.createElement(e.Fragment,null,e.createElement(Za,{"data-header-bottom":!!E},e.createElement("img",{src:C?_.getAssetPath("adsIcon-mb.svg"):_.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,P("adBanner.title"))),e.createElement("div",{style:{minWidth:L||"100%",minHeight:U||"100%",position:"relative"}},A))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ti=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:_.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:_.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:_.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var ai;!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"}(ai||(ai={}));const ii={DUE_DATE:ai.DUE_DATE,BMI:ai.BMI,BMR:ai.BMR,OVULATION:ai.OVULATION,IFRAME:ai.IFRAME,PWG:ai.PWG,THR:ai.THR,BABY_VACCINE:ai.BABY_VACCINE,BABY_GROWTH:ai.BABY_GROWTH,BABY_POOP:ai.BABY_POOP},oi={[ii.DUE_DATE]:_.getAssetPath("health-tools/due-date-icon.svg")};var ri,ni,li,si;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(ri||(ri={})),function(e){e.Option="option"}(ni||(ni={})),function(e){e.Button="button",e.Checkbox="checkbox"}(li||(li={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(si||(si={}));const di={pregnancy:ri.Pregnant,parenting:ri.Parenting},ci={[ri.Pregnant]:"pregnant",[ri.Parenting]:"parent"},pi=s({});var mi=m((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:f(32),padding:`${f(6)} ${f(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const hi=s({}),gi=l((function(t,a){var{label:i}=t,o=I(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(g,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.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"})),e.createElement(c,{size:"p3"},i)))})),ui=l((function(t,a){var{label:i}=t,o=I(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(c,{size:"p3"},i))}));var bi="fVk18fq",xi="v8TCvUb",fi="mx7T4V3";const yi={myHealth:M.mbColors.toneYellow,myCommunity:M.mbColors.toneBlue,mySaved:M.mbColors.toneGreen},vi={helloSites:{myBooking:()=>_.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>_.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>_.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>_.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>_.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>_.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>_.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>_.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>_.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},wi=({type:t,themeName:a,className:i,onClick:o=(()=>{})})=>{const{t:r}=p(),l=n((()=>{var e,i;return(null===(i=null===(e=vi[a])||void 0===e?void 0:e[t])||void 0===i?void 0:i.call(e))||""}),[t,a]),s=n((()=>"marryBaby"!==a?"transparent":yi[t]),[t,a]);return e.createElement("div",{onClick:function(){o(t)},className:`${bi} ${i}`},e.createElement("div",{className:fi,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),e.createElement("h3",{className:xi},r(`userProfile.nav.card.${t}`)))};export{gt as $,ei as A,ie as B,_e as C,pe as D,Ue as E,Le as F,Fe as G,Re as H,We as I,Ze as J,qe as K,te as L,Bt as M,Je as N,Ke as O,Qe as P,tt as Q,De as R,nt as S,At as T,oe as U,st as V,dt as W,ct as X,pt as Y,ht as Z,lt as _,Se as a,ri as a$,ut as a0,mt as a1,bt as a2,xt as a3,ft as a4,yt as a5,vt as a6,wt as a7,Ft as a8,_t as a9,va as aA,Da as aB,Ca as aC,za as aD,$a as aE,Zt as aF,Na as aG,Yt as aH,ia as aI,Kt as aJ,Xt as aK,Oa as aL,ja as aM,Ia as aN,Sa as aO,Ma as aP,Aa as aQ,La as aR,_a as aS,Ua as aT,Fa as aU,Ha as aV,Ra as aW,Ga as aX,Wa as aY,Va as aZ,qa as a_,qt as aa,Wt as ab,Rt as ac,Vt as ad,Gt as ae,Ht as af,Jt as ag,Lt as ah,Ot as ai,Ut as aj,aa as ak,ta as al,na as am,la as an,sa as ao,ra as ap,oa as aq,ua as ar,ba as as,xa as at,fa as au,ya as av,wa as aw,Ea as ax,ka as ay,Qt as az,zt as b,si as b0,li as b1,ii as b2,pi as b3,mi as b4,oi as b5,hi as b6,gi as b7,ui as b8,ti as b9,wi as ba,di as c,ci as d,ae as e,ne as f,le as g,me as h,he as i,fe as j,ye as k,ue as l,be as m,ge as n,xe as o,ve as p,ke as q,we as r,Ee as s,$e as t,re as u,ze as v,Ne as w,Te as x,Ae as y,Oe as z};
|