@hhgtech/hhg-components 1.27.26 → 1.27.28
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 +8 -8
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-b2f2763f.js +1 -0
- package/build/dataTransform-6f8603ca.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/__mocks__/article.d.ts +112 -0
- package/build/esm/__mocks__/pillData.d.ts +201 -0
- package/build/esm/babyGrowth.js +7 -7
- package/build/esm/cache/core.d.ts +7 -0
- package/build/esm/cache/index.d.ts +1 -0
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/paths.d.ts +7 -0
- package/build/esm/care/api/utils.d.ts +5 -0
- package/build/esm/care/components/atoms/icons/index.d.ts +23 -0
- package/build/esm/care/components/organisms/bookingSearchBar/constants.d.ts +4 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.d.ts +28 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +7 -0
- package/build/esm/care/components/organisms/bookingSearchBar/index.test.d.ts +1 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +16 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +14 -0
- package/build/esm/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +7 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +12 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +6 -0
- package/build/esm/care/components/organisms/bookingSearchBar/reducer.d.ts +127 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +5 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +17 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +11 -0
- package/build/esm/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +10 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +20 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +9 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +15 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchResults/mockData.d.ts +2 -0
- package/build/esm/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +6 -0
- package/build/esm/care/components/organisms/bookingSearchBar/types.d.ts +10 -0
- package/build/esm/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.d.ts +8 -0
- package/build/esm/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +16 -0
- package/build/esm/care/components/organisms/bookingSearchBar/utils/Typewriter.d.ts +57 -0
- package/build/esm/care/index.d.ts +3 -0
- package/build/esm/care/interfaces/constants.d.ts +15 -0
- package/build/esm/care/interfaces/types.d.ts +224 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/alert/index.d.ts +17 -0
- package/build/esm/components/atoms/alert/index.test.d.ts +1 -0
- package/build/esm/components/atoms/authorBadge/index.d.ts +16 -0
- package/build/esm/components/atoms/authorBadge/index.styles.d.ts +8 -0
- package/build/esm/components/atoms/avatar/index.d.ts +22 -0
- package/build/esm/components/atoms/avatar/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/backdrop/index.d.ts +7 -0
- package/build/esm/components/atoms/backdrop/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/badge/index.d.ts +17 -0
- package/build/esm/components/atoms/badge/index.styled.d.ts +9 -0
- package/build/esm/components/atoms/badge/index.test.d.ts +1 -0
- package/build/esm/components/atoms/borderHeading/index.d.ts +14 -0
- package/build/esm/components/atoms/borderHeading/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/btnChoice/index.d.ts +14 -0
- package/build/esm/components/atoms/btnChoice/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/button/index.d.ts +32 -0
- package/build/esm/components/atoms/button/index.test.d.ts +1 -0
- package/build/esm/components/atoms/checkbox/index.d.ts +19 -0
- package/build/esm/components/atoms/checkbox/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/checkbox/index.test.d.ts +1 -0
- package/build/esm/components/atoms/container/index.d.ts +13 -0
- package/build/esm/components/atoms/customReferenceDot/index.d.ts +3 -0
- package/build/esm/components/atoms/displayWrapper/index.d.ts +10 -0
- package/build/esm/components/atoms/displayWrapper/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/divider/index.d.ts +13 -0
- package/build/esm/components/atoms/divider/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/divider/index.test.d.ts +1 -0
- package/build/esm/components/atoms/drawer/helpers.d.ts +2 -0
- package/build/esm/components/atoms/drawer/index.d.ts +19 -0
- package/build/esm/components/atoms/drawer/index.styled.d.ts +10 -0
- package/build/esm/components/atoms/dropdownMB/index.d.ts +2 -0
- package/build/esm/components/atoms/dropdownMB/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/errorBoundary.d.ts +15 -0
- package/build/esm/components/atoms/fileDropdown/index.d.ts +23 -0
- package/build/esm/components/atoms/fileDropdown/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/fileDropdown/index.test.d.ts +1 -0
- package/build/esm/components/atoms/flag/icons/cambodia.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/english.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/india.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/indonesia.d.ts +6 -0
- package/build/esm/components/atoms/flag/icons/malaysia.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/myanmar.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/philippines.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/taiwan.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/thailand.d.ts +4 -0
- package/build/esm/components/atoms/flag/icons/vietnam.d.ts +4 -0
- package/build/esm/components/atoms/flag/index.d.ts +13 -0
- package/build/esm/components/atoms/flag/index.test.d.ts +1 -0
- package/build/esm/components/atoms/grid/index.d.ts +27 -0
- package/build/esm/components/atoms/grid/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/grid/index.test.d.ts +1 -0
- package/build/esm/components/atoms/heading/index.d.ts +17 -0
- package/build/esm/components/atoms/heading/index.test.d.ts +1 -0
- package/build/esm/components/atoms/icons/ACharacter.d.ts +4 -0
- package/build/esm/components/atoms/icons/Activities.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowDown.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowLeft.d.ts +4 -0
- package/build/esm/components/atoms/icons/ArrowRight.d.ts +4 -0
- package/build/esm/components/atoms/icons/Ask.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/BarChart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Booking.d.ts +4 -0
- package/build/esm/components/atoms/icons/Bookmark.d.ts +4 -0
- package/build/esm/components/atoms/icons/Boy.d.ts +4 -0
- package/build/esm/components/atoms/icons/Calendar.d.ts +4 -0
- package/build/esm/components/atoms/icons/CalendarMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Chat.d.ts +4 -0
- package/build/esm/components/atoms/icons/Check.d.ts +4 -0
- package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +4 -0
- package/build/esm/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/esm/components/atoms/icons/Close.d.ts +4 -0
- package/build/esm/components/atoms/icons/Comment.d.ts +4 -0
- package/build/esm/components/atoms/icons/Community.d.ts +4 -0
- package/build/esm/components/atoms/icons/CrossLogo.d.ts +4 -0
- package/build/esm/components/atoms/icons/Current.d.ts +4 -0
- package/build/esm/components/atoms/icons/EditSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Endorse.d.ts +4 -0
- package/build/esm/components/atoms/icons/Family.d.ts +4 -0
- package/build/esm/components/atoms/icons/Font.d.ts +4 -0
- package/build/esm/components/atoms/icons/FullScreen.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GenderGirl.d.ts +4 -0
- package/build/esm/components/atoms/icons/Girl.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeople.d.ts +4 -0
- package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
- package/build/esm/components/atoms/icons/Heart.d.ts +4 -0
- package/build/esm/components/atoms/icons/Home.d.ts +4 -0
- package/build/esm/components/atoms/icons/Info.d.ts +4 -0
- package/build/esm/components/atoms/icons/Kebab.d.ts +4 -0
- package/build/esm/components/atoms/icons/Like.d.ts +4 -0
- package/build/esm/components/atoms/icons/Link.d.ts +4 -0
- package/build/esm/components/atoms/icons/Minus.d.ts +4 -0
- package/build/esm/components/atoms/icons/Missed.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyCommunity.d.ts +4 -0
- package/build/esm/components/atoms/icons/MyHealth.d.ts +4 -0
- package/build/esm/components/atoms/icons/Oppose.d.ts +4 -0
- package/build/esm/components/atoms/icons/Plus.d.ts +5 -0
- package/build/esm/components/atoms/icons/PlusSpecial.d.ts +4 -0
- package/build/esm/components/atoms/icons/Post.d.ts +4 -0
- package/build/esm/components/atoms/icons/Recalculate.d.ts +4 -0
- package/build/esm/components/atoms/icons/Reply.d.ts +4 -0
- package/build/esm/components/atoms/icons/Scale.d.ts +4 -0
- package/build/esm/components/atoms/icons/Share.d.ts +4 -0
- package/build/esm/components/atoms/icons/ShieldCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Smile.d.ts +4 -0
- package/build/esm/components/atoms/icons/Sparkle.d.ts +4 -0
- package/build/esm/components/atoms/icons/Stethoscope.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOff.d.ts +4 -0
- package/build/esm/components/atoms/icons/ToggleOn.d.ts +4 -0
- package/build/esm/components/atoms/icons/Trash.d.ts +4 -0
- package/build/esm/components/atoms/icons/Upcoming.d.ts +4 -0
- package/build/esm/components/atoms/icons/UserCheck.d.ts +4 -0
- package/build/esm/components/atoms/icons/Vaccinated.d.ts +4 -0
- package/build/esm/components/atoms/icons/Video.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +53 -0
- package/build/esm/components/atoms/imageWithHandler/index.d.ts +6 -0
- package/build/esm/components/atoms/imageWrap/index.d.ts +6 -0
- package/build/esm/components/atoms/index.d.ts +48 -0
- package/build/esm/components/atoms/input/index.d.ts +28 -0
- package/build/esm/components/atoms/input/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/input/index.test.d.ts +1 -0
- package/build/esm/components/atoms/inputMB/index.d.ts +2 -0
- package/build/esm/components/atoms/inputMB/index.styled.d.ts +3 -0
- package/build/esm/components/atoms/label/index.d.ts +13 -0
- package/build/esm/components/atoms/label/index.test.d.ts +1 -0
- package/build/esm/components/atoms/logo/index.d.ts +24 -0
- package/build/esm/components/atoms/logo/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/logo/index.test.d.ts +1 -0
- package/build/esm/components/atoms/logo/logoIcon.d.ts +8 -0
- package/build/esm/components/atoms/logo/utils.d.ts +5 -0
- package/build/esm/components/atoms/marryBabyText/index.d.ts +20 -0
- package/build/esm/components/atoms/marryBabyText/index.styled.d.ts +8 -0
- package/build/esm/components/atoms/menu/index.d.ts +10 -0
- package/build/esm/components/atoms/menu/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/menu/item.d.ts +7 -0
- package/build/esm/components/atoms/newBabyProfileRadio/index.d.ts +11 -0
- package/build/esm/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/pagination/index.d.ts +14 -0
- package/build/esm/components/atoms/pagination/index.styled.d.ts +3 -0
- package/build/esm/components/atoms/pagination/index.test.d.ts +1 -0
- package/build/esm/components/atoms/pill/index.d.ts +13 -0
- package/build/esm/components/atoms/pill/index.styled.d.ts +9 -0
- package/build/esm/components/atoms/progress/index.d.ts +13 -0
- package/build/esm/components/atoms/progress/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/pureInput/index.d.ts +24 -0
- package/build/esm/components/atoms/pureInput/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/pureInput/index.test.d.ts +1 -0
- package/build/esm/components/atoms/radio/index.d.ts +20 -0
- package/build/esm/components/atoms/radio/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/radio/index.test.d.ts +1 -0
- package/build/esm/components/atoms/radioImageGroup/index.d.ts +19 -0
- package/build/esm/components/atoms/radioImageGroup/index.styled.d.ts +2 -0
- package/build/esm/components/atoms/rateStars/StarEmptyIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/StarFullIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/StarHalfIcon.d.ts +3 -0
- package/build/esm/components/atoms/rateStars/index.d.ts +33 -0
- package/build/esm/components/atoms/rateStars/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/shadow/index.d.ts +9 -0
- package/build/esm/components/atoms/shadow/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/shadow/index.test.d.ts +1 -0
- package/build/esm/components/atoms/stepRenderer/index.d.ts +19 -0
- package/build/esm/components/atoms/tag/index.d.ts +17 -0
- package/build/esm/components/atoms/tag/index.styled.d.ts +11 -0
- package/build/esm/components/atoms/tag/index.test.d.ts +1 -0
- package/build/esm/components/atoms/text/index.d.ts +27 -0
- package/build/esm/components/atoms/textArea/index.d.ts +19 -0
- package/build/esm/components/atoms/textDivider/index.d.ts +10 -0
- package/build/esm/components/atoms/toggle/index.d.ts +14 -0
- package/build/esm/components/atoms/toggle/index.styled.d.ts +5 -0
- package/build/esm/components/atoms/toggle/index.test.d.ts +1 -0
- package/build/esm/components/atoms/underlinedLink/index.d.ts +13 -0
- package/build/esm/components/atoms/underlinedLink/index.styled.d.ts +1 -0
- package/build/esm/components/atoms/underlinedLink/index.text.d.ts +1 -0
- package/build/esm/components/atoms/uploader/index.d.ts +17 -0
- package/build/esm/components/atoms/uploader/index.styled.d.ts +4 -0
- package/build/esm/components/atoms/uploader/index.test.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/chartConfig.d.ts +1113 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/index.d.ts +26 -0
- package/build/esm/components/babyGrowth/babyGrowthChart/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +20 -0
- package/build/esm/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/index.d.ts +12 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/index.styled.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/utils/bmiCalculate.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthForm/utils/localizeNumberFormat.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthGender/index.d.ts +8 -0
- package/build/esm/components/babyGrowth/babyGrowthGender/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.d.ts +12 -0
- package/build/esm/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +2 -0
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.d.ts +10 -0
- package/build/esm/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthRecord/index.d.ts +16 -0
- package/build/esm/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthSwitch/index.d.ts +11 -0
- package/build/esm/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.d.ts +11 -0
- package/build/esm/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +1 -0
- package/build/esm/components/babyGrowth/childCard/index.d.ts +26 -0
- package/build/esm/components/babyGrowth/childCard/index.styled.d.ts +3 -0
- package/build/esm/components/babyGrowth/childCard/menu.d.ts +13 -0
- package/build/esm/components/babyGrowth/index.d.ts +19 -0
- package/build/esm/components/index.d.ts +3 -0
- package/build/esm/components/mantine/CentralCarousel/index.d.ts +20 -0
- package/build/esm/components/mantine/CentralCarousel/index.styled.d.ts +2 -0
- package/build/esm/components/mantine/accordion/index.d.ts +13 -0
- package/build/esm/components/mantine/accordion/index.styled.d.ts +5 -0
- package/build/esm/components/mantine/anchor/index.d.ts +8 -0
- package/build/esm/components/mantine/anchor/index.styles.d.ts +11 -0
- package/build/esm/components/mantine/aspectRatio/index.d.ts +5 -0
- package/build/esm/components/mantine/aspectRatio/index.styled.d.ts +1 -0
- package/build/esm/components/mantine/avatar/index.d.ts +8 -0
- package/build/esm/components/mantine/badge/index.d.ts +7 -0
- package/build/esm/components/mantine/breadcrumbs/index.d.ts +13 -0
- package/build/esm/components/mantine/breadcrumbs/index.styled.d.ts +1 -0
- package/build/esm/components/mantine/breadcrumbs/item.d.ts +7 -0
- package/build/esm/components/mantine/button/index.d.ts +9 -0
- package/build/esm/components/mantine/button/index.styles.d.ts +17 -0
- package/build/esm/components/mantine/carousel/index.d.ts +10 -0
- package/build/esm/components/mantine/checkbox/index.d.ts +8 -0
- package/build/esm/components/mantine/datepicker/index.d.ts +10 -0
- package/build/esm/components/mantine/helpers.d.ts +2 -0
- package/build/esm/components/mantine/index.d.ts +61 -0
- package/build/esm/components/mantine/indicator/index.d.ts +4 -0
- package/build/esm/components/mantine/input/file.d.ts +5 -0
- package/build/esm/components/mantine/input/index.d.ts +27 -0
- package/build/esm/components/mantine/input/number.d.ts +8 -0
- package/build/esm/components/mantine/input/password.d.ts +5 -0
- package/build/esm/components/mantine/loadingOverlay/index.d.ts +5 -0
- package/build/esm/components/mantine/loadingOverlay/useLockBodyScroll.d.ts +1 -0
- package/build/esm/components/mantine/modal/index.d.ts +5 -0
- package/build/esm/components/mantine/modal/index.styles.d.ts +15 -0
- package/build/esm/components/mantine/otp/index.d.ts +18 -0
- package/build/esm/components/mantine/otp/index.helpers.d.ts +2 -0
- package/build/esm/components/mantine/phone/index.d.ts +14 -0
- package/build/esm/components/mantine/phone/index.helpers.d.ts +4 -0
- package/build/esm/components/mantine/popover/index.d.ts +16 -0
- package/build/esm/components/mantine/provider/index.d.ts +9 -0
- package/build/esm/components/mantine/radio/index.d.ts +10 -0
- package/build/esm/components/mantine/result/index.d.ts +17 -0
- package/build/esm/components/mantine/select/index.d.ts +11 -0
- package/build/esm/components/mantine/slider/index.d.ts +11 -0
- package/build/esm/components/mantine/slider/index.styled.d.ts +3 -0
- package/build/esm/components/mantine/spoiler/index.d.ts +15 -0
- package/build/esm/components/mantine/switch/index.d.ts +7 -0
- package/build/esm/components/mantine/tabs/index.d.ts +25 -0
- package/build/esm/components/mantine/tabs/index.styles.d.ts +22 -0
- package/build/esm/components/mantine/text/index.d.ts +12 -0
- package/build/esm/components/mantine/text/index.styled.d.ts +9 -0
- package/build/esm/components/mantine/text/index.styles.d.ts +12 -0
- package/build/esm/components/mantine/textArea/index.d.ts +5 -0
- package/build/esm/components/mantine/textArea/index.styled.d.ts +2 -0
- package/build/esm/components/mantine/theme/button.d.ts +7 -0
- package/build/esm/components/mantine/theme/checkbox.d.ts +11 -0
- package/build/esm/components/mantine/theme/heading.d.ts +16 -0
- package/build/esm/components/mantine/theme/index.d.ts +20 -0
- package/build/esm/components/mantine/theme/input.d.ts +57 -0
- package/build/esm/components/mantine/theme/other.d.ts +7 -0
- package/build/esm/components/mantine/theme/radio.d.ts +3 -0
- package/build/esm/components/mantine/theme/shared.d.ts +6 -0
- package/build/esm/components/mantine/theme/text.d.ts +63 -0
- package/build/esm/components/mantine/useMantineLocale.d.ts +7 -0
- package/build/esm/components/molecules/__deprecated_breadcrumbs/index.d.ts +34 -0
- package/build/esm/components/molecules/__deprecated_breadcrumbs/index.test.d.ts +1 -0
- package/build/esm/components/molecules/adBlock/fixedBottomAdBlock.d.ts +16 -0
- package/build/esm/components/molecules/adBlock/index.d.ts +45 -0
- package/build/esm/components/molecules/adBlock/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/addressInput/index.d.ts +12 -0
- package/build/esm/components/molecules/addressInput/useAddress.d.ts +14 -0
- package/build/esm/components/molecules/addressInput/utils.d.ts +2 -0
- package/build/esm/components/molecules/articleCard/_deprecated_index.d.ts +48 -0
- package/build/esm/components/molecules/articleCard/articleCard.styles.d.ts +15 -0
- package/build/esm/components/molecules/articleCard/cardAuthor.d.ts +17 -0
- package/build/esm/components/molecules/articleCard/cardExpert.d.ts +16 -0
- package/build/esm/components/molecules/articleCard/horizontal.d.ts +5 -0
- package/build/esm/components/molecules/articleCard/icons/affiliate.d.ts +2 -0
- package/build/esm/components/molecules/articleCard/icons/bookmarked.d.ts +6 -0
- package/build/esm/components/molecules/articleCard/icons/unbookmarked.d.ts +6 -0
- package/build/esm/components/molecules/articleCard/index.d.ts +25 -0
- package/build/esm/components/molecules/articleCard/vertical.d.ts +5 -0
- package/build/esm/components/molecules/bmiForm/index.d.ts +4 -0
- package/build/esm/components/molecules/bmiForm/index.styled.d.ts +7 -0
- package/build/esm/components/molecules/bmrForm/index.d.ts +17 -0
- package/build/esm/components/molecules/bmrForm/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/categoryCard/index.d.ts +19 -0
- package/build/esm/components/molecules/categoryCard/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/checkboxGroup/index.d.ts +17 -0
- package/build/esm/components/molecules/checkboxGroup/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/checkboxGroup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.d.ts +21 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/cookieAcceptConfirm/index.test.d.ts +1 -0
- package/build/esm/components/molecules/datePicker/helpers.d.ts +11 -0
- package/build/esm/components/molecules/datePicker/index.d.ts +29 -0
- package/build/esm/components/molecules/datePicker/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/datePicker/index.test.d.ts +1 -0
- package/build/esm/components/molecules/dateRangePicker/calendar/index.d.ts +11 -0
- package/build/esm/components/molecules/dateRangePicker/calendar/index.styled.d.ts +13 -0
- package/build/esm/components/molecules/dateRangePicker/index.d.ts +17 -0
- package/build/esm/components/molecules/dateRangePicker/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/dateRangePicker/types.d.ts +4 -0
- package/build/esm/components/molecules/dateRangePicker/utils.d.ts +2 -0
- package/build/esm/components/molecules/doctorInfo/index.d.ts +9 -0
- package/build/esm/components/molecules/dropdown/index.d.ts +30 -0
- package/build/esm/components/molecules/dropdown/index.styled.d.ts +12 -0
- package/build/esm/components/molecules/dropdown/index.test.d.ts +1 -0
- package/build/esm/components/molecules/dropdownSearch/index.d.ts +27 -0
- package/build/esm/components/molecules/dropdownSearch/index.styled.d.ts +8 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/index.d.ts +12 -0
- package/build/esm/components/molecules/dueDateCalculator/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/dueDateCalculator/utils.d.ts +12 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +14 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +10 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +14 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/baby-poop/index.styles.d.ts +22 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +19 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +20 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +58 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +42 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/index.styled.d.ts +6 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +31 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +20 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +18 -0
- package/build/esm/components/molecules/floatButtonGroup/index.d.ts +24 -0
- package/build/esm/components/molecules/floatButtonGroup/index.styled.d.ts +9 -0
- package/build/esm/components/molecules/iconText/index.d.ts +10 -0
- package/build/esm/components/molecules/iconText/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/iconText/index.test.d.ts +1 -0
- package/build/esm/components/molecules/index.d.ts +60 -0
- package/build/esm/components/molecules/languageSwitcher/index.d.ts +13 -0
- package/build/esm/components/molecules/languageSwitcher/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +19 -0
- package/build/esm/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +5 -0
- package/build/esm/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +13 -0
- package/build/esm/components/molecules/mobileBottomNavigation/index.d.ts +13 -0
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +8 -0
- package/build/esm/components/molecules/modal/index.d.ts +19 -0
- package/build/esm/components/molecules/modal/index.styled.d.ts +5 -0
- package/build/esm/components/molecules/modal/index.test.d.ts +1 -0
- package/build/esm/components/molecules/ovulationCalculator/index.d.ts +16 -0
- package/build/esm/components/molecules/ovulationCalculator/ovulationForm.d.ts +15 -0
- package/build/esm/components/molecules/pillCarousel/index.d.ts +19 -0
- package/build/esm/components/molecules/pillCarousel/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/popup/index.d.ts +12 -0
- package/build/esm/components/molecules/popup/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/popup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/progressBar/index.d.ts +17 -0
- package/build/esm/components/molecules/progressBar/index.styled.d.ts +12 -0
- package/build/esm/components/molecules/progressBar/index.test.d.ts +1 -0
- package/build/esm/components/molecules/radioGroup/index.d.ts +26 -0
- package/build/esm/components/molecules/radioGroup/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/radioGroup/index.test.d.ts +1 -0
- package/build/esm/components/molecules/radioImageGroupForTool/index.d.ts +17 -0
- package/build/esm/components/molecules/radioImageGroupForTool/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/scrollList/index.d.ts +38 -0
- package/build/esm/components/molecules/scrollList/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/seoHead/index.d.ts +49 -0
- package/build/esm/components/molecules/shareContainer/index.d.ts +11 -0
- package/build/esm/components/molecules/shareContainer/index.styled.d.ts +1 -0
- package/build/esm/components/molecules/shareDrawer/index.d.ts +12 -0
- package/build/esm/components/molecules/shareDrawer/index.styled.d.ts +2 -0
- package/build/esm/components/molecules/sidemenu/index.d.ts +4 -0
- package/build/esm/components/molecules/sidemenu/index.test.d.ts +1 -0
- package/build/esm/components/molecules/sidemenu/menuLink.d.ts +16 -0
- package/build/esm/components/molecules/sidemenu/sideHeader.d.ts +9 -0
- package/build/esm/components/molecules/sidemenu/sideMenu.d.ts +9 -0
- package/build/esm/components/molecules/sidemenu/test.d.ts +3 -0
- package/build/esm/components/molecules/sidemenu/userInfo.d.ts +9 -0
- package/build/esm/components/molecules/starsRatingBox/index.d.ts +23 -0
- package/build/esm/components/molecules/starsRatingBox/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/statisticCard/index.d.ts +12 -0
- package/build/esm/components/molecules/statisticCard/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/statisticCard/index.test.d.ts +1 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.d.ts +2 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/surveyQuestionCard/index.test.d.ts +1 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +28 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +38 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyRadio.d.ts +16 -0
- package/build/esm/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +8 -0
- package/build/esm/components/molecules/table/index.d.ts +5 -0
- package/build/esm/components/molecules/table/index.test.d.ts +1 -0
- package/build/esm/components/molecules/table/table.d.ts +10 -0
- package/build/esm/components/molecules/table/tableBody.d.ts +10 -0
- package/build/esm/components/molecules/table/tableCell.d.ts +10 -0
- package/build/esm/components/molecules/table/tableHead.d.ts +9 -0
- package/build/esm/components/molecules/table/tableRow.d.ts +11 -0
- package/build/esm/components/molecules/tabs/index.d.ts +27 -0
- package/build/esm/components/molecules/tabs/index.styled.d.ts +4 -0
- package/build/esm/components/molecules/tabs/index.styles.d.ts +12 -0
- package/build/esm/components/molecules/tabs/index.test.d.ts +1 -0
- package/build/esm/components/molecules/thrForm/index.d.ts +15 -0
- package/build/esm/components/molecules/thrForm/index.styled.d.ts +7 -0
- package/build/esm/components/molecules/toolBannerCard/index.d.ts +18 -0
- package/build/esm/components/molecules/toolBannerCard/index.styled.d.ts +24 -0
- package/build/esm/components/molecules/weightGainForm/index.d.ts +13 -0
- package/build/esm/components/molecules/weightGainForm/index.styled.d.ts +20 -0
- package/build/esm/components/navigationV2/components/atoms/ArrowLeftPopupIcon.d.ts +2 -0
- package/build/esm/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +6 -0
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +11 -0
- package/build/esm/components/navigationV2/components/atoms/ItemNav/index.d.ts +12 -0
- package/build/esm/components/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +6 -0
- package/build/esm/components/navigationV2/components/atoms/PopupWrapper/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/atoms/SearchIcon.d.ts +2 -0
- package/build/esm/components/navigationV2/components/atoms/searchInput/index.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/Categories/index.d.ts +16 -0
- package/build/esm/components/navigationV2/components/molecules/Categories/index.styled.d.ts +7 -0
- package/build/esm/components/navigationV2/components/molecules/Spotlights/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/Spotlights/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/menuCareList/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +7 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +6 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +12 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +23 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/bookingButton/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +11 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/spotlightNoData/index.d.ts +10 -0
- package/build/esm/components/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +5 -0
- package/build/esm/components/navigationV2/constants.d.ts +59 -0
- package/build/esm/components/navigationV2/hooks/useHeaderHeight.d.ts +12 -0
- package/build/esm/components/navigationV2/hooks/useInsider.d.ts +1 -0
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +28 -0
- package/build/esm/components/navigationV2/hooks/useNavServices.d.ts +2 -0
- package/build/esm/components/navigationV2/index.d.ts +56 -0
- package/build/esm/components/navigationV2/index.styled.d.ts +3 -0
- package/build/esm/components/navigationV2/navigationContext.d.ts +10 -0
- package/build/esm/components/navigationV2/types.d.ts +243 -0
- package/build/esm/components/navigationV2/utils.d.ts +57 -0
- package/build/esm/components/onboarding/context.d.ts +7 -0
- package/build/esm/components/onboarding/dynamicForm/index.d.ts +9 -0
- package/build/esm/components/onboarding/dynamicForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboarding/generateSchema.d.ts +40 -0
- package/build/esm/components/onboarding/index.d.ts +20 -0
- package/build/esm/components/onboarding/onboardingForm/default.d.ts +13 -0
- package/build/esm/components/onboarding/onboardingForm/index.d.ts +19 -0
- package/build/esm/components/onboarding/onboardingForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboarding/onboardingForm/similac.d.ts +22 -0
- package/build/esm/components/onboarding/onboardingModal/index.d.ts +37 -0
- package/build/esm/components/onboarding/onboardingModal/index.styled.d.ts +7 -0
- package/build/esm/components/onboarding/otpForm/index.d.ts +14 -0
- package/build/esm/components/onboarding/otpForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboarding/personalInfoForm/index.d.ts +16 -0
- package/build/esm/components/onboarding/personalInfoForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboarding/updatePassword/index.d.ts +11 -0
- package/build/esm/components/onboarding/utils.d.ts +12 -0
- package/build/esm/components/onboardingV2/context.d.ts +20 -0
- package/build/esm/components/onboardingV2/dynamicForm/context.d.ts +2 -0
- package/build/esm/components/onboardingV2/dynamicForm/index.d.ts +24 -0
- package/build/esm/components/onboardingV2/dynamicForm/index.styled.d.ts +8 -0
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +40 -0
- package/build/esm/components/onboardingV2/frisoForm/schema.d.ts +16 -0
- package/build/esm/components/onboardingV2/index.d.ts +43 -0
- package/build/esm/components/onboardingV2/index.styled.d.ts +7 -0
- package/build/esm/components/onboardingV2/modal.d.ts +13 -0
- package/build/esm/components/onboardingV2/onboardingForm/index.d.ts +14 -0
- package/build/esm/components/onboardingV2/onboardingForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/onboardingForm/schema.d.ts +8 -0
- package/build/esm/components/onboardingV2/onboardingUI/index.d.ts +9 -0
- package/build/esm/components/onboardingV2/onboardingUI/index.styled.d.ts +4 -0
- package/build/esm/components/onboardingV2/otpForm/email.d.ts +11 -0
- package/build/esm/components/onboardingV2/otpForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/otpForm/phone.d.ts +11 -0
- package/build/esm/components/onboardingV2/otpForm/schema.d.ts +8 -0
- package/build/esm/components/onboardingV2/personalInfoForm/index.d.ts +16 -0
- package/build/esm/components/onboardingV2/personalInfoForm/index.styled.d.ts +1 -0
- package/build/esm/components/onboardingV2/personalInfoForm/schema.d.ts +10 -0
- package/build/esm/components/onboardingV2/provider.d.ts +7 -0
- package/build/esm/components/onboardingV2/resultScreen/index.d.ts +6 -0
- package/build/esm/components/onboardingV2/similacForm/index.d.ts +23 -0
- package/build/esm/components/onboardingV2/similacForm/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/similacForm/schema.d.ts +16 -0
- package/build/esm/components/onboardingV2/stepRenderer.d.ts +11 -0
- package/build/esm/components/onboardingV2/thankyou/index.d.ts +11 -0
- package/build/esm/components/onboardingV2/thankyou/index.styled.d.ts +2 -0
- package/build/esm/components/onboardingV2/types.d.ts +16 -0
- package/build/esm/components/onboardingV2/updatePasswordForm/index.d.ts +11 -0
- package/build/esm/components/onboardingV2/updatePasswordForm/schema.d.ts +10 -0
- package/build/esm/components/onboardingV2/utils.d.ts +12 -0
- package/build/esm/components/organisms/footer/discoverFooter/index.d.ts +11 -0
- package/build/esm/components/organisms/footer/index.d.ts +21 -0
- package/build/esm/components/organisms/footer/maryBabyFooter/index.d.ts +11 -0
- package/build/esm/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +23 -0
- package/build/esm/components/organisms/heroBannerHealthTool/index.d.ts +12 -0
- package/build/esm/components/organisms/heroBannerHealthTool/index.styled.d.ts +10 -0
- package/build/esm/components/organisms/index.d.ts +6 -0
- package/build/esm/components/organisms/navigationLogoutPopup/index.d.ts +9 -0
- package/build/esm/components/organisms/navigationLogoutPopup/index.styled.d.ts +6 -0
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +24 -0
- package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +9 -0
- package/build/esm/components/organisms/navigationProfileButton/popupWrapper.d.ts +14 -0
- package/build/esm/components/organisms/navigationProfileButton/profilePopup.d.ts +23 -0
- package/build/esm/components/organisms/userProfileNavigation/constants.d.ts +8 -0
- package/build/esm/components/organisms/userProfileNavigation/index.d.ts +34 -0
- package/build/esm/components/organisms/userProfileNavigation/navHeader/index.d.ts +10 -0
- package/build/esm/components/organisms/userProfileNavigation/navMenu/index.d.ts +9 -0
- package/build/esm/components/organisms/userProfileNavigation/navMenu/items.d.ts +3 -0
- package/build/esm/components/organisms/userProfileNavigation/navigationCard/index.d.ts +10 -0
- package/build/esm/components/organisms/userProfileNavigation/types.d.ts +17 -0
- package/build/esm/components/organisms/userProfileNavigation/userStats/index.d.ts +9 -0
- package/build/esm/components/pregnancyWeightGain/index.d.ts +2 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/chartConfig.d.ts +36 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +18 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +7 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedAxisTick.d.ts +2 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedTooltipLabel.d.ts +4 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.d.ts +3 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +3 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +12 -0
- package/build/esm/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +1 -0
- package/build/esm/components/ui/cardArticle/element/index.d.ts +7 -0
- package/build/esm/components/ui/cardArticle/index.d.ts +13 -0
- package/build/esm/components/ui/cardAuthor/element/index.d.ts +13 -0
- package/build/esm/components/ui/cardAuthor/index.d.ts +22 -0
- package/build/esm/components/ui/index.d.ts +1 -0
- package/build/esm/components/ui/loading/index.d.ts +7 -0
- package/build/esm/components/ui/onboarding/index.d.ts +9 -0
- package/build/esm/components/ui/onboarding/index.styled.d.ts +4 -0
- package/build/esm/components/ui/thumbnail/index.d.ts +13 -0
- package/build/esm/components/vaccination/helpers.d.ts +11 -0
- package/build/esm/components/vaccination/index.d.ts +13 -0
- package/build/esm/components/vaccination/shared/badge.d.ts +9 -0
- package/build/esm/components/vaccination/shared/cardIcon.d.ts +8 -0
- package/build/esm/components/vaccination/shared/dose.d.ts +10 -0
- package/build/esm/components/vaccination/shared/index.d.ts +2 -0
- package/build/esm/components/vaccination/vaccinationFilter/helper.d.ts +4 -0
- package/build/esm/components/vaccination/vaccinationFilter/index.d.ts +7 -0
- package/build/esm/components/vaccination/vaccineCard/immunization.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineCard/index.d.ts +34 -0
- package/build/esm/components/vaccination/vaccineCard/index.styled.d.ts +4 -0
- package/build/esm/components/vaccination/vaccineCard/modal.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineCard/status.d.ts +7 -0
- package/build/esm/components/vaccination/vaccineCard/timeline.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/default.d.ts +16 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/detail.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/icon.d.ts +6 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/immunization.d.ts +14 -0
- package/build/esm/components/vaccination/vaccineDetailPopup/index.d.ts +18 -0
- package/build/esm/components/vaccination/vaccineImmunization/header.d.ts +8 -0
- package/build/esm/components/vaccination/vaccineImmunization/index.d.ts +9 -0
- package/build/esm/components/vaccination/vaccineImmunization/index.styled.d.ts +2 -0
- package/build/esm/components/vaccination/vaccineImmunization/warning.d.ts +3 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +17 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +5 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +11 -0
- package/build/esm/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +10 -0
- package/build/esm/components/vaccination/vaccineTimelineBanner/index.d.ts +12 -0
- package/build/esm/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +1 -0
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/core-984c4736.js +1 -0
- package/build/esm/dataTransform-184ab4c2.js +1 -0
- package/build/esm/ecom/dataFormatter/index.d.ts +43 -0
- package/build/esm/ecom/dataFormatter/lib/apiTypes.d.ts +575 -0
- package/build/esm/ecom/dataFormatter/lib/dataTypes.d.ts +483 -0
- package/build/esm/ecom/dataFormatter/lib/utils.d.ts +10 -0
- package/build/esm/ecom/index.d.ts +5 -0
- package/build/esm/ecom/interfaces/constants.d.ts +129 -0
- package/build/esm/ecom/interfaces/types.d.ts +85 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-e5f4e038.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-87f06b05.js +1 -0
- package/build/esm/getSocialList-2cd20b1e.js +1 -0
- package/build/esm/hooks/index.d.ts +11 -0
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +10 -0
- package/build/esm/hooks/useDragScroll.d.ts +10 -0
- package/build/esm/hooks/useDropdownSearch.d.ts +15 -0
- package/build/esm/hooks/useFbDataLayer.d.ts +2 -0
- package/build/esm/hooks/useGeolocation.d.ts +7 -0
- package/build/esm/hooks/useGetIsMobile.d.ts +2 -0
- package/build/esm/hooks/useHealthToolCache.d.ts +5 -0
- package/build/esm/hooks/useImageSize.d.ts +5 -0
- package/build/esm/hooks/useImagesPicker.d.ts +8 -0
- package/build/esm/hooks/useInitialMount.d.ts +3 -0
- package/build/esm/hooks/useIsInit.d.ts +1 -0
- package/build/esm/hooks/useOutsideClick.d.ts +7 -0
- package/build/esm/hooks/usePlacesAutocomplete.d.ts +17 -0
- package/build/esm/hooks/usePrevious.d.ts +3 -0
- package/build/esm/hooks/useRafState.d.ts +3 -0
- package/build/esm/hooks/useScreenSize.d.ts +4 -0
- package/build/esm/hooks/useScrollbarSize.d.ts +9 -0
- package/build/esm/hooks/useTranslations.d.ts +9 -0
- package/build/esm/hooks/useUniqueId.d.ts +5 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/index.d.ts +2 -0
- package/build/esm/i18n/indexV2.d.ts +2 -0
- package/build/esm/i18n/translationKeys.d.ts +1 -0
- package/build/esm/i18n/translationsContext.d.ts +14 -0
- package/build/esm/i18n/translationsProvider.d.ts +24 -0
- package/build/esm/i18n/translationsProviderV2.d.ts +13 -0
- package/build/esm/i18n-values/my-MM.js +1 -0
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -0
- package/build/esm/icons/Cambodia.d.ts +4 -0
- package/build/esm/icons/CaretDown.d.ts +4 -0
- package/build/esm/icons/CheckCircle.d.ts +4 -0
- package/build/esm/icons/ChevronDown.d.ts +4 -0
- package/build/esm/icons/ChevronLeft.d.ts +4 -0
- package/build/esm/icons/ChevronRight.d.ts +4 -0
- package/build/esm/icons/ChevronUp.d.ts +4 -0
- package/build/esm/icons/Circle.d.ts +4 -0
- package/build/esm/icons/Close.d.ts +4 -0
- package/build/esm/icons/EmailCheck.d.ts +4 -0
- package/build/esm/icons/EmailFail.d.ts +4 -0
- package/build/esm/icons/Facebook.d.ts +4 -0
- package/build/esm/icons/Google.d.ts +4 -0
- package/build/esm/icons/InVisible.d.ts +4 -0
- package/build/esm/icons/India.d.ts +4 -0
- package/build/esm/icons/Indonesia.d.ts +4 -0
- package/build/esm/icons/Malaysia.d.ts +4 -0
- package/build/esm/icons/Myanmar.d.ts +4 -0
- package/build/esm/icons/Phillipines.d.ts +4 -0
- package/build/esm/icons/Spinning.d.ts +4 -0
- package/build/esm/icons/Taiwan.d.ts +4 -0
- package/build/esm/icons/Thailand.d.ts +4 -0
- package/build/esm/icons/Vietnam.d.ts +4 -0
- package/build/esm/icons/Visible.d.ts +4 -0
- package/build/esm/icons/index.d.ts +25 -0
- package/build/esm/index-017fcff0.js +3831 -0
- package/build/esm/index-28ef67ba.js +1 -0
- package/build/esm/index-2ae479cb.js +1 -0
- package/build/esm/index-2b5c7551.js +1 -0
- package/build/esm/index-313abbe7.js +1249 -0
- package/build/esm/index-345735b2.js +1 -0
- package/build/esm/index-3a275e6e.js +1 -0
- package/build/esm/index-4962ee5f.js +1 -0
- package/build/esm/index-4ab84ac4.js +1 -0
- package/build/esm/index-4d7073b2.js +113 -0
- package/build/esm/index-523b1b14.js +1 -0
- package/build/esm/index-5f2099c0.js +177 -0
- package/build/esm/index-652e4433.js +93 -0
- package/build/esm/index-721531e5.js +1 -0
- package/build/esm/index-80254186.js +1 -0
- package/build/esm/index-8e5ea93d.js +1 -0
- package/build/esm/index-c0b0f973.js +1 -0
- package/build/esm/index-ce34240e.js +1 -0
- package/build/esm/index-d54980b1.js +1 -0
- package/build/esm/index-d61e91ec.js +1 -0
- package/build/esm/index-dc00bc5f.js +53 -0
- package/build/esm/index-de62b22b.js +1 -0
- package/build/esm/index-e2ac57b5.js +1 -0
- package/build/esm/index-f86c8643.js +112 -0
- package/build/esm/index-f963f3c7.js +1 -0
- package/build/esm/index.d.ts +8 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-739f456f.js +50 -0
- package/build/esm/index.styled-743f922f.js +69 -0
- package/build/esm/index.styled-9f109ae2.js +130 -0
- package/build/esm/index.styled-e1a4a33c.js +1874 -0
- package/build/esm/interfaces/baby-growth/errorMessage.d.ts +13 -0
- package/build/esm/interfaces/constants/index.d.ts +85 -0
- package/build/esm/interfaces/constants/isProduction.d.ts +1 -0
- package/build/esm/interfaces/constants/site.d.ts +28 -0
- package/build/esm/interfaces/types/Address.d.ts +4 -0
- package/build/esm/interfaces/types/BabyGrowth.d.ts +129 -0
- package/build/esm/interfaces/types/BabyVaccination.d.ts +134 -0
- package/build/esm/interfaces/types/HealthTool.d.ts +18 -0
- package/build/esm/interfaces/types/Locale.d.ts +12 -0
- package/build/esm/interfaces/types/Onboarding.d.ts +21 -0
- package/build/esm/interfaces/types/index.d.ts +116 -0
- package/build/esm/lead/constants.d.ts +79 -0
- package/build/esm/lead/i18n/index.d.ts +1 -0
- package/build/esm/lead/index.d.ts +12 -0
- package/build/esm/lead/layouts/centerTab.d.ts +10 -0
- package/build/esm/lead/layouts/closeButton.d.ts +6 -0
- package/build/esm/lead/layouts/floating.d.ts +15 -0
- package/build/esm/lead/layouts/inline.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/fields/index.d.ts +9 -0
- package/build/esm/lead/layouts/lightbox/fields/locationBlock.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/subtitleBlock.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/fields/titleBlock.d.ts +5 -0
- package/build/esm/lead/layouts/lightbox/formContext.d.ts +12 -0
- package/build/esm/lead/layouts/lightbox/index.d.ts +29 -0
- package/build/esm/lead/layouts/lightbox/otpBlock.d.ts +6 -0
- package/build/esm/lead/layouts/sidebar.d.ts +4 -0
- package/build/esm/lead/layouts/skin.d.ts +12 -0
- package/build/esm/lead/layouts/tab.d.ts +9 -0
- package/build/esm/lead/leadGenContext.d.ts +9 -0
- package/build/esm/lead/newLeadPopup.d.ts +24 -0
- package/build/esm/lead/services/index.d.ts +20 -0
- package/build/esm/lead/store/index.d.ts +6 -0
- package/build/esm/lead/thankyou.d.ts +11 -0
- package/build/esm/lead/utils/checkUsedEmailOrPhone.d.ts +11 -0
- package/build/esm/lead/utils.d.ts +10 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc/ageGenerate.d.ts +5 -0
- package/build/esm/misc/animation.d.ts +10 -0
- package/build/esm/misc/callApi/helpers.d.ts +4 -0
- package/build/esm/misc/callApi/index.d.ts +24 -0
- package/build/esm/misc/callApi/instance.d.ts +11 -0
- package/build/esm/misc/callApi/interceptors.d.ts +6 -0
- package/build/esm/misc/cookieHelper.d.ts +8 -0
- package/build/esm/misc/dataTransform.d.ts +2 -0
- package/build/esm/misc/defaultClassWrapper.d.ts +4 -0
- package/build/esm/misc/gAssets/gAssets.test.d.ts +1 -0
- package/build/esm/misc/gAssets/index.d.ts +7 -0
- package/build/esm/misc/getDynamicHealthTool.d.ts +4 -0
- package/build/esm/misc/getSocialList.d.ts +7 -0
- package/build/esm/misc/index.d.ts +13 -0
- package/build/esm/misc/link.d.ts +2 -0
- package/build/esm/misc/localizeNumberFormat.d.ts +2 -0
- package/build/esm/misc/mockTheme.d.ts +5 -0
- package/build/esm/misc/noop.d.ts +1 -0
- package/build/esm/misc/normalizeLink.d.ts +3 -0
- package/build/esm/misc/number.d.ts +1 -0
- package/build/esm/misc/routing.d.ts +5 -0
- package/build/esm/misc/screenSizeContext.d.ts +23 -0
- package/build/esm/misc/theme.d.ts +366 -0
- package/build/esm/misc/unifyEnv.d.ts +22 -0
- package/build/esm/misc/utils.d.ts +58 -0
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/routing-d95608ce.js +1 -0
- package/build/esm/screenSizeContext-daa144e8.js +81 -0
- package/build/esm/test/testTranslationProvider.d.ts +4 -0
- package/build/esm/together/api/dataTransform.d.ts +43 -0
- package/build/esm/together/api/paths.d.ts +156 -0
- package/build/esm/together/api/utils.d.ts +67 -0
- package/build/esm/together/components/atoms/cardLink/index.d.ts +12 -0
- package/build/esm/together/components/atoms/cardLink/index.styled.d.ts +3 -0
- package/build/esm/together/components/atoms/cardReactions/context.d.ts +12 -0
- package/build/esm/together/components/atoms/cardReactions/element/index.d.ts +8 -0
- package/build/esm/together/components/atoms/cardReactions/index.d.ts +34 -0
- package/build/esm/together/components/atoms/index.d.ts +8 -0
- package/build/esm/together/components/atoms/labelSortPin/index.d.ts +11 -0
- package/build/esm/together/components/atoms/labelSortPin/index.styled.d.ts +1 -0
- package/build/esm/together/components/atoms/labelSortPin/labelPin.d.ts +9 -0
- package/build/esm/together/components/atoms/labelSortPin/labelSorting.d.ts +31 -0
- package/build/esm/together/components/atoms/loading/index.d.ts +7 -0
- package/build/esm/together/components/atoms/loading/index.styled.d.ts +2 -0
- package/build/esm/together/components/atoms/loading/loadingCard.d.ts +7 -0
- package/build/esm/together/components/atoms/notificationBar/index.d.ts +9 -0
- package/build/esm/together/components/atoms/notificationBar/index.styled.d.ts +7 -0
- package/build/esm/together/components/atoms/sensitiveMask/index.d.ts +12 -0
- package/build/esm/together/components/atoms/sensitiveMask/index.styled.d.ts +4 -0
- package/build/esm/together/components/atoms/tagTopic/index.d.ts +25 -0
- package/build/esm/together/components/atoms/userAvatar/index.d.ts +11 -0
- package/build/esm/together/components/atoms/userAvatar/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +63 -0
- package/build/esm/together/components/molecules/cardAuthor/index.styles.d.ts +9 -0
- package/build/esm/together/components/molecules/createNewPostContent/index.d.ts +22 -0
- package/build/esm/together/components/molecules/createNewPostContent/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/createPostDescription/editor.d.ts +20 -0
- package/build/esm/together/components/molecules/createPostDescription/index.d.ts +19 -0
- package/build/esm/together/components/molecules/createPostDescription/index.styled.d.ts +2 -0
- package/build/esm/together/components/molecules/createPostTitle/index.d.ts +9 -0
- package/build/esm/together/components/molecules/createPostTitle/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/index.d.ts +22 -0
- package/build/esm/together/components/molecules/inputCommentBar/index.d.ts +19 -0
- package/build/esm/together/components/molecules/inputCommentBar/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +9 -0
- package/build/esm/together/components/molecules/popupDanger/index.d.ts +21 -0
- package/build/esm/together/components/molecules/popupDanger/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/popupDoctor/index.d.ts +16 -0
- package/build/esm/together/components/molecules/popupDoctor/index.styled.d.ts +8 -0
- package/build/esm/together/components/molecules/popupExpert/index.d.ts +29 -0
- package/build/esm/together/components/molecules/popupExpert/index.styled.d.ts +7 -0
- package/build/esm/together/components/molecules/popupFrame/index.d.ts +12 -0
- package/build/esm/together/components/molecules/popupFrame/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/popupFrame/popupShare.d.ts +12 -0
- package/build/esm/together/components/molecules/popupHospital/index.d.ts +33 -0
- package/build/esm/together/components/molecules/popupHospital/index.styled.d.ts +7 -0
- package/build/esm/together/components/molecules/postContent/index.d.ts +23 -0
- package/build/esm/together/components/molecules/postContent/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/postContent/index.styles.d.ts +8 -0
- package/build/esm/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +11 -0
- package/build/esm/together/components/molecules/postImagePreview/index.d.ts +12 -0
- package/build/esm/together/components/molecules/postImagePreview/index.styled.d.ts +4 -0
- package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +8 -0
- package/build/esm/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +5 -0
- package/build/esm/together/components/molecules/profileDetail/about/articleCard/index.d.ts +7 -0
- package/build/esm/together/components/molecules/profileDetail/about/index.d.ts +7 -0
- package/build/esm/together/components/molecules/profileDetail/answering/index.d.ts +11 -0
- package/build/esm/together/components/molecules/profileDetail/answering/postCard/index.d.ts +13 -0
- package/build/esm/together/components/molecules/profileDetail/care/index.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/care/questionCard/index.d.ts +15 -0
- package/build/esm/together/components/molecules/profileDetail/context.d.ts +21 -0
- package/build/esm/together/components/molecules/profileDetail/emptyMessage/index.d.ts +9 -0
- package/build/esm/together/components/molecules/profileDetail/index.d.ts +45 -0
- package/build/esm/together/components/molecules/profileDetail/posts/index.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/posts/postCard/index.d.ts +13 -0
- package/build/esm/together/components/molecules/profileDetail/types.d.ts +21 -0
- package/build/esm/together/components/molecules/profileDetail/utils/dataTransform.d.ts +3 -0
- package/build/esm/together/components/molecules/profileDetail/utils/types.d.ts +32 -0
- package/build/esm/together/components/molecules/profileDetailModal/index.d.ts +9 -0
- package/build/esm/together/components/molecules/shareBox/index.d.ts +9 -0
- package/build/esm/together/components/molecules/shareBox/index.styled.d.ts +2 -0
- package/build/esm/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +15 -0
- package/build/esm/together/components/molecules/socialLinkPreview/index.d.ts +10 -0
- package/build/esm/together/components/molecules/socialLinkPreview/index.styled.d.ts +3 -0
- package/build/esm/together/components/molecules/submitReportForm/index.d.ts +11 -0
- package/build/esm/together/components/molecules/submitReportForm/index.styled.d.ts +1 -0
- package/build/esm/together/components/molecules/topicSelectList/index.d.ts +16 -0
- package/build/esm/together/components/molecules/topicSelectList/index.styled.d.ts +1 -0
- package/build/esm/together/components/organisms/cardPost/cardPostPopover.d.ts +14 -0
- package/build/esm/together/components/organisms/cardPost/index.d.ts +30 -0
- package/build/esm/together/components/organisms/cardPost/index.styled.d.ts +1 -0
- package/build/esm/together/components/organisms/cardReply/cardReplyPopover.d.ts +7 -0
- package/build/esm/together/components/organisms/cardReply/index.d.ts +22 -0
- package/build/esm/together/components/organisms/cardReply/index.styled.d.ts +3 -0
- package/build/esm/together/components/organisms/cardReply/verifiedTag/index.d.ts +7 -0
- package/build/esm/together/components/organisms/index.d.ts +7 -0
- package/build/esm/together/components/organisms/popoverMenu/index.d.ts +16 -0
- package/build/esm/together/components/organisms/popoverMenu/index.styled.d.ts +2 -0
- package/build/esm/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +29 -0
- package/build/esm/together/components/organisms/sourceList/index.d.ts +10 -0
- package/build/esm/together/components/organisms/sourceList/index.styled.d.ts +5 -0
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.d.ts +7 -0
- package/build/esm/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +6 -0
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.d.ts +7 -0
- package/build/esm/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +2 -0
- package/build/esm/together/hooks/useTogetherAuthRequiredAction.d.ts +23 -0
- package/build/esm/together/index.d.ts +8 -0
- package/build/esm/together/interfaces/constants.d.ts +106 -0
- package/build/esm/together/interfaces/types.d.ts +1609 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +76 -0
- package/build/esm/together/utils/apiActions/comment.d.ts +31 -0
- package/build/esm/together/utils/apiActions/community.d.ts +6 -0
- package/build/esm/together/utils/apiActions/post.d.ts +50 -0
- package/build/esm/together/utils/apiActions/topic.d.ts +7 -0
- package/build/esm/together/utils/notification.d.ts +7 -0
- package/build/esm/together/utils/post.d.ts +43 -0
- package/build/esm/together.js +1 -1
- package/build/esm/types-a6ba9985.js +3078 -0
- package/build/esm/types-b8801232.js +339 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-c0ff7dd7.js +1 -0
- package/build/esm/useRafState-d0bb9704.js +1 -0
- package/build/esm/useTranslations-27ed0471.js +1 -0
- package/build/esm/utils-f6a98198.js +1 -0
- package/build/esm/vaccination.js +5 -5
- package/build/fixedBottomAdBlock-b27917d3.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-c9bdc022.js +1 -0
- package/build/getSocialList-15467d1f.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n/index.d.ts +0 -1
- package/build/i18n/indexV2.d.ts +2 -0
- package/build/i18n/translationsContext.d.ts +5 -2
- package/build/i18n/translationsProvider.d.ts +8 -1
- package/build/i18n/translationsProviderV2.d.ts +13 -0
- package/build/i18n-values/en-PH.js +1 -0
- package/build/i18n-values/hi-IN.js +1 -0
- package/build/i18n-values/id-ID.js +1 -0
- package/build/i18n-values/km-KH.js +1 -0
- package/build/i18n-values/ms-MY.js +1 -0
- package/build/i18n-values/my-MM.js +1 -0
- package/build/i18n-values/th-TH.js +1 -0
- package/build/i18n-values/tl-PH.js +1 -0
- package/build/i18n-values/vi-VN.js +1 -0
- package/build/i18n-values/vi-VN_MB.js +1 -0
- package/build/i18n-values/zh-TW.js +1 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -0
- package/build/index-195ff04d.js +1 -0
- package/build/index-1aab065c.js +1 -0
- package/build/index-2c5da73d.js +3831 -0
- package/build/index-3dcf1cc5.js +1 -0
- package/build/index-3f9f042b.js +112 -0
- package/build/index-4f4f12e2.js +1 -0
- package/build/index-5f4e003c.js +1 -0
- package/build/index-64027e80.js +1 -0
- package/build/index-73977093.js +177 -0
- package/build/index-747fafa8.js +1 -0
- package/build/index-7bb52fd2.js +1 -0
- package/build/index-844c3af5.js +1 -0
- package/build/index-8572a1e3.js +93 -0
- package/build/index-873c7d5c.js +1249 -0
- package/build/index-947a97a6.js +1 -0
- package/build/index-97beea5c.js +1 -0
- package/build/index-985ca96c.js +1 -0
- package/build/index-aa465abf.js +113 -0
- package/build/index-afddf6c8.js +1 -0
- package/build/index-b92cd1db.js +1 -0
- package/build/index-c3b4347a.js +1 -0
- package/build/index-c4bda44d.js +1 -0
- package/build/index-eeb7cc40.js +1 -0
- package/build/index-f639d15c.js +53 -0
- package/build/index-f9f1f3ff.js +1 -0
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -1
- package/build/index.styled-41cc3c31.js +1874 -0
- package/build/index.styled-8e8974bb.js +50 -0
- package/build/index.styled-b466d89c.js +130 -0
- package/build/index.styled-e5b26ff8.js +69 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +2 -2
- package/build/routing-cf65d7db.js +1 -0
- package/build/screenSizeContext-f496f721.js +81 -0
- package/build/together.js +1 -1
- package/build/types-59df836a.js +339 -0
- package/build/types-cde2c8cd.js +3078 -0
- package/build/types.js +1 -1
- package/build/useHealthToolCache-d0f2f403.js +1 -0
- package/build/useRafState-fc503f32.js +1 -0
- package/build/useTranslations-cb70f9dd.js +1 -0
- package/build/utils-f304a6e7.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +4 -1
- package/build/core-514ec4a7.js +0 -1
- package/build/dataTransform-eb330120.js +0 -1
- package/build/en-PH-f60a149c.js +0 -1
- package/build/esm/core-e4f57e35.js +0 -1
- package/build/esm/dataTransform-b9da23ca.js +0 -1
- package/build/esm/fixedBottomAdBlock-2a4932de.js +0 -1
- package/build/esm/getDynamicHealthTool-18b93419.js +0 -1
- package/build/esm/getSocialList-bd514f47.js +0 -1
- package/build/esm/index-160252d8.js +0 -1249
- package/build/esm/index-1ac1f27a.js +0 -1
- package/build/esm/index-1af47116.js +0 -1
- package/build/esm/index-2a018e5b.js +0 -93
- package/build/esm/index-3ccbd1bd.js +0 -3831
- package/build/esm/index-45de18e6.js +0 -177
- package/build/esm/index-49112b56.js +0 -1
- package/build/esm/index-4a21e929.js +0 -1
- package/build/esm/index-4d96360f.js +0 -1
- package/build/esm/index-5cffade4.js +0 -1
- package/build/esm/index-5d552272.js +0 -1
- package/build/esm/index-5febb98d.js +0 -1
- package/build/esm/index-648fe106.js +0 -1
- package/build/esm/index-71ee0764.js +0 -1
- package/build/esm/index-7ca5216b.js +0 -1
- package/build/esm/index-7e41aae7.js +0 -1
- package/build/esm/index-9294494f.js +0 -1
- package/build/esm/index-aa5a01c2.js +0 -112
- package/build/esm/index-b3248018.js +0 -53
- package/build/esm/index-b76dd880.js +0 -1
- package/build/esm/index-be7836ad.js +0 -1
- package/build/esm/index-e4a4ed0b.js +0 -113
- package/build/esm/index-e68fec6b.js +0 -1
- package/build/esm/index-ed34ae99.js +0 -1
- package/build/esm/index-f02da627.js +0 -1
- package/build/esm/index.styled-0ee6b01f.js +0 -1874
- package/build/esm/index.styled-6d6028e3.js +0 -130
- package/build/esm/index.styled-874c6052.js +0 -50
- package/build/esm/index.styled-91925a69.js +0 -69
- package/build/esm/routing-429a94e7.js +0 -1
- package/build/esm/screenSizeContext-5d74b785.js +0 -81
- package/build/esm/translationsProvider-1138c4b0.js +0 -1
- package/build/esm/types-73fec0e1.js +0 -3078
- package/build/esm/types-864ab48f.js +0 -339
- package/build/esm/useHealthToolCache-ac597aca.js +0 -1
- package/build/esm/useRafState-e6de7b90.js +0 -1
- package/build/esm/useTranslations-62e1a4a6.js +0 -1
- package/build/esm/utils-4aabd5e7.js +0 -1
- package/build/fixedBottomAdBlock-570669d4.js +0 -1
- package/build/getDynamicHealthTool-a2896842.js +0 -1
- package/build/getSocialList-b7a6c239.js +0 -1
- package/build/hi-IN-fac0107a.js +0 -1
- package/build/i18n/translations.d.ts +0 -11
- package/build/id-ID-91d550b1.js +0 -1
- package/build/index-025b2885.js +0 -1
- package/build/index-145b7451.js +0 -1
- package/build/index-2f5601af.js +0 -3831
- package/build/index-3c881f50.js +0 -1
- package/build/index-638e5071.js +0 -1
- package/build/index-65fa3985.js +0 -1
- package/build/index-6b0d5d66.js +0 -1
- package/build/index-7205f458.js +0 -1
- package/build/index-720f8201.js +0 -1
- package/build/index-80ac851d.js +0 -1
- package/build/index-8a698999.js +0 -1
- package/build/index-8ca25fa8.js +0 -1
- package/build/index-9511a61a.js +0 -1249
- package/build/index-a5d0558f.js +0 -177
- package/build/index-ae70746e.js +0 -1
- package/build/index-b0cc4c3d.js +0 -1
- package/build/index-ba268a44.js +0 -93
- package/build/index-c6ef0fba.js +0 -1
- package/build/index-c863fc66.js +0 -1
- package/build/index-d02a0c7a.js +0 -53
- package/build/index-d6a4346c.js +0 -112
- package/build/index-e1648205.js +0 -1
- package/build/index-edec9cf8.js +0 -1
- package/build/index-f2ac0908.js +0 -113
- package/build/index-f5d9d238.js +0 -1
- package/build/index.styled-1a707986.js +0 -130
- package/build/index.styled-2090a9a3.js +0 -1874
- package/build/index.styled-262e5e6c.js +0 -50
- package/build/index.styled-cfe1c301.js +0 -69
- package/build/km-KH-382d977a.js +0 -1
- package/build/ms-MY-e325a393.js +0 -1
- package/build/routing-723395b5.js +0 -1
- package/build/screenSizeContext-4a548556.js +0 -81
- package/build/th-TH-e559e884.js +0 -1
- package/build/tl-PH-a0c2f4be.js +0 -1
- package/build/translationsProvider-9a5f7d30.js +0 -1
- package/build/types-675a0dca.js +0 -3078
- package/build/types-91061bd8.js +0 -339
- package/build/useHealthToolCache-2572257e.js +0 -1
- package/build/useRafState-4f050da2.js +0 -1
- package/build/useTranslations-2134a139.js +0 -1
- package/build/utils-e1462abe.js +0 -1
- package/build/vi-VN-42a0740b.js +0 -1
- package/build/vi-VN_MB-012ecbb5.js +0 -1
- package/build/zh-TW-1a1c78ea.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-408b454e.js → BMI_BOYS.percentile.monthly-fdb0d5d6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f1a5408c.js → BMI_BOYS.percentile.weekly-43622fa1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-20f2343f.js → BMI_BOYS.percentile.yearly-de8966a6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-8f45c258.js → BMI_BOYS.zscore.monthly-04cb87b3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-27b78f60.js → BMI_BOYS.zscore.weekly-941c8cf2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e2313273.js → BMI_BOYS.zscore.yearly-c662f505.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-df4fed94.js → BMI_GIRLS.percentile.monthly-76e38ae2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-60cd5e82.js → BMI_GIRLS.percentile.weekly-3f3df583.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-db4f5dd0.js → BMI_GIRLS.percentile.yearly-25e4cbcd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-815f2e66.js → BMI_GIRLS.zscore.monthly-373fca25.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ed498f2b.js → BMI_GIRLS.zscore.weekly-9e8f77d7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d128b226.js → BMI_GIRLS.zscore.yearly-434c7d51.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8509f62a.js → HEAD CIRCUM_BOYS.percentile.monthly-e7756c44.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b2ab2b82.js → HEAD CIRCUM_BOYS.percentile.weekly-21da7c37.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2a37c4fa.js → HEAD CIRCUM_BOYS.percentile.yearly-f305f4ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-15240762.js → HEAD CIRCUM_BOYS.zscore.monthly-08a00287.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d2dd3fae.js → HEAD CIRCUM_BOYS.zscore.weekly-b7c46afd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-df9df4de.js → HEAD CIRCUM_BOYS.zscore.yearly-aae999c5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df692b52.js → HEAD CIRCUM_GIRLS.percentile.monthly-812528ae.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7173a335.js → HEAD CIRCUM_GIRLS.percentile.weekly-73b6bced.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-28195260.js → HEAD CIRCUM_GIRLS.percentile.yearly-c7340f31.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-65785778.js → HEAD CIRCUM_GIRLS.zscore.monthly-a5e9643e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e8d6dc4c.js → HEAD CIRCUM_GIRLS.zscore.weekly-4c14fc9a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-41565f9e.js → HEAD CIRCUM_GIRLS.zscore.yearly-bff84c10.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-607d89cf.js → HEIGHT_BOYS.percentile.monthly-25f2851c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-03fd7aa9.js → HEIGHT_BOYS.percentile.weekly-66c674a0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-67272c6b.js → HEIGHT_BOYS.percentile.yearly-01f6b463.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6fbcdc4d.js → HEIGHT_BOYS.zscore.monthly-b908884a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5a516666.js → HEIGHT_BOYS.zscore.weekly-bbcb3cc4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-93683b1a.js → HEIGHT_BOYS.zscore.yearly-666543e5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c680ce16.js → HEIGHT_GIRLS.percentile.monthly-17fa3898.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1b3cfa8c.js → HEIGHT_GIRLS.percentile.weekly-d4342135.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-16ba3bce.js → HEIGHT_GIRLS.percentile.yearly-e4fd4b76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e59aca64.js → HEIGHT_GIRLS.zscore.monthly-0fe3add4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d3ddccd5.js → HEIGHT_GIRLS.zscore.weekly-ccd4d699.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-e365e16b.js → HEIGHT_GIRLS.zscore.yearly-6927b237.js} +0 -0
- /package/build/{Onboarding-e9b1bd74.js → Onboarding-3ad3c9cb.js} +0 -0
- /package/build/{Visible-2975d3cc.js → Visible-ed86f410.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-dd536749.js → WEIGHT_BOYS.percentile.monthly-1659aed3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8f2dfe1d.js → WEIGHT_BOYS.percentile.weekly-647f9286.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e4f169b2.js → WEIGHT_BOYS.percentile.yearly-46440b65.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3b9d8e12.js → WEIGHT_BOYS.zscore.monthly-bd881e35.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-21e8ab53.js → WEIGHT_BOYS.zscore.weekly-3fd0466d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-14adaa4c.js → WEIGHT_BOYS.zscore.yearly-30a0fbbe.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8c9feb91.js → WEIGHT_GIRLS.percentile.monthly-0347ccdb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-bae12ad3.js → WEIGHT_GIRLS.percentile.weekly-372715ee.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-69bddc9e.js → WEIGHT_GIRLS.percentile.yearly-51c15d34.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-62bc84b6.js → WEIGHT_GIRLS.zscore.monthly-f44e564e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-78d94ec6.js → WEIGHT_GIRLS.zscore.weekly-d660f089.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2ab51478.js → WEIGHT_GIRLS.zscore.yearly-8282a654.js} +0 -0
- /package/build/{constants-e5a87ea9.js → constants-dfaf77dd.js} +0 -0
- /package/build/{cookieHelper-283a02b1.js → cookieHelper-6a8008f6.js} +0 -0
- /package/build/{dataTransform-46b81281.js → dataTransform-e9f91459.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-37cd9117.js → BMI_BOYS.percentile.monthly-281985c6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5e325bce.js → BMI_BOYS.percentile.weekly-294baedb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-113ef720.js → BMI_BOYS.percentile.yearly-ca58d1cc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ecc4d68f.js → BMI_BOYS.zscore.monthly-a74e717a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-0adcc30c.js → BMI_BOYS.zscore.weekly-bba5dd16.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-d71593a6.js → BMI_BOYS.zscore.yearly-7efc3e59.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-79552762.js → BMI_GIRLS.percentile.monthly-5c0da953.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f7076322.js → BMI_GIRLS.percentile.weekly-83079b24.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4e7db001.js → BMI_GIRLS.percentile.yearly-71f63850.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f806704c.js → BMI_GIRLS.zscore.monthly-69f2c539.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-48a773fb.js → BMI_GIRLS.zscore.weekly-9a97ada5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-03358b99.js → BMI_GIRLS.zscore.yearly-a029f4e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-406b2a68.js → HEAD CIRCUM_BOYS.percentile.monthly-b318b1f9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-558ccd96.js → HEAD CIRCUM_BOYS.percentile.weekly-bb3d93bc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3c694e3a.js → HEAD CIRCUM_BOYS.percentile.yearly-0a400cab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e2dfbbc2.js → HEAD CIRCUM_BOYS.zscore.monthly-ca858403.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-0f4ffc31.js → HEAD CIRCUM_BOYS.zscore.weekly-e4c94e13.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-45e18c32.js → HEAD CIRCUM_BOYS.zscore.yearly-ecfb3428.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c61e1e60.js → HEAD CIRCUM_GIRLS.percentile.monthly-2ca9295f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-80077fbd.js → HEAD CIRCUM_GIRLS.percentile.weekly-850c5bbe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5cd40fcf.js → HEAD CIRCUM_GIRLS.percentile.yearly-007f0f23.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8704df7d.js → HEAD CIRCUM_GIRLS.zscore.monthly-c4bcd1be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e3307c3e.js → HEAD CIRCUM_GIRLS.zscore.weekly-e510a08f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8c3aa695.js → HEAD CIRCUM_GIRLS.zscore.yearly-1e6c11c0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-32fc1116.js → HEIGHT_BOYS.percentile.monthly-33864d0e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f7886940.js → HEIGHT_BOYS.percentile.weekly-78d7c6a0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7feb4234.js → HEIGHT_BOYS.percentile.yearly-d9a9726a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d6c9ff63.js → HEIGHT_BOYS.zscore.monthly-c32d0020.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4f88d09a.js → HEIGHT_BOYS.zscore.weekly-8a4914c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f10d96b9.js → HEIGHT_BOYS.zscore.yearly-6b14a840.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8779b55.js → HEIGHT_GIRLS.percentile.monthly-1c16b3af.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5248631a.js → HEIGHT_GIRLS.percentile.weekly-d8ae084e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ee4a4b7d.js → HEIGHT_GIRLS.percentile.yearly-cf8d61c8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1e3ea3a4.js → HEIGHT_GIRLS.zscore.monthly-e6bdb3d0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-26a82693.js → HEIGHT_GIRLS.zscore.weekly-2de1be18.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-180fb58a.js → HEIGHT_GIRLS.zscore.yearly-b46187cb.js} +0 -0
- /package/build/esm/{Onboarding-47f0ed32.js → Onboarding-3a098961.js} +0 -0
- /package/build/esm/{Visible-25232b43.js → Visible-48f42ae6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-488c645a.js → WEIGHT_BOYS.percentile.monthly-b69a4d3e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7ad65f24.js → WEIGHT_BOYS.percentile.weekly-0faad24c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-985443fd.js → WEIGHT_BOYS.percentile.yearly-a531b22a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d3ed375e.js → WEIGHT_BOYS.zscore.monthly-a70dfa59.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ca781909.js → WEIGHT_BOYS.zscore.weekly-bc0a7397.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-12b41d45.js → WEIGHT_BOYS.zscore.yearly-4a0c0338.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-33515f65.js → WEIGHT_GIRLS.percentile.monthly-a4b24d07.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-29785c9d.js → WEIGHT_GIRLS.percentile.weekly-4b6a9d19.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-59a36732.js → WEIGHT_GIRLS.percentile.yearly-6c10ff85.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-99db3a42.js → WEIGHT_GIRLS.zscore.monthly-e7cc197b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bf885582.js → WEIGHT_GIRLS.zscore.weekly-1d95dc1a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-46fbf2d5.js → WEIGHT_GIRLS.zscore.yearly-86cc4c83.js} +0 -0
- /package/build/esm/{constants-c2cc8386.js → constants-893a39ff.js} +0 -0
- /package/build/esm/{cookieHelper-bec3cfaa.js → cookieHelper-d3775f87.js} +0 -0
- /package/build/esm/{dataTransform-be2c590b.js → dataTransform-3d5ed2ab.js} +0 -0
- /package/build/esm/{en-PH-b9711db4.js → i18n-values/en-PH.js} +0 -0
- /package/build/esm/{hi-IN-4f45c353.js → i18n-values/hi-IN.js} +0 -0
- /package/build/esm/{id-ID-eb9f9702.js → i18n-values/id-ID.js} +0 -0
- /package/build/esm/{km-KH-5bd68521.js → i18n-values/km-KH.js} +0 -0
- /package/build/esm/{ms-MY-5cdb826a.js → i18n-values/ms-MY.js} +0 -0
- /package/build/esm/{th-TH-a39d3b38.js → i18n-values/th-TH.js} +0 -0
- /package/build/esm/{tl-PH-439f7fc9.js → i18n-values/tl-PH.js} +0 -0
- /package/build/esm/{vi-VN-48847f0c.js → i18n-values/vi-VN.js} +0 -0
- /package/build/esm/{vi-VN_MB-4407d98a.js → i18n-values/vi-VN_MB.js} +0 -0
- /package/build/esm/{zh-TW-1cf8e724.js → i18n-values/zh-TW.js} +0 -0
- /package/build/esm/{index-3f7d903d.js → index-22d66f3a.js} +0 -0
- /package/build/esm/{index-ee0953ff.js → index-bbb37de8.js} +0 -0
- /package/build/esm/{isProduction-aefac4c1.js → isProduction-9fdedd97.js} +0 -0
- /package/build/esm/{localizeNumberFormat-7f021996.js → localizeNumberFormat-c9565869.js} +0 -0
- /package/build/esm/{normalizeLink-c0575b9c.js → normalizeLink-e75d8f3b.js} +0 -0
- /package/build/esm/{theme-de7535c2.js → theme-658bcd7b.js} +0 -0
- /package/build/esm/{translationsContext-cee296b2.js → translationsContext-4e922048.js} +0 -0
- /package/build/esm/{tslib.es6-01f620c8.js → tslib.es6-2f773aeb.js} +0 -0
- /package/build/esm/{types-a125d5db.js → types-f09dabf2.js} +0 -0
- /package/build/esm/{useIsInit-db1bcdff.js → useIsInit-2c1fe29c.js} +0 -0
- /package/build/esm/{useOutsideClick-fdb78365.js → useOutsideClick-480b6515.js} +0 -0
- /package/build/esm/{useScrollbarSize-357ac3a1.js → useScrollbarSize-efb18b24.js} +0 -0
- /package/build/esm/{useUniqueId-9d98366e.js → useUniqueId-36e2cd8f.js} +0 -0
- /package/build/esm/{utils-b2336bb5.js → utils-934fc187.js} +0 -0
- /package/build/{index-5aa4382a.js → index-18caa50b.js} +0 -0
- /package/build/{index-61cc14ec.js → index-508517da.js} +0 -0
- /package/build/{isProduction-8913c226.js → isProduction-5a688ca0.js} +0 -0
- /package/build/{localizeNumberFormat-d5aa5e79.js → localizeNumberFormat-fdc361f8.js} +0 -0
- /package/build/{normalizeLink-46f8b786.js → normalizeLink-96abe957.js} +0 -0
- /package/build/{theme-e3dc5e67.js → theme-f4d3e318.js} +0 -0
- /package/build/{translationsContext-b79c958c.js → translationsContext-5205b47d.js} +0 -0
- /package/build/{tslib.es6-ea3181ce.js → tslib.es6-2277e49b.js} +0 -0
- /package/build/{types-70a9d21d.js → types-1db8e1a1.js} +0 -0
- /package/build/{useIsInit-ec8e9bee.js → useIsInit-3d607db2.js} +0 -0
- /package/build/{useOutsideClick-d67e082b.js → useOutsideClick-5b39fb98.js} +0 -0
- /package/build/{useScrollbarSize-3f6344cb.js → useScrollbarSize-1f532e9c.js} +0 -0
- /package/build/{useUniqueId-33dccf23.js → useUniqueId-fc07e386.js} +0 -0
- /package/build/{utils-4cfce198.js → utils-ca50b14e.js} +0 -0
package/build/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Onboarding-3ad3c9cb.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}}),Object.defineProperty(exports,"OnboardingStep",{enumerable:!0,get:function(){return e.OnboardingStep}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-2277e49b.js"),t=require("react"),o=require("./getDynamicHealthTool-c9bdc022.js");exports.useHealthToolsCache=a=>{const[i,l]=t.useState([]);t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield o.getDynamicHealthToolWithCache(a);l(e)}))}),[o.getDynamicHealthToolWithCache,a]);const c=t.useCallback((e=>{var t;return(null===(t=i.find((t=>t.template===e)))||void 0===t?void 0:t.link)||""}),[i]);return{allTools:i,getHealthToolLink:c}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-2277e49b.js"),t=require("react"),r=require("./cookieHelper-6a8008f6.js"),n=require("./useUniqueId-fc07e386.js");function i(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}exports.useFbDataLayer=n=>{const a=t.useRef("");t.useEffect((()=>(e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,u,l;if(!a.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),a.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(o=a.current)||void 0===o?void 0:o.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==n?void 0:n.id){const[e,t,a,o,c,s]=yield Promise.all([n.email?i(n.email):null,n.phone?i(n.phone):null,n.birthday?i(n.birthday.split("-").join("")):null,n.gender?"m":"f",n.city_name?i(n.city_name).then((e=>e.replace(/\s/g,""))):null,n.name?i(n.name):null]);r.getCookie("_fbc"),r.getCookie("_fbp");const d={user_id:n.id};s&&(d.fn=s),e&&(d.em=e),t&&(d.ph=t),a&&(d.db=a),c&&(d.ct=c),null===(l=null===(u=window.localStorage)||void 0===u?void 0:u.setItem)||void 0===l||l.call(u,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[n])},exports.usePrevious=e=>{const r=t.useRef(),i=t.useRef(e);return n.useInitialMount()||i.current===e||(r.current=i.current,i.current=e),r.current},exports.useRafState=e=>{const[r,n]=t.useState(e),i=t.useRef(0),a=t.useCallback((e=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame((()=>{n(e)}))}),[]);return t.useEffect((()=>()=>cancelAnimationFrame(i.current))),[r,a]};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./translationsContext-5205b47d.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(require("string-format"));exports.useTranslations=function(){const{values:a,locale:o}=e.useContext(t.TranslationsContext)||{locale:"en-PH"};return e.useMemo((()=>({t:(e,t)=>a?a[e]?t?n.default(a[e]||e,t):a[e]||e:(console.warn(`[useTranslations] Missing translation for key ${e} and locale ${o}`),t?n.default(e,t):e):(console.error("[useTranslations] t method called before translation values are loaded"),e),locale:o})),[a,o])};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=require("./Onboarding-3ad3c9cb.js");const i={[a.LOCALE.Vietnam]:"VN",[a.LOCALE.Cambodia]:"KH",[a.LOCALE.Indonesia]:"ID",[a.LOCALE.Malaysia]:"MY",[a.LOCALE.PhilippinesEnglish]:"PH",[a.LOCALE.PhilippinesTagalog]:"PH",[a.LOCALE.Taiwan]:"TW",[a.LOCALE.Thailand]:"TH",[a.LOCALE.Myanmar]:"MM"};exports.MAPPED_LOCALE=i,exports.hiddenEmailChar=(a="")=>{const i=a.indexOf("@"),n=a.substring(0,i),L=n.length>3?3:n.length;return a.replace(a.substring(L,i),a.slice(L,i).replace(/./g,"x"))};
|
package/build/vaccination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-2277e49b.js"),t=require("react"),a=require("@mantine/core"),l=require("@mantine/hooks");require("./gAssets.js"),require("@mantine/dates"),require("./index-5f4e003c.js");var n=require("./Onboarding-3ad3c9cb.js"),r=require("./index-3f9f042b.js"),i=require("dayjs");require("./screenSizeContext-f496f721.js");var o=require("styled-components"),c=require("./theme-f4d3e318.js"),s=require("./utils-ca50b14e.js");require("./isProduction-5a688ca0.js");var d=require("./useTranslations-cb70f9dd.js");require("./index-97beea5c.js"),require("lodash/debounce");var u=require("./index-873c7d5c.js"),m=require("./index-508517da.js");require("./translationsContext-5205b47d.js"),require("string-format"),require("./index-aa465abf.js"),require("./index-8572a1e3.js"),require("./index.styled-e5b26ff8.js"),require("./index-18caa50b.js");var f=require("./index-b92cd1db.js"),C=require("@mantine/form"),p=require("dayjs/plugin/customParseFormat"),g=require("./index-64027e80.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("date-fns/locale"),require("@mantine/carousel"),require("lodash/throttle"),require("./index-7bb52fd2.js"),require("./useUniqueId-fc07e386.js"),require("react-keyed-flatten-children");var b=h(t),x=h(i),E=h(o),v=h(p);const y=E.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
padding: 16px;
|
|
4
4
|
min-height: 110px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hhgtech/hhg-components",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.28",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/esm/index.js",
|
|
6
6
|
"files": [
|
|
@@ -230,6 +230,9 @@
|
|
|
230
230
|
"onboardingV2": [
|
|
231
231
|
"build/components/onboardingV2/index.d.ts"
|
|
232
232
|
],
|
|
233
|
+
"i18nV2": [
|
|
234
|
+
"build/i18n/indexV2.d.ts"
|
|
235
|
+
],
|
|
233
236
|
"vaccination": [
|
|
234
237
|
"build/components/vaccination/index.d.ts"
|
|
235
238
|
],
|
package/build/core-514ec4a7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-ea3181ce.js"),e=require("./isProduction-8913c226.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 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./index.styled-2090a9a3.js"),o=require("./tslib.es6-ea3181ce.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=t(e);const n=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||""}:{},a=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=>void 0!==e&&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}:null,d=e=>{if(!e)return{};const{button_text:i,button_url:t,status:l,banner_desktop:n,banner_mobile:a}=e,r=o.__rest(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:t||"",status:Boolean(l),bannerDesktop:n||"",bannerMobile:a||""},r)},u={EN:"English",FIL:"Filipino"},s=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in u?u[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),m=e=>{var i,o,t,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?p(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:n(e.author),reviewer:e.reviewed_by&&n(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:v(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:v(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:v(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:v(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:_(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(_),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:a(e.expert),metaTag:e.meta_tag||null,spotlight:r(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:s(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:_(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:n(e.edit_last),subscriptionBanner:d(e.subscription_banner)}:{}},v=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,p=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},c=e=>({postTitle:e.post_title,permalink:e.permalink}),_=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?p(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=>_(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?c(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>g(e))):null}:{}},g=e=>({title:e.title,content:e.content}),y=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},f=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)}:{},b=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)}:{}},h=e=>e?{answer:null==e?void 0:e.answer.map(I),expert:null==e?void 0:e.expert}:{},k=e=>{var i,o,t,l,n,a,r,d,u,s,m,v,p,c,_,g,y,f,b,k,w;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===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.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===(p=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(c=e.user)||void 0===c?void 0:c.type)||"",partnerId:(null===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(k=e.user)||void 0===k?void 0:k.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:h(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},w=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}:{},I=e=>{var i,o,t,l,n,a,r,d,u,s,m,v,p,c,_,g,y,f,b,h,k,w,C,x,S,T,A,P,B,D,U,j;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(I):[],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===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.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===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(c=e.user)||void 0===c?void 0:c.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(w=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===w?void 0:w.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===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(P=e.mentioned)||void 0===P?void 0:P.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===(U=e.mentioned)||void 0===U?void 0:U.hospital_id):"",title:(null===(j=e.mentioned)||void 0===j?void 0:j.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},C=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 x=Object.freeze({__proto__:null,formatAuthor:n,formatArticleExpert:a,formatSpotlightsSummary:r,TRANSLATE_LANGUAGES:u,formatTranslateOptions:s,formatArticle:m,formatUserProfile:v,formatBMIResult:e=>{var i,o,t,l,n,a,r,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!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",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:p,formatReviewedCategory:c,formatCategory:_,formatCategoryApi:e=>e?{categoryInfo:_(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(m),subCategories:(e.data.sub_categories||[]).map(_)}:{},formatFaqsCategory:g,formatHealthTool:y,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=>y(e))))&&void 0!==o?o:[]}:{}},formatCommunity:f,formatTopic:b,formatExpertAnswer:h,formatPost:k,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:w,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:I,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?v(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:C,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?v(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:C(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:t=!0,onClose:n,children:a,className:r="",enableAnimation:d=!0})=>l.default.createElement(l.default.Fragment,null,l.default.createElement(i.StyledPopup$2,{"data-open":t,"data-type":e,"data-animation":d},l.default.createElement("div",{className:`${r||""} popup-content`},!!o&&l.default.createElement("div",{className:"close-button",onClick:n},o),a)),l.default.createElement(i.StyledPopupWrapper,{"data-open":t,onClick:n})),exports.dataTransform=x,exports.formatArticle=m,exports.formatCategory=_,exports.formatComment=I,exports.formatCommunity=f,exports.formatOvulationInfo=w,exports.formatPost=k,exports.formatTopic=b,exports.formatUserProfileUrl=C;
|
package/build/en-PH-f60a149c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e="Characters",o="Copied",t="Copy",a="Insert",r="loading",i="Or copy link",n="Submit",s={"actionPopover.delete":"Delete","actionPopover.deleteNotification":"Delete this notification","actionPopover.edit":"Edit","actionPopover.inviteShareCommunity":"Invite / Share community","actionPopover.joinCommunity":"Join Community","actionPopover.leaveCommunit":"Leave Community","actionPopover.leaveCommunity":"Leave Community","actionPopover.leaveCommunity.accept":"Leave","actionPopover.leaveCommunity.cancel":"Cancel","actionPopover.leaveCommunity.description":"Are you sure you want to leave this community?","actionPopover.leaveCommunity.title":"Leave Community","actionPopover.report":"Report","actionPopover.turnOffNotification":"Turn off notification","actionPopover.turnOffNotificationAbout":"Turn off notification about {label}","actionPopover.turnOnNotification":"Turn on notification","adBanner.title":"advertisement","admin.comments":"Comments","admin.communities":"Communities","admin.community":"Community","article.shareOn":"Share on","articleAuthor.title.expert":"Expertly reviewed by","articleAuthor.title.fact-check":"Fact-checked by","articleAuthor.title.medical":"Medically reviewed by","articleAuthor.title.written-by":"Written by","articlePage.articleReviewerBy":"Medically reviewed by {name}","articlePage.readMore":"Read More","articlePage.showLess":"Show less","babyGrowth.alert.bmi":"There is no BMI measurements to display for {name} in WHO data range of 0 to 5 years. Use <a>BMI calculator tool</a> above 5 year old","babyGrowth.alert.head":"There is no head circumference measurements to display for {name} in WHO data range of 0 to 5 years","babyGrowth.alert.weight":"There is no Weight measurements to display for {name} in WHO data range of 0 to 10 years ","babyGrowth.chartTitle":"WHO - {name} Growth Chart","babyGrowth.chartTitle.noName":"Your child's growth chart","babyGrowth.cm":"(cm)","babyGrowth.drawer.addMeasurement":"Add a Measurement","babyGrowth.drawer.createBaby":"Create a baby profile","babyGrowth.drawer.switchProfile":"Switch profile","babyGrowth.emptyName":"your baby","babyGrowth.error.atLeastOneOf":"Must have at least one of these fields: Weight, Height, Head Circumference (Head).","babyGrowth.error.birthdayRequired":"Birthday is required","babyGrowth.error.invalidAge":"The measurements exceed the age.","babyGrowth.error.invalidMeasurementDate":"Measurement day is not valid.","babyGrowth.error.invalidValue":"Please input a valid value","babyGrowth.error.measurementDateLowerThanBirthday":"The date entered is before your child's birthday.","babyGrowth.error.outOfRange":"The measurements exceed the WHO's data range.","babyGrowth.error.title":"Invalid data","babyGrowth.head":"Head","babyGrowth.headCircumference":"Head Circumference","babyGrowth.height":"Height","babyGrowth.input.babyName":"Child’s name","babyGrowth.input.birthday":"Baby's birthday","babyGrowth.input.bmi":"Body Mass","babyGrowth.input.bodyMass":"Body Mass","babyGrowth.input.checkSubmit":"Track your child's growth","babyGrowth.input.measurementDate":"Measurement Date","babyGrowth.input.submit":"Track your child's growth","babyGrowth.kg":"(kg)","babyGrowth.kg.m2":"(kg/m2)","babyGrowth.monthly":"Monthly","babyGrowth.nickname":"Nickname","babyGrowth.optional":"(optional)","babyGrowth.pageTitle":"Your child's growth results","babyGrowth.percentiles":"Percentiles","babyGrowth.placeholder.babyName":"Add child's name","babyGrowth.popup.heading":"Baby's Profile","babyGrowth.reCalculate":"Recalculate","babyGrowth.record":"Records","babyGrowth.save":"View Growth Tracker","babyGrowth.save.loggedIn":"See Baby's Growth Tracker","babyGrowth.weekly":"Weekly","babyGrowth.weight":"Weight","babyGrowth.xLabel":"Age ({recurrence})","babyGrowth.yearly":"Yearly","babyPoop.findOut":"Find out","babyPoopTool.name":"Baby Poop","babyVaccine.banner.readmore":"Read more","babyVaccine.immunization.vaccineName":"Vaccine Name","babyVaccine.immunization.warning":"The immunization static is easy to read and parent friendly as it is similar to your baby vaccination timelines","babyVaccine.popup.button":"Create a new profile","babyVaccine.popup.button.submit":"Save","babyVaccine.popup.checkbox.suggestedDate":"Pick a injected date or keep the suggested below.","babyVaccine.popup.confirm.close":"Change Date","babyVaccine.popup.confirm.description":"Your baby has injected this vaccine on {date}","babyVaccine.popup.confirm.ok":"Confirm","babyVaccine.popup.confirm.title":"Vaccination date","babyVaccine.popup.input.suggestedDate":"I don't remember/Set as suggested date","babyVaccine.popup.label.doses":"Doses","babyVaccine.popup.tab.benefits":"Benefits","babyVaccine.popup.tab.contraindication":"Contraindication","babyVaccine.popup.tab.detail":"Details","babyVaccine.popup.tab.schedule":"Tracking","babyVaccine.popup.title":"Vaccine Information","babyVaccine.status.all":"All","babyVaccine.status.missed":"Missed","babyVaccine.status.next":"Next","babyVaccine.status.upcoming":"Upcoming","babyVaccine.status.vaccinated":"Vaccinated","babyVaccine.timeline.antigen":"Antigen:","babyVaccine.timeline.atBirth":"at Birth","babyVaccine.timeline.total":"Total: {number} Dose(s)","babyVaccine.timeline.totalNext":"Next {number} Dose(s)","babyVaccine.timeline.totalPast":"Past {number} Dose(s)","babyVaccine.vaccineCard.injected":"Injected","babyVaccine.vaccineCard.markAsInjected":"Mark as injected","babyVaccine.vaccineInfo.dose":"Dose: {ordinal}/{total}","babyVaccine.vaccineInfo.injectedDate":"Injected Date: {date}","babyVaccine.vaccineInfo.mandatory":"Mandatory","babyVaccine.vaccineInfo.optional":"Optional","babyVaccine.vaccineInfo.suggested":"Suggested Date: {date}","babyVaccineTool.selectGender":"What is your child's gender?","bmi.ageInput":"How old are you?","bmi.ageInput.desc":"(years)","bmi.ageInput.error":"Please put in a valid age","bmi.heading":"BMI Calculator","bmi.heightInput":"How tall are you?","bmi.heightInput.desc":"(cm)","bmi.heightInput.error":"Please put in a valid height","bmi.objective":"Objectives","bmi.objective.gainWeight":"Build muscle ","bmi.objective.loseWeight":"Lose fat","bmi.objective.maintainWeight":"Maintain weight","bmi.result.healthy":"Healthy","bmi.result.overweight":"Overweight","bmi.result.underweight":"Underweight","bmi.selectGender":"What is your gender?","bmi.submit":"Calculate","bmi.weightInput":"How much do you weigh?","bmi.weightInput.desc":"(kg)","bmi.weightInput.error":"Please put in a valid weight","bmr.heading":"BMR Calculator","booking.searchBar.allLocations":"All locations","booking.searchBar.currentLocation":"Current location","booking.searchBar.grantLocation":"Please grant location permission to search by current location","booking.searchBar.locationPlaceholder":"Enter city","booking.searchBar.noResults":"No Results","booking.searchBar.placeholder.doctor":"Search by doctor name","booking.searchBar.placeholder.hospital":"Search by hospital name","booking.searchBar.placeholder.service":"Search by service","booking.searchBar.placeholder.specialty":"Search by specialty","booking.searchBar.searchButton":"Search","booking.searchBar.searchInput.placeholder":"Search by Specialty or Clinic...","booking.searchBar.useCurrentLocation":"Use my current location","booking.searchPopup.doctors":"Doctors","booking.searchPopup.hospitals":"Hospitals & Clinics","booking.searchPopup.searchIn.doctors":'Search "{name}" in Doctors',"booking.searchPopup.searchIn.hospitals":'Search "{name}" in Hospitals',"booking.searchPopup.searchIn.services":'See "{name}" in Services',"booking.searchPopup.searchIn.specialties":'Search "{name}" in Specialties',"booking.searchPopup.seeAll":"See All","booking.searchPopup.seeLessSpecialties":"See less specialties","booking.searchPopup.seeMoreSpecialties":"See more specialties","booking.searchPopup.services":"Services","booking.searchPopup.specialties":"Specialties","bottomBar.share":"Share","cardAuthor.admin":"Admin","cardAuthor.ambassador":"Ambassador","cardAuthor.expert":"Expert","cardAuthor.guide":"Guide","cardAuthor.influencer":"Influencer","cardAuthor.localAdmin":"Local Admin","cardAuthor.moderator":"Moderator","cardAuthor.sponsor":"Sponsor","cardPost.anonymous":"Anonymous","cardReactions.comment":"Comment","cardReactions.repliesCount":"{count} replies","cardReactions.reply":"Reply","cardReply.disclaimer":"<strong>Disclaimer:</strong> The content is furnished relying on authenticated information sources.","cardReply.endorse":"Endorse","cardReply.opposePopup.content":"Can you please provide the reasons for refuting this answer?","cardReply.opposePopup.submit":"Submit","cardReply.pppose":"Refute","cardReply.recommentCategories.heading":"Related content","cardReply.source":"Sources","cardReply.verifyBy":"Medically reviewed by {name}","careBooking.bookAnAppointment":"Book an appoinment","categoryPage.info.reviewed":"Medically reviewed by","categoryPage.onDate":"on {date}",character:e,"childCard.age.months":"{month} months","childCard.age.oneMonth":"1 month","childCard.age.oneWeek":"1 week","childCard.age.oneYear":"1 year","childCard.age.oneYearMonth":"1 year {month} months","childCard.age.oneYearOneMonth":"1 year 1 month","childCard.age.week":"{weeks} weeks","childCard.age.yearMonth":"{year} years {month} months","childCard.age.yearNoMonth":"{year} years","childCard.age.yearOneMonth":"{year} years 1 month","childCard.boy":"Boy","childCard.girl":"Girl","childCard.menu.add":"Add a child profile","childCard.menu.edit":"Edit {name}’s profile","childCard.menu.remove":"Remove {name}’s profile","childCard.menu.switch":"Switch child's profile","childCard.noName":"Child's Name","choicePopover.ambassadorPosts":"Ambassador posts","choicePopover.expertPosts":"Expert posts","choicePopover.lastestPost":"Latest posts","choicePopover.latest":"Latest","choicePopover.newest":"Newest","choicePopover.oldest":"Oldest","choicePopover.popular":"Popular","choicePopover.popularPost":"Popular posts","choicePopover.sort":"Sort","chooseBaby.button":"View your Child Growth Chart","chooseBaby.new":"or Add new child profile","chooseBaby.placeholder":"Please give child's name","chooseBaby.title":"Choose Child's Profile","comment.count":"{count} comments","comment.seeMoreComments":"See {count} more comments","comment.seeMoreReplies":"See {count} more replies","commentPopup.warning.newPost":"Your question will be public","common.profileNavigator.newsletterSubscription":"Newsletter Subscription","community.choose":"Choose a community","community.notification.joined":"You joined {name} community","community.notification.left":"You left {name} community",copied:o,copy:t,"createPost.askDoctor":"Ask Doctor","createPost.askDoctorChoice.no":"No","createPost.askDoctorChoice.yes":"Yes","createPost.message.askDoctorRequire":"Would you like to ask a question to our doctor?","createPost.popup.description":"Description","createPost.popup.guideSelectMonthTopics":"Choose topics about your baby's birth month","createPost.popup.guideSelectTopics":"Choose topics, where to post your articles","createPost.popup.primary":"Tap to select/ unselect topics","createPost.popup.selectMonthTopicBtn":"Select","createPost.popup.specialCharErr":"The title you entered is invalid. Titles must contain letters.\n","createPost.popup.submit":"Post","createPost.popup.success":"New Post Created","createPost.popup.warning":"Select a community to see your following topics","createPost.popup.warningImage":"Maximum 20 images allow, please remove some item below","createPost.popup.wordCount":"{count}/{max} words","createPost.postAnonymous":"Post Anonymously","createPost.title":"Title","createPost.urlText":"Text","dueDatePage.calculationMethod":"Calculation Method","dueDatePage.conceptionDate":"Conception Date","dueDatePage.daysText":"{number} days","dueDatePage.ivf":"IVF","dueDatePage.ivf.transferDate":"IVF Transfer Date","dueDatePage.ivf.transferDateRadio":"{number}-Day Transfer","dueDatePage.lastPeriod":"Last Period","dueDatePage.lastPeriod.calculate":"Calculate","dueDatePage.lastPeriod.lastPeriodLabel":"The first day of your last period","dueDatePage.lastPeriod.periodLengthLabel":"Cycle Length","expert.content.description":"Expert's Profile","expert.content.experiences":"Experiences","footer.signUp":"Sign Up Now","gender.female":"Female","gender.male":"Male","healthTools.dueDateCalculator":"Due Date Calculator","healthTools.ovulationCalculator":"Ovulation Calculator","healthtool.placeholder.age":"Your age","home.menu.category.view":"View {category}","home.navigator.menu.care.noDatas.cta":"Book a Doctor","home.navigator.menu.care.noDatas.description":"HelloCare helps patients to find the right medical doctors and service treatment for their needs, in their vicinity.","home.navigator.menu.care.noDatas.title":"Make an appointment with doctors easily","home.navigator.menu.category.noDatas.cta":"Discover now","home.navigator.menu.category.noDatas.description":"Hello Doctor wants to be your most trusted ally to make more informed decisions and to live healthier and happier lives.","home.navigator.menu.category.noDatas.title":"Welcome to Hello Doctor","home.navigator.menu.healthTools.noDatas.cta":"Discover more","home.navigator.menu.healthTools.noDatas.description":"These easy-to-use health assessment tools will help you gauge vital parts of your overall health and wellness.","home.navigator.menu.healthTools.noDatas.title":"Health Tools","home.navigator.menu.spotlightHospitals":"Popular Hospitals","home.navigator.menu.spotlightTools":"Favorite Tools","home.navigator.menu.spotlights":"All In Focus","home.navigator.menu.spotlights.seeAll":"See All In Focus","home.navigator.menu.together.noPosts.cta":"Join Our Communities","home.navigator.menu.together.noPosts.description":"Community is a safe space where you can connect with other members, comment on topics you care about, and receive trusted advice from medical experts on the health issues that matter most.","home.navigator.menu.together.noPosts.title":"Welcome to Community","home.navigator.menu.trendingPosts":"Highlight Posts","home.navigator.menu.trendingPosts.seeMore":"See more","home.navigator.menuItem.allCategories":"See All Categories","home.navigator.menuItem.allCommunities":"See all communities","home.navigator.menuItem.allCommunitiesheadingTitle":"Find your communities","home.navigator.menuItem.allHealthTools":"See All Health Tools","home.navigator.menuItem.allSpecialties":"All specialties","home.navigator.menuItem.allSpotlight":"See All In Focus","home.navigator.menuItem.discover":"Discover","home.navigator.menuItem.healthCategories":"Health Categories","home.navigator.menuItem.healthTools":"Health Tools","home.navigator.menuItem.healthToolsList":"Health Tools","home.navigator.menuItem.helloCare":"Book a Doctor","home.navigator.menuItem.helloEcom":"eShop","home.navigator.menuItem.helloTogether":"Communities","home.navigator.menuItem.language":"Language","home.navigator.menuItem.new":"new","home.navigator.menuItem.specialties":"Specialties","home.navigator.menuItem.spotlights":"All In Focus","home.search":"Search {site}","home.seeAll":"See All","home.seeAllCategories":"See All Topics","home.seeExpert":"View Full Expert's Profile","home.seeHospital":"View Full Hospital's Profile","home.seeMore":"See More","home.seeMoreExperts":"See More Experts","hospital.content.description":"Hospital Details","inputComment.replyTo":"Reply to {name}",insert:a,"label.latestPost":"Latest Post","label.pinnedPost":"Pinned Post",loading:r,"login.booking":"Booking with doctor","logout.popup.ask.mb":"Logout of Marry Baby","logout.popup.ask1":"Log Out of Hello Doctor?","logout.popup.ask2":"Are you sure you want to log out?","logout.popup.button.cancel":"Cancel","logout.popup.button.logout":"Log Out","menu.care.searchBySpecialties":"Search by specialty","morePopover.report":"Report","morePopover.report.description":"Help us understand what’s happening with this post. How would you describe it?","morePopover.report.falseNews":"False news","morePopover.report.offensive":"Offensive","morePopover.report.other":"Other","morePopover.report.prohibited":"Prohibited content","morePopover.report.scam":"Misleading or scam","morePopover.report.sex":"Sexually inappropriate","morePopover.report.spam":"Spam","morePopover.report.title":"Report this post","morePopover.report.violence":"Violence","morePopover.reportSubmit.description":"We won’t tell them who reported it. Please check these details:","morePopover.reportSubmit.title":"Submit report?","morePopover.savePost":"Save post","morePopover.share":"Share","morePopover.shareOn":"Share on","morePopover.turnOffNotifications":"Turn off notifications","morePopover.turnOnNotifications":"Turn on notifications","morePopover.unsavePost":"Remove Saved post","navigation.loginJoin":"Log in","navigation.search.input.placeholder":"Search","notification.comment.blocked.message":"This comment contains banned words or phrases and won’t be published","notification.comment.blocked.title":"Blocked comment","notification.comment.premod":"Your comment needs to be reviewed.","notification.comment.rejected":"Your comment contain words that are not allowed.","notification.comment.reportFailed":"Failed!","notification.comment.reportSuccess":"You have successfully reported a comment.","notification.comment.somethingWrong":"Something went wrong.","notification.comment.suspect.message":"This comment contains suspected words or phrases and won’t be published","notification.comment.suspect.title":"Pending comment","notification.comment.systemWithheld":"Your comment needs to be reviewed.","notification.failure":"Something wrong. Try again later!","notification.limitUrlDomain":"Cannot post link outside of Hello Health Group.","notification.post.blocked.message":"This post contains banned words or phrases and won’t be published","notification.post.blocked.title":"Blocked post","notification.post.delete":"Post Deleted","notification.post.suspect.message":"This post contains suspected words or phrases, and is placed for moderator review","notification.post.suspect.title":"Pending post","notification.success":"Success","notification.suspend.message":"Your account has been suspended for violating our terms of service","notification.urlWrongFormat":"Incorrect URL format","onboarding.button.continue":"Continue","onboarding.button.skip":"Skip","onboarding.errorMessage.invalidEmail":"Invalid email","onboarding.errorMessage.minLength":"Please fill at least {length} characters","onboarding.errorMessage.passNotMatch":"Passwords must match","onboarding.errorMessage.passWithPattern":"Password must include upper and lowercase letters","onboarding.errorMessage.requiredConfirmPassword":"Please fill your confirm password","onboarding.errorMessage.requiredEmail":"Please fill your email","onboarding.errorMessage.requiredName":"Please fill your name","onboarding.errorMessage.requiredPassword":"Please fill your password","onboarding.formEmail.description":"Continue with your email to continue with {site} communities","onboarding.formEmail.genderFemale":"Female","onboarding.formEmail.genderMale":"Male","onboarding.formEmail.heading":"Let us get to know you better.","onboarding.formEmail.yourBirthday":"Your birthday","onboarding.formEmail.yourEmail":"Your email","onboarding.formEmail.yourName":"Your name","onboarding.label.fullName":"Full name","onboarding.otpForm.description":"We have sent a One-Time Password (OTP) to your phone number {phone}","onboarding.otpForm.descriptionEmail":"We have sent a One-Time Password (OTP) to your email {email}","onboarding.otpForm.error":"Please fill a valid OTP","onboarding.otpForm.heading":"Enter Your OTP","onboarding.otpForm.notReceiveOTP":"Didn’t receive an OTP code?","onboarding.otpForm.resendCode":"Resend Code {seconds}s","onboarding.similac.address.error":"Your address is required","onboarding.similac.input.address":"Your address","onboarding.similac.input.city":"Please select your city/province","onboarding.similac.input.district":"Please select your district/town","onboarding.similac.input.no":"Please enter your street name, building, house no.","onboarding.similac.input.phone":"Your phone number","onboarding.similac.input.ward":"Please select your ward/village","onboarding.similac.term.error":"This field is required","onboarding.updatePassword.confirmPassword":"Confirm Password","onboarding.updatePassword.description":"Make sure it's a 8 characters or more","onboarding.updatePassword.heading":"Almost there! You’ll need a password","onboarding.updatePassword.password":"Password","onboarding.updatePasswordResult.description":"You can now login to your Hellobacsi account with the new password.","onboarding.updatePasswordResult.heading":"Password setup successful","onboarding.updatePhone.description":"We will send a One-Time Password (OTP) to your phone number","onboarding.updatePhone.error":"Please fill a valid phone number","onboarding.updatePhone.heading":"Your phone number","onboarding.welcomeScreen.content":"An open and welcoming environment where you can share, connect, and exchange support with other members to seek healthier and happier lives.","onboarding.welcomeScreen.heading":"Welcome to Hello Bacsi Community",orCopyLink:i,"ovulationPage.avoidPregnancy":"Avoid pregnancy","ovulationPage.conceive":"Trying to conceive","ovulationPage.cycleLength":"Cycle Length","ovulationPage.dayUnit":"(days)","ovulationPage.objectives":"Objectives","ovulationPage.periodDuration":"Period Duration","ovulationPage.trackPeriod":"Track period cycle","placeholder.enterTitleHere":"Enter title here","placeholder.enterUrlHere":"Enter URL here","placeholder.enterUrlTextHere":"Enter URL Text here","placeholder.newCmt":"Write a comment","placeholder.newPost":"Start a new post","popup.allTopics":"All Topics","popup.createPost.confirmCloseDescription":"If you discard now, you’ll lose this post","popup.createPost.confirmCloseTitle":"Are you sure?","popup.deleteComment.description":"Delete your comment cannot be undone","popup.deleteComment.title":"Delete comment?","popup.deletePost.accept":"Delete","popup.deletePost.cancel":"Cancel","popup.deletePost.description":"Delete your post cannot be undone","popup.deletePost.title":"Delete post?","popup.discardPost":"Discard post","popup.discardPostEdit":"Discard changes","popup.editPost":"Edit post","popup.keepEditing":"Keep editing","popup.startANewPost":"Start a new post","post.commentCount":"{count} comments","post.likesCount":"{count} likes","post.seeMore":"See more","post.shareCount":"{count} shares","pregnancy.week":"Week","pregnancyTool.description":"Your Baby is as big as a <fruitName></fruitName>","pregnancyTool.title":"Your weeks of pregnancy","pregnancyTool.weightSuggested":"Weight suggested","pregnancyWeightGain.havingTwins":"Having twins?","pregnancyWeightGain.heading":"Pregnancy Weight Gain","pregnancyWeightGain.heightInput":"Height","pregnancyWeightGain.weekInput":"Weeks of pregnant","pregnancyWeightGain.weightBeforeInput":"Weight before pregnancy","pregnancyWeightGain.weightInput":"Current Weight","pregnancyWeightGain.weightInput.desc":" (kg)","previewPhotos.title":"{name}'s Post","profilePanel.anserwing.viewFull":"View full answers","profilePanel.awards":"Awards & Accreditations","profilePanel.createPost":"Create post","profilePanel.education":"Education","profilePanel.emptyCareMess.content":"It looks like there are currently no questions for the doctor at this time. Thank you for being a part of our community.","profilePanel.emptyPostMess.content":"{name} has not been engaged in any activities lately.","profilePanel.experience":"Experiences","profilePanel.joined":"Joined","profilePanel.modal.heading":"Profile","profilePanel.publishcation":"Publishcations","profilePanel.publishedArticles":"Pulished article on Hello Bacsi","profilePanel.question":"Question","profilePanel.questionNotClear":"Question isn't clear","profilePanel.skipQuestion.content":"We will remove this question from your list","profilePanel.skipQuestion.heading":"Skip this question","profilePanel.socialLinks":"Social Links","profilePanel.tabs.care":"Care","profilePanel.tabs.expertAnswer":"Expert Answering","profilePanel.tabs.highlight":"Credentials & Highlights","profilePanel.tabs.posts":"Posts","profilePanel.tabs.relevantArticles":"Relevant Articles","pwg.placeholder.height":"Your height","pwg.placeholder.weight":"Your weight","sensitiveMask.blur":"Blur","sensitiveMask.contentWarningDescription":"Warning: The following picture may be disturbing to some viewers. Viewer discretion is advised","sensitiveMask.contentWarningMessage":"These images may be disturbing...","sensitiveMask.unblur":"Show","share.copyLink":"Or copy link","share.letsJoinCommunity":"Let's join {name} community!","share.letsJoinTopic":"Let's join {name} topic!","share.linkCopied":"Link Copied","share.linkShared":"Link Shared Successfully","share.title":"Share","shareContainer.title":"Share the results","similac.thankYou.done":"Done",submit:n,"switchBtn.no":"No","switchBtn.yes":"Yes","tab.about":"About","tab.discussion":"Discussions","tab.topic":"Topics","tagTopic.moreTopics":"{number} more topics","targetHearRate.heading":"Target Heart Rate Calculator","targetHeartRate.aerobicZone.note":"Aerobic Zone (moderate exercise/sports 3-5 days/week)","targetHeartRate.aerobicZone.title":"Aerobic Zone","targetHeartRate.ageInput":"What is your date of birth?","targetHeartRate.ageInput.desc":" (years)","targetHeartRate.ageInput.error":"Please enter your actual age","targetHeartRate.heartRateInput":"Your resting heart rate?","targetHeartRate.heartRateInput.desc":" (bpm)","targetHeartRate.heartRateInput.error":"Please enter your actual resting heart rate","targetHeartRate.lowIntensity.note":"Low intensity (little or no exercise)","targetHeartRate.lowIntensity.title":"Low intensity","targetHeartRate.maximumIntensity.note":"Maximum Intensity (very hard exercise/sports or x2 training)","targetHeartRate.maximumIntensity.title":"Maximum Intensity ","targetHeartRate.moderateIntensity.note":"Moderate intensity (exercise/ sports 1-3 days/week)","targetHeartRate.moderateIntensity.title":"Moderate intensity ","targetHeartRate.optional":"(optional)","targetHeartRate.selectActive":"How active are you on daily basic?","targetHeartRate.vigorousIntensity.note":"Vigorous Intensity (hard exercise/ sports 6-7 days/week)","targetHeartRate.vigorousIntensity.title":"Vigorous Intensity","tool.askChecking":"I’m checking for other","tool.selectPerson":"Are you checking for?","tool.selectPerson.other":"Other","tool.selectPerson.yourSelf":"Your self","toolPage.toolReviewer":"Medically Reviewed by {expert_name} on {date}","tools.heading.on":"on","userProfile.nav.card.eCom":"E-commerce","userProfile.nav.card.myBooking":"My Booking","userProfile.nav.card.myCommunity":"My Community","userProfile.nav.card.myFamily":"Family Profiles","userProfile.nav.card.myHealth":"My Health","userProfile.nav.card.mySaved":"Saved","userProfile.nav.header.count.comments":"Comments","userProfile.nav.header.count.posts":"Posts","userProfile.nav.header.count.tools":"Tools","userProfile.nav.header.points":"Points","userProfile.nav.header.viewProfile":"View My Profile","userProfile.nav.menu.accountSettings":"Account Settings","userProfile.nav.menu.disableAccount":"Disable Account","userProfile.nav.menu.help":"Help","userProfile.nav.menu.logout":"Log out","userProfile.nav.menu.password":"Password","userProfile.userRank.ambassador":"Ambassador","userProfile.userRank.doctor":"Doctor","userProfile.userRank.expert":"Expert","userProfile.userRank.influencer":"Influencer","userProfile.userRank.member":"Member","verifyBotAnswer.confirmEndorse.accept":"Yes, endorse","verifyBotAnswer.confirmEndorse.cancel":"No, cancel","verifyBotAnswer.confirmEndorse.description":"Thank you for endorsing the answer","verifyBotAnswer.confirmEndorse.heading":"Endorse this answer"};exports.character=e,exports.copied=o,exports.copy=t,exports.default=s,exports.insert=a,exports.loading=r,exports.orCopyLink=i,exports.submit=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./tslib.es6-01f620c8.js";import{i as e}from"./isProduction-aefac4c1.js";const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},o=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}},n=(e,a,n,r=9e5)=>t(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<r)return t.data;if(a){const t=yield a();return n&&!n(t)||o(e,t),t}return null}));export{i as a,n as g,o as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{as as i,at as o}from"./index.styled-0ee6b01f.js";import{_ as t}from"./tslib.es6-01f620c8.js";const l=({type:t="lead",closeIcon:l,isOpen:n=!0,onClose:a,children:r,className:d="",enableAnimation:s=!0})=>e.createElement(e.Fragment,null,e.createElement(i,{"data-open":n,"data-type":t,"data-animation":s},e.createElement("div",{className:`${d||""} popup-content`},!!l&&e.createElement("div",{className:"close-button",onClick:a},l),r)),e.createElement(o,{"data-open":n,onClick:a})),n=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||""}:{},a=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=>void 0!==e&&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}:null,d=e=>{if(!e)return{};const{button_text:i,button_url:o,status:l,banner_desktop:n,banner_mobile:a}=e,r=t(e,["button_text","button_url","status","banner_desktop","banner_mobile"]);return Object.assign({buttonText:i||"",buttonUrl:o||"",status:Boolean(l),bannerDesktop:n||"",bannerMobile:a||""},r)},s={EN:"English",FIL:"Filipino"},u=e=>void 0===e||Object.keys(e).length<2?[]:Object.keys(e).map((i=>({label:i.toUpperCase()in s?s[i.toUpperCase()]:i.toUpperCase(),value:"/"===e[i].slice(-1)?e[i]:`${e[i]}/`}))),m=e=>{var i,o,t,l;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?c(e.sponsor):null,isSponsored:e.is_sponsored||null,isPremium:e.is_premium||!1,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:n(e.author),reviewer:e.reviewed_by&&n(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:v(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:v(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:v(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:v(null===(l=null==e?void 0:e.reviewed)||void 0===l?void 0:l.fact_check)}):null,category:_(e.category),postContent:e.post_content||null,keyTakeaways:e.key_takeaways||null,categories:(e.categories||[]).map(_),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:a(e.expert),metaTag:e.meta_tag||null,spotlight:r(null==e?void 0:e.spotlight),affiliate_message:e.affiliate_message||null,turnOffComment:!!e.turn_off_comment,hasAffiliate:!!e.is_affiliate,translateOptions:u(e.translate),jumpingLink:e.jumping_link||[],pregnancy:(null==e?void 0:e.pregnancy)||!1,pregnancyWeek:(null==e?void 0:e.week_pregnancy)||1,primaryCategory:_(e.primary_category),turnOffIvsPlayer:!!e.turn_off_ivs_player,turnOffArticleVoice:!!e.turn_off_article_voice,enableAudio:!!e.enable_audio,label:(null==e?void 0:e.label)||"",editLast:n(e.edit_last),subscriptionBanner:d(e.subscription_banner)}:{}},v=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,c=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},p=e=>({postTitle:e.post_title,permalink:e.permalink}),_=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?c(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=>_(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?p(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>g(e))):null}:{}},g=e=>({title:e.title,content:e.content}),y=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},f=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)}:{},b=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)}:{}},h=e=>e?{answer:null==e?void 0:e.answer.map(I),expert:null==e?void 0:e.expert}:{},k=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,k,w;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===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.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===(_=e.user)||void 0===_?void 0:_.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(y=e.user)||void 0===y?void 0:y.title)||"",doctorId:(null===(f=e.user)||void 0===f?void 0:f.doctor_id)?String(null===(b=e.user)||void 0===b?void 0:b.doctor_id):"",hospitalId:(null===(k=e.user)||void 0===k?void 0:k.hospital_id)?String(null===(w=e.user)||void 0===w?void 0:w.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:h(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},w=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}:{},I=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,f,b,h,k,w,C,S,T,A,x,B,D,P,j,N;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(I):[],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===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.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===(f=e.mentioned)||void 0===f?void 0:f.user_name)||"",name:(null===(b=e.mentioned)||void 0===b?void 0:b.name)||"",role:(null===(h=e.mentioned)||void 0===h?void 0:h.role)?null===(w=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===w?void 0:w.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id)?String(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.doctor_id):"",hospitalId:(null===(P=e.mentioned)||void 0===P?void 0:P.hospital_id)?String(null===(j=e.mentioned)||void 0===j?void 0:j.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.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||"",isAnonymous:Boolean(Number(e.is_anonymous||0))}:{}},C=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 S=Object.freeze({__proto__:null,formatAuthor:n,formatArticleExpert:a,formatSpotlightsSummary:r,TRANSLATE_LANGUAGES:s,formatTranslateOptions:u,formatArticle:m,formatUserProfile:v,formatBMIResult:e=>{var i,o,t,l,n,a,r,d,s;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!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:c,formatReviewedCategory:p,formatCategory:_,formatCategoryApi:e=>e?{categoryInfo:_(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(m),subCategories:(e.data.sub_categories||[]).map(_)}:{},formatFaqsCategory:g,formatHealthTool:y,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=>y(e))))&&void 0!==o?o:[]}:{}},formatCommunity:f,formatTopic:b,formatExpertAnswer:h,formatPost:k,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:w,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:I,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?v(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:C,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?v(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:C(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||""}:{}}});export{l as P,w as a,f as b,k as c,S as d,b as e,C as f,I as g,m as h,_ as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useState as t,useRef as a,useMemo as l,useEffect as n,Fragment as r,useCallback as i}from"react";import{T as o}from"./index-b76dd880.js";import{c as s,d as c,e as m,f as d,g,h as u,i as p,j as h,k as v,l as E,m as y,n as b,o as f,p as w,q as C,r as k,s as N,t as x,u as L,v as B,w as M,x as _,y as D,z,H as S,I as j,P as A}from"./index-160252d8.js";import{f as I}from"./utils-b2336bb5.js";import{B as T}from"./index-5d552272.js";import{a as P}from"./useUniqueId-9d98366e.js";import{CommonGAssets as F}from"./gAssets.js";import{t as O}from"./theme-de7535c2.js";import{e as H,U as $,B as W,u as G,f as V,g as R,h as U,i as Z,j as q,k as K,l as Y,m as X,n as Q,o as J,p as ee,q as te,r as ae,s as le,t as ne,v as re,w as ie,x as oe,y as se,z as ce,C as me,E as de,F as ge,G as ue,H as pe,I as he,J as ve,K as Ee,L as ye,N as be,O as fe,P as we,Q as Ce,V as ke,W as Ne,X as xe,Y as Le,Z as Be,_ as Me,$ as _e,a0 as De,a1 as ze,a2 as Se,a3 as je,a4 as Ae,a5 as Ie,a6 as Te,a7 as Pe,a8 as Fe,a9 as Oe,aa as He,D as $e,ab as We,ac as Ge,b as Ve,ad as Re,ae as Ue,af as Ze,ag as qe,ah as Ke,ai as Ye,aj as Xe,a as Qe,ak as Je,T as et,al as tt,am as at,an as lt,ao as nt,ap as rt,aq as it,ar as ot,as as st,at as ct,au as mt,av as dt,aw as gt,ax as ut,ay as pt,az as ht,aA as vt,aB as Et,aC as yt,aD as bt,aE as ft,aF as wt,aG as Ct,aH as kt,aI as Nt,aJ as xt,aK as Lt,aL as Bt,aM as Mt,aN as _t,aO as Dt,aP as zt,aQ as St,aR as jt,aS as At,aT as It,aU as Tt,aV as Pt,aW as Ft,aX as Ot,aY as Ht,aZ as $t,a_ as Wt,a$ as Gt,b0 as Vt,A as Rt}from"./index-3ccbd1bd.js";import{_ as Ut,a as Zt}from"./tslib.es6-01f620c8.js";import{Card as qt,Group as Kt,Box as Yt,Flex as Xt,useMantineTheme as Qt}from"@mantine/core";import Jt from"innertext";import"@mantine/hooks";import"@mantine/dates";import{d as ea,L as ta,F as aa,Q as la}from"./index-f02da627.js";import"./Onboarding-47f0ed32.js";import{u as na,A as ra,e as ia,f as oa,g as sa,B as ca,h as ma}from"./index-aa5a01c2.js";import da from"dayjs";import"./screenSizeContext-5d74b785.js";import"styled-components";import{i as ga}from"./isProduction-aefac4c1.js";import"./translationsContext-cee296b2.js";import"string-format";import"./index-7ca5216b.js";import{i as ua}from"./index-71ee0764.js";import pa from"lodash/throttle";import{u as ha}from"./useTranslations-62e1a4a6.js";import{format as va,addDays as Ea,isBefore as ya,startOfMonth as ba,addMonths as fa,subMonths as wa,getDaysInMonth as Ca,isToday as ka,isSameDay as Na,isWithinInterval as xa,isAfter as La,isPast as Ba}from"date-fns";import{I as Ma}from"./index-9294494f.js";import{C as _a}from"./index-2a018e5b.js";import"./index.styled-91925a69.js";import"./index-3f7d903d.js";import{D as Da}from"./types-a125d5db.js";import{b as za,H as Sa}from"./index.styled-0ee6b01f.js";import{M as ja}from"./index-e68fec6b.js";import{S as Aa}from"./index-7e41aae7.js";import{useForm as Ia,Controller as Ta}from"react-hook-form";import{R as Pa}from"./index-45de18e6.js";import{u as Fa}from"./useHealthToolCache-ac597aca.js";import{L as Oa}from"./index-e4a4ed0b.js";import{f as Ha,a as $a}from"./dataTransform-b9da23ca.js";import{a as Wa}from"./useOutsideClick-fdb78365.js";import Ga from"date-fns/locale/en-US";import Va from"date-fns/locale/id";import Ra from"date-fns/locale/vi";import Ua from"date-fns/locale/zh-TW";import{g as Za}from"./getSocialList-bd514f47.js";import{v4 as qa}from"uuid";var Ka="CHw-fZZ",Ya="_03U6VRS",Xa="EO828Vv";const Qa=({style:t,onClose:a,text:l,type:n,contentIcon:r,closeIcon:i,className:s,description:c})=>e.createElement("div",{className:`${Ka} ${s||""}`,style:t,"data-alert-type":n},e.createElement("div",{className:Ya},e.createElement("div",{className:"icon-title"},r,e.createElement(o,{type:"bold",size:"label1"},l)),e.createElement(o,{type:"regular",size:"p3"},c)),e.createElement("div",{className:Xa,onClick:a},i)),Ja=({amount:t,type:a,size:l="medium",color:n="primary",icon:r,className:i})=>e.createElement(s,{"data-notification-type":a,"data-notification-size":l,"data-notification-color":n,"data-has-icon":!!r||void 0,notificationType:a,notificationSize:l,notificationColor:n,hasIcon:!!r,className:i},e.createElement("div",null,t&&e.createElement("span",null,t)," ",r&&e.createElement("div",null,r))),el=({style:t,children:a,className:l,size:n="lg",type:r="bold",upperCase:i,as:o="h4",color:s})=>e.createElement(c,{style:Object.assign({color:s},t),className:l,"data-size":n,"data-type":r,"data-uppercase":i,as:o},a),tl=({className:l,value:n,options:r,onUploadSelected:i,id:o,placeholderIcon:s,placeholder:c,style:h})=>{const[v,E]=t(!1),y=()=>E(!v),b=a(r.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+t.value,key:"uploader-dropdown-input-"+o+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),i(e.target.files)}})))),f=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),C=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return e.createElement(m,{className:l,"data-dropdown-open":!!v,id:o,"data-has-icons":!0,style:h,onBlur:()=>E(!1),tabIndex:0},e.createElement(d,{onClick:y},s||f," ",e.createElement("span",null,n&&n.value?n.label:c)),v&&e.createElement(g,{onClick:y,"data-has-icons":!0},r.map((t=>e.createElement(u,{key:`${o}-${t.value}`,"data-selected":n&&n.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+o+"-"+t.value,void(null===(l=document.querySelector(a))||void 0===l||l.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,l}},e.createElement(p,null,t.icon||"download"===t.type?w:C),t.label)))),e.createElement(e.Fragment,null,b.current))},al=({className:t,columns:a,columnsDesktop:l,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,gap:i,children:o,justifyChildren:s,style:c,alignItems:m})=>e.createElement(h,{className:t,style:c,theme:{columns:a,columnsDesktop:l,gap:i,justifyChildren:s,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,alignItems:m}},o),ll=({pagesAmount:a,activePage:l,handlePageChange:i,handleClick:o,href:s,queryPageName:c="page"})=>{const m=[...Array(a)].map(((e,t)=>t+1)),[d,g]=t(l<=4?m.slice(0,5):l>=m.length-3?m.slice(m.length-5,m.length):m.slice(l-2,l+1));return n((()=>{l<=4?g(m.slice(0,5)):l>=m.length-3?g(m.slice(m.length-5,m.length)):g(m.slice(l-2,l+1))}),[l]),e.createElement(r,null,l>4&&e.createElement(r,null,e.createElement(y,{onClick:()=>i(1)},s?e.createElement("a",{href:s,onClick:o},1):1),e.createElement(y,null,"...")),d.map((t=>e.createElement(y,{key:`pagination+${t}`,"data-page-active":t===l||void 0,onClick:()=>i(t)},s?e.createElement("a",{href:I(s,t,c),onClick:o},t):t))),l<m.length-3&&e.createElement(r,null,e.createElement(y,null,"..."),e.createElement(y,{onClick:()=>i(m.length)},s?e.createElement("a",{href:I(s,m.length,c),onClick:o},m.length):m.length)))},nl=({className:a,pagesAmount:r,currentPage:i,onChange:o,onClick:s,style:c,href:m,queryPageName:d="page"})=>{const g=[...Array(r)].map(((e,t)=>t+1)),[u,p]=t(i),h=l((()=>m&&m.endsWith("&page=")?m.replace("&page=",""):m),[m]),b=r-1,f=e=>{e<=r&&e>0&&(p(e),o(e))},w=e=>{s&&s(e)};return n((()=>{p(i)}),[i]),e.createElement(v,{className:a,style:c},e.createElement(E,{className:"prev-page",onClick:()=>f(u-1),"data-last-page":1===u||void 0},h?e.createElement("a",{href:I(h,u,d),onClick:w},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(ll,{pagesAmount:r,activePage:u,handlePageChange:f,handleClick:w,href:h,queryPageName:d}):g.map((t=>e.createElement(y,{key:`pagination+${t}`,"data-page-active":t===u||void 0,onClick:()=>f(t)},h?e.createElement("a",{href:I(h,t,d),onClick:w},t):t))),e.createElement(E,{className:"next-page",onClick:()=>f(u+1),"data-last-page":u===b+1||void 0},h?e.createElement("a",{href:I(h,u,d),onClick:w},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},rl=({size:t,children:a,style:l,className:n})=>e.createElement(b,{style:l,className:n,"data-shadow-size":t},a),il=({type:t,children:a,style:l,isInline:n,isSquared:r=!1,className:i,isLight:s,hasMorePadding:c,isLink:m,isSelected:d,textProps:g={size:"sm"}})=>{const u=g.color?{"--text-props-color":g.color}:{};return e.createElement(f,{"data-is-squared":r||void 0,"data-tag-type":t,"data-is-light":s||void 0,"data-has-more-padding":c||void 0,"data-is-inline":n||void 0,style:Object.assign(Object.assign({},l),u),className:i,"data-is-selected":d||void 0,"data-is-link":m||void 0,tagType:t,isInline:n,tagHasMorePadding:c,tagIsLight:s,tagIsSquared:r,tagIsALink:m},e.createElement(o,Object.assign({},g),a))},ol=({className:t,id:a,onChange:l,checked:n,style:r,label:i})=>e.createElement(w,{className:t,style:r},e.createElement("input",{type:"checkbox",id:a,onChange:l,checked:n}),e.createElement("label",{htmlFor:a},e.createElement(C,null),i&&e.createElement(k,null,i))),sl=({size:t,isDisabled:a,className:l,link:n,style:r})=>e.createElement(N,{className:l,"data-size":t,style:r,"data-disabled":a||void 0},n),cl=({type:t,withIcon:a,onFileSelected:l,inputId:n,withElement:r,fileAcceptType:i,multiple:o,value:s,className:c})=>{const m=()=>{var e;null===(e=document.querySelector("#uploader-input-"+n))||void 0===e||e.click()};return e.createElement(x,{className:c},"badge"===t?e.createElement(L,{onClick:m,"data-is-attached-to-element":!!r},r,e.createElement(B,{"data-is-attached-to-element":!!r},a)):r?e.createElement("div",{onClick:m},r):e.createElement(T,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:m},e.createElement(M,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),e.createElement("input",{id:"uploader-input-"+n,accept:i,multiple:o,type:"file",style:{display:"none"},onChange:e=>{l(e.target.files)},value:s}))},ml=({label:t,name:a,checked:l,className:n,isDisabled:r,onChange:i,value:o,isRectangle:s,inputDataTestId:c,siteType:m})=>e.createElement(_,{className:n,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":m},e.createElement("input",{type:"checkbox",checked:l,name:a,onChange:()=>i(o,!l),disabled:r,value:o,id:`${a}-${o}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${o}`},t)),dl=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),gl=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),ul=t=>{const a=P();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},pl=({gap:a=2,size:l=24,star:n,totalStars:r=5,onSelect:i,hideEmptyStars:o,style:s,className:c})=>{const m=Math.floor(n),d=n-m>=.5?1:0,[g,u]=t(null),p=g||m,h=g?0:d;return e.createElement(D,{"data-selectable":!!i,style:Object.assign({"--gap":a,"--star-size":l},s),className:c},Array.from({length:o?m+d:r}).map(((t,a)=>{const l=()=>!!i&&u(a+1),n=()=>!!i&&u(null);return a+1<=p?e.createElement(gl,{key:a,onClick:()=>null==i?void 0:i(a+1),onMouseOver:l,onMouseLeave:n}):a+1===p+h?e.createElement(ul,{key:a,onClick:()=>null==i?void 0:i(a+1),onMouseOver:l,onMouseLeave:n}):e.createElement(dl,{key:a,onClick:()=>null==i?void 0:i(a+1),onMouseOver:l,onMouseLeave:n})})))},hl=({percent:t,style:a})=>e.createElement(z,{style:Object.assign({"--progress":t},a)});var vl="PiqKaXk",El="HgbW6-m",yl="_6lkfLYy",bl="j7c-onH";const fl=({avatarImg:t,authorName:a,authorLink:l,uploadTime:n,size:r})=>e.createElement("div",{className:bl},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":r},t),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(o,{size:"lg"===r?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,n))))),wl=({isMobile:t,avatarImg:a,name:l,link:n,size:r="lg",specialty:i})=>e.createElement("div",{className:bl},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!n},t?e.createElement("a",{href:n},"lg"===r?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:O.colors.gray600},l),e.createElement(o,{color:O.colors.gray500,size:"p3",className:"specialty"},i)):e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:O.colors.gray600},l))):e.createElement("a",{href:n},"lg"===r?e.createElement(e.Fragment,null,e.createElement(S,{tag:"h6",className:"expert__name",color:O.colors.gray600},l),e.createElement(o,{color:O.colors.gray500,size:"p3",className:"specialty"},i)):e.createElement(e.Fragment,null,e.createElement("h6",{color:O.colors.gray600,className:`${vl} expert__name`},l),e.createElement(o,{color:O.colors.gray500,size:"p4",className:"specialty"},i)))))),Cl=({articleLink:t,authorLink:a,authorName:l,avatarImg:n,banner:r,categoryLink:i,categoryName:s,className:c,dataEventActionForBanner:m,dataEventActionForBookmark:d,dataEventActionForCategory:g,dataEventActionForTitle:u,dataEventCategoryForBanner:p,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:E,dataEventLabelForBanner:y,dataEventLabelForBookmark:b,dataEventLabelForCategory:f,dataEventLabelForTitle:w,direction:C="horizontal",hasAffiliate:k,isBookmark:N=!1,isBookmarkDisplayed:x=!0,isMobile:L=!0,onBookmark:B,onClickCategoryName:M,section:_="normal",size:D="md",specialty:z,style:j,styleBanner:A,styleLabel:I,styleTitle:T,text:P,title:O,type:G="author",uploadTime:V,articleLinkTarget:R,isPremium:U})=>{const Z=e=>{e.stopPropagation(),null==B||B()},q="lg"===D&&"expert"===G?"h4":"lg"===D&&"home"===_?L?"h4":"h3":"lg"===D?"h4":"h5",K="lg"===D?"p3":"p4",Y=L||"home"!==_||"lg"!==D||"author"!==G?"c2":"c1";return e.createElement("article",{className:`${yl} ${c||""}`,"data-size":D,style:j,"data-direction":C,"data-is-expert":"expert"===G||void 0},e.createElement("div",{className:"banner",style:A},e.createElement("a",{className:El,"data-event-category":p,"data-event-action":m,"data-event-label":y,href:t||"#",target:R},r),U&&e.createElement("img",{loading:"lazy",className:"premium",src:F.getAssetPath("premium-crown.svg")}),k&&e.createElement(H,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(o,{style:I,className:"label",size:Y,type:"caption"},e.createElement("a",{className:El,"data-event-category":v,"data-event-action":g,"data-event-label":f,href:i||"#",onClick:M},s),x&&e.createElement("a",{className:"bookmark",onClick:Z},N?e.createElement(W,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}):e.createElement($,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}))),e.createElement(S,{tag:q,style:T,className:"title",as:"lg"===D?"h2":"h3"},e.createElement("a",{className:El,"data-event-category":E,"data-event-action":u,"data-event-label":w,href:t||"#",target:R},O)),P&&e.createElement("a",{href:t||"#",target:R},e.createElement(o,{size:K,className:"text"},P))),e.createElement("div",{className:"footer"},"author"===G?e.createElement(fl,{size:D,avatarImg:n,authorName:l,authorLink:a,uploadTime:V,handleClick:Z,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}):e.createElement(wl,{size:D,isMobile:L,avatarImg:n,specialty:z,name:l,link:a,handleClick:Z,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}))))},kl=t=>{var a,l,n,{article:r,author:i,authorAvatar:o,badge:s="",hideDescription:c=!1,isBookmarked:m=!1,onBookmark:d,time:g,tracking:u}=t,p=Ut(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:h}=na();return console.log({article:r}),e.createElement(qt,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},p),e.createElement(qt.Section,{w:"100%",h:"100%",miw:264,m:0},e.createElement("img",{src:(h?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"}})),e.createElement(qt.Section,null,e.createElement(Kt,{position:"apart",mt:16,mb:4},e.createElement(ra,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(ia,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),e.createElement(Yt,{sx:{cursor:"pointer"},role:"button",onClick:d},m?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(ia,{size:c?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!c&&e.createElement(ia,{size:"p2",mb:16,lineClamp:3},Jt(r.excerpt||r.description||(null===(n=r.postContent)||void 0===n?void 0:n.split("\r\n")[0])||"")),e.createElement(Xt,{gap:12,align:"center"},e.createElement(oa,{size:32,src:o,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(ia,{size:"n1",c:"gray.6"},i," • ",g))))},Nl=648/440,xl=1.5,Ll=t=>{var a,n,r,{article:i,author:o,authorAvatar:s,badge:c="",bannerImageWrapProps:m,hideDescription:d=!1,isBookmarked:g=!1,onBookmark:u,time:p,tracking:h,classNames:v,styles:E,unstyled:y,className:b}=t,f=Ut(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:w}=na(),{classes:C,cx:k}=G({},{name:"ArticleCard",classNames:v,styles:E,unstyled:y});console.log({article:i});const N=l((()=>d?xl:Nl),[d]);return e.createElement(qt,Object.assign({className:k(C.root,b),padding:"lg",radius:0},f),e.createElement(qt.Section,{className:C.image},e.createElement(sa,Object.assign({ratio:N},m),e.createElement("img",{src:(w?i.featureImageMobile:i.featureImage)||i.featureImage,alt:i.postName,style:{objectFit:"cover"}}))),e.createElement(qt.Section,null,e.createElement(Kt,{position:"apart",mt:16,mb:4},e.createElement(ra,{className:C.category,href:(null===(a=null==i?void 0:i.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(ia,{size:"p4",color:"blue.6"},null===(n=null==i?void 0:i.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(Yt,{sx:{cursor:"pointer"},role:"button",onClick:u},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},null==h?void 0:h.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(ia,{className:C.title,size:d?"s2":"s1",mb:8,weight:"semiBold"},i.postTitle||i.postName||""),!d&&e.createElement(ia,{className:C.description,size:"p2",mb:16,lineClamp:3},Jt(i.excerpt||i.description||(null===(r=i.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),e.createElement(Xt,{className:C.author,gap:12,align:"center"},e.createElement(oa,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(ia,{size:"n1",c:"gray.6"},o," • ",p))))},Bl=t=>{var{variant:a="vertical"}=t,l=Ut(t,["variant"]);return"horizontal"===a?e.createElement(kl,Object.assign({},l)):e.createElement(Ll,Object.assign({},l))},Ml=t=>{var{category:a,imgBanner:l,label:n,className:r,style:i,href:o="",dataEventCategory:s,dataEventAction:c,dataEventLabel:m}=t,d=Ut(t,["category","imgBanner","label","className","style","href","dataEventCategory","dataEventAction","dataEventLabel"]);const g=(null==a?void 0:a.customizedUrl)||(null==a?void 0:a.permalink)||o||"";return e.createElement(V,Object.assign({"data-event-category":s,"data-event-action":c,"data-event-label":m,className:r,style:i,href:g},(null==a?void 0:a.customizedUrl)&&!ua(a.customizedUrl)&&{target:"_blank"},{onClick:e=>{""===g&&e.preventDefault()}},d),e.createElement("div",{className:"banner"},l),e.createElement("div",{className:"content"},e.createElement(ia,{className:"category_name",size:"sm",weight:"bold"},(null==a?void 0:a.displayName)||n||"")))},_l=({name:t,values:a=[],onChanges:l,options:n=[],className:r,type:i="vertical",isDisabled:o,isRectangle:s})=>{const c=(e,t)=>{const n=a.slice();if(t)n.push(e);else{const t=n.findIndex((t=>t===e));n.splice(t,1)}l&&l(n)};return e.createElement(R,{className:r,"data-type":i,"data-is-rectangle":s||void 0},n.map(((l,n)=>e.createElement(ml,{label:l.label,name:t,key:`${n}-${l.value}`,checked:a.includes(l.value),value:l.value,isDisabled:o||l.disabled,onChange:!o&&c,isRectangle:s}))))},Dl=({size:t,iconPosition:a,className:l,children:n,icon:r})=>e.createElement(U,{className:l,"data-size":t,"data-icon-position":a},"left"===a&&r,n,"right"===a&&r),zl=({type:a,numberOfStep:l,activeStep:r,labelPrefix:o,detailSteps:s,className:c,onChange:m})=>{const[d,g]=t(0),u=t=>{var{trackClassName:a}=t,l=Ut(t,["trackClassName"]);return e.createElement(Y,Object.assign({},l,{className:a}),e.createElement(X,null))},p=e.createElement(Z,{className:c+" progress-bar"},e.createElement(u,null),e.createElement((({trackLength:t,activeStep:a,labelPrefix:n="Step",onChange:r})=>e.createElement(e.Fragment,null,Array.from({length:l},((e,t)=>t)).map(((i,o)=>e.createElement(Q,{"data-is-active":o===a,"data-label":o,style:{left:o*t/(l-1)},onClick:()=>{r&&r(o)},key:o},o+1,e.createElement(J,{"data-step-passed":o<=a},n+" "+(o+1))))))),{trackLength:d,activeStep:r,labelPrefix:o,onChange:m})),h=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),v=e.createElement(q,null,s&&Array.from({length:s.length},((e,t)=>t)).map(((t,a)=>{var l;return e.createElement(K,{key:a,"data-selected":a===r,onClick:()=>{m&&m(a)}},null===(l=s[a])||void 0===l?void 0:l.text," ",a<s.length-1&&h)}))),E=e.createElement(Z,{className:c+" progress-bar"},e.createElement((({detailSteps:t,activeStep:a,onChange:l})=>e.createElement(e.Fragment,null,Array.from({length:t.length},((e,t)=>t)).map(((n,r)=>e.createElement(ee,{key:r,style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:()=>{l&&l(r)}},t[r].icon?e.createElement(te,{onClick:()=>{l&&l(r)}},t[r].icon):e.createElement(ae,{"data-is-active":r===a,"data-label":n,onClick:()=>{l&&l(r)},key:r},r+1),e.createElement(le,{"data-step-passed":r<a+1},t[r].text,e.createElement(ne,null,t[r].description)),r<t.length-1&&e.createElement(u,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:r,detailSteps:s,onChange:m})),y=i(pa((()=>{const e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return n((()=>{const e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",y,{passive:!0}),()=>{window.removeEventListener("resize",y)}}),[]),"step-track"===a&&p||"breadcrumb"===a&&v||"detail-track"===a&&E};var Sl=Object.freeze({__proto__:null,SideMenu:re,SideHeader:ie,UserInfo:oe,MenuLink:se});const jl=({status:t})=>"inActive"===t?e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),e.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),e.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),Al=({row:l=2,column:r=3,isDotsShown:i=!0,isImageGalleryShown:o=!1,mode:s="infinity",type:c="separated",distanceOverlappedLeft:m={amount:0,unit:"pixel"},children:d,className:g,isProgressShown:u=!1,statusChildren:p,isArrowShown:h=!1,classNameLeftArrow:v,classNameRightArrow:E,dataEventCategory:y,dataEventAction:b,dataEventLabel:f,onChangePage:w,page:C,customPageWidth:k,scheme:N="hellosites",arrowType:x="Discover"})=>{const L="number"==typeof C,[B,M]=t(L?C:0),_=[];e.Children.map(d,((t,a)=>{a%(l*r)==0&&_.push([]),_[_.length-1].push(e.cloneElement(t))}));const D=a(),z=a(0),S=e=>{if(!D.current)return;const{clientWidth:t}=D.current,a=k||t,l="intertwined"===c?"percentage"===m.unit?e*a+m.amount/100*a*e:e*a+m.amount*a*e:e*a;D.current.scrollTo({top:0,left:l,behavior:"smooth"}),z.current=e,M(e),w&&w(e)};n((()=>{"number"==typeof C&&(e=>{if(!D.current)return;const{clientWidth:t}=D.current,a=k||t,l="intertwined"===c?"percentage"===m.unit?e*a+m.amount/100*a*e:e*a+m.amount*a*e:e*a;D.current.scrollTo({top:0,left:l,behavior:"smooth"}),z.current=e,M(e)})(C)}),[C]);const j=e=>{if(!D.current)return;const{clientWidth:t}=D.current,a=k||t;let l;l=0===B?0:B*a,"forward"===e&&(l===a*(_.length-1)?(M(_.length-1),l=a*(_.length-1),w&&w(_.length-1)):(M(B+1),l+=a,w&&w(B+1)),D.current.scrollTo({top:0,left:l,behavior:"smooth"})),"back"===e&&(0===l?(M(0),w&&w(0),l=0):(M(B-1),w&&w(B-1),l-=a),D.current.scrollTo({top:0,left:l,behavior:"smooth"}))},A=pa((()=>{if("infinity"===s){if(!D.current)return;const{clientWidth:e,scrollLeft:t}=D.current,a=k||e,l=Math.floor(t/a);M(l),w&&w(l)}}),400);return n((()=>{if("snapped"===s){let e,t,a,l,n,r,i=!1;const o=D.current,s=(r,s)=>{i=!0,a=!1,l=!1,e=r-o.offsetLeft,t=s-o.offsetTop,n=o.scrollLeft},d=e=>{s(e.pageX,e.pageY)},g=e=>{s(e.touches[0].pageX,e.touches[0].pageY)},u=()=>{if(i=!1,a=!1,l=!1,!D.current)return;const{clientWidth:e}=D.current,t=k||e,n="ltr"===r?0!==z.current?z.current-1:z.current:"rtl"===r&&z.current<_.length-1?z.current+1:z.current,o="intertwined"===c?"percentage"===m.unit?n*t+m.amount/100*t*n:n*t+m.amount*t*n:n*t;D.current.scrollTo({top:0,left:o,behavior:"smooth"}),r="none",z.current!==n&&(z.current=n,M(n),w&&w(n))},p=(s,c)=>{if(!i)return;const m=s-o.offsetLeft,d=c-o.offsetTop,g=m-e,u=d-t;a||l||!(u>20||u<-20)||(a=!0),!a&&(g>20||g<-20)&&(l=!0,o.scrollLeft=n-g,g>0&&(r="ltr"),g<0&&(r="rtl"),0===g&&(r="none"))},h=e=>{l&&e.preventDefault(),p(e.pageX,e.pageY)},v=e=>{l&&e.preventDefault(),p(e.touches[0].pageX,e.touches[0].pageY)};return null==o||o.addEventListener("mousedown",d,{passive:!0}),null==o||o.addEventListener("touchstart",g,{passive:!0}),window.addEventListener("mouseup",u,{passive:!0}),window.addEventListener("touchend",u,{passive:!0}),null==o||o.addEventListener("mousemove",h,{passive:!0}),null==o||o.addEventListener("touchmove",v,{passive:!0}),()=>{null==o||o.removeEventListener("mousedown",d),null==o||o.removeEventListener("touchstart",g),window.removeEventListener("mouseup",u),window.removeEventListener("touchend",u),null==o||o.removeEventListener("mousemove",h),null==o||o.removeEventListener("touchmove",v)}}}),[]),e.createElement(ce,{className:g,"data-row":l,onScroll:A},h&&B>0&&e.createElement("div",{className:`${v} arrow-left`,onClick:()=>j("back"),"data-event-category":y,"data-event-action":b,"data-event-label":f},"Care"===x?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),e.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),e.createElement("div",{ref:D,className:"container",style:{overflowX:"snapped"===s||h?"hidden":"scroll"}},_.map(((t,a)=>{let n=0;for(let e=0;e<a;e++)n+=_[e].length;return e.createElement("div",{key:a,className:"section",style:{marginLeft:"intertwined"===c&&0!==a?m.amount+""+("percentage"===m.unit?"%":"px"):"0px"}},1===l&&u&&e.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${r}, 1fr)`}},t.map(((l,r)=>{const i=n+r,o=p.find((e=>e.index===i));return e.createElement("div",{className:"items-progress",key:r},0===r&&0===a?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}),e.createElement("div",{className:"icon-status"},e.createElement(jl,{status:null==o?void 0:o.status})),a===_.length-1&&r===t.length-1?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}))}))),e.createElement("div",{className:"grid-layout","data-index":a,style:{gridTemplateColumns:`repeat(${r}, 1fr)`,gridTemplateRows:`repeat(${l}, 1fr)`}},t.map(((t,a)=>e.createElement(e.Fragment,{key:a},e.createElement("div",{className:"item-grid",key:a},t))))))}))),h&&B<_.length-1&&e.createElement("div",{className:`${E} arrow-right`,onClick:()=>j("forward"),"data-event-category":y,"data-event-action":b,"data-event-label":f}," ","Care"===x?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},e.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),e.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),e.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),i&&e.createElement("ul",{className:"bullet-nav"},_.map(((t,a)=>e.createElement("li",{key:a,className:"bullet-nav__item "},e.createElement("p",{onClick:()=>S(a),className:`bullet-nav__link scroll ${B==a?"active":null}`,"data-scheme":N}))))),o&&e.createElement("div",{className:"image-gallery-wrapper","data-test":_.length},_.slice(0,3).map(((t,a)=>e.createElement("div",{className:`image-block ${B==a?"active":null}`,key:a,onClick:()=>S(a),"data-scheme":N},t)))))},Il=({type:t,description:a,value:l,withIcon:n,isInACard:r,cardColor:i,className:o})=>e.createElement(me,{className:o,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":i},e.createElement(de,null,"small"===t&&e.createElement(ge,{"data-color":i}),a),e.createElement(ue,{"data-size":t},"small"!==t&&n,l));var Tl=Object.freeze({__proto__:null,Table:pe,Cell:he,Head:ve,Row:Ee,Body:ye});const Pl=({style:a,initialTab:l,tabContent:r,onChange:i,className:o,dataEventCategory:s,dataEventAction:c,dataEventLabel:m,id:d,styles:g})=>{const{classes:u,cx:p,theme:h}=be(void 0,{name:"Tabs",styles:g}),[v,E]=t(l||0);return n((()=>{E(l)}),[l]),e.createElement("ul",{style:a,className:p(u.root,o),role:"tablist",id:d},r.map(((t,a)=>e.createElement("li",{className:`${u.item} ${v===a?"active":""}`,"aria-selected":v===a,role:"tab",onClick:()=>{E(a),i&&i(a)},onKeyDown:e=>{"Enter"===e.key&&(E(a),i&&i(a))},key:a,"data-event-category":t.dataEventCategory||s,"data-event-action":t.dataEventAction||c,"data-event-label":t.dataEventLabel||m,tabIndex:0,"data-testid":t.dataTestid},e.createElement("div",{className:u.itemInner},t.icon&&e.createElement("div",{className:u.icon},t.icon),e.createElement(ia,{className:u.label,size:t.textSize||"sm",weight:t.textType||"bold",color:v===a?h.fn.primaryColor():t.textColor||h.colors.gray[4],dataEventCategory:t.dataEventCategory,dataEventAction:t.dataEventAction,dataEventLabel:t.dataEventLabel},t.name))))))},Fl=({thankyou:t,thankyouSubtitle:a,className:l,style:n})=>e.createElement(fe,{className:l,style:n},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(we,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122c33.137 0 60-26.863 60-60S94.637 2 61.5 2s-60 26.863-60 60 26.863 60 60 60Z",fill:O.colors.primary50}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.905 72.666H101.5L87.597 40H35.403L21.5 72.666h18.595V91H83.08l-.174-18.334Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4 15H39.863a5.364 5.364 0 0 0-5.363 5.363v52.214a5.364 5.364 0 0 0 5.363 5.363h43.273a5.364 5.364 0 0 0 5.363-5.363V21a6 6 0 0 0-6-6H74.4Z",fill:"#fff"}),e.createElement("path",{d:"M88.853 80.108H34.147a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074h54.706a4.055 4.055 0 0 1 4.087 4.074v10.65c0 2.27-1.81 4.074-4.087 4.074Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.451H32.162a4.055 4.055 0 0 1-4.087-4.074v-10.65c0-2.27 1.81-4.074 4.087-4.074H90.78a4.055 4.055 0 0 1 4.087 4.074v10.65c.058 2.27-1.81 4.074-4.029 4.074Z",fill:"#fff"}),e.createElement("path",{d:"M103.748 75.492v30.263c0 1.92-1.576 3.492-3.503 3.492H23.003c-1.927 0-3.503-1.572-3.503-3.492V75.492c0-1.92 1.576-3.492 3.503-3.492h19.384c1.926 0 3.503 1.571 3.503 3.492v5.354c0 .35.233.582.584.582h30.3c.351 0 .585-.233.585-.582v-5.354c0-1.92 1.576-3.492 3.503-3.492h19.383c1.927 0 3.503 1.571 3.503 3.492Z",fill:"#45A4FF"}),e.createElement("path",{stroke:"#2C74DF",d:"M51.954 91.377v3.084c0 1.63 1.285 2.91 2.92 2.91h12.844c1.635 0 2.92-1.28 2.92-2.91v-3.084"}),e.createElement("path",{d:"M120.5 38.025c-2-.246-3.25 1.352-2.375 3.195l.25.737c.75 1.844-.375 3.441-2.375 3.195l-.75-.123c-2-.245-3.25 1.352-2.375 3.195l.375.738c.75 1.843-.375 3.44-2.375 3.195l-.75-.123c-1.5-.123-2.625.737-2.625 1.966",stroke:"#FE921D"}),e.createElement("path",{d:"M1.533 62c-.269 1.413 1.142 2.337 2.82 1.848l.672-.218c1.678-.543 3.089.38 2.82 1.848l-.134.544c-.269 1.413 1.141 2.337 2.82 1.848l.671-.218c1.68-.543 3.09.38 2.82 1.848l-.134.543c-.201 1.087.538 1.848 1.612 1.957M118 92a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM82 3.187l1.188 4.348 4.347-1.188L86.347 2 82 3.187Z",stroke:"#00B16A"}),e.createElement("path",{stroke:"#FE921D",d:"M17 28a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),e.createElement("path",{d:"M61.5 26.667c-7.364 0-13.333 5.97-13.333 13.333 0 7.364 5.969 13.333 13.333 13.333S74.833 47.364 74.833 40 68.864 26.667 61.5 26.667Zm7.61 10.276-9.334 9.333a1.33 1.33 0 0 1-1.885 0l-4-4a1.332 1.332 0 1 1 1.885-1.885l3.057 3.057 8.391-8.39a1.332 1.332 0 1 1 1.885 1.885Z",fill:"#00CB8A"})),t&&e.createElement(S,{className:"survey-thankyou-title",tag:"h3"},t),a&&e.createElement(o,{className:"survey-thankyou-subtitle",size:"p3"},a))))),Ol=({items:a,className:l,style:r,backgroundPanelStyle:i,isOpen:o,onOpen:s,onClose:c,disableBackdropClick:m,siteType:d="hb",animationType:g="zoom",zIndex:u=300})=>{const[p,h]=t(!!o);n((()=>{h(!!o)}),[o]);const v=()=>{h(!1),c&&c()};return e.createElement(Ce,{style:r,className:l,"data-floatmenu-open":p,"data-site-type":d,"data-animation-type":g},e.createElement(ke,{className:"float-button-group__panel",style:Object.assign({zIndex:u},i),onClick:m?void 0:v}),e.createElement(Ne,{className:"float-button-group___content",style:{zIndex:u}},e.createElement(xe,null,a.map(((t,l)=>e.createElement(Le,{className:`float-item-button-${l}`,style:Object.assign(Object.assign({},"zoom"===g&&{bottom:64*(a.length-1-l),transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"}),"slide"===g&&{bottom:64*(a.length-1-l),transitionDelay:Be/a.length*(p?l:a.length-1-l)+"ms"}),key:l,onClick:()=>{t.onClick(),t.keepMenuOnClick||h(!1)}},e.createElement(Me,{style:Object.assign({},"zoom"===g&&{transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"})},t.label),e.createElement(_e,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===g||"slide"===g)&&{transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"})},t.icon))))),e.createElement(De,{onClick:p?v:()=>{h(!0),s&&s()}})))},Hl=({className:t,policiesUrl:a,onAcceptClick:l,translations:n={acceptButton:"Accept",policiesButton:"Our Policies"},title:r="",description:i="",theme:o="helloSites",isOpen:s=!0,useDefaultPosition:c=!0,trackingAttributes:m})=>e.createElement(ze,{className:t,"data-theme":o,"data-is-open":s,"data-default-position":c},e.createElement(Se,{"data-has-content":!!r},r),e.createElement(je,{dangerouslySetInnerHTML:{__html:i}}),e.createElement(Ae,null,e.createElement(Ie,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==m?void 0:m.dataEventCategory,"data-event-action":null==m?void 0:m.dataEventAction,"data-event-label":null==m?void 0:m.dataEventLabel},n.acceptButton),e.createElement(Te,{href:a},n.policiesButton))),$l=({SEOData:t={},locale:a="vi-VN",routerPathname:n,routerQuery:r,nextHead:i,siteType:o,seoCustom:s,userId:c,forcedCanonicalUrl:m})=>{var d,g,u,p,h,v,E,y,b,f,w,C;const{totalPages:k,currentPage:N,SEOTitle:x="",SEODescription:L="",SEOImage:B,seoType:M,SEOImageWidth:_,SEOImageHeight:D,customMetaData:z=[],isIndexable:S=!0,hasNoCanonical:j=!1}=t,A=S&&ga?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:I}=process.env;let T=t.canonicalUrl||n;Object.keys(r).forEach((e=>{const t=r[e];t&&Array.isArray(t)&&(T=T.replace(`[...${e}]`,t.join("/")))}));const P=a||"en-PH",F="helloSites"===o?ea[P]:"www.marrybaby.vn",O=T.endsWith("/")?"":"/",H=l((()=>{var l,n,r,i,o,s,c;let m="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const d=null===(l=t.apiMetaData)||void 0===l?void 0:l.match(/<title.*?>(.*)<\/title>/),g=` - Page ${N} of ${k}`,u=N&&1!==N&&d?t.apiMetaData.replace(d[0],d[0].includes("-")?d[0].replace("-",g+" - "):`<title>${d[1].concat(g)}</title>`).replace(`<link rel="canonical" href="https://${F}${T}${O}" />`,`<link rel="canonical" href="https://${F}${T}${O}?page=${N}" />`):t.apiMetaData;if(m=Pe(u,{trim:!0}),!m.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const l=`https://${F}/images/${a}.png`;m=[...m,e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=t.openGraph)||void 0===n?void 0:n.image)||B||l||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(r=t.openGraph)||void 0===r?void 0:r.image)||B||l}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(i=t.openGraph)||void 0===i?void 0:i.imageWidth)&&String(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)||_&&String(_)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(c=t.openGraph)||void 0===c?void 0:c.imageHeight)||D&&String(D)||"630"})]}}return m}),[t.apiMetaData,t.openGraph,B,D,_,N,T,k,a,F]),$=`https://${F}/images/${a}.png`;return e.createElement(i,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===o&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?e.createElement(e.Fragment,null):e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),e.createElement("link",{rel:"preconnect",href:I}),e.createElement("meta",{charSet:"UTF-8"}),e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:A}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),z.map(((t,a)=>e.createElement("meta",Object.assign({key:a},t)))),e.createElement("meta",{name:"theme-color",content:"helloSites"===o?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:P}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!H&&e.createElement(e.Fragment,null,"helloSites"===o?e.createElement("title",null,s?x:x+" - "+(null===(d=ta[a])||void 0===d?void 0:d.SITE_NAME)):e.createElement("title",null,x),!j&&e.createElement("link",{rel:"canonical",href:`https://${F}${T}`}),e.createElement("meta",{name:"description",content:L||(null===(g=t.openGraph)||void 0===g?void 0:g.description)}),t.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),e.createElement("meta",{property:"og:locale",content:a}),e.createElement("meta",{property:"og:type",content:M||"website"}),e.createElement("meta",{property:"og:title",content:(null===(u=t.openGraph)||void 0===u?void 0:u.title)||x}),e.createElement("meta",{property:"og:description",content:(null===(p=t.openGraph)||void 0===p?void 0:p.description)||L}),e.createElement("meta",{property:"og:url",content:`https://${F}${T}`}),e.createElement("meta",{property:"og:site_name",content:`https://${F}`}),e.createElement("meta",{property:"og:image",content:(null===(h=t.openGraph)||void 0===h?void 0:h.image)||B||$||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(v=t.openGraph)||void 0===v?void 0:v.image)||B||$}),e.createElement("meta",{property:"og:image:width",content:(null===(E=t.openGraph)||void 0===E?void 0:E.imageWidth)&&String(null===(y=t.openGraph)||void 0===y?void 0:y.imageWidth)||_&&String(_)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(b=t.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(f=t.openGraph)||void 0===f?void 0:f.imageHeight)||D&&String(D)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(w=t.twitter)||void 0===w?void 0:w.title)||x}),e.createElement("meta",{name:"twitter:description",content:L}),e.createElement("meta",{name:"twitter:image",content:(null===(C=t.twitter)||void 0===C?void 0:C.image)||B})),("helloSites"===o?aa[P]||[]:aa.marryBaby).map(((t,a)=>"link"===t.type?e.createElement("link",{key:`favicon-${a}`,rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null)),Array.isArray(H)&&m?H.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):H,m&&e.createElement("link",{rel:"canonical",href:m}),!t.hasNoAmp&&"vi-VN"!==a&&e.createElement("link",{rel:"amphtml",href:`https://${F}${T}${O}?amp=1`}),c&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${c}'});`}}):null)},Wl=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:i}=ha(),[s,c]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement(Oe,{label:i("dueDatePage.conceptionDate"),name:"date",size:"md",value:He(s),CustomInput:e.createElement($e,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Ma,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&da(s).format(za)}))}),actionIcon:e.createElement(j.CalendarMB,{size:32})}):e.createElement(Ma,{label:e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray600,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.conceptionDate")),value:He(s),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement($e,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:He(s)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:s,displayDateFormat:Da,onChange:e=>{c(e)},placeholder:"placeholder"})})),e.createElement(ca,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(We(s),`${la.type}=1&sd=${va(s,Ge)}&${la.additional}= `)},role:"button"},i("dueDatePage.lastPeriod.calculate")))},Gl=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:i}=ha(),[s,c]=t(new Date),[m,d]=t("3");return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement(Oe,{label:i("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:He(s),CustomInput:e.createElement($e,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Ma,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&da(s).format(za)}))}),actionIcon:e.createElement(j.CalendarMB,{size:32})}):e.createElement(Ma,{label:e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray700,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.ivf.transferDate")),value:He(s),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement($e,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:He(s)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:s,displayDateFormat:Da,onChange:e=>{c(e)},placeholder:"placeholder"})})),e.createElement("div",{style:{width:"100%"}},e.createElement(Ve,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:m,onChange:e=>d(e),options:[{value:"3",label:i("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:i("dueDatePage.ivf.transferDateRadio",{number:5})}]})),e.createElement(ca,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(Re(s,Number(m)),`${la.type}=2&${la.startDate}=${va(s,Ge)}&${la.additional}=${m}`)},role:"button"},i("dueDatePage.lastPeriod.calculate")))},Vl=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:i}=ha(),[s,c]=t(28),[m,d]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement(Oe,{label:i("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:He(m),CustomInput:e.createElement($e,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(Ma,Object.assign({name:"birthday",size:"md"},t,{value:m&&da(m).format(za)}))}),actionIcon:e.createElement(j.CalendarMB,{size:32})}):e.createElement(Ma,{className:"input-section due-date-input",label:e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray600,style:{marginBottom:"9px",flex:"1"}},i("dueDatePage.lastPeriod.lastPeriodLabel")),value:He(m),name:"date",size:"md",CustomInput:e.createElement($e,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:He(m)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:m,displayDateFormat:Da,onChange:e=>{d(e)},placeholder:"placeholder"})})),e.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===n?"marryBaby":""},"marryBaby"===n?e.createElement(ja,{type:"bodytext-3",color:O.mbColors.midGray},i("dueDatePage.lastPeriod.periodLengthLabel")):e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray600,style:{marginBottom:"0.5rem"}},i("dueDatePage.lastPeriod.periodLengthLabel")),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&e.createElement(o,{size:"s3",type:"bold",color:O.colors.gray600},s),e.createElement(Aa,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,onChange:c,value:s,label:"marryBaby"!==n?void 0:null}))),e.createElement(ca,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",onClick:()=>l(Ue(m,s),`${la.type}=0&${la.startDate}=${va(m,Ge)}&${la.additional}=${s}`),role:"button"},i("dueDatePage.lastPeriod.calculate")))},Rl=({onSubmitDueDate:a,locale:n,isSide:r,siteType:i})=>{const{t:s}=ha(),[c,m]=t(Ze.lastPeriod),d=[{value:Ze.lastPeriod,label:s("dueDatePage.lastPeriod")},{value:Ze.conception,label:s("dueDatePage.conceptionDate")},{value:Ze.IVF,label:s("dueDatePage.ivf")}],g=l((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(qe,null,e.createElement(Ke,{className:"input-form input-section","data-is-side":!0},"marryBaby"===i?e.createElement(Ye,{groupedWithLabel:s("dueDatePage.calculationMethod"),options:d,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[c],onChange:e=>{m(e.value)}}):e.createElement(e.Fragment,null,e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.calculationMethod")),e.createElement(Xe,{"data-is-side":r},e.createElement(Qe,{options:d,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:d[c],onChange:e=>{m(e.value)}})))),c===Ze.lastPeriod?e.createElement(Vl,{locale:n,onClick:a,isSide:r,siteType:i,pageUrl:g}):null,c===Ze.conception?e.createElement(Wl,{locale:n,onClick:a,isSide:r,siteType:i,pageUrl:g}):null,c===Ze.IVF?e.createElement(Gl,{locale:n,onClick:a,isSide:r,siteType:i,pageUrl:g}):null)},Ul=({isMobile:t,locale:a,onSubmitDueDate:l,dueDatePageInfo:n,expertUrl:r,isSide:i,siteType:s})=>{var c;const{t:m}=ha();return e.createElement(Je,{"data-is-side":i,"data-site":s},e.createElement(et,{isSide:i,bannerUrl:F.getAssetPath("embedToolBannerPink.svg"),siteType:s,bannerColor:"marryBaby"===s&&O.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:"marryBaby"!==s?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:m("healthTools.dueDateCalculator"),medicalReview:(null===(c=null==n?void 0:n.reviewed_by)||void 0===c?void 0:c.display_name)?e.createElement(o,{size:"label2",color:O.colors.white,dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${r}">${null==n?void 0:n.reviewed_by.display_name}</a>`,date:null==n?void 0:n.reviewed_date})}}):void 0,isMobile:t}),e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":i},e.createElement(Rl,{siteType:s,locale:a,onSubmitDueDate:l,isSide:i})))};function Zl({weight:e,height:t}){const a=t/100,l=e;return Math.round(l/(a*a)*10)/10}const ql=({value:a,onChange:r,onSubmit:i,disabled:s,bmiGenerated:c,bmiUnit:m,locale:d,isSide:g})=>{var u,p,h,v;const[E,y]=t(!1),{control:b,handleSubmit:f,setValue:w,watch:C}=Ia(),k=C(),{t:N}=ha(),{gender:x=!1,age:L=!1,height:B=!1,weight:M=!1,objective:_=!0}=s||{},{getHealthToolLink:D}=Fa(d),z=l((()=>D(Sa.OVULATION)),[D]),S=l((()=>[{value:"male",label:N("gender.male"),content:e.createElement(j.GenderChooseBoy,null)},{value:"female",label:N("gender.female"),content:e.createElement(j.GenderChooseGirl,null)}]),[]),A=l((()=>[{value:"lose-weight",label:N("bmi.objective.loseWeight")},{value:"maintain-weight",label:N("bmi.objective.maintainWeight")},{value:"gain-weight",label:N("bmi.objective.gainWeight")}]),[]),I=()=>{y(!0)};return n((()=>{Object.keys(a||{}).forEach((e=>{w(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),n((()=>{r&&r(k)}),[k]),e.createElement(at,null,e.createElement("form",{onSubmit:f((e=>Zt(void 0,void 0,void 0,(function*(){const t=m.heightConvert(e.height),a=m.weightConvert(e.weight),l={gender:e.gender,age:e.age,height:t,weight:a,bmi:Zl({height:t,weight:a})};_||(l.objective=e.objective),I(),i&&i(l)}))),I)},!x&&e.createElement(lt,{"data-is-side":g},e.createElement(Ta,{name:"gender",control:b,defaultValue:"male",render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(nt,{size:"md",name:t,label:c.gender.label,CustomInput:e.createElement(Pa,{options:S,value:a,onChange:e=>l(e),className:"bmi--input-radio_gender "+(g?"bmi-side-embed":"")}),errorMessage:E?null==n?void 0:n.message:"",className:"bmi--input bmi--input-gender"})})),e.createElement(rt,{"data-is-side":g},!L&&e.createElement(lt,null,e.createElement(Ta,{name:"age",control:b,rules:null===(u=c.age)||void 0===u?void 0:u.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},c.age.label),placeholder:N("healthtool.placeholder.age"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!B&&e.createElement(lt,null,e.createElement(Ta,{name:"height",control:b,rules:null===(p=c.height)||void 0===p?void 0:p.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},c.height.label),placeholder:N("pwg.placeholder.height"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!M&&e.createElement(lt,null,e.createElement(Ta,{name:"weight",control:b,rules:null===(h=c.weight)||void 0===h?void 0:h.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},c.weight.label),placeholder:N("pwg.placeholder.weight"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",precision:1,min:0})})),!_&&e.createElement(lt,null,e.createElement(Ta,{name:"objective",control:b,defaultValue:"lose-weight",rules:null===(v=c.objective)||void 0===v?void 0:v.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(nt,{size:"md",name:t,label:c.objective.label,CustomInput:e.createElement(Ve,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:A,value:a,onChange:l}),errorMessage:E?null==n?void 0:n.message:"",className:"bmi--input bmi--input-objective"})}))),e.createElement("div",{style:{display:"flex"}},e.createElement(it,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${ea[d]}/${z}`,type:"submit"},N("bmi.submit")))))},Kl=({isMobile:t,onSubmit:a,bmiContent:l,isSide:n,bmiGenerated:r,bmiUnit:i,bmiLink:s,locale:c})=>{var m,d,g;const{t:u}=ha();return e.createElement(Je,{"data-is-side":n},e.createElement(et,{isSide:n,bannerUrl:F.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:u("bmi.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?e.createElement(o,{size:"n1",color:O.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(d=null==l?void 0:l.reviewBy)||void 0===d?void 0:d.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),e.createElement("span",null)):void 0,isMobile:t}),e.createElement(_a,null,e.createElement(tt,{as:"div","data-is-side":n},s&&e.createElement(ql,{onSubmit:a,bmiGenerated:r,locale:c,bmiUnit:i,isSide:n}))))},Yl=({isMobile:t,className:a,onSubmit:l,onError:n,schema:r,babyGrowthContent:i,siteType:s})=>{var c;const{t:m}=ha();return e.createElement(Je,{"babyGrowthContent-is-mobile":t,"data-site":s},e.createElement(et,{siteType:s,bannerUrl:F.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:F.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===s&&O.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==i?void 0:i.featuredImage)||""}),heading:(null==i?void 0:i.title)||"",medicalReview:(null===(c=null==i?void 0:i.reviewBy)||void 0===c?void 0:c.reviewer)?e.createElement(o,{size:"label2",color:O.colors.white,className:"embedded-review",dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a style="color: white" href="${i.reviewBy.link||"#"}">${i.reviewBy.reviewer.trim()}</a>`,date:i.reviewBy.date})}}):void 0,isMobile:t}),e.createElement(ot,{"data-theme":s},e.createElement(st,{siteType:s,schema:r,className:a,onSubmit:l,onError:n})))},Xl=({babyPoopPage:t,onClickFindOut:a,currentUrl:l,isSide:n})=>{const{t:r}=ha(),i="mb"===Qt().other.template,{classes:o}=ct({isMarryBaby:i,isSide:n},{name:"BabyPoopEmbed"}),{reviewedBy:s,reviewedDate:c}=t||{};return e.createElement("div",{className:o.root},e.createElement(S,{className:o.dHeading,tag:"h3",as:"h2",color:!i&&"#284A75"},t.title),e.createElement("div",{className:o.inner},e.createElement("div",{className:o.thumbnail},e.createElement("img",{className:o.img,src:i?F.getAssetPath("baby-poop.svg"):null==t?void 0:t.featuredImage,alt:t.title})),e.createElement(S,{className:o.mHeading,tag:"h3",as:"h2",color:!i&&"#284A75"},t.title),e.createElement("div",{className:o.content,"data-is-side":n},e.createElement(ia,{size:"p3",className:"description"},t.description),!!s&&e.createElement("div",{className:o.reviewText},e.createElement("img",{src:F.getAssetPath("reviewerCheck.svg"),alt:"check",className:o.reviewTextIcon}),e.createElement(ia,{size:"p4",color:O.colors.gray600},r("categoryPage.info.reviewed")," ",e.createElement("a",{href:s.profile_url},s.display_name)," ",r("categoryPage.onDate",{date:c||""}))),e.createElement("div",{className:o.action},e.createElement(ca,{className:o.btn,size:i?"lg":"md",variant:i?"secondary":"primary",onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:l,style:{visibility:Boolean(a)?"visible":"hidden"}},r("babyPoop.findOut"))))))},Ql=({value:a,options:l,className:n,direction:r="horizontal",onChange:i,isDisabled:s})=>{const[c,m]=t(a);return e.createElement(mt,{className:n,"data-direction":r},l.map(((t,l)=>e.createElement(dt,{"data-selected":(a||c)===t.value,"data-disabled":s,key:`health-tool${l}`,onClick:()=>{var e;e=t.value,s||(m(e),i&&i(e))}},e.createElement("div",null,e.createElement("img",{src:(a||c)===t.value?t.imageActive:t.image,className:"gender-image",alt:""}),t.label&&e.createElement(o,{type:"bold",className:"radio-group-item-heading",size:"label1"},t.label))))))},Jl=({info:a,className:l,style:r,onChange:i,errorMessage:s={},locale:c})=>{const{t:m}=ha(),[d,g]=t(new Date),[u,p]=t({age:!1,rate:!1});return n((()=>{p({age:!1,rate:!1})}),[s]),e.createElement(gt,{style:r,className:l},e.createElement(Ma,{className:"input-section due-date-input",label:e.createElement(o,{size:"n1",type:"bold",color:O.colors.gray600,style:{marginBottom:"9px",flex:"1"}},m("targetHeartRate.ageInput")),value:He(d),name:"date",size:"md",CustomInput:e.createElement($e,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:He(d)})),disabledDays:{after:new Date(Ea(new Date,0))},locale:c,pickedDate:d,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{g(e),p((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:va(new Date(e),Ge)});i&&i(t)})(e)},placeholder:"placeholder"}),errorMessage:u.age?"":s.age}))},en=({isSide:a,locale:r,thrContent:i,isMobile:s,info:c,inputErrorMessage:m,onFormChange:d,onSubmit:g})=>{var u,p,h;const{t:v}=ha(),{getHealthToolLink:E}=Fa(r),y=l((()=>E(Sa.THR)),[E]),[b,f]=t(!1),[w,C]=t("low_intensity"),[k,N]=t("male"),[x,L]=t(60),[B,M]=t({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),_=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],D=[{value:"low_intensity",label:v("targetHeartRate.lowIntensity.title"),image:F.getAssetPath("/low.svg"),imageActive:F.getAssetPath("/low-active.svg"),content:v("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:v("targetHeartRate.moderateIntensity.title"),image:F.getAssetPath("/moderate.svg"),imageActive:F.getAssetPath("/moderate-active.svg"),content:v("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:v("targetHeartRate.aerobicZone.title"),image:F.getAssetPath("/aerobic.svg"),imageActive:F.getAssetPath("/aerobic-active.svg"),content:v("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:v("targetHeartRate.vigorousIntensity.title"),image:F.getAssetPath("/vigorous.svg"),imageActive:F.getAssetPath("/vigorous-active.svg"),content:v("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:v("targetHeartRate.maximumIntensity.title"),image:F.getAssetPath("/maximum.svg"),imageActive:F.getAssetPath("/maximum-active.svg"),content:v("targetHeartRate.maximumIntensity.note")}],z=l((()=>[{value:"male",label:v("gender.male"),content:e.createElement(j.GenderChooseBoy,null)},{value:"female",label:v("gender.female"),content:e.createElement(j.GenderChooseGirl,null)}]),[]);return n((()=>{const e=((new Date).getTime()-new Date(null==c?void 0:c.age).getTime())/1e3;f(e>=567648e3);const t=_.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||_[0];M(t),L(60)}),[null==c?void 0:c.age]),e.createElement(Je,{"data-is-side":a},e.createElement(et,{isSide:a,bannerUrl:F.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==i?void 0:i.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:v("targetHearRate.heading"),medicalReview:(null===(u=null==i?void 0:i.reviewedBy)||void 0===u?void 0:u.display_name)?e.createElement(o,{size:"n1",color:O.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:v("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${Ha(null==i?void 0:i.reviewedBy)}"\n >\n ${null===(p=null==i?void 0:i.reviewedBy)||void 0===p?void 0:p.display_name}\n </a>`,date:null==i?void 0:i.reviewedDate})}}),e.createElement("span",null)):void 0,isMobile:s}),e.createElement(_a,null,e.createElement(tt,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},e.createElement(ut,{"data-is-side":a},e.createElement(pt,null,e.createElement(ht,{size:"md",name:"gender",label:v("bmi.selectGender"),CustomInput:e.createElement(Pa,{options:z,value:k,onChange:e=>{N(e),L(60)},className:"bmi--input-radio_gender"}),className:"bmi--input bmi--input-gender"}))),e.createElement(ut,null,e.createElement(Jl,{info:c,locale:r,errorMessage:m,onChange:d})),e.createElement("div",{className:"slider-heart-rate"},e.createElement(Oa,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:O.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},v("targetHeartRate.heartRateInput")),e.createElement("div",{className:"slider-outer-wrapper"},e.createElement(Aa,{containerStyle:{flex:1},min:"male"===k?B.rangeMale:B.rangeFemale,max:200,step:1,value:x,withControl:!0,onChange:L}))),b&&e.createElement(pt,null,e.createElement(vt,null,e.createElement(Oa,{size:"label2",style:{display:"inline-block",fontWeight:"bold",color:O.colors.gray600,marginBottom:"9px"},htmlFor:"gender-selector"},v("targetHeartRate.selectActive")),e.createElement("div",{className:"card"},e.createElement(Ql,{options:D.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:w,onChange:e=>{C(e)},className:"gender-selector"})),w&&e.createElement("div",{className:"note"},e.createElement("img",{style:{height:"16px",width:"16px"},src:F.getAssetPath("/infoIcon.svg"),alt:""}),e.createElement(o,{size:"n1",color:"#595959"},null===(h=D[D.findIndex((e=>e.value==w))||0])||void 0===h?void 0:h.content)),!w&&e.createElement("span",{style:{color:"#e64728"}},m.intensity)))),e.createElement("div",{style:{display:"flex"}},e.createElement(Et,{size:"lg",onClick:()=>{g(k,w,[x])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${ea[r]}/${y}`},v("bmi.submit")))))},tn=({info:a,className:r,style:i,onChange:s,errorMessage:c={},locale:m,onClick:d,isSide:g})=>{const{t:u}=ha(),[p,h]=t({age:!1,height:!1,weight:!1}),{getHealthToolLink:v}=Fa(m),E=l((()=>v(Sa.OVULATION)),[v]),[y,b]=t("male"),f=l((()=>[{value:"male",label:u("gender.male"),content:e.createElement(j.GenderChooseBoy,null)},{value:"female",label:u("gender.female"),content:e.createElement(j.GenderChooseGirl,null)}]),[]),w=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},C=e=>{var t,l;l=e=>{h((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});s&&s(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||l(t)};return n((()=>{s&&s(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),n((()=>{h({age:!1,height:!1,weight:!1})}),[c]),e.createElement(yt,{style:i,className:r},e.createElement(bt,{"data-is-side":g},e.createElement(ft,{size:"md",name:"gender",label:u("bmi.selectGender"),CustomInput:e.createElement(Pa,{options:f,value:y,onChange:e=>b(e),className:"bmi--input-radio_gender "+(g?"bmi-side-embed":"")}),className:"bmi--input bmi--input-gender"})),e.createElement(wt,{"data-is-side":g},e.createElement(bt,null,e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},u("bmi.ageInput")," ",e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray300,as:"span"},u("bmi.ageInput.desc"))),placeholder:u("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>C(String(e)),error:p.age?"":c.age,min:0})),e.createElement(bt,null,e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},u("bmi.heightInput")," ",e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray300,as:"span"},u("bmi.heightInput.desc"))),placeholder:u("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void w(t,(e=>{h((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});s&&s(t)}));var t},error:p.height?"":c.height,min:0})),e.createElement(bt,null,e.createElement(ma.Number,{label:e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray600},u("bmi.weightInput")," ",e.createElement(o,{size:"label2",type:"bold",color:O.colors.gray300,as:"span"},u("bmi.weightInput.desc"))),placeholder:u("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),h((e=>Object.assign(Object.assign({},e),{weight:!0}))),void w(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});s&&s(t)}));var t},error:p.weight?"":c.weight,min:0,precision:1}))),e.createElement("div",{style:{display:"flex"}},e.createElement(Ct,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${ea[m]}/${E}`,onClick:()=>{d(y)}},u("bmi.submit"))))},an=({isSide:t,locale:a,bmrContent:l,isMobile:n,info:r,inputErrorMessage:i,onFormChange:s,onSubmit:c})=>{var m,d,g;const{t:u}=ha();return e.createElement(Je,{"data-is-side":t},e.createElement(et,{isSide:t,bannerUrl:F.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:u("bmr.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?e.createElement(o,{size:"n1",color:O.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(d=null==l?void 0:l.reviewBy)||void 0===d?void 0:d.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),e.createElement("span",null)):void 0,isMobile:n}),e.createElement(_a,null,e.createElement(tt,{onSubmit:e=>e.preventDefault(),"data-is-side":t},e.createElement(kt,null,e.createElement(tn,{info:r,locale:a,errorMessage:i,onChange:s,onClick:c,isSide:t})))))};var ln="eM8ChWU",nn="KAx1aqi",rn="QcFfKPB",on="brbyNAY",sn="W65hTnn";const cn=({src:t,title:a,backgroundSrc:l,className:n,reviewedSection:r,isSide:i})=>e.createElement("div",{className:`${ln} ${n||""}`},e.createElement("div",{className:nn,style:{backgroundImage:`url("${l}")`}},e.createElement("div",{className:rn,"data-is-side":i},e.createElement("div",{className:on,"data-is-side":i},e.createElement(S,{tag:"h4",color:"white"},a),r),e.createElement("div",{className:sn},e.createElement("img",{src:t||"",style:{objectFit:"contain"},alt:a})))));var mn="zvE9IoJ",dn="njDC-ia",gn="ESkUhe9",un="wZLIQYa";const pn=({backgroundDesktopSrc:t,backgroundMobileSrc:a,title:l,className:n,isSide:r,ovulationContent:i})=>{var s,c,m;const{t:d}=ha(),g=Ha(null==i?void 0:i.reviewed_by);return e.createElement("div",{className:`${mn} ${n}`,"data-is-side":r},e.createElement("div",{className:dn,style:{backgroundImage:`url('${a||t}')`}},e.createElement("div",{className:un},e.createElement(S,{tag:"h5",color:"white"},l),(null===(s=null==i?void 0:i.reviewed_by)||void 0===s?void 0:s.display_name)?e.createElement(o,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},e.createElement("span",{dangerouslySetInnerHTML:{__html:d("articlePage.articleReviewerBy",{name:`<a\n style="color: white"\n href="${g}"\n >\n ${i.reviewed_by.display_name}\n </a>`})}}),e.createElement("span",null,d("tools.heading.on")),e.createElement("span",null,null==i?void 0:i.reviewed_date)):null),e.createElement("div",{className:gn,"data-is-side":r},e.createElement("img",{src:(null==i?void 0:i.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:l}))),e.createElement(cn,{className:"desktop-only",src:(null==i?void 0:i.featured_image)||"",backgroundSrc:t||a||"",title:l,reviewedSection:(null===(c=null==i?void 0:i.reviewed_by)||void 0===c?void 0:c.display_name)&&""!==(null===(m=null==i?void 0:i.reviewed_by)||void 0===m?void 0:m.display_name)&&e.createElement(o,{size:"n1",color:O.colors.white,style:{marginTop:12}},e.createElement("span",{dangerouslySetInnerHTML:{__html:d("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${g}"\n >\n ${i.reviewed_by.display_name}\n </a>`,date:null==i?void 0:i.reviewed_date})}}),e.createElement("span",null)),isSide:r}))},hn=({onSubmitOvulation:t,locale:a,ovulationPageInfo:l,ovulationContent:n,expertUrl:r,isSide:i=!1,siteType:s,isMobile:c})=>{var m;const{t:d}=ha(),g=$a(l||null);return e.createElement(Je,{"data-is-side":i,"data-site":s},"marryBaby"!==s?e.createElement(pn,{backgroundDesktopSrc:F.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:F.getAssetPath("embedToolBannerPink.svg"),title:d("healthTools.ovulationCalculator"),reviewedBy:g.reviewedBy,reviewedDate:g.reviewedDate,ovulationContent:n,isSide:i}):e.createElement(et,{isSide:i,bannerUrl:F.getAssetPath("embedToolBannerPink.svg"),siteType:s,bannerColor:"marryBaby"===s&&O.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:"marryBaby"!==s?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:d("healthTools.ovulationCalculator"),medicalReview:(null===(m=null==l?void 0:l.reviewed_by)||void 0===m?void 0:m.display_name)?e.createElement(o,{size:"label2",color:O.colors.white,dangerouslySetInnerHTML:{__html:d("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${r}">${l.reviewed_by.display_name}</a>`,date:l.reviewed_date})}}):void 0,isMobile:c}),e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":i},e.createElement(Nt,{siteType:s,locale:a,onSubmitOvulation:t,isSide:i})))},vn=({siteType:l,info:r,onChange:i,errorMessage:o={}})=>{const{t:s}=ha(),[c,m]=t({weightBefore:!1,height:!1,weight:!1}),[d,g]=t(0),u=a(null);n((()=>{var e;g(null===(e=u.current)||void 0===e?void 0:e.clientHeight)}));const p=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},h=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},r),{weightBefore:e});i&&i(t)}))},v=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},r),{height:e});i&&i(t)}))},E=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},r),{weight:e});i&&i(t)}))};return n((()=>{i&&i(Object.assign({},r))}),[]),n((()=>{m({weightBefore:!1,height:!1,weight:!1})}),[o]),"marryBaby"===l?e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Oe,{label:s("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==r?void 0:r.height,CustomInput:e.createElement(Ma,{className:(null==c?void 0:c.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.height)?"":null==o?void 0:o.height,showErrorMessage:!1,onChange:v})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Oe,{label:s("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==r?void 0:r.weightBefore,CustomInput:e.createElement(Ma,{className:(null==c?void 0:c.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weightBefore)?"":null==o?void 0:o.height,showErrorMessage:!1,onChange:h})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement(Oe,{label:s("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==r?void 0:r.weight,CustomInput:e.createElement(Ma,{className:(null==c?void 0:c.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weight)?"":null==o?void 0:o.weight,showErrorMessage:!1,onChange:E})}))):e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:O.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:`${O.colors.gray300}`}},s("bmi.heightInput.desc"))),errorMessage:c.height?"":null==o?void 0:o.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==r?void 0:r.height,onChange:v})),e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:O.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:u,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:`${O.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weightBefore?"":null==o?void 0:o.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:h,value:null==r?void 0:r.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(A,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:O.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:d},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:`${O.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weight?"":null==o?void 0:o.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==r?void 0:r.weight,onChange:E})))},En=({locale:a,onClick:n,inputErrorMessage:r,pwgContent:i,onFormChange:s,info:c,isMobile:m,isSide:d=!1,siteType:g})=>{var u;const{t:p}=ha(),[h,v]=t("notwins"),[E,y]=t({label:"1",value:1}),b=l((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:f}=Fa(a),w=l((()=>f(Sa.PWG)),[f]),C=(null===(u=null==i?void 0:i.reviewedBy)||void 0===u?void 0:u.display_name)?e.createElement(o,{size:"n1",color:O.colors.white,dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${Ha(i.reviewedBy)}">${i.reviewedBy.display_name}</a>`,date:i.reviewedDate})}}):void 0;return e.createElement(Je,{"data-is-side":d,"data-site":g},e.createElement(et,{siteType:g,bannerUrl:F.getAssetPath("embedToolBannerPink.svg"),bannerColor:"marryBaby"===g&&O.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==i?void 0:i.featuredImage,style:"marryBaby"!==g?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:p("pregnancyWeightGain.heading"),medicalReview:C,isMobile:m,isSide:d}),e.createElement(_a,null,e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":d},"marryBaby"!==g&&e.createElement(xt,{className:"hide-asking-mobile","data-is-side":d},e.createElement(Oa,{size:"label2",style:{display:"block",fontWeight:"bold",color:O.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},p("pregnancyWeightGain.havingTwins")),e.createElement(Lt,{options:[{value:"twins",label:p("switchBtn.yes")},{value:"notwins",label:p("switchBtn.no")}],value:h,onChange:e=>v(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(qe,null,e.createElement(Bt,{className:"input-section input-form-pwg","data-is-side":d},"marryBaby"===g?e.createElement(Ye,{groupedWithLabel:p("pregnancyWeightGain.weekInput"),options:b,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:E,onChange:e=>y({label:e.label,value:e.value})}):e.createElement(e.Fragment,null,e.createElement(Oa,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:O.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},p("pregnancyWeightGain.weekInput")),e.createElement(Qe,{options:b,placeholder:String(E.label),id:"weight-gain-dropdown",size:"md",value:E,onChange:e=>y({label:e.label,value:e.value})}))),e.createElement(vn,{siteType:g,info:c,errorMessage:r,onChange:s})),"marryBaby"!==g&&e.createElement(xt,{className:"hide-asking-desk","data-is-side":d},e.createElement(Oa,{size:"label2",style:{display:"block",fontWeight:"bold",color:O.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},p("pregnancyWeightGain.havingTwins")),e.createElement(Lt,{options:[{value:"twins",label:p("switchBtn.yes")},{value:"notwins",label:p("switchBtn.no")}],value:h,onChange:e=>v(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===g&&e.createElement(ml,{name:"twins",label:p("pregnancyWeightGain.havingTwins"),checked:"twins"===h,siteType:"marryBaby",onChange:()=>{v("twins"===h?"notwins":"twins")},value:"twins"}),e.createElement(Mt,{"data-is-side":d,"data-site":g},e.createElement(ca,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${ea["marryBaby"===g?"vi-VN_MB":a]}/${w}`,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===g?"secondary":"primary",onClick:()=>n(h,E.value),role:"button"},p("dueDatePage.lastPeriod.calculate"))))))};const yn={"en-PH":Ga,"vi-VN":Ra,"zh-TW":Ua,"id-ID":Va};function bn(a){const{value:n={from:null,to:null}}=a,[r,i]=t(null),{isMobile:o}=na(),[s,c]=t((()=>n)),[m,d]=t((()=>{var e;return ba(null!==(e=n.from)&&void 0!==e?e:new Date)})),g=l((()=>fa(m,1)),[m]);const u=Object.assign(Object.assign({},a),{goToNextMonth:function(){d((e=>fa(e,1)))},goToPreviousMonth:function(){d((e=>wa(e,1)))},range:s,setRange:c,hoverDay:r,setHoverDay:i});return e.createElement(e.Fragment,null,e.createElement(fn,Object.assign({},u,{date:m})),!o&&e.createElement(_t,null),!o&&e.createElement(fn,Object.assign({},u,{date:g})))}function fn({date:t,range:a,setRange:r,onChange:i,goToPreviousMonth:o,goToNextMonth:s,minDate:c,maxDate:m,close:d=(()=>{}),autoClose:g=!1,hoverDay:u,setHoverDay:p}){const{locale:h}=ha(),v=l((()=>{var e;return null!==(e=yn[h])&&void 0!==e?e:yn["en-PH"]}),[h]),E=l((()=>va(t,"MMMM",{locale:v})),[t,v]),y=l((()=>v?[1,2,3,4,5,6,0].map((e=>v.localize.day(e,{width:"narrow"}))):[]),[v]);function b(t,l){if(null===t)return e.createElement(Ft,{key:`idx-${l}`,"data-empty":"true"});const n=t.getDate(),i=ka(t),o=!!a.from&&Na(a.from,t),s=!!a.to&&Na(a.to,t),h=o||s;let v=!1;null!==u&&a.from&&ya(a.from,u)&&!a.to?v=xa(t,{start:a.from,end:u}):a.from&&a.to&&(v=xa(t,{start:a.from,end:a.to}));let E=!1;return c&&m?E=!xa(t,{start:c,end:m}):c?E=ya(t,c):m&&(E=La(t,m)),e.createElement(Ft,{key:n,"data-is-today":i,"data-is-past":!i&&Ba(t),"data-is-selected":h,"data-is-disabled":E,"data-in-range":v,"data-is-from":o,"data-is-to":s,onMouseEnter:()=>{p(t)},onMouseLeave:()=>p(null),onClick:()=>{E||r((e=>(g&&a.from&&!a.to&&d(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?ya(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(t,e))))}},e.createElement(Ot,{onClick:()=>{}},e.createElement("p",null,n)))}return n((()=>{a.from&&a.to&&i(a)}),[a]),e.createElement(Dt,{className:"calendar-wrapper"},e.createElement(zt,null,e.createElement(T,{onClick:o,size:"md",color:"ghost",icon:e.createElement("img",{src:F.getAssetPath("calendarArrowLeft.svg")})}),e.createElement("div",{className:"calendar-month"},E,e.createElement("strong",null,va(t,"yyyy"))),e.createElement(T,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:F.getAssetPath("calendarArrowRight.svg")})})),e.createElement(St,null,e.createElement("div",null,e.createElement(jt,null,y.map(((t,a)=>e.createElement(At,{key:`${t}-${a}`},t))))),e.createElement("div",null,function(){const l=t.getFullYear(),n=t.getMonth(),r=Ca(t),i=[];for(let e=1;e<=r;e++)i.push(new Date(l,n,e));const o=i[0]?i[0].getDay():0;if(1!==o){const e=0===o?6:o-1;for(let t=0;t<e;t++)i.unshift(null)}return e.createElement(It,{key:`month-${n}`,"data-month-index":n,"data-has-range":Boolean(a.from&&a.to)},e.createElement(Tt,null,e.createElement(Pt,null,i.map(b))))}())))}function wn({inputSize:n="md",name:r="date-range-picker",value:i,minDate:o,maxDate:s,onChange:c,className:m,autoClose:d=!1}){i||(i={from:null,to:null});const[g,u]=t(!1);function p(){u(!1)}const h=a(null);function v(e){c&&c(e)}function E(e){return va(e,"dd/MM/yyyy")}Wa(h,(()=>{p()}));const y=l((()=>i.from&&i.to?Na(i.from,i.to)?E(i.from):`${E(i.from)} - ${E(i.to)}`:""),[i.from,i.to]);return e.createElement(Ht,{className:[m,g&&"focused"].filter(Boolean).join(" "),ref:h},e.createElement("label",{htmlFor:r},e.createElement(A,{size:n,value:y,name:r,actionIcon:e.createElement("img",{src:F.getAssetPath("calendar.svg")}),onFocus:()=>u(!0)})),g?e.createElement($t,{onMouseDown:e=>{e.stopPropagation()}},e.createElement(bn,{value:i,onChange:v,minDate:o,maxDate:s,close:p,autoClose:d})):null)}var Cn="WUqzfRb",kn="MnVGtSY",Nn="NclbhXQ";const xn=({LinkComponent:t,page:a,isLast:l,onChangePage:n})=>{const{label:r,value:i,isDropdown:o,dropdownItems:s,dataEventCategory:c,dataEventAction:m,dataEventLabel:d}=a;return o?e.createElement(Qe,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:n,className:"collapsed-breadcrumb"}):e.createElement("div",{className:Nn,title:"string"!=typeof r?i:r,"data-last":l},t&&e.createElement(t,{"data-event-category":c,"data-event-action":m,"data-event-label":d,href:i||"#"},r))},Ln=({className:t,pages:a,size:n,LinkComponent:i="a",onChangePage:o,separator:s})=>{const c=l((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return e.createElement("div",{"data-size":n,className:`${Cn} ${t||""}`},c.map(((t,a)=>{const l=a+1===c.length;return e.createElement(r,{key:a},e.createElement(xn,{LinkComponent:i,page:t,isLast:l,onChangePage:o}),!l&&(t.separator||s||e.createElement("div",{className:kn,"data-size":n})))})))},Bn=()=>e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),Mn=({url:t,onCopied:a,locale:n,siteType:r})=>{const{t:i}=ha(),s=Za(t||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(n))),c=l((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(Wt,null,e.createElement(o,{size:"p3",color:O.colors.gray800},i("shareContainer.title")),e.createElement("div",{className:"icon-group"},s.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${t.name}`,"data-event-label":c},t.icon))),e.createElement(T,{theme:r,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(Bn,null),onClick:()=>Zt(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(t),null==a||a()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":c})))},_n=()=>e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"})),Dn=t=>{var{open:a,title:l,onClose:r,onCopied:s,onShared:c,url:m,locale:d}=t,g=Ut(t,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:u}=ha(),p=i((()=>Zt(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m),null==s||s()}))),[m,s]),h=Za(m||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(d)));return n((()=>{a&&navigator.share&&navigator.share({title:null!=l?l:"Read This Post",url:m}).then((()=>{null==c||c()})).catch((()=>{null==r||r()}))}),[m,l,c,a]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(Gt,Object.assign({title:u("share.title"),onClose:r,open:a,placement:"bottom"},g),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(o,{type:"semiBold",size:"s3",color:O.colors.gray600},u("share.title")),e.createElement("div",{className:"icon-group"},h.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon))))),e.createElement("div",{className:"link-container"},e.createElement(o,{type:"semiBold",size:"s3",color:O.colors.gray600},u("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(Ma,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(T,{size:"md",type:"button",color:"tertiary",icon:e.createElement(_n,null),onClick:p})))))},zn=({className:l,adUnitPath:r,divId:i,isMobile:o,contentId:s,customTargetings:c,locale:m,isMarryBaby:d})=>{const[g,u]=t(!0),[p,h]=t(!1),[v,E]=t(!0),y=a(null),b=a(qa()),f=a(null),w=a(),C=a();return n((()=>{const e=()=>{C.current&&clearTimeout(C.current),C.current=setTimeout((()=>{var t;document.getElementById("subot--container")?u(!0):(u(!1),(null===(t=y.current)||void 0===t?void 0:t.clientHeight)?E(!1):E(!0)),e()}),4e3)};return e(),()=>{w.current&&clearTimeout(w.current),C.current&&clearTimeout(C.current)}}),[]),g||p?null:e.createElement(Vt,{key:o?"mobile":"desktop",ref:f,className:l,"data-visible":!v},r&&e.createElement(Rt,{wrapperProps:{m:0},ref:y,adUnitPath:r,size:o?[[320,50],[320,100]]:[728,90],divId:(i||"div-gpt-ad-sticky")+(o?"-mobile":"")+s+String(b.current),pos:["Sticky"],contentId:s,hideIfHasSubot:o,customTargetings:c,adDefaultSize:o?[320,50]:[728,90],showCloseBtn:!0,onCloseAd:()=>h(!0),refreshInterval:60,locale:m,isMarryBaby:d}))};export{Qa as A,Ja as B,ml as C,Ul as D,Mn as E,tl as F,al as G,Dn as H,Dl as I,zn as J,hn as O,nl as P,pl as R,rl as S,il as T,sl as U,el as a,ol as b,cl as c,hl as d,Cl as e,Bl as f,Ml as g,_l as h,zl as i,Sl as j,Al as k,Il as l,Tl as m,Pl as n,Fl as o,Ol as p,Hl as q,$l as r,Kl as s,Yl as t,Xl as u,en as v,an as w,En as x,wn as y,Ln as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./tslib.es6-01f620c8.js";import{g as o}from"./core-e4f57e35.js";import{n as i}from"./normalizeLink-c0575b9c.js";import{c as l}from"./routing-429a94e7.js";const n=(t,o)=>{var i,l;if(!t)return{};const n="tl-PH"===o?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${n}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${n}/`,"/")),subtitle:t.subtitle,title:t.title}},e=o=>t(void 0,void 0,void 0,(function*(){var t,e;try{const s="tl-PH"===o?"lang=fil":"";let a=[];try{const r=yield fetch(i(`${l(o)}/wp-json/api/healthtools?ismenu=0${s?"&"+s:""}`)).then((t=>t.json()));a=(null===(e=null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.map)||void 0===e?void 0:e.call(t,(t=>n(t,o))))||[]}catch(t){}return a}catch(t){console.error(t)}})),s=i=>t(void 0,void 0,void 0,(function*(){return(yield o("all-health-tools",(()=>e(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{s as a,n as f,e as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{L as t}from"./Onboarding-47f0ed32.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
|