@hhgtech/hhg-components 1.25.35 → 1.25.36
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/constants.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/authorBadge/index.d.ts +2 -2
- package/build/components/atoms/checkbox/index.d.ts +1 -1
- package/build/components/atoms/dropdownMB/index.styled.d.ts +1 -1
- package/build/components/atoms/inputMB/index.styled.d.ts +2 -2
- package/build/components/atoms/logo/index.d.ts +1 -1
- package/build/components/atoms/logo/utils.d.ts +1 -1
- package/build/components/atoms/newBabyProfileRadio/index.d.ts +1 -1
- package/build/components/atoms/pill/index.d.ts +1 -1
- package/build/components/atoms/radioImageGroup/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +2 -2
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/babyGrowthRecord/index.d.ts +2 -2
- package/build/components/babyGrowth/childCard/index.d.ts +1 -1
- package/build/components/babyGrowth/childCard/index.styled.d.ts +1 -1
- package/build/components/babyGrowth/childCard/menu.d.ts +1 -1
- package/build/components/mantine/provider/index.d.ts +1 -1
- package/build/components/mantine/spoiler/index.d.ts +1 -1
- package/build/components/mantine/text/index.d.ts +1 -1
- package/build/components/mantine/theme/index.d.ts +1 -1
- package/build/components/mantine/theme/input.d.ts +1 -1
- package/build/components/mantine/useMantineLocale.d.ts +1 -1
- package/build/components/molecules/bmiForm/index.styled.d.ts +2 -2
- package/build/components/molecules/bmrForm/index.d.ts +2 -2
- package/build/components/molecules/bmrForm/index.styled.d.ts +2 -2
- package/build/components/molecules/datePicker/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/index.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/index.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +2 -2
- package/build/components/molecules/languageSwitcher/index.d.ts +1 -1
- package/build/components/molecules/modal/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +1 -1
- package/build/components/molecules/pillCarousel/index.d.ts +3 -3
- package/build/components/molecules/pillCarousel/index.styled.d.ts +2 -2
- package/build/components/molecules/shareContainer/index.d.ts +2 -2
- package/build/components/molecules/shareDrawer/index.d.ts +2 -2
- package/build/components/molecules/shareDrawer/index.styled.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/molecules/thrForm/index.d.ts +2 -2
- package/build/components/molecules/thrForm/index.styled.d.ts +2 -2
- package/build/components/molecules/toolBannerCard/index.d.ts +1 -1
- package/build/components/molecules/weightGainForm/index.d.ts +2 -2
- package/build/components/onboarding/dynamicForm/index.d.ts +1 -1
- package/build/components/onboarding/generateSchema.d.ts +1 -1
- package/build/components/onboarding/index.d.ts +2 -2
- package/build/components/onboarding/onboardingForm/index.d.ts +1 -1
- package/build/components/onboarding/onboardingForm/index.styled.d.ts +1 -1
- package/build/components/onboarding/onboardingModal/index.d.ts +2 -2
- package/build/components/onboarding/otpForm/index.styled.d.ts +1 -1
- package/build/components/onboarding/personalInfoForm/index.d.ts +1 -1
- package/build/components/onboarding/updatePassword/index.d.ts +1 -1
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/index.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/chartConfig.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +1 -1
- package/build/components/vaccination/helpers.d.ts +1 -1
- package/build/components/vaccination/shared/badge.d.ts +1 -1
- package/build/components/vaccination/shared/cardIcon.d.ts +1 -1
- package/build/components/vaccination/shared/dose.d.ts +1 -1
- package/build/components/vaccination/vaccinationFilter/helper.d.ts +1 -1
- package/build/components/vaccination/vaccinationFilter/index.d.ts +1 -1
- package/build/components/vaccination/vaccineCard/index.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/detail.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/form.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
- package/build/components/vaccination/vaccineImmunization/index.d.ts +1 -1
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +1 -1
- package/build/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +1 -1
- package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +1 -1
- package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-afd57165.js +1 -0
- package/build/{dataTransform-7663ea09.js → dataTransform-bb7c499e.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +5 -5
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-647a15de.js → core-fa695797.js} +1 -1
- package/build/esm/{dataTransform-299867a9.js → dataTransform-e4501988.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-fb8c9ad7.js +1 -0
- package/build/esm/{getSocialList-82d7ffc3.js → getSocialList-c858709d.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-ddad2b2a.js → index-00d505b7.js} +1 -1
- package/build/esm/{index-3e452a18.js → index-0283a699.js} +1 -1
- package/build/esm/{index-017a7d26.js → index-1dfc5abf.js} +1 -1
- package/build/esm/index-344f6754.js +1 -0
- package/build/esm/{index-97babfad.js → index-3553f52c.js} +1 -1
- package/build/esm/{index-7d986b1f.js → index-36f8df35.js} +1 -1
- package/build/esm/index-38e342d4.js +1 -0
- package/build/esm/{index-3bd7bcc4.js → index-464ba15f.js} +1 -1
- package/build/esm/index-4a4f2d7d.js +1 -0
- package/build/esm/{index-1821ae0e.js → index-51197bc0.js} +1 -1
- package/build/esm/index-5d8fc2c0.js +1 -0
- package/build/esm/{index-b2657953.js → index-5df8b35f.js} +1 -1
- package/build/esm/{index-6dfd1b6f.js → index-698d66a9.js} +1 -1
- package/build/esm/{index-3305ebf9.js → index-6bb4d58c.js} +1 -1
- package/build/esm/index-7565c296.js +1 -0
- package/build/esm/{index-6dac2b55.js → index-7a4c7fca.js} +1 -1
- package/build/esm/{index-702375f3.js → index-88460ab3.js} +1 -1
- package/build/esm/{index-468875d5.js → index-919602ae.js} +1 -1
- package/build/esm/{index-698486e7.js → index-ae3d091c.js} +1 -1
- package/build/esm/{index-2e76b841.js → index-d160cfee.js} +1 -1
- package/build/esm/{index-059abdc0.js → index-e2f376fc.js} +1 -1
- package/build/esm/index-ee854796.js +1 -0
- package/build/esm/{index-86398030.js → index-f11e3605.js} +1 -1
- package/build/esm/{index-c80ab0b0.js → index-f1f37549.js} +1 -1
- package/build/esm/{index-db8021c7.js → index-f2e852ef.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c831c189.js → index.styled-69250e23.js} +1 -1
- package/build/esm/{index.styled-c67d6370.js → index.styled-71417370.js} +4 -4
- package/build/esm/{index.styled-0066e46b.js → index.styled-91796bd9.js} +1 -1
- package/build/esm/{index.styled-3cdfddfb.js → index.styled-92c0dae3.js} +1 -1
- package/build/esm/{index.styled-0688d352.js → index.styled-b24f62cc.js} +1 -1
- package/build/esm/{index.styled-b858fa94.js → index.styled-dc24716e.js} +2 -2
- package/build/esm/{index.styled-df7f0ccc.js → index.styled-ec04e5e2.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-77095a41.js → routing-6a88e000.js} +1 -1
- package/build/esm/{screenSizeContext-34204c6d.js → screenSizeContext-2840297f.js} +2 -2
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-14df1537.js → translationsProvider-bb070a52.js} +1 -1
- package/build/esm/{types-73b12414.js → types-535fc372.js} +1 -1
- package/build/esm/{types-5b9f27b4.js → types-80de673d.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useHealthToolCache-451448aa.js → useHealthToolCache-c92dcb5e.js} +1 -1
- package/build/esm/{useRafState-aca823c4.js → useRafState-6d5232d8.js} +1 -1
- package/build/esm/{useScreenSize-ba4eb54f.js → useScreenSize-164a75b6.js} +1 -1
- package/build/esm/{useTranslations-c01be8fe.js → useTranslations-f0cced3e.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c2050498.js +1 -0
- package/build/{getSocialList-7f8fca86.js → getSocialList-85819bae.js} +1 -1
- package/build/hooks/useHealthToolCache.d.ts +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-8327e179.js → index-08db455b.js} +1 -1
- package/build/{index-dce58d8a.js → index-12dd8d68.js} +1 -1
- package/build/{index-bc458ba0.js → index-196b6bf9.js} +1 -1
- package/build/{index-61b8ef65.js → index-3f441dab.js} +1 -1
- package/build/{index-3e6e296a.js → index-4778e638.js} +1 -1
- package/build/{index-83d8e8d5.js → index-5b3062d6.js} +1 -1
- package/build/{index-6455a5b6.js → index-62282c6d.js} +1 -1
- package/build/{index-77021b2b.js → index-6c1efe71.js} +1 -1
- package/build/{index-b60e84e1.js → index-74ea07de.js} +1 -1
- package/build/{index-9500a606.js → index-8b743a43.js} +1 -1
- package/build/{index-3fd177ab.js → index-91f00b32.js} +1 -1
- package/build/{index-939cad43.js → index-948a3a48.js} +1 -1
- package/build/{index-c6c234a8.js → index-9eaaccb8.js} +1 -1
- package/build/{index-d3059750.js → index-a464ac79.js} +1 -1
- package/build/{index-364d48fe.js → index-b3c28e29.js} +1 -1
- package/build/{index-ee0149d2.js → index-b62fd0f0.js} +1 -1
- package/build/index-c47d5745.js +1 -0
- package/build/{index-52dfec27.js → index-c4ec798a.js} +1 -1
- package/build/{index-69b827e7.js → index-caddaff4.js} +1 -1
- package/build/{index-30653266.js → index-cd4e751c.js} +1 -1
- package/build/{index-e8e56b2e.js → index-dd5c5cc4.js} +1 -1
- package/build/{index-69a89a65.js → index-e7ae7b86.js} +1 -1
- package/build/{index-61862d54.js → index-e854650e.js} +1 -1
- package/build/index-f65b6651.js +1 -0
- package/build/{index-65ef1823.js → index-fc634b8a.js} +6 -6
- package/build/index.js +1 -1
- package/build/index.styled-4b0ff886.js +50 -0
- package/build/{index.styled-2f8e381d.js → index.styled-603057dd.js} +1 -1
- package/build/{index.styled-bfcb5da4.js → index.styled-9ed29ce2.js} +1 -1
- package/build/{index.styled-508be42c.js → index.styled-a4d7f1bc.js} +1 -1
- package/build/{index.styled-e739c256.js → index.styled-bfa83b0c.js} +1 -1
- package/build/{index.styled-225387b3.js → index.styled-d323f07d.js} +1 -1
- package/build/{index.styled-e7af0092.js → index.styled-deaa34f7.js} +3 -3
- package/build/interfaces/types/BabyGrowth.d.ts +2 -2
- package/build/lead/index.d.ts +1 -1
- package/build/lead/layouts/lightbox/fields/index.d.ts +1 -1
- package/build/lead/layouts/lightbox/index.d.ts +1 -1
- package/build/lead/leadGenContext.d.ts +1 -1
- package/build/lead/newLeadPopup.d.ts +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/dataTransform.d.ts +1 -1
- package/build/misc/getDynamicHealthTool.d.ts +1 -1
- package/build/misc/getSocialList.d.ts +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +3 -3
- package/build/{routing-40b2cfe1.js → routing-7206db73.js} +1 -1
- package/build/screenSizeContext-7cfbaca5.js +81 -0
- package/build/together/api/dataTransform.d.ts +1 -1
- package/build/together/api/utils.d.ts +1 -1
- package/build/together/components/molecules/cardAuthor/index.d.ts +1 -1
- package/build/together/components/molecules/popupDanger/index.d.ts +1 -1
- package/build/together/components/molecules/popupDoctor/index.d.ts +2 -2
- package/build/together/components/molecules/popupHospital/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/about/articleCard/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/answering/postCard/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/context.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/posts/postCard/index.d.ts +1 -1
- package/build/together/components/molecules/profileDetail/types.d.ts +2 -2
- package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -2
- package/build/together/interfaces/constants.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-a566c125.js → translationsProvider-1133be6f.js} +1 -1
- package/build/{types-5bfc5dce.js → types-9ef3c0b6.js} +1 -1
- package/build/{types-0c1793ae.js → types-f8da642e.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-1d0d5456.js → useHealthToolCache-6c1ee852.js} +1 -1
- package/build/{useRafState-93faf5e9.js → useRafState-ea8e81e9.js} +1 -1
- package/build/{useScreenSize-43c0bda0.js → useScreenSize-e76327a2.js} +1 -1
- package/build/useTranslations-0accd0fa.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +3 -1
- package/build/core-536248a7.js +0 -1
- package/build/esm/getDynamicHealthTool-4127b7a1.js +0 -1
- package/build/esm/index-031cff1d.js +0 -1
- package/build/esm/index-43bcdd39.js +0 -1
- package/build/esm/index-67fc7cd9.js +0 -1
- package/build/esm/index-6bb774bd.js +0 -1
- package/build/esm/index-87e0a273.js +0 -1
- package/build/esm/index-d1f1a730.js +0 -1
- package/build/getDynamicHealthTool-3a674326.js +0 -1
- package/build/index-80a704bb.js +0 -1
- package/build/index-a891a273.js +0 -1
- package/build/index.styled-ccfb10c8.js +0 -50
- package/build/screenSizeContext-aa822e03.js +0 -81
- package/build/useTranslations-b9bf87da.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-ff94a822.js → BMI_BOYS.percentile.monthly-381061bf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3c76feca.js → BMI_BOYS.percentile.weekly-e0582747.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e69f2830.js → BMI_BOYS.percentile.yearly-a055bb61.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-8eb7b059.js → BMI_BOYS.zscore.monthly-dd3d4fab.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8c230067.js → BMI_BOYS.zscore.weekly-9b6450bc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-51651dd2.js → BMI_BOYS.zscore.yearly-2f198ff4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-30d5de63.js → BMI_GIRLS.percentile.monthly-df0c3dec.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-e8aaa010.js → BMI_GIRLS.percentile.weekly-233d0da0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-fd0ad2ed.js → BMI_GIRLS.percentile.yearly-743ee5e1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-753d42db.js → BMI_GIRLS.zscore.monthly-b6663121.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-e1ad94b5.js → BMI_GIRLS.zscore.weekly-2d5cbd4b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5af622ba.js → BMI_GIRLS.zscore.yearly-7315393a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b1a304e9.js → HEAD CIRCUM_BOYS.percentile.monthly-4a157d67.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-16f5bdc2.js → HEAD CIRCUM_BOYS.percentile.weekly-331543b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-77b0b3ed.js → HEAD CIRCUM_BOYS.percentile.yearly-30be9bc2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-768a6626.js → HEAD CIRCUM_BOYS.zscore.monthly-a5cd32b9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-597b03e3.js → HEAD CIRCUM_BOYS.zscore.weekly-e91bdfb1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-14df7ec3.js → HEAD CIRCUM_BOYS.zscore.yearly-5f9e9dab.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-01b9d57f.js → HEAD CIRCUM_GIRLS.percentile.monthly-5d63bfbb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-358063d8.js → HEAD CIRCUM_GIRLS.percentile.weekly-a7f03220.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9bf304ac.js → HEAD CIRCUM_GIRLS.percentile.yearly-1004a5a0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2a68b762.js → HEAD CIRCUM_GIRLS.zscore.monthly-7a503779.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c9833202.js → HEAD CIRCUM_GIRLS.zscore.weekly-d0abb346.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9f12624e.js → HEAD CIRCUM_GIRLS.zscore.yearly-661a62ec.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-4c98118c.js → HEIGHT_BOYS.percentile.monthly-64cd8149.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0e692039.js → HEIGHT_BOYS.percentile.weekly-a044c638.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-dab748b3.js → HEIGHT_BOYS.percentile.yearly-6517758b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b759b80a.js → HEIGHT_BOYS.zscore.monthly-f7041831.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-f0b5e6ef.js → HEIGHT_BOYS.zscore.weekly-b7081b5c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-77021592.js → HEIGHT_BOYS.zscore.yearly-946608e7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-67a527d3.js → HEIGHT_GIRLS.percentile.monthly-b92bcdf3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b95089d9.js → HEIGHT_GIRLS.percentile.weekly-90f6d0ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4c3ed78c.js → HEIGHT_GIRLS.percentile.yearly-9a82ad97.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-13219be6.js → HEIGHT_GIRLS.zscore.monthly-7992a56a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-62665d86.js → HEIGHT_GIRLS.zscore.weekly-91355242.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-d3a546dc.js → HEIGHT_GIRLS.zscore.yearly-67e12452.js} +0 -0
- /package/build/{Onboarding-7f9dadd8.js → Onboarding-674ced2e.js} +0 -0
- /package/build/{Visible-ac0c3a60.js → Visible-c2f4156b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2f96de73.js → WEIGHT_BOYS.percentile.monthly-9b609e88.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-bca59a08.js → WEIGHT_BOYS.percentile.weekly-73d837aa.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-dc24620d.js → WEIGHT_BOYS.percentile.yearly-5b8e8ea2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-0622697f.js → WEIGHT_BOYS.zscore.monthly-c82c62a9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e50cde02.js → WEIGHT_BOYS.zscore.weekly-fcc797f1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-689f395c.js → WEIGHT_BOYS.zscore.yearly-c80cc5b7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-79b5793f.js → WEIGHT_GIRLS.percentile.monthly-01cee389.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-e21b80d9.js → WEIGHT_GIRLS.percentile.weekly-7584479c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6d910d2e.js → WEIGHT_GIRLS.percentile.yearly-65bd4893.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8941e005.js → WEIGHT_GIRLS.zscore.monthly-9354c6d0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-128b7a64.js → WEIGHT_GIRLS.zscore.weekly-c0999600.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2f1fc800.js → WEIGHT_GIRLS.zscore.yearly-bb6f2355.js} +0 -0
- /package/build/{constants-84ac597c.js → constants-01531057.js} +0 -0
- /package/build/{cookieHelper-c7a320b9.js → cookieHelper-27c35bed.js} +0 -0
- /package/build/{dataTransform-291f8ba3.js → dataTransform-bada7055.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d2a0fede.js → BMI_BOYS.percentile.monthly-d9c7f4ba.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-80c6e52a.js → BMI_BOYS.percentile.weekly-0697e6b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-11956943.js → BMI_BOYS.percentile.yearly-e5b169ae.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-23a89e47.js → BMI_BOYS.zscore.monthly-65f7dd59.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b65bc0e6.js → BMI_BOYS.zscore.weekly-5eb3fc36.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-af743de5.js → BMI_BOYS.zscore.yearly-e9a47dc8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0a68116b.js → BMI_GIRLS.percentile.monthly-800b8793.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-0746cb79.js → BMI_GIRLS.percentile.weekly-1d1413a0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-bb986872.js → BMI_GIRLS.percentile.yearly-9bd9dcdc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-9c7a3595.js → BMI_GIRLS.zscore.monthly-9633c622.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9515b8c2.js → BMI_GIRLS.zscore.weekly-02e46ef6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-983fb0de.js → BMI_GIRLS.zscore.yearly-77a4fc84.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ba71c015.js → HEAD CIRCUM_BOYS.percentile.monthly-e27cbea5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6667d3e9.js → HEAD CIRCUM_BOYS.percentile.weekly-5c679d4e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d73cb5eb.js → HEAD CIRCUM_BOYS.percentile.yearly-236cf295.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-22ae9c65.js → HEAD CIRCUM_BOYS.zscore.monthly-d21e83b4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7f947ec9.js → HEAD CIRCUM_BOYS.zscore.weekly-719417a1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f6e1ea17.js → HEAD CIRCUM_BOYS.zscore.yearly-6abe8cc7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-aa67add2.js → HEAD CIRCUM_GIRLS.percentile.monthly-0e253fad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6ac49a17.js → HEAD CIRCUM_GIRLS.percentile.weekly-3f821c0f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-63adfad1.js → HEAD CIRCUM_GIRLS.percentile.yearly-38469546.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a212ddb5.js → HEAD CIRCUM_GIRLS.zscore.monthly-5e8b6a75.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e8f8c925.js → HEAD CIRCUM_GIRLS.zscore.weekly-59945354.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8bb1cc45.js → HEAD CIRCUM_GIRLS.zscore.yearly-e5d234f7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7b4ca36f.js → HEIGHT_BOYS.percentile.monthly-7c486bdc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-457d7a7f.js → HEIGHT_BOYS.percentile.weekly-c8756a57.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b6915a5d.js → HEIGHT_BOYS.percentile.yearly-a3eee562.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-fd619a05.js → HEIGHT_BOYS.zscore.monthly-28824088.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-e556018e.js → HEIGHT_BOYS.zscore.weekly-f61e799b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2eaed3fa.js → HEIGHT_BOYS.zscore.yearly-2a5f656f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-40492f62.js → HEIGHT_GIRLS.percentile.monthly-c1a783d7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a6fe0f43.js → HEIGHT_GIRLS.percentile.weekly-84a88c81.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c2537443.js → HEIGHT_GIRLS.percentile.yearly-476360c6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-29baf54e.js → HEIGHT_GIRLS.zscore.monthly-750bd19d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-99fda6d5.js → HEIGHT_GIRLS.zscore.weekly-81360cc2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fd0341a6.js → HEIGHT_GIRLS.zscore.yearly-6b5979c2.js} +0 -0
- /package/build/esm/{Onboarding-b384332c.js → Onboarding-7f257662.js} +0 -0
- /package/build/esm/{Visible-7cd2256e.js → Visible-e723ef25.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ce394d13.js → WEIGHT_BOYS.percentile.monthly-789c0660.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3fe8d8e7.js → WEIGHT_BOYS.percentile.weekly-32b0e8af.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c76db011.js → WEIGHT_BOYS.percentile.yearly-2dc3250f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f29a04ed.js → WEIGHT_BOYS.zscore.monthly-3edb2a14.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-accf9d62.js → WEIGHT_BOYS.zscore.weekly-679a7621.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b7900138.js → WEIGHT_BOYS.zscore.yearly-ecadc06a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4e69daf8.js → WEIGHT_GIRLS.percentile.monthly-82c20658.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0053f94e.js → WEIGHT_GIRLS.percentile.weekly-2a2e5745.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ffc70a36.js → WEIGHT_GIRLS.percentile.yearly-0a3a6d7f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-dae05324.js → WEIGHT_GIRLS.zscore.monthly-1dd362e1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bfa4ddc9.js → WEIGHT_GIRLS.zscore.weekly-6f2b3bcc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8c7431d2.js → WEIGHT_GIRLS.zscore.yearly-26339e43.js} +0 -0
- /package/build/esm/{constants-044e96d8.js → constants-fb2cb839.js} +0 -0
- /package/build/esm/{cookieHelper-1a848f0b.js → cookieHelper-6b4c70ff.js} +0 -0
- /package/build/esm/{dataTransform-b4369fce.js → dataTransform-22d88475.js} +0 -0
- /package/build/esm/{index-4b719b56.js → index-96d0a874.js} +0 -0
- /package/build/esm/{isProduction-736d6063.js → isProduction-131bd50b.js} +0 -0
- /package/build/esm/{localizeNumberFormat-250147b6.js → localizeNumberFormat-b756cd96.js} +0 -0
- /package/build/esm/{normalizeLink-0089210b.js → normalizeLink-220739ad.js} +0 -0
- /package/build/esm/{theme-e3ce3910.js → theme-386905b2.js} +0 -0
- /package/build/esm/{translationsContext-6eed96b5.js → translationsContext-1eae5a73.js} +0 -0
- /package/build/esm/{tslib.es6-1368c874.js → tslib.es6-51527b54.js} +0 -0
- /package/build/esm/{types-69f1514e.js → types-c29279b2.js} +0 -0
- /package/build/esm/{useIsInit-88a537fc.js → useIsInit-3765d1f6.js} +0 -0
- /package/build/esm/{useOutsideClick-6ede7c77.js → useOutsideClick-e078f8c6.js} +0 -0
- /package/build/esm/{useScrollbarSize-dc705fcd.js → useScrollbarSize-b0f6553d.js} +0 -0
- /package/build/esm/{useUniqueId-e4582335.js → useUniqueId-526fb90d.js} +0 -0
- /package/build/esm/{utils-07699107.js → utils-7aeb2e4e.js} +0 -0
- /package/build/{index-eb7070a1.js → index-da0f1fea.js} +0 -0
- /package/build/{isProduction-6fed8e6c.js → isProduction-95560e6e.js} +0 -0
- /package/build/{localizeNumberFormat-344baec3.js → localizeNumberFormat-5b3c2b24.js} +0 -0
- /package/build/{normalizeLink-0180038e.js → normalizeLink-4a81ee6f.js} +0 -0
- /package/build/{theme-dd3d0249.js → theme-8614dbc5.js} +0 -0
- /package/build/{translationsContext-28876e75.js → translationsContext-04a18292.js} +0 -0
- /package/build/{tslib.es6-a48eec7a.js → tslib.es6-a8879632.js} +0 -0
- /package/build/{types-039590de.js → types-4391cdb9.js} +0 -0
- /package/build/{useIsInit-074c06ae.js → useIsInit-5173d7ba.js} +0 -0
- /package/build/{useOutsideClick-ed6fccc0.js → useOutsideClick-4cb784f2.js} +0 -0
- /package/build/{useScrollbarSize-130393db.js → useScrollbarSize-493dda62.js} +0 -0
- /package/build/{useUniqueId-fcf06c24.js → useUniqueId-f0136904.js} +0 -0
- /package/build/{utils-4e5c3ef5.js → utils-7989ab64.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SiteType } from
|
|
3
|
-
import { PregWeightInfo } from
|
|
2
|
+
import { SiteType } from "../../../interfaces/types";
|
|
3
|
+
import { PregWeightInfo } from "../../../together/interfaces/types";
|
|
4
4
|
import { InputError } from '../embeddedHeathToolCards/pwg/pwg';
|
|
5
5
|
export type Props = {
|
|
6
6
|
info: PregWeightInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PhoneProps } from
|
|
2
|
+
import { PhoneProps } from "../../mantine/phone";
|
|
3
3
|
export type DynamicFormProps = {
|
|
4
4
|
defaultCountry?: PhoneProps['defaultCountry'];
|
|
5
5
|
inputOrder?: Array<'phone' | 'full_name' | 'email' | 'gender' | 'dob' | 'otp' | 'password' | 'confirm_password'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LocaleType } from 'interfaces/types';
|
|
2
|
-
import { UseTranslationsReturn } from
|
|
2
|
+
import { UseTranslationsReturn } from "../../hooks";
|
|
3
3
|
import * as yup from 'yup';
|
|
4
4
|
export declare const onboardingSchema: (t: UseTranslationsReturn<LocaleType>['t']) => yup.ObjectSchema<{
|
|
5
5
|
phone: string;
|
|
@@ -3,5 +3,5 @@ export type { OnboardingModalProps } from './onboardingModal';
|
|
|
3
3
|
export { OnboardingForm, MAPPED_LOCALE } from './onboardingForm';
|
|
4
4
|
export type { OnboardingFormProps } from './onboardingForm';
|
|
5
5
|
export { OtpForm } from './otpForm';
|
|
6
|
-
export type { PersonalInfo } from
|
|
7
|
-
export { OnboardingStep } from
|
|
6
|
+
export type { PersonalInfo } from "../../interfaces/types";
|
|
7
|
+
export { OnboardingStep } from "../../interfaces/types";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledOnboardingForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("
|
|
2
|
+
export declare const StyledOnboardingForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("../../ui/onboarding").OnboardingProps) => JSX.Element, any, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { OnboardingProps } from
|
|
3
|
-
import { Banner, OnboardingStep, PersonalInfo } from
|
|
2
|
+
import { OnboardingProps } from "../../ui/onboarding";
|
|
3
|
+
import { Banner, OnboardingStep, PersonalInfo } from "../../../interfaces/types";
|
|
4
4
|
import { OnboardingFormProps } from '../onboardingForm';
|
|
5
5
|
export type ResultScreen = OnboardingProps;
|
|
6
6
|
export type OnboardingModalProps = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledOtpForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("
|
|
2
|
+
export declare const StyledOtpForm: import("styled-components").StyledComponent<({ heading, description, children, className, imgSrc, ...rest }: import("../../ui/onboarding").OnboardingProps) => JSX.Element, any, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { OvulationInfo, ReviewedUserApi } from
|
|
2
|
+
import { OvulationInfo, ReviewedUserApi } from "../../../../together/interfaces/types";
|
|
3
3
|
export type Props = {
|
|
4
4
|
backgroundDesktopSrc?: string;
|
|
5
5
|
backgroundMobileSrc?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Hospital } from 'care/interfaces/types';
|
|
3
3
|
import { LocaleType, ProjectType } from 'interfaces/types';
|
|
4
|
-
import { Option } from
|
|
4
|
+
import { Option } from "../../molecules/languageSwitcher/tooltipSelection";
|
|
5
5
|
import { Community, Post } from 'together/interfaces/types';
|
|
6
6
|
import { Category, HealthTool, MenuServiceType, Specialty, SpotlightSummary, State } from './types';
|
|
7
7
|
export type NavMenuContentType = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PillCarouselProps } from
|
|
2
|
+
import type { PillCarouselProps } from "../../molecules/pillCarousel";
|
|
3
3
|
import { SiteType } from '../../organisms/navigationV2/types';
|
|
4
4
|
import { ChartProps } from './components/chart';
|
|
5
5
|
export type PregnancyWeightGainChartProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSObject } from '@mantine/core';
|
|
2
|
-
import { BabyVaccinationDetail, BabyVaccinationDetailApi, BabyVaccinationProfile, BabyVaccinationProfileApi, BabyVaccinationSchedule, BabyVaccinationScheduleApi, BabyVaccinationStatus, BabyVaccinationTimeline, BabyVaccinationTimelineApi, BabyVaccineDetail, BabyVaccineDetailApi } from
|
|
2
|
+
import { BabyVaccinationDetail, BabyVaccinationDetailApi, BabyVaccinationProfile, BabyVaccinationProfileApi, BabyVaccinationSchedule, BabyVaccinationScheduleApi, BabyVaccinationStatus, BabyVaccinationTimeline, BabyVaccinationTimelineApi, BabyVaccineDetail, BabyVaccineDetailApi } from "../../interfaces/types";
|
|
3
3
|
export declare const MAPPED_STATUS: Partial<Record<BabyVaccinationStatus, CSSObject>>;
|
|
4
4
|
export declare const VACCINE_SCHEDULES: BabyVaccinationSchedule[];
|
|
5
5
|
export declare function formatBabyVaccinationDetail(data: BabyVaccinationDetailApi): BabyVaccinationDetail;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BadgeProps } from '@mantine/core';
|
|
3
|
-
import { BabyVaccinationStatus } from
|
|
3
|
+
import { BabyVaccinationStatus } from "../../../interfaces/types";
|
|
4
4
|
type _BadgeProps = {
|
|
5
5
|
status: BabyVaccinationStatus;
|
|
6
6
|
content?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BabyVaccinationSchedule, BabyVaccinationStatus, BabyVaccinationTimeline } from
|
|
1
|
+
import { BabyVaccinationSchedule, BabyVaccinationStatus, BabyVaccinationTimeline } from "../../../interfaces/types";
|
|
2
2
|
export declare const sumEachTimeLine: (timeline: BabyVaccinationTimeline, status: BabyVaccinationStatus) => number;
|
|
3
3
|
export declare const sumEachSchedule: (schedule: BabyVaccinationSchedule, status: BabyVaccinationStatus) => number;
|
|
4
4
|
export declare const sumByStatus: (schedules: Array<BabyVaccinationSchedule>, status: BabyVaccinationStatus) => number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { BabyVaccinationSchedule, BabyVaccinationStatus } from
|
|
2
|
+
import { BabyVaccinationSchedule, BabyVaccinationStatus } from "../../../interfaces/types";
|
|
3
3
|
export type VaccinationFilterProps = {
|
|
4
4
|
schedules: Array<BabyVaccinationSchedule>;
|
|
5
5
|
status?: BabyVaccinationStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
import { BabyVaccinationRecord } from
|
|
2
|
+
import { BabyVaccinationRecord } from "../../../interfaces/types";
|
|
3
3
|
interface WithVaccineCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
vaccineRecord: BabyVaccinationRecord;
|
|
5
5
|
isCurrent?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ContainerProps } from '@mantine/core';
|
|
3
|
-
import { BabyVaccineDetail } from
|
|
3
|
+
import { BabyVaccineDetail } from "../../../interfaces/types";
|
|
4
4
|
type _DetailProps = {
|
|
5
5
|
details: BabyVaccineDetail;
|
|
6
6
|
} & ContainerProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ModalProps } from
|
|
3
|
-
import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from
|
|
2
|
+
import { ModalProps } from "../../mantine";
|
|
3
|
+
import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from "../../../interfaces/types";
|
|
4
4
|
import { FormField } from './form';
|
|
5
5
|
export type VaccineDetailPopupProps = {
|
|
6
6
|
vaccineDetail: BabyVaccineDetail;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from
|
|
2
|
+
import { BabyVaccinationRecord, BabyVaccineDetail, SiteType } from "../../../interfaces/types";
|
|
3
3
|
export type ImmunizationProps = {
|
|
4
4
|
details: Array<BabyVaccineDetail>;
|
|
5
5
|
onClick?(record: BabyVaccineDetail | BabyVaccinationRecord, template?: 'default' | 'immunization'): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { BabyVaccinationRecord, BabyVaccinationSchedule, Gender, SiteType } from
|
|
2
|
+
import { BabyVaccinationRecord, BabyVaccinationSchedule, Gender, SiteType } from "../../../interfaces/types";
|
|
3
3
|
export type RecordsByAgeGroupProps = {
|
|
4
4
|
schedules: Array<BabyVaccinationSchedule>;
|
|
5
5
|
onToggle?(status: boolean, record: BabyVaccinationRecord): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { StackProps } from '@mantine/core';
|
|
3
|
-
import { BabyVaccinationRecord } from
|
|
3
|
+
import { BabyVaccinationRecord } from "../../../interfaces/types";
|
|
4
4
|
type _RecordProps = {
|
|
5
5
|
records: Array<BabyVaccinationRecord>;
|
|
6
6
|
isCurrent?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { BabyVaccinationRecord, BabyVaccinationTimeline } from
|
|
2
|
+
import { BabyVaccinationRecord, BabyVaccinationTimeline } from "../../../interfaces/types";
|
|
3
3
|
type _ScheduleTimelineProps = {
|
|
4
4
|
timeline: BabyVaccinationTimeline;
|
|
5
5
|
onToggle?(status: boolean, record: BabyVaccinationRecord): void;
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-e854650e.js"),r=require("./index-91f00b32.js"),o=require("./index-cd4e751c.js"),t=require("./index-74ea07de.js"),i=require("./index-62282c6d.js"),a=require("./index-b3c28e29.js"),s=require("./index.styled-bfa83b0c.js"),d=require("./index-8b743a43.js"),n=require("./index.styled-d323f07d.js"),u=require("./index.styled-9ed29ce2.js"),x=require("./index-e7ae7b86.js"),p=require("./index-b62fd0f0.js"),l=require("./index-9eaaccb8.js"),c=require("./index-4778e638.js"),q=require("./index-08db455b.js"),b=require("./index-da0f1fea.js"),g=require("./dataTransform-bb7c499e.js"),C=require("./index-3f441dab.js"),j=require("./footer.js");require("react"),require("./utils-7989ab64.js"),require("./useUniqueId-f0136904.js"),require("./gAssets.js"),require("./index-948a3a48.js"),require("./Onboarding-674ced2e.js"),require("./isProduction-95560e6e.js"),require("./theme-8614dbc5.js"),require("./tslib.es6-a8879632.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-7cfbaca5.js"),require("styled-components"),require("./useTranslations-0accd0fa.js"),require("./translationsContext-04a18292.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-a4d7f1bc.js"),require("./index-fc634b8a.js"),require("@mantine/dates"),require("@mantine/hooks"),require("@mantine/carousel"),require("./index-12dd8d68.js"),require("./types-4391cdb9.js"),require("./index.styled-603057dd.js"),require("./cookieHelper-27c35bed.js"),require("slugify"),require("./routing-7206db73.js"),require("dayjs/plugin/relativeTime"),require("./index-5b3062d6.js"),require("./index-196b6bf9.js"),require("react-hook-form"),require("./useHealthToolCache-6c1ee852.js"),require("./getDynamicHealthTool-c2050498.js"),require("./core-afd57165.js"),require("./normalizeLink-4a81ee6f.js"),require("./useOutsideClick-4cb784f2.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./useScreenSize-e76327a2.js"),require("./getSocialList-85819bae.js"),require("./constants-01531057.js"),require("./useIsInit-5173d7ba.js"),require("lodash/debounce"),require("./index-caddaff4.js"),require("./index-f65b6651.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-493dda62.js"),require("react-dom"),require("./index.styled-4b0ff886.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=d.Logo,exports.Menu=n.Menu,exports.PureInput=n.PureInput,exports.TextArea=n.TextArea,exports.TextDivider=n.TextDivider,exports.DatePicker=u.DatePicker,exports.DoctorInfo=u.DoctorInfo,exports.Dropdown=u.Dropdown,exports.MobileBottomNavigation=u.MobileBottomNavigation,exports.MobileBottomNavigationIcon=u.MobileBottomNavigationIcon,exports.Radio=u.Radio,exports.RadioGroup=u.RadioGroup,exports.SurveyQuestionCard=u.SurveyQuestionCard,exports.ToolsBannerCard=u.ToolsBannerCard,exports.Text=x.Text,exports.Container=p.Container,exports.Icon=l.Icon,exports.Drawer=c.Drawer,exports.RadioImageGroup=c.RadioImageGroup,exports.Modal=q.Modal,exports.NewBabyProfileRadio=q.NewBabyProfileRadio,exports.CustomReferenceDot=b.CustomReferenceDot,exports.Popup=g.Popup,exports.PillCarousel=C.PillCarousel,exports.Footer=j.Footer;
|
package/build/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-674ced2e.js");var e=require("./index-948a3a48.js"),O=require("./isProduction-95560e6e.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=require("./tslib.es6-a8879632.js"),e=require("./isProduction-95560e6e.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./index.styled-2f8e381d.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
|
|
1
|
+
"use strict";var e=require("react"),i=require("./index.styled-603057dd.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
|